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]="96766432-cd5c-4e0d-bfb3-3a20158dbfa2",e._sentryDebugIdIdentifier="sentry-dbid-96766432-cd5c-4e0d-bfb3-3a20158dbfa2")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5979,4025],{14022:function(e,t,n){n.r(t),n.d(t,{ConfirmationModal:function(){return s}});var o=n(27573),i=n(8794),a=n(78399),l=a.default.div.withConfig({componentId:"sc-21a24c76-0"})(["position:relative;",""],e=>{let{theme:{space:t,color:n}}=e;return(0,a.css)([".confirm{&__box{text-align:center;.comment-body{.head{& > *{&:not(:last-child){margin-",":",";}}}.comment-desc{padding-right:32px;}}.sub-heading{margin-bottom:",";font-size:14px;font-weight:500;font-variation-settings:'wght' 500;text-align:right;color:",";}.thumbnail{display:flex;align-items:start;.details{.meta-data{display:none;}}}}&__text{margin-bottom:",";.caption{margin-top:",";}}&__btn{.button{margin:0 ",";}}}"],t.left,t.xs,t.lg,n.background[60],t.lg,t.md,t.sm)});let s=e=>{let{title:t,subtitle:n,cancelText:a,submitText:s,submitIcon:d,showModal:m,loading:r,children:c,width:u,submitAction:f,onClose:g,cancelAction:h,disabledHtmlOverflowHidden:p}=e,b=()=>{h&&h(),g()},x=e=>{f(e),g()};return(0,o.jsx)(i.u_,{width:u,title:t,show:m,onClose:g,buttonCancel:{onClick:()=>b(),text:a},buttonConfirm:{onClick:e=>x(e),text:s,isLoading:r,iconStart:d,buttonType:"red",buttonStyle:"primary"},disabledHtmlOverflowHidden:p,children:(0,o.jsx)(l,{children:(0,o.jsx)("div",{className:"confirm__box",children:c?(0,o.jsxs)(o.Fragment,{children:[n&&(0,o.jsx)(i.ZT.Heading,{className:"sub-heading",size:"h4",children:n}),c]}):(0,o.jsxs)("div",{className:"confirm__text",children:[t&&(0,o.jsx)(i.ZT.Heading,{size:"h3",children:t}),n&&(0,o.jsx)(i.ZT.Caption,{size:"2",children:n})]})})})})}},37955:function(e,t,n){n.r(t),n.d(t,{DeleteCommentModal:function(){return u}});var o=n(27573),i=n(7653),a=n(12775),l=n(65123),s=n(96),d=n(7501),m=n(14022),r=n(78399),c=r.default.div.withConfig({componentId:"sc-e4a4176a-0"})(["",""],e=>{let{theme:{space:t}}=e;return(0,r.css)(["text-align:",";"],t.right)});let u=e=>{let{show:t,comment:n,isReply:r,onClose:u,decreaseReplyCnt:f,updateList:g}=e,h=(0,s.UOt)(),p=(0,a.NL)(),{t:b}=(0,l.$G)(),x=(0,s.s68)(e=>e.deviceSize),v=(0,s.pmc)(),y=(0,i.useCallback)(async()=>{let e=[s.U7p.videoCSR+h];p&&(await p.cancelQueries({queryKey:e}),p.setQueryData(e,e=>{var t;return{...e,data:{...null==e?void 0:e.data,comment_cnt:(0,s.SSU)(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.comment_cnt,-1)}}}))},[]),w=e=>{var t;r||y(),u(),r&&(null==f||f()),null==g||g(),v({type:"successful",message:null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.message})},{mutate:C,isPending:S}=(0,s.QTX)({onSuccess(e){w(e)}});return(0,o.jsx)(m.ConfirmationModal,{width:400,title:b(r?"comments:deleteReply":"comments:deleteComment"),subtitle:b("comments:".concat(r?"titleDeleteReply":"titleDeleteComment")),cancelText:b("cancel"),submitText:b("comments:yesDelete"),submitIcon:"Delete",cancelAction:u,submitAction:()=>{C({url:null==n?void 0:n.delete_url})},loading:S,showModal:t,onClose:u,disabledHtmlOverflowHidden:"mobile"===x,children:(0,o.jsx)(c,{children:(0,o.jsx)(d.V,{comment:n,hasFooter:!1,hasMoreButton:!1,charLimit:0})})})}},10626:function(e,t,n){n.r(t),n.d(t,{SpamModal:function(){return d}});var o=n(27573),i=n(65123),a=n(96),l=n(8794),s=n(14022);let d=e=>{let{show:t,onClose:n,spamData:d,onUpdateSpam:m}=e,{t:r}=(0,i.$G)(),c=(0,a.pmc)(),u=(0,a.s68)(e=>e.deviceSize),{mutate:f}=(0,a.QTX)({onSuccess:e=>{if(null==e?void 0:e.data){var t,o,i,a;n(),m&&m({link:null===(o=e.data)||void 0===o?void 0:o.link_undo,title:null===(i=e.data)||void 0===i?void 0:i.text,userSpam:null===(a=e.data)||void 0===a?void 0:a.userSpam}),c({type:"successful",message:r("comments:".concat((null===(t=e.data)||void 0===t?void 0:t.userSpam)?"addToSpamList":"removeFromSpamList"))})}}});return(0,o.jsx)(s.ConfirmationModal,{title:r((null==d?void 0:d.userSpam)?"comments:deleteSpamUser":"comments:reportSpamUser"),cancelText:r("comments:cancel"),submitText:r((null==d?void 0:d.userSpam)?"comments:yesUserNotSpammer":"comments:yesUserSpammer"),cancelAction:n,submitAction:()=>{f({url:null==d?void 0:d.link})},showModal:t,onClose:n,disabledHtmlOverflowHidden:"mobile"===u,children:(0,o.jsx)(l.ZT.Heading,{size:"h3",children:r((null==d?void 0:d.userSpam)?"comments:userNotSpammerConfirm":"comments:userSpammerConfirm")})})}},14786:function(e,t,n){n.r(t),n.d(t,{SpammerModal:function(){return u}});var o=n(27573),i=n(78399),a=n(65123),l=n(46364),s=n(96),d=n(56683),m=n(8794);function r(){let e=(0,d._)(["\n min-width: 100%;\n "]);return r=function(){return e},e}var c=(0,i.default)(m.u_).withConfig({componentId:"sc-8a4cd402-0"})(["",""],e=>{let{theme:{space:t,mediaQuery:n}}=e;return(0,i.css)(["text-align:center;max-width:340px;border-radius:",";padding:",";.modal-title{font-size:",";border-bottom:none;}.modal-content{font-size:",";img{max-width:30%;margin:"," 0;}.username-change-address{font-weight:900;font-variation-settings:'wght' 900;}.modal-body-text{font-size:",";text-align:right;margin-bottom:",";}.button{border-radius:",";}","}"],t.md,t.lg,t.md,t.md,t.md,t.md,t.xxl,t.md,n("xs","max")(r()))});let u=e=>{let{show:t,onClose:n}=e,{t:d}=(0,a.$G)(),{isDark:m}=(0,i.useTheme)();return(0,o.jsx)(c,{show:t,onClose:n,title:d("comments:spammerModal.defineUsername"),buttonConfirm:{buttonType:"neutral",buttonStyle:"primary",text:d("comments:spammerModal.setUsername"),iconEnd:"Left",onClick:()=>{let e=window.location.pathname,t=(0,s.qXE)("".concat(s.Z6p.profileChangeUsername,"?afterChange=").concat(e));window.location.href=t}},buttonCancel:{buttonType:"neutral",buttonStyle:"secondary",onClick:n,text:d("comments:spammerModal.cancelCommenting")},children:(0,o.jsxs)("div",{children:[(0,o.jsx)("img",{src:(0,l.kY)("/static/img/features/modal-spammer/no-comment-".concat(m?"dark":"light",".gif")),alt:"Commenting Not Allowed icon"}),(0,o.jsx)("p",{className:"modal-body-text",children:(0,o.jsx)(a.a1,{t:d,i18nKey:"comments:spammerModal.defineUsernameBody",components:{span:(0,o.jsx)("span",{className:"username-change-address"})}})})]})})}}}]);
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.