PageSourceSearch

https://class.cmdspace.kr/static/js/11.36053a1f.chunk.js

js cmdspace.kr collected 2026-10-04 20:57:41 UTC 219,538 bytes, 1 lines download raw bytes

1(this["webpackJsonppubl-uw"]=this["webpackJsonppubl-uw"]||[]).push([[11],{2754:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i(4);function o(e){var t=Object(n.useRef)();return Object(n.useEffect)((function(){t.current=e}),[e]),t.current}},2755:function(e,t,i){"use strict";i.d(t,"a",(function(){return j}));var n=i(7),o=i(14),c=i(2),s=i(4),a=i(29),r=i(182),l=i(9),u=i(19),d=i(5),p=i(593),b=i(0);var j=function(){var e,t,i=Object(r.a)().t,d=Object(l.d)(Object(u.o)()),j=Object(s.useState)(!1),m=Object(o.a)(j,2),g=m[0],_=m[1],x=Object(a.useForm)({mode:"onChange",defaultValues:{reportReason:i("str_report_reason_opt_a")}}),O=x.setValue,f=x.watch,C=x.reset,T=f("pAppCode"),D=f("targetContentDetail"),S=f("reportReason"),v=f("reportReasonEtc"),y=Object(p.a)(T),A="mailto:".concat(null===d||void 0===d?void 0:d.email,"?body=").concat(i("str_report_reason"),": ").concat(v||S," %0D%0A ").concat(i("str_report_location"),": ").concat(y," %0D%0A ").concat(i("str_report_target_content_detail"),": ").concat(D," %0D%0A ").concat(i("str_report_additional_detail"),": "),E={reasonA:i("str_report_reason_opt_a"),reasonB:i("str_report_reason_opt_b"),reasonC:i("str_report_reason_opt_c"),reasonD:i("str_report_reason_opt_d"),reasonEtc:i("str_report_reason_opt_etc")},I=function(e){O("reportReason",e.target.value),O("reportReasonEtc","")};return{ReportContent:Object(b.jsx)(b.Fragment,{children:g&&Object(b.jsxs)(c.D_DesktopBasicModal,{titleText:i("str_report_content_title_text"),contentText:i("str_3833"),size:"medium",mBtn1Text:i("str_do_report"),mBtn2Text:i("str_close"),onClickMBtn1:function(){_(!1),window.open(A),C()},onClickMBtn2:function(){_(!1),C()},children:[Object(b.jsx)(c.Spacing,{size:"spacing_e"}),Object(b.jsx)(c.D_TextLabel,{text:i("str_report_target_content_detail"),styleTheme:"subTitleBold"}),Object(b.jsx)(c.D_TextLabel,{text:(e=D,t=20,e.length<=t?e:"".concat(e.slice(0,20),"...")),styleTheme:"body2Regular",ellipsisMode:"use"}),Object(b.jsx)(c.Spacing,{size:"spacing_f"}),Object(b.jsx)(c.D_TextLabel,{text:i("str_report_reason"),styleTheme:"subTitleBold"}),Object(b.jsx)(a.FormProvider,Object(n.a)(Object(n.a)({},x),{},{children:Object(b.jsxs)(c.Form,{children:[Object(b.jsx)(c.Spacing,{size:"spacing_d"}),Object(b.jsx)(c.D_Radio,{name:"reportReason",text:E.reasonA,checked:S===E.reasonA,onChange:function(e){return I(e)},value:E.reasonA}),Object(b.jsx)(c.Spacing,{size:"spacing_c"}),Object(b.jsx)(c.D_Radio,{name:"reportReason",text:E.reasonB,checked:S===E.reasonB,onChange:function(e){return I(e)},value:E.reasonB}),Object(b.jsx)(c.Spacing,{size:"spacing_c"}),Object(b.jsx)(c.D_Radio,{name:"reportReason",text:E.reasonC,checked:S===E.reasonC,onChange:function(e){return I(e)},value:E.reasonC}),Object(b.jsx)(c.Spacing,{size:"spacing_c"}),Object(b.jsx)(c.D_Radio,{name:"reportReason",text:E.reasonD,checked:S===E.reasonD,onChange:function(e){return I(e)},value:E.reasonD}),Object(b.jsx)(c.Spacing,{size:"spacing_c"}),Object(b.jsx)(c.D_Radio,{name:"reportReason",text:E.reasonEtc,checked:S===E.reasonEtc,onChange:function(e){return I(e)},value:E.reasonEtc}),Object(b.jsx)(c.Spacing,{size:"spacing_b"}),Object(b.jsxs)(h,{children:[Object(b.jsx)(c.Spacing,{size:"spacing_e",spacingType:"width"}),Object(b.jsx)(c.D_TextField,{name:"reportReasonEtc",size:"rlarge",hintText:i("str_3834"),defaultText:v,textLineType:"multi",multiRows:4,state:S===E.reasonEtc?"normal":"disabled",onChange:function(e){return function(e){O("reportReasonEtc",e.target.value)}(e)}})]})]})}))]})}),openReportContentModal:function(e,t){O("targetContentDetail",e),O("pAppCode",t),_(!0)},closeReportContentModal:function(){_(!1),C()}}},h=d.default.div.withConfig({displayName:"S_TextFiledWrapper",componentId:"sc-1b5b0x6-0"})(["display:flex;"])},2756:function(e,t,i){"use strict";var n=i(14),o=i(4),c=i(182),s=i(9),a=i(235),r=i(236),l=i(2754),u=i(2757);t.a=function(e){var t=e.isLoading,i=e.comments,d=e.totalCommentsCount,p=e.deps,b=void 0===p?[]:p,j=e.fetchCommentsByPage,h=e.handleDeleteComment,m=e.handleCreateComment,g=e.handleCreateCommentWithImage,_=Object(s.c)(),x=Object(c.a)("translation").t,O=Object(o.useState)(1),f=Object(n.a)(O,2),C=f[0],T=f[1],D=Object(o.useState)(!1),S=Object(n.a)(D,2),v=S[0],y=S[1],A=Object(o.useState)(null),E=Object(n.a)(A,2),I=E[0],P=E[1],w=Object(o.useState)(null),B=Object(n.a)(w,2),L=B[0],k=B[1],F=Object(o.useState)(""),R=Object(n.a)(F,2),N=R[0],M=R[1],U=Object(l.a)(null===i||void 0===i?void 0:i.length),z=Object(l.a)(d),W=Object(o.useRef)();Object(o.useEffect)((function(){return j(1),function(){T(1)}}),b);var H=Object(o.useCallback)((function(e){t||(W.current&&W.current.disconnect(),W.current=ne
1w IntersectionObserver((function(e){i&&(null===i||void 0===i?void 0:i.length)>=d||(U===(null===i||void 0===i?void 0:i.length)&&z===d||e[0].isIntersecting&&(j(C+1),T((function(e){return e+1}))))})),e&&W.current.observe(e))}),[t,i]),G=Object(u.a)(),X=G.CommentAlertDialog,Y=G.setCommentAlertDialogMessage,V=G.setIsCommentAlertDialogOpen;function K(e){var t=e.slice(-5);return"***".concat(t)}return{isDeleteCommentModalOpen:v,lastCommentRef:H,handleClickSubmitComment:function(e){m(e)},handleClickSubmitCommentWithImage:function(e){var t=e.content,i=e.selectedImage;g&&g({content:t,selectedImage:i})},openDeleteCommentModal:function(e){P(e),y(!0)},handleCloseDeleteCommentModal:function(){P(null),y(!1)},handleClickDeleteComment:function(){null!==I&&h(I),y(!1)},initPage:function(){T(1)},CommentAlertDialog:X,openCommentAlertDialog:function(e,t,i,n){var o,c="";switch(t){case"DELETE":c=x("str_delete_alert_dialog");break;case"HIDE_COMMENT":c=x("str_6500");break;case"UNHIDE_COMMENT":c=x("str_6501");break;case"BLOCK_USER":c=x("str_6505");break;case"UNBLOCK_USER":c=x("str_6507",{code:K(n),nick:(o=i||"",o.charAt(0)+"*".repeat(o.length-1))})}P(e),k(t),M(n),Y(c),V(!0)},handleClickConfirmCommentAlertDialog:function(){if(null!==I)switch(L){case"DELETE":h(I);break;case"HIDE_COMMENT":_(Object(r.c)({type:"COMMENT",id:I}));break;case"UNHIDE_COMMENT":_(Object(r.d)({type:"COMMENT",id:I}));break;case"BLOCK_USER":_(Object(a.a)({distinctId:N}));break;case"UNBLOCK_USER":_(Object(a.d)({distinctId:N}))}P(null),V(!1)},handleClickCancelCommentAlertDialog:function(){P(null),V(!1)}}}},2757:function(e,t,i){"use strict";var n=i(14),o=i(2),c=i(4),s=i(182),a=i(0);t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=Object(c.useState)(e),r=Object(n.a)(i,2),l=r[0],u=r[1],d=Object(c.useState)(t),p=Object(n.a)(d,2),b=p[0],j=p[1],h=Object(s.a)("translation"),m=h.t;function g(e){var t=e.onClickConfirm,i=e.onClickCancel;return Object(a.jsx)(a.Fragment,{children:l&&Object(a.jsx)(o.D_DesktopAlertDialog,{contentText:b,btnMode:"tbtn_amount2",tBtn1Text:m("str_ok"),tBtn2Text:m("str_cancel"),onClickTBtn1:null!==t&&void 0!==t?t:function(){return u(!1)},onClickTBtn2:null!==i&&void 0!==i?i:function(){return u(!1)}})})}return{CommentAlertDialog:g,setCommentAlertDialogMessage:j,setIsCommentAlertDialogOpen:u}}},2758:function(e,t,i){"use strict";var n=i(2756);i.d(t,"a",(function(){return n.a}))},2762:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"f",(function(){return o})),i.d(t,"b",(function(){return c})),i.d(t,"c",(function(){return s})),i.d(t,"d",(function(){return a})),i.d(t,"e",(function(){return r}));var n={LIST_A:10,LIST_B:5,LIST_C:10,CARD_GRID:9,FOCUS_IMAGE:5},o={HOME:"HOME",POSTS:"POSTS",SERIES:"SERIES",CATEGORIES:"CATEGORIES"},c={USE_RESOURCE_B00001_UW_TOP_1_UNIQUE_COVER_IMAGE_HERO_001:"USE_RESOURCE_B00001_UW_TOP_1_UNIQUE_COVER_IMAGE_HERO_001",UX_CPS_APPEARANCE_SERIES_TEMPLATE_NAME:"UX_CPS_APPEARANCE_SERIES_TEMPLATE_NAME",UX_CPS_APPEARANCE_POSTS_TEMPLATE_NAME:"UX_CPS_APPEARANCE_POSTS_TEMPLATE_NAME",UX_CPS_USE_POST_PROTECTION:"UX_CPS_USE_POST_PROTECTION",UX_CPS_USE_COMMENT:"UX_CPS_USE_COMMENT",UX_CPS_USE_TAB_ORDERS:"UX_CPS_USE_TAB_ORDERS",UX_CPS_SHOW_HOME_TAB:"UX_CPS_SHOW_HOME_TAB",UX_CPS_HIDE_SERIES_TAB:"UX_CPS_HIDE_SERIES_TAB",UX_CPS_HIDE_POSTS_TAB:"UX_CPS_HIDE_POSTS_TAB",UX_CPS_HIDE_CATEGORIES_TAB:"UX_CPS_HIDE_CATEGORIES_TAB",UX_CPS_OVERRIDE_HOME_NAME_WITH_I18N_SUPPORT:"UX_CPS_OVERRIDE_HOME_NAME_WITH_I18N_SUPPORT",UX_CPS_OVERRIDE_SERIES_NAME_WITH_I18N_SUPPORT:"UX_CPS_OVERRIDE_SERIES_NAME_WITH_I18N_SUPPORT",UX_CPS_OVERRIDE_POSTS_NAME_WITH_I18N_SUPPORT:"UX_CPS_OVERRIDE_POSTS_NAME_WITH_I18N_SUPPORT",UX_CPS_APPEARANCE_SERIES_USE_PUBLISHDATE:"UX_CPS_APPEARANCE_SERIES_USE_PUBLISHDATE",UX_CPS_APPEARANCE_SERIES_USE_PUBLISHER:"UX_CPS_APPEARANCE_SERIES_USE_PUBLISHER",UX_CPS_APPEARANCE_POSTS_USE_PUBLISHDATE:"UX_CPS_APPEARANCE_POSTS_USE_PUBLISHDATE",UX_CPS_APPEARANCE_POSTS_USE_PUBLISHER:"UX_CPS_APPEARANCE_POSTS_USE_PUBLISHER",UX_CPS_B00001_APPEARANCE_POST_LIST_DESIGN_TYPE_IN_BOARD_CATEGORY:"UX_CPS_B00001_APPEARANCE_POST_LIST_DESIGN_TYPE_IN_BOARD_CATEGORY",UX_CPS_APPEARANCE_BOARD_CATEGORY_POSTS_USE_PUBLISHDATE:"UX_CPS_APPEARANCE_BOARD_CATEGORY_POSTS_USE_PUBLISHDATE",UX_CPS_APPEARANCE_BOARD_CATEGORY_POSTS_USE_PUBLISHER:"UX_CPS_APPEARANCE_BOARD_CATEGORY_POSTS_USE_PUBLISHER",UX_CPS_APPEARANCE_BOARD_CATEGORY_POSTS_USE_BODY_TEXT:"UX_CPS_APPEARANCE_BOARD_CATEGORY_POSTS_USE_BODY_TEXT",UX_CPS_APPEARANCE_POST_DETAIL_TITLE_SIZE_OPTION:"UX_CPS_APPEARANCE_POST_DETAIL_TITLE_SIZE_OPTION",UX_CPS_APPEARANCE_POST_DETAIL_HEADER_ITEMS_ALIGNMENT:"UX_CPS_APPEARANCE_POST_DETAIL_HEADER_ITEMS_ALIGNMENT",UX_CPS_POST_DETAIL_BYLINE_PREFIX_WITH_I18N_SUPPORT:"UX_CPS_POST_DETAIL_BYLINE_PREFIX_WITH_I18N_SUPPORT",UX_CPS_POST_DETAIL_BYLINE_SUFFIX_WITH_I18N_SUPPORT:"UX_CPS_POST_DETAIL_BYLINE_SUFFIX_WITH_I18N_SUPPORT",UX_CPS_POST_DETAIL_ACTIVATE_CREDIT_INFO:"UX_CPS_POST_DETAIL_ACTIVATE_CREDIT_INFO",UX_CPS_APPEARANCE_POST_DETAIL_CONTENT_IMAGE_ORIGIN_WIDTH:"UX_CPS_APPEARANCE_POST_DETAIL_CONTENT_IMAGE_ORIGIN_WIDTH",UX_CPS_APPEARANCE_POST_DETAIL_USE_RIGHT_WIDGET:"UX_CPS_APPEARANCE_POST_DETAIL_USE_RIGHT_WIDGET",UX_CPS_APPEARANCE_POST_DETAIL_USE_BOTTOM_WIDGET:"UX_CPS_APPEARANCE_POST_DETAIL_USE_BOTTOM_WIDGET",UX_CPS_APPEARANCE_POST_DETAIL_WIDGET_HEADER_APPEARANCE_OPT:"UX_CPS_APPEARANCE_POST_DETAIL_WIDGET_HEADER_APPEARANCE_OPT",UX_CPS_APPEARANCE_POST_DETAIL_WIDGET_APPEARANCE_OPT:"UX_CPS_APPEARANCE_POST_DETAIL_WIDGET_APPEARANCE_OPT",UX_CPS_APPEARANCE_POST_DETAIL_WIDGET_PAGINATION_BUTTON_APPEARANCE_OPT:"UX_CPS_APPEARANCE_POST_DETAIL_WIDGET_PAGINATION_BUTTON_APPEARANCE_OPT",UX_CPS_APPEARANCE_POST_DETAIL_RIGHT_WIDGET_POST_COUNT:"UX_CPS_APPEARANCE_POST_DETAIL_RIGHT_WIDGET_POST_COUNT",UX_CPS_APPEARANCE_POST_DETAIL_BOTTOM_WIDGET_POST_COUNT:"UX_CPS_APPEARANCE_POST_DETAIL_BOTTOM_WIDGET_POST_COUNT",UX_CPS_APPEARANCE_POST_DETAIL_RIGHT_WIDGET_SORT_BY:"UX_CPS_APPEARANCE_POST_DETAIL_RIGHT_WIDGET_SORT_BY",UX_CPS_APPEARANCE_POST_DETAIL_BOTTOM_WIDGET_SORT_BY:"UX_CPS_APPEARANCE_POST_DETAIL_BOTTOM_WIDGET_SORT_BY",UX_CPS_POST_DETAIL_RIGHT_WIDGET_NAME_WITH_I18N_SUPPORT:"UX_CPS_POST_DETAIL_RIGHT_WIDGET_NAME_WITH_I18N_SUPPORT",UX_CPS_POST_DETAIL_BOTTOM_WIDGET_NAME_WITH_I18N_SUPPORT:"UX_CPS_POST_DETAIL_BOTTOM_WIDGET_NAME_WITH_I18N_SUPPORT",UX_CPS_POST_DETAIL_BOTTOM_WIDGET_USE_STICKY_MODE:"UX_CPS_POST_DETAIL_BOTTOM_WIDGET_USE_STICKY_MODE",UX_CPS_POST_DETAIL_SHARE_BUTTONS_CONFIG:"UX_CPS_POST_DETAIL_SHARE_BUTTONS_CONFIG"},s={HOME:"HOME",CONTENTSLIST_DETAIL:"CONTENTSLIST_DETAIL",SERIESES:"SERIESES",POSTS:"POSTS"},a={COPY_LINK:{iconName:"ic_links"},X:{iconName:"ic_social_x"},LINE:{iconName:"ic_social_line"},FACEBOOK:{iconName:"ic_social_meta"}},r={COPY_LINK:"str_share_post_copy_link",X:"str_sns_platform_x",LINE:"str_sns_platform_line",FACEBOOK:"str_sns_platform_facebook"}},2769:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}
1));var n=i(5),o=Object(n.css)(["-khtml-user-drag:none;-khtml-user-select:none;-moz-user-drag:none;-moz-user-select:-moz-none;-o-user-drag:none;-o-user-select:none;-webkit-touch-callout:none;-webkit-user-drag:none;-webkit-user-select:none;user-select:none;img{-khtml-user-drag:none;-khtml-user-select:none;-moz-user-drag:none;-moz-user-select:-moz-none;-o-user-drag:none;-o-user-select:none;-webkit-touch-callout:none;-webkit-user-drag:none;-webkit-user-select:none;user-select:none;}"])},2774:function(e,t,i){"use strict";var n=i(14);t.a=function(e,t){return"string"===typeof t?e+t:e+Object.entries(t).reduce((function(e,t){var i=Object(n.a)(t,2),o=i[0],c=i[1];return null===c?e:""===e?"?".concat(o,"=").concat(c):"".concat(e,"&").concat(o,"=").concat(c)}),"")}},2827:function(e,t,i){"use strict";i.r(t),i.d(t,"default",(function(){return ga}));var n,o,c,s=i(2),a=i(4),r=i(9),l=i(16),u=i(47),d=i(286),p=i(41),b=Object(p.a)((function(e){return e.B00001.boardCategories.categories}),(function(e){return e.B00001.boardCategories.categoryPagination}),(function(e,t){return{categories:e,pagination:t}})),j=function(e){return e.B00001.boardCategories.subCategories},h=i(19),m=i(147),g=i(36);!function(e){e.INSERTED_AT="inserted_at"}(n||(n={})),function(e){e.ASC="ASC",e.DESC="DESC"}(o||(o={})),function(e){e.ASC="ASC",e.DESC="DESC"}(c||(c={}));var _=i(37),x=i(10),O=i(257),f=i(13),C="".concat(f.f,"/home"),T="".concat(f.f,"/posts"),D="".concat(f.f,"/posts/:postId"),S="".concat(f.f,"/series"),v="".concat(f.f,"/series/:seriesId"),y="".concat(f.f,"/series/:seriesId/posts/:postId"),A="".concat(f.f,"/contentslist/:sectionId"),E="".concat(f.f,"/categories"),I="".concat(f.f,"/categories/:categoryId/posts"),P="".concat(f.f,"/categories/:categoryId/subCategories/:subCategoryId/posts"),w="".concat(f.f,"/labelResult/:labelId"),B=i(403),L=i(20),k=i(21),F=i(126),R=i(152),N=i(77),M=i(5),U=i(0),z=function(e){Object(F.a)(i,e);var t=Object(R.a)(i);function i(e){var n;return Object(L.a)(this,i),(n=t.call(this,e)).state={hasError:!1},n}return Object(k.a)(i,[{key:"componentDidCatch",value:function(e,t){console.error("Uncaught error:",e,t)}},{key:"reset",value:function(){this.setState({hasError:!1})}},{key:"render",value:function(){return this.state.hasError?Object(U.jsx)(s.WTContainersBox,{layoutType:"WTM_2",content1:Object(U.jsx)(W,{children:Object(U.jsx)(s.D_TextLabel,{text:N.a.t("str_err_gen_500","Error : \uc54c \uc218 \uc5c6\ub294 \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud558\uc600\uc2b5\ub2c8\ub2e4. \uad00\ub9ac\uc790\uc5d0\uac8c \ubb38\uc758\ud558\uc138\uc694 (500)"),colorTheme:"sysTextSecondary"})})}):this.props.children}}],[{key:"getDerivedStateFromError",value:function(){return{hasError:!0}}}]),i}(a.Component),W=M.default.div.withConfig({displayName:"ErrorWrapper",componentId:"sc-1dgbl0i-0"})(["align-items:center;display:flex;flex-direction:row;height:100%;justify-content:center;width:100vw;"]),H=z,G=i(7),X=i(17),Y=i(182),V=i(98);function K(){var e,t,i,n,o,c,s,a,l,u,d,p,b,j,h,g,_,x,O,f,C,T,D,S,v,y=Object(Y.a)("translation").t,A=Object(r.d)(m.c),E=null===A||void 0===A?void 0:A.config,I=null===A||void 0===A?void 0:A.installedPAppResources,P=null===I||void 0===I?void 0:I.find((function(e){return"B00001_GENERAL_HERO"===e.uniqueKey})),w=function(e){var t;navigator.clipboard.writeText("".concat(window.location.href.split("/").slice(0,-1).join("/"),"/").concat((null===e||void 0===e||null===(t=e.postMeta)||void 0===t?void 0:t.slug)||e.id)),Object(V.c)({contentText:y("str_10593"),btnMode:"tbtn_amount1",tBtn1Text:y("str_ok")})},B=function(e){var t="".concat(e.title,"\n"),i=e.labels.map((function(e){var t=e.name.replace(/(?:(?!
vendor: 8,654 bytes, line 1
1[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])
1[\s\S])+/g,"_").replace(/_$/,"");return"#".concat(t)})).join(" "),n="".concat(window.location.href.split("/").slice(0,-1).join("/"),"/").concat(e.id),o="https://x.com/intent/post?text=".concat(encodeURIComponent("".concat(t,"\n").concat(i,"\n")),"&url=").concat(encodeURI(n));window.open(o,"_blank")},L=function(e){var t,i="".concat(e.title),n=e.labels.map((function(e){return"#".concat(e.name)})).join(" "),o="".concat(window.location.href.split("/").slice(0,-1).join("/"),"/").concat((null===e||void 0===e||null===(t=e.postMeta)||void 0===t?void 0:t.slug)||e.id),c="https://line.me/R/msg/text/?".concat(encodeURIComponent("".concat(i,"\n").concat(n,"\n").concat(o)));window.open(c,"_blank")},k=function(e){var t,i="".concat(window.location.href.split("/").slice(0,-1).join("/"),"/").concat((null===e||void 0===e||null===(t=e.postMeta)||void 0===t?void 0:t.slug)||e.id),n="https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent(i));window.open(n,"_blank")},F=[{key:"COPY_LINK",onClick:w},{key:"X",onClick:B},{key:"LINE",onClick:L},{key:"FACEBOOK",onClick:k}];return Object(G.a)({seriesesTemplateName:(null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_SERIES_TEMPLATE_NAME)||"FOCUS_IMAGE",postsTemplateName:(null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_POSTS_TEMPLATE_NAME)||"CARD_GRID",isPostProtection:null!==(e=null===E||void 0===E?void 0:E.UX_CPS_USE_POST_PROTECTION)&&void 0!==e&&e,resources:{hero:{use:null!==(t=null===E||void 0===E?void 0:E.USE_RESOURCE_B00001_UW_TOP_1_UNIQUE_COVER_IMAGE_HERO_001)&&void 0!==t&&t,resourceSrc:(null===P||void 0===P?void 0:P.resourceSrc)||"",title:(null===P||void 0===P?void 0:P.title)||"",description:(null===P||void 0===P?void 0:P.description)||""}},postsTabName:(null===E||void 0===E?void 0:E.UX_CPS_OVERRIDE_POSTS_NAME_WITH_I18N_SUPPORT)||y("str_posts"),seriesTabName:(null===E||void 0===E?void 0:E.UX_CPS_OVERRIDE_SERIES_NAME_WITH_I18N_SUPPORT)||y("str_pam_cps_series"),isPostAuthorShow:Boolean(null===(i=null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_POSTS_USE_PUBLISHER)||void 0===i||i),isPostPublishedAtShow:Boolean(null===(n=null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_POSTS_USE_PUBLISHDATE)||void 0===n||n),isSeriesAuthorShow:Boolean(null===(o=null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_SERIES_USE_PUBLISHER)||void 0===o||o),isSeriesPublishedAtShow:Boolean(null===(c=null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_SERIES_USE_PUBLISHDATE)||void 0===c||c),categories:{templateName:null!==(s=null===E||void 0===E?void 0:E.UX_CPS_B00001_APPEARANCE_POST_LIST_DESIGN_TYPE_IN_BOARD_CATEGORY)&&void 0!==s?s:"LIST_B",isAuthorShow:null===(a=null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_BOARD_CATEGORY_POSTS_USE_PUBLISHER)||void 0===a||a,isPublishedAtShow:null===(l=null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_BOARD_CATEGORY_POSTS_USE_PUBLISHDATE)||void 0===l||l,isBodyShow:null!==(u=null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_BOARD_CATEGORY_POSTS_USE_BODY_TEXT)&&void 0!==u&&u},postDetail:{titleSize:null!==(d=null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_POST_DETAIL_TITLE_SIZE_OPTION)&&void 0!==d?d:"MEDIUM",headerItemsAlignment:null!==(p=null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_POST_DETAIL_HEADER_ITEMS_ALIGNMENT)&&void 0!==p?p:"LEFT",publisherPrefix:null!==(b=null===E||void 0===E?void 0:E.UX_CPS_POST_DETAIL_BYLINE_PREFIX_WITH_I18N_SUPPORT)&&void 0!==b?b:"",publisherSuffix:null!==(j=null===E||void 0===E?void 0:E.UX_CPS_POST_DETAIL_BYLINE_SUFFIX_WITH_I18N_SUPPORT)&&void 0!==j?j:"",isShowCreditInfo:null===(h=null===E||void 0===E?void 0:E.UX_CPS_POST_DETAIL_ACTIVATE_CREDIT_INFO)||void 0===h||h,useRightWidget:!(null===E||void 0===E||!E.UX_CPS_APPEARANCE_POST_DETAIL_USE_RIGHT_WIDGET),useBottomWidget:!(null===E||void 0===E||!E.UX_CPS_APPEARANCE_POST_DETAIL_USE_BOTTOM_WIDGET),widgetHeaderAppearance:null!==(g=null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_POST_DETAIL_WIDGET_HEADER_APPEARANCE_OPT)&&void 0!==g?g:"DIVIDER_TOP",widgetPostsAppearance:null!==(_=null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_POST_DETAIL_WIDGET_APPEARANCE_OPT)&&void 0!==_?_:"LIST_A",widgetPaginationButtonAppearance:null!==(x=null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_POST_DETAIL_WIDGET_PAGINATION_BUTTON_APPEARANCE_OPT)&&void 0!==x?x:"ARROW_B",rightWidgetLimit:null!==(O=null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_POST_DETAIL_RIGHT_WIDGET_POST_COUNT)&&void 0!==O?O:5,bottomWidgetLimit:null!==(f=null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_POST_DETAIL_BOTTOM_WIDGET_POST_COUNT)&&void 0!==f?f:3,rightWidgetSortBy:null!==(C=null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_POST_DETAIL_RIGHT_WIDGET_SORT_BY)&&void 0!==C?C:"MOST_VIEWS",bottomWidgetSortBy:null!==(T=null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_POST_DETAIL_BOTTOM_WIDGET_SORT_BY)&&void 0!==T?T:"RECENT",rightWidgetTitle:null!==(D=null===E||void 0===E?void 0:E.UX_CPS_POST_DETAIL_RIGHT_WIDGET_NAME_WITH_I18N_SUPPORT)&&void 0!==D?D:"str_popular",bottomWidgetTitle:null!==(S=null===E||void 0===E?void 0:E.UX_CPS_POST_DETAIL_BOTTOM_WIDGET_NAME_WITH_I18N_SUPPORT)&&void 0!==S?S:"str_recent",rightWidgetUseSticky:!(null===E||void 0===E||!E.UX_CPS_POST_DETAIL_BOTTOM_WIDGET_USE_STICKY_MODE),shareButtons:function(){var e=null===E||void 0===E?void 0:E.UX_CPS_POST_DETAIL_SHARE_BUTTONS_CONFIG;return e?Object(X.a)(e).map((function(e){return"COPY_LINK"===e?{key:"COPY_LINK",onClick:w}:"X"===e?{key:"X",onClick:B}:"LINE"===e?{key:"LINE",onClick:L}:"FACEBOOK"===e?{key:"FACEBOOK",onClick:k}:e})):F}(),contentImageOriginWidth:null!==(v=null===E||void 0===E?void 0:E.UX_CPS_APPEARANCE_POST_DETAIL_CONTENT_IMAGE_ORIGIN_WIDTH)&&void 0!==v&&v}},E)}var q=i(14),Z=i(27),$=i(2762);function J(){var e,t,i,n,o=Object(Y.a)("translation").t,c=Object(l.k)(),s=Object(l.m)(),u=s.channelCode,d=s.pAppCode,p=s.categoryId,j=c.location.pathname,h=Object(r.d)(m.c),g=Object(r.d)(b).categories,_=null===h||void 0===h?void 0:h.config,O=(null===_||void 0===_?void 0:_[$.b.UX_CPS_OVERRIDE_HOME_NAME_WITH_I18N_SUPPORT])||o("str_pg_title_papp_article_main_home"),f=(null===_||void 0===_?void 0:_[$.b.UX_CPS_OVERRIDE_SERIES_NAME_WITH_I18N_SUPPORT])||o("str_papp_article_series"),D=(null===_||void 0===_?void 0:_[$.b.UX_CPS_OVERRIDE_POSTS_NAME_WITH_I18N_SUPPORT])||o("str_papp_article_posts"),v=null!==(e=null===_||void 0===_?void 0:_[$.b.UX_CPS_SHOW_HOME_TAB])&&void 0!==e&&e,y=null===(t=!(null!==_&&void 0!==_&&_[$.b.UX_CPS_HIDE_SERIES_TAB]))||void 0===t||t,A=null===(i=!(null!==_&&void 0!==_&&_[$.b.UX_CPS_HIDE_POSTS_TAB]))||void 0===i||i,E=!(null===(n=null===_||void 0===_?void 0:_[$.b.UX_CPS_HIDE_CATEGORIES_TAB])||void 0===n||n),P=Object(a.useMemo)((function(){return null!==_&&void 0!==_&&_[$.b.UX_CPS_USE_TAB_ORDERS]?null!==_&&void 0!==_&&_[$.b.UX_CPS_USE_TAB_ORDERS].includes($.f.CATEGORIES)?null===_||void 0===_?void 0:_[$.b.UX_CPS_USE_TAB_ORDERS]:[].concat(Object(X.a)(null===_||void 0===_?void 0:_[$.b.UX_CPS_USE_TAB_ORDERS]),[$.f.CATEGORIES]):[$.f.HOME,$.f.SERIES,$.f.POSTS,$.f.CATEGORIES]}),[null===_||void 0===_?void 0:_[$.b.UX_CPS_USE_TAB_ORDERS]]),w=Object(x.l)(C,{channelCode:u,pAppCode:d}),B=Object(x.l)(S,{channelCode:u,pAppCode:d}),L=Object(x.l)(T,{channelCode:u,pAppCode:d}),k=Object(a.useMemo)((function(){var e={HOME:v?{title:O,isActive:w===j,onClick:function(){return c.push(w)}}:null,SERIES:y?{title:f,isActive:B===j,onClick:function(){return c.push(B)}}:null,POSTS:A?{title:D,isActive:L===j,onClick:function(){return c.push(L)}}:null,CATEGORIES:E?g.map((function(e){var t=Object(x.l)(I,{channelCode:u,pAppCode:d,categoryId:e.id});return{title:e.name,isActive:p&&Number(p)===e.id,onClick:function(){return c.push(t)}}})):null};return P.flatMap((function(t){return e[t]}
1)).filter(Boolean)}),[P,u,d,j,g,v,y,A,E,O,f,D]),F=Object(a.useMemo)((function(){return null!==g&&void 0!==g&&g[0]?Object(x.l)(I,{channelCode:u,pAppCode:d,categoryId:g[0].id}):void 0}),[g]);return{tabs:k,firstTab:Object(a.useMemo)((function(){var e,t=(e={},Object(Z.a)(e,$.f.HOME,v?w:null),Object(Z.a)(e,$.f.SERIES,y?B:null),Object(Z.a)(e,$.f.POSTS,A?L:null),Object(Z.a)(e,$.f.CATEGORIES,E?F:null),e),i=P.map((function(e){return t[e]})).filter((function(e){return null!==e}));return Object(q.a)(i,1)[0]}),[v,y,A,E,u,d,F,P]),isHomeTabActive:v,isSeriesTabActive:y,isPostsTabActive:A,isCategoriesActive:E,homeTabTitle:O,seriesTabTitle:f}}var Q=i(35),ee=i(399),te=i(115),ie=i(2758),ne=i(192),oe=i(401),ce=i(253),se=i(89),ae=i(45);var re=function(){var e=Object(l.n)(f.f),t=J().tabs;return null!==e&&void 0!==e&&e.url?Object(U.jsx)(s.D_UserDesktopTabBar,{itemArray:t}):Object(U.jsx)(U.Fragment,{})},le=M.default.div.withConfig({displayName:"Col",componentId:"sc-atv5ox-0"})(["display:flex;flex:",";flex-direction:column;"],(function(e){return e.flex?"1":"unset"})),ue=M.default.div.withConfig({displayName:"Row",componentId:"sc-atv5ox-1"})(["align-items:",";display:flex;flex-direction:row;"],(function(e){return e.alignCenter?"center":"unset"}));var de=M.default.div.withConfig({displayName:"DimmedOverlay",componentId:"sc-2jofkj-0"})(["background-color:",";height:100%;position:absolute;width:100%;"],(function(e){return e.theme.ui_dimmed_01})),pe=M.default.div.withConfig({displayName:"S_Hero",componentId:"sc-2jofkj-1"})(["display:flex;justify-content:center;position:relative;width:100%;"]),be=M.default.div.withConfig({displayName:"S_HeroContents",componentId:"sc-2jofkj-2"})(["display:flex;flex-direction:column;height:100%;justify-content:space-between;max-width:",";padding-left:",";padding-right:",";position:absolute;top:0;width:",";"],(function(e){return e.useRightWidget?"1000px":"800px"}),(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE}),(function(e){return e.useRightWidget?"1000px":"800px"})),je=M.default.div.withConfig({displayName:"S_InnerItems",componentId:"sc-2jofkj-3"})(["align-items:",";display:flex;flex-direction:column;"],(function(e){return"LEFT"===e.alignment?"flex-start":"center"})),he=M.default.div.withConfig({displayName:"NoImageHero",componentId:"sc-2jofkj-4"})(["display:flex;flex-direction:column;justify-content:center;margin-left:auto;margin-right:auto;max-width:",";padding-left:",";padding-right:",";position:relative;width:",";"],(function(e){return e.useRightWidget?"1000px":"800px"}),(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE}),(function(e){return e.useRightWidget?"1000px":"800px"})),me=function(e){var t=e.header,i=e.imgSrc,n=e.title,o=e.titleSize,c=e.alignment,a=e.useRightWidget,r=e.desc,l=e.coverAltText,u=!(!n&&!r),d=function(){switch(o){case"SMALL":return{size:"32px",weight:"bold"};case"MEDIUM":return{size:void 0,weight:void 0};case"LARGE":return{size:"48px",weight:"bold"};default:return{size:void 0,weight:void 0}}};return i?Object(U.jsxs)(pe,{children:[u||t?Object(U.jsx)(de,{}):Object(U.jsx)(U.Fragment,{}),Object(U.jsx)(s.ImageView,{src:i,shapeType:"rectangle",width:"responsive",height:480,scaleType:"cover",altText:l||n}),Object(U.jsxs)(be,{useRightWidget:!!a,children:[Object(U.jsxs)(le,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_e"}),t]}),Object(U.jsxs)(le,{children:[Object(U.jsxs)(je,{alignment:c,children:[Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"displayBold",colorTheme:"sysTextWhite",customFontSize:d().size,customFontWeight:d().weight,textAlign:"CENTER"===c?"center":"left",wordBreak:"break_word"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"}),"string"===typeof r?Object(U.jsx)(s.D_TextLabel,{text:r,styleTheme:"subTitleRegular",colorTheme:"sysTextWhite"}):r]}),Object(U.jsx)(s.Spacing,{size:"spacing_g"})]})]})]}):Object(U.jsxs)(he,{useRightWidget:!!a,children:[Object(U.jsx)(s.Spacing,{size:"spacing_e"}),t,Object(U.jsx)(s.Spacing,{size:"spacing_d"}),Object(U.jsxs)(je,{alignment:c,children:[Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"displayBold",colorTheme:"sysTextPrimary",customFontSize:d().size,customFontWeight:d().weight,textAlign:"CENTER"===c?"center":"left",wordBreak:"break_word"}),Object(U.jsx)(s.Spacing,{size:"spacing_d"}),"string"===typeof r?Object(U.jsx)(s.D_TextLabel,{text:r,styleTheme:"subTitleRegular",colorTheme:"sysTextPrimary"}):r]})]})};var ge=M.default.div.withConfig({displayName:"S_Hero",componentId:"sc-1ivyjv6-0"})(["display:flex;justify-content:center;position:relative;width:100%;",""],(function(e){return e.hasText&&Object(M.css)(["&::before{background-color:",";content:'';display:block;height:100%;position:absolute;top:0;width:100%;}"],(function(e){var t=e.theme;return"".concat(t.ui_dimmed_01)}))})),_e=M.default.div.withConfig({displayName:"S_Text",componentId:"sc-1ivyjv6-1"})(["bottom:0;padding-left:",";padding-right:",";position:absolute;width:960px;"],(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),xe=function(e){var t=e.imgSrc,i=e.title,n=e.desc;return Object(U.jsxs)(ge,{hasText:!(!i&&!n),children:[Object(U.jsx)(s.ImageView,{src:t,shapeType:"rectangle",width:"responsive",height:480,noImageHeight:480,scaleType:"cover"}),Object(U.jsxs)(_e,{children:[Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"displayBold",colorOverride:"ui_hero_title_text"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"}),Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"subTitleRegular",colorOverride:"ui_hero_description_text"}),Object(U.jsx)(s.Spacing,{size:"spacing_h"})]})]})};var Oe=M.default.div.withConfig({displayName:"S_Vertical",componentId:"sc-71jk10-0"})(["background-color:",";border-radius:24px;
1cursor:pointer;display:flex;flex-direction:column;height:100%;max-width:288px;min-height:400px;overflow:hidden;width:288px;"],(function(e){return e.theme.ui_cpnt_sheet_base})),fe=M.default.div.withConfig({displayName:"S_Horizontal",componentId:"sc-71jk10-1"})(["background-color:",";border-radius:24px;cursor:pointer;display:flex;height:212px;max-width:100%;padding:",";width:100%;"],(function(e){return e.theme.ui_cpnt_sheet_base}),(function(e){return e.theme.spacing.spacingE})),Ce=function(e){var t=e.align,i=e.children,n=e.onClick,o=function(e){n&&n(e)};return"vertical"===t?Object(U.jsx)(Oe,{onClick:o,children:i}):Object(U.jsx)(fe,{onClick:o,children:i})};var Te=M.default.div.withConfig({displayName:"S_NoContents",componentId:"sc-1l9koa9-0"})(["align-items:center;display:flex;flex-direction:row;justify-content:center;padding-top:120px;"]),De=function(e){var t=e.text;return Object(U.jsx)(Te,{children:Object(U.jsx)(s.D_TextLabel,{text:t,styleTheme:"body2Regular",colorTheme:"sysTextTertiary"})})},Se=i(252),ve=i(384);function ye(e){var t=e.handleClickErrorModal,i=Object(Y.a)("translation").t;return Object(U.jsx)(s.D_DesktopAlertDialog,{contentText:i("str_err_gen_500","Error : \uc54c \uc218 \uc5c6\ub294 \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud558\uc600\uc2b5\ub2c8\ub2e4. \uad00\ub9ac\uc790\uc5d0\uac8c \ubb38\uc758\ud558\uc138\uc694 (500)"),btnMode:"tbtn_amount1",tBtn1Text:i("str_confirm"),onClickTBtn1:t})}var Ae=function(e){var t=e.error,i=e.clearError,n=e.backTo,o=Object(l.n)(f.f),c=Object(Y.a)("translation").t,a=Object(l.k)();function r(){o&&(i(),n?a.push(n):a.push(o.url))}switch(t.type){case"".concat(ce.c.postDetailMounted.type,"_FAILED"):case"".concat(Se.b.postDetailMounted.type,"_FAILED"):return 404===t.code||403===t.code?Object(U.jsx)(s.D_DesktopAlertDialog,{contentText:c("str_err_2451",{errCode:t.code,defaultValue:"$t(str_seller)\uc5d0 \uc758\ud574 $t(str_status_private) \ub418\uc5c8\uac70\ub098 $t(str_delete)\ub41c \uac8c\uc2dc\uae00\uc785\ub2c8\ub2e4. \ub2e4\ub978 \uac8c\uc2dc\uae00\uc744 \uc120\ud0dd\ud574 \uc8fc\uc138\uc694.({{errCode}})"}),btnMode:"tbtn_amount1",tBtn1Text:c("str_confirm"),onClickTBtn1:r}):Object(U.jsx)(ye,{handleClickErrorModal:r});case"".concat(ve.b.seriesDetailMounted.type,"_FAILED"):return 404===t.code||403===t.code?Object(U.jsx)(s.D_DesktopAlertDialog,{contentText:c("str_err_3091",{errCode:t.code,defaultValue:"$t(str_seller)\uc5d0 \uc758\ud574 $t(str_status_private) \ub418\uc5c8\uac70\ub098 $t(str_delete)\ub41c \uc2dc\ub9ac\uc988\uc785\ub2c8\ub2e4. \ub2e4\ub978 \uc2dc\ub9ac\uc988\ub97c \uc120\ud0dd\ud574 \uc8fc\uc138\uc694.({{errCode}})"}),btnMode:"tbtn_amount1",tBtn1Text:c("str_confirm"),onClickTBtn1:r}):Object(U.jsx)(ye,{handleClickErrorModal:r});default:return Object(U.jsx)(ye,{handleClickErrorModal:r})}};M.default.div.withConfig({displayName:"S_Contents",componentId:"sc-1qukzf7-0"})(["display:flex;flex:1 1 auto;flex-direction:column;justify-content:space-between;position:relative;width:",";"],(function(e){var t=e.theme;return e.imgSrc?"calc(100% - 164px - ".concat(t.spacing.spacingE,")"):"100%"})),M.default.div.withConfig({displayName:"DimmedOverlay",componentId:"sc-1qukzf7-1"})(["background-color:",";border-radius:8px;height:100%;position:absolute;width:100%;"],(function(e){return e.theme.ui_61})),M.default.div.withConfig({displayName:"S_ImageBox",componentId:"sc-1qukzf7-2"})(["position:relative;"]),M.default.div.withConfig({displayName:"S_AbsoluteBox",componentId:"sc-1qukzf7-3"})(["left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);"]);M.default.div.withConfig({displayName:"S_Contents",componentId:"sc-as6wws-0"})(["display:flex;flex:1 1 auto;flex-direction:column;justify-content:space-between;position:relative;width:",";"],(function(e){var t=e.theme;return e.imgSrc?"calc(100% - 164px - ".concat(t.spacing.spacingE,")"):"100%"}));var Ee=function(e){var t=e.postConversionLink,i=e.onMountBanner,n=e.onClickBanner,o=Object(l.k)(),c=Object(a.useMemo)(h.n,[]),s=Object(r.d)(c);return Object(a.useEffect)((function(){i(t.distinctId)}),[t.distinctId]),Object(U.jsx)(le,{style:{alignItems:"center"}
1,children:Object(U.jsx)(_.F,{title:t.title,description:t.description,thumbnailSrc:t.thumbnailSrc,onClick:function(){var e=t.destinationUrl;if(n(t.distinctId),"INTERNAL_LINK"!==t.linkType)"WEB_LINK"===t.linkType&&function(e){var t;try{t=new URL(e)}catch(i){return!1}return"http:"===t.protocol||"https:"===t.protocol}(e)&&window.open(e,"","noopener");else{if(!s)return;var i=Object(f.V)(s.channelCode),c=e.split(i).pop();c&&o.push(i+c)}}})})},Ie=i(2760),Pe=i(402),we=i(591),Be=i(2769);var Le,ke=M.default.div.withConfig({displayName:"S_Sheet",componentId:"sc-uvcdcx-0"})(["align-items:center;background-color:",";bottom:0;display:flex;height:64px;justify-content:flex-end;left:0;padding-right:",";position:fixed;width:100%;"],(function(e){return e.theme.ui_cpnt_sheet_base}),(function(e){return e.theme.spacing.spacingI})),Fe=function(e){var t=e.onClickLeft,i=e.onClickRight,n=e.isRightButtonActive,o=e.isLeftButtonActive,c=Object(Y.a)("translation").t;return Object(U.jsxs)(ke,{children:[Object(U.jsx)(s.D_IconButton,{baseSize:"small",baseColorKey:"ui_cpnt_button_fill_base_transparent",iconSize:16,iconName:"ic_arrow_left",iconColorKey:"ui_cpnt_icon_sys_grey_01",onClick:t,state:o?"normal":"disabled"}),Object(U.jsx)(s.Spacing,{size:"spacing_a",spacingType:"width"}),Object(U.jsx)(s.D_TextLabel,{text:c("str_2915"),styleTheme:"body2Regular",colorTheme:"sysTextPrimary"}),Object(U.jsx)(s.Spacing,{size:"spacing_a",spacingType:"width"}),Object(U.jsx)(s.D_IconButton,{baseSize:"small",baseColorKey:"ui_cpnt_button_fill_base_transparent",iconSize:16,iconName:"ic_arrow_right",iconColorKey:"ui_cpnt_icon_sys_grey_01",onClick:i,state:n?"normal":"disabled"})]})},Re=i(46),Ne=i(246);!function(e){e[e.RIGHT=0]="RIGHT",e[e.BOTTOM=1]="BOTTOM"}(Le||(Le={}));var Me=function(e){var t=e.title,i=e.limit,n=e.position,o=e.headerOption,c=e.listOption,u=e.arrowOption,d=e.sortBy,p=e.useSticky,b=Object(Y.a)().t,j=Object(r.c)(),h=Object(l.k)(),m=Object(l.m)(),g=m.channelCode,_=m.pAppCode,f=Object(r.d)(oe.m),C=Object(r.d)(oe.n),T=Object(r.d)(oe.k),S=Object(r.d)(oe.l),v=Object(a.useState)(1),y=Object(q.a)(v,2),A=y[0],E=y[1],I=Object(a.useState)(1),P=Object(q.a)(I,2),w=P[0],B=P[1],L=Object(O.c)([Ne.a.fetchRightWidgetPostList,Ne.a.fetchBottomWidgetPostList]),k=Object(a.useMemo)((function(){return Math.round(n===Le.RIGHT?C/i:S/i)}),[n,C,S,i]);Object(a.useEffect)((function(){n===Le.RIGHT&&j(Ne.a.fetchRightWidgetPostList({page:A,limit:i,sortBy:"MOST_VIEWS"===d?"hits":void 0,order:"DESC"}))}),[A,i]),Object(a.useEffect)((function(){n===Le.BOTTOM&&j(Ne.a.fetchBottomWidgetPostList({page:w,limit:i,sortBy:"RECENT"===d?void 0:"hits",order:"DESC"}))}),[w,i]),Object(a.useEffect)((function(){return function(){j(Ne.a.initWidgetPostList())}}),[]);var F=function(e){h.push(Object(x.l)(D,{channelCode:g,pAppCode:_,postId:e}),{internal:!0})};return Object(U.jsxs)(Ue,{isRight:n===Le.RIGHT,useSticky:p,children:[n===Le.RIGHT&&Object(U.jsx)("div",{style:{marginTop:"8px"}}),"DIVIDER_TOP"===o&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(Ye,{}),Object(U.jsx)(s.Spacing,{size:"spacing_c"})]}),Object(U.jsx)(s.D_TextLabel,{text:b(t),styleTheme:"headingBold",singleLineMode:"use"}),"DIVIDER_BOTTOM"===o&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_a"}),Object(U.jsx)(Ye,{})]}),Object(U.jsx)(s.Spacing,{size:"spacing_d"}),function(){switch(n){case Le.RIGHT:return Object(U.jsxs)(U.Fragment,{children:[L.isActionPending(Ne.a.fetchRightWidgetPostList)?Object(U.jsx)(Xe,{limit:i,isRight:!0,listOption:c,children:Object(U.jsx)(Re.ThreeBarProgress,{})}):Object(U.jsx)(ze,{isRight:!0,children:f.map((function(e){var t,i;return Object(U.jsx)(We,{isRight:!0,onClick:function(){return F(e.id)},children:"LIST_A"===c?Object(U.jsxs)(U.Fragment,{children:[(null===e||void 0===e?void 0:e.thumbnailSrc)&&Object(U.jsx)(s.ImageView,{src:e.thumbnailSrc,shapeType:"rectangle",width:80,height:80,ratio:"1_1",scaleType:"cover",altText:null===(t=e.postMeta)||void 0===t?void 0:t.thumbnailAltText}),Object(U.jsxs)(He,{isRightListA:!0,isRight:!0,hasImage:!(null===e||void 0===e||!e.coverImageSrc),children:[Object(U.jsx)(s.D_TextLabel,{text:e.title,styleTheme:"caption1Bold",ellipsisMode:"use",wordBreak:"break_word",lineLimit:3}),Object(U.jsx)(s.Spacing,{size:"spacing_b"}),Object(U.jsx)(s.D_TextLabel,{text:ae.a.getTimeZoneInstance(e.publishedAt).format("YYYY-MM-DD"),styleTheme:"caption2Regular",colorTheme:"sysTextTertiary",singleLineMode:"use"})]})]}):Object(U.jsxs)(s.D_ContentSheet,{width:"300px",height:"122px",shapeType:"round",radius:16,paddingBottom:"spacing_d",paddingTop:"spacing_d",paddingRight:"spacing_d",paddingLeft:"spacing_d",overrideCSS:{display:"flex",justifyContent:"space-between",gap:"16px",cursor:"pointer"},children:[Object(U.jsxs)(He,{isRight:!0,hasImage:!(null===e||void 0===e||!e.coverImageSrc),children:[Object(U.jsx)(s.D_TextLabel,{text:e.title,styleTheme:"caption1Bold",ellipsisMode:"use",lineLimit:3,wordBreak:"break_word"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"}),Object(U.jsx)(s.D_TextLabel,{text:ae.a.getTimeZoneInstance(e.publishedAt).format("YYYY-MM-DD"),styleTheme:"caption2Regular",colorTheme:"sysTextTertiary",singleLineMode:"use"})]}),(null===e||void 0===e?void 0:e.thumbnailSrc)&&Object(U.jsx)(s.ImageView,{src:e.thumbnailSrc,shapeType:"round",width:90,ratio:"1_1",scaleType:"cover",altText:null===(i=e.postMeta)||void 0===i?void 0:i.thumbnailAltText})]})},"".concat(e.id))}))}),Object(U.jsx)(s.Spacing,{size:"spacing_c"}
1),Object(U.jsxs)(Ge,{children:[Object(U.jsx)(s.D_IconButton,{fillType:"fill",shapeType:"circular",baseSize:"xsmall",iconSize:16,iconName:"ARROW_A"===u?"ic_arrow_left":"ic_arrow_stem_left_01",baseColorKey:"ui_cpnt_button_fill_base_default",iconColorKey:"ui_cpnt_icon_sys_grey_01",state:A<=1?"disabled":"normal",onClick:function(){A<=1||E((function(e){return e-1}))}}),Object(U.jsx)(s.D_IconButton,{fillType:"fill",shapeType:"circular",baseSize:"xsmall",iconSize:16,iconName:"ARROW_A"===u?"ic_arrow_right":"ic_arrow_stem_right_01",baseColorKey:"ui_cpnt_button_fill_base_default",iconColorKey:"ui_cpnt_icon_sys_grey_01",state:A>=k?"disabled":"normal",onClick:function(){A>=k||E((function(e){return e+1}))}})]}),Object(U.jsx)(s.Spacing,{size:"spacing_f"})]});case Le.BOTTOM:return Object(U.jsxs)(U.Fragment,{children:[L.isActionPending(Ne.a.fetchBottomWidgetPostList)?Object(U.jsx)(Xe,{isRight:!1,limit:i,listOption:c,children:Object(U.jsx)(Re.ThreeBarProgress,{})},n):Object(U.jsx)(ze,{isRight:!1,children:T.map((function(e){var t,n;return Object(U.jsx)(We,{isRight:!1,limit:i,onClick:function(){return F(e.id)},children:"LIST_A"===c?Object(U.jsxs)(U.Fragment,{children:[(null===e||void 0===e?void 0:e.thumbnailSrc)&&Object(U.jsx)("div",{children:Object(U.jsx)(s.ImageView,{src:e.thumbnailSrc,shapeType:"rectangle",width:"responsive",ratio:"1_1",scaleType:"cover",altText:null===(t=e.postMeta)||void 0===t?void 0:t.thumbnailAltText})}),Object(U.jsxs)(He,{children:[Object(U.jsx)(s.D_TextLabel,{text:e.title,styleTheme:"caption1Bold",ellipsisMode:"use",wordBreak:"break_word",lineLimit:4}),Object(U.jsx)(s.Spacing,{size:"spacing_b"}),Object(U.jsx)(s.D_TextLabel,{text:ae.a.getTimeZoneInstance(e.publishedAt).format("YYYY-MM-DD"),styleTheme:"caption2Regular",colorTheme:"sysTextTertiary",singleLineMode:"use"})]})]}):Object(U.jsxs)(s.D_ContentSheet,{width:"100%",height:"100%",radius:16,shapeType:"round",paddingTop:"none",paddingBottom:"none",paddingLeft:"none",paddingRight:"none",overrideCSS:{minHeight:"180px",display:"flex",flexDirection:"column",cursor:"pointer"},children:[(null===e||void 0===e?void 0:e.thumbnailSrc)&&Object(U.jsx)(Ve,{children:Object(U.jsx)(s.ImageView,{src:e.thumbnailSrc,shapeType:"rectangle",width:"responsive",ratio:"4_3",scaleType:"cover",altText:null===(n=e.postMeta)||void 0===n?void 0:n.thumbnailAltText})}),Object(U.jsxs)(He,{isBottomListB:!0,children:[Object(U.jsx)(s.D_TextLabel,{text:e.title,styleTheme:"caption1Bold",ellipsisMode:"use",wordBreak:"break_word",lineLimit:4}),Object(U.jsxs)("div",{children:[Object(U.jsx)(s.Spacing,{size:"spacing_b"}),Object(U.jsx)(s.D_TextLabel,{text:ae.a.getTimeZoneInstance(e.publishedAt).format("YYYY-MM-DD"),styleTheme:"caption2Regular",colorTheme:"sysTextTertiary",singleLineMode:"use"})]})]})]})},"".concat(e.id))}))}),Object(U.jsx)(s.Spacing,{size:"spacing_d"}),Object(U.jsxs)(Ge,{children:[Object(U.jsx)(s.D_IconButton,{fillType:"fill",shapeType:"circular",baseSize:"xsmall",iconSize:16,iconName:"ARROW_A"===u?"ic_arrow_left":"ic_arrow_stem_left_01",baseColorKey:"ui_cpnt_button_fill_base_default",iconColorKey:"ui_cpnt_icon_sys_grey_01",state:w<=1?"disabled":"normal",onClick:function(){w<=1||B((function(e){return e-1}))}}),Object(U.jsx)(s.D_IconButton,{fillType:"fill",shapeType:"circular",baseSize:"xsmall",iconSize:16,iconName:"ARROW_A"===u?"ic_arrow_right":"ic_arrow_stem_right_01",baseColorKey:"ui_cpnt_button_fill_base_default",iconColorKey:"ui_cpnt_icon_sys_grey_01",state:w>=k?"disabled":"normal",onClick:function(){w>=k||B((function(e){return e+1}))}})]})]})}}()]},n)},Ue=M.default.div.withConfig({displayName:"S_Widget",componentId:"sc-1g8pgdn-0"})(["display:flex;flex-direction:column;height:auto;max-width:",";position:",";top:0;width:",";"],(function(e){return e.isRight?"300px":"100%"}),(function(e){var t=e.isRight,i=e.useSticky;return t&&i?"sticky":"relative"}),(function(e){return e.isRight?"300px":"100%"})),ze=M.default.div.withConfig({displayName:"S_ListWrapper",componentId:"sc-1g8pgdn-1"})(["display:flex;flex:0 0 0;flex-direction:",";gap:",";height:100%;"],(function(e){return e.isRight?"column":"row"}),(function(e){return e.theme.spacing.spacingD})),We=M.default.div.withConfig({displayName:"S_Content",componentId:"sc-1g8pgdn-2"})(["cursor:pointer;display:flex;flex-direction:",";gap:",";height:100%;width:",";"],(function(e){return e.isRight?"row":"column"}),(function(e){return e.theme.spacing.spacingB}),(function(e){var t=e.isRight,i=e.limit;return t?"100%":3===i?"266px":"196px"})),He=M.default.div.withConfig({displayName:"S_PostInfo",componentId:"sc-1g8pgdn-3"})(["display:flex;flex-direction:column;justify-content:",";padding:",";width:100%;"],(function(e){var t=e.hasImage,i=e.isRight;return!t&&i?"center":"flex-start"}),(function(e){var t=e.isBottomListB,i=e.theme;return t&&i.spacing.spacingC})),Ge=M.default.div.withConfig({displayName:"S_PaginationButton",componentId:"sc-1g8pgdn-4"})(["display:flex;gap:",";"],(function(e){return e.theme.spacing.spacingB})),Xe=M.default.div.withConfig({displayName:"S_LoadingContainer",componentId:"sc-1g8pgdn-5"}
1)(["height:",";"],(function(e){var t=e.listOption,i=e.limit;switch(e.isRight){case!0:return"".concat("LIST_A"===t?96*i+16*(i-1):122*i+16*(i-1),"px");case!1:return"339px"}})),Ye=M.default.div.withConfig({displayName:"S_WidgetDivder",componentId:"sc-1g8pgdn-6"})(["background-color:",";height:4px;width:100%;"],(function(e){return e.theme.ui_149})),Ve=M.default.div.withConfig({displayName:"S_ImageWrapper",componentId:"sc-1g8pgdn-7"})(["overflow:visible !important;& [x-pds-name='ImageView']{border-top-left-radius:16px;border-top-right-radius:16px;}"]),Ke=Pe.a.fetchCreators;var qe=M.default.div.withConfig({displayName:"S_PostDetailView",componentId:"sc-arkhw0-0"})(["display:flex;justify-content:center;position:relative;",""],(function(e){return e.isPostProtection&&Be.a})),Ze=M.default.div.withConfig({displayName:"S_BodyWrapper",componentId:"sc-arkhw0-1"})(["display:flex;flex-direction:column;justify-self:center;max-width:",";width:100%;"],(function(e){return e.useRightWidget?"1000px":"800px"})),$e=M.default.div.withConfig({displayName:"S_BackBtnBox",componentId:"sc-arkhw0-2"})(["align-items:center;cursor:pointer;display:flex;flex-direction:row;width:fit-content;"]),Je=M.default.div.withConfig({displayName:"S_CommentsBox",componentId:"sc-arkhw0-3"})(["margin-left:auto;margin-right:auto;width:100%;"]),Qe=M.default.div.withConfig({displayName:"S_ChipWrapper",componentId:"sc-arkhw0-4"})(["cursor:pointer;"]),et=M.default.div.withConfig({displayName:"S_PostWrapper",componentId:"sc-arkhw0-5"})(["margin-left:auto;margin-right:auto;padding-left:",";position:relative;width:100%;"],(function(e){return e.theme.spacing.spacingE})),tt=Object(M.default)(le).withConfig({displayName:"S_ContentsWrapper",componentId:"sc-arkhw0-6"})(["column-gap:",";display:grid;flex-direction:row;grid-template-columns:",";"],(function(e){var t=e.useRightWidget,i=e.theme;return t&&i.spacing.spacingE}),(function(e){return e.useRightWidget?"minmax(0, 1fr) 300px":"1fr"})),it=function(e){var t,i,n,o,c,u,d,p=e.post,b=e.comments,j=e.isNextButtonActive,m=e.isPrevButtonActive,g=e.pAppConfigs,O=e.handleMountBanner,f=e.handleClickBanner,C=e.handleClickBack,T=e.handleClickLeft,D=e.handleClickRight,S=Object(Y.a)("translation").t,v=Object(r.c)(),y=Object(l.k)(),A=Object(l.m)(),E=A.channelCode,I=A.pAppCode,B=Object(r.d)(h.d),L=null===B||void 0===B?void 0:B.channelProfile,k=Object(r.d)(oe.i),F=Object(a.useRef)(null),R=null===(t=null===g||void 0===g?void 0:g[$.b.UX_CPS_USE_COMMENT])||void 0===t||t,N=null!==(i=null===g||void 0===g?void 0:g[$.b.UX_CPS_USE_POST_PROTECTION])&&void 0!==i&&i,M=null===(n=!(null!==g&&void 0!==g&&g[$.b.UX_CPS_HIDE_CATEGORIES_TAB]))||void 0===n||n,z=K().postDetail,W=J().tabs,H=Object(a.useRef)(null),G=Object(a.useState)(!1),X=Object(q.a)(G,2),V=X[0],Z=X[1];Object(a.useEffect)((function(){function e(){Z(!1)}return V&&window.addEventListener("wheel",e),function(){window.removeEventListener("wheel",e)}}),[V]);var Q=Object(U.jsx)(_.E,{children:Object(U.jsx)(_.D,{targetRef:H,placement:"v-auto",isOpen:V,onClickOutside:function(){return Z(!1)},onClick:function(e){e.stopPropagation(),Z(!V)},children:Object(U.jsx)(s.D_ContextMenu,{children:null===z||void 0===z||null===(o=z.shareButtons)||void 0===o?void 0:o.map((function(e){var t;return Object(U.jsxs)(st,{onClick:function(){return e.onClick(p)},children:[Object(U.jsx)(s.Icon,{iconName:null===(t=$.d[e.key])||void 0===t?void 0:t.iconName,size:24}),Object(U.jsx)(s.D_TextLabel,{text:S($.e[e.key]),styleTheme:"caption1Regular"})]},e.key)}))})})});Object(a.useEffect)((function(){var e;F.current&&p.content&&(F.current.innerHTML=(e=p.content,(new DOMParser).parseFromString(e,"text/html").documentElement.innerHTML))}),[p]),Object(a.useLayoutEffect)((function(){v(Ke())}),[]);var ee=Object(a.useMemo)((function(){var e={nickname:""};if(p){if((null===L||void 0===L?void 0:L.id)===p.profileId)e.nickname=L.nickname;else{if(!k)return;var t=k.find((function(e){return e.id===p.profileId}));if(!t)return;e.nickname=t.nickname}return e}}),[p,B,k]);return Object(U.jsx)(s.WTContainersBox,{layoutType:W.length>1?"WTT_1":"WTS_1",pageMenuContent:Object(U.jsx)(re,{}),content1:Object(U.jsx)(qe,{isPostProtection:N,children:Object(U.jsx)(me,{header:Object(U.jsxs)($e,{onClick:C,children:[Object(U.jsx)(s.D_IconButton,{iconSize:20,baseColorKey:"ui_cpnt_button_fill_base_transparent",iconName:"ic_arrow_left_bold",iconColorKey:p.coverImageSrc?"ui_cpnt_icon_sys_white":"ui_cpnt_icon_sys_grey_01"}),Object(U.jsx)(s.D_TextLabel,{text:S("str_back"),styleTheme:"body2Bold",colorTheme:p.coverImageSrc?"sysTextWhite":"sysTextPrimary"})]}),imgSrc:null!==(c=p.coverImageSrc)&&void 0!==c?c:"",coverAltText:null===(u=p.postMeta)||void 0===u?void 0:u.coverAltText,title:p.title,titleSize:g.postDetail.titleSize,alignment:g.postDetail.headerItemsAlignment,useRightWidget:g.postDetail.useRightWidget,desc:g.isPostAuthorShow||g.isPostPublishedAtShow?Object(U.jsxs)(ue,{children:[g.isPostAuthorShow&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.D_TextLabel,{text:"".concat(g.postDetail.publisherPrefix?"".concat(g.postDetail.publisherPrefix," "):""," ").concat(ee?ee.nickname:p.author," ").concat(g.postDetail.publisherSuffix?"".concat(g.postDetail.publisherSuffix," "):""),styleTheme:"caption1Regular",colorTheme:p.coverImageSrc?"sysTextWhite":"sysTextSecondary"}),Object(U.jsx)(s.Spacing,{size:"spacing_d",spacingType:"width"})]}),g.isPostPublishedAtShow&&Object(U.jsx)(s.D_TextLabel,{text:ae.a.tz(p.publishedAt).format("YYYY-MM-DD"),styleTheme:"caption1Regular",colorTheme:p.coverImageSrc?"sysTextWhite":"sysTextSecondary"})]}):Object(U.jsx)(U.Fragment,{})})}),content2:Object(U.jsxs)(qe,{isPostProtection:N,children:[Object(U.jsx)(Ze,{useRightWidget:g.postDetail.useRightWidget,children:Object(U.jsxs)(tt,{useRightWidget:g.postDetail.useRightWidget,children:[Object(U.jsxs)("div",{children:[Object(U.jsxs)(et,{children:[Object(U.jsx)(nt,{ref:F,contentImageOriginWidth:g.postDetail.contentImageOriginWidth}),g.isPostAuthorShow&&g.postDetail.isShowCreditInfo&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_b"}),Object(U.jsxs)(ue,{children:[Object(U.jsx)(s.D_TextLabel,{text:S("str_2903"),styleTheme:"caption1Regular",colorTheme:"sysTextSecondary"}),Object(U.jsx)(s.Spacing,{size:"spacing_b",spacingType:"width"}),Object(U.jsx)(s.D_TextLabel,{text:ee?ee.nickname:p.author,styleTheme:"caption1Regular",colorTheme:"sysTextSecondary"})]})]}),p.postConversionLink&&!p.postConversionLink.isDisabled&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_f"}),Object(U.jsx)(Ee,{postConversionLink:p.postConversionLink,onMountBanner:O,onClickBanner:f})]}),(p.labels.length>0||M&&p.boardCategoryLabels.length>0)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_f"}),Object(U.jsxs)(ot,{children:[p.labels.map((function(e){return Object(U.jsx)(Qe,{children:Object(U.jsx)(s.D_Chip,{id:e.id,displayType:"information",text:e.name,overrideTextColorKey:"ui_148",overrideBackgroun
1dColorKey:"ui_149",onClickChip:function(){return y.push(Object(x.l)(w,{channelCode:E,pAppCode:I,labelId:e.id}))}})},e.id)})),M&&Object(U.jsx)(U.Fragment,{children:p.boardCategoryLabels.map((function(e){return Object(U.jsx)(Qe,{children:Object(U.jsx)(s.D_Chip,{displayType:"information",text:e.name,onClickChip:function(){return y.push(Object(x.l)(P,{channelCode:E,pAppCode:I,categoryId:e.boardCategoryId,subCategoryId:e.id},{prevPath:"postDetail",postId:String(p.id)}))}})},e.id)}))})]})]}),(null===z||void 0===z||null===(d=z.shareButtons)||void 0===d?void 0:d.length)>0&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsx)(ct,{ref:H,onClick:function(){return Z(!0)},children:Object(U.jsxs)(s.D_ContentSheet,{height:"auto",width:"fit-content",paddingBottom:"spacing_a",paddingTop:"spacing_a",paddingLeft:"spacing_c",paddingRight:"spacing_c",borderMode:"use",backgroundColorTheme:"transparent",shapeType:"round",radius:24,overrideCSS:{display:"flex",flexDirection:"row",alignItems:"center",cursor:"pointer"},children:[Object(U.jsx)(s.Icon,{iconName:"ic_share",size:20}),Object(U.jsx)(s.Spacing,{size:"spacing_a",spacingType:"width"}),Object(U.jsx)(s.D_TextLabel,{text:S("str_10584"),styleTheme:"caption1Regular",colorTheme:"sysTextSecondary"}),Q]})})]}),Object(U.jsx)(s.Spacing,{size:"spacing_f"}),g.postDetail.useBottomWidget&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_f"}),Object(U.jsx)(Me,{title:g.postDetail.bottomWidgetTitle,limit:g.postDetail.bottomWidgetLimit,position:Le.BOTTOM,headerOption:g.postDetail.widgetHeaderAppearance,listOption:g.postDetail.widgetPostsAppearance,arrowOption:g.postDetail.widgetPaginationButtonAppearance,sortBy:g.postDetail.bottomWidgetSortBy,useSticky:!1})]})]}),R&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_f"}),Object(U.jsx)(Je,{children:b})]}),Object(U.jsx)(s.Spacing,{size:"spacing_g"})]}
1),g.postDetail.useRightWidget&&Object(U.jsx)("div",{children:Object(U.jsx)(Me,{title:g.postDetail.rightWidgetTitle,limit:g.postDetail.rightWidgetLimit,position:Le.RIGHT,headerOption:g.postDetail.widgetHeaderAppearance,listOption:g.postDetail.widgetPostsAppearance,arrowOption:g.postDetail.widgetPaginationButtonAppearance,sortBy:g.postDetail.rightWidgetSortBy,useSticky:g.postDetail.rightWidgetUseSticky})})]})}),T&&D&&Object(U.jsx)(Fe,{onClickLeft:T,onClickRight:D,isRightButtonActive:!!j,isLeftButtonActive:!!m})]})})},nt=M.default.div.withConfig({displayName:"S_Content",componentId:"sc-arkhw0-7"})([""," "," p{margin-bottom:24px;margin-top:24px;&:first-child{margin-top:0px;}}ul{margin-bottom:24px;margin-top:24px;}p{color:"," !important;font-size:16px !important;font-weight:500 !important;letter-spacing:0em !important;line-height:1.6 !important;}figcaption{color:",";font-size:14px;text-align:center;}a{font-size:16px !important;font-weight:500 !important;letter-spacing:0em !important;:hover{text-decoration:underline;}}"],we.a,(function(e){return!e.contentImageOriginWidth&&Object(M.css)(["* img{align-self:center;display:flex;object-fit:contain;width:100%;}"])}),(function(e){return e.theme.ui_cpnt_textlabel_sys_primary}),(function(e){return e.theme.ui_cpnt_textlabel_sys_tertiary})),ot=M.default.div.withConfig({displayName:"S_LabelList",componentId:"sc-arkhw0-8"})(["align-items:center;display:flex;flex-wrap:wrap;gap:",";justify-content:flex-start;"],(function(e){return e.theme.spacing.spacingB})),ct=M.default.div.withConfig({displayName:"S_ShareButtonsWrapper",componentId:"sc-arkhw0-9"})(["display:flex;flex-direction:row;gap:",";justify-content:flex-start;padding-bottom:",";width:fit-content;"],(function(e){return e.theme.spacing.spacingB}),(function(e){return e.theme.spacing.spacingC})),st=M.default.div.withConfig({displayName:"S_ShareItem",componentId:"sc-arkhw0-10"})(["align-items:center;display:flex;flex-direction:row;gap:",";justify-content:flex-start;padding:"," ",";"],(function(e){return e.theme.spacing.spacingB}),(function(e){return e.theme.spacing.spacingC}),(function(e){return e.theme.spacing.spacingD}));var at=M.default.div.withConfig({displayName:"S_BackBtnBox",componentId:"sc-va4dsj-0"})(["align-items:center;cursor:pointer;display:flex;flex-direction:row;width:fit-content;"]),rt=Object(M.default)(le).withConfig({displayName:"S_Contents",componentId:"sc-va4dsj-1"})(["height:100%;margin-left:auto;margin-right:auto;padding-left:",";padding-right:",";"],(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),lt=function(e){var t=e.isNextButtonActive,i=e.isPrevButtonActive,n=e.handleClickBack,o=e.handleClickLeft,c=e.handleClickRight,a=Object(Y.a)("translation").t,r=J().tabs;return Object(U.jsx)(s.WTContainersBox,{layoutType:r.length>1?"WTH_1":"WTM_1",pageMenuContent:Object(U.jsx)(re,{}),content1:Object(U.jsxs)(U.Fragment,{children:[Object(U.jsxs)(rt,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsxs)(at,{onClick:n,children:[Object(U.jsx)(s.D_IconButton,{iconSize:20,baseColorKey:"ui_cpnt_button_fill_base_transparent",iconName:"ic_arrow_left_bold",iconColorKey:"ui_cpnt_icon_sys_grey_01"}),Object(U.jsx)(s.D_TextLabel,{text:a("str_back"),styleTheme:"body2Bold",colorTheme:"sysTextPrimary"})]}),Object(U.jsx)(s.Spacing,{size:"spacing_l"}),Object(U.jsxs)(le,{style:{alignItems:"center"},children:[Object(U.jsx)(s.Icon,{iconName:"ic_lock",size:48}),Object(U.jsx)(s.Spacing,{size:"spacing_b"}),Object(U.jsx)(s.D_TextLabel,{text:a("str_3106"),styleTheme:"headingBold",colorTheme:"sysTextPrimary"})]})]}),o&&c&&Object(U.jsx)(Fe,{onClickLeft:o,onClickRight:c,isRightButtonActive:!!t,isLeftButtonActive:!!i})]})})},ut=Pe.a.fetchCreators;var dt=M.default.div.withConfig({displayName:"S_PostDetailView",componentId:"sc-1g7av7t-0"})(["display:flex;justify-content:center;position:relative;"]),pt=M.default.div.withConfig({displayName:"S_BodyWrapper",componentId:"sc-1g7av7t-1"})(["display:flex;flex-direction:column;justify-self:center;max-width:1000px;width:100%;"]),bt=Object(M.default)(le).withConfig({displayName:"S_ContentsWrapper",componentId:"sc-1g7av7t-2"})(["column-gap:",";display:grid;flex-direction:row;grid-template-columns:",";"],(function(e){var t=e.useRightWidget,i=e.theme;return t&&i.spacing.spacingE}),(function(e){return e.useRightWidget?"minmax(0, 1fr) 300px":"1fr"})),jt=M.default.div.withConfig({displayName:"S_PostWrapper",componentId:"sc-1g7av7t-3"})(["margin-left:auto;margin-right:auto;padding-left:",";padding-right:",";position:relative;width:100%;"],(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),ht=M.default.div.withConfig({displayName:"S_BackBtnBox",componentId:"sc-1g7av7t-4"})(["align-items:center;cursor:pointer;display:flex;flex-direction:row;width:fit-content;"]),mt=M.default.div.withConfig({displayName:"S_LabelList",componentId:"sc-1g7av7t-5"})(["align-items:center;display:flex;flex-wrap:wrap;gap:",";justify-content:flex-start;"],(function(e){return e.theme.spacing.spacingB})),gt=M.default.div.withConfig({displayName:"S_CommentsBox",componentId:"sc-1g7av7t-6"})(["margin-left:auto;margin-right:auto;width:100%;"]),_t=Object(M.default)(le).withConfig({displayName:"S_Contents",componentId:"sc-1g7av7t-7"})(["margin-left:auto;margin-right:auto;width:100%;"]),xt=M.default.div.withConfig({displayName:"S_ChipWrapper",componentId:"sc-1g7av7t-8"})(["cursor:pointer;"]),Ot=M.default.div.withConfig({displayName:"S_LockedContent",componentId:"sc-1g7av7t-9"})(["align-items:center;display:flex;flex-direction:column;justify-content:center;"]),ft=function(e){var t,i,n,o=e.post,c=e.comments,u=e.isNextButtonActive,d=e.isPrevButtonActive,p=e.pAppConfigs,b=e.handleClickBack,j=e.handleClickLeft,m=e.handleClickRight,g=e.onClickPurchase,_=Object(Y.a)("translation").t,O=Object(r.c)(),f=Object(l.k)(),C=Object(l.m)(),T=C.channelCode,D=C.pAppCode,S=Object(r.d)(h.d),v=Object(r.d)(oe.i),y=J().tabs,A=null===S||void 0===S?void 0:S.channelProfile,E=null===(t=null===p||void 0===p?void 0:p[$.b.UX_CPS_USE_COMMENT])||void 0===t||t,I=null===(i=!(null!==p&&void 0!==p&&p[$.b.UX_CPS_HIDE_CATEGORIES_TAB]))||void 0===i||i;Object(a.useLayoutEffect)((function(){O(ut())}),[]);var B=Object(a.useMemo)((function(){var e={nickname:""};if(o){if((null===A||void 0===A?void 0:A.id)===o.profileId)e.nickname=A.nickname;else{if(!v)return;var t=v.find((function(e){return e.id===o.profileId}));if(!t)return;e.nickname=t.nickname}return e}}),[o,S,v]);return Object(U.jsx)(s.WTContainersBox,{layoutType:y.length>1?"WTT_1":"WTS_1",pageMenuContent:Object(U.jsx)(re,{}),content1:Object(U.jsx)(U.Fragment,{children:Object(U.jsx)(me,{header:Object(U.jsxs)(ht,{onClick:b,children:[Object(U.jsx)(s.D_IconButton,{iconSize:20,baseColorKey:"ui_cpnt_button_fill_base_transparent",iconName:"ic_arrow_left_bold",iconColorKey:o.coverImageSrc?"ui_cpnt_icon_sys_white":"ui_cpnt_icon_sys_grey_01"}),Object(U.jsx)(s.D_TextLabel,{text:_("str_back"),styleTheme:"body2Bold",colorTheme:o.coverImageSrc?"sysTextWhite":"sysTextPrimary"})]}),imgSrc:null!==(n=o.coverImageSrc)&&void 0!==n?n:"",title:o.title,titleSize:p.postDetail.titleSize,alignment:p.postDetail.headerItemsAlignment,useRightWidget:!!p.postDetail.useRightWidget,desc:p.isPostAuthorShow||p.isPostPublishedAtShow?Object(U.jsxs)(ue,{children:[p.isPostAuthorShow&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.D_TextLabel,{text:"".concat(p.postDetail.publisherPrefix?"".concat(p.postDetail.publisherPrefix," "):""," ").concat(B?B.nickname:o.author," ").concat(p.postDetail.publisherSuffix?"".concat(p.postDetail.publisherSuffix," "):""),styleTheme:"caption1Regular",colorTheme:o.coverImageSrc?"sysTextWhite":"sysTextSecondary"}),Object(U.jsx)(s.Spacing,{size:"spacing_d",spacingType:"width"})]}),p.isPostPublishedAtShow&&Object(U.jsx)(s.D_TextLabel,{text:ae.a.tz(o.publishedAt).format("YYYY-MM-DD"),styleTheme:"caption1Regular",colorTheme:o.coverImageSrc?"sysTextWhite":"sysTextSecondary"})]}):Object(U.jsx)(U.Fragment,{})})}),content2:Object(U.jsxs)(dt,{children:[Object(U.jsx)(pt,{useRightWidget:p.postDetail.useRightWidget,children:Object(U.jsxs)(bt,{useRightWidget:p.postDetail.useRightWidget,children:[Object(U.jsxs)("div",{children:[Object(U.jsxs)(jt,{children:[Object(U.jsxs)(_t,{children:[Object(U.jsxs)(Ot,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_h"}),Object(U.jsx)(s.D_TextLabel,{text:_("str_3662"),styleTheme:"headingBold",colorTheme:"sysTextPrimary"}),Object(U.jsx)(s.Spacing,{size:"spacing_d"}),Object(U.jsx)(s.D_MainButton,{text:_("str_3249"),size:"large",iconMode:"left",iconName:"ic_lock",onClick:g}),Object(U.jsx)(s.Spacing,{size:"spacing_h"})]}),p.isPostAuthorShow&&p.postDetail.isShowCreditInfo&&Object(U.jsxs)(ue,{children:[Object(U.jsx)(s.D_TextLabel,{text:_("str_2903"),styleTheme:"caption1Regular",colorTheme:"sysTextSecondary"}),Object(U.jsx)(s.Spacing,{size:"spacing_b",spacingType:"width"}),Object(U.jsx)(s.D_TextLabel,{text:B?B.nickname:o.author,styleTheme:"caption1Regular",colorTheme:"sysTextSecondary"})]}),(o.labels.length>0||I&&o.boardCategoryLabels.length>0)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_b"}),Object(U.jsxs)(mt,{children:[o.labels.map((function(e){return Object(U.jsx)(xt,{children:Object(U.jsx)(s.D_Chip,{id:e.id,displayType:"information",text:e.name,overrideTextColorKey:"ui_148",overrideBackgroun
1dColorKey:"ui_149",onClickChip:function(){return f.push(Object(x.l)(w,{channelCode:T,pAppCode:D,labelId:e.id}))}})},e.id)})),I&&Object(U.jsx)(U.Fragment,{children:o.boardCategoryLabels.map((function(e){return Object(U.jsx)(xt,{children:Object(U.jsx)(s.D_Chip,{displayType:"information",text:e.name,onClickChip:function(){return f.push(Object(x.l)(P,{channelCode:T,pAppCode:D,categoryId:e.boardCategoryId,subCategoryId:e.id},{prevPath:"postDetail",postId:String(o.id)}))}})},e.id)}))})]})]})]}),p.postDetail.useBottomWidget&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_f"}),Object(U.jsx)(Me,{position:Le.BOTTOM,headerOption:p.postDetail.widgetHeaderAppearance,listOption:p.postDetail.widgetPostsAppearance,arrowOption:p.postDetail.widgetPaginationButtonAppearance,sortBy:p.postDetail.bottomWidgetSortBy,limit:p.postDetail.bottomWidgetLimit,title:p.postDetail.bottomWidgetTitle,useSticky:!1})]})]}),E&&Object(U.jsx)(U.Fragment,{children:Object(U.jsxs)(gt,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_f"}),c]})}),Object(U.jsx)(s.Spacing,{size:"spacing_g"})]}
1),p.postDetail.useRightWidget&&Object(U.jsx)("div",{children:Object(U.jsx)(Me,{position:Le.RIGHT,headerOption:p.postDetail.widgetHeaderAppearance,listOption:p.postDetail.widgetPostsAppearance,arrowOption:p.postDetail.widgetPaginationButtonAppearance,sortBy:p.postDetail.rightWidgetSortBy,limit:p.postDetail.rightWidgetLimit,title:p.postDetail.rightWidgetTitle,useSticky:p.postDetail.rightWidgetUseSticky})})]})}),j&&m&&Object(U.jsx)(Fe,{onClickLeft:j,onClickRight:m,isRightButtonActive:!!u,isLeftButtonActive:!!d})]})})},Ct=i(15),Tt=i(405),Dt=i(2755),St=i(589),vt=i(597),yt=i(590);var At=function(e){var t=e.authorId,i=e.lastCommentRef,n=e.comments,o=e.isLoading,c=void 0!==o&&o,a=e.usePin,l=e.useTopBottomSpacing,u=e.CommentAlertDialog,d=e.openCommentAlertDialog,p=e.handleClickConfirmCommentAlertDialog,b=e.handleClickCancelCommentAlertDialog,j=Object(Y.a)("translation").t,m=Object(r.d)(h.d),g=Object(r.d)(vt.a),O=Object(r.d)(St.b),f=Object(r.d)(yt.c),C=Object(Dt.a)(),T=C.ReportContent,D=C.openReportContentModal,S=Object(Tt.a)(),v=S.ModalDialog,y=S.setModalDialogMessage,A=S.setIsModalDialogOpen,E=x.b.isGuest();return Object(U.jsxs)(U.Fragment,{children:[c&&0===(null===n||void 0===n?void 0:n.length)&&Object(U.jsx)(_.x,{}),n&&n.length>0?Object(U.jsx)(U.Fragment,{children:Object(U.jsx)(_.f,{useTopBottomSpacing:l,children:n.map((function(e,o){var c,s=null===g||void 0===g||null===(c=g.find((function(t){return t.distinctId===e.profileDistinctId})))||void 0===c?void 0:c.distinctId,r=e.profileId===t,l=(e.profileDistinctId,null===m||void 0===m||m.channelProfile.distinctId,e.profileDistinctId===(null===m||void 0===m?void 0:m.channelProfile.distinctId)),u=e.profileDistinctId===s,p=l||u,b=e.profileDistinctId&&Boolean(O[e.profileDistinctId]),h=Boolean(f[e.id]);return Object(U.jsx)(_.g,{displayType:"moreBtn",contentDisplayType:b?"block":h?"hidden":"normal",content:e.content,avatarUrl:e.authorThumbnailSrc,nickname:e.author,nicknameBadgeMode:p?"use":"none",createdAt:e.insertedAt,distinctId:e.profileDistinctId,contextMenuItemArray:E?Ct.n:r?Ct.p:b?Ct.o:h?Ct.m:Ct.q,onClickContextMenuItem:function(t){var i;return function(e,t,i,n,o){switch(e.value){case"REPORT":if(p){y(j("str_6535")),A(!0);break}D(i,x.f.getPAppCode());break;case"DELETE":d(t,e.value,n,o);break;case"HIDE_COMMENT":if(p){y(j("str_6536")),A(!0);break}d(t,e.value,n,o);break;case"UNHIDE_COMMENT":d(t,e.value,n,o);break;case"BLOCK_USER":if(p){y(j("str_6537")),A(!0);break}d(t,e.value,n,o);break;case"UNBLOCK_USER":d(t,e.value,n,o)}}(t,e.id,e.content,e.author,null!==(i=e.profileDistinctId)&&void 0!==i?i:"")},ref:o===n.length-1?i:null,pinned:a&&e.pinned},e.id)}))})}):Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_g"}),Object(U.jsx)(s.D_TextLabel,{text:j("str_2172"),styleTheme:"body2Regular",colorTheme:"sysTextTertiary",textAlign:"center"}),Object(U.jsx)(s.Spacing,{size:"spacing_i"})]}),Object(U.jsx)(u,{onClickConfirm:p,onClickCancel:b}),Object(U.jsx)(v,{}),T]})},Et=ce.c.postDetailMounted,It=ce.c.fetchComments,Pt=ce.c.addComment,wt=ce.c.deleteComment,Bt=ce.c.postDetailUnMounted,Lt=ce.c.mountPostBanner,kt=ce.c.clickPostBanner,Ft={dataObjectType:"CUSTOM_DATA",dataObjectResourceName:"CustomSEOResource",customSEOResourceSchema:{title:"{{postTitle}}",description:"{{publishedAt}}. {{postContents}}",thumbnailSrc:"{postThumbnailSrc}",canonicalUrl:"{{canonicalUrl}}",ogTitle:"{{postTitle}}",ogDescription:"{{publishedAt}}. {{postContents}}"},keyMappingDefinition:{title:"title",description:"description",thumbnailSrc:"thumbnailSrc",canonicalUrl:"canonicalUrl",ogDescription:"ogDescription",ogTitle:"ogTitle"}};var Rt=function(e){var t=e.postId,i=e.pAppConfigs,n=Object(te.e)().userEntrywayForUse,o=Object(Y.a)("translation").t,c=Object(r.c)(),u=Object(l.k)(),d=Object(l.l)(),p=Object(ne.a)().get("prevPath"),b=d.state,j=Object(l.n)(T),h=Object(l.m)().channelCode,m=Object(r.d)(se.b),g=Object(r.d)(oe.c),O=g.isLoading,f=g.error,C=g.post,S=g.comments,v=g.pinnedComments,y=g.totalComments,A=Object(a.useState)(!1),E=Object(q.a)(A,2),I=E[0],P=E[1],w=Object(x.l)(D,{channelCode:h,pAppCode:x.f.getPAppCode(),postId:t}),B=C&&(!C.isCAP||C.isCAP&&!C.isLocked)?{title:null!==C&&void 0!==C&&C.postMeta?C.postMeta.metaTitle:C.title,de
1scription:null!==C&&void 0!==C&&C.postMeta?C.postMeta.metaDescription:o("str_seo_b00001_post_detail_desc",{publishedAt:ae.a.tz(C.publishedAt).format("YYYY-MM-DD"),postContents:Object(x.j)(C.content,150)}),ogTitle:null!==C&&void 0!==C&&C.postMeta?C.postMeta.ogTitle:C.title,ogDescription:null!==C&&void 0!==C&&C.postMeta?C.postMeta.ogDescription:o("str_seo_b00001_post_detail_desc",{publishedAt:ae.a.tz(C.publishedAt).format("YYYY-MM-DD"),postContents:Object(x.j)(C.content,150)}),thumbnailSrc:C.thumbnailSrc,canonicalUrl:null!==C&&void 0!==C&&C.postMeta?C.postMeta.canonicalUrl:""}:null,L=Object(a.useMemo)((function(){var e;return null!==C&&void 0!==C&&null!==(e=C.postMeta)&&void 0!==e&&e.slug?Object(x.l)(D,{channelCode:h,pAppCode:x.f.getPAppCode(),postId:C.postMeta.slug}):void 0}),[C]),k=Object(a.useMemo)((function(){return Number(String(t).split("-").pop())}),[t]);Object(ee.c)({manifest:Ft,isActivated:!0,data:B,options:{useChannelTitlePrefix:!0},useSlug:!!L,slugUrl:L,useTwitterTag:!0}),Object(a.useEffect)((function(){if(k)return c(Et({postId:k})),c(Object(ce.b)({postId:k,order:"ASC"})),function(){c(Bt())}}),[k]);var F=Object(a.useCallback)((function(e){k&&c(It({postId:k,page:e,pinned:!1}))}),[k]),R=Object(a.useCallback)((function(e){c(Pt({postId:k,content:e}))}),[k]),N=Object(a.useCallback)((function(e){c(wt({postId:k,commentId:e}))}),[k]),M=Object(ie.a)({isLoading:!1,comments:S,totalCommentsCount:y,handleDeleteComment:N,handleCreateComment:R,fetchCommentsByPage:F,deps:[k]}),z=M.lastCommentRef,W=M.handleClickSubmitComment,H=M.CommentAlertDialog,G=M.openCommentAlertDialog,X=M.handleClickConfirmCommentAlertDialog,V=M.handleClickCancelCommentAlertDialog;function K(){c(Bt())}function Z(){p?u.push("".concat(null===j||void 0===j?void 0:j.url,"?prevPath=").concat(p)):null!==b&&void 0!==b&&b.internal?u.goBack():j&&u.push(null===j||void 0===j?void 0:j.url)}if(!C||(null===O||void 0===O?void 0:O.type)===Et.type)return Object(U.jsxs)(U.Fragment,{children:[f&&Object(U.jsx)(Ae,{error:f,clearError:K}),Object(U.jsx)(_.y,{}),";"]});var $=function(){return Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(Nt,{children:Object(U.jsx)(s.Divider,{})}),Object(U.jsx)(_.b,{count:y}),Object(U.jsx)(_.c,{handleAddComment:W,isUserEntryway:!0}
1),Object(U.jsx)(s.Spacing,{size:"spacing_e"}),v.length>0&&Object(U.jsx)(At,{usePin:!0,useTopBottomSpacing:!1,authorId:m.id,comments:v,lastCommentRef:z,CommentAlertDialog:H,openCommentAlertDialog:G,handleClickConfirmCommentAlertDialog:X,handleClickCancelCommentAlertDialog:V}),Object(U.jsx)(At,{useTopBottomSpacing:!1,authorId:m.id,comments:S,lastCommentRef:z,CommentAlertDialog:H,openCommentAlertDialog:G,handleClickConfirmCommentAlertDialog:X,handleClickCancelCommentAlertDialog:V})]})};return Object(U.jsxs)(U.Fragment,{children:[f&&Object(U.jsx)(Ae,{error:f,clearError:K}),I&&Object(U.jsx)(Ie.a,{pAppCode:x.f.getPAppCode(),targetModel:"POST",targetId:C.id,redirectUrl:w,onClose:function(){c(Et({postId:k})),P(!1)},onSuccessNavigate:function(){u.push(w)}}),C.isCAP&&C.isLocked?Object(U.jsx)(ft,{post:C,pAppConfigs:i,handleClickBack:Z,onClickPurchase:n((function(){P(!0)})),comments:$()}):Object(U.jsx)(it,{post:C,pAppConfigs:i,handleMountBanner:function(e){c(Lt({linkDistinctId:e}))},handleClickBanner:function(e){c(kt({linkDistinctId:e}))},handleClickBack:Z,comments:$()})]})},Nt=M.default.div.withConfig({displayName:"S_Contents",componentId:"sc-ne8gdq-0"})(["margin-left:auto;margin-right:auto;padding-left:",";padding-right:",";"],(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),Mt=Se.b.fetchComments,Ut=Se.b.fetchPinnedComments,zt=Se.b.addComment,Wt=Se.b.deleteComment,Ht=Se.b.postDetailMounted,Gt=Se.b.postDetailUnMounted,Xt=Se.b.mountPostBanner,Yt=Se.b.clickPostBanner,Vt={dataObjectType:"CUSTOM_DATA",dataObjectResourceName:"CustomSEOResource",customSEOResourceSchema:{title:"{{postTitle}}",description:"{{publishedAt}}. {{postContents}}",thumbnailSrc:"{postThumbnailSrc}",canonicalUrl:"{{canonicalUrl}}",ogTitle:"{{postTitle}}",ogDescription:"{{publishedAt}}. {{postContents}}"},keyMappingDefinition:{title:"title",description:"description",thumbnailSrc:"thumbnailSrc",canonicalUrl:"canonicalUrl",ogDescription:"ogDescription",ogTitle:"ogTitle"}};var Kt=function(e){var t,i=e.postId,n=e.seriesId,o=e.pAppConfigs,c=Object(te.e)().userEntrywayForUse,u=Object(Y.a)("translation").t,d=Object(r.c)(),p=Object(l.k)(),b=Object(l.n)(v),j=Object(ne.a)(),h=j.get("prevPath"),m=j.get("sectionId"),g=Object(l.m)().channelCode,O=Object(r.d)(se.b),f=Object(a.useState)(!1),C=Object(q.a)(f,2),T=C[0],D=C[1],S=Object(x.l)(y,{channelCode:g,pAppCode:x.f.getPAppCode(),seriesId:n,postId:i}),A=Object(r.d)(oe.d),E=A.isLoading,I=A.error,P=A.post,w=A.comments,B=A.pinnedComments,L=A.totalComments,k=A.nextPostId,F=A.prevPostId,R=A.isPostNotFound,N=P&&(!P.isCAP||P.isCAP&&!P.isLocked)?{title:u("str_seo_b00001_post_detail_title",{postTitle:P.title,interpolation:{escapeValue:!1}}),description:u("str_seo_b00001_post_detail_desc",{publishedAt:ae.a.tz(P.publishedAt).format("YYYY-MM-DD"),postContents:Object(x.j)(P.content,150)}),thumbnailSrc:P.thumbnailSrc,ogTitle:null!==P&&void 0!==P&&P.postMeta?P.postMeta.ogTitle:P.title,ogDescription:null!==P&&void 0!==P&&P.postMeta?P.postMeta.ogDescription:u("str_seo_b00001_post_detail_desc",{publishedAt:ae.a.tz(P.publishedAt).format("YYYY-MM-DD"),postContents:Object(x.j)(P.content,150)}),canonicalUrl:null!==P&&void 0!==P&&P.postMeta?P.postMeta.canonicalUrl:""}:null,M=Object(a.useMemo)((function(){var e;return null!==P&&void 0!==P&&null!==(e=P.postMeta)&&void 0!==e&&e.slug?Object(x.l)(y,{channelCode:g,pAppCode:x.f.getPAppCode(),seriesId:n,postId:P.postMeta.slug}):void 0}),[null===P||void 0===P||null===(t=P.postMeta)||void 0===t?void 0:t.slug]),z=Object(a.useMemo)((function(){return Number(String(i).split("-").pop())}),[i]);Object(ee.c)({manifest:Vt,isActivated:!0,data:N,options:{useChannelTitlePrefix:!0},useSlug:!!M,slugUrl:M,useTwitterTag:!0}),Object(a.useEffect)((function(){return d(Ht({postId:z,seriesId:n})),d(Ut({postId:z,order:"ASC"})),function(){d(Gt())}}),[z,n,i]);var W=Object(a.useCallback)((function(e){d(Mt({postId:z,page:e,pinned:!1}))}),[z]),H=Object(a.useCallback)((function(e){d(zt({postId:z,content:e}))}),[z]),G=Object(a.useCallback)((function(e){d(Wt({postId:z,commentId:e}))}),[z]),X=Object(ie.a)({isLoading:!1,comments:w,totalCommentsCount:L,handleDeleteComment:G,handleCreateComment:H,fetchCommentsByPage:W,deps:[z]}),V=X.lastCommentRef,K=X.handleClickSubmitComment,Z=X.CommentAlertDialog,$=X.openCommentAlertDialog,J=X.handleClickConfirmCommentAlertDialog,Q=X.handleClickCancelC
1ommentAlertDialog;function ce(){F&&p.push("".concat(null===b||void 0===b?void 0:b.url,"/posts/").concat(F,"?prevPath=").concat(h).concat(m?"&sectionId=".concat(m):""))}function re(){k&&p.push("".concat(null===b||void 0===b?void 0:b.url,"/posts/").concat(k,"?prevPath=").concat(h).concat(m?"&sectionId=".concat(m):""))}function le(){h?p.push("".concat(null===b||void 0===b?void 0:b.url,"?prevPath=").concat(h).concat(m?"&sectionId=".concat(m):"")):p.push("".concat(null===b||void 0===b?void 0:b.url))}function ue(){d(Gt())}if(R)return Object(U.jsx)(lt,{isNextButtonActive:!!k,isPrevButtonActive:!!F,handleClickBack:le,handleClickLeft:ce,handleClickRight:re});if(!P||(null===E||void 0===E?void 0:E.type)===Ht.type)return Object(U.jsxs)(U.Fragment,{children:[I&&Object(U.jsx)(Ae,{error:I,clearError:ue,backTo:null===b||void 0===b?void 0:b.url}),Object(U.jsx)(_.y,{}),";"]});var de=function(){return Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(qt,{children:Object(U.jsx)(s.Divider,{})}),Object(U.jsx)(_.b,{count:L}),Object(U.jsx)(_.c,{handleAddComment:K,isUserEntryway:!0}
1),Object(U.jsx)(s.Spacing,{size:"spacing_e"}),B.length>0&&Object(U.jsx)(At,{usePin:!0,useTopBottomSpacing:!1,authorId:O.id,comments:B,lastCommentRef:V,CommentAlertDialog:Z,openCommentAlertDialog:$,handleClickConfirmCommentAlertDialog:J,handleClickCancelCommentAlertDialog:Q}),Object(U.jsx)(At,{useTopBottomSpacing:!1,authorId:O.id,comments:w,lastCommentRef:V,CommentAlertDialog:Z,openCommentAlertDialog:$,handleClickConfirmCommentAlertDialog:J,handleClickCancelCommentAlertDialog:Q})]})};return Object(U.jsxs)(U.Fragment,{children:[I&&Object(U.jsx)(Ae,{error:I,clearError:ue,backTo:null===b||void 0===b?void 0:b.url}),T&&Object(U.jsx)(Ie.a,{pAppCode:x.f.getPAppCode(),targetModel:"POST",targetId:P.id,redirectUrl:S,onClose:function(){d(Ht({postId:z,seriesId:n})),D(!1)},onSuccessNavigate:function(){p.push(S)}}),P.isCAP&&P.isLocked?Object(U.jsx)(ft,{post:P,pAppConfigs:o,isNextButtonActive:!!k,isPrevButtonActive:!!F,onClickPurchase:c((function(){D(!0)})),handleClickBack:le,handleClickLeft:ce,handleClickRight:re,comments:de()}):Object(U.jsx)(it,{post:P,pAppConfigs:o,isNextButtonActive:!!k,isPrevButtonActive:!!F,handleClickBanner:function(e){d(Yt({linkDistinctId:e}))},handleMountBanner:function(e){d(Xt({linkDistinctId:e}))},handleClickBack:le,handleClickLeft:ce,handleClickRight:re,comments:de()})]})},qt=M.default.div.withConfig({displayName:"S_Contents",componentId:"sc-1pb9v5j-0"})(["margin-left:auto;margin-right:auto;padding-left:",";padding-right:",";"],(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE}));var Zt=function(){var e=Object(l.m)(),t=e.pAppCode,i=e.postId,n=e.seriesId;Object(Q.b)("".concat(t,"PostDetail"),"".concat(t.toLowerCase(),"_post_detail"));var o=!!n,c=K();return o?Object(U.jsx)(Kt,{postId:i,seriesId:Number(n),pAppConfigs:c}):Object(U.jsx)(Rt,{postId:i,pAppConfigs:c})},$t=i(470),Jt=i(2774);var Qt=M.default.div.withConfig({displayName:"S_Contents",componentId:"sc-1nwboos-0"})(["display:flex;flex:1 1 auto;flex-direction:column;justify-content:space-between;padding-left:",";padding-right:",";padding-top:",";"],(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),ei=function(e){var t=e.title,i=e.smallCaptionLeft,n=e.smallCaptionRight,o=e.description,c=e.imgSrc;return Object(U.jsx)(Ce,{align:"vertical",children:c?Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.ImageView,{src:c,width:288,ratio:"4_3",scaleType:"cover",shapeType:"rectangle"}),Object(U.jsxs)(Qt,{children:[Object(U.jsx)(s.D_TextLabel,{text:t,styleTheme:"subTitleBold",ellipsisMode:"use",lineLimit:o?3:5}),o&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_d"}),Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"body2Regular",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:3})]}),(i||n)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px"},children:[i&&Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),n&&Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e"})]}):Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(Qt,{children:Object(U.jsxs)(le,{flex:!0,children:[Object(U.jsx)(s.D_TextLabel,{text:t,styleTheme:"subTitleBold",ellipsisMode:"use",lineLimit:4}),Object(U.jsx)(s.Spacing,{size:"spacing_d"}),Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"body2Regular",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:7})]})}),(i||n)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px",paddingLeft:"24px",paddingRight:"24px"},children:[i&&Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),n&&Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e"})]})})};var ti=M.default.div.withConfig({displayName:"S_Contents",componentId:"sc-18xxvgu-0"})(["display:flex;flex:1 1 auto;flex-direction:column;justify-content:space-between;position:relative;width:",";"],(function(e){var t=e.theme;return e.imgSrc?"calc(100% - 164px - ".concat(t.spacing.spacingE,")"):"100%"})),ii=function(e){var t,i=e.title,n=e.contents,o=e.smallCaptionLeft,c=e.smallCaptionRight,a=e.imgSrc,r=e.isPublished,l=Object(Y.a)("translation").t;return r?Object(U.jsxs)(Ce,{align:"horizontal",children:[Object(U.jsxs)(ti,{imgSrc:a,children:[Object(U.jsxs)(le,{children:[Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"subTitleBold",colorTheme:"sysTextPrimary"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"}),n&&Object(U.jsx)(s.D_TextLabel,{text:(t=n,(new DOMParser).parseFromString(t,"text/html").documentElement.textContent),styleTheme:"body2Regular",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:3})]}),(o||c)&&Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px"},children:[o&&Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),c&&Object(U.jsx)(s.D_TextLabel,{text:c,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e",spacingType:"width"}),a&&Object(U.jsx)(s.ImageView,{src:a,width:164,noImageHeight:164,noImageWidth:164,ratio:"1_1",scaleType:"cover"})]}):Object(U.jsxs)(Ce,{align:"horizontal",children:[Object(U.jsxs)(ti,{children:[Object(U.jsxs)(ue,{children:[Object(U.jsx)(s.Icon,{iconName:"ic_lock",size:24,colorKey:"ui_temp_grey_02"}),Object(U.jsx)(s.Spacing,{size:"spacing_b",spacingType:"width"}),Object(U.jsx)(s.D_TextLabel,{text:l("str_3106"),styleTheme:"subTitleBold",colorTheme:"sysTextSecondary"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"})]}),Object(U.jsx)(ue,{})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e",spacingType:"width"})]})};var ni=M.default.div.withConfig({displayName:"S_ImageWrapper",componentId:"sc-mnvcq3-0"})(["margin-right:40px;"]),oi=function(e){var t=e.title,i=e.description,n=e.imgSrc,o=e.smallCaptionLeft,c=e.smallCaptionRight;return Object(U.jsxs)(ue,{children:[n&&Object(U.jsx)(ni,{children:Object(U.jsx)(s.ImageView,{src:n,shapeType:"round",radius:24,width:282,ratio:"3_2",scaleType:"cover"})}),Object(U.jsxs)(le,{children:[Object(U.jsx)(s.D_TextLabel,{text:t,customFontSize:"28px",customFontWeight:"bold",ellipsisMode:"use",lineLimit:i?2:3,wordBreak:"break_all"}),i&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_c"}
1),Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"body1Regular",ellipsisMode:"use",colorTheme:"sysTextSecondary",lineLimit:2,wordBreak:"break_all"})]}),(o||c)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_d"}),Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px"},children:[o&&Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),c&&Object(U.jsx)(s.D_TextLabel,{text:c,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]})]})]})};var ci=M.default.div.withConfig({displayName:"DimmedOverlay",componentId:"sc-1e1l5e6-0"})(["background-color:",";border-radius:24px;height:100%;position:absolute;width:100%;"],(function(e){return e.theme.ui_61})),si=M.default.div.withConfig({displayName:"S_ImageBox",componentId:"sc-1e1l5e6-1"})(["margin-right:40px;position:relative;"]),ai=M.default.div.withConfig({displayName:"S_AbsoluteBox",componentId:"sc-1e1l5e6-2"})(["display:flex;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);"]),ri=function(e){var t=e.title,i=e.imgSrc,n=e.smallCaptionLeft,o=e.smallCaptionRight,c=Object(Y.a)("translation").t;return Object(U.jsxs)(ue,{children:[i&&Object(U.jsxs)(si,{children:[Object(U.jsx)(ci,{}),Object(U.jsx)(ai,{children:Object(U.jsx)(s.Icon,{iconName:"ic_lock",size:48,colorKey:"ui_cpnt_icon_sys_white"})}),Object(U.jsx)(s.ImageView,{src:i,radius:24,shapeType:"round",width:282,ratio:"3_2",scaleType:"cover",backgroundFillMode:"use"})]}),Object(U.jsxs)(le,{children:[Object(U.jsx)(s.D_TextLabel,{text:t,customFontSize:"28px",customFontWeight:"bold",ellipsisMode:"use",lineLimit:2,wordBreak:"break_all"}),Object(U.jsx)(s.Spacing,{size:"spacing_c"}),Object(U.jsx)(s.D_TextLabel,{text:c("str_3659"),styleTheme:"body1Regular",ellipsisMode:"use",colorTheme:"sysTextSecondary",lineLimit:3,wordBreak:"break_all"}),(n||o)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_d"}),Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px"},children:[n&&Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),o&&Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]})]})]})};var li=M.default.div.withConfig({displayName:"S_ImageWrapper",componentId:"sc-1kf9cch-0"})(["margin-right:24px;"]),ui=function(e){var t=e.title,i=e.description,n=e.imgSrc,o=e.smallCaptionLeft,c=e.smallCaptionRight;return Object(U.jsxs)(ue,{children:[n&&Object(U.jsx)(li,{children:Object(U.jsx)(s.ImageView,{src:n,shapeType:"rectangle",radius:24,width:180,ratio:"1_1",scaleType:"cover",backgroundFillMode:"use"})}),Object(U.jsxs)(le,{children:[Object(U.jsx)(s.D_TextLabel,{text:t,customFontSize:"24px",customFontWeight:"bold",ellipsisMode:"use",lineLimit:i?2:3,wordBreak:"break_all"}),i&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_c"}),Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"body2Regular",ellipsisMode:"use",colorTheme:"sysTextSecondary",lineLimit:2,wordBreak:"break_all"})]}),(o||c)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_d"}),Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px"},children:[o&&Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),c&&Object(U.jsx)(s.D_TextLabel,{text:c,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]})]})]})};var di=M.default.div.withConfig({displayName:"DimmedOverlay",componentId:"sc-gr9cdh-0"})(["background-color:",";height:100%;position:absolute;width:100%;"],(function(e){return e.theme.ui_61})),pi=M.default.div.withConfig({displayName:"S_ImageBox",componentId:"sc-gr9cdh-1"})(["margin-right:24px;position:relative;"]),bi=M.default.div.withConfig({displayName:"S_AbsoluteBox",componentId:"sc-gr9cdh-2"})(["display:flex;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);"]),ji=function(e){var t=e.title,i=e.imgSrc,n=e.smallCaptionLeft,o=e.smallCaptionRight,c=Object(Y.a)("translation").t;return Object(U.jsxs)(ue,{children:[i&&Object(U.jsxs)(pi,{children:[Object(U.jsx)(di,{}
1),Object(U.jsx)(bi,{children:Object(U.jsx)(s.Icon,{iconName:"ic_lock",size:48,colorKey:"ui_cpnt_icon_sys_white"})}),Object(U.jsx)(s.ImageView,{src:i,shapeType:"rectangle",radius:24,width:180,ratio:"1_1",scaleType:"cover",backgroundFillMode:"use"})]}),Object(U.jsxs)(le,{children:[Object(U.jsx)(s.D_TextLabel,{text:t,customFontSize:"24px",customFontWeight:"bold",ellipsisMode:"use",lineLimit:2,wordBreak:"break_all"}),Object(U.jsx)(s.Spacing,{size:"spacing_c"}),Object(U.jsx)(s.D_TextLabel,{text:c("str_3659"),styleTheme:"body1Regular",ellipsisMode:"use",colorTheme:"sysTextSecondary",lineLimit:3,wordBreak:"break_all"}),(n||o)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_d"}),Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px"},children:[n&&Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),o&&Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]})]})]})};var hi=M.default.div.withConfig({displayName:"S_Container",componentId:"sc-10sddhc-0"})(["display:flex;min-width:960px;"]),mi=M.default.div.withConfig({displayName:"S_SeriesInfo",componentId:"sc-10sddhc-1"})(["max-width:480px;width:480px;"]),gi=M.default.div.withConfig({displayName:"S_CoverImg",componentId:"sc-10sddhc-2"})(["max-width:384px;width:384px;"]),_i=M.default.div.withConfig({displayName:"S_Captions",componentId:"sc-10sddhc-3"})(["display:grid;gap:8px;grid-template-columns:minmax(0px,max-content) max-content;"]),xi=function(e){var t=e.title,i=e.description,n=e.imgSrc,o=e.smallCaptionLeft,c=e.smallCaptionRight,a=e.buttonText,r=e.onClickButton;return Object(U.jsxs)(hi,{children:[Object(U.jsxs)(mi,{children:[Object(U.jsx)(s.D_TextLabel,{text:t,styleTheme:"displayBold",lineLimit:i?2:3,ellipsisMode:"use"}),Object(U.jsx)(s.Spacing,{size:"spacing_c"}),i&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"body1Regular",lineLimit:2,ellipsisMode:"use"}),Object(U.jsx)(s.Spacing,{size:"spacing_c"})]}),(o||c)&&Object(U.jsxs)(_i,{children:[o&&Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"caption1Regular",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),c&&Object(U.jsx)(s.D_TextLabel,{text:c,styleTheme:"caption1Regular",colorTheme:"sysTextSecondary"})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsx)(s.D_MainButton,{text:a,onClick:r})]}),Object(U.jsx)(s.Spacing,{size:"spacing_g",spacingType:"width"}),Object(U.jsx)(gi,{children:Object(U.jsx)(s.ImageView,{src:n,height:288,width:"responsive",shapeType:"rectangle",scaleType:"cover",backgroundFillMode:"use"})})]})};var Oi=M.default.div.withConfig({displayName:"S_Contents",componentId:"sc-12eo7yl-0"})(["display:flex;flex:1 1 auto;flex-direction:column;justify-content:space-between;position:relative;width:",";"],(function(e){var t=e.theme;return e.imgSrc?"calc(100% - 164px - ".concat(t.spacing.spacingE,")"):"100%"})),fi=M.default.div.withConfig({displayName:"DimmedOverlay",componentId:"sc-12eo7yl-1"})(["background-color:",";border-radius:8px;height:100%;position:absolute;width:100%;"],(function(e){return e.theme.ui_61})),Ci=M.default.div.withConfig({displayName:"S_ImageBox",componentId:"sc-12eo7yl-2"})(["position:relative;"]),Ti=M.default.div.withConfig({displayName:"S_AbsoluteBox",componentId:"sc-12eo7yl-3"})(["left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);"]),Di=function(e){var t=e.title,i=e.smallCaptionLeft,n=e.smallCaptionRight,o=e.imgSrc,c=e.isPublished,a=Object(Y.a)("translation").t;return c?Object(U.jsxs)(Ce,{align:"horizontal",children:[Object(U.jsxs)(Oi,{imgSrc:o,children:[Object(U.jsxs)(le,{children:[Object(U.jsx)(s.D_TextLabel,{text:t,styleTheme:"subTitleBold",colorTheme:"sysTextPrimary"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"}),Object(U.jsx)(s.D_TextLabel,{text:a("str_3659"),styleTheme:"body2Regular",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:3})]}),(i||n)&&Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px"},children:[i&&Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),n&&Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e",spacingType:"width"}),o&&Object(U.jsxs)(Ci,{children:[Object(U.jsx)(fi,{}),Object(U.jsx)(Ti,{children:Object(U.jsx)(s.Icon,{iconName:"ic_lock",size:48,colorKey:"ui_cpnt_icon_sys_white"})}),Object(U.jsx)(s.ImageView,{src:o,width:164,noImageHeight:164,noImageWidth:164,ratio:"1_1",scaleType:"cover"})]})]}):Object(U.jsxs)(Ce,{align:"horizontal",children:[Object(U.jsxs)(Oi,{children:[Object(U.jsxs)(ue,{children:[Object(U.jsx)(s.Icon,{iconName:"ic_lock",size:24,colorKey:"ui_temp_grey_02"}),Object(U.jsx)(s.Spacing,{size:"spacing_b",spacingType:"width"}),Object(U.jsx)(s.D_TextLabel,{text:a("str_3106"),styleTheme:"subTitleBold",colorTheme:"sysTextSecondary"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"})]}),Object(U.jsx)(ue,{})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e",spacingType:"width"})]})};function Si(e){var t;return null!==(t=(new DOMParser).parseFromString(e,"text/html").documentElement.textContent)&&void 0!==t?t:""}function vi(e){return ae.a.tz(e).format("YYYY-MM-DD")}var yi=Pe.a.fetchCreators;function Ai(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.posts,o=e.onClickPostCard,c=e.postsTabName,l=Object(r.c)(),u=Object(r.d)(h.d),d=null===u||void 0===u?void 0:u.channelProfile,p=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){l(yi())}),[]),Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(Ii,{children:Object(U.jsx)(s.D_TextLabel,{text:c,styleTheme:"displayBold",colorTheme:"sysTextPrimary"})}),n.length>0&&n.map((function(e){var n;if((null===d||void 0===d?void 0:d.id)===e.profileId&&(n=d.nickname),p){var c=p.find((function(t){return t.id===e.profileId}));c&&(n=c.nickname)}return Object(U.jsx)(Ei,{onClick:function(){return o(e.id)},children:null!==e&&void 0!==e&&e.isCAP&&null!==e&&void 0!==e&&e.isLocked?Object(U.jsx)(Di,{title:e.title,smallCaptionLeft:t?n||e.author:"",smallCaptionRight:i?vi(e.publishedAt):"",imgSrc:e.thumbnailSrc,isPublished:e.isPublished}):Object(U.jsx)(ii,{title:e.title,contents:Si(e.content),smallCaptionLeft:t?n||e.author:"",smallCaptionRight:i?vi(e.publishedAt):"",imgSrc:e.thumbnailSrc,isPublished:e.isPublished})},e.id)}))]})}var Ei=M.default.div.withConfig({displayName:"S_PostWrapper",componentId:"sc-1do6rz5-0"})(["margin-top:",";"],(function(e){return e.theme.spacing.spacingD})),Ii=M.default.div.withConfig({displayName:"S_TitleWrapper",componentId:"sc-1do6rz5-1"})(["margin-bottom:",";"],(function(e){return e.theme.spacing.spacingG})),Pi=Pe.a.fetchCreators;var wi=M.default.div.withConfig({displayName:"S_TitleWrapper",componentId:"sc-1v2ox4p-0"})(["margin-bottom:",";"],(function(e){return e.theme.spacing.spacingG})),Bi=M.default.div.withConfig({displayName:"S_PostWrapper",componentId:"sc-1v2ox4p-1"})(["cursor:pointer;margin-top:",";"],(function(e){return e.isFirst?0:"80px"})),Li=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.posts,o=e.onClickPostCard,c=e.postsTabName,l=Object(r.c)(),u=Object(r.d)(h.d),d=null===u||void 0===u?void 0:u.channelProfile,p=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){l(Pi())}),[]),Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(wi,{children:Object(U.jsx)(s.D_TextLabel,{text:c,styleTheme:"displayBold",colorTheme:"sysTextPrimary"})}),n.map((function(e,n){var c;if((null===d||void 0===d?void 0:d.id)===e.profileId&&(c=d.nickname),p){var s=p.find((function(t){return t.id===e.profileId}));s&&(c=s.nickname)}return Object(U.jsx)(Bi,{onClick:function(){return o(e.id)},isFirst:0===n,children:null!==e&&void 0!==e&&e.isCAP&&null!==e&&void 0!==e&&e.isLocked?Object(U.jsx)(ri,{title:e.title,smallCaptionLeft:t?c||e.author:"",smallCaptionRight:i?vi(e.publishedAt):"",imgSrc:e.thumbnailSrc}
1):Object(U.jsx)(oi,{title:e.title,description:Si(e.content),smallCaptionLeft:t?c||e.author:"",smallCaptionRight:i?vi(e.publishedAt):"",imgSrc:e.thumbnailSrc})},e.id)}))]})},ki=Pe.a.fetchCreators;var Fi=M.default.div.withConfig({displayName:"S_TitleWrapper",componentId:"sc-vbdzhm-0"})(["margin-bottom:",";"],(function(e){return e.theme.spacing.spacingG})),Ri=M.default.div.withConfig({displayName:"S_PostWrapper",componentId:"sc-vbdzhm-1"})(["cursor:pointer;margin-top:",";"],(function(e){return e.isFirst?0:"40px"})),Ni=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.posts,o=e.onClickPostCard,c=e.postsTabName,l=Object(r.c)(),u=Object(r.d)(h.d),d=null===u||void 0===u?void 0:u.channelProfile,p=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){l(ki())}),[]),Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(Fi,{children:Object(U.jsx)(s.D_TextLabel,{text:c,styleTheme:"displayBold",colorTheme:"sysTextPrimary"})}),n.map((function(e,n){var c;if((null===d||void 0===d?void 0:d.id)===e.profileId&&(c=d.nickname),p){var s=p.find((function(t){return t.id===e.profileId}));s&&(c=s.nickname)}return Object(U.jsx)(Ri,{onClick:function(){return o(e.id)},isFirst:0===n,children:null!==e&&void 0!==e&&e.isCAP&&null!==e&&void 0!==e&&e.isLocked?Object(U.jsx)(ji,{title:e.title,smallCaptionLeft:t?c||e.author:"",smallCaptionRight:i?vi(e.publishedAt):"",imgSrc:e.thumbnailSrc}):Object(U.jsx)(ui,{title:e.title,description:Si(e.content),smallCaptionLeft:t?c||e.author:"",smallCaptionRight:i?vi(e.publishedAt):"",imgSrc:e.thumbnailSrc})},e.id)}))]})};var Mi=M.default.div.withConfig({displayName:"S_Container",componentId:"sc-1il7p1e-0"})(["display:flex;min-width:960px;"]),Ui=M.default.div.withConfig({displayName:"S_SeriesInfo",componentId:"sc-1il7p1e-1"})(["max-width:480px;width:480px;"]),zi=M.default.div.withConfig({displayName:"S_CoverImg",componentId:"sc-1il7p1e-2"})(["max-width:384px;width:384px;"]),Wi=M.default.div.withConfig({displayName:"S_Captions",componentId:"sc-1il7p1e-3"})(["display:grid;gap:8px;grid-template-columns:minmax(0px,max-content) max-content;"]),Hi=M.default.div.withConfig({displayName:"DimmedOverlay",componentId:"sc-1il7p1e-4"})(["background-color:",";height:100%;position:absolute;width:100%;"],(function(e){return e.theme.ui_61})),Gi=M.default.div.withConfig({displayName:"S_ImageBox",componentId:"sc-1il7p1e-5"})(["position:relative;"]),Xi=M.default.div.withConfig({displayName:"S_AbsoluteBox",componentId:"sc-1il7p1e-6"})(["display:flex;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);"]),Yi=function(e){var t=e.title,i=e.imgSrc,n=e.smallCaptionLeft,o=e.smallCaptionRight,c=e.buttonText,a=e.onClickButton,r=Object(Y.a)("translation").t;return Object(U.jsxs)(Mi,{children:[Object(U.jsxs)(Ui,{children:[Object(U.jsx)(s.D_TextLabel,{text:t,styleTheme:"displayBold",lineLimit:2,ellipsisMode:"use"}),Object(U.jsx)(s.Spacing,{size:"spacing_c"}),Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.D_TextLabel,{text:r("str_3659"),styleTheme:"body1Regular",lineLimit:3,ellipsisMode:"use"}),Object(U.jsx)(s.Spacing,{size:"spacing_c"})]}),(n||o)&&Object(U.jsxs)(Wi,{children:[n&&Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"caption1Regular",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),o&&Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"caption1Regular",colorTheme:"sysTextSecondary"})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsx)(s.D_MainButton,{text:c,onClick:a})]}),Object(U.jsx)(s.Spacing,{size:"spacing_g",spacingType:"width"}),Object(U.jsx)(zi,{children:Object(U.jsxs)(Gi,{children:[i&&Object(U.jsx)(Hi,{}),Object(U.jsx)(Xi,{children:Object(U.jsx)(s.Icon,{iconName:"ic_lock",size:48,colorKey:"ui_cpnt_icon_sys_white"})}),Object(U.jsx)(s.ImageView,{src:i,height:288,width:"responsive",shapeType:"rectangle",scaleType:"cover",backgroundFillMode:"use"})]})})]})},Vi=Pe.a.fetchCreators;var Ki=M.default.div.withConfig({displayName:"S_Card",componentId:"sc-yiccls-0"})(["margin-bottom:",";"],(function(e){return e.theme.spacing.spacingI})),qi=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.posts,o=e.onClickPostCard,c=Object(Y.a)("translation").t,s=Object(r.c)(),l=Object(r.d)(h.d),u=null===l||void 0===l?void 0:l.channelProfile,d=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){s(Vi())}),[]),Object(U.jsx)(U.Fragment,{children:n.map((function(e){var n;if((null===u||void 0===u?void 0:u.id)===e.profileId&&(n=u.nickname),d){var s=d.find((function(t){return t.id===e.profileId}));s&&(n=s.nickname)}return Object(U.jsx)(Ki,{children:null!==e&&void 0!==e&&e.isCAP&&null!==e&&void 0!==e&&e.isLocked?Object(U.jsx)(Yi,{title:e.title,imgSrc:e.thumbnailSrc,smallCaptionLeft:t?n||e.author:"",smallCaptionRight:i?vi(e.publishedAt):"",buttonText:c("str_4266"),onClickButton:function(){return o(e.id)}}):Object(U.jsx)(xi,{title:e.title,imgSrc:e.thumbnailSrc,description:Si(e.content),smallCaptionLeft:t?n||e.author:"",smallCaptionRight:i?vi(e.publishedAt):"",buttonText:c("str_4266"),onClickButton:function(){return o(e.id)}})},e.id)}))})};var Zi=M.default.div.withConfig({displayName:"S_Contents",componentId:"sc-1iv28n6-0"})(["display:flex;flex:1 1 auto;flex-direction:column;justify-content:space-between;padding-left:",";padding-right:",";padding-top:",";"],(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),$i=M.default.div.withConfig({displayName:"DimmedOverlay",componentId:"sc-1iv28n6-1"})(["background-color:",";height:100%;position:absolute;width:100%;"],(function(e){return e.theme.ui_61})),Ji=M.default.div.withConfig({displayName:"S_ImageBox",componentId:"sc-1iv28n6-2"})(["border-radius:24px 24px 0 0;overflow:hidden;position:relative;"]),Qi=M.default.div.withConfig({displayName:"S_AbsoluteBox",componentId:"sc-1iv28n6-3"})(["display:flex;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);"]),en=function(e){var t=e.title,i=e.smallCaptionLeft,n=e.smallCaptionRight,o=e.imgSrc,c=Object(Y.a)("translation").t;return Object(U.jsx)(Ce,{align:"vertical",children:o?Object(U.jsxs)(U.Fragment,{children:[Object(U.jsxs)(Ji,{children:[o&&Object(U.jsx)($i,{}),Object(U.jsx)(Qi,{children:Object(U.jsx)(s.Icon,{iconName:"ic_lock",size:48,colorKey:"ui_cpnt_icon_sys_white"})}),Object(U.jsx)(s.ImageView,{src:o,width:288,ratio:"4_3",scaleType:"cover",shapeType:"rectangle"})]}),Object(U.jsxs)(Zi,{children:[Object(U.jsxs)(le,{children:[Object(U.jsx)(s.D_TextLabel,{text:t,styleTheme:"subTitleBold",ellipsisMode:"use",lineLimit:3}),Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsx)(s.D_TextLabel,{text:c("str_3659"),styleTheme:"body2Regular",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:7})]}),(i||n)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px"},children:[i&&Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),n&&Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e"})]}):Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(Zi,{children:Object(U.jsxs)(le,{flex:!0,children:[Object(U.jsx)(s.D_TextLabel,{text:t,styleTheme:"subTitleBold",ellipsisMode:"use",lineLimit:4}),Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsx)(s.D_TextLabel,{text:c("str_3659"),styleTheme:"body2Regular",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:7})]})}),(i||n)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px",paddingLeft:"24px",paddingRight:"24px"},children:[i&&Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),n&&Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e"})]})})},tn=Pe.a.fetchCreators;var nn=M.default.div.withConfig({displayName:"S_Grid",componentId:"sc-ybghu6-0"})(["display:grid;gap:",";grid-template-columns:repeat(3,288px);"],(function(e){return e.theme.spacing.spacingE})),on=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.posts,o=e.onClickPostCard,c=e.postsTabName,l=Object(r.c)(),u=Object(r.d)(h.d),d=null===u||void 0===u?void 0:u.channelProfile,p=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){l(tn())}),[]),Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.D_TextLabel,{text:c,styleTheme:"displayBold",colorTheme:"sysTextPrimary"}),Object(U.jsx)(s.Spacing,{size:"spacing_g"}),Object(U.jsx)(nn,{children:n.map((function(e){var n;if((null===d||void 0===d?void 0:d.id)===e.profileId&&(n=d.nickname),p){var c=p.find((function(t){return t.id===e.profileId}));c&&(n=c.nickname)}return Object(U.jsx)("div",{onClick:function(){return o(e.id)},children:null!==e&&void 0!==e&&e.isCAP&&null!==e&&void 0!==e&&e.isLocked?Object(U.jsx)(en,{title:e.title,smallCaptionLeft:t?n||e.author:"",smallCaptionRight:i?vi(e.publishedAt):"",imgSrc:e.thumbnailSrc}
1):Object(U.jsx)(ei,{title:e.title,description:Si(e.content),smallCaptionLeft:t?n||e.author:"",smallCaptionRight:i?vi(e.publishedAt):"",imgSrc:e.thumbnailSrc})},e.id)}))})]})};var cn=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.templateName,o=e.templateProps;switch(n){case"LIST_A":return Object(U.jsx)(Ai,Object(G.a)({isAuthorShow:t,isPublishedAtShow:i},o));case"LIST_B":return Object(U.jsx)(Li,Object(G.a)({isAuthorShow:t,isPublishedAtShow:i},o));case"LIST_C":return Object(U.jsx)(Ni,Object(G.a)({isAuthorShow:t,isPublishedAtShow:i},o));case"FOCUS_IMAGE":return Object(U.jsx)(qi,Object(G.a)({isAuthorShow:t,isPublishedAtShow:i},o));case"CARD_GRID":default:return Object(U.jsx)(on,Object(G.a)({isAuthorShow:t,isPublishedAtShow:i},o))}},sn=$t.b.postsPageChanged,an=$t.b.postsUnMounted,rn={dataObjectType:"CUSTOM_DATA",dataObjectResourceName:"CustomSEOResource",customSEOResourceSchema:{title:"{{menuName}}",description:"{{channelName}}\uc758 \ud3ec\uc2a4\ud2b8\ub97c \ub458\ub7ec\ubcf4\uc138\uc694."},keyMappingDefinition:{title:"title",description:"description"}};var ln=M.default.div.withConfig({displayName:"S_Content1Box",componentId:"sc-13lnjip-0"})(["",""],(function(e){return e.isPostProtection&&Be.a})),un=M.default.div.withConfig({displayName:"S_Content2",componentId:"sc-13lnjip-1"})([""," padding-left:",";padding-right:",";"],(function(e){return e.isPostProtection&&Be.a}),(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),dn=M.default.div.withConfig({displayName:"S_TitleWrapper",componentId:"sc-13lnjip-2"})(["margin-bottom:",";"],(function(e){return e.theme.spacing.spacingG})),pn=function(){var e;Object(Q.b)("".concat(x.f.getPAppCode(),"Posts"),"".concat(x.f.getPAppCode().toLowerCase(),"_posts"));var t=Object(te.e)().userEntrywayForUse,i=Object(Y.a)("translation").t,n=Object(r.d)(h.c),o=Object(r.d)(oe.e),c=o.error,u=o.isLoading,d=o.posts,p=o.totalPosts,b=Object(l.n)(T),j=Object(r.c)(),m=Object(l.k)(),g=Object(ne.a)(),O=g.get("page")?Number(g.get("page")):1,f=g.get("limit")?Number(g.get("limit")):null,C=Math.ceil(p/(null!==f&&void 0!==f?f:0)),D=K(),S=D.postsTemplateName,v=D.resources,y=D.isPostProtection,A=D.postsTabName,E=D.isPostAuthorShow,I=D.isPostPublishedAtShow,P=J().tabs,w=n?{title:i("str_seo_b00001_posts_title",{menuName:n.pAppCodeMenuItemNameSet[x.f.getPAppCode()],interpolation:{escapeValue:!1}}),description:i("str_seo_b00001_posts_desc",{channelName:n.title,interpolation:{escapeValue:!1}})}:null;return Object(ee.c)({manifest:rn,isActivated:!0,data:w,options:{useChannelTitlePrefix:!0}}),Object(a.useEffect)((function(){return function(){j(an())}}),[]),Object(a.useEffect)((function(){null!==f?j(sn({page:O,limit:f,sortBy:"published_at"})):m.replace(Object(Jt.a)(null===b||void 0===b?void 0:b.url,{page:1,limit:S&&$.a[S]||5}))}),[O,f]),Object(U.jsx)(U.Fragment,{children:Object(U.jsx)(s.WTContainersBox,{layoutType:P.length>1?"WTT_2":"WTS_2",pageMenuContent:Object(U.jsx)(re,{}),isLoadingContainer1:(null===u||void 0===u?void 0:u.type)===sn.type,content1:null!==v&&void 0!==v&&null!==(e=v.hero)&&void 0!==e&&e.use?Object(U.jsx)(ln,{isPostProtection:y,children:Object(U.jsx)(xe,{imgSrc:v.hero.resourceSrc,title:v.hero.title,desc:v.hero.description})}):Object(U.jsx)(U.Fragment,{}),content2:Object(U.jsxs)(un,{isPostProtection:y,children:[c&&Object(U.jsx)(Ae,{error:c,clearError:function(){j(an())}}),d.length?Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(cn,{isAuthorShow:E,isPublishedAtShow:I,templateName:S,templateProps:{pAppResources:v,posts:d,postsTabName:A,onClickPostCard:function(e){t((function(){m.push("".concat(null===b||void 0===b?void 0:b.url,"/").concat(e),{internal:!0})}),"GUEST_OPEN_WHEN_PUBLIC_OPEN")()}}}),Object(U.jsx)(_.C,{currentPage:O,totalPageCount:C,onNext:function(){C<=O||!b||m.push(Object(Jt.a)(null===b||void 0===b?void 0:b.url,{page:O+1,limit:f}))},onPrev:function(){O<=1||!b||m.push(Object(Jt.a)(null===b||void 0===b?void 0:b.url,{page:O-1,limit:f}))}})]}):Object(U.jsxs)(U.Fragment,{children:["FOCUS_IMAGE"!==S&&Object(U.jsx)(dn,{children:Object(U.jsx)(s.D_TextLabel,{text:i("str_posts"),styleTheme:"displayBold",colorTheme:"sysTextPrimary"})}),Object(U.jsx)(De,{text:i("str_2902")})]})]})})})};function bn(){var e=Object(l.m)().channelCode,t=J(),i=t.firstTab,n=t.isPostsTabActive,o=i||Object(f.U)(e);return Object(U.jsxs)(l.g,{children:[n&&Object(U.jsx)(l.d,{exact:!0,path:T,render:function(){return Object(U.jsx)(H,{children:Object(U.jsx)(pn,{})})}}),Object(U.jsx)(u.l,{exact:!0,path:D,option:"GUEST_OPEN_WHEN_PUBLIC_OPEN",render:function(){return Object(U.jsx)(H,{children:Object(U.jsx)(Zt,{})})}}),Object(U.jsx)(l.c,{to:o})]})}var jn=i(471),hn=i(60);function mn(e){return ae.a.tz(e).format("YYYY-MM-DD")}var gn=Pe.a.fetchCreators;function _n(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.series,o=e.seriesTabName,c=Object(r.c)(),u=Object(l.n)(S),d=Object(r.d)(h.d),p=null===d||void 0===d?void 0:d.channelProfile,b=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){c(gn())}),[]),Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(xn,{children:Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"displayBold",colorTheme:"sysTextPrimary"})}),Object(U.jsx)(U.Fragment,{children:n.map((function(e){var n,o;if((null===p||void 0===p?void 0:p.id)===e.profileId&&(o=p.nickname),b){var c=b.find((function(t){return t.id===e.profileId}));c&&(o=c.nickname)}return Object(U.jsx)(On,{children:Object(U.jsx)(hn.Link,{to:{pathname:"".concat(null===u||void 0===u?void 0:u.url,"/").concat(e.id),state:{internal:!0}},children:Object(U.jsx)(ii,{title:e.title,contents:null!==(n=e.description)&&void 0!==n?n:"",smallCaptionLeft:t?o||e.author:"",smallCaptionRight:i?mn(e.publishedAt):"",imgSrc:e.thumbnailSrc,isPublished:e.isPublished})})},e.id)}))})]})}var xn=M.default.div.withConfig({displayName:"S_SeriesTitleBox",componentId:"sc-14brrv1-0"})(["margin-bottom:",";margin-top:",";"],(function(e){return e.theme.spacing.spacingG}),(function(e){return e.theme.spacing.spacingG})),On=M.default.div.withConfig({displayName:"S_Card",componentId:"sc-14brrv1-1"})(["margin-top:",";"],(function(e){return e.theme.spacing.spacingD})),fn=Pe.a.fetchCreators;var Cn=M.default.div.withConfig({displayName:"S_SeriesWrapper",componentId:"sc-1hoi5v9-0"})(["margin-top:",";"],(function(e){return e.isFirst?0:"80px"})),Tn=M.default.div.withConfig({displayName:"S_SeriesTitleBox",componentId:"sc-1hoi5v9-1"})(["margin-bottom:",";margin-top:",";"],(function(e){return e.theme.spacing.spacingG}),(function(e){return e.theme.spacing.spacingG})),Dn=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.series,o=e.seriesTabName,c=Object(r.c)(),u=Object(l.n)(S),d=Object(r.d)(h.d),p=null===d||void 0===d?void 0:d.channelProfile,b=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){c(fn())}),[]),Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(Tn,{children:Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"displayBold",colorTheme:"sysTextPrimary"})}),n.map((function(e,n){var o,c;if((null===p||void 0===p?void 0:p.id)===e.profileId&&(c=p.nickname),b){var s=b.find((function(t){return t.id===e.profileId}));s&&(c=s.nickname)}return Object(U.jsx)(hn.Link,{to:{pathname:"".concat(null===u||void 0===u?void 0:u.url,"/").concat(e.id),state:{internal:!0}},children:Object(U.jsx)(Cn,{isFirst:0===n,children:Object(U.jsx)(oi,{title:e.title,de
1scription:null!==(o=e.description)&&void 0!==o?o:"",smallCaptionLeft:t?c||e.author:"",smallCaptionRight:i?mn(e.publishedAt):"",imgSrc:e.thumbnailSrc})})},e.id)}))]})},Sn=Pe.a.fetchCreators;var vn=M.default.div.withConfig({displayName:"S_SeriesWrapper",componentId:"sc-ulo05-0"})(["margin-top:",";"],(function(e){return e.isFirst?0:"40px"})),yn=M.default.div.withConfig({displayName:"S_SeriesTitleBox",componentId:"sc-ulo05-1"})(["margin-bottom:",";margin-top:",";"],(function(e){return e.theme.spacing.spacingG}),(function(e){return e.theme.spacing.spacingG})),An=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.series,o=e.seriesTabName,c=Object(r.c)(),u=Object(l.n)(S),d=Object(r.d)(h.d),p=null===d||void 0===d?void 0:d.channelProfile,b=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){c(Sn())}),[]),Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(yn,{children:Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"displayBold",colorTheme:"sysTextPrimary"})}),n.map((function(e,n){var o,c;if((null===p||void 0===p?void 0:p.id)===e.profileId&&(c=p.nickname),b){var s=b.find((function(t){return t.id===e.profileId}));s&&(c=s.nickname)}return Object(U.jsx)(hn.Link,{to:{pathname:"".concat(null===u||void 0===u?void 0:u.url,"/").concat(e.id),state:{internal:!0}},children:Object(U.jsx)(vn,{isFirst:0===n,children:Object(U.jsx)(ui,{title:e.title,description:null!==(o=e.description)&&void 0!==o?o:"",smallCaptionLeft:t?c||e.author:"",smallCaptionRight:i?mn(e.publishedAt):"",imgSrc:e.thumbnailSrc})})},e.id)}))]})},En=Pe.a.fetchCreators;var In=M.default.div.withConfig({displayName:"S_SeriesWrapper",componentId:"sc-1kbta6f-0"})(["margin-bottom:",";"],(function(e){return e.theme.spacing.spacingI})),Pn=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.series,o=Object(Y.a)("translation").t,c=Object(r.c)(),u=Object(l.n)(S),d=Object(l.k)(),p=Object(r.d)(h.d),b=null===p||void 0===p?void 0:p.channelProfile,j=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){c(En())}),[]),Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_g"}),n.map((function(e){var n,c;if((null===b||void 0===b?void 0:b.id)===e.profileId&&(c=b.nickname),j){var s=j.find((function(t){return t.id===e.profileId}));s&&(c=s.nickname)}return Object(U.jsx)(In,{children:Object(U.jsx)(xi,{title:e.title,imgSrc:e.thumbnailSrc,description:null!==(n=e.description)&&void 0!==n?n:"",smallCaptionLeft:t?c||e.author:"",smallCaptionRight:i?mn(e.publishedAt):"",buttonText:o("str_4266"),onClickButton:function(){return t=e.id,void d.push("".concat(null===u||void 0===u?void 0:u.url,"/").concat(t),{internal:!0});var t}})},e.id)}))]})},wn=Pe.a.fetchCreators;var Bn=M.default.div.withConfig({displayName:"S_Grid",componentId:"sc-1h7ge7l-0"})(["display:grid;gap:",";grid-template-columns:repeat(3,288px);"],(function(e){return e.theme.spacing.spacingE})),Ln=M.default.div.withConfig({displayName:"S_SeriesTitleBox",componentId:"sc-1h7ge7l-1"})(["margin-bottom:",";margin-top:",";"],(function(e){return e.theme.spacing.spacingG}),(function(e){return e.theme.spacing.spacingG})),kn=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.series,o=e.seriesTabName,c=Object(r.c)(),u=Object(l.n)(S),d=Object(r.d)(h.d),p=null===d||void 0===d?void 0:d.channelProfile,b=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){c(wn())}),[]),Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(Ln,{children:Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"displayBold",colorTheme:"sysTextPrimary"})}),Object(U.jsx)(Bn,{children:n.map((function(e){var n,o;if((null===p||void 0===p?void 0:p.id)===e.profileId&&(o=p.nickname),b){var c=b.find((function(t){return t.id===e.profileId}));c&&(o=c.nickname)}return Object(U.jsx)(hn.Link,{to:{pathname:"".concat(null===u||void 0===u?void 0:u.url,"/").concat(e.id),state:{internal:!0}},children:Object(U.jsx)(ei,{title:e.title,description:null!==(n=e.description)&&void 0!==n?n:"",smallCaptionLeft:t?o||e.author:"",smallCaptionRight:i?mn(e.publishedAt):"",imgSrc:e.thumbnailSrc})},e.id)}))})]})};var Fn=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.templateName,o=e.templateProps;switch(n){case"LIST_A":return Object(U.jsx)(_n,Object(G.a)({isAuthorShow:t,isPublishedAtShow:i},o));case"LIST_C":return Object(U.jsx)(An,Object(G.a)({isAuthorShow:t,isPublishedAtShow:i},o));
1case"FOCUS_IMAGE":return Object(U.jsx)(Pn,Object(G.a)({isAuthorShow:t,isPublishedAtShow:i},o));case"CARD_GRID":return Object(U.jsx)(kn,Object(G.a)({isAuthorShow:t,isPublishedAtShow:i},o));default:case"LIST_B":return Object(U.jsx)(Dn,Object(G.a)({isAuthorShow:t,isPublishedAtShow:i},o))}},Rn=jn.b.seriesUnMount,Nn=jn.b.seriesPageChanged,Mn={dataObjectType:"CUSTOM_DATA",dataObjectResourceName:"CustomSEOResource",customSEOResourceSchema:{title:"{{menuName}}",description:"{{channelName}}\uc758 \ud3ec\uc2a4\ud2b8\ub97c \ub458\ub7ec\ubcf4\uc138\uc694."},keyMappingDefinition:{title:"title",description:"description"}};var Un=function(){Object(Q.b)("".concat(x.f.getPAppCode(),"Series"),"".concat(x.f.getPAppCode().toLowerCase(),"_series"));var e=Object(r.d)(h.c),t=Object(r.d)(oe.f),i=t.error,n=t.isLoading,o=t.serieses,c=t.totalSerieses,u=Object(Y.a)("translation").t,d=Object(r.c)(),p=Object(l.k)(),b=Object(l.n)(S),j=Object(ne.a)(),m=j.get("page")?Number(j.get("page")):1,g=j.get("limit")?Number(j.get("limit")):null,O=J().tabs,f=K(),C=f.seriesesTemplateName,T=f.isPostProtection,D=f.seriesTabName,v=f.isSeriesAuthorShow,y=f.isSeriesPublishedAtShow,A=Math.ceil(c/(null!==g&&void 0!==g?g:0)),E=e?{title:u("str_seo_b00001_series_title",{menuName:e.pAppCodeMenuItemNameSet[x.f.getPAppCode()],interpolation:{escapeValue:!1}}),description:u("str_seo_b00001_series_desc",{channelName:e.title,interpolation:{escapeValue:!1}})}:null;Object(ee.c)({manifest:Mn,isActivated:!0,data:E,options:{useChannelTitlePrefix:!0}}),Object(a.useEffect)((function(){return function(){d(Rn())}}),[]),Object(a.useEffect)((function(){null!==g?d(Nn({page:m,limit:g})):p.replace(Object(Jt.a)(null===b||void 0===b?void 0:b.url,{page:1,limit:C&&$.a[C]||5}))}),[m,g]);var I=Object(a.useCallback)((function(){A<=m||!b||p.push(Object(Jt.a)(null===b||void 0===b?void 0:b.url,{page:m+1,limit:g}))}),[A,m,b,g]),P=Object(a.useCallback)((function(){m<=1||!b||p.push(Object(Jt.a)(null===b||void 0===b?void 0:b.url,{page:m-1,limit:g}))}),[m,b,g]),w=Object(a.useCallback)((function(){d(Rn())}),[]);return Object(U.jsxs)(U.Fragment,{children:[i&&Object(U.jsx)(Ae,{error:i,clearError:w}),Object(U.jsx)(s.WTContainersBox,{layoutType:O.length>1?"WTI_2":"WTN_2",pageMenuContent:Object(U.jsx)(re,{}),isLoadingContainer1:(null===n||void 0===n?void 0:n.type)===Nn.type,content1:Object(U.jsx)(zn,{isPostProtection:T,children:o.length>0?Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(Fn,{isAuthorShow:v,isPublishedAtShow:y,templateProps:{series:o,seriesTabName:D},templateName:C}),Object(U.jsx)(_.C,{currentPage:m,totalPageCount:A,onNext:I,onPrev:P})]}):Object(U.jsxs)(U.Fragment,{children:["FOCUS_IMAGE"!==C&&Object(U.jsx)(Wn,{children:Object(U.jsx)(s.D_TextLabel,{text:u("str_pam_cps_series"),styleTheme:"displayBold",colorTheme:"sysTextPrimary"})}),Object(U.jsx)(De,{text:u("str_2901")})]})})})]})},zn=M.default.div.withConfig({displayName:"S_Content1Wrapper",componentId:"sc-148j8vz-0"})([""," padding-left:",";padding-right:",";"],(function(e){return e.isPostProtection&&Be.a}),(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),Wn=M.default.div.withConfig({displayName:"S_TitleWrapper",componentId:"sc-148j8vz-1"})(["margin-bottom:",";margin-top:",";"],(function(e){return e.theme.spacing.spacingG}),(function(e){return e.theme.spacing.spacingG})),Hn=i(621),Gn=i(150);var Xn=M.default.div.withConfig({displayName:"S_Col",componentId:"sc-1hu0u1m-0"})(["width:",";"],(function(e){var t=e.theme;return e.imgSrc?"calc(100% - 338px - ".concat(t.spacing.spacingF,")"):"100%"})),Yn=function(e){e.id;var t=e.imgSrc,i=e.title,n=e.contents,o=e.author,c=e.publishedAt,a=e.isAuthorShow,r=e.isPublishedAtShow;return Object(Y.a)("translation").t,Object(U.jsxs)(ue,{children:[t&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.ImageView,{src:t,width:338,height:428,radius:24,scaleType:"cover"}),Object(U.jsx)(s.Spacing,{spacingType:"width",size:"spacing_f"})]}),Object(U.jsxs)(Xn,{imgSrc:t,children:[Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"displayBold",colorTheme:"sysTextPrimary"}),n&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsx)(le,{flex:!0,children:Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"body2Regular",colorTheme:"sysTextPrimary"})})]}),(a||r)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:t?"spacing_f":"spacing_e"}),Object(U.jsxs)(ue,{children:[a&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"body2Regular",colorTheme:"sysTextSecondary"}),Object(U.jsx)(s.Spacing,{spacingType:"width",size:"spacing_b"})]}),r&&Object(U.jsx)(s.D_TextLabel,{text:ae.a.tz(c).format("YYYY-MM-DD"),styleTheme:"body2Regular",colorTheme:"sysTextSecondary"})]})]}),!t&&Object(U.jsx)(s.Spacing,{size:"spacing_e"})]})]})},Vn=i(601);var Kn=M.default.div.withConfig({displayName:"S_Contents",componentId:"sc-10wk9ht-0"})(["display:flex;flex:1 1 auto;flex-direction:column;justify-content:space-between;position:relative;width:",";"],(function(e){var t=e.theme;return e.imgSrc?"calc(100% - 164px - ".concat(t.spacing.spacingE,")"):"100%"})),qn=function(e){var t,i=e.title,n=e.contents,o=e.smallCaptionLeft,c=e.smallCaptionRight,a=e.imgSrc,r=e.isPublished,l=Object(Y.a)("translation").t;return r?Object(U.jsxs)(Ce,{align:"horizontal",children:[Object(U.jsxs)(Kn,{imgSrc:a,children:[Object(U.jsxs)(le,{children:[Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"subTitleBold",colorTheme:"sysTextPrimary"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"}),Object(U.jsx)(s.D_TextLabel,{text:(t=n,(new DOMParser).parseFromString(t,"text/html").documentElement.textContent),styleTheme:"body2Regular",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:3})]}),(o||c)&&Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px"},children:[o&&Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),c&&Object(U.jsx)(s.D_TextLabel,{text:c,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e",spacingType:"width"}),a&&Object(U.jsx)(s.ImageView,{src:a,width:164,noImageHeight:164,noImageWidth:164,ratio:"1_1",scaleType:"cover"})]}):Object(U.jsxs)(Ce,{align:"horizontal",children:[Object(U.jsxs)(Kn,{children:[Object(U.jsxs)(ue,{children:[Object(U.jsx)(s.D_TextLabel,{text:l("str_3106"),styleTheme:"subTitleBold",colorTheme:"sysTextSecondary"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"})]}),Object(U.jsx)(ue,{})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e",spacingType:"width"})]})};var Zn=M.default.div.withConfig({displayName:"S_Contents",componentId:"sc-1yxnyup-0"})(["display:flex;flex:1 1 auto;flex-direction:column;justify-content:space-between;position:relative;width:",";"],(function(e){var t=e.theme;return e.imgSrc?"calc(100% - 164px - ".concat(t.spacing.spacingE,")"):"100%"})),$n=M.default.div.withConfig({displayName:"DimmedOverlay",componentId:"sc-1yxnyup-1"})(["background-color:",";border-radius:8px;height:100%;position:absolute;width:100%;"],(function(e){return e.theme.ui_61})),Jn=M.default.div.withConfig({displayName:"S_ImageBox",componentId:"sc-1yxnyup-2"})(["position:relative;"]),Qn=M.default.div.withConfig({displayName:"S_AbsoluteBox",componentId:"sc-1yxnyup-3"})(["left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);"]),eo=function(e){var t=e.title,i=e.smallCaptionLeft,n=e.smallCaptionRight,o=e.imgSrc,c=e.isPublished,a=Object(Y.a)("translation").t;return c?Object(U.jsxs)(Ce,{align:"horizontal",children:[Object(U.jsxs)(Zn,{imgSrc:o,children:[Object(U.jsxs)(le,{children:[Object(U.jsx)(s.D_TextLabel,{text:t,styleTheme:"subTitleBold",colorTheme:"sysTextPrimary"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"}),Object(U.jsx)(s.D_TextLabel,{text:a("str_3659"),styleTheme:"body2Regular",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:3})]}),(i||n)&&Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px"},children:[i&&Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),n&&Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e",spacingType:"width"}),o&&Object(U.jsxs)(Jn,{children:[Object(U.jsx)($n,{}),Object(U.jsx)(Qn,{children:Object(U.jsx)(s.Icon,{iconName:"ic_lock",size:48,colorKey:"ui_cpnt_icon_sys_white"})}),Object(U.jsx)(s.ImageView,{src:o,width:164,noImageHeight:164,noImageWidth:164,ratio:"1_1",scaleType:"cover"})]})]}):Object(U.jsxs)(Ce,{align:"horizontal",children:[Object(U.jsxs)(Zn,{children:[Object(U.jsxs)(ue,{children:[Object(U.jsx)(s.D_TextLabel,{text:a("str_3106"),styleTheme:"subTitleBold",colorTheme:"sysTextSecondary"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"})]}),Object(U.jsx)(ue,{})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e",spacingType:"width"})]})};function to(e){var t;return null!==(t=(new DOMParser).parseFromString(e,"text/html").documentElement.textContent)&&void 0!==t?t:""}function io(e){return ae.a.tz(e).format("YYYY-MM-DD")}function no(e,t){var i,n=e.protectionSeal,o=!(null===n||void 0===n||!n.contentLock),c=null===n||void 0===n||null===(i=n.contentLock)||void 0===i?void 0:i.isUnlocked,s=t[e.postId];return o&&!c&&!s}var oo=Pe.a.fetchCreators;var co=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.onClickPostCard,o=Object(r.c)(),c=Object(Vn.b)().userEntrywayForUse,l=Object(r.d)(oe.g),u=l.episodes,d=l.unlockMatchingPostIds,p=Object(r.d)(h.d),b=null===p||void 0===p?void 0:p.channelProfile,j=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){o(oo())}),[]),Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_g"}),u.length>0&&u.map((function(e){var o;if((null===b||void 0===b?void 0:b.id)===e.post.profileId&&(o=b.nickname),j){var a=j.find((function(t){return t.id===e.post.profileId}));a&&(o=a.nickname)}return Object(U.jsxs)("div",{children:[Object(U.jsx)(s.Spacing,{size:"spacing_d"}),Object(U.jsx)("div",{onClick:c((function(){n(e.post.id)}),"GUEST_OPEN_WHEN_PUBLIC_OPEN"),children:no(e,d)?Object(U.jsx)(eo,{title:e.post.t
1itle,smallCaptionLeft:t?o||e.post.author:"",smallCaptionRight:i?io(e.post.publishedAt):"",imgSrc:e.post.thumbnailSrc,isPublished:e.post.isPublished}):Object(U.jsx)(qn,{title:e.post.title,contents:to(e.post.content),smallCaptionLeft:t?o||e.post.author:"",smallCaptionRight:i?io(e.post.publishedAt):"",imgSrc:e.post.thumbnailSrc,isPublished:e.post.isPublished})})]},e.post.id)}))]})};var so=M.default.div.withConfig({displayName:"S_ImageWrapper",componentId:"sc-3gw2de-0"})(["margin-right:40px;"]),ao=function(e){var t=e.title,i=e.description,n=e.imgSrc,o=e.smallCaptionLeft,c=e.smallCaptionRight,a=e.isPublished,r=Object(Y.a)("translation").t;return a?Object(U.jsxs)(ue,{children:[n&&Object(U.jsx)(so,{children:Object(U.jsx)(s.ImageView,{src:n,shapeType:"round",radius:24,width:282,ratio:"3_2",scaleType:"cover"})}),Object(U.jsxs)(le,{children:[Object(U.jsx)(s.D_TextLabel,{text:t,customFontSize:"28px",customFontWeight:"bold",ellipsisMode:"use",lineLimit:2,wordBreak:"break_all"}),Object(U.jsx)(s.Spacing,{size:"spacing_c"}),Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"body1Regular",ellipsisMode:"use",colorTheme:"sysTextSecondary",lineLimit:2,wordBreak:"break_all"}),(o||c)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_d"}),Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px"},children:[o&&Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),c&&Object(U.jsx)(s.D_TextLabel,{text:c,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]})]})]}):Object(U.jsxs)(ue,{children:[Object(U.jsx)(so,{children:Object(U.jsx)(s.ImageView,{src:"",shapeType:"round",radius:24,width:282,ratio:"3_2",scaleType:"cover"})}),Object(U.jsx)(le,{children:Object(U.jsxs)(ue,{children:[Object(U.jsx)(s.D_TextLabel,{text:r("str_3106"),styleTheme:"subTitleBold",colorTheme:"sysTextSecondary",customFontSize:"28px",customFontWeight:"bold"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"})]})})]})};var ro=M.default.div.withConfig({displayName:"DimmedOverlay",componentId:"sc-cjsj0a-0"})(["background-color:",";border-radius:24px;height:100%;position:absolute;width:100%;"],(function(e){return e.theme.ui_61})),lo=M.default.div.withConfig({displayName:"S_ImageBox",componentId:"sc-cjsj0a-1"})(["margin-right:40px;position:relative;"]),uo=M.default.div.withConfig({displayName:"S_AbsoluteBox",componentId:"sc-cjsj0a-2"})(["display:flex;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);"]),po=M.default.div.withConfig({displayName:"S_ImageWrapper",componentId:"sc-cjsj0a-3"})(["margin-right:40px;"]),bo=function(e){var t=e.title,i=e.imgSrc,n=e.smallCaptionLeft,o=e.smallCaptionRight,c=e.isPublished,a=Object(Y.a)("translation").t;return c?Object(U.jsxs)(ue,{children:[i&&Object(U.jsxs)(lo,{children:[Object(U.jsx)(ro,{}),Object(U.jsx)(uo,{children:Object(U.jsx)(s.Icon,{iconName:"ic_lock",size:48,colorKey:"ui_cpnt_icon_sys_white"})}),Object(U.jsx)(s.ImageView,{src:i,radius:24,shapeType:"round",width:282,ratio:"3_2",scaleType:"cover",backgroundFillMode:"use"})]}),Object(U.jsxs)(le,{children:[Object(U.jsx)(s.D_TextLabel,{text:t,customFontSize:"28px",customFontWeight:"bold",ellipsisMode:"use",lineLimit:2,wordBreak:"break_all"}),Object(U.jsx)(s.Spacing,{size:"spacing_c"}),Object(U.jsx)(s.D_TextLabel,{text:a("str_3659"),styleTheme:"body1Regular",ellipsisMode:"use",colorTheme:"sysTextSecondary",lineLimit:3,wordBreak:"break_all"}),(n||o)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_d"}),Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px"},children:[n&&Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),o&&Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]})]})]}):Object(U.jsxs)(ue,{children:[Object(U.jsx)(po,{children:Object(U.jsx)(s.ImageView,{src:"",shapeType:"round",radius:24,width:282,ratio:"3_2",scaleType:"cover"})}),Object(U.jsx)(le,{children:Object(U.jsxs)(ue,{children:[Object(U.jsx)(s.D_TextLabel,{text:a("str_3106"),styleTheme:"subTitleBold",colorTheme:"sysTextSecondary",customFontSize:"28px",customFontWeight:"bold"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"})]})})]})},jo=Pe.a.fetchCreators;var ho=M.default.div.withConfig({displayName:"S_PostWrapper",componentId:"sc-1p6aa5j-0"})(["cursor:pointer;margin-top:",";"],(function(e){return e.isFirst?0:"80px"})),mo=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.onClickPostCard,o=Object(r.c)(),c=Object(Vn.b)().userEntrywayForUse,l=Object(r.d)(oe.g),u=l.episodes,d=l.unlockMatchingPostIds,p=Object(r.d)(h.d),b=null===p||void 0===p?void 0:p.channelProfile,j=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){o(jo())}),[]),Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_h"}),Object(U.jsx)(s.Divider,{}),Object(U.jsx)(s.Spacing,{size:"spacing_h"}),u.map((function(e,o){var s;if((null===b||void 0===b?void 0:b.id)===e.post.profileId&&(s=b.nickname),j){var a=j.find((function(t){return t.id===e.post.profileId}));a&&(s=a.nickname)}return Object(U.jsx)(ho,{onClick:c((function(){n(e.post.id)}),"GUEST_OPEN_WHEN_PUBLIC_OPEN"),isFirst:0===o,children:no(e,d)?Object(U.jsx)(bo,{title:e.post.t
1itle,smallCaptionLeft:t?s||e.post.author:"",smallCaptionRight:i?io(e.post.publishedAt):"",imgSrc:e.post.thumbnailSrc,isPublished:e.post.isPublished}):Object(U.jsx)(ao,{title:e.post.title,description:to(e.post.content),smallCaptionLeft:t?s||e.post.author:"",smallCaptionRight:i?io(e.post.publishedAt):"",imgSrc:e.post.thumbnailSrc,isPublished:e.post.isPublished})},e.post.id)}))]})};var go=M.default.div.withConfig({displayName:"S_Contents",componentId:"sc-1urdc7i-0"})(["display:flex;flex:1 1 auto;flex-direction:column;justify-content:space-between;padding-left:",";padding-right:",";padding-top:",";"],(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),_o=function(e){var t=e.title,i=e.smallCaptionLeft,n=e.smallCaptionRight,o=e.description,c=e.imgSrc,a=e.isPublished,r=Object(Y.a)("translation").t;return a?Object(U.jsx)(Ce,{align:"vertical",children:c?Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.ImageView,{src:c,width:288,ratio:"4_3",scaleType:"cover",shapeType:"rectangle"}),Object(U.jsxs)(go,{children:[Object(U.jsx)(s.D_TextLabel,{text:t,styleTheme:"subTitleBold",ellipsisMode:"use",lineLimit:3}),Object(U.jsx)(s.Spacing,{size:"spacing_d"}),Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"body2Regular",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:3}),(i||n)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px"},children:[i&&Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),n&&Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e"})]}):Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(go,{children:Object(U.jsxs)(le,{flex:!0,children:[Object(U.jsx)(s.D_TextLabel,{text:t,styleTheme:"subTitleBold",ellipsisMode:"use",lineLimit:4}),Object(U.jsx)(s.Spacing,{size:"spacing_d"}),Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"body2Regular",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:7})]})}),(i||n)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px",paddingLeft:"24px",paddingRight:"24px"},children:[i&&Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),n&&Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e"})]})}):Object(U.jsxs)(Ce,{align:"vertical",children:[Object(U.jsx)(go,{children:Object(U.jsx)(le,{flex:!0,children:Object(U.jsxs)(ue,{children:[Object(U.jsx)(s.D_TextLabel,{text:r("str_3106"),styleTheme:"subTitleBold",colorTheme:"sysTextSecondary"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"})]})})}),Object(U.jsx)(s.Spacing,{size:"spacing_e"})]})};var xo=M.default.div.withConfig({displayName:"S_ImageWrapper",componentId:"sc-z71iih-0"})(["margin-right:24px;"]),Oo=function(e){var t=e.title,i=e.description,n=e.imgSrc,o=e.smallCaptionLeft,c=e.smallCaptionRight,a=e.isPublished,r=Object(Y.a)("translation").t;return a?Object(U.jsxs)(ue,{children:[n&&Object(U.jsx)(xo,{children:Object(U.jsx)(s.ImageView,{src:n,shapeType:"rectangle",width:180,ratio:"1_1",scaleType:"cover",backgroundFillMode:"use"})}),Object(U.jsxs)(le,{children:[Object(U.jsx)(s.D_TextLabel,{text:t,customFontSize:"24px",customFontWeight:"bold",ellipsisMode:"use",lineLimit:2,wordBreak:"break_all"}),Object(U.jsx)(s.Spacing,{size:"spacing_c"}),Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"body1Regular",ellipsisMode:"use",colorTheme:"sysTextSecondary",lineLimit:2,wordBreak:"break_all"}),(o||c)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_d"}),Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px"},children:[o&&Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),c&&Object(U.jsx)(s.D_TextLabel,{text:c,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]})]})]}):Object(U.jsxs)(ue,{children:[Object(U.jsx)(xo,{children:Object(U.jsx)(s.ImageView,{src:"",shapeType:"rectangle",radius:24,width:180,ratio:"1_1",scaleType:"cover",backgroundFillMode:"use"})}),Object(U.jsx)(le,{children:Object(U.jsxs)(ue,{children:[Object(U.jsx)(s.D_TextLabel,{text:r("str_3106"),styleTheme:"subTitleBold",colorTheme:"sysTextSecondary",customFontSize:"24px",customFontWeight:"bold"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"})]})})]})};var fo=M.default.div.withConfig({displayName:"DimmedOverlay",componentId:"sc-cuyhvk-0"})(["background-color:",";height:100%;position:absolute;width:100%;"],(function(e){return e.theme.ui_61})),Co=M.default.div.withConfig({displayName:"S_ImageBox",componentId:"sc-cuyhvk-1"})(["margin-right:40px;position:relative;"]),To=M.default.div.withConfig({displayName:"S_AbsoluteBox",componentId:"sc-cuyhvk-2"})(["display:flex;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);"]),Do=M.default.div.withConfig({displayName:"S_ImageWrapper",componentId:"sc-cuyhvk-3"})(["margin-right:24px;"]),So=function(e){var t=e.title,i=e.imgSrc,n=e.smallCaptionLeft,o=e.smallCaptionRight,c=e.isPublished,a=Object(Y.a)("translation").t;return c?Object(U.jsxs)(ue,{children:[i&&Object(U.jsxs)(Co,{children:[Object(U.jsx)(fo,{}
1),Object(U.jsx)(To,{children:Object(U.jsx)(s.Icon,{iconName:"ic_lock",size:48,colorKey:"ui_cpnt_icon_sys_white"})}),Object(U.jsx)(s.ImageView,{src:i,shapeType:"rectangle",width:180,ratio:"1_1",scaleType:"cover",backgroundFillMode:"use"})]}),Object(U.jsxs)(le,{children:[Object(U.jsx)(s.D_TextLabel,{text:t,customFontSize:"24px",customFontWeight:"bold",ellipsisMode:"use",lineLimit:2,wordBreak:"break_all"}),Object(U.jsx)(s.Spacing,{size:"spacing_c"}),Object(U.jsx)(s.D_TextLabel,{text:a("str_3659"),styleTheme:"body1Regular",ellipsisMode:"use",colorTheme:"sysTextSecondary",lineLimit:3,wordBreak:"break_all"}),(n||o)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_d"}),Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px"},children:[n&&Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),o&&Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]})]})]}):Object(U.jsxs)(ue,{children:[Object(U.jsx)(Do,{children:Object(U.jsx)(s.ImageView,{src:"",shapeType:"rectangle",width:180,ratio:"1_1",scaleType:"cover",backgroundFillMode:"use"})}),Object(U.jsx)(le,{children:Object(U.jsxs)(ue,{children:[Object(U.jsx)(s.D_TextLabel,{text:a("str_3106"),styleTheme:"subTitleBold",colorTheme:"sysTextSecondary",customFontSize:"28px",customFontWeight:"bold"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"})]})})]})};var vo=M.default.div.withConfig({displayName:"S_Container",componentId:"sc-1lms406-0"})(["display:flex;min-width:960px;"]),yo=M.default.div.withConfig({displayName:"S_SeriesInfo",componentId:"sc-1lms406-1"})(["max-width:480px;width:480px;"]),Ao=M.default.div.withConfig({displayName:"S_CoverImg",componentId:"sc-1lms406-2"})(["max-width:384px;width:384px;"]),Eo=M.default.div.withConfig({displayName:"S_Captions",componentId:"sc-1lms406-3"})(["display:grid;gap:8px;grid-template-columns:minmax(0px,max-content) max-content;"]),Io=function(e){var t=e.title,i=e.description,n=e.imgSrc,o=e.smallCaptionLeft,c=e.smallCaptionRight,a=e.buttonText,r=e.onClickButton,l=e.isPublished,u=Object(Y.a)("translation").t;return l?Object(U.jsxs)(vo,{children:[Object(U.jsxs)(yo,{children:[Object(U.jsx)(s.D_TextLabel,{text:t,styleTheme:"displayBold",lineLimit:2,ellipsisMode:"use"}),Object(U.jsx)(s.Spacing,{size:"spacing_c"}),i&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"body1Regular",lineLimit:2,ellipsisMode:"use"}),Object(U.jsx)(s.Spacing,{size:"spacing_c"})]}),(o||c)&&Object(U.jsxs)(Eo,{children:[o&&Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"caption1Regular",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),c&&Object(U.jsx)(s.D_TextLabel,{text:c,styleTheme:"caption1Regular",colorTheme:"sysTextSecondary"})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsx)(s.D_MainButton,{text:a,onClick:r})]}),Object(U.jsx)(s.Spacing,{size:"spacing_g",spacingType:"width"}),Object(U.jsx)(Ao,{children:Object(U.jsx)(s.ImageView,{src:n,height:288,width:"responsive",shapeType:"rectangle",scaleType:"cover",backgroundFillMode:"use"})})]}):Object(U.jsxs)(vo,{children:[Object(U.jsxs)(yo,{children:[Object(U.jsxs)(ue,{children:[Object(U.jsx)(s.D_TextLabel,{text:u("str_3106"),styleTheme:"subTitleBold",colorTheme:"sysTextSecondary",customFontSize:"40px",customFontWeight:"bold"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsx)(s.D_MainButton,{text:a,onClick:r})]}),Object(U.jsx)(s.Spacing,{size:"spacing_g",spacingType:"width"}),Object(U.jsx)(Ao,{children:Object(U.jsx)(s.ImageView,{src:n,height:288,width:"responsive",shapeType:"rectangle",scaleType:"cover",backgroundFillMode:"use"})})]})},Po=Pe.a.fetchCreators;var wo=M.default.div.withConfig({displayName:"S_PostWrapper",componentId:"sc-18ji0zc-0"})(["cursor:pointer;margin-top:",";"],(function(e){return e.isFirst?0:"40px"})),Bo=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.onClickPostCard,o=Object(r.c)(),c=Object(Vn.b)().userEntrywayForUse,l=Object(r.d)(oe.g),u=l.episodes,d=l.unlockMatchingPostIds,p=Object(r.d)(h.d),b=null===p||void 0===p?void 0:p.channelProfile,j=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){o(Po())}),[]),Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_h"}),Object(U.jsx)(s.Divider,{}),Object(U.jsx)(s.Spacing,{size:"spacing_h"}),u.map((function(e,o){var s;if((null===b||void 0===b?void 0:b.id)===e.post.profileId&&(s=b.nickname),j){var a=j.find((function(t){return t.id===e.post.profileId}));a&&(s=a.nickname)}return Object(U.jsx)(wo,{onClick:c((function(){n(e.post.id)}),"GUEST_OPEN_WHEN_PUBLIC_OPEN"),isFirst:0===o,children:no(e,d)?Object(U.jsx)(So,{title:e.post.t
1itle,smallCaptionLeft:t?s||e.post.author:"",smallCaptionRight:i?io(e.post.publishedAt):"",imgSrc:e.post.thumbnailSrc,isPublished:e.post.isPublished}):Object(U.jsx)(Oo,{title:e.post.title,description:to(e.post.content),smallCaptionLeft:t?s||e.post.author:"",smallCaptionRight:i?io(e.post.publishedAt):"",imgSrc:e.post.thumbnailSrc,isPublished:e.post.isPublished})},e.post.id)}))]})};var Lo=M.default.div.withConfig({displayName:"S_Container",componentId:"sc-1u5e8ev-0"})(["display:flex;min-width:960px;"]),ko=M.default.div.withConfig({displayName:"S_SeriesInfo",componentId:"sc-1u5e8ev-1"})(["max-width:480px;width:480px;"]),Fo=M.default.div.withConfig({displayName:"S_CoverImg",componentId:"sc-1u5e8ev-2"})(["max-width:384px;width:384px;"]),Ro=M.default.div.withConfig({displayName:"S_Captions",componentId:"sc-1u5e8ev-3"})(["display:grid;gap:8px;grid-template-columns:minmax(0px,max-content) max-content;"]),No=M.default.div.withConfig({displayName:"DimmedOverlay",componentId:"sc-1u5e8ev-4"})(["background-color:",";height:100%;position:absolute;width:100%;"],(function(e){return e.theme.ui_61})),Mo=M.default.div.withConfig({displayName:"S_ImageBox",componentId:"sc-1u5e8ev-5"})(["position:relative;"]),Uo=M.default.div.withConfig({displayName:"S_AbsoluteBox",componentId:"sc-1u5e8ev-6"})(["display:flex;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);"]),zo=function(e){var t=e.title,i=e.imgSrc,n=e.smallCaptionLeft,o=e.smallCaptionRight,c=e.buttonText,a=e.onClickButton,r=e.isPublished,l=Object(Y.a)("translation").t;return r?Object(U.jsxs)(Lo,{children:[Object(U.jsxs)(ko,{children:[Object(U.jsx)(s.D_TextLabel,{text:t,styleTheme:"displayBold",lineLimit:2,ellipsisMode:"use"}),Object(U.jsx)(s.Spacing,{size:"spacing_c"}),Object(U.jsx)(s.D_TextLabel,{text:l("str_3659"),styleTheme:"body1Regular",lineLimit:3,ellipsisMode:"use"}),(n||o)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_c"}),Object(U.jsxs)(Ro,{children:[n&&Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"caption1Regular",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),o&&Object(U.jsx)(s.D_TextLabel,{text:o,styleTheme:"caption1Regular",colorTheme:"sysTextSecondary"})]})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsx)(s.D_MainButton,{text:c,onClick:a})]}),Object(U.jsx)(s.Spacing,{size:"spacing_g",spacingType:"width"}),Object(U.jsx)(Fo,{children:Object(U.jsxs)(Mo,{children:[i&&Object(U.jsx)(No,{}),Object(U.jsx)(Uo,{children:Object(U.jsx)(s.Icon,{iconName:"ic_lock",size:48,colorKey:"ui_cpnt_icon_sys_white"})}),Object(U.jsx)(s.ImageView,{src:i,height:288,width:"responsive",shapeType:"rectangle",scaleType:"cover",backgroundFillMode:"use"})]})})]}):Object(U.jsxs)(Lo,{children:[Object(U.jsxs)(ko,{children:[Object(U.jsxs)(ue,{children:[Object(U.jsx)(s.D_TextLabel,{text:l("str_3106"),styleTheme:"subTitleBold",colorTheme:"sysTextSecondary",customFontSize:"40px",customFontWeight:"bold"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsx)(s.D_MainButton,{text:c,onClick:a})]}),Object(U.jsx)(s.Spacing,{size:"spacing_g",spacingType:"width"}),Object(U.jsx)(Fo,{children:Object(U.jsx)(s.ImageView,{src:i,height:288,width:"responsive",shapeType:"rectangle",scaleType:"cover",backgroundFillMode:"use"})})]})},Wo=Pe.a.fetchCreators;var Ho=M.default.div.withConfig({displayName:"S_Card",componentId:"sc-d7v33x-0"})(["margin-bottom:",";"],(function(e){return e.theme.spacing.spacingI})),Go=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.onClickPostCard,o=Object(Y.a)("translation").t,c=Object(r.c)(),l=Object(Vn.b)().userEntrywayForUse,u=Object(r.d)(oe.g),d=u.episodes,p=u.unlockMatchingPostIds,b=Object(r.d)(h.d),j=null===b||void 0===b?void 0:b.channelProfile,m=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){c(Wo())}),[]),Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_h"}),Object(U.jsx)(s.Divider,{}),Object(U.jsx)(s.Spacing,{size:"spacing_h"}),d.map((function(e){var c;if((null===j||void 0===j?void 0:j.id)===e.post.profileId&&(c=j.nickname),m){var s=m.find((function(t){return t.id===e.post.profileId}));s&&(c=s.nickname)}return Object(U.jsx)(Ho,{children:no(e,p)?Object(U.jsx)(zo,{title:e.post.t
1itle,imgSrc:e.post.thumbnailSrc,smallCaptionLeft:t?c||e.post.author:"",smallCaptionRight:i?io(e.post.publishedAt):"",buttonText:o("str_4266"),onClickButton:l((function(){n(e.post.id)}),"GUEST_OPEN_WHEN_PUBLIC_OPEN"),isPublished:e.post.isPublished}):Object(U.jsx)(Io,{title:e.post.title,imgSrc:e.post.thumbnailSrc,description:to(e.post.content),smallCaptionLeft:t?c||e.post.author:"",smallCaptionRight:i?io(e.post.publishedAt):"",buttonText:o("str_4266"),onClickButton:l((function(){n(e.post.id)}),"GUEST_OPEN_WHEN_PUBLIC_OPEN"),isPublished:e.post.isPublished})},e.post.id)}))]})};var Xo=M.default.div.withConfig({displayName:"S_Contents",componentId:"sc-q4unhh-0"})(["display:flex;flex:1 1 auto;flex-direction:column;justify-content:space-between;padding-left:",";padding-right:",";padding-top:",";"],(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),Yo=M.default.div.withConfig({displayName:"DimmedOverlay",componentId:"sc-q4unhh-1"})(["background-color:",";height:100%;position:absolute;width:100%;"],(function(e){return e.theme.ui_61})),Vo=M.default.div.withConfig({displayName:"S_ImageBox",componentId:"sc-q4unhh-2"})(["border-radius:24px 24px 0 0;overflow:hidden;position:relative;"]),Ko=M.default.div.withConfig({displayName:"S_AbsoluteBox",componentId:"sc-q4unhh-3"})(["display:flex;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);"]),qo=function(e){var t=e.title,i=e.smallCaptionLeft,n=e.smallCaptionRight,o=e.imgSrc,c=e.isPublished,a=Object(Y.a)("translation").t;return c?Object(U.jsx)(Ce,{align:"vertical",children:o?Object(U.jsxs)(U.Fragment,{children:[Object(U.jsxs)(Vo,{children:[o&&Object(U.jsx)(Yo,{}),Object(U.jsx)(Ko,{children:Object(U.jsx)(s.Icon,{iconName:"ic_lock",size:48,colorKey:"ui_cpnt_icon_sys_white"})}),Object(U.jsx)(s.ImageView,{src:o,width:288,ratio:"4_3",scaleType:"cover",shapeType:"rectangle"})]}),Object(U.jsxs)(Xo,{children:[Object(U.jsxs)(le,{children:[Object(U.jsx)(s.D_TextLabel,{text:t,styleTheme:"subTitleBold",ellipsisMode:"use",lineLimit:3}),Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsx)(s.D_TextLabel,{text:a("str_3659"),styleTheme:"body2Regular",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:7})]}),(i||n)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px"},children:[i&&Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),n&&Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e"})]}):Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(Xo,{children:Object(U.jsxs)(le,{flex:!0,children:[Object(U.jsx)(s.D_TextLabel,{text:t,styleTheme:"subTitleBold",ellipsisMode:"use",lineLimit:4}),Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsx)(s.D_TextLabel,{text:a("str_3659"),styleTheme:"body2Regular",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:7})]})}),(i||n)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsxs)(ue,{style:{display:"grid",gridTemplateColumns:"minmax(0px, max-content) max-content",gap:"8px",paddingLeft:"24px",paddingRight:"24px"},children:[i&&Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"}),n&&Object(U.jsx)(s.D_TextLabel,{text:n,styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})]})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e"})]})}):Object(U.jsxs)(Ce,{align:"vertical",children:[Object(U.jsx)(Xo,{children:Object(U.jsx)(le,{flex:!0,children:Object(U.jsxs)(ue,{children:[Object(U.jsx)(s.D_TextLabel,{text:a("str_3106"),styleTheme:"subTitleBold",colorTheme:"sysTextSecondary"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"})]})})}),Object(U.jsx)(s.Spacing,{size:"spacing_e"})]})},Zo=Pe.a.fetchCreators;var $o=M.default.div.withConfig({displayName:"S_Grid",componentId:"sc-18f6wtr-0"})(["display:grid;gap:",";grid-template-columns:repeat(3,288px);"],(function(e){return e.theme.spacing.spacingE})),Jo=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.onClickPostCard,o=Object(r.c)(),c=Object(Vn.b)().userEntrywayForUse,l=Object(r.d)(oe.g),u=l.episodes,d=l.unlockMatchingPostIds,p=Object(r.d)(h.d),b=null===p||void 0===p?void 0:p.channelProfile,j=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){o(Zo())}),[]),Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.Spacing,{size:"spacing_h"}),Object(U.jsx)(s.Divider,{}),Object(U.jsx)(s.Spacing,{size:"spacing_h"}),Object(U.jsx)($o,{children:u.map((function(e){var o;if((null===b||void 0===b?void 0:b.id)===e.post.profileId&&(o=b.nickname),j){var s=j.find((function(t){return t.id===e.post.profileId}));s&&(o=s.nickname)}return Object(U.jsx)("div",{onClick:c((function(){n(e.post.id)}),"GUEST_OPEN_WHEN_PUBLIC_OPEN"),children:no(e,d)?Object(U.jsx)(qo,{title:e.post.t
1itle,smallCaptionLeft:t?o||e.post.author:"",smallCaptionRight:i?io(e.post.publishedAt):"",imgSrc:e.post.thumbnailSrc,isPublished:e.post.isPublished}):Object(U.jsx)(_o,{title:e.post.title,description:to(e.post.content),smallCaptionLeft:t?o||e.post.author:"",smallCaptionRight:i?io(e.post.publishedAt):"",imgSrc:e.post.thumbnailSrc,isPublished:e.post.isPublished})},e.post.id)}))})]})};var Qo=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.templateName,o=e.templateProps;switch(n){case"LIST_A":return Object(U.jsx)(co,Object(G.a)({isAuthorShow:t,isPublishedAtShow:i},o));case"LIST_C":return Object(U.jsx)(Bo,Object(G.a)({isAuthorShow:t,isPublishedAtShow:i},o));case"FOCUS_IMAGE":return Object(U.jsx)(Go,Object(G.a)({isAuthorShow:t,isPublishedAtShow:i},o));case"CARD_GRID":return Object(U.jsx)(Jo,Object(G.a)({isAuthorShow:t,isPublishedAtShow:i},o));default:case"LIST_B":return Object(U.jsx)(mo,Object(G.a)({isAuthorShow:t,isPublishedAtShow:i},o))}},ec=ve.b.seriesDetailMounted,tc=ve.b.seriesDetailUnMounted,ic=Pe.a.fetchCreators,nc={dataObjectType:"CUSTOM_DATA",dataObjectResourceName:"CustomSEOResource",customSEOResourceSchema:{title:"{{seriesTitle}}",description:"{{publishedAt}}. {{seriesDescription}}",thumbnailSrc:"{seriesThumbnailSrc}"},keyMappingDefinition:{title:"title",description:"description",thumbnailSrc:"thumbnailSrc"}};var oc=M.default.div.withConfig({displayName:"S_BackBtnBox",componentId:"sc-dpy4l6-0"})(["align-items:center;cursor:pointer;display:flex;flex-direction:row;margin-bottom:",";margin-top:",";width:fit-content;;"],(function(e){return e.theme.spacing.spacingF}),(function(e){return e.theme.spacing.spacingE})),cc=M.default.div.withConfig({displayName:"S_Content1",componentId:"sc-dpy4l6-1"})([""," padding-left:",";padding-right:",";"],(function(e){return e.isPostProtection&&Be.a}),(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),sc=function(){var e,t=Object(Y.a)("translation").t,i=Object(r.c)(),n=Object(l.l)(),o=Object(l.k)(),c=Object(ne.a)(),u=c.get("prevPath"),d=c.get("sectionId"),p=Object(l.n)(v),b=Object(l.m)().channelCode,j=Object(l.n)(S),m=Object(r.d)(oe.g),g=m.isLoading,_=m.series,O=m.episodes,f=m.error,T=m.templateName,D=Object(r.d)(h.d),y=Object(r.d)(oe.i),E=K(),I=E.isPostProtection,P=E.isPostAuthorShow,w=E.isPostPublishedAtShow,B=E.isSeriesAuthorShow,L=E.isSeriesPublishedAtShow,k=p.params.seriesId,F=null===D||void 0===D?void 0:D.channelProfile,R=n.state,N=Object(a.useState)(!1),M=Object(q.a)(N,2),z=M[0],W=M[1],H=J().tabs,G=Object(Gn.a)(v,{channelCode:b,pAppCode:x.f.getPAppCode(),seriesId:k}),X=_?{title:t("str_seo_b00001_series_detail_title",{seriesTitle:_.title,interpolation:{escapeValue:!1}}),description:_.description&&t("str_seo_b00001_series_detail_desc",{publishedAt:ae.a.tz(_.publishedAt).format("YYYY-MM-DD"),seriesDescription:Object(Hn.a)(_.description,150)}),thumbnailSrc:_.thumbnailSrc}:null;Object(Q.b)("".concat(x.f.getPAppCode(),"SeriesDetail"),"".concat(x.f.getPAppCode().toLowerCase(),"_series_detail")),Object(ee.c)({manifest:nc,isActivated:!0,data:X,options:{useChannelTitlePrefix:!0}}),Object(a.useLayoutEffect)((function(){i(ic())}),[]),Object(a.useEffect)((function(){return i(ec({seriesId:Number(k)})),function(){i(tc())}}),[k]);var V=Object(a.useMemo)((function(){var e={nickname:""};if(_){if((null===F||void 0===F?void 0:F.id)===_.profileId)e.nickname=F.nickname;else{if(!y)return;var t=y.find((function(e){return e.id===_.profileId}));if(!t)return;e.nickname=t.nickname}return e}}),[_,D,y]);return Object(U.jsxs)(U.Fragment,{children:[f&&Object(U.jsx)(Ae,{error:f,clearError:function(){i(tc())},backTo:null===j||void 0===j?void 0:j.url}),_&&z&&Object(U.jsx)(Ie.a,{pAppCode:x.f.getPAppCode(),targetModel:"POST",targetId:_.id,redirectUrl:G,onClose:function(){i(ic()),i(ec({seriesId:Number(k)})),W(!1)},onSuccessNavigate:function(){o.push(G)}}),Object(U.jsx)(s.WTContainersBox,{layoutType:H.length>1?"WTI_2":"WTN_2",pageMenuContent:Object(U.jsx)(re,{}),isLoadingContainer1:Boolean(g)||!_,content1:Object(U.jsxs)(cc,{isPostProtection:I,children:[Object(U.jsxs)(oc,{onClick:function(){"HOME"!==u?"CONTENTSLIST_DETAIL"===u&&d?o.push(Object(Gn.a)(A,{channelCode:b,pAppCode:x.f.getPAppCode(),sectionId:d})):null!==R&&void 0!==R&&R.internal?o.goBack():j&&o.push(null===j||void 0===j?void 0:j.url):o.push(Object(Gn.a)(C,{channelCode:b,pAppCode:x.f.getPAppCode()}))},children:[Object(U.jsx)(s.D_IconButton,{iconSize:20,baseColorKey:"ui_cpnt_button_fill_base_transparent",iconName:"ic_arrow_left_bold",iconColorKey:"ui_cpnt_icon_sys_grey_01"}),Object(U.jsx)(s.D_TextLabel,{text:t("str_back"),styleTheme:"body2Bold"})]}),_&&Object(U.jsx)(Yn,{id:_.id,imgSrc:_.coverImageSrc,title:_.title,contents:null!==(e=_.description)&&void 0!==e?e:"",author:V?V.nickname:_.author,publishedAt:_.publishedAt,isAuthorShow:B,isPublishedAtShow:L}),O.length>0?Object(U.jsx)(Qo,{isAuthorShow:P,isPublishedAtShow:w,templateName:T,templateProps:{episodes:O,onClickPostCard:function(e){u?o.push("".concat(null===p||void 0===p?void 0:p.url,"/posts/").concat(e,"?prevPath=").concat(u).
1concat(d?"&sectionId=".concat(d):""),{internal:!0}):o.push("".concat(null===p||void 0===p?void 0:p.url,"/posts/").concat(e),{internal:!0})}}}):Object(U.jsx)(De,{text:t("str_2902")})]})})]})};function ac(){return Object(U.jsxs)(l.g,{children:[Object(U.jsx)(l.d,{exact:!0,path:v,render:function(){return Object(U.jsx)(H,{children:Object(U.jsx)(sc,{})})}}),Object(U.jsx)(u.l,{exact:!0,path:y,option:"GUEST_OPEN_WHEN_PUBLIC_OPEN",render:function(){return Object(U.jsx)(H,{children:Object(U.jsx)(Zt,{})})}}),Object(U.jsx)(l.c,{to:v})]})}function rc(){var e=Object(l.m)().channelCode,t=J(),i=t.firstTab,n=t.isSeriesTabActive,o=i||Object(f.U)(e);return Object(U.jsxs)(l.g,{children:[n&&Object(U.jsx)(l.d,{exact:!0,path:S,render:function(){return Object(U.jsx)(H,{children:Object(U.jsx)(Un,{})})}}),Object(U.jsx)(l.d,{path:v,render:function(){return Object(U.jsx)(H,{children:Object(U.jsx)(ac,{})})}}),Object(U.jsx)(l.c,{to:o})]})}var lc,uc,dc=i(449),pc=i(624);i(112);!function(e){e.THREE_COLUMN_HORIZONTAL="3_GRID_HORIZONTAL",e.THREE_COLUMN_VERTICAL="3_GRID_VERTICAL",e.FOUR_COLUMN_HORIZONTAL="4_GRID_HORIZONTAL",e.FOUR_COLUMN_VERTICAL="4_GRID_VERTICAL",e.FIVE_COLUMN_HORIZONTAL="5_GRID_HORIZONTAL",e.FIVE_COLUMN_VERTICAL="5_GRID_VERTICAL"}(uc||(uc={}));var bc={B00001:uc.FOUR_COLUMN_VERTICAL,B00005:uc.FOUR_COLUMN_VERTICAL,C00002:uc.FIVE_COLUMN_HORIZONTAL,C00006:uc.FOUR_COLUMN_HORIZONTAL},jc={B00001:(lc={},Object(Z.a)(lc,uc.THREE_COLUMN_HORIZONTAL,{ratio:"3_2"}),Object(Z.a)(lc,uc.THREE_COLUMN_VERTICAL,{ratio:"3_4"}),Object(Z.a)(lc,uc.FOUR_COLUMN_HORIZONTAL,{ratio:"3_2"}),Object(Z.a)(lc,uc.FOUR_COLUMN_VERTICAL,{ratio:"3_4"}),Object(Z.a)(lc,uc.FIVE_COLUMN_HORIZONTAL,{ratio:"3_2"}),Object(Z.a)(lc,uc.FIVE_COLUMN_VERTICAL,{ratio:"3_4"}),lc)};function hc(e){if(!e)return null;var t=e.match(/\d+_GRID_(HORIZONTAL|VERTICAL)/);return t?t[0]:null}function mc(e){var t=e.split("_GRID_"),i=Object(q.a)(t,1)[0],n=parseInt(i,10);return{imgRatio:jc.B00001[e].ratio,column:n}}var gc=M.default.div.withConfig({displayName:"S_ContentsListItem",componentId:"sc-9437ni-0"})(["cursor:pointer;display:flex;flex-direction:column;width:",";&:first-child{margin-left:0;}&:last-child{margin-right:0;}"],(function(e){var t=e.itemLimit;return t?"calc(".concat(100/t,"% - 16px)"):"100%"})),_c=M.default.div.withConfig({displayName:"S_ThumbnailWrapper",componentId:"sc-9437ni-1"})(["position:relative;width:100%;"]),xc=M.default.div.withConfig({displayName:"S_EpisodeTextWrapper",componentId:"sc-9437ni-2"})(["-webkit-box-orient:vertical;-webkit-line-clamp:1;display:-webkit-box;margin-top:8px;overflow:hidden;text-align:left;text-overflow:ellipsis;width:100%;"]),Oc=function(e){var t=e.ratio,i=e.titleText,n=e.imageSrc,o=e.itemLimit,c=e.onClickItem;return Object(U.jsxs)(gc,{itemLimit:o,onClick:c,children:[Object(U.jsx)(_c,{children:Object(U.jsx)(s.ImageView,{src:n,ratio:t,scaleType:"cover",shapeType:"round",radius:8,width:"responsive",backgroundFillMode:"use",borderMode:"use"})}),Object(U.jsx)(xc,{children:Object(U.jsx)(s.D_TextLabel,{text:i,styleTheme:"body1Regular",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"})})]})};var fc=M.default.div.withConfig({displayName:"S_NavBar",componentId:"sc-1pxe3fp-0"})(["align-items:center;cursor:pointer;display:flex;padding-bottom:",";padding-top:",";width:fit-content;"],(function(e){return e.theme.spacing.spacingF}),(function(e){return e.theme.spacing.spacingE})),Cc=function(e){var t=e.onClick,i=Object(Y.a)("translation").t;return Object(U.jsxs)(fc,{onClick:t,children:[Object(U.jsx)(s.D_IconButton,{iconSize:20,iconName:"ic_arrow_left_bold",baseColorKey:"ui_cpnt_button_fill_base_transparent",iconColorKey:"ui_cpnt_icon_sys_grey_01"}),Object(U.jsx)(s.Spacing,{spacingType:"width",size:"spacing_a"}),Object(U.jsx)(s.D_TextLabel,{text:i("str_back")})]})},Tc={dataObjectType:"CUSTOM_DATA",dataObjectResourceName:"CustomSEOResource",customSEOResourceSchema:{title:"{{menuName}}",description:"{{channelName}}\uc758 \uc2dc\ub9ac\uc988\ub97c \ub458\ub7ec\ubcf4\uc138\uc694.",thumbnailSrc:"{seriesCoverImageSrc}"},keyMappingDefinition:{title:"title",description:"description",thumbnailSrc:"thumbnailSrc"}};var Dc=M.default.div.withConfig({displayName:"S_SectionsWrapper",componentId:"sc-hcc4mx-0"})(["margin:0 auto;max-width:1440px;min-width:1200px;"]),Sc=M.default.div.withConfig({displayName:"S_ContentsListElementsBox",componentId:"sc-hcc4mx-1"})(["display:grid;grid-gap:32px 16px;grid-template-columns:",";padding-left:",";padding-right:",";"],(function(e){var t=e.columnCount;return"repeat(".concat(t,", 1fr)")}),(function(e){return e.theme.spacing.spacingG}),(function(e){return e.theme.spacing.spacingG})),vc=M.default.div.withConfig({displayName:"S_TitleWrapper",componentId:"sc-hcc4mx-2"})(["padding-left:",";"],(function(e){return e.theme.spacing.spacingG})),yc=function(){var e,t;Object(Q.b)("".concat(x.f.getPAppCode(),"ContentsListDetail"),"".concat(x.f.getPAppCode().toLowerCase(),"_contentslist_detail"));var i=Object(Y.a)("translation").t,n=Object(l.k)(),o=Object(l.m)(),c=o.channelCode,u=o.sectionId,d=Object(r.c)(),p=Object(r.d)(h.c),b=Object(r.d)(pc.a),j=Object(r.d)(pc.i),m=p?{title:i("str_seo_b00001_contents_list_detail_title",{menuName:p.pAppCodeMenuItemNameSet[x.f.getPAppCode()]}),description:i("str_seo_b00001_contents_list_detail_desc",{channelName:p.title})}:null;Object(ee.c)({manifest:Tc,isActivated:!0,data:m,options:{useChannelTitlePrefix:!0}}),Object(a.useEffect)((function(){return d(Object(dc.b)({sectionId:Number(u)})),function(){d(Object(dc.c)())}}),[u]);var g=null!==(e=hc((null===b||void 0===b?void 0:b.sectionDesignTemplate)||""))&&void 0!==e?e:bc.B00001;if(!g)return Object(U.jsx)(U.Fragment,{children:"Error: Design template not found"});var _=mc(g),O=_.imgRatio,f=_.column;return Object(U.jsx)(s.WTContainersBox,{layoutType:"WTM_1",isLoadingContainer1:j,content1:Object(U.jsxs)(Dc,{children:[Object(U.jsxs)(vc,{children:[Object(U.jsx)(Cc,{onClick:function(){n.push(Object(x.l)(C,{channelCode:c,pAppCode:x.f.getPAppCode()}))}}),Object(U.jsx)(s.D_TextLabel,{text:null===b||void 0===b?void 0:b.title,styleTheme:"displayBold"})]}),Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsx)(Sc,{columnCount:f,children:null===b||void 0===b||null===(t=b.seriesListSectionItems)||void 0===t?void 0:t.map((function(e){var t=e.series,i=e.id;return Object(U.jsx)(Oc,{ratio:O,imageSrc:t.coverImageSrc,titleText:t.title,onClickItem:function(){return function(e){n.push(Object(x.l)(v,{channelCode:c,pAppCode:x.f.getPAppCode(),seriesId:e},{prevPath:$.c.CONTENTSLIST_DETAIL,sectionId:u}))}(t.id)}},i)}))})]})})},Ac=i(450),Ec=i(410);var Ic=M.default.div.withConfig({displayName:"S_GradientCover",componentId:"sc-1a0f5qc-0"})(["background-image:",";border-radius:",";bottom:",";height:",";position:absolute;width:100%;z-index:",";"],(function(e){var t=e.gradientStyle,i=e.direction,n=e.startColor,o=e.endColor;return"".concat(t,"(").concat(i,", ").concat(n,",").concat(o,")")}),(function(e){return e.borderRadius}),(function(e){return"bottom"===e.position&&"0"}),(function(e){return e.height}),(function(e){return e.zIndex})),Pc=function(e){var t=e.height,i=void 0===t?"100%":t,n=e.width,o=void 0===n?"100%":n,c=e.gradientStyle,s=void 0===c?"linear-gradient":c,a=e.direction,r=void 0===a?"to bottom":a,l=e.startColor,u=void 0===l?"rgba(0, 0, 0, 0) 0%":l,d=e.endColor,p=void 0===d?"rgba(0, 0, 0, 0.7) 100%":d,b=e.borderRadius,j=void 0===b?"n
1one":b,h=e.position,m=void 0===h?"bottom":h,g=e.zIndex,_=void 0===g?1:g;return Object(U.jsx)(Ic,{height:i,width:o,gradientStyle:s,direction:r,startColor:u,endColor:p,borderRadius:j,position:m,zIndex:_})};var wc=M.default.div.withConfig({displayName:"S_ContentsBox",componentId:"sc-17vkuf1-0"})(["bottom:88px;left:122px;position:absolute;width:100%;z-index:3;"]),Bc=M.default.div.withConfig({displayName:"S_LogoImageWrapper",componentId:"sc-17vkuf1-1"})(["align-content:flex-start;display:flex;margin-bottom:16px;max-width:400px;text-align:left;width:25%;& > div{line-height:1.3;}"]),Lc=M.default.div.withConfig({displayName:"S_TitleWrapper",componentId:"sc-17vkuf1-2"})(["align-content:flex-start;display:flex;margin-bottom:16px;max-width:480px;text-align:left;& > div{line-height:1.3;}"]),kc=M.default.div.withConfig({displayName:"S_TextWrapper",componentId:"sc-17vkuf1-3"})(["margin-bottom:24px;text-align:left;width:480px;"]),Fc=function(e){var t=e.title,i=e.description,n=e.logoImageSrc;return Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(Pc,{height:"280px","z-index":2}),Object(U.jsxs)(wc,{children:[Object(U.jsx)(U.Fragment,{children:n?Object(U.jsx)(Bc,{children:Object(U.jsx)(s.ImageView,{src:n,ratio:"auto",scaleType:"none",backgroundFillMode:"none",width:"responsive",shapeType:"rectangle"})}):Object(U.jsx)(Lc,{children:Object(U.jsx)(s.D_TextLabel,{lineLimit:2,ellipsisMode:"use",styleTheme:"displayBold",text:t,colorTheme:"sysTextWhite"})})}),Object(U.jsx)(kc,{children:Object(U.jsx)(s.D_TextLabel,{lineLimit:2,ellipsisMode:"use",styleTheme:"body1Regular",text:i,colorTheme:"sysTextWhite"})})]})]})};var Rc=M.default.span.withConfig({displayName:"S_HomeSlideImage",componentId:"sc-9nce27-0"})(["background-image:",";background-position:center;background-repeat:no-repeat;background-size:cover;display:block;height:488px;min-width:1200px;position:relative;width:100vw;"],(function(e){var t=e.src;return t&&"url(".concat(t,")")})),Nc=function(e){var t=e.title,i=e.description,n=e.backgroundImageSrc,o=e.logoImageSrc,c=e.onClickSlide;return Object(U.jsx)("div",{onClick:c,children:Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(Fc,{title:t,description:i,logoImageSrc:o}),Object(U.jsx)(Rc,{src:n})]})})};function Mc(e){var t=e.sectionData,i=e.onClick,n=Object(a.useMemo)((function(){var e;return t.length&&null!==(e=t[0])&&void 0!==e&&e.slideDuration?1e3*t[0].slideDuration:0}),[t]);return Object(U.jsx)(U.Fragment,{children:Object(U.jsxs)(Uc,{children:[t&&1===t.length&&Object(U.jsx)(U.Fragment,{children:Object(U.jsx)(Nc,{title:t[0].title,description:t[0].description,backgroundImageSrc:t[0].backgroundDesktopImgSrc,logoImageSrc:t[0].alternativeLogoSrc,onClickSlide:function(){var e,n;return i(null!==(e=null===(n=t[0])||void 0===n?void 0:n.series)&&void 0!==e?e:void 0,t[0].webLinkSrc)}})}),t&&t.length>1&&Object(U.jsx)(Ec.default,{cellAlign:"center",initialSlideHeight:450,heightMode:"first",autoplay:!0,wrapAround:!0,autoplayInterval:n,renderCenterLeftControls:function(e){return function(e){return Object(U.jsx)(Hc,{side:"left",onClick:e.previousSlide,children:Object(U.jsx)(Gc,{children:Object(U.jsx)(s.Icon,{iconName:"ic_arrow_left",size:72,fill:!1,colorKey:"ui_cpnt_bannerslide_icon_01"})})})}(e)},renderCenterRightControls:function(e){return function(e){return Object(U.jsx)(Hc,{side:"right",onClick:e.nextSlide,children:Object(U.jsx)(Gc,{children:Object(U.jsx)(s.Icon,{iconName:"ic_arrow_right",size:72,fill:!1,colorKey:"ui_cpnt_bannerslide_icon_01"})})})}(e)},renderBottomCenterControls:function(e){return function(e){var t=e.slideCount,i=e.currentSlide,n=Object(X.a)(Array(t)).map((function(e,t){return{id:t}}));return Object(U.jsx)(zc,{children:n.map((function(t,n){return Object(U.jsx)(Wc,{currentSlide:i,i:n,onClick:function(){e.goToSlide(n)}},n)}))})}(e)},renderBottomLeftControls:null,children:t.map((function(e){var t=e.id,n=e.title,o=e.description,c=e.backgroundDesktopImgSrc,s=e.alternativeLogoSrc,r=e.series,l=e.webLinkSrc;return Object(U.jsx)(a.Fragment,{children:Object(U.jsx)(Nc,{title:n,description:o,backgroundImageSrc:c,logoImageSrc:s,onClickSlide:function(){i(null!==r&&void 0!==r?r:void 0,l)}})},t)}))})]})})}var Uc=M.default.div.withConfig({displayName:"S_MainSlideBanner",componentId:"sc-gpxlet-0"}
1)(["height:488px;min-width:1200px;position:relative;width:100vw;& section{height:488px;min-width:1200px;}"]),zc=M.default.div.withConfig({displayName:"S_DotList",componentId:"sc-gpxlet-1"})(["display:flex;flex-direction:row;margin-bottom:32px;"]),Wc=M.default.div.withConfig({displayName:"S_Dot",componentId:"sc-gpxlet-2"})(["background-color:",";border-radius:6px;cursor:pointer;height:12px;margin:0 4px;width:12px;z-index:11;"],(function(e){var t=e.currentSlide,i=e.i,n=e.theme;return t===i?n.ui_cpnt_bannerslide_pagination_active:n.ui_cpnt_bannerslide_pagination_inactive})),Hc=M.default.div.withConfig({displayName:"S_ArrowWrapper",componentId:"sc-gpxlet-3"})(["cursor:pointer;display:flex;height:80px;padding:4px;width:80px;z-index:11;",""],(function(e){var t=e.side;return"".concat(t,": 0px;\n  margin-").concat(t,": 12px;")})),Gc=M.default.div.withConfig({displayName:"S_Icon",componentId:"sc-gpxlet-4"})(["opacity:0.4;"]);var Xc=M.default.div.withConfig({displayName:"S_VideoStyleListItem",componentId:"sc-1bjtjrp-0"})(["cursor:pointer;display:flex;flex-direction:column;width:",";&:first-child{margin-left:0;}&:last-child{margin-right:0;}"],(function(e){var t=e.itemLimit;return t?"calc(".concat(100/t,"% - 16px)"):"100%"})),Yc=M.default.div.withConfig({displayName:"S_ThumbnailWrapper",componentId:"sc-1bjtjrp-1"})(["position:relative;width:100%;"]),Vc=M.default.div.withConfig({displayName:"S_EpisodeTextWrapper",componentId:"sc-1bjtjrp-2"})(["-webkit-box-orient:vertical;-webkit-line-clamp:1;display:-webkit-box;margin-top:8px;overflow:hidden;text-align:left;text-overflow:ellipsis;width:100%;"]),Kc=function(e){var t=e.titleText,i=e.imageSrc,n=e.itemLimit,o=e.imgRatio,c=e.onClickItem;return Object(U.jsxs)(Xc,{itemLimit:n,onClick:c,children:[Object(U.jsx)(Yc,{children:Object(U.jsx)(s.ImageView,{src:i,ratio:o,scaleType:"cover",shapeType:"round",radius:8,width:"responsive",backgroundFillMode:"use",borderMode:"use"})}),Object(U.jsx)(Vc,{children:Object(U.jsx)(s.D_TextLabel,{text:t,styleTheme:"body1Regular",ellipsisMode:"use",lineLimit:1,wordBreak:"break_all"})})]})};function qc(e){var t,i=e.sectionData,n=e.sectionDesignTemplate,o=e.title,c=e.onSeeAllBtnClick,s=e.onSeriesItemClick,a=Object(Y.a)("translation").t,r=null!==(t=hc(n))&&void 0!==t?t:bc.B00001;if(!r)return Object(U.jsx)(U.Fragment,{children:"Error: Design template not found"});var l=mc(r),u=l.imgRatio,d=l.column;return Object(U.jsx)(Zc,{children:Object(U.jsx)(_.v,{titleText:o,btnMode:"use",btnText:a("str_see_all"),itemCountUnit:d,onClickBtn:c,children:i&&i.slice(0,d).map((function(e,t){var i=e.id,n=e.series;return Object(U.jsx)(Kc,{imageSrc:(null===n||void 0===n?void 0:n.coverImageSrc)||"",titleText:(null===n||void 0===n?void 0:n.title)||"",imgRatio:u,onClickItem:function(){return s(n)}},"SERIES_".concat(t,"_").concat(i,"_").concat(null===n||void 0===n?void 0:n.id))}))})})}var Zc=M.default.div.withConfig({displayName:"S_SeriesListSection",componentId:"sc-1xj9h3x-0"})(["padding-left:",";padding-right:",";"],(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE}));function $c(){var e=Object(Y.a)("translation").t;return Object(U.jsx)(es,{emptyTextJustifyContent:"center",children:Object(U.jsx)(s.D_TextLabel,{text:e("str_1323"),textAlign:"center",styleTheme:"body2Regular",colorTheme:"sysTextTertiary"})})}var Jc=Object(M.css)(["height:100%;justify-content:center;"]),Qc=Object(M.css)(["height:auto;padding-bottom:",";"],(function(e){return e.theme.spacing.spacingI})),es=M.default.div.withConfig({displayName:"S_TextWrapper",componentId:"sc-62pfwv-0"})(["align-items:center;display:flex;flex-direction:column;height:100%;margin-top:",";",";"],(function(e){return e.theme.spacing.spacingI}),(function(e){var t=e.emptyTextJustifyContent;return t?{center:Jc,flexStart:"",flexEnd:""}[t]:Qc}));function ts(e){var t=e.sectionData,i=e.onLineBannerClick,n=t||{},o=n.bannerBackgroundColorHex,c=n.bannerImgSrc;return Object(U.jsx)(is,{backgroundColor:o||"#000000",margin:48,hasItem:!!t,onClick:function(){var e;return i(null!==(e=null===t||void 0===t?void 0:t.series)&&void 0!==e?e:void 0,null===t||void 0===t?void 0:t.webLinkSrc)},children:c&&Object(U.jsx)(s.ImageView,{src:c,shapeType:"rectangle",width:"responsive",height:120,scaleType:"contain"})})}var is=M.default.div.withConfig({displayName:"S_LineBannerSection",componentId:"sc-32s4ke-0"})(["background:",";cursor:pointer;height:",";margin-bottom:","px;margin-top:","px;"],(function(e){var t=e.backgroundColor;return t&&t}),(function(e){return e.hasItem?"120px":0}),(function(e){var t=e.margin;return t||0}),(function(e){var t=e.margin;return t||0})),ns={dataObjectType:"CUSTOM_DATA",dataObjectResourceName:"CustomSEOResource",customSEOResourceSchema:{title:"{{menuName}}",description:"{{channelName}}\uc758 \uc2dc\ub9ac\uc988\ub97c \ub458\ub7ec\ubcf4\uc138\uc694.",thumbnailSrc:"{seriesCoverImageSrc}"},keyMappingDefinition:{title:"title",description:"description",thumbnailSrc:"thumbnailSrc"}};var os=M.default.div.withConfig({displayName:"S_SubtitleWrapper",componentId:"sc-1n9f5rh-0"})(["margin-left:",";margin-top:",";"],(function(e){return e.theme.spacing.spacingG}),(function(e){return e.theme.spacing.spacingG})),cs=M.default.div.withConfig({displayName:"S_SectionsWrapper",componentId:"sc-1n9f5rh-1"})(["margin:0 auto;max-width:1440px;min-width:1200px;"]),ss=function(e){var t,i,n=e.tabs;Object(Q.b)("".concat(x.f.getPAppCode(),"Home"),"".concat(x.f.getPAppCode().toLowerCase(),"_home"));var o=Object(Y.a)("translation").t,c=Object(r.c)(),u=Object(l.k)(),d=Object(r.d)(Object(h.n)()),p=Object(r.d)(m.c),b=Object(r.d)(oe.h),j=Object(r.d)(oe.j),g=Object(te.a)(),_=g.openDialog,O=g.closeDialog,f=(null===d||void 0===d?void 0:d.channelCode)||"",C=null===p||void 0===p?void 0:p.config,T=(null===C||void 0===C?void 0:C[$.b.UX_CPS_OVERRIDE_HOME_NAME_WITH_I18N_SUPPORT])||o("str_pg_title_papp_article_main_home"),D=Object(a.useMemo)((function(){return null===b||void 0===b?void 0:b.slice(0,b.length).filter((function(e){return e.isActive}))}),[b]),S=null===D||void 0===D?void 0:D.find((function(e){return"MAIN_BANNER_SLIDES"===(null===e||void 0===e?void 0:e.type)})),y=d?{title:o("str_seo_b00001_series_title",{menuName:d.pAppCodeMenuItemNameSet[x.f.getPAppCode()]}),description:o("str_seo_b00001_series_desc",{channelName:d.title})}:null;Object(ee.c)({manifest:ns,isActivated:!0,data:y,options:{useChannelTitlePrefix:!0}}),Object(a.useEffect)((function(){return c(Object(Ac.b)()),function(){c(Object(Ac.c)())}}),[]);var E=function(e,t){t?window.open(/^https?:\/\//i.test(t)?t:"http://".concat(t),"_blank","noopener,noreferrer"):null!==e&&void 0!==e&&e.isPublished?u.push(Object(x.l)(v,{channelCode:f,pAppCode:x.f.getPAppCode(),seriesId:null===e||void 0===e?void 0:e.id},{prevPath:$.c.HOME}),{internal:!0}):_({contentText:o("str_private_series_desc"),btnMode:"tbtn_amount1",tBtn1Text:o("str_confirm"),onClickTBtn1:O})},I=null===S||void 0===S||null===(t=S.mainBannerSlidesSectionItems)||void 0===t?void 0:t.some((function(e){return e.isActive}));return Object(U.jsx)(s.WTContainersBox,{isLoadingContainer1:j,layoutType:n.length>1?"WTH_1":"WTM_1",pageMenuContent:Object(U.jsx)(s.D_UserDesktopTabBar,{itemArray:n}),content1:Object(U.jsxs)(U.Fragment,{children:[!(null!==D&&void 0!==D&&D.length)&&Object(U.jsx)($c,{}),0===(null===S||void 0===S||null===(i=S.mainBannerSlidesSectionItems)||void 0===i?void 0:i.length)&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(os,{children:Object(U.jsx)(s.D_TextLabel,{text:T,styleTheme:"displayBold"})}),Object(U.jsx)(s.Spacing,{size:"spacing_d"})]}),(null===S||void 0===S?void 0:S.mainBannerSlidesSectionItems)&&(null===S||void 0===S?void 0:S.isActive)&&I&&Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(Mc,{sectionData:null===S||void 0===S?void 0:S.mainBannerSlidesSectionItems,onClick:E}),Object(U.jsx)(s.Spacing,{size:"spacing_f"})]}),Object(U.jsx)(U.Fragment,{children:null===D||void 0===D?void 0:D.map((function(e){var t=e.id,i=e.title,n=e.type,o=e.seriesListSectionItems,c=e.lineBannerSectionItems,s=e.sectionDesignTemplate;return Object(U.jsxs)(a.Fragment,{children:["SERIES_LIST"===n&&o&&Object(U.jsx)(cs,{children:Object(U.jsx)(qc,{sectionData:o,title:i,sectionDesignTemplate:s||"DEFAULT",onSeeAllBtnClick:function(){return e=t,void u.push(Object(x.l)(A,{channelCode:f,pAppCode:x.f.getPAppCode(),sectionId:e}));var e},onSeriesItemClick:E})}),"LINE_BANNER"===n&&c&&Object(U.jsx)(ts,{sectionData:c[0],onLineBannerClick:E})]},t)}))})]})})},as=i(29);function rs(e){var t=e.isLoading,i=e.list,n=e.totalCount,o=e.initialPage,c=e.fetchNextPage,s=Object(a.useRef)(o),r=Object(a.useRef)();Object(a.useEffect)((function(){1===o&&0===i.length&&c(o)}),[o,i.length]);var l=Object(a.useCallback)((function(e){t||0===i.length||0===n||(r.current&&r.current.disconnect(),r.current=ne
1w IntersectionObserver((function(e){i.length>=n||e[0].isIntersecting&&(s.current+=1,c(s.current))})),e&&r.current.observe(e))}),[t,n,i]);return Object(a.useEffect)((function(){s.current=o}),[o]),Object(a.useEffect)((function(){return function(){s.current=1}}),[]),{lastElementRef:l}}var ls=i(498),us=i.n(ls);var ds=M.default.div.withConfig({displayName:"S_SearchInputBox",componentId:"sc-9zwk2z-0"})(["",";",";",""],(function(e){var t=e.size;return t&&{small:"width: 188px;",medium:"width: 188px;",large:"width: 432px;"}[t]}),(function(e){return"use"===e.responsiveMode&&"width: 100%"}),(function(e){var t=e.customWidth;return t&&"width: ".concat(t,";")})),ps=Object(M.css)(["height:auto;padding:14px;"]),bs=Object(M.css)(["height:auto;padding-bottom:","px;padding-top:","px;"],(function(e){var t=e.theme;return(46-Number(t.desktopFontSize.form2.substring(0,2))*Number(t.desktopLineHeight.form2))/2}),(function(e){var t=e.theme;return(46-Number(t.desktopFontSize.form2.substring(0,2))*Number(t.desktopLineHeight.form2))/2})),js=Object(M.css)(["border-radius:10px;height:32px;padding-right:",";width:188px;"],(function(e){return e.theme.spacing.spacingB})),hs=Object(M.css)(["height:40px;padding-right:",";width:188px;"],(function(e){return e.theme.spacing.spacingB})),ms=Object(M.css)(["height:48px;padding-right:",";width:432px;"," ",""],(function(e){return e.theme.spacing.spacingB}),(function(e){return"multi"===e.textLineType&&ps}),(function(e){return"auto"===e.textLineType&&bs})),gs=Object(M.css)(["background-color:",";border:solid 2px ",";"],(function(e){return e.theme.ui_cpnt_textfield_base_normal}),(function(e){var t=e.theme,i=e.isError,n=e.isFocused;return i?t.ui_cpnt_textfield_border_error:n?t.ui_cpnt_textfield_border_focus:t.ui_cpnt_textfield_border_normal})),_s=Object(M.css)(["background-color:",";border:solid 2px ",";"],(function(e){return e.theme.ui_cpnt_textfield_base_disabled}),(function(e){return e.theme.ui_cpnt_textfield_border_disabled})),xs=Object(M.css)(["background-color:",";border:solid 2px ",";"],(function(e){return e.theme.ui_cpnt_textfield_base_disabled}),(function(e){return e.theme.ui_cpnt_textfield_border_disabled})),Os=Object(M.css)(["background-color:",";border:solid 2px ",";"],(function(e){return e.theme.ui_cpnt_textfield_base_darktheme_normal}),(function(e){var t=e.theme,i=e.isError,n=e.isFocused;return i?t.ui_cpnt_textfield_border_darktheme_error:n?t.ui_cpnt_textfield_border_darktheme_focus:t.ui_cpnt_textfield_border_darktheme_normal})),fs=Object(M.css)(["background-color:",";border:solid 2px ",";"],(function(e){return e.theme.ui_cpnt_textfield_base_darktheme_disabled}),(function(e){return e.theme.ui_cpnt_textfield_border_darktheme_normal})),Cs=Object(M.css)(["background-color:",";border:solid 2px ",";"],(function(e){return e.theme.ui_cpnt_textfield_base_darktheme_disabled}),(function(e){return e.theme.ui_cpnt_textfield_border_darktheme_normal})),Ts=Object(M.css)(["background-color:",";border:solid 2px ",";"],(function(e){return e.theme.ui_cpnt_textfield_base_colortheme_transparent_normal}),(function(e){var t=e.theme,i=e.isError,n=e.isFocused;return i?t.ui_cpnt_textfield_border_colortheme_transparent_error:n?t.ui_cpnt_textfield_border_colortheme_transparent_focus:t.ui_cpnt_textfield_border_colortheme_transparent_normal})),Ds=Object(M.css)(["background-color:",";border:solid 2px ",";"],(function(e){return e.theme.ui_cpnt_textfield_base_colortheme_transparent_readonly}),(function(e){return e.theme.ui_cpnt_textfield_border_colortheme_transparent_readonly})),Ss=Object(M.css)(["background-color:",";border:solid 2px ",";"],(function(e){return e.theme.ui_cpnt_textfield_base_colortheme_transparent_disabled}),(function(e){return e.theme.ui_cpnt_textfield_border_colortheme_transparent_disabled})),vs=Object(M.css)(["",";"],(function(e){var t=e.colorTheme,i=e.theme;switch(t){case"none":return i.ui_cpnt_textfield_base_hover;case"dark":return i.ui_cpnt_textfield_base_hover_darktheme;case"transparent":return i.ui_cpnt_textfield_base_hover_transparent;default:return i.ui_cpnt_textfield_base_hover}})),ys=Object(M.css)(["",";"],(function(e){var t=e.colorTheme,i=e.theme;switch(t){case"none":return i.ui_cpnt_textfield_base_pressed;case"dark":return i.ui_cpnt_textfield_base_pressed_darktheme;case"transparent":return i.ui_cpnt_textfield_base_pressed_transparent;default:return i.ui_cpnt_textfield_base_pressed}})),As=Object(M.css)(["&:hover{background-color:",";}&:active{background-color:",";}"],vs,ys),Es=Object(M.css)(["transition:background-color 0.15s ease-out;"]),Is=M.default.div.withConfig({displayName:"S_SearchInputWrapper",componentId:"sc-9zwk2z-1"})(["align-items:center;border-radius:14px;box-sizing:border-box;
1cursor:",";display:flex;",";",";"," "," ",";",""],(function(e){return"disabled"===e.state?"not-allowed":"text"}),(function(e){var t=e.size;return t&&{small:js,medium:hs,large:ms}[t]}),(function(e){var t=e.state,i=e.colorTheme;if(t)switch(i){case"none":return{normal:gs,read_only:_s,disabled:xs}[t];case"dark":return{normal:Os,read_only:fs,disabled:Cs}[t];case"transparent":return{normal:Ts,read_only:Ds,disabled:Ss}[t]}}),Es,(function(e){return"normal"===e.state&&As}),(function(e){return"use"===e.responsiveMode&&"width: 100%"}),(function(e){var t=e.customWidth;return t&&"width: ".concat(t,";")})),Ps=function(e){var t=e.name,i=e.hintText,n=e.defaultText,o=e.responsiveMode,c=void 0===o?"none":o,r=e.size,l=void 0===r?"medium":r,u=e.customWidth,d=e.arrowBtnMode,p=void 0===d?"use":d,b=e.onTarget,j=e.onClickArrowIBtn,h=e.onClickSearchIBtn,m=Object(a.useState)(!1),g=Object(q.a)(m,2),_=g[0],x=g[1],O=Object(a.useRef)(null),f=Object(as.useFormContext)(),C=f.register,T=f.getValues,D=f.trigger,S=C(t).onBlur;return Object(U.jsx)(ds,{size:l,responsiveMode:c,customWidth:u,children:Object(U.jsxs)(Is,{size:l,textLineType:"single",isFocused:_,state:"normal",colorTheme:"none",responsiveMode:c,customWidth:u,children:["use"===p&&Object(U.jsx)(s.D_IconButton,{baseSize:"medium",iconSize:20,iconName:"ic_arrow_left",baseColorKey:"ui_cpnt_button_fill_base_transparent",onClick:function(){j&&j()}}),Object(U.jsx)(us.a,{inputRef:O,name:t,size:l,hintText:i,defaultText:n,enterSubmitMode:"use",textLineType:"single",textSize:"form2",textWeight:"normal",fieldPaddingLeft:8,deleteIconMode:"use",deleteIconSize:"large"===l?20:16,deleteIconColor:"ui_cpnt_button_icon_disabled",isFocused:_,onFocus:function(){x(!0)},onBlur:function(e){S(e),x(!1),D(t)},onTarget:function(){b&&b()},onChange:C(t).onChange}),Object(U.jsx)(s.Spacing,{size:"spacing_a",spacingType:"width"}),Object(U.jsx)(s.D_IconButton,{baseSize:"medium",iconSize:20,iconName:"ic_search",baseColorKey:"ui_cpnt_button_fill_base_transparent",onClick:function(){var e=T(t);h&&h(e)}})]})})};var ws=M.default.div.withConfig({displayName:"S_SearchIconWrapper",componentId:"sc-1mj5cby-0"})(["align-items:center;display:flex;height:40px;"]),Bs=function(e){var t=e.searchKey,i=e.hintText,n=e.isOpen,o=e.onSearch,c=e.onToggle,a=Object(as.useFormContext)(),r=a.reset,l=a.handleSubmit;return n?Object(U.jsx)(s.Form,{onSubmit:l((function(e){o(e.search)})),children:Object(U.jsx)(Ps,{name:"search",hintText:i,defaultText:t,onClickArrowIBtn:function(){c(!1),r(),o("")},onClickSearchIBtn:o,customWidth:"424px"})}):Object(U.jsx)(U.Fragment,{children:Object(U.jsx)(ws,{children:Object(U.jsx)(s.D_IconButton,{fillType:"fill",baseSize:"small",iconSize:24,shapeType:"rectangle",iconName:"ic_search",iconFillType:"fill",iconColorKey:"ui_cpnt_list_icon_01",baseColorKey:"ui_cpnt_button_fill_base_transparent",onClick:function(){return c(!0)}})})})};function Ls(e){var t;return null!==(t=(new DOMParser).parseFromString(e,"text/html").documentElement.textContent)&&void 0!==t?t:""}function ks(e){return ae.a.tz(e).format("YYYY-MM-DD")}var Fs=Pe.a.fetchCreators;function Rs(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.isBodyShow,o=e.posts,c=e.lastElementRef,s=e.onClickPostCard,l=Object(r.c)(),u=Object(r.d)(h.d),d=null===u||void 0===u?void 0:u.channelProfile,p=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){l(Fs())}),[]),Object(U.jsx)(U.Fragment,{children:o.length>0&&o.map((function(e,a){var r;if((null===d||void 0===d?void 0:d.id)===e.profileId&&(r=d.nickname),p){var l=p.find((function(t){return t.id===e.profileId}));l&&(r=l.nickname)}return Object(U.jsx)(Ns,{onClick:function(){return s(e.id)},ref:a+1===o.length?c:null,children:null!==e&&void 0!==e&&e.isCAP&&null!==e&&void 0!==e&&e.isLocked?Object(U.jsx)(Di,{title:e.title,smallCaptionLeft:t?r||e.author:"",smallCaptionRight:i?ks(e.publishedAt):"",imgSrc:e.thumbnailSrc,isPublished:e.isPublished}):Object(U.jsx)(ii,{title:e.title,contents:n?Ls(e.content):void 0,smallCaptionLeft:t?r||e.author:"",smallCaptionRight:i?ks(e.publishedAt):"",imgSrc:e.thumbnailSrc,isPublished:e.isPublished})},e.id)}))})}var Ns=M.default.div.withConfig({displayName:"S_PostWrapper",componentId:"sc-t43sub-0"})(["margin-top:",";"],(function(e){return e.theme.spacing.spacingD})),Ms=Pe.a.fetchCreators;var Us=M.default.div.withConfig({displayName:"S_PostWrapper",componentId:"sc-18nxekm-0"})(["cursor:pointer;margin-top:",";"],(function(e){return e.isFirst?0:"80px"})),zs=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.isBodyShow,o=e.posts,c=e.lastElementRef,s=e.onClickPostCard,l=Object(r.c)(),u=Object(r.d)(h.d),d=null===u||void 0===u?void 0:u.channelProfile,p=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){l(Ms())}),[]),Object(U.jsx)(U.Fragment,{children:o.map((function(e,a){var r;if((null===d||void 0===d?void 0:d.id)===e.profileId&&(r=d.nickname),p){var l=p.find((function(t){return t.id===e.profileId}));l&&(r=l.nickname)}return Object(U.jsx)(Us,{onClick:function(){return s(e.id)},isFirst:0===a,ref:a+1===o.length?c:null,children:null!==e&&void 0!==e&&e.isCAP&&null!==e&&void 0!==e&&e.isLocked?Object(U.jsx)(ri,{title:e.title,smallCaptionLeft:t?r||e.author:"",smallCaptionRight:i?ks(e.publishedAt):"",imgSrc:e.thumbnailSrc}
1):Object(U.jsx)(oi,{title:e.title,description:n?Ls(e.content):void 0,smallCaptionLeft:t?r||e.author:"",smallCaptionRight:i?ks(e.publishedAt):"",imgSrc:e.thumbnailSrc})},e.id)}))})},Ws=Pe.a.fetchCreators;var Hs=M.default.div.withConfig({displayName:"S_PostWrapper",componentId:"sc-9e6rdw-0"})(["cursor:pointer;margin-top:",";"],(function(e){return e.isFirst?0:"40px"})),Gs=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.isBodyShow,o=e.posts,c=e.lastElementRef,s=e.onClickPostCard,l=Object(r.c)(),u=Object(r.d)(h.d),d=null===u||void 0===u?void 0:u.channelProfile,p=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){l(Ws())}),[]),Object(U.jsx)(U.Fragment,{children:o.map((function(e,a){var r;if((null===d||void 0===d?void 0:d.id)===e.profileId&&(r=d.nickname),p){var l=p.find((function(t){return t.id===e.profileId}));l&&(r=l.nickname)}return Object(U.jsx)(Hs,{onClick:function(){return s(e.id)},isFirst:0===a,ref:a+1===o.length?c:null,children:null!==e&&void 0!==e&&e.isCAP&&null!==e&&void 0!==e&&e.isLocked?Object(U.jsx)(ji,{title:e.title,smallCaptionLeft:t?r||e.author:"",smallCaptionRight:i?ks(e.publishedAt):"",imgSrc:e.thumbnailSrc}):Object(U.jsx)(ui,{title:e.title,description:n?Ls(e.content):void 0,smallCaptionLeft:t?r||e.author:"",smallCaptionRight:i?ks(e.publishedAt):"",imgSrc:e.thumbnailSrc})},e.id)}))})},Xs=Pe.a.fetchCreators;var Ys=M.default.div.withConfig({displayName:"S_Card",componentId:"sc-jtjg2x-0"})(["margin-bottom:",";"],(function(e){return e.theme.spacing.spacingI})),Vs=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.isBodyShow,o=e.posts,c=e.lastElementRef,s=e.onClickPostCard,l=Object(Y.a)("translation").t,u=Object(r.c)(),d=Object(r.d)(h.d),p=null===d||void 0===d?void 0:d.channelProfile,b=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){u(Xs())}),[]),Object(U.jsx)(U.Fragment,{children:o.map((function(e,a){var r;if((null===p||void 0===p?void 0:p.id)===e.profileId&&(r=p.nickname),b){var u=b.find((function(t){return t.id===e.profileId}));u&&(r=u.nickname)}return Object(U.jsx)(Ys,{ref:a+1===o.length?c:null,children:null!==e&&void 0!==e&&e.isCAP&&null!==e&&void 0!==e&&e.isLocked?Object(U.jsx)(Yi,{title:e.title,imgSrc:e.thumbnailSrc,smallCaptionLeft:t?r||e.author:"",smallCaptionRight:i?ks(e.publishedAt):"",buttonText:l("str_4266"),onClickButton:function(){return s(e.id)}}):Object(U.jsx)(xi,{title:e.title,imgSrc:e.thumbnailSrc,description:n?Ls(e.content):void 0,smallCaptionLeft:t?r||e.author:"",smallCaptionRight:i?ks(e.publishedAt):"",buttonText:l("str_4266"),onClickButton:function(){return s(e.id)}})},e.id)}))})},Ks=Pe.a.fetchCreators;var qs=M.default.div.withConfig({displayName:"S_Grid",componentId:"sc-1pxhrk5-0"})(["display:grid;gap:",";grid-template-columns:repeat(3,288px);"],(function(e){return e.theme.spacing.spacingE})),Zs=function(e){var t=e.isAuthorShow,i=e.isPublishedAtShow,n=e.isBodyShow,o=e.posts,c=e.lastElementRef,s=e.onClickPostCard,l=Object(r.c)(),u=Object(r.d)(h.d),d=null===u||void 0===u?void 0:u.channelProfile,p=Object(r.d)(oe.i);return Object(a.useLayoutEffect)((function(){l(Ks())}),[]),Object(U.jsx)(U.Fragment,{children:Object(U.jsx)(qs,{children:o.map((function(e,a){var r;if((null===d||void 0===d?void 0:d.id)===e.profileId&&(r=d.nickname),p){var l=p.find((function(t){return t.id===e.profileId}));l&&(r=l.nickname)}return Object(U.jsx)("div",{onClick:function(){return s(e.id)},ref:a+1===o.length?c:null,children:null!==e&&void 0!==e&&e.isCAP&&null!==e&&void 0!==e&&e.isLocked?Object(U.jsx)(en,{title:e.title,smallCaptionLeft:t?r||e.author:"",smallCaptionRight:i?ks(e.publishedAt):"",imgSrc:e.thumbnailSrc}):Object(U.jsx)(ei,{title:e.title,description:n?Ls(e.content):void 0,smallCaptionLeft:t?r||e.author:"",smallCaptionRight:i?ks(e.publishedAt):"",imgSrc:e.thumbnailSrc})},e.id)}))})})};var $s=function(e){var t=e.configs,i=e.templateName,n=e.templateProps;switch(i){case"LIST_A":return Object(U.jsx)(Rs,Object(G.a)(Object(G.a)({},t),n));case"LIST_B":return Object(U.jsx)(zs,Object(G.a)(Object(G.a)({},t),n));case"LIST_C":return Object(U.jsx)(Gs,Object(G.a)(Object(G.a)({},t),n));case"FOCUS_IMAGE":return Object(U.jsx)(Vs,Object(G.a)(Object(G.a)({},t),n));case"CARD_GRID":default:return Object(U.jsx)(Zs,Object(G.a)(Object(G.a)({},t),n))}},Js={dataObjectType:"CUSTOM_DATA",dataObjectResourceName:"CustomSEOResource",customSEOResourceSchema:{title:"{{menuName}}",description:"{{channelName}}\uc758 \ud3ec\uc2a4\ud2b8\ub97c \ub458\ub7ec\ubcf4\uc138\uc694."},keyMappingDefinition:{title:"title",description:"description"}};var Qs=M.default.div.withConfig({displayName:"S_SubCategoryTabbar",componentId:"sc-1nn34fe-0"})(["align-items:start;display:flex;padding:0 ",";padding-bottom:",";[x-pds-name='TextLabel']{white-space:nowrap;}[x-pds-name='UserDesktopTabBar']{flex-wrap:wrap;height:auto;justify-content:flex-start;}"],(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingF})),ea=M.default.div.withConfig({displayName:"S_SearchAndSortWrapper",componentId:"sc-1nn34fe-1"})(["align-items:center;display:flex;justify-content:space-between;padding:0 ",";"],(function(e){return e.theme.spacing.spacingE})),ta=M.default.div.withConfig({displayName:"S_PageTitleWrapper",componentId:"sc-1nn34fe-2"})(["padding-left:",";padding-right:",";"],(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),ia=M.default.div.withConfig({displayName:"S_Content1Box",componentId:"sc-1nn34fe-3"})(["",""],(function(e){return e.isPostProtection&&Be.a})),na=M.default.div.withConfig({displayName:"S_Content2",componentId:"sc-1nn34fe-4"})([""," padding-left:",";padding-right:",";"],(function(e){return e.isPostProtection&&Be.a}),(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),oa=function(){var e,t,i;Object(Q.b)("".concat(x.f.getPAppCode(),"Categories"),"".concat(x.f.getPAppCode().toLowerCase(),"_categories"));var n=Object(Y.a)().t,o=Object(r.c)(),u=Object(l.k)(),p=Object(ne.a)(),m=Object(l.m)(),g=m.channelCode,_=m.pAppCode,f=m.categoryId,C=Object(r.d)(h.c),T=Object(r.d)(b).categories,S=Object(r.d)(j),v=Object(r.d)(oe.e),y=v.posts,A=v.totalPosts,E=v.pagination,w=Object(a.useState)(!1),B=Object(q.a)(w,2),L=B[0],k=B[1],F=Object(a.useState)("ALL"),R=Object(q.a)(F,2),N=R[0],M=R[1],z=Object(a.useMemo)((function(){return T.find((function(e){return e.id===Number(f)}))}),[T,f]),W=Object(O.c)([Ne.a.fetchPostList,d.a.fetchBoardCategoryList,d.a.fetchBoardCategoryLabelList]),H=W.getActionStatus(d.a.fetchBoardCategoryLabelList).error,Z=C?{title:n("str_seo_b00001_posts_title",{menuName:C.pAppCodeMenuItemNameSet[x.f.getPAppCode()],interpolation:{escapeValue:!1}}),description:n("str_seo_b00001_posts_desc",{channelName:C.title,interpolation:{escapeValue:!1}})}:null;Object(ee.c)({manifest:Js,isActivated:!0,data:Z,options:{useChannelTitlePrefix:!0}});var ie=Object(te.e)().userEntrywayForUse,ce=K(),se=ce.categories,ae=se.templateName,le=se.isAuthorShow,ue=se.isPublishedAtShow,de=se.isBodyShow,pe=ce.isPostProtection,be=J().tabs,je=Object(as.useForm)(),he
1=rs({isLoading:W.isActionPending(Ne.a.fetchPostList),list:y,totalCount:A,initialPage:E.page,fetchNextPage:function(e){var t,i;o(Ne.a.fetchPostList({page:e,limit:ae&&$.a[ae]||5,boardCategoryId:Number(f),boardCategoryLabelId:"ALL"!==N?N:void 0,sortBy:"published_at",order:null!==(t=p.get("order"))&&void 0!==t?t:void 0,search:null!==(i=p.get("search"))&&void 0!==i?i:void 0}))}}).lastElementRef;Object(a.useEffect)((function(){var e,t;return o(Ne.a.fetchPostList({page:1,limit:ae&&$.a[ae]||5,boardCategoryId:Number(f),boardCategoryLabelId:"ALL"!==N?N:void 0,search:null!==(e=p.get("search"))&&void 0!==e?e:void 0,order:null!==(t=p.get("order"))&&void 0!==t?t:void 0,sortBy:"published_at"})),function(){o(Ne.a.initPostList()),W.resetActionStatus(Ne.a.fetchPostList)}}),[f,N,p.get("search"),p.get("order")]),Object(a.useEffect)((function(){return o(d.a.fetchBoardCategoryLabelList({boardCategoryId:Number(f),page:1,limit:100,order:c.ASC})),function(){o(d.a.initBoardCategoryLabelList()),W.resetActionStatus(d.a.fetchBoardCategoryLabelList)}}),[f]),Object(a.useEffect)((function(){if(H)switch(H.status){case 404:Object(V.c)({contentText:n("str_err_10468"),tBtn1Text:n("str_confirm"),onClickTBtn1:function(){return W.resetActionStatus(Ne.a.fetchPostList),u.replace(Object(x.l)(I,{channelCode:g,pAppCode:_,categoryId:null===T||void 0===T?void 0:T[0].id})),!1}})}}),[H,g,_,null===T||void 0===T?void 0:T[0].id]);var me=[{text:n("str_sortby_newest"),value:"DESC"},{text:n("str_sortby_oldest"),value:"ASC"}];return Object(U.jsx)(U.Fragment,{children:Object(U.jsx)(s.WTContainersBox,{layoutType:be.length>1?"WTT_2":"WTS_2",isLoadingContainer1:W.isActionPending(Ne.a.fetchPostList)&&0===y.length,pageMenuContent:Object(U.jsx)(re,{}),content1:Object(U.jsx)(U.Fragment,{children:(null===z||void 0===z?void 0:z.coverImageSrc)&&Object(U.jsx)(ia,{isPostProtection:pe,children:Object(U.jsx)(xe,{imgSrc:z.coverImageSrc,title:z.name,desc:z.description})})}),content2:Object(U.jsxs)(U.Fragment,{children:[!(null!==z&&void 0!==z&&z.coverImageSrc)&&Object(U.jsxs)(ta,{children:[Object(U.jsx)(s.D_TextLabel,{text:null!==(e=null===z||void 0===z?void 0:z.name)&&void 0!==e?e:"",styleTheme:"displayBold",colorTheme:"sysTextPrimary"}),Object(U.jsx)(s.Spacing,{size:"spacing_b"}),null!==z&&void 0!==z&&z.description?Object(U.jsxs)(U.Fragment,{children:[Object(U.jsx)(s.D_TextLabel,{text:z.description,styleTheme:"subTitleRegular",colorTheme:"sysTextSecondary"}),Object(U.jsx)(s.Spacing,{size:"spacing_g"})]}):Object(U.jsx)(s.Spacing,{size:"spacing_e"})]}),Object(U.jsx)(Qs,{children:Object(U.jsx)(s.D_UserDesktopTabBar,{styleTheme:"content3",itemArray:[{title:n("str_all"),isActive:"ALL"===N,onClick:function(){M("ALL")}}].concat(Object(X.a)(S.map((function(e){return{title:e.name,isActive:N===e.id,onClick:function(){u.push(Object(x.l)(P,{channelCode:g,pAppCode:_,categoryId:f,subCategoryId:e.id},{prevPath:"category"}))}}}))))})}),Object(U.jsxs)(ea,{children:[Object(U.jsx)(as.FormProvider,Object(G.a)(Object(G.a)({},je),{},{children:Object(U.jsx)(Bs,{searchKey:null!==(t=p.get("search"))&&void 0!==t?t:"",hintText:n("str_search_hinttext_search_by_title"),isOpen:L,onSearch:function(e){u.replace(Object(x.l)(I,{channelCode:g,pAppCode:_,categoryId:f},{search:e.length>0?e:void 0}))},onToggle:function(e){return k(e)}})})),Object(U.jsx)(s.D_Dropdown,{size:"medium",value:null!==(i=me.find((function(e){return e.value===p.get("order")})))&&void 0!==i?i:me[0],valueArray:me,onChange:function(e){var t;u.replace(Object(x.l)(I,{channelCode:g,pAppCode:_,categoryId:f},{search:null!==(t=p.get("search"))&&void 0!==t?t:void 0,order:e.value}))}})]}),Object(U.jsx)(s.Spacing,{size:"spacing_f"}),Object(U.jsx)(na,{isPostProtection:pe,children:y.length?Object(U.jsx)(U.Fragment,{children:Object(U.jsx)($s,{templateName:ae,configs:{isAuthorShow:le,isPublishedAtShow:ue,isBodyShow:de},templateProps:{posts:y,lastElementRef:he,onClickPostCard:function(e){ie((function(){u.push(Object(x.l)(D,{channelCode:g,pAppCode:_,postId:e}),{internal:!0})}),"GUEST_OPEN_WHEN_PUBLIC_OPEN")()}}})}):Object(U.jsx)(U.Fragment,{children:Object(U.jsx)(De,{text:n("str_2902")})})})]})})})},ca={dataObjectType:"CUSTOM_DATA",dataObjectResourceName:"CustomSEOResource",customSEOResourceSchema:{title:"{{menuName}}",description:"{{channelName}}\uc758 \ud3ec\uc2a4\ud2b8\ub97c \ub458\ub7ec\ubcf4\uc138\uc694."},keyMappingDefinition:{title:"title",description:"description"}};var sa=M.default.div.withConfig({displayName:"S_BackBtnBox",componentId:"sc-1cjcvpx-0"})(["align-items:center;cursor:pointer;display:flex;flex-direction:row;width:fit-content;"]),aa=M.default.div.withConfig({displayName:"S_SearchAndSortWrapper",componentId:"sc-1cjcvpx-1"})(["align-items:center;display:flex;justify-content:space-between;"]),ra=M.default.div.withConfig({displayName:"S_Content1",componentId:"sc-1cjcvpx-2"})([""," padding-left:",";padding-right:",";"],(function(e){return e.isPostProtection&&Be.a}),(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),la=function(){var e,t,i;Object(Q.b)("".concat(x.f.getPAppCode(),"SubCategories"),"".concat(x.f.getPAppCode().toLowerCase(),"_SubCategories"));var n=Object(Y.a)().t,o=Object(r.c)(),u=Object(l.k)(),p=Object(ne.a)(),b=Object(l.m)(),m=b.channelCode,g=b.pAppCode,_=b.categoryId,f=b.subCategoryId,C=Object(r.d)(h.c),T=Object(r.d)(j),S=Object(r.d)(oe.e),v=S.posts,y=S.totalPosts,A=S.pagination,E=Object(a.useState)(!1),w=Object(q.a)(E,2),B=w[0],L=w[1],k=Object(O.c)([Ne.a.fetchPostList,d.a.fetchBoardCategoryLabelList]),F=Object(a.useMemo)((function(){return T.find((function(e){return e.id===Number(f)}))}),[T,f]),R=C?{title:n("str_seo_b00001_posts_title",{menuName:C.pAppCodeMenuItemNameSet[x.f.getPAppCode()],interpolation:{escapeValue:!1}}),description:n("str_seo_b00001_posts_desc",{channelName:C.title,interpolation:{escapeValue:!1}})}:null;Object(ee.c)({manifest:ca,isActivated:!0,data:R,options:{useChannelTitlePrefix:!0}});var N=Object(te.e)().userEntrywayForUse,M=K(),z=M.categories,W=z.templateName,H=z.isAuthorShow,X=z.isPublishedAtShow,Z=z.isBodyShow,ie=M.isPostProtection,ce=J().tabs,se=Object(as.useForm)(),ae=rs({isLoading:k.isActionPending(Ne.a.fetchPostList),list:v,totalCount:y,initialPage:A.page,fetchNextPage:function(e){var t,i;o(Ne.a.fetchPostList({page:e,limit:W&&$.a[W]||5,boardCategoryId:Number(_),boardCategoryLabelId:Number(f),sortBy:"published_at",order:null!==(t=p.get("order"))&&void 0!==t?t:void 0,search:null!==(i=p.get("search"))&&void 0!==i?i:void 0}))}}).lastElementRef;Object(a.useEffect)((function(){var e,t;return o(Ne.a.fetchPostList({page:1,limit:W&&$.a[W]||5,boardCategoryId:Number(_),boardCategoryLabelId:Number(f),search:null!==(e=p.get("search"))&&void 0!==e?e:void 0,order:null!==(t=p.get("order"))&&void 0!==t?t:void 0,sortBy:"published_at"})),function(){o(Ne.a.initPostList()),k.resetActionStatus(Ne.a.fetchPostList)}}),[_,f,p.get("search"),p.get("order")]),Object(a.useEffect)((function(){return o(d.a.fetchBoardCategoryLabelList({boardCategoryId:Number(_),page:1,limit:100,order:c.ASC}
1)),function(){o(d.a.initBoardCategoryLabelList()),k.resetActionStatus(d.a.fetchBoardCategoryLabelList)}}),[_]),Object(a.useEffect)((function(){!F&&k.isActionCompleted(d.a.fetchBoardCategoryLabelList)&&Object(V.c)({contentText:n("str_err_10469"),tBtn1Text:n("str_confirm"),onClickTBtn1:function(){return k.resetActionStatus(d.a.fetchBoardCategoryLabelList),u.goBack(),!1}})}),[F,m,g,_,k.isActionCompleted(d.a.fetchBoardCategoryLabelList)]);var le=[{text:n("str_sortby_newest"),value:"DESC"},{text:n("str_sortby_oldest"),value:"ASC"}];return Object(U.jsx)(U.Fragment,{children:Object(U.jsx)(s.WTContainersBox,{layoutType:ce.length>1?"WTI_2":"WTN_2",isLoadingContainer1:k.isActionPending(Ne.a.fetchPostList)&&0===v.length,pageMenuContent:Object(U.jsx)(re,{}),content1:Object(U.jsxs)(ra,{isPostProtection:ie,children:[Object(U.jsx)(s.Spacing,{size:"spacing_g"}),Object(U.jsxs)(sa,{onClick:function(){var e=p.get("prevPath");if(e)switch(e){case"category":u.push(Object(x.l)(I,{channelCode:m,pAppCode:g,categoryId:_}));break;default:u.goBack()}else u.goBack()},children:[Object(U.jsx)(s.D_IconButton,{iconSize:20,baseColorKey:"ui_cpnt_button_fill_base_transparent",iconName:"ic_arrow_left_bold",iconColorKey:"ui_cpnt_icon_sys_grey_01"}),Object(U.jsx)(s.D_TextLabel,{text:n("str_back"),styleTheme:"body2Bold",colorTheme:"sysTextPrimary"})]}),Object(U.jsx)(s.Spacing,{size:"spacing_d"}),Object(U.jsx)(s.D_TextLabel,{text:null!==(e=null===F||void 0===F?void 0:F.name)&&void 0!==e?e:"",styleTheme:"displayBold",colorTheme:"sysTextPrimary"}),Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsxs)(aa,{children:[Object(U.jsx)(as.FormProvider,Object(G.a)(Object(G.a)({},se),{},{children:Object(U.jsx)(Bs,{searchKey:null!==(t=p.get("search"))&&void 0!==t?t:"",hintText:n("str_search_hinttext_search_by_title"),isOpen:B,onSearch:function(e){u.replace(Object(x.l)(P,{channelCode:m,pAppCode:g,categoryId:_,subCategoryId:f},Object(G.a)(Object(G.a)({},Object.fromEntries(p)),{},{search:e.length>0?e:void 0})))},onToggle:function(e){return L(e)}})})),Object(U.jsx)(s.D_Dropdown,{size:"medium",value:null!==(i=le.find((function(e){return e.value===p.get("order")})))&&void 0!==i?i:le[0],valueArray:le,onChange:function(e){var t;u.replace(Object(x.l)(P,{channelCode:m,pAppCode:g,categoryId:_,subCategoryId:f},Object(G.a)(Object(G.a)({},Object.fromEntries(p)),{},{search:null!==(t=p.get("search"))&&void 0!==t?t:void 0,order:e.value})))}})]}),Object(U.jsx)(s.Spacing,{size:"spacing_f"}),v.length?Object(U.jsx)(U.Fragment,{children:Object(U.jsx)($s,{templateName:W,configs:{isAuthorShow:H,isPublishedAtShow:X,isBodyShow:Z},templateProps:{posts:v,lastElementRef:ae,onClickPostCard:function(e){N((function(){u.push(Object(x.l)(D,{channelCode:m,pAppCode:g,postId:e}),{internal:!0})}),"GUEST_OPEN_WHEN_PUBLIC_OPEN")()}}})}):Object(U.jsx)(U.Fragment,{children:Object(U.jsx)(De,{text:n("str_2902")})})]})})})};function ua(){var e=Object(l.m)().channelCode,t=J().firstTab||Object(f.U)(e);return Object(U.jsxs)(l.g,{children:[Object(U.jsx)(l.d,{exact:!0,path:I,render:function(){return Object(U.jsx)(H,{children:Object(U.jsx)(oa,{})})}}),Object(U.jsx)(l.d,{exact:!0,path:P,render:function(){return Object(U.jsx)(H,{children:Object(U.jsx)(la,{})})}}),Object(U.jsx)(l.c,{to:t})]})}var da=i(389),pa=function(e){return e.B00001.labelReducer.labels},ba={dataObjectType:"CUSTOM_DATA",dataObjectResourceName:"CustomSEOResource",customSEOResourceSchema:{title:"{{menuName}}",description:"{{channelName}}\uc758 \ud3ec\uc2a4\ud2b8\ub97c \ub458\ub7ec\ubcf4\uc138\uc694."},keyMappingDefinition:{title:"title",description:"description"}};var ja=M.default.div.withConfig({displayName:"S_SearchAndSortWrapper",componentId:"sc-1gh5vex-0"})(["align-items:center;display:flex;justify-content:space-between;"]),ha=M.default.div.withConfig({displayName:"S_Content1",componentId:"sc-1gh5vex-1"})([""," padding-left:",";padding-right:",";"],(function(e){return e.isPostProtection&&Be.a}),(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),ma=function(){var e,t,i;Object(Q.b)("".concat(x.f.getPAppCode(),"LabelResult"),"".concat(x.f.getPAppCode().toLowerCase(),"_LabelResult"));var n=Object(Y.a)().t,o=Object(r.c)(),c=Object(l.k)(),u=Object(ne.a)(),d=Object(l.m)(),p=d.channelCode,b=d.pAppCode,j=d.labelId,m=Object(r.d)(h.c),g=Object(r.d)(oe.e),_=g.posts,f=g.totalPosts,C=g.pagination,T=Object(r.d)(pa),S=Object(a.useState)(!1),v=Object(q.a)(S,2),y=v[0],A=v[1],E=Object(a.useMemo)((function(){return T.find((function(e){return Number(j)===e.id}))}),[T]),I=m?{title:n("str_seo_b00001_posts_title",{menuName:m.pAppCodeMenuItemNameSet[x.f.getPAppCode()],interpolation:{escapeValue:!1}}),description:n("str_seo_b00001_posts_desc",{channelName:m.title,interpolation:{escapeValue:!1}})}:null;Object(ee.c)({manifest:ba,isActivated:!0,data:I,options:{useChannelTitlePrefix:!0}});var P=Object(O.c)([Ne.a.fetchPostList,da.a.fetchLabelList]),B=Object(te.e)().userEntrywayForUse,L=K(),k=L.categories,F=k.templateName,R=k.isAuthorShow,N=k.isPublishedAtShow,M=k.isBodyShow,z=L.isPostProtection,W=J().tabs,H=Object(as.useForm)(),X=rs({isLoading:P.isActionPending(Ne.a.fetchPostList),list:_,totalCount:f,initialPage:C.page,fetchNextPage:function(e){var t,i;o(Ne.a.fetchPostList({page:e,limit:F&&$.a[F]||5,labelId:j,sortBy:"published_at",order:null!==(t=u.get("order"))&&void 0!==t?t:void 0,search:null!==(i=u.get("search"))&&void 0!==i?i:void 0}))}}).lastElementRef;Object(a.useEffect)((function(){var e,t;return o(Ne.a.fetchPostList({page:1,limit:F&&$.a[F]||5,labelId:j,search:null!==(e=u.get("search"))&&void 0!==e?e:void 0,order:null!==(t=u.get("order"))&&void 0!==t?t:void 0,sortBy:"published_at"})),function(){o(Ne.a.initPostList()),P.resetActionStatus(Ne.a.fetchPostList)}}),[j,u.get("search"),u.get("order")]),Object(a.useEffect)((function(){return o(da.a.fetchLabelList({}
1)),function(){o(da.a.initLabelList()),P.resetActionStatus(da.a.fetchLabelList)}}),[]),Object(a.useEffect)((function(){!E&&P.isActionCompleted(da.a.fetchLabelList)&&Object(V.c)({contentText:n("str_err_10470"),tBtn1Text:n("str_confirm"),onClickTBtn1:function(){return P.resetActionStatus(da.a.fetchLabelList),c.goBack(),!1}})}),[E,p,b,P.isActionCompleted(da.a.fetchLabelList)]);var Z=[{text:n("str_sortby_newest"),value:"DESC"},{text:n("str_sortby_oldest"),value:"ASC"}];return Object(U.jsx)(U.Fragment,{children:Object(U.jsx)(s.WTContainersBox,{layoutType:W.length>1?"WTI_2":"WTN_2",isLoadingContainer1:P.isActionPending(Ne.a.fetchPostList)&&0===_.length,pageMenuContent:Object(U.jsx)(re,{}),content1:Object(U.jsxs)(ha,{isPostProtection:z,children:[Object(U.jsx)(s.Spacing,{size:"spacing_g"}),Object(U.jsx)(s.D_TextLabel,{text:null!==(e=null===E||void 0===E?void 0:E.name)&&void 0!==e?e:"",styleTheme:"displayBold",colorTheme:"sysTextPrimary"}),Object(U.jsx)(s.Spacing,{size:"spacing_e"}),Object(U.jsxs)(ja,{children:[Object(U.jsx)(as.FormProvider,Object(G.a)(Object(G.a)({},H),{},{children:Object(U.jsx)(Bs,{searchKey:null!==(t=u.get("search"))&&void 0!==t?t:"",hintText:n("str_search_hinttext_search_by_title"),isOpen:y,onSearch:function(e){c.replace(Object(x.l)(w,{channelCode:p,pAppCode:b,labelId:j},Object(G.a)(Object(G.a)({},Object.fromEntries(u)),{},{search:e.length>0?e:void 0})))},onToggle:function(e){return A(e)}})})),Object(U.jsx)(s.D_Dropdown,{size:"medium",value:null!==(i=Z.find((function(e){return e.value===u.get("order")})))&&void 0!==i?i:Z[0],valueArray:Z,onChange:function(e){var t;c.replace(Object(x.l)(w,{channelCode:p,pAppCode:b,labelId:j},Object(G.a)(Object(G.a)({},Object.fromEntries(u)),{},{search:null!==(t=u.get("search"))&&void 0!==t?t:void 0,order:e.value})))}})]}),Object(U.jsx)(s.Spacing,{size:"spacing_f"}),_.length?Object(U.jsx)(U.Fragment,{children:Object(U.jsx)($s,{templateName:F,configs:{isAuthorShow:R,isPublishedAtShow:N,isBodyShow:M},templateProps:{posts:_,lastElementRef:X,onClickPostCard:function(e){B((function(){c.push(Object(x.l)(D,{channelCode:p,pAppCode:b,postId:e}),{internal:!0})}),"GUEST_OPEN_WHEN_PUBLIC_OPEN")()}}})}):Object(U.jsx)(U.Fragment,{children:Object(U.jsx)(De,{text:n("str_2902")})})]})})})};var ga=function(){var e=Object(r.c)(),t=Object(l.m)().pAppCode,i=Object(r.d)(Object(g.f)()),c=Object(r.d)(Object(h.n)()),p=Object(r.d)(m.c),j=Object(r.d)(m.b),D=Object(r.d)(b).categories,v=K().isPostProtection,y=J(),P=y.tabs,L=y.firstTab,k=y.isHomeTabActive,F=y.isCategoriesActive,R=Object(a.useMemo)((function(){return 1===P.length}),[P.length]),N=Object(O.c)([d.a.fetchBoardCategoryList]),M=Object(a.useMemo)((function(){return N.getActionStatus(d.a.fetchBoardCategoryList).status===O.a.PENDING||!(!F||0!==D.length)}),[N,F,D.length]);if(Object(a.useEffect)((function(){if(c&&t)return M&&e(d.a.fetchBoardCategoryList({page:1,limit:100,pAppCode:t,sortBy:n.INSERTED_AT,order:o.ASC})),function(){M||e(d.a.initBoardCategoryList())}}),[c,t,M]),Object(a.useEffect)((function(){if(v){var e=function(e){(!e.ctrlKey&&!e.metaKey||!e.shiftKey&&!e.altKey||"I"!==e.key&&"i"!==e.key&&"Dead"!==e.key)&&(!e.ctrlKey&&!e.metaKey||!e.shiftKey&&!e.altKey||"C"!==e.key&&"c"!==e.key&&"\xe7"!==e.key)&&"F12"!==e.key||e.preventDefault()},t=function(e){e.preventDefault()};return addEventListener("contextmenu",t),addEventListener("keydown",e),function(){removeEventListener("contextmenu",t),removeEventListener("keydown",e)}}}),[v]),!c)return Object(U.jsx)(U.Fragment,{});var z=c.channelCode;if(j)switch(j.code){case 403:return Object(U.jsx)(l.c,{to:Object(f.P)(z,x.f.getPAppCode())});default:l.g,l.c,Object(f.V)(z)}if(M||!L)return Object(U.jsx)(_.x,{});if(p&&("B00001"===p.code||"B90101"===p.code)){var W=L||Object(f.U)(z);return Object(U.jsxs)(_.k,{children:[R&&Object(U.jsx)(s.Divider,{}),Object(U.jsxs)(l.g,{children:[k&&Object(U.jsx)(u.q,{exact:!0,path:C,render:function(){return Object(U.jsx)(ss,{tabs:P})},isAuthenticated:i}),k&&Object(U.jsx)(u.q,{exact:!0,path:A,component:yc,isAuthenticated:i}),Object(U.jsx)(u.q,{path:T,render:function(){return Object(U.jsx)(H,{children:Object(U.jsx)(bn,{})})},isAuthenticated:i}),Object(U.jsx)(u.q,{path:S,render:function(){return Object(U.jsx)(H,{children:Object(U.jsx)(rc,{})})},isAuthenticated:i}),F&&Object(U.jsx)(u.q,{path:[E,I],render:function(){return Object(U.jsx)(H,{children:Object(U.jsx)(ua,{})})},isAuthenticated:i}),Object(U.jsx)(u.q,{exact:!0,path:w,render:function(){return Object(U.jsx)(H,{children:Object(U.jsx)(ma,{})})},isAuthenticated:i}),Object(U.jsx)(l.c,{to:W})]})]})}return j||p?Object(U.jsx)(_.y,{}):Object(U.jsxs)(l.g,{children:[Object(U.jsx)(u.q,{exact:!0,path:f.fb,component:B.a,isAuthenticated:i}),Object(U.jsx)(l.c,{to:Object(f.U)(z)})]})}}}]);

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.