1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6961],{5173:(e,i,t)=>{t.d(i,{A:()=>u,h:()=>m});var a=t(45797),r=t(53239),n=t(20264),l=t(13059),o=t(11566),p=t(79198),d=t(97815),g=t(44286),h=t(23579),s=t(11230),c=t.n(s),x=t(52945);let m=function(e){let{t:i}=(0,o.Bd)("community"),{checkLike:t,likesLength:p,checkComment:h,commentsLength:s,onClickLike:m,onClickReply:b,reply:k,isBlamed:f,isHide:v,labelComment:y,isStudent:C,signedUser:w,isDiscussWriter:A,isGroupAccess:Y}=e,z=(0,x.d4)(e=>e.common.user)||{},S=(0,n.useRouter)(),[D]=(0,l.Y)(),_=(0,r.useCallback)(async()=>{await (0,g.lJ)(i("common:modal_login"))&&S.push({pathname:"/signin",query:{cb:S.asPath}},"/signin")},[]),I=(0,r.useCallback)(async e=>{if(e.preventDefault(),w&&w?.id){if(!(C||D())){if(!A){let{data:e}=await d.A.checkUserEmailAuth();if(!d.A.canUseCommunity(e?.me,Y))return void await (0,g.HQ)({t:i});if(!z.isCheckCaptcha)return void await (0,g.vy)()}m()}}else await _()},[w,_,C,D,z.isCheckCaptcha,Y,A,m,i]),G=(0,r.useCallback)(e=>{e.preventDefault(),b()},[b]);return v||f?(0,a.Y)(a.FK,{}):(0,a.FD)(u,{children:[(0,a.Y)("em",{children:(0,a.FD)("a",{role:"button",className:c()("like",{active:t}),onClick:I,children:[i("label_like")," ",p]})}),!C&&!k&&!f&&!v&&(0,a.Y)("em",{children:(0,a.Y)("a",{role:"button",className:c()("reply",{active:h}),onClick:G,children:`${y||i("label_comment")} ${s}`})})]})},u=(0,h.A)("div",{target:"e50391u0"})("margin-top:18px;height:12px;em{display:inline-block;margin-left:18px;vertical-align:top;&:first-of-type{margin-left:0;}}a{display:inline-block;font-size:12px;font-weight:600;color:",e=>e.theme.Gray5,";line-height:12px;transition:color 0.3s;vertical-align:top;&:before{display:inline-block;height:12px;margin:-1px 9px 0 0;transition:background-image 0.3s;vertical-align:top;content:'';}&.like:before{width:14px;background-image:url(/img/IcoCmtLike.svg);background-size:14px auto;}&.reply:before{width:16px;background-image:url(/img/IcoCmtReply.svg);background-size:16px auto;}&:hover,&:active,&.active{color:",e=>e.theme.Green3,";}&:hover.like:before,&.active.like:before{background-image:url(/img/IcoCmtLikeOn.svg);}&:hover.reply:before,&.active.reply:before{background-image:url(/img/IcoCmtReplyOn.svg);}}",p.C.tablet,"{height:14px;margin-top:24px;em{margin-left:24px;}a{font-size:14px;line-height:14px;}a:before{margin-right:6px;}a.like:before{width:16px;height:14px;background-size:16px auto;}a.reply:before{width:18px;height:14px;background-size:18px auto;}}",p.C.mobile,"{em{margin-left:18px;}a{font-size:12px;line-height:14px;}a.like:before{width:14px;height:12px;margin-top:1px;background-size:14px auto;}a.reply:before{width:16px;height:12px;margin-top:1px;background-size:16px auto;}}")},69808:(e,i,t)=>{t.d(i,{A:()=>u});var a=t(45797);t(53239);var r=t(91494),n=t(52945),l=t(79198),o=t(75723),p=t(84698),d=t(16612),g=t(5173),h=t(35831),s=t(70151),c=t(97815),x=t(23579),m=t(46157);let u=function(e){let{href:i="/",variant:t="default",user:l,created:x,content:m,reply:u,checkLike:b,likesLength:k=0,checkComment:C,commentsLength:w=0,showMore:A,isOwner:Y,onClickLike:z,onClickReply:S,onClickFix:D,onClickRemove:_,onTogglePin:I,onClickReport:G,writer:F,isBlamed:E,blamedBy:U,isHide:$,isDiscussWriter:N,onClickShow:R,onClickHide:T,image:H,sticker:P,labelComment:W,isStudent:B,isGroupAccess:L,isGroupOwner:K,signed:M,isAdmin:O,imageDisabled:j,pinned:q,usePin:J}=e,Q=(0,n.d4)(e=>e.common.user),[X,Z]=(0,r.hS)(s.A),{width:V}=(0,r.lW)();return(0,a.FD)(f,{reply:u,variant:t,children:[(0,a.Y)(o.A,{user:l,reply:u,variant:t}),(0,a.Y)(p.A,{user:l,created:x,writer:F,isGroupOwner:K,variant:t,pinned:q}),(0,a.Y)(d.A,{isBlamed:E,blamedBy:U,isHide:$,children:m}),!E&&!j&&H&&(0,a.Y)(v,{children:(0,a.Y)("a",{role:"button",onClick:e=>{e.preventDefault(),Z()},children:(0,a.Y)("img",{src:c.A.getImageUrl(H),alt:"image"})})}),!E&&P&&(0,a.Y)(y,{children:(0,a.Y)("img",{src:c.A.getImageUrl(P),alt:"sticker"})}),(0,a.Y)(g.h,{checkLike:b,likesLength:k,checkComment:C,commentsLength:w,onClickLike:z,onClickReply:S,reply:u,isBlamed:E,isHide:$,labelComment:W,signedUser:Q,isStudent:B,isDiscussWriter:N,isGroupAccess:L}),(0,a.Y)(h.Ay,{showMore:A,user:l,isOwner:Y,onClickFix:D,onClickRemove:_,onTogglePin:I,onClickReport:G,isBlamed:E,isHide:$,isDiscussWriter:N,onClickShow:R,onClickHide:T,isGroupAccess:L,isGroupOwner:K,signed:M,isAdmin:O,pinned:q,usePin:J}),(0,a.Y)(X,{maxWidth:V-20,imgPath:c.A.getImageUrl(H),focus:!1})]})},b={default:(0,m.AH)("padding:27px 67px 27px 62px;",l.C.tablet,"{padding:24px 46px 24px 64px;}",l.C.mobile,"{padding:36px 36px 40px 70px;}"),entrystory:(0,m.AH)("padding:27px 73px 27px 95px;
1",l.C.tablet,"{padding:30px 52px 30px 98px;}",l.C.mobile,"{padding:30px 36px 40px 74px;}")},k={default:(0,m.AH)("padding:27px 67px 27px 110px;",l.C.tablet,"{padding:24px 46px 24px 112px;}",l.C.mobile,"{padding:30px 36px 30px 86px;}"),entrystory:(0,m.AH)("padding:48px;")},f=(0,x.A)("div",{target:"e1uj27uy0"})("position:relative;",({variant:e})=>b[e]," ",({variant:e,reply:i})=>i&&k[e]," ",l.C.mobile,"{",h._Z,"{right:0;top:21px;}",h.Lz,"{&:after{display:none;}}}"),v=(0,x.A)("div",{target:"e1uj27uy1"})("margin-top:12px;a{position:relative;display:block;overflow:hidden;max-width:194px;max-height:374px;text-align:center;background-color:#fff;&:before{position:absolute;left:0;right:0;top:0;bottom:0;border:1px solid rgba(0,0,0,0.05);content:'';}& > img{max-width:100%;max-height:374px;}}",l.C.tablet,"{margin-top:12px;}"),y=(0,x.A)("em",{target:"e1uj27uy2"})("display:block;overflow:hidden;width:74px;height:74px;margin-top:9px;img{display:block;max-width:74px;max-height:74px;}",l.C.tablet,"{margin-top:12px;width:78px;height:78px;img{max-width:78px;max-height:78px;}}",l.C.mobile,"{margin-top:16px;width:120px;height:120px;img{max-width:120px;max-height:120px;}}")},70151:(e,i,t)=>{t.d(i,{A:()=>l});var a=t(45797),r=t(53239),n=t(23579);let l=e=>{let{href:i="/",imgPath:t,hide:n}=e,l=(0,r.useCallback)(e=>{e.preventDefault(),n()},[n]);return(0,a.FD)(o,{children:[(0,a.Y)(p,{children:(0,a.Y)("img",{src:t,alt:"ì´ë¯¸ì§ ì본 보기"})}),(0,a.Y)(d,{href:i,role:"button",onClick:l,children:(0,a.Y)("span",{className:"blind",children:"ë ì´ì´ ë«ê¸°"})})]})},o=(0,n.A)("div",{target:"e1bsr2r40"})("position:relative;padding-right:40px;"),p=(0,n.A)("div",{target:"e1bsr2r41"})("overflow:hidden;border-radius:20px;img{border-radius:20px;width:100%;height:auto;}"),d=(0,n.A)("a",{target:"e1bsr2r42"})("position:absolute;right:0;top:0;width:22px;height:22px;background:url(/img/IcoPopupWhiteClose.svg) no-repeat;background-size:22px auto;")},82242:(e,i,t)=>{t.d(i,{A:()=>N});var a=t(45797),r=t(53239),n=t(20264),l=t(91494),o=t(13059),p=t(52945),d=t(11566),g=t(79198),h=t(41684),s=t(75723),c=t(31572),x=t(87599);let m=` 2 query SELECT_STICKER($id: ID, $title: String){ 3 sticker(id: $id, title: $title){ 4 ${x.or} 5 } 6 } 7`,u=` 8 query SELECT_STICKERS { 9 stickers { 10 list { 11 id 12 title 13 image { 14 ${x.pY} 15 } 16 } 17 } 18 } 19`;var b=t(97815),k=t(23579),f=t(55222),v=t.n(f),y=t(70978);let C=e=>{let{sticker:i,stickerItem:t,onChangeSticker:n,close:l}=e,o=(0,r.useCallback)(()=>{n(i,t),l()},[i,t,n,l]);return(0,a.Y)("li",{onClick:o,children:(0,a.Y)("span",{children:(0,a.Y)("img",{src:b.A.getImageUrl(t),style:{width:300,height:300},alt:`emoji-${t.id}`})})})},w=e=>{let{sticker:i,close:t,onChangeSticker:n}=e,{data:o,isFetched:p}=(0,l.IT)([`SELECT_STICKER_${i.id}`],{query:m,variables:{id:i.id}}),d=(0,r.useMemo)(()=>v()(o,"sticker.stickers",[]),[o]);return p?(0,a.Y)(F,{children:(0,a.Y)("ul",{children:d?.map(e=>(0,a.Y)(C,{stickerItem:e,sticker:i,onChangeSticker:n,close:t},`sticker-list-${e.id}`))})}):null},A=e=>{let{data:i,plugins:t,stickerIndex:n,setStickerIndex:l}=e,o=(0,r.useRef)(),p=(0,r.useCallback)(e=>{o?.current?.animating&&e.stop()},[o]);return(0,a.Y)(_,{"data-select-index":n+1,children:(0,a.Y)(y.Ay,{ref:o,align:"prev",cameraTag:"ul",bound:!0,bounce:0,plugins:t,inputType:["pointer"],onHoldStart:p,children:i.map((e,i)=>{let{image:t}=e,r=!1;return i===n&&(r=!0),(0,a.FD)(I,{children:[(0,a.Y)("button",{type:"button",onClickCapture:e=>{e.preventDefault(),e.stopPropagation(),l(i)},children:(0,a.Y)("img",{src:b.A.getImageUrl(t),width:"55",height:"39",alt:t.name})}),r&&(0,a.Y)("span",{className:"blind",children:"ì íë¨"})]},`${e.id}`)})})})},Y=function(e){let{close:i,onOutsideClick:t,outsideClickException:n,onChangeSticker:o,imageDisabled:p}=e,{data:d,isFetched:g}=(0,l.IT)(["SELECT_STICKERS"],{query:u}),[h,s]=(0,l.C7)(),c=(0,r.useRef)(null),[x,m]=(0,r.useState)(0);if((0,l.jz)(c,e=>{let{target:a}=e;if(a?.name==="btnSticker")return!1;i&&i(),t&&t()},n,{startPrevent:!0}),!g)return null;let{list:b}=d?.stickers||{};return(0,a.FD)(S,{imageDisabled:p,ref:c,children:[(0,a.FD)(D,{ref:s,children:[(0,a.FD)(G,{type:"button",className:"btn_prev flicking-arrow-prev is-outside",children:[(0,a.Y)(E,{}),(0,a.Y)("span",{className:"blind",children:"ì¤í°ì»¤ í ì´ì 보기"})]}),(0,a.Y)(A,{data:b,plugins:h,stickerIndex:x,setStickerIndex:m}),(0,a.FD)(G,{type:"button",className:"btn_next flicking-arrow-next is-outside",children:[(0,a.Y)(E,{}),(0,a.Y)("span",{className:"blind",children:"ì¤í°ì»¤ í ë¤ì 보기"})]})]}),(0,a.Y)(w,{sticker:b[x],close:i,onChangeSticker:o})]})},z=(0,k.A)("div",{target:"e7mxa0b0"})("display:block;position:relative;padding:",18,"px 0;background-color:#fff;border:solid 1px ",e=>e.theme.Gray16,";border-radius:15px;box-shadow:0 1px 1px 0 rgba(0,0,0,0.06);z-index:20;a{display:block;padding:",9,"px 0;font-size:14px;color:",e=>e.theme.Gray5,";text-align:center;transition:color 0.3s;line-height:14px;&:hover,&:active{font-weight:600;color:",e=>e.theme.Gray4,";}}"),S=(0,k.A)(z,{target:"e7mxa0b1"})("overflow:hidden;display:block;position:relative;width:358px;height:278px;padding:0;border:solid 1px ",e=>e.theme.Green3,";border-radius:10px;background-color:#fff;box-shadow:0 1px 1px 0 rgba(0,0,0,0.06);z-index:20;",g.C.tablet,"{width:354px;
19height:282px;padding:0;}",g.C.mobile,"{width:auto;height:218px;border-radius:0 0 4px 4px;}"),D=(0,k.A)("div",{target:"e7mxa0b2"})("position:relative;padding:0 ",55,"px;&:before{display:block;position:absolute;bottom:0;right:0;left:0;height:1.5px;background-color:",e=>e.theme.Gray30,";content:'';}&:hover{z-index:2;}"),_=(0,k.A)("div",{target:"e7mxa0b3"})("white-space:nowrap;li:nth-of-type(",e=>v()(e,"data-select-index",1),"){&:before{background-color:",e=>e.theme.Green3,";}img{filter:grayscale(0);}}"),I=(0,k.A)("li",{target:"e7mxa0b4"})("display:inline-block;position:relative;vertical-align:top;&:before{display:block;position:absolute;bottom:0;z-index:2;width:100%;height:1.5px;background-color:",e=>e.theme.Gray30,";content:'';}img{pointer-events:none;filter:grayscale(1);}"),G=(0,k.A)("button",{target:"e7mxa0b5"})("position:absolute;top:0;z-index:1;width:",55,"px;height:100%;padding:0 ",9,"px;box-sizing:border-box;svg{position:relative;margin-top:2px;}&:after{display:block;position:absolute;bottom:0;right:0;left:0;z-index:2;height:1.5px;background-color:",e=>e.theme.Gray30,";content:'';}&.flicking-arrow-disabled,&:disabled{svg{path{fill:",e=>e.theme.Gray12,";}circle{stroke:",e=>e.theme.Gray1,";}}}&:not(:disabled){&:before{display:block;position:absolute;width:",55,"px;top:0;height:37.5px;background-image:url(/img/ImgStickerTooltipGradation.svg);background-size:",55,"px auto;content:'';}}&.btn_prev{left:0;&:not(:disabled){&:before{left:0;transform:scaleX(-1);}}}&.btn_next{right:0;&:not(:disabled){&:before{right:0;}}svg{transform:rotate(180deg);}}"),F=(0,k.A)("div",{target:"e7mxa0b6"})("overflow-y:auto;height:calc(100% - 39px - ",18,"px);padding:",18,"px 0 0 ",18,"px;& > ul{overflow:hidden;margin:-",18,"px 0 0 -41px;padding-bottom:",18,"px;& > li{float:left;margin:",18,"px 0 0 41px;}& > li > span{display:block;overflow:hidden;position:relative;width:74px;height:74px;padding:0;transition:opacity 0.1s;cursor:pointer;}& > li > span:before{display:inline-block;width:1px;height:100%;margin-left:-1px;vertical-align:middle;content:'';}& > li > span > img{display:inline-block;width:auto;height:auto;max-width:74px;max-height:74px;vertical-align:middle;}&:hover > li > span{opacity:0.3;}&:hover > li:hover > span{opacity:1;}}",g.C.tablet,"{padding:",18,"px 0 0 27px;& > ul{margin:-",18,"px 0 0 -30px;}& > ul > li{margin:",18,"px 0 0 30px;}& > ul > li > span{width:78px;height:78px;}& > ul > li > span > img{max-width:78px;max-height:78px;}}",g.C.mobile,"{& > ul > li > span{width:64px;height:64px;}& > ul > li > span > img{max-width:64px;max-height:64px;}& > ul:hover > li > span,& > ul:hover > li:hover > span{opacity:1;}}"),E=e=>{let{fill:i="#16d8a3",stroke:t="#16d8a3"}=e;return(0,a.Y)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,a.FD)("g",{fill:"none",fillRule:"evenodd",children:[(0,a.Y)("circle",{stroke:t,cx:"12",cy:"12",r:"11.5"}),(0,a.Y)("path",{d:"m10.356 12 3.894 3.408a.545.545 0 0 1-.718.82l-4.364-3.817a.545.545 0 0 1 0-.821l4.364-3.819a.545.545 0 1 1 .718.821L10.356 12z",fill:i})]})})};var U=t(37123),$=t(44286);let N=function(e){let{t:i}=(0,d.Bd)(["common","community"]),{variant:t="default",submitText:g=i("label_registration"),onSubmit:x,placeholder:m,signed:u=!1,isGroupAccess:k,writer:f,imageDisabled:v=!0,unauthenticatedUserAction:y="confirm"}=e,C=(0,n.useRouter)(),w=(0,p.d4)(e=>e.common.user),A=(0,r.useMemo)(()=>e.userinfo||w,[w,e.userinfo]),z=(0,r.useMemo)(()=>u&&String(A.id)===String(f?.id),[u,A,f]),[S]=(0,o.Y)(),D=(0,r.useRef)(!1),[_,I]=(0,r.useState)(!1),G=(0,r.useCallback)(e=>{e.preventDefault(),I(e=>!e)},[]),F=(0,r.useCallback)(()=>{I(!1)},[]),[E,N]=(0,r.useState)(e.content),j=(0,r.useCallback)(async e=>{let{target:{value:t}}=e;if(e.stopPropagation(),u)if(t.length>500)return(0,$.xE)(i("alert_limit_comment"));else return N(t)},[u]),[q,X]=(0,r.useState)(e.image?.id),[Z,V]=(0,r.useState)(b.A.getImageUrl(e.image)),[ee,ei]=(0,r.useState)(e.sticker?.id),[et,ea]=(0,r.useState)(e.sticker?.id),[er,en]=(0,r.useState)(b.A.getImageUrl(e.sticker)),el=(0,r.useCallback)(async e=>{if(et)return(0,$.xE)(i("community:alert_image"));let t=e?.target,{files:a=[]}=t,r=a[0];if(!r.type.match("image/*"))return(0,$.xE)(i("community:file_cannot_be_attached"));if(r){try{let{data:e}=await b.A.uploadImage({file:r,type:"notcompress",generateThumb:!0}),i=e.fileUrl||b.A.getImageUrl(e);V(i),X(e._id)}catch(e){await (0,$.xE)(i(b.A.getImageUploadAlertMessage(e)))}t&&(t.value=null)}},[et,i]),eo=(0,r.useCallback)(()=>{X(null),V(null)},[]),ep=(0,r.useCallback)((e,t)=>{if(q)return(0,$.xE)(i("community:alert_sticker"));ei(e.id),ea(t.id),en(b.A.getImageUrl(t))},[q]),ed=(0,r.useCallback)(()=>{ei(null),ea(null),en(null)},[]),eg=(0,r.useCallback)(async()=>{await (0,$.lJ)(i("common:modal_login"))&&C.push({pathname:"/signin",query:{cb:C.asPath}},"/signin")},[]),eh=(0,r.useCallback)(async e=>{if(e.preventDefault(),D?.current)return!1;D.current=!0;let t=E||(q||ee?"":void 0);try{if(A&&A?.id){if(S())return;if(!z){let{data:e}=await b.A.checkUserEmailAuth();if(!b.A.canUseCommunity(e?.me,k))return void await (0,$.HQ)({t:i});if(!w.isCheckCaptcha)return void await (0,$.vy)()}await x({content:t,image:q,sticker:ee,stickerItem:et}),N(""),X(null),V(null),ei(null),ea(null),en(null)}else await eg()}catch(e){console.log(e)}
19finally{D.current=!1}},[E,q,ee,A,eg,S,z,x,et,k,w,i]),es=(0,r.useRef)(),ec="entryStory"===t,ex=(0,r.useCallback)(async e=>{if(!u&&(e?.target?.blur(),e.stopPropagation(),e.preventDefault(),e?.target?.dataset?.btnType==="login"&&"redirect"===y||await (0,$.lJ)(i("common:modal_login"))))return C.push({pathname:"/signin",query:{cb:C.asPath}},"/signin")},[C,u,i,y]),[em,eu]=(0,l.hS)(h.A),eb=(0,r.useCallback)(e=>{e.preventDefault(),eu()},[eu]);return(0,a.FD)(ec?H:T,{reply:"reply"===t,onClickCapture:ex,children:[ec?(0,a.FD)(a.FK,{children:[(0,a.Y)(s.A,{variant:"entrystory",user:A,write:!0}),(0,a.FD)(P,{htmlFor:"Write",children:[(0,a.Y)(J,{children:(0,a.Y)(U.A,{id:"Write",name:"Write",placeholder:i("placeholder_entrystory"),value:E,onChange:j,onKeyDown:e=>e.stopPropagation()})}),(0,a.Y)(R,{imageUrl:Z,stickerUrl:er,imageDisabled:v,onRemoveImage:eo,onRemoveSticker:ed})]})]}):(0,a.FD)(a.FK,{children:[(0,a.Y)(J,{children:(0,a.Y)(U.A,{id:"Write",name:"Write",placeholder:m,value:E,onChange:j,onKeyDown:e=>e.stopPropagation()})}),(0,a.Y)(R,{imageUrl:Z,stickerUrl:er,imageDisabled:v,onRemoveImage:eo,onRemoveSticker:ed})]}),(0,a.FD)(W,{children:[u&&(0,a.FD)(L,{children:[!v&&(0,a.FD)(K,{children:[(0,a.Y)("span",{className:"blind",children:i("label_file_upload")}),(0,a.Y)("input",{type:"file",className:"blind",accept:".png, .jpg, .jpeg, .bmp, .svg",onChange:el})]}),(0,a.Y)(M,{role:"button",onClick:G,ref:es,children:(0,a.Y)("span",{className:"blind",children:i("label_sticker")})}),_&&(0,a.Y)(O,{children:(0,a.Y)(Y,{imageDisabled:v,outsideClickException:[es],close:F,onChangeSticker:ep})})]}),(0,a.Y)(B,{children:(0,a.Y)(c.A,{ButtonState:"Custom",Height:34,FontSize:14,href:"/",Text:g,Fill:!0,"data-btn-type":"login",onClick:eh})})]}),ec&&(0,a.FD)(a.FK,{children:[(0,a.Y)(Q,{children:(0,a.Y)("a",{href:"/",role:"button",className:"link",onClick:eb,children:i("community:label_notice")})}),(0,a.Y)(em,{fullSizeOnMobile:!0})]})]})};function R(e){let{t:i}=(0,d.Bd)("community"),{imageUrl:t,stickerUrl:n,onRemoveImage:l,onRemoveSticker:o,imageDisabled:p}=e,g=(0,r.useCallback)(e=>{e.preventDefault(),l()},[l]),h=(0,r.useCallback)(e=>{e.preventDefault(),o()},[o]);return(0,a.FD)(a.FK,{children:[!p&&t&&(0,a.Y)(q,{children:(0,a.FD)("em",{children:[(0,a.Y)("img",{src:t,alt:i("alt_attach_image")}),(0,a.Y)("a",{href:"/",role:"button",onClick:g,children:(0,a.Y)("span",{className:"blind",children:i("label_close_image")})})]})}),n&&(0,a.Y)(j,{children:(0,a.FD)("em",{children:[(0,a.Y)("img",{src:n,style:{width:105,height:105},alt:i("alt_attach_sticker")}),(0,a.Y)("a",{href:"/",role:"button",onClick:h,children:(0,a.Y)("span",{className:"blind",children:i("label_close_sticker")})})]})})]})}let T=(0,k.A)("div",{target:"ed0ret0"})("position:relative;padding:24px 27px 18px;border-radius:10px;background-color:",e=>e.theme.White1,";z-index:30;border:1px solid ",e=>e.reply?e.theme.Gray1:e.theme.Gray5,";textarea{resize:none;width:100%;height:44px;max-height:88px;border:0;outline:none;font-size:16px;color:",e=>e.theme.Black1,";vertical-align:top;line-height:22px;&::placeholder{color:",e=>e.theme.Gray5,";}}",g.C.tablet,"{padding:21px 24px 18px;border-radius:20px;textarea{height:80px;font-size:18px;line-height:28px;}}",g.C.mobile,"{padding:16px;margin:0 16px;border-radius:4px;textarea{height:96px;max-height:96px;font-size:14px;line-height:24px;}}"),H=(0,k.A)("div",{target:"ed0ret1"})("position:relative;padding:27px 27px 0;border:1px solid ",e=>e.theme.Gray8,";border-radius:20px;background-color:",e=>e.theme.White1,";&:hover,&:active{border-color:",e=>e.theme.Green3,";}",g.C.tablet,"{padding:30px 30px 0;}",g.C.mobile,"{padding:17px 20px 0;}"),P=(0,k.A)("label",{target:"ed0ret2"})("display:block;margin:14px 0 0 69px;textarea{width:100%;height:44px;resize:none;border:0;outline:0;font-size:16px;color:",e=>e.theme.Black1,";line-height:22px;vertical-align:top;&::placeholder{color:",e=>e.theme.Gray5,";}}",g.C.tablet,"{margin:8px 0 0 68px;textarea{height:66px;font-size:18px;line-height:28px;}}",g.C.mobile,"{margin:0;textarea{height:98px;font-size:15px;line-height:24px;}}"),W=(0,k.A)("div",{target:"ed0ret3"})("margin-top:17px;&:after{display:block;clear:both;content:'';}",g.C.tablet,"{margin-top:12px;}",g.C.mobile,"{position:relative;min-height:34px;margin-top:8px;}"),B=(0,k.A)("span",{target:"ed0ret4"})("float:right;width:110px;",g.C.tablet,"{width:114px;margin-top:6px;}",g.C.mobile,"{float:none;position:absolute;right:0;top:0;width:66px;margin-top:0;}"),L=(0,k.A)("div",{target:"ed0ret5"})("float:left;position:relative;padding-top:14px;",g.C.tablet,"{padding-top:18px;}",g.C.mobile,"{float:none;position:relative;padding-top:7px;}"),K=(0,k.A)("label",{target:"ed0ret6"})("display:inline-block;overflow:hidden;width:21px;height:18px;margin-top:1px;margin-right:14px;background:url(/img/IcoCmtPicture.svg) no-repeat;background-size:21px auto;vertical-align:top;cursor:pointer;content:'';",g.C.tablet,"{width:23px;height:20px;margin-right:18px;background-size:23px auto;}",g.C.mobile,"{width:21px;height:18px;margin-right:16px;background-size:21px auto;}"),M=(0,k.A)("a",{target:"ed0ret7"})("display:inline-block;width:20px;height:20px;background-image:url(/img/IcoCmtSticker.svg);background-size:20px auto;vertical-align:top;transition:background-image 0.3s;&:hover,&:active,&.active{background-image:url(/img/IcoCmtStickerOn.svg);}",g.C.tablet,"{width:22px;height:22px;margin-left:0px;background-size:22px auto;}",g.C.mobile,"{width:20px;height:20px;margin-left:0px;background-size:20px auto;}"),O=(0,k.A)("div",{target:"ed0ret8"})("display:block;position:absolute;
19left:-13px;top:45px;",g.C.mobile,"{position:static;margin:20px -17px -17px;}"),j=(0,k.A)("div",{target:"ed0ret9"})("position:relative;margin-top:17px;em{display:block;position:relative;width:66px;height:66px;border:1px solid ",e=>e.theme.Gray1,";background-color:",e=>e.theme.White1,";border-radius:10px;text-align:center;&:before{display:inline-block;width:1px;height:100%;margin-left:-1px;vertical-align:middle;content:'';}img{display:inline-block;width:auto;height:auto;max-width:46px;max-height:46px;vertical-align:middle;}& > a{position:absolute;right:-11px;top:-11px;width:22px;height:22px;background:url(/img/IcoStickerClose.svg) no-repeat;background-size:22px auto;content:'';}}& ~ ",W,"{margin-top:4px;}",g.C.tablet,"{margin-top:20px;em{width:68px;height:68px;}em img{width:48px;height:48px;}em > a{top:-13px;right:-13px;width:26px;height:26px;background-size:26px auto;}& ~ ",W,"{margin-top:12px;}}",g.C.mobile,"{margin-top:12px;em{width:52px;height:52px;}em img{width:34px;height:34px;}em > a{top:-9px;right:-9px;width:18px;height:18px;background-size:18px auto;}}"),q=(0,k.A)(j,{target:"ed0ret10"})("em{width:auto;height:auto;max-width:120px;max-height:200px;border-radius:0;border:0;&:after{position:absolute;left:0;right:0;top:0;bottom:0;border:1px solid rgba(0,0,0,0.05);content:'';}&:before{display:none;}img{max-width:100%;max-height:200px;}& > a{position:absolute;right:-11px;top:-11px;width:22px;height:22px;background:url(/img/IcoStickerClose.svg) no-repeat;background-size:22px auto;content:'';}}"),J=(0,k.A)("div",{target:"ed0ret11"})("min-height:44px;",g.C.tablet,"{min-height:56px;}",g.C.mobile,"{min-height:48px;}"),Q=(0,k.A)("div",{target:"ed0ret12"})("position:relative;margin-top:18px;padding:14px 0 18px;border-top:1px solid ",e=>e.theme.Gray1,";.link{display:inline-block;height:18px;font-size:14px;font-weight:600;color:",e=>e.theme.Gray5,";line-height:18px;&:before{display:inline-block;width:16px;height:16px;margin:0 6px 0 0;border:1px solid ",e=>e.theme.Gray5,";border-radius:50%;background-image:url(/img/IcoCaution2.svg);background-size:16px auto;vertical-align:top;content:'';}}")},84698:(e,i,t)=>{t.d(i,{A:()=>h,N:()=>s});var a=t(45797);t(53239);var r=t(11566),n=t(79198),l=t(99526),o=t.n(l),p=t(23579),d=t(98304),g=t(97815);let h=function(e){let{t:i}=(0,r.Bd)("common"),{user:t,created:n,writer:l,variant:p,pinned:h=!1}=e,c=t?.id===l?.id;return(0,a.FD)(s,{variant:p,children:[(0,a.FD)(o(),{href:`/profile/${t?.id}`,children:[t?.role==="admin"&&(0,a.Y)(x,{children:(0,a.Y)("span",{className:"blind",children:"ì´ìì ë°°ì§"})}),t?.mark&&t?.role!=="admin"&&(0,a.Y)(m,{style:g.A.setCSS({backgroundImage:g.A.getImageUrl(t?.mark)}),children:(0,a.Y)("span",{className:"blind",children:"ê°ë ë°°ì§"})}),!t?.mark&&t?.role==="guard"&&(0,a.Y)(m,{style:g.A.setCSS({backgroundImage:g.A.getImageUrl(t?.mark)}),children:(0,a.Y)("span",{className:"blind",children:"ê°ë ë°°ì§"})}),t?.nickname||t?.username]}),(0,a.Y)("em",{children:(0,d.default)(new Date(n),"yy.MM.dd ã» HH:mm")}),c&&(0,a.Y)(u,{children:i("label_owner")}),h&&(0,a.Y)(b,{children:i("label_pinned")})]})},s=(0,p.A)("div",{target:"e143sozh0"})(e=>"entrystory"===e.variant?` 20 margin-top: 8px; 21 a { 22 display: inline-block; 23 font-size: 14px; 24 font-weight: 600; 25 color: #000; 26 line-height: 16px; 27 vertical-align: top; 28 } 29 em { 30 display: block; 31 margin-top: 6px; 32 font-size: 12px; 33 color: ${e.theme.Gray5}; 34 line-height: 16px; 35 vertical-align: top; 36 } 37 ${n.C.tablet} { 38 margin-top: 3px; 39 a { 40 font-size: 16px; 41 line-height: 18px; 42 } 43 em { 44 margin-top: 8px; 45 font-size: 14px; 46 line-height: 16px; 47 } 48 } 49 ${n.C.mobile} { 50 margin-top: 2px; 51 a { 52 font-size: 14px; 53 line-height: 16px; 54 } 55 em { 56 margin-top: 5px; 57 font-size: 12px; 58 line-height: 14px; 59 } 60 } 61 ${e.reply&&` 62 margin-top: 0; 63 em { 64 display: inline; 65 padding-left: 9px; 66 line-height: 16px; 67 vertical-align: top; 68 } 69 ${n.C.tablet} { 70 em { 71 line-height: 18px; 72 } 73 } 74 `} 75 `:` 76 a { 77 font-size: 14px; 78 font-weight: 600; 79 color: ${e.theme.DefaultText}; 80 line-height: 18px; 81 vertical-align: top; 82 } 83 em { 84 padding-left: 9px; 85 font-size: 12px; 86 color: ${e.theme.Gray5}; 87 line-height: 18px; 88 vertical-align: top; 89 } 90 ${n.C.tablet} { 91 a { 92 font-size: 16px; 93 } 94 em { 95 font-size: 14px; 96 } 97 } 98 ${n.C.mobile} { 99 a { 100 display: block; 101 font-size: 14px; 102 } 103 em { 104 display: inline-block; 105 padding: 0;
106 margin-top: 1px; 107 font-size: 12px; 108 vertical-align: top; 109 } 110 } 111 `),c=(0,p.A)("span",{target:"e143sozh1"})("display:inline-block;width:20px;height:18px;margin-right:4px;background-size:auto 18px;background-position:50% 50%;background-repeat:no-repeat;vertical-align:middle;"),x=(0,p.A)(c,{target:"e143sozh2"})("background-image:url(/img/IcoAdminBadge.svg);"),m=(0,p.A)(c,{target:"e143sozh3"})(),u=(0,p.A)("span",{target:"e143sozh4"})("display:inline-block;box-sizing:border-box;height:18px;margin-left:8px;padding:0 9px;border:1px solid ",e=>e.theme.Green3,";border-radius:9px;font-size:12px;font-weight:600;color:",e=>e.theme.Green3,";line-height:18px;vertical-align:top;",n.C.tablet,"{height:22px;margin:-2px 0 0 9px;border-radius:10px;font-size:14px;line-height:20px;}",n.C.mobile,"{height:18px;margin:1px 0 0 12px;border-radius:9px;font-size:12px;line-height:16px;}"),b=(0,p.A)("strong",{target:"e143sozh5"})("display:inline-block;margin:-2px 0 -2px 6px;padding:0 6px;border-radius:4px;background-color:",e=>e.theme.Gray15,";font-size:12px;font-weight:600;color:",e=>e.theme.Gray5,";line-height:22px;vertical-align:top;&:before{display:inline-block;width:6px;height:13px;margin:5px 4px 0 0;background:url(/img/IconFixed.svg) no-repeat;background-size:6px auto;vertical-align:top;content:'';}",n.C.tablet,"{font-size:14px;}",n.C.mobile,"{display:block;width:53px;margin:9px 0 -3px;font-size:12px;box-sizing:border-box;}")},88630:(e,i,t)=>{t.d(i,{A:()=>h});var a=t(45797),r=t(53239),n=t(52945),l=t(11566),o=t(94384),p=t(79198),d=t(82242),g=t(23579);let h=function(e){let{t:i}=(0,l.Bd)("common"),{id:t,initRepairId:p,content:g,image:h,sticker:c,reply:x,writer:m,variant:u,isGroupAccess:b,imageDisabled:k,onModified:f}=e,{onRepair:v}=(0,o.O)({id:t}),y=(0,r.useCallback)(async e=>{await v(e),f?.(e),p()},[p]),C=(0,n.d4)(e=>e.common.user),w=s[u]||(x?s.reply:s.default);return(0,a.Y)(w,{children:(0,a.Y)(d.A,{variant:"reply",submitText:i("label_modify"),onSubmit:y,signed:!0,content:g,image:h,sticker:c,userinfo:C,isWriter:String(C?.id)===String(m?.id),isGroupAccess:b,imageDisabled:k})})},s={entrystory:(0,g.A)("div",{target:"em3vsg0"})("padding:27px;background-color:rgb(250,250,250);border-top:1px solid #e9e9e9;"),reply:(0,g.A)("div",{target:"em3vsg1"})("padding:27px 27px 27px 62px;background-color:",e=>e.theme.Gray22,";",p.C.tablet,"{padding:24px 24px 24px 62px;}",p.C.mobile,"{padding:20px 0;background-color:",e=>e.theme.Gray3,";}"),default:(0,g.A)("div",{target:"em3vsg2"})("padding:27px 0;")}}}]);
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.