1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[69250],{58033:function(e,t,n){n.d(t,{p2:function(){return m},M:function(){return _},_8:function(){return v},nC:function(){return l},tB:function(){return c},tl:function(){return r}});let i=/\[#(\d+)(p|P)\]\(([^)]+)\)|#(\d+)(p|P)/g;function c(e,t){let n;let c=[],a=0;for(;null!==(n=i.exec(e));){var r,o,l;let[i]=n,s=e.slice(a,n.index);s&&c.push({text:s,type:"text"});let u=null!==(r=n[1])&&void 0!==r?r:n[4],m=null!==(o=n[2])&&void 0!==o?o:n[5],v=null!==(l=n[3])&&void 0!==l?l:"?index=".concat(u);c.push({href:v,text:"#".concat(u).concat(m),type:t?"link":"text"}),a=n.index+i.length}return a<e.length&&c.push({type:"text",text:e.slice(a)}),c}var a=n(22135);function r(e,t){let{alias:n,epsName:i,stampIndex:c,position:r}=t;return e.replace(/#(\d+)(p|P)/g,(e,t,o)=>Number(t)===c?"[#".concat(t).concat(o,"](comic/").concat(n,"/").concat(i,"?").concat(new URLSearchParams((0,a.Z)({index:Number(t)-1,position:r})).toString(),")"):"[#".concat(t).concat(o,"](comic/").concat(n,"/").concat(i,"?index=").concat(Math.max(Number(t)-1,1),")"))}var o=n(34536),l=(e,t,n)=>{let{isMe:i=!1,displayType:a="NORMAL",replyCnt:r=0}=n,{_t:l}=o._.init(e);return"BLIND"===a?{system:l(e=>e.comments.card.blind),originalText:i?"".concat(l(e=>e.comments.card.original)).concat(c(t,!1).map(e=>e.text).join("")):null}:"ADMIN_BLIND"===a?{system:l(e=>e.comments.card.blindByAdmin),originalText:i?"".concat(l(e=>e.comments.card.original)).concat(c(t,!1).map(e=>e.text).join("")):null}:"BLOCKED"===a?{system:l(e=>e.comments.card.block),originalText:null}:"DELETED"===a&&r>0?{system:l(e=>e.comments.card.delete),originalText:i?"".concat(l(e=>e.comments.card.original)).concat(c(t,!1).map(e=>e.text).join("")):null}:{system:null,originalText:null}},s=n(99928),u=n(31529);function m(e,t){if(s.s)return()=>null;if(!u.appConfigStore.getState().id){let e="".concat(location.pathname+"?"+location.search);return t&&(e=t),()=>{window.location.href="/login?redirect=".concat(encodeURIComponent(e))}}return e}function v(e){return Number((window.scrollY/e).toFixed(3))}var d=n(86443),_={from(e){(0,d.S)("event","comment_interaction",{event_action:"view_comment",event_from:e})},viewReply(){(0,d.S)("event","comment_interaction",{event_action:"view_reply",event_from:"comment_list"})},viewMyComment(){(0,d.S)("event","comment_interaction",{event_action:"view_my_comment",event_from:"menu"})},writeComment(e){(0,d.S)("event","comment_interaction",{event_action:"write_comment",event_from:e})},selectPageStamp(e){(0,d.S)("event","comment_interaction",{event_action:"select_page_stamp",event_from:e})}}},18680:function(e,t,n){n.r(t),n.d(t,{default:function(){return b}});var i=n(27573),c=n(73131),a=n(73930),r=n(39552),o=n(58033),l=n(729),s=n(54700),u=n(25835),m=n(31529),v=n(40472),d=n(2724),_=n(49542),p=n(78664),f=n(77930),x=n(84384),h=n.n(x),g=n(7653),w=n(53286);let y=e=>{let{comment:t,count:n=0}=e,{_t:r}=(0,a.T)(),u=(0,f.useQueryClient)(),x=(0,s.useLanguage)(),y=(0,l.b)(e=>e.save),{pathname:b,push:C}=(0,l.U)(),{id:L}=(0,m.useAppConfigStore)(),{data:Z}=(0,w.rP)({select:e=>{var t;return{scrollEnabled:null==e?void 0:null===(t=e.lastView)||void 0===t?void 0:t.scrollEnabled}}}),{scrollEnabled:N}=Z||{},{currIdx:j,viewType:S,pageSide:M}=(0,w.Zp)(e=>({currIdx:e.currIdx,viewType:e.viewType,pageSide:e.pageSide})),{nickname:k,userType:A,rawText:E="",displayType:T="NORMAL",replyCnt:I=0,userId:P}=t||{},[R,B]=(0,g.useState)(()=>"SPOILER"===T),O=Number(P)===L,{system:z,originalText:D}=(0,o.nC)(x,E,{replyCnt:I,displayType:T,isMe:O}),U=!["NORMAL","SPOILER"].includes(T);return(0,i.jsx)("div",{className:"mobile:px-24 phone:px-16",children:(0,i.jsxs)("div",{className:"flex flex-col max-w-720 phone:max-w-full w-full mx-auto mb-24 gap-8",children:[(0,i.jsxs)("button",{className:"ml-auto inline-flex h-28 items-center",onClick:async()=>{o.M.from("viewer.more"),await u.invalidateQueries({predicate(e){let t=e.queryKey[0]||"";return"string"==typeof t&&t.includes("/comments")}}),C("".concat(b,"/comments")),y(location.pathname,{index:Math.max(j-1,0),viewType:S,pageSide:M,scrollEnabled:N})},children:[(0,i.jsx)(p.Z,{as:"span",variant:"sm",compact:!0,className:"text-soft",fontWeight:"medium",children:r(e=>e.viewer.comments.title)}),(0,i.jsxs)(p.Z,{as:"span",variant:"sm",compact:!0,className:"text-alpha",children:["(",n.toLocaleStr
1ing(),")"]}),(0,i.jsx)(v.Z,{size:16,className:"text-icon-alpha"})]}),(0,i.jsxs)("div",{className:"w-full border border-solid border-alpha p-16 bg-bg-subtle rounded-[8px] gap-8 flex flex-col",children:[(0,i.jsxs)(p.Z,{className:"inline-flex items-center",variant:"sm",compact:!0,fontWeight:"medium",children:[(0,i.jsx)("span",{className:"mr-8 py-3 px-4 bg-basic-red-strong rounded-[2px] lzTypography-Body3xs lzTypography-Compact font-semibold text-inverted",children:x===c.LANGUAGES.KOREAN?"BEST":"Top Comment"}),k,"AUTHOR"===A&&(0,i.jsx)(d.Z,{size:14,className:"ml-2 fill-basic-red-accent text"})]}),U?(0,i.jsxs)("div",{className:"flex flex-col justify-center",children:[(0,i.jsxs)(p.Z,{variant:"sm",className:h()("whitespace-break-spaces text-subtle inline-flex items-center gap-2"),children:[(0,i.jsx)(_.Z,{size:16}),z]}),D&&(0,i.jsx)(p.Z,{variant:"sm",className:h()("whitespace-break-spaces text-subtle inline-flex items-center gap-2 break-all"),children:D})]}):(0,i.jsx)(p.Z,{variant:"sm",onClick:()=>B(!1),role:R?"button":void 0,className:h()("whitespace-break-spaces break-all",{"cursor-pointer text-basic-red-accent":R}),children:R?"ì¤í¬ì¼ë¬ê° í¬í¨ë ëê¸ ë³´ê¸°":(0,o.tB)(E,!1).map(e=>e.text)})]})]})})};var b=(0,g.memo)(function(){let{data:e}=(0,w.am)({select(e){var t,n,i,c;return{comicId:null===(t=e.comic)||void 0===t?void 0:t.id,alias:null===(n=e.comic)||void 0===n?void 0:n.alias,epsName:null===(i=e.episode)||void 0===i?void 0:i.name,commentAllowed:null===(c=e.comic)||void 0===c?void 0:c.isCommentAllowed}}}),{comicId:t=0,alias:n="",epsName:c="",commentAllowed:a}=e||{},{previewComment:o,lezhinPass:l}=(0,w.Zp)(e=>({previewComment:e.previewComment,lezhinPass:e.lezhinPass})),{rawCount:s}=(0,r.$3)({type:"episode",contentAlias:n,episodeName:c}),m=l.includes(t),{data:v,isLoading:d}=(0,r.xq)({alias:n,epsName:c});if(!o||!a||m)return null;if(d)return(0,i.jsx)("div",{className:"flex flex-col mx-auto max-w-720 gap-24 my-24 mobile:px-24 phone:px-16",children:(0,i.jsx)(u.Skeleton,{className:"w-full rounded-4",height:140})});let{data:_=[]}=(null==v?void 0:v.data)||{},p=null==_?void 0:_[0];return p?(0,i.jsx)(y,{comment:p,count:s,alias:n,epsName:c}):null})},86443:function(e,t,n){function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];window.dataLayer&&window.dataLayer.push(arguments)}n.d(t,{F:function(){return c},S:function(){return i}});let c={singUp(e,t){i("event","sign_up",{userid:t,method:e,event_action:"sign_up",event_value:e})},login(e,t){i("event","login",{userid:t,method:e,event_action:"login",event_value:e})},viewItem(e){i("event","view_item",{userid:e.userId,currency:e.currency,value:e.price,event_action:"purchase.view_item",items:[{item_id:e.item.item_id,item_name:e.item.item_name,affiliation:"web",item_category:e.item.item_category,item_category2:"web",price:e.price,quantity:1}]})},selectBanner(e,t,n){i("event","select_banner",{event_action:"select_banner",event_from:e,event_value:t,event_platform:n})},selectMenu(e,t){i("event","select_menu",{event_action:"select_menu",event_from:e,event_value:t})},selectEpisode(e,t,n){i("event","select_episode",{content_type:"episode",content_id:e,event_action:"select_episode",event_value:t,event_from:n})},selectContent(e,t){i("event","select_content",{content_type:"comics",content_id:e,event_action:"select_content.comics",event_value:e,event_from:t})},search(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";i("event","search",{search_term:e,event_action:"ai"===t?"":"search",event_value:e})},purchase(e){let{userId:t,pg:n,pgMethod:c,currency:a,price:r,paymentId:o,paidCount:l,item:s}=e;i("event","purchase",{userid:t,event_id:o,transaction_id:o,value:r,currency:a,event_action:"purchase.purchased",first_purchase:1===l,items:[{item_id:s.id,item_name:s.name,affiliation:"web",item_category:s.badge,item_category2:"web",item_category3:n,item_category4:c,price:r,quantity:1}]})},beginCheckout(e){let{userId:t,currency:n,product:c}=e;i("event","begin_checkout",{userid:t,currency:n,value:Number(c.price),event_action:"purchase.begin_checkout",items:[{item_id:c.id.toString(),item_name:c.name,affiliation:"web",item_category:c.badge,item_category2:"web",item_category3:c.pg,price:Number(c.price),quantity:1}]})},tag(e,t,n){i("event","tag_search",{event_action:"tag_search",event_value:e?1:0,items:t,ex_items:n})},mountViewer(e){let{episodeId:t,comicId:n,title:c,isFirstEpisode:a,isAdult:r}=e;i("event","view_viewer",{event_action:"view_viewer",event_value:c,event_id:t,content_id:n,is_first:a,is_adult:r})},mountComicList(e){let{items:t,event_from:n}=e;i("event","view_comic_list",{event_action:"view_comic_list",event_from:n,items:t})}
1,mountEpisodeList(e){let{contentId:t,title:n,isAdult:c}=e;i("event","view_comic",{event_action:"view_comic",event_value:n,content_id:t,is_adult:c})},viewerInteraction(e){let{id:t,from:n,value:c}=e;i("event","viewer_interaction",{event_action:"viewer.slider",event_value:c,event_from:n,event_id:t})},viewerAutoScroll(e){let{id:t,value:n}=e;i("event","viewer_interaction",{event_action:"viewer.autoscroll",event_value:n,event_id:t})}}},34536:function(e,t,n){n.d(t,{_:function(){return i._M}});var i=n(7054)},40472:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(27573),c=n(97407);function a(e){return(0,i.jsx)(c.Z,{...e,children:(0,i.jsx)("path",{d:"M8.29297 4.70703L15.5859 12L8.29297 19.293L9.70703 20.707L18.4141 12L9.70703 3.29297L8.29297 4.70703Z"})})}},49542:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(27573),c=n(97407);function a(e){return(0,i.jsx)(c.Z,{...e,children:(0,i.jsx)("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z"})})}},97407:function(e,t,n){var i=n(27573),c=n(7653);t.Z=(0,c.forwardRef)(function(e,t){let{size:n=24,children:c,fill:a="currentColor",...r}=e;return(0,i.jsx)("svg",{ref:t,xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:a,...r,children:c})})},2724:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(27573),c=n(97407);function a(e){return(0,i.jsxs)(c.Z,{...e,children:[(0,i.jsx)("path",{d:"M10.3213 0.4197C10.9659 -0.1395 11.9236 -0.1395 12.5681 0.4197L13.4236 1.1619C13.8213 1.507 14.3555 1.6501 14.8725 1.5501L15.9845 1.3351C16.8223 1.1731 17.6517 1.652 17.9302 2.4585L18.3 3.529C18.4719 4.0267 18.863 4.4178 19.3608 4.5897L20.4312 4.9595C21.2378 5.2381 21.7166 6.0675 21.5546 6.9053L21.3396 8.0172C21.2397 8.5342 21.3828 9.0684 21.7279 9.4661L22.47 10.3216C23.0292 10.9662 23.0292 11.9239 22.47 12.5685L21.7279 13.4239C21.3828 13.8216 21.2397 14.3559 21.3396 14.8728L21.5546 15.9848C21.7166 16.8226 21.2378 17.652 20.4312 17.9306L19.3608 18.3003C18.863 18.4723 18.4719 18.8633 18.3 19.361L17.9302 20.4315C17.6517 21.2381 16.8223 21.7169 15.9845 21.5549L14.8725 21.3399C14.3555 21.24 13.8213 21.3831 13.4236 21.7282L12.5681 22.4703C11.9236 23.0295 10.9659 23.0295 10.3213 22.4703L9.4658 21.7282C9.0681 21.3831 8.5339 21.24 8.0169 21.3399L6.905 21.5549C6.0671 21.7169 5.2377 21.2381 4.9591 20.4315L4.5894 19.361C4.4175 18.8633 4.0264 18.4723 3.5287 18.3003L2.4582 17.9306C1.6516 17.652 1.1728 16.8226 1.3348 15.9848L1.5498 14.8728C1.6498 14.3559 1.5067 13.8216 1.1616 13.4239L0.4194 12.5685C-0.1398 11.9239 -0.1398 10.9662 0.4194 10.3216L1.1616 9.4661C1.5067 9.0684 1.6498 8.5342 1.5498 8.0172L1.3348 6.9053C1.1728 6.0675 1.6516 5.2381 2.4582 4.9595L3.5287 4.5897C4.0264 4.4178 4.4175 4.0267 4.5894 3.529L4.9591 2.4585C5.2377 1.652 6.0672 1.1731 6.905 1.3351L8.0169 1.5501C8.5339 1.6501 9.0681 1.507 9.4658 1.1619L10.3213 0.4197Z"}),(0,i.jsx)("path",{className:"fill-white",d:"M10.2856 13.3879L15.801 7.8725L16.6495 8.721L10.2856 15.085L6.4672 11.2666L7.3157 10.4181L10.2856 13.3879Z"})]})}},66788:function(e,t,n){n.d(t,{Z:function(){return w}});var i=n(56516),c=n(39313),a=n(26854),r=n(21042),o=n(28947),l=n(70542),s=n(65114),u=n(90314),m=function(e,t,n,i){if(!(0,s.Z)(e))return e;t=(0,o.Z)(t,e);for(var c=-1,a=t.length,m=a-1,v=e;null!=v&&++c<a;){var d=(0,u.Z)(t[c]),_=n;if("__proto__"===d||"constructor"===d||"prototype"===d)break;if(c!=m){var p=v[d];void 0===(_=i?i(p,d,v):void 0)&&(_=(0,s.Z)(p)?p:(0,l.Z)(t[c+1])?[]:{})}(0,r.Z)(v,d,_),v=v[d]}return e},v=function(e,t,n){for(var i=-1,c=t.length,r={};++i<c;){var l=t[i],s=(0,a.Z)(e,l);n(s,l)&&m(r,(0,o.Z)(l,e),s)}return r},d=n(63295),_=n(3370),p=n(13637),f=n(75606),x=n(18849),h=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,_.Z)(t,(0,f.Z)(e)),e=(0,p.Z)(e);return t}:x.Z,g=n(20492),w=function(e,t){if(null==e)return{};var n=(0,i.Z)((0,d.Z)(e,g.Z,h),function(e){return[e]});return t=(0,c.Z)(t),v(e,n,function(e,n){return t(e,n[0])})}},82378:function(e,t,n){var i=n(39313),c=n(80983);t.Z=function(e,t){return e&&e.length?(0,c.Z)(e,(0,i.Z)(t,2)):[]}}}]);
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.