PageSourceSearch

https://class.cmdspace.kr/static/js/32.4fe3754b.chunk.js

js cmdspace.kr collected 2026-10-04 20:58:10 UTC 14,143 bytes, 1 lines download raw bytes

1(this["webpackJsonppubl-uw"]=this["webpackJsonppubl-uw"]||[]).push([[32],{2845:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return ue}));var i=n(4),c=n.n(i),o=n(9),r=n(16),s=n(39),a=n(47),l=n(414),d=n(19),u=n(147),p=n(36),j=n(37),b=n(13),h=n(403),m=n(592),x=n(182),f=n(399),O=n(15),g=function(e){return e.B00006.currentWelcome},v=function(e){return e.B00006.isLoading},_=function(e){return e.B00006.error},y=(n(627),{FOCUS_BG:"FOCUS_BG",FOCUS_CONTENT:"FOCUS_CONTENT"});var w=function(){var e,t=Object(o.d)(u.c),n=null===t||void 0===t?void 0:t.config,i=null===t||void 0===t?void 0:t.installedPAppResources,c=null===i||void 0===i?void 0:i.find((function(e){return"B00006_GENERAL_HERO"===e.uniqueKey}));return{templateName:null!==(e=null===n||void 0===n?void 0:n.UX_LPC_APPEARANCE_TEMPLATE_NAME)&&void 0!==e?e:y.FOCUS_CONTENT,resources:{hero:{use:!(null===n||void 0===n||!n.USE_RESOURCE_B00006_UW_TOP_1_UNIQUE_COVER_IMAGE_HERO_001),src:(null===c||void 0===c?void 0:c.resourceSrc)||"",title:(null===c||void 0===c?void 0:c.title)||"",description:(null===c||void 0===c?void 0:c.description)||""}}}},T=(n(91),function(e){if(!e)return{type:S.INTERNAL_LINK,buttonText:"",url:""};var t=new RegExp(/^\{(.*?)\}\[(.*?)\]\(((?:https?):\/\/(\w+:?\w*)?(\S+)(:\d+)?(\/|\/([\w#!:.?+=&%!\-\/]))?)\)$/),n=e.match(t);if(n)return{type:n[1],buttonText:n[2],url:n[3]};var i=new RegExp(/^\[(.*?)\]\(((?:https?):\/\/(\w+:?\w*)?(\S+)(:\d+)?(\/|\/([\w#!:.?+=&%!\-\/]))?)\)$/),c=e.match(i);return{type:S.WEB_LINK,buttonText:c&&c[1],url:c&&c[2]}}),S={WEB_LINK:"WEB_LINK",INTERNAL_LINK:"INTERNAL_LINK"};var C=n(14),N=n(2),B=n(35),E=n(351),I=n(173);var L=function(e){return e.filter((function(e){return!(!e.buttonText||!e.url)}))},k=n(5),A=n(0);var R=k.default.div.withConfig({displayName:"S_Hero",componentId:"sc-3b4m2t-0"})(["display:flex;justify-content:center;position:relative;width:100%;",""],(function(e){return e.hasText&&Object(k.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)}))})),D=k.default.div.withConfig({displayName:"S_Text",componentId:"sc-3b4m2t-1"})(["bottom:0;position:absolute;width:100%;width:960px;"]),z=function(e){var t=e.src,n=e.title,i=e.description;return Object(A.jsxs)(R,{hasText:!(!n&&!i),children:[Object(A.jsx)(N.ImageView,{src:t,shapeType:"rectangle",width:"responsive",height:480,noImageHeight:480,scaleType:"cover"}),Object(A.jsxs)(D,{children:[Object(A.jsx)(N.D_TextLabel,{text:n,styleTheme:"displayBold",colorOverride:"ui_hero_title_text"}),Object(A.jsx)(N.Spacing,{size:"spacing_b"}),Object(A.jsx)(N.D_TextLabel,{text:i,styleTheme:"subTitleRegular",colorOverride:"ui_hero_description_text"}),Object(A.jsx)(N.Spacing,{size:"spacing_h"})]})]})},W=n(7);var F=function(e){var t=e.text,n=e.onClick,i=Object(k.useTheme)(),c=Object(N.customTheme)("LIGHT");return Object(A.jsx)(k.ThemeProvider,{theme:Object(W.a)(Object(W.a)(Object(W.a)({},i),c),{},{ui_cpnt_textlabel_usr_brandprimary:c.ui_cpnt_textlabel_sys_primary}),children:Object(A.jsx)(N.D_MainButton,{text:t,size:"large",styleTheme:"secondary",onClick:n})})},U=n(10),P="B0006-FOCUS-BG-PLAYER",M="YOUTUBE_SCRIPT";var V=k.default.div.withConfig({displayName:"BlackScreen",componentId:"sc-5bb6f3-0"})(["background-color:",";bottom:0;left:0;position:absolute;right:0;top:0;"],(function(e){return e.theme.ui_62})),G=k.default.div.withConfig({displayName:"S_IframeWrapper",componentId:"sc-5bb6f3-1"})(["height:100%;margin:auto;max-width:100%;overflow:hidden;pointer-events:none;iframe{border:0;height:100%;margin-left:-100%;width:300%;}"]),K=function(e){var t=e.src,n=Object(i.useState)(!0),c=Object(C.a)(n,2),o=c[0],r=c[1];return Object(i.useLayoutEffect)((function(){var e,n=document.createElement("script");n.id=M,n.src="https://www.youtube.com/iframe_api";var i=document.getElementsByTagName("script")[0];function c(e){e.target.mute(),e.target.playVideo()}function o(e){try{var t=e.data;1===t&&setTimeout((function(){r(!1)}),100),3===t&&r(!0),0!==t&&2!==t||(r(!0),e.target.playVideo())}catch(n){r(!0)}}return null===(e=i.parentNode)||void 0===e||e.insertBefore(n,i),n.onload=function(){window.YT.ready((function(){new window.YT.Player(P,{videoId:U.g.getId(t),playerVars:{playsinline:1,autoplay:1,controls:0},events:{onReady:c,onStateChange:o}})}))},function(){var e=document.getElementById(M);null===e||void 0===e||e.remove()}}),[t]),Object(A.jsxs)(A.Fragment,{children:[o&&Object(A.jsx)(V,{}
1),Object(A.jsx)(G,{children:Object(A.jsx)("div",{id:P})})]})};var Y=k.default.div.withConfig({displayName:"S_Links",componentId:"sc-1rvihcg-0"})(["align-items:center;display:flex;flex-direction:row;justify-content:center;"]),H=k.default.div.withConfig({displayName:"S_Footer",componentId:"sc-1rvihcg-1"})(["bottom:0;display:flex;flex-direction:column;justify-content:flex-end;position:absolute;"]),q=k.default.div.withConfig({displayName:"S_FixedNavBar",componentId:"sc-1rvihcg-2"})(["height:64px;position:fixed;top:0;width:100%;z-index:3;",";"],(function(e){return e.isGlobalBannerOpen&&Object(k.css)(["margin-top:90px;"])})),J=k.default.div.withConfig({displayName:"S_Content1Box",componentId:"sc-1rvihcg-3"})(["flex-direction:column;height:100%;overflow-y:auto;"]),$=k.default.div.withConfig({displayName:"S_Content2Box",componentId:"sc-1rvihcg-4"})(["align-items:center;background-color:",";display:flex;flex-direction:row;height:100vh;justify-content:center;overflow:hidden;position:relative;width:100%;"],(function(e){return e.theme.ui_62})),Q=k.default.div.withConfig({displayName:"S_AbsoluteContents",componentId:"sc-1rvihcg-5"})(["align-items:center;background-color:",";bottom:0;display:flex;flex-direction:column;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:2;"],(function(e){return e.theme.ui_61})),X=k.default.div.withConfig({displayName:"S_AbsoluteMedia",componentId:"sc-1rvihcg-6"})(["height:",";width:",";z-index:1;"],(function(e){var t=e.appSize;return"".concat(t.width*(9/16),"px")}),(function(e){var t=e.appSize;return"".concat(t.width,"px")})),Z=k.default.div.withConfig({displayName:"S_MainBox",componentId:"sc-1rvihcg-7"})(["margin-top:64px;width:960px;"]),ee=function(e){var t=e.resources,n=e.currentWelcome,r=e.onClickTextBtn;Object(B.a)("B00006PostDetail");var s=Object(E.a)(),a=s.isDynamicAvailable,l=s.UserDesktopNavBar,d=s.DynamicDesktopNavBar,u=s.setTransparentMode,p=Object(i.useState)({height:window.innerHeight,width:window.innerWidth}),j=Object(C.a)(p,2),b=j[0],h=j[1],m=n.additionalLinks.map((function(e){return T(e)})),x=L(m),f=Object(o.d)(Object(I.b)()),O=Object(i.useRef)(null);return Object(i.useEffect)((function(){var e;function t(){window.innerWidth>1200&&h({width:window.innerWidth,height:window.innerHeight})}function n(e){e.preventDefault()}return window.addEventListener("resize",t),null===(e=O.current)||void 0===e||e.addEventListener("touchmove",n,{passive:!1}),function(){var e;window.removeEventListener("resize",t),null===(e=O.current)||void 0===e||e.removeEventListener("touchmove",n)}}),[]),Object(i.useLayoutEffect)((function(){u("use")}),[]),Object(A.jsx)(N.WFContainersBox,{layoutType:"WFD_1",content1:Object(A.jsxs)(A.Fragment,{children:[Object(A.jsx)(q,{isGlobalBannerOpen:f,children:a?d:Object(A.jsx)(l,{})}),Object(A.jsxs)(J,{children:[(null===t||void 0===t?void 0:t.hero.use)&&Object(A.jsx)(z,{src:null===t||void 0===t?void 0:t.hero.src,title:null===t||void 0===t?void 0:t.hero.title,description:null===t||void 0===t?void 0:t.hero.description}),Object(A.jsxs)($,{children:[Object(A.jsxs)(X,{appSize:b,children:[n.contentYoutubeSrc&&Object(A.jsx)(K,{src:n.contentYoutubeSrc}),n.contentImageSrc&&Object(A.jsx)(N.ImageView,{src:n.contentImageSrc,shapeType:"rectangle",scaleType:"cover",height:"responsive",width:"responsive"})]}),Object(A.jsx)(Q,{children:Object(A.jsxs)(A.Fragment,{children:[Object(A.jsxs)(Z,{children:[Object(A.jsx)(N.D_TextLabel,{text:n.title,textAlign:"center",colorTheme:"sysTextWhite",customFontSize:"64px",wordBreak:"keep_all",customFontWeight:"bold",lineLimit:2,ellipsisMode:"use"}),Object(A.jsx)(N.Spacing,{size:"spacing_f"}),n.content&&Object(A.jsx)(N.D_TextLabel,{text:n.content,textAlign:"center",styleTheme:"headingBold",wordBreak:"keep_all",colorTheme:"sysTextWhite",lineLimit:3,ellipsisMode:"use"}),Object(A.jsx)(N.Spacing,{size:"spacing_h"})]}),Object(A.jsx)(Y,{children:x.map((function(e,t){return e.buttonText&&e.url&&Object(A.jsxs)(c.a.Fragment,{children:[!!t&&Object(A.jsx)(N.Spacing,{size:"spacing_e",spacingType:"width"}),Object(A.jsx)(F,{text:e.buttonText,onClick:function(){return r(e.url,e.type)}})]},t)}))}),Object(A.jsxs)(H,{children:[Object(A.jsx)(N.D_TextLabel,{text:n.footer,styleTheme:"caption1Regular",colorTheme:"sysTextSecondary",textAlign:"center"}),Object(A.jsx)(N.Spacing,{size:"spacing_f"})]})]})})]})]})]})})},te=n(105);var ne=k.default.div.withConfig({displayName:"S_ContentWrapper",componentId:"sc-rum52e-0"})(["display:flex;justify-content:center;"]),ie=k.default.div.withConfig({displayName:"S_ContentBox",componentId:"sc-rum52e-1"})(["width:960px;"]),ce=k.default.div.withConfig({displayName:"S_IframeWrapper",componentId:"sc-rum52e-2"})(["padding-bottom:56.25%;position:relative;"]),oe=k.default.iframe.withConfig({displayName:"S_Iframe",componentId:"sc-rum52e-3"})(["border:none;height:100%;left:0;position:absolute;top:0;width:100%;"]),re=function(e){var t=e.resources,n=e.currentWelcome,i=e.onClickTextBtn;Object(B.a)("B00006PostDetail");var c=Object(x.a)("translation").t,o=n.additionalLinks.map((function(e){return T(e)})),r=L(o);return Object(A.jsx)(te.a,{children:Object(A.jsx)(N.WTContainersBox,{layoutType:"WTS_2",content1:Object(A.jsx)(A.Fragment,{children:(null===t||void 0===t?void 0:t.hero.use)&&Object(A.jsx)(z,{src:null===t||void 0===t?void 0:t.hero.src,title:null===t||void 0===t?void 0:t.hero.title,de
1scription:null===t||void 0===t?void 0:t.hero.description})}),content2:Object(A.jsx)(ne,{children:Object(A.jsxs)(ie,{children:[Object(A.jsx)(N.D_TextLabel,{text:n.title,styleTheme:"displayBold",wordBreak:"break_word"}),n.content&&Object(A.jsxs)(A.Fragment,{children:[Object(A.jsx)(N.Spacing,{size:"spacing_g"}),Object(A.jsx)(N.D_TextLabel,{text:n.content,styleTheme:"body2Regular",wordBreak:"break_word"})]}),n.contentImageSrc&&Object(A.jsxs)(A.Fragment,{children:[Object(A.jsx)(N.Spacing,{size:"spacing_g"}),Object(A.jsx)(N.ImageView,{src:n.contentImageSrc,shapeType:"rectangle",scaleType:"fill",width:"responsive"})]}),n.contentYoutubeSrc&&Object(A.jsxs)(A.Fragment,{children:[Object(A.jsx)(N.Spacing,{size:"spacing_g"}),Object(A.jsx)(ce,{children:Object(A.jsx)(oe,{title:"youtube",src:U.g.getEmbedUrl(n.contentYoutubeSrc),allow:"accelerometer; encrypted-media; gyroscope; picture-in-picture; fullscreen"})})]}),r.length>0&&Object(A.jsxs)(A.Fragment,{children:[Object(A.jsx)(N.Spacing,{size:"spacing_g"}),Object(A.jsx)(N.Divider,{}),Object(A.jsx)(N.Spacing,{size:"spacing_g"}),Object(A.jsx)(N.D_TextLabel,{text:c("str_link"),styleTheme:"subTitleBold"}),Object(A.jsx)(N.Spacing,{size:"spacing_d"}),r.map((function(e,t){return Object(A.jsxs)("div",{children:[!!t&&Object(A.jsx)(N.Spacing,{size:"spacing_b"}),Object(A.jsx)(N.D_TextButton,{text:e.buttonText,size:"medium",onClick:function(){i(String(e.url),e.type)}})]},t)}))]}),Object(A.jsx)(N.Spacing,{size:"spacing_h"}),Object(A.jsx)(N.D_TextLabel,{text:n.footer,styleTheme:"caption1Regular",colorTheme:"sysTextSecondary",textAlign:"center"})]})})})})};var se=function(e){var t=e.templateName,n=e.resources,i=e.currentWelcome,c=e.onClickTextBtn;switch(t){case"FOCUS_BG":return Object(A.jsx)(ee,{resources:n,currentWelcome:i,onClickTextBtn:c});case"FOCUS_CONTENT":default:return Object(A.jsx)(re,{resources:n,currentWelcome:i,onClickTextBtn:c})}},ae={dataObjectType:"CUSTOM_DATA",dataObjectResourceName:"CustomSEOResource",customSEOResourceSchema:{title:"{{menuName}}",description:"{{channelName}}\uc5d0 \uc624\uc2e0\uac78 \ud658\uc601\ud569\ub2c8\ub2e4."},keyMappingDefinition:{title:"title",description:"description"}};var le=function(){var e=Object(x.a)("translation").t,t=Object(o.c)(),n=Object(r.k)(),c=Object(i.useMemo)(d.n,[]),s=Object(o.d)(c),a=w(),u=a.templateName,p=a.resources,h=Object(o.d)(g),m=Object(o.d)(v),y=Object(o.d)(_),T=s?{title:e("str_seo_b00006_post_detail_title",{menuName:s.pAppCodeMenuItemNameSet[O.Y.B00006.CODE],interpolation:{escapeValue:!1}}),description:e("str_seo_b00006_post_detail_desc",{channelName:s.title,interpolation:{escapeValue:!1}})}:null;return Object(f.c)({manifest:ae,isActivated:!0,data:T,options:{useChannelTitlePrefix:!0}}),Object(i.useEffect)((function(){return t(Object(l.c)({limit:1,page:1})),function(){t(Object(l.a)())}}),[]),s||n.push(b.cc),0===Object.keys(h).length&&!y||m?Object(A.jsx)(j.y,{}):Object(A.jsx)(se,{templateName:u,resources:p,currentWelcome:h,onClickTextBtn:function(e,t){switch(t){case"INTERNAL_LINK":s&&n.push(function(e,t){var n=new URL(t),i=n.pathname,c=n.search,o=i.split(e).pop(),r=null===o||void 0===o?void 0:o.split("/")[1];return{internalPath:e+o+c,pAppCode:r,pathname:i,search:c}}(s.channelCode,e));break;case"WEB_LINK":default:(function(e){var t;try{t=new URL(e)}catch(n){return!1}return"http:"===t.protocol||"https:"===t.protocol})(e)&&window.open(e,"","noopener")}}})},de="".concat(b.i,"/post/PostDetail");var ue=function(){var e=Object(o.c)(),t=Object(i.useMemo)(p.f,[]),n=Object(o.d)(t),c=Object(o.d)(d.c),x=Object(o.d)(u.c),f=Object(o.d)(u.b);if(Object(i.useEffect)((function(){return function(){e(Object(l.a)())}}),[]),!c)return Object(A.jsx)(A.Fragment,{});var O=c.channelCode;if(f)switch(f.code){case 403:return Object(A.jsx)(r.c,{to:Object(b.P)(O,s.a.B00005.CODE)});default:r.g,r.c,Object(b.V)(O)}return x&&x.code===s.a.B00006.CODE?Object(A.jsxs)(r.g,{children:[Object(A.jsx)(a.q,{path:de,render:function(){return Object(A.jsx)(le,{})},isAuthenticated:n}),Object(A.jsx)(a.q,{exact:!0,path:b.Zb,component:m.a,isAuthenticated:n}),Object(A.jsx)(r.c,{from:b.i,to:de})]}):f||x?Object(A.jsx)(j.y,{}):Object(A.jsxs)(r.g,{children:[Object(A.jsx)(a.q,{exact:!0,path:b.fb,component:h.a,isAuthenticated:n}),Object(A.jsx)(r.c,{from:b.i,to:Object(b.U)(O)})]})}}}]);

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.