1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fa963091-ade3-4bdf-96a8-92a1d8aefb53",e._sentryDebugIdIdentifier="sentry-dbid-fa963091-ade3-4bdf-96a8-92a1d8aefb53")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2380],{15264:function(e,t,n){n.r(t),n.d(t,{SpamModalV2:function(){return h}});var i=n(27573),o=n(12775),s=n(65123),r=n(51366),a=n(96),d=n(49104),l=n(59764),m=n(78399);let u=m.default.div.withConfig({componentId:"sc-89932bc2-0"})(["",""],e=>{let{theme:{color:t}}=e;return(0,m.css)(["position:relative;&::after{content:'';position:absolute;right:0;bottom:0;left:0;height:1px;background:",";}"],t.border.light)}),c=m.default.div.withConfig({componentId:"sc-89932bc2-1"})(["",""],e=>{let{theme:{space:t}}=e;return(0,m.css)(["display:flex;flex-direction:column;gap:",";padding:",";"],t[16],t[16])}),p=(0,m.default)(d.ZT.Body).withConfig({componentId:"sc-89932bc2-2"})(["",""],e=>{let{theme:{color:t,space:n}}=e;return(0,m.css)(["color:",";text-align:",";"],t.element.light,n.right)}),f=m.default.div.withConfig({componentId:"sc-89932bc2-3"})(["",""],e=>{let{theme:{space:t}}=e;return(0,m.css)(["display:flex;flex-direction:row;width:100%;gap:",";padding:",";box-sizing:border-box;.button{flex:1;min-width:0;}"],t[8],t[16])}),h=e=>{let{show:t,onClose:n,spamData:m,onUpdateSpam:h}=e,{t:b}=(0,s.$G)(),g=(0,o.NL)(),x=(0,a.pmc)(),S=(0,a.tJr)(),y=(0,a.eIi)(r.AV.xs.max),{mutate:w,isPending:v}=(0,a.QTX)({onSuccess:e=>{if(!(null==e?void 0:e.data))return;n();let t={link:e.data.link_undo,title:e.data.text,userSpam:e.data.userSpam};h?h(t):(0,l.Np)(g);let i=b("comments:".concat(e.data.userSpam?"addToSpamList":"removeFromSpamList")),o=e.data.link_undo;if(o){S({message:i,icon:"Block",onUndo:()=>{(0,l.sY)(o).then(e=>{let t=null==e?void 0:e.data;t&&h?h({link:t.link_undo,title:t.text,userSpam:t.userSpam}):(0,l.Np)(g)})}});return}x({type:"successful",message:i})}});return(0,i.jsxs)(d.u_,{show:t,onClose:n,width:400,hasBottomSheet:y,hasGrip:y,moreSpace:!0,disabledHtmlOverflowHidden:y,children:[(0,i.jsx)(u,{children:(0,i.jsx)(d.xB,{title:b((null==m?void 0:m.userSpam)?"comments:deleteSpamUser":"comments:reportSpamUser"),onClose:n,size:"large"})}),(0,i.jsx)(c,{children:(0,i.jsx)(p,{size:"small",children:b((null==m?void 0:m.userSpam)?"comments:userNotSpammerConfirm":"comments:userSpammerConfirm")})}),(0,i.jsxs)(f,{children:[(0,i.jsx)(d.zx,{text:b("comments:cancel"),size:"medium",variant:"tertiary",buttonType:"natural",onClick:n}),(0,i.jsx)(d.zx,{text:b((null==m?void 0:m.userSpam)?"comments:yesUserNotSpammer":"comments:yesUserSpammer"),size:"medium",variant:"primary",buttonType:"themed",themeColor:"danger",loading:v,onClick:()=>{w({url:null==m?void 0:m.link})}})]})]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.