1"use strict";(self.webpackChunkts_boilerplate_legacy=self.webpackChunkts_boilerplate_legacy||[]).push([[6248],{16248:function(e,t,n){n.r(t),n(12064),n(44465),n(31863),n(80545),n(43465),n(97152);var o,r,i,l=n(37953),a=n(84136),u=n(67927),d=n(74310),c=n(45699),s=n(83483),p=n(17463),v=n(17572),y=n(46078),f=n(92048),h=n(84173),m=n(92161),g=n(76706),A=n(46148);function w(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var b=a.Ay.div(o||(o=w(["\n width: 100%;\n max-width: 720px;\n margin: 0 auto;\n display: grid;\n padding: 16px 0;\n gap: 24px;\n\n @media (max-width: 768px) {\n max-width: 100%;\n }\n"]))),T=a.Ay.div(r||(r=w(["\n width: 100%;\n"]))),E=a.Ay.div(i||(i=w(["\n border-radius: var(--cardBorderRadius);\n border: 1px solid var(--lineColor);\n background-color: var(--cardBackgroundColor);\n backdrop-filter: blur(4px);\n box-shadow: ",";\n"])),f.A.shadow.card);t.default=function(e){!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e);var t=(0,c.pv)(1),n=(0,c.pv)(2),o=(t.includes("Comment"),(0,v.A)({collectionPath:t})),r=o.docWidth,i=(o.docLayout,o.authorDisplayType),a=o.authorAvatarType,f=(0,s.useDocument)("".concat(t,"/").concat(n),{listen:!0}).data,w=(0,h.TO)({accessType:(null==f?void 0:f.accessType)||m.KC.PUBLIC,authorUid:(null==f?void 0:f.authorUid)||""});return f?null!=f&&f.exists?w?l.createElement(d.A,null,l.createElement(u.Ay,{style:{maxWidth:r,padding:0,height:"fit-content"}},l.createElement(b,null,l.createElement(T,null,l.createElement(p.A,{handleClick:function(){return history.back()},style:{backgroundColor:"var(--cardBackgroundColor)",color:"var(--textColor)"},IconColor:"var(--textColor)"})),l.createElement(E,null,l.createElement(y.A,{boardData:f,docId:n,collectionPath:t,isRelateBoard:!1,authorDisplayType:i,authorAvatarType:a}))))):l.createElement(A.A,{accessType:f.accessType}):l.createElement(g.A,null):null}},17572:function(e,t,n){n.d(t,{A:function(){return p}}),n(3940),n(32145),n(74277),n(61445),n(57045),n(65114),n(32242),n(60039),n(12064),n(75868),n(42652);var o=n(83483),r=n(79661),i=(0,r.Iz)({key:"pageSetAtomFamily",default:null,effects_UNSTABLE:function(e){return[(t="pageSetting_".concat(e),function(e){var n=e.setSelf,o=e.onSet;if("undefined"!=typeof window){try{var i=localStorage.getItem(t);i&&n(JSON.parse(i))}catch(e){}o(function(e){try{e instanceof r.nO||null===e?localStorage.removeItem(t):localStorage.setItem(t,JSON.stringify(e))}catch(e){}})}})];var t}}),l=n(11950),a=n(41364),u=n(40170),d=n(37953),c=n(75552);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var p=function(e){var t,n,p,v,y,f,h,m,g,A,w,b,T=e.collectionPath,E=(w=(0,r.L4)(i(T)),b=2,function(e){if(Array.isArray(e))return e}(w)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i=[],l=!0,a=!1;try{for(n=n.call(e);!(l=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==n.return||n.return()}finally{if(a)throw r}}return i}}(w,b)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(w,b)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),I=E[0],x=E[1],C=(0,o.useDocument)("pageSetting/".concat(T),{listen:!0}).data;(0,d.useEffect)(function(){C&&x(C)},[C,x]);var S,R=null!==(t=null!=I?I:C)&&void 0!==t?t:null;return{isLoading:null===R,docLayout:(null==R?void 0:R.docLayout)||a.Ik.ONELINE,docWidth:(0,c.R$)((null==R?void 0:R.docWidth)||"980px","980px"),contentWidth:(0,c.R$)((null==R?void 0:R.contentWidth)||"auto","auto"),isCommentCollapse:null!==(n=null==R?void 0:R.isCommentCollapse)&&void 0!==n&&n,isHideInfoView:null!==(p=null==R?void 0:R.isHideInfoView)&&void 0!==p&&p,isExtendsModal:null!==(v=null==R?void 0:R.isExtendsModal)&&void 0!==v&&v,isSeriesView:null!==(y=null==R?void 0:R.isShowSeries
1)&&void 0!==y&&y,docLimit:(null==R?void 0:R.docLimit)||1,docLine:(null==R?void 0:R.docLine)||1,writeAuthType:(null==R?void 0:R.writeAuthType)||l.Yj.MASTER,controlAuthType:(null==R?void 0:R.controlAuthType)||l.Yj.MASTER,commentAuthType:(null==R?void 0:R.commentAuthType)||l.Yj.MEMBER,allCount:(null==R||null===(f=R["".concat(T,"IdList")])||void 0===f?void 0:f.length)||0,orderBy:(null==R?void 0:R.orderBy)||"createdAt",orderDir:(null==R?void 0:R.orderDir)||"desc",themeSet:(null==R?void 0:R.themeSet)||null,hashtagType:(null==R?void 0:R.hashtagType)||u.yT.HORIZONTAL,contentHeight:(null==R?void 0:R.contentHeight)||"300px",arrowShapeImg:(null==R?void 0:R.arrowShapeImg)||"",cardShape:(null==R?void 0:R.cardShape)||"default",isRealtimeEnabled:null===(h=null==R?void 0:R.isRealtimeEnabled)||void 0===h||h,authorDisplayType:(null==R?void 0:R.authorDisplayType)||"user",authorAvatarType:(null==R?void 0:R.authorAvatarType)||"account",imgClickAction:(S=null==R?void 0:R.imgClickAction,S||(null!=R&&R.isOpenInNewTab?"openInNewTab":"open")),isTimelineImgFill:null!==(m=null==R?void 0:R.isTimelineImgFill)&&void 0!==m&&m,userCountdownCode:(null==R?void 0:R.userCountdownCode)||"",showUserTitle:null!==(g=null==R?void 0:R.showUserTitle)&&void 0!==g&&g,isFluidLayout:null!==(A=null==R?void 0:R.isFluidLayout)&&void 0!==A&&A,fluidLayoutMaxImageSize:(null==R?void 0:R.fluidLayoutMaxImageSize)||600,twoLineRatio:(null==R?void 0:R.twoLineRatio)||"1fr 1fr"}}},46078:function(e,t,n){n(12064),n(44465),n(31863),n(3940),n(32145),n(74277),n(61445),n(57045),n(65114),n(32242),n(60039),n(75868),n(42652);var o,r,i,l,a=n(37953),u=n(84136),d=n(79661),c=n(19665),s=n(17763),p=n(83483),v=n(45253),y=n(78695),f=n(88994),h=n(24862);function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function g(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var A=u.Ay.div(o||(o=g(["\n display: grid;\n grid-template-rows: auto 1fr auto;\n height: 100%;\n\n position: relative;\n"]))),w=u.Ay.div(r||(r=g(["\n padding: 16px;\n ",";\n /* ë¸ë¼ì°ì ìë ìµì»¤ ì´ë ë°©ì§: ë°ì´í° ë¡ë/ì´ë¯¸ì§ ë¡ë© ì ì í ìµì */\n overflow-anchor: none;\n"])),h.kM),b=u.Ay.div(i||(i=g(["\n width: 100%;\n padding: 16px;\n border-bottom: 1px solid var(--lineColor);\n"]))),T=u.Ay.div(l||(l=g(["\n width: 100%;\n padding: 16px;\n border-top: 1px solid var(--lineColor);\n"])));t.A=function(e){var t,n,o=e.boardData,r=e.docId,i=e.collectionPath,l=(e.showCommentIcon,e.isReplyDetail,e.showReply,e.isRelateBoard,e.authorDisplayType),u=void 0===l?"user":l,h=e.authorAvatarType,g=void 0===h?"account":h,E=e.hideImg,I=void 0!==E&&E,x=(0,a.useRef)(null),C=(t=(0,d.L4)(c.ln),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i=[],l=!0,a=!1;try{for(n=n.call(e);!(l=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==n.return||n.return()}finally{if(a)throw r}}return i}}(t,n)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),S=C[0];if(C[1],(0,p.useCollection)("".concat(i,"Comment"),{listen:!0,where:["boardId","==",r],orderBy:["createdAt","asc"]}).data,!o)return null;var R=o.authorUid,O=o.id,L=o.isItemCraft,j=o.itemCraftMaterials,k=o.luckyDrawResult,D=o.botResults,U=o.isInvestigation,M=o.investigationAreaId,P=o.investigationAreaName,z=o.investigationResult,B=o.giftResult;return(0,a.useLayoutEffect)(function(){var e;window.scrollTo(0,0),null===(e=x.current)||void 0===e||e.scrollTo({top:0,left:0,behavior:"auto"})},[r]),a.createElement(A,null,a.createElement(b,null,a.createElement(v.A,{data:o,collectionPath:i,shape:"transparent",showImg:!I,isItemCraft:L,itemCraftMaterials:j,authorUid:R,postId:O||r,luckyDrawResult:k,botResults:D,isInvestigation:U,investigationAreaId:M,investigationAreaName:P,investigationResult:z,giftResult:B,authorDisplayType:u,authorAvatarType:g})),a.createElement(w,{ref:x},a.createElement(f.A,{collectionPath:"".concat(i),boardId:r,boardAuthorUid:o.authorUid||"",wrapStyle:"transparent",showReply:!0,authorDisplayType:u})),a.createElement(T,null,a.createElement(y.Ay,{boardId:r,boardAuthorUid:o.authorUid||"",placeholder:"ëê¸ ì
ë ¥",setToolbar:y.Wr,type:"input",collectionPath:i,id:"posting-comment-".concat(r)})),S&&a.createElement(s.A,null))}},74310:function(e,t,n){n(12064),n(44465),n(31863);var o,r,i,l=n(37953),a=n(90113),u=n(79661),d=n(36831),c=n(84136),s={initial:{opacity:0}
1,in:{opacity:1},out:{opacity:0}},p={type:"spring",damping:20,stiffness:300},v=(0,c.Ay)(a.P.div)(o||(r=["\n width: 100%;\n min-height: fit-content;\n position: relative;\n"],i||(i=r.slice(0)),o=Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(i)}}))));t.A=function(e){var t=e.children,n=e.style,o=e.variants,r=void 0===o?s:o,i=(0,u.vc)(d.LK);return l.createElement(v,{initial:"initial",animate:"in",exit:"out",variants:null!=i&&i.pageEffect?r:{},transition:p,style:n},t)}},76706:function(e,t,n){n(12064),n(44465),n(31863);var o,r,i=n(37953),l=n(84136),a=n(8299),u=n(27386);function d(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var c=l.Ay.div(o||(o=d(["\n width: 100vw;\n height: 100dvh;\n display: flex;\n justify-content: center;\n padding-top: 120px;\n\n @media (max-width: 480px) {\n padding-top: 0px;\n }\n"]))),s=l.Ay.div(r||(r=d(["\n width: 100%;\n max-width: 360px;\n padding: 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 24px;\n"])));t.A=function(){return i.createElement(c,null,i.createElement(s,null,i.createElement("h6",null,i.createElement("strong",null,"ì¡´ì¬íì§ ìë ê²ìê¸ì ëë¤.")),i.createElement(u.N_,{to:"/"},i.createElement(a.A,null,"íì¼ë¡ ê°ê¸°"))))}}}]); 2//# sourceMappingURL=6248.7d7872e4.chunk.js.map
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.