1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1352],{31721:function(e,n,o){"use strict";o.d(n,{Az:function(){return s},dN:function(){return v},iq:function(){return l}});var t=o(60947),i=o(92336),r=o(36867),a=o.n(r),d=o(37019);function l(e){return u.apply(this,arguments)}function u(){return(u=(0,t.Z)((function(e){var n;return(0,i.__generator)(this,(function(o){switch(o.label){case 0:return n=window.location.origin,[4,a().post(n+"/api/msa/ad-banner",e.logs)];case 1:return[2,o.sent().data]}}))}))).apply(this,arguments)}function s(e){return c.apply(this,arguments)}function c(){return(c=(0,t.Z)((function(e){var n;return(0,i.__generator)(this,(function(o){switch(o.label){case 0:return n=window.location.origin,[4,a().post(n+"/api/msa/ad-banner-inner",e.logs)];case 1:return[2,o.sent().data]}}))}))).apply(this,arguments)}function v(){return p.apply(this,arguments)}function p(){return(p=(0,t.Z)((function(){var e;return(0,i.__generator)(this,(function(n){switch(n.label){case 0:return e=Math.floor(+new Date/1e3),[4,a().get("".concat(d.Mm,"/ads/pc/v4/am/ad.json?t=").concat(e),{timeout:d.Zn})];case 1:return[2,n.sent().data]}}))}))).apply(this,arguments)}},89649:function(e,n,o){"use strict";o.d(n,{F:function(){return r},d:function(){return a}});var t=o(22633),i=o(31721),r=function(){return(0,t.useMutation)((function(e){return(0,i.iq)(e)}),{})},a=function(){return(0,t.useMutation)((function(e){return(0,i.Az)(e)}),{})}},81352:function(e,n,o){"use strict";o.d(n,{Z:function(){return fe}});var t=o(36690),i=o(93089),r=o(98519),a=o(96479),d=o.n(a),l=o(9068),u=o.n(l),s=o(38817),c=o(48417),v=o(45697),p=o(52110),m=o(22709),f=o(35708),g=o.n(f),w=o(18120),h=o(89649);function _(e){var n=e.placement,o=(0,w.useRouter)(),t=(0,s.Fe)(),i=t.memberType,r=t.logged,a=t.osType,d=t.memSysNo,l=t.age,u=t.appNo,f=(0,m.useState)([]),_=f[0],b=f[1],y=(0,h.F)(),T=function(e,t,s){var m,f;if(e&&t&&t.campaignId&&t.campaignProductId&&s&&!function(e){var n=e.logType,o=e.campaignProductId;return n&&o&&_.some((function(e){return e.logType===n&&e.campaignProductId===o}))}({logType:e,campaignProductId:t.campaignProductId})){!function(e){var n=e.logType,o=e.campaignProductId;n&&o&&b((function(e){return(0,c.Z)(e).concat([{logType:n,campaignProductId:o}])}))}({logType:e,campaignProductId:null===t||void 0===t?void 0:t.campaignProductId});var w="/";try{var h;w=(null===(h=new URL("".concat(location.protocol).concat(location.host).concat(o.asPath)))||void 0===h?void 0:h.pathname)||"/"}catch(N){w="/"}var T,I,E=null===window||void 0===window||null===(m=window.dataLayer)||void 0===m?void 0:m[0];y.mutate({logs:[{campaignId:null!==(T=null===t||void 0===t?void 0:t.campaignId)&&void 0!==T?T:0,campaignProductId:null!==(I=null===t||void 0===t?void 0:t.campaignProductId)&&void 0!==I?I:0,creativeName:s.name,creativeSrc:"TEXT"===(null===(f=t.contents)||void 0===f?void 0:f.contentType)?"".concat(s.textTop,"\n").concat(s.textBottom):s.src,space:n,serviceName:"AM",memberNo:r&&d?d:null,memberType:r&&i?i:null,age:r&&l?+l:null,gender:r&&(null===E||void 0===E?void 0:E.dimension7)||null,uuid:(0,p.F)(),urlPath:w,clientType:"".concat(a,"|").concat((0,v.o)(u)),createdDateTime:g()().format("YYYY-MM-DD HH:mm:ss"),logType:e}]})}},I=(0,m.useCallback)((function(e,n){var t=n.linkUrl,i=n.linkType;return T("CLICK",e,n),"CURRENT_WINDOW"===i?void o.push(null!==t&&void 0!==t?t:"/"):void window.open(null!==t&&void 0!==t?t:"/")}),[T,o]);return{requestLogs:T,handleLinkMove:I}}var b=o(59106),y=o(36765),T=o(72273),I=o(9633),E="PRD"===globalThis.process.env.NEXT_PUBLIC_SHORT_ENV,N=E?"https://xflow.albamon.com/xflow/sdk/xflow.js":"https://xflow.dev.albamon.com/xflow/sdk/xflow.js",x=E?"b1b42e91-893b-480c-9489-30525dfe5727":"05a6a61f-158d-438c-8d3d-742fb05a552b",S="ads-teams.ab-test.pc-advertisement-sdk-abTest",L=o(22633),k=o(60947),A=o(92336);function C(){return(C=(0,k.Z)((function(e){var n,o,t,i;return(0,A.__generator)(this,(function(r){switch(r.label){case 0:return n=e.experimentKey,o=e.trafficId,[4,null===window||void 0===window||null===(t=window._xflow)||void 0===t?void 0:t.getExperiment(n,o?{id:o}:void 0)];case 1:return[2,{experimentKey:null===(i=r.sent())||void 0===i?void 0:i.key,group:null===i||void 0===i?void 0:i.group,name:null===i||void 0===i?void 0:i.name,parameter:null===i||void 0===i?void 0:i.parameter,revision:null===i||void 0===i?void 0:i.revision,shouldSe
1ndLog:null===i||void 0===i?void 0:i.shouldSendLog,on:null===i||void 0===i?void 0:i.on}]}}))}))).apply(this,arguments)}var B=o(63511),P=function(e,n){return(0,L.useQuery)((0,B.JI)("XFLOW_EXPERIMENT").list(e),(function(){return function(e){return C.apply(this,arguments)}(e)}),(0,t.Z)({cacheTime:6e4,staleTime:6e4},n))},Z="xflow-react-sdk",D={uuid:"",serviceName:"AM",clientType:"",urlPath:"",userAgent:"",createdDateTime:""},O=function(){return new Date(Date.now()+324e5).toISOString().slice(0,19).replace("T"," ")},M=function(){return"undefined"!==typeof window._xflow&&null!==window._xflow},R=function(e){return M()&&"function"===typeof window._xflow[e]},U=function(e,n){var o,r=e.experimentKey,a=e.trafficId,d=(0,s.Fe)(),l=(0,m.useState)("LCL"===globalThis.process.env.NEXT_PUBLIC_SHORT_ENV),u=l[0],c=l[1],p=(0,w.useRouter)().asPath,f=Boolean(r&&!1!==(null===n||void 0===n?void 0:n.enabled)),g=function(e){var n=e.enabled,o=e.debug,t=void 0!==o&&o,i=(0,m.useState)(!1),r=i[0],a=i[1],d=(0,m.useState)(null),l=d[0],u=d[1],c=(0,s.Fe)();return(0,m.useEffect)((function(){if(n&&!r){if(M())return a(!0),void u(null);var e=document.getElementById(Z);e&&e.addEventListener("load",(function(){M()&&(a(!0),u(null))}));var o=0,t=setInterval((function(){return o++,M()?(a(!0),u(null),void clearInterval(t)):o>=2?(clearInterval(t),a(!1),void u("SDK \ub85c\ub529 \uc2e4\ud328: \ucd5c\ub300 \uc7ac\uc2dc\ub3c4 \ud69f\uc218 \ucd08\uacfc")):void 0}),500);return function(){clearInterval(t)}}}),[r,n]),(0,m.useEffect)((function(){if(r&&(null===c||void 0===c?void 0:c.memberId))try{R("setUserId")?(window._xflow.setUserId(c.memberId),t&&T.Z.info("XFlow \uc0ac\uc6a9\uc790 ID \uc124\uc815 \uc644\ub8cc:",c.memberId)):t&&T.Z.warn("XFlow SDK\uac00 \ub85c\ub4dc\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4")}catch(e){t&&T.Z.error("XFlow \uc0ac\uc6a9\uc790 ID \uc124\uc815 \uc2e4\ud328:",e),u("\uc0ac\uc6a9\uc790 ID \uc124\uc815 \uc2e4\ud328: ".concat(e))}}),[null===c||void 0===c?void 0:c.memberId,r,t]),(0,m.useEffect)((function(){n&&function(){if(r||document.getElementById(Z))t&&T.Z.warn("SDK\uac00 \uc774\ubbf8 \ub85c\ub4dc\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4");else{var e=document.createElement("script");e.id=Z,e.src="".concat(N,"?t=").concat(globalThis.process.env.NEXT_BUILD_TIME),e.setAttribute("data-header-key","".concat(x)),e.async=!0,e.onload=function(){try{a(!0),u(null),window._xflow&&(null===c||void 0===c?void 0:c.memberId)&&window._xflow.setUserId(c.memberId),t&&T.Z.info("XFlow SDK \ub85c\ub4dc \uc131\uacf5")}catch(e){t&&T.Z.error("XFlow SDK \ucd08\uae30\ud654 \uc2e4\ud328:",e),a(!1),u("SDK \ucd08\uae30\ud654 \uc2e4\ud328: ".concat(e))}},e.onerror=function(n){t&&T.Z.error("XFlow SDK \uc2a4\ud06c\ub9bd\ud2b8 \ub85c\ub4dc \uc2e4\ud328:",n),a(!1),u("\uc2a4\ud06c\ub9bd\ud2b8 \ub85c\ub4dc \uc2e4\ud328: ".concat(n)),e.remove()},document.body.prepend(e)}}()}),[r,t,null===c||void 0===c?void 0:c.memberId,n]),{isSDKLoaded:r,sdkError:l,setLoadScript:a}}({enabled:f,debug:u}),h=g.isSDKLoaded,_=P({experimentKey:null!==r&&void 0!==r?r:0,trafficId:a},{enabled:Boolean(f&&h&&r)}),y=_.data,E=(0,b.Z)(_,["data"]),S=(0,m.useMemo)((function(){if(!r||!f)return!1;try{var e;return null!==(e=null===y||void 0===y?void 0:y.on)&&void 0!==e&&e}catch(n){return u&&T.Z.error(n,"isOn \ud655\uc778 \uc911 \uc624\ub958 \ubc1c\uc0dd"),!1}}),[r,y,u,f]),L=(0,m.useMemo)((function(){var e;if(!f||!M()||!h)return D;var n,o=d.memberType,t=d.appNo,i=d.age,r=d.osType,a=d.userAgent;try{var l;n=(null===(l=new URL("".concat(location.protocol).concat(location.host).concat(p)))||void 0===l?void 0:l.pathname)||"/"}catch(s){n="/"}var u=null===window||void 0===window||null===(e=window.dataLayer)||void 0===e?void 0:e[0];return(0,I.Sk)({uuid:window._xflow.getUserId(),serviceName:"AM",clientType:"".concat(r,"|").concat((0,v.o)(t)),memberNo:(null===u||void 0===u?void 0:u.dimension5)?+u.dimension5:null,memberType:null!==o&&void 0!==o?o:null,urlPath:n,userAgent:a,createdDateTime:O(),gender:["M","F"].includes(null===u||void 0===u?void 0:u.dimension7)?null===u||void 0===u?void 0:u.dimension7:null,age:i?+i:null})}),[h,d,p,f]),k=function(e,n){var o=n.debug;return{sendLogs:(0,m.useCallback)((function(n){try{var r,a,d=n.group,l=n.logType,u=n.revision,s=(0,b.Z)(n,["group","logType","revision"]);if(!l||!d&&!e.group||!u&&!e.revision)return void(o&&T.Z.warn("\ub85c\uadf8 \uc804\uc1a1 \uc2e4\ud328: \ud544\uc218 \ud30c\ub77c\ubbf8\ud130\uac00 \ub204\ub77d\ub418\uc5c8\uc2b5\ub2c8\ub2e4",{logType:l,group:null!==d&&void 0!==d?d:null===e||void 0===e?void 0:e.group,revision:null!==u&&void 0!==u?u:null===e||void 0===e?void 0:e.revision}));if(!M())return void(o&&T.Z.warn("\ub85c\uadf8 \uc804\uc1a1 \uc2e4\ud328: XFlow SDK\uac00 \ucd08\uae30\ud654\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4"));
1if(!(null===e||void 0===e?void 0:e.shouldSendLog))return void(o&&T.Z.warn("\ub85c\uadf8 \uc804\uc1a1 \ucc28\ub2e8: shouldSendLog\uac00 false\uc785\ub2c8\ub2e4"));if(!R("sendLogs"))return void(o&&T.Z.error("\ub85c\uadf8 \uc804\uc1a1 \uc2e4\ud328: sendLogs \ud568\uc218\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4"));var c,v=(0,t.Z)((0,i.Z)((0,t.Z)({},e),{logType:l,experimentKey:e.experimentKey,revision:null!==(r=null!==u&&void 0!==u?u:null===e||void 0===e?void 0:e.revision)&&void 0!==r?r:0,groupName:null!==(a=null!==d&&void 0!==d?d:null===e||void 0===e?void 0:e.group)&&void 0!==a?a:"",createdDateTime:O()}),s);window._xflow.sendLogs([v]),o&&T.Z.info("\ub85c\uadf8 \uc804\uc1a1 \uc131\uacf5:",{logType:l,experimentKey:null!==(c=null===e||void 0===e?void 0:e.experimentKey)&&void 0!==c?c:0})}catch(p){o&&T.Z.error("\ub85c\uadf8 \uc804\uc1a1 \uc911 \uc624\ub958 \ubc1c\uc0dd:",p)}}),[e,o])}}((0,i.Z)((0,t.Z)({},y,L),{experimentKey:null!==(o=null===y||void 0===y?void 0:y.experimentKey)&&void 0!==o?o:0}),{debug:u}).sendLogs,A=(0,m.useMemo)((function(){return{data:void 0,sendLogs:function(){},logTemplate:D,isOn:!1,setDebug:function(){},isLoading:!1,isSuccess:!1,isError:!1}}),[]);return f?{data:y,isError:E.isError,isLoading:E.isLoading,isOn:S,isSuccess:E.isSuccess,logTemplate:L,sendLogs:k,setDebug:c}:A};m.memo((function(e){var n=e.children,o=e.data,i=e.preventImpressionLog,a=void 0!==i&&i,d=(0,m.useCallback)((function(e){return m.isValidElement(e)&&e.type===j}),[]),l=(0,m.useMemo)((function(){var e=m.Children.toArray(n).filter((function(e){return d(e)})).length,o=0;return{childrenWithIndex:m.Children.map(n,(function(e){return d(e)?m.cloneElement(e,{index:o++}):e})),xFlowGroupCount:e}}),[n,d]),u=l.childrenWithIndex,s=l.xFlowGroupCount,c=(0,m.useMemo)((function(){return(0,t.Z)({xFlowGroupCount:s,preventImpressionLog:a},o)}),[o,s,a]),v=(0,m.useCallback)((function(){return"function"===typeof n?n(o?(0,t.Z)({},o):void 0):u}),[n,o,u]);return o?(0,r.jsx)(K.Provider,{value:c,children:v()}):null})).displayName="XFlowExperiment";var j=m.memo((function(e){var n=e.tag,o=void 0===n?"section":n,a=e.group,d=e.isDefault,l=void 0!==d&&d,u=e.onClick,s=e.display,c=void 0===s||s,v=e.children,p=(0,y.YD)({triggerOnce:!0}),f=p.ref,g=p.inView,w=F(),h=w.group,_=w.experimentKey,b=w.on,I=w.revision,E=w.shouldSendLog,N=w.preventImpressionLog,x=U({experimentKey:_}).logTemplate,S=(0,m.useMemo)((function(){return Boolean(a&&a===h||!!b||!h&&l)}),[a,h,b,l]);if((0,m.useEffect)((function(){if(M()&&!N&&Boolean(S&&_&&I&&(null===x||void 0===x?void 0:x.uuid)&&g&&E))try{if(!R("sendLogs"))return void T.Z.warn("XFlow sendLogs \ud568\uc218\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4");window._xflow.sendLogs([(0,i.Z)((0,t.Z)({},x),{logType:"IMPRESSION",revision:null!==I&&void 0!==I?I:0,experimentKey:null!==_&&void 0!==_?_:0,groupName:null!==h&&void 0!==h?h:"",createdDateTime:O()})])}catch(e){T.Z.error("IMPRESSION \ub85c\uadf8 \uc804\uc1a1 \uc2e4\ud328:",e)}}),[x,E,N,h,I,g,_,S]),!M())return null;var L=o;return c?(0,r.jsx)(L,{ref:f,onClick:function(e){return null===u||void 0===u?void 0:u(w,e)},children:S?v:null}):null}));j.displayName="XFlowGroup";var K=(0,m.createContext)(void 0),F=function(){var e=(0,m.useContext)(K);if(!e)throw new Error("useXFlow must be used within a XFlowProvider");return e},X=o(48786),V=o.n(X),W=o(59602),H=o(99293),q=o(72858),J=d().bind(V()),Y=function(e){var n,o,t,i,a,d,l,u=e.placement,s=e.bannerData,c=e.handleClickBanner,v=e.handleInView,p=(0,y.YD)({threshold:.1}),f=p.ref,g=p.inView,w=(0,m.useMemo)((function(){var e,n;return null===(n=(0,q.Z)(null===s||void 0===s||null===(e=s.contents)||void 0===e?void 0:e.creatives))||void 0===n?void 0:n[0]}),[null===s||void 0===s||null===(n=s.contents)||void 0===n?void 0:n.creatives]);return(0,m.useEffect)((function(){"albamon"===(null===s||void 0===s?void 0:s.type)&&g&&w&&v(g,s,w)}),[g,s]),(0,r.jsx)("div",{ref:f,"data-placement":u,"data-product":"albamon"===(null===s||void 0===s?void 0:s.type)&&s.campaignId&&s.campaignProductId?"".concat(s.campaignId,"_").concat(s.campaignProductId):"",style:{backgroundColor:null===w||void 0===w?void 0:w.backgroundColor},children:"albamon"===(null===s||void 0===s?void 0:s.type)&&(0,r.jsx)("div",{className:J("banner","pointer"),role:"button",onClick:function(){return c(s,w)},children:"TEXT"===(null===s||void 0===s||null===(o=s.contents)||void 0===o?void 0:o.contentType)?(0,r.jsxs)("div",{className:J("banner__wrapper-text"),children:[(null===w||void 0===w?void 0:w.textTop)&&(0,r.jsx)(H.Z,{type:"B3",children:null===w||void 0===w?void 0:w.textTop}),(null===w||void 0===w?void 0:w.textBottom)&&(0,r.jsx)(H.Z,{type:"B3",weight:"bold",children:null===w||void 0===w?void 0:w.textBottom})]}):(0,r.jsx)("div",{className:J("banner__wrapper-img"),style:{width:null===(t=s.contents)||void 0===t?void 0:t.width,height:null===(i=s.contents)||void 0===i?void 0:i.height,justifyContent:"center",alignItems:"center"},children:(0,r.jsx)(W.Z,{src:w.src,alt:null!==(l=w.altText)&&void 0!==l?l:"",layout:"fixed",style:{maxWidth:null===(a=s.contents)||void 0===a?void 0:a.width,maxHeight:null===(d=s.contents)||void 0===d?void 0:d.height},className:J(w.effect)})})})})},G=o(48038),z=o.n(G),Q=d().bind(z()),$=function(e){var n,o,t=e.placement,i=e.keywords,a=void 0===i?"":i,d="PRD"!==globalThis.process.env.NEXT_PUBLIC_SHORT_ENV,l=(0,m.useState)(!1),u=l[0],c=l[1],v=(0,m.useState)(!1),f=v[0],g=v[1],h=(0,m.useState)(!1),_=h[0],b=h[1],y=(0,m.useState)(!1),T=y[0],E=y[1],N=(0,w.useRouter)(),x=(0,s.Fe)(),S=x.logged,L=x.age,C=x.memSysNo,B=x.memberType,P=null===window||void 0===window||null===(n=window.dataLayer)||void 0===n?void 0:n[0],Z=(0,I.Sk)({memberNo:C,memberType:"PERSONAL"===B?"PERSONAL":B&&["CORPORATION","FRANCHISE"].includes(B)?"COMPANY":void 0,age:S&&L?+L:void 0,gender:S?null===P||void 0===P?void 0:P.dimension7:void 0,uuid:null!==(o=(0,p.F)())&&void 0!==o?o:void 0,debug:"LCL"===globalThis.process.env.NEXT_PUBLIC_SHORT_ENV||"DEV"===globalThis.process.env.NEXT_PUBLIC_SHORT_ENV}),D="".concat(t,"_frame");return(0,m.useEffect)((function(){c(!0)}),[]),(0,m.useEffect)((function(){if(u){var e=0,n=function(){document.getElementById(D)?b(!0):e<10&&(e++,setTimeout(n,200*e))},o=setTimeout(n,100);return function(){return clearTimeout(o)}}}),[D,u]),(0,m.useEffect)((function(){if(u){!function(){if(window.AdJobkoreaSDK&&document.querySelector('script[id="jkAdSDK"]'))g(!0);else{var e=document.createElement("script");e.id="jkAdSDK",e.src="LCL"===globalThis.process.env.NEXT_PUBLIC_SHORT_ENV||"DEV"===globalThis.process.env.NEXT_PUBLIC_SHORT_ENV?"https://ads.dev.jobkorea.co.kr/ads/sdk/js/adSdk.js":"https://ads.jobkorea.co.kr/ads/sdk/js/adSdk.min.js",e.async=!0,e.onload=function(){g(!0),window.AdJobkoreaSDK=window.AdJobkoreaSDK||{cmd:[]}},document.head.appendChild(e)}}()}}),[u]),(0,m.useEffect)((function(){f&&_&&!T&&window.AdJobkoreaSDK&&window.AdJobkoreaSDK.cmd.push((0,k.Z)((function(){var e,n,o;return(0,A.__generator)(this,(function(i){switch(i.label){case 0:return e=window.AdJobkoreaSDK,n={service:"am",channel:"pc",space
1:t,elementId:D,isDev:d,onfail:"onfailCallback",config:Z,keywords:a},a?[3,2]:[4,e.displayAd(n)];case 1:return o=i.sent(),[3,4];case 2:return[4,e.refreshAd(n)];case 3:o=i.sent(),i.label=4;case 4:return o.setClickHandler((function(e){e.deepLinkUrl;var n=e.linkUrl;return"CURRENT_WINDOW"===e.linkType?void N.push(null!==n&&void 0!==n?n:"/"):void window.open(null!==n&&void 0!==n?n:"/")})),E(!0),[2]}}))})))}),[f,_,T,D,t,Z,N,d,a]),(0,m.useEffect)((function(){u&&(window.onfailCallback||(window.onfailCallback=function(e){var n=document.getElementById(e);n&&(n.style.display="none")}))}),[u]),t&&u?(0,r.jsx)("div",{className:Q("ad-banner","ad-banner__".concat(t)),children:(0,r.jsx)("div",{id:D})}):(0,r.jsx)(r.Fragment,{})},ee=(0,m.memo)($),ne=o(10034),oe=o.n(ne),te=o(31721),ie=o(11296),re=function(e,n){return n&&-1!==e.indexOf(n)},ae=o(37019),de=function(e){var n=e.sessionInfo,o=e.placement,i=e.uniqKey,r=void 0===i?"":i,a=e.options,d=void 0===a?{}:a;return(0,L.useQuery)([(0,B.JI)("AD_BANNER").list({placement:o,uniqKey:r})],(0,k.Z)((function(){var e,t,i,r,a,d,l,u;return(0,A.__generator)(this,(function(s){switch(s.label){case 0:return[4,(0,te.dN)()];case 1:if(e=s.sent(),i=(0,q.Z)(null!==(t=null===e||void 0===e?void 0:e.ads)&&void 0!==t?t:[]),r=i&&i.length>0?i.filter((function(e){return!(!(null===e||void 0===e?void 0:e.spaces)||!e.spaces.includes("all")&&!e.spaces.includes(o))&&function(e,n){var o;if(!e||!n)return!1;var t=n.devices,i=n.genders,r=n.ages,a=n.members,d=e.age,l=e.appNo,u=e.logged,s=e.isPersonal,c=e.isCorporation,v=e.isFranchise,p=c||v;if(!t||!i||!r||!a)return!1;var m=function(e){switch(e){case 0:return"PC";case 1:return"AOS_MW";case 14:return"IOS_MW";case 17:return"AOS";case 18:return"IOS";default:return}}(l);if(!re(t,"ALL")&&!re(t,m))return!1;if((!u||p)&&re(a,"ALL")||!u&&re(a,"NON_MEMBER")||p&&re(a,"COMPANY"))return!0;if(!u||p)return!1;if(!re(a,"ALL")&&(!s||!re(a,"PERSONAL"))&&(!p||!re(a,"COMPANY")))return!1;var f,g=null===window||void 0===window||null===(o=window.dataLayer)||void 0===o?void 0:o[0],w=function(e){switch(e){case"M":return"MALE";case"F":return"FEMALE";default:return}}(null!==(f=null===g||void 0===g?void 0:g.dimension7)&&void 0!==f?f:void 0);return!(!re(i,"ALL")&&!re(i,w))&&!!r.some((function(e){if("ALL"===e)return!0;var n=(0,ie.Z)(e.split("-").map((function(e){return+e})),2),o=n[0],t=n[1];return d&&(o||0)<=+d&&+d<=(t||100)}))}(n,null===e||void 0===e?void 0:e.targets)})):[],0===(a=r).length&&ae.wO[o])return[2,{bannerArr:[{type:"albamon",contents:ae.wO[o]}]}];for(d=new Array(a.length),l=0;l<(r.length||0);)u=Math.floor(Math.random()*r.length),d[u]||(d[u]=a[l],d[u].type="albamon",l++);return[2,{bannerArr:(0,q.Z)(d.filter(Boolean))}]}}))})),(0,t.Z)({keepPreviousData:!0,refetchOnMount:!1,onError:function(e){T.Z.error(e)}},d))},le=o(45810),ue=o(48854),se=(0,le.Z)(oe());var ce=function(e){var n,o,t=e.className,i=e.hasPadding,a=void 0!==i&&i,d=(0,s.Fe)(),l=(0,w.useRouter)(),u=de({sessionInfo:d,placement:"subTextBottom",options:{retry:1}}),c=u.data,v=u.isError,p=u.isFetched,m=!v&&p&&(null===c||void 0===c?void 0:c.bannerArr)||[];return(0,r.jsx)("div",{className:se("banner-container",t,{"has-padding":a}),children:(0,r.jsxs)("div",{className:se("banner-container__wrapper"),children:[(0,r.jsx)(fe,{placement:"subTextBottom",productId:null===m||void 0===m||null===(n=m[0])||void 0===n?void 0:n.campaignProductId},"leftSubTextBottom".concat((0,ue.y)(l))),(0,r.jsx)(fe,{placement:"subBottom",uniqKey:"rightNavigation-".concat((0,ue.y)(l))},"subBottom".concat((0,ue.y)(l))),(0,r.jsx)(fe,{placement:"subTextBottom",productId:null===m||void 0===m||null===(o=m[1])||void 0===o?void 0:o.campaignProductId},"rightSubTextBottom".concat((0,ue.y)(l)))]})})},ve=o(49063),pe=d().bind(u()),me=function(e){var n,o,a,d,l,u=e.placement,c=e.options,v=e.inViewOptions,p=e.productId,f=e.uniqKey,g=void 0===f?"":f,h=e.className,b=void 0===h?"":h,I=(0,w.useRouter)(),E=(0,y.YD)((0,t.Z)({triggerOnce:!0},v)),N=E.ref,x=E.inView;if(!u)return null;var S=(0,s.Fe)(),L=_({placement:u}),k=L.requestLogs,A=L.handleLinkMove,C=de({sessionInfo:S,placement:u,uniqKey:g,options:{retry:1}}),B=C.data,P=C.isError,Z=C.isFetched,D=!P&&Z&&(null===B||void 0===B?void 0:B.bannerArr)||[],O=(0,m.useMemo)((function(){return v&&x||!v}),[v,x]),M=(0,m.useState)(!0),R=M[0],U=M[1];(0,m.useEffect)((function(){if(O){var e=setTimeout((function(){U(!1)}),500);return function(){return clearTimeout(e)}}}),[O]);var j={minHeight:!O||O&&R?null===c||void 0===c||null===(n=c.skeleton)||void 0===n?void 0:n.height:void 0},K=(0,m.useMemo)((function(){var e;
1return(null===(e=I.query)||void 0===e?void 0:e.adProductId)?+I.query.adProductId:p}),[p,I.query]),F=(0,m.useMemo)((function(){var e,n;return K&&D&&D.length>0&&null!==(n=null===(e=null===D||void 0===D?void 0:D.filter((function(e){return e.campaignProductId===K})))||void 0===e?void 0:e[0])&&void 0!==n?n:null===D||void 0===D?void 0:D[0]}),[D,K]);return!Z||Z&&F?(0,r.jsxs)("div",{ref:N,className:pe("ad-banner",["mainTop","searchRight"].includes(u)&&"ad-radius8",["mainTopSdk"].includes(u)&&"ad-radius20",["searchRight"].includes(u)&&"ad-bottom-margin20",b),style:(0,t.Z)((0,i.Z)((0,t.Z)({},j),{height:null===F||void 0===F||null===(o=F.contents)||void 0===o?void 0:o.height,width:null===F||void 0===F||null===(a=F.contents)||void 0===a?void 0:a.width}),Object.assign({},("LCL"===globalThis.process.env.NEXT_PUBLIC_SHORT_ENV||"DEV"===globalThis.process.env.NEXT_PUBLIC_SHORT_ENV)&&{position:"relative"})),children:[!O&&(null===c||void 0===c||null===(d=c.skeleton)||void 0===d?void 0:d.img)&&(0,r.jsx)("div",{className:pe("ad-banner-skeleton"),style:j,children:(0,r.jsx)(W.Z,{src:null===c||void 0===c||null===(l=c.skeleton)||void 0===l?void 0:l.img,alt:"skeleton \uc774\ubbf8\uc9c0",layout:"fixed"})}),O&&(!Z||Z&&F)?(0,r.jsx)(Y,{placement:u,bannerData:F,handleClickBanner:function(e,n){e&&n&&A(e,n)},handleInView:function(e,n,o){e&&n&&o&&k("IMPRESSION",n,o)}}):null,("LCL"===globalThis.process.env.NEXT_PUBLIC_SHORT_ENV||"DEV"===globalThis.process.env.NEXT_PUBLIC_SHORT_ENV)&&(0,r.jsxs)(ve.Z,{variant:"contained",size:"tiny",color:"secondary",style:{top:2,right:2,position:"absolute"},onClick:function(){T.Z.info(JSON.stringify(D),D)},children:["console(",u,")"]})]}):null};var fe=function(e){var n,o=e.placement,i=(e.options,e.inViewOptions,e.className),a=((0,s.Fe)().isApp,U({experimentKey:S})),d=a.isSuccess,l=a.data,u=a.sendLogs,c=(0,y.YD)({threshold:.1,triggerOnce:!0}),v=c.inView,p=c.ref;return(0,m.useEffect)((function(){l&&v&&u({group:null===l||void 0===l?void 0:l.group,logType:"IMPRESSION",revision:null===l||void 0===l?void 0:l.revision})}),[v,l,u]),d?"B"===(null===l||void 0===l?void 0:l.group)&&"string"===typeof(null===l||void 0===l?void 0:l.parameter)&&(null!==(n=null===l||void 0===l?void 0:l.parameter)&&void 0!==n?n:"").split(",").includes(o)?(0,r.jsx)("div",{ref:p,className:pe("ad-banner",["mainTop","searchRight"].includes(o)&&"ad-radius8",["mainTopSdk"].includes(o)&&"ad-radius20",["searchRight"].includes(o)&&"ad-bottom-margin20",i),children:(0,r.jsx)(ee,{placement:o})}):(0,r.jsx)("div",{ref:p,children:"group"!==o?(0,r.jsx)(me,(0,t.Z)({},e)):(0,r.jsx)(ce,{className:i?pe(i):void 0})}):(0,r.jsx)(r.Fragment,{})}},37019:function(e,n,o){"use strict";o.d(n,{Mm:function(){return i},Zn:function(){return t},wO:function(){return r}});"LCL"===globalThis.process.env.NEXT_PUBLIC_SHORT_ENV||globalThis.process.env.NEXT_PUBLIC_SHORT_ENV;var t="LCL"===globalThis.process.env.NEXT_PUBLIC_SHORT_ENV?8e3:3e3,i="PRD"===globalThis.process.env.NEXT_PUBLIC_SHORT_ENV?"https://ads.albamon.com":"https://ads.dev.albamon.com",r={mainTop:{width:752,height:110,contentType:"IMAGE",creatives:[{altText:"\uc9c0\uae08 \uc54c\ubc14\ubaac\uc5d0 \uad11\uace0\ud558\uc138\uc694!",linkType:"NEW_WINDOW",linkUrl:"https://www.jobkorea.co.kr/service/company/ad",src:"".concat(globalThis.process.env.NEXT_PUBLIC_IMAGE_URL,"/assets/images/ad/banner/default/default_752x110.png")}]},loginRight:{width:325,height:310,contentType:"IMAGE",creatives:[{altText:"\uc9c0\uae08 \uc54c\ubc14\ubaac\uc5d0 \uad11\uace0\ud558\uc138\uc694!",linkType:"NEW_WINDOW",linkUrl:"https://www.jobkorea.co.kr/service/company/ad",src:"".concat(globalThis.process.env.NEXT_PUBLIC_IMAGE_URL,"/assets/images/ad/banner/default/default_325x310.png")}]},subBottom:{width:495,height:110,contentType:"IMAGE",creatives:[{altText:"\uc9c0\uae08 \uc54c\ubc14\ubaac\uc5d0 \uad11\uace0\ud558\uc138\uc694!",linkType:"NEW_WINDOW",linkUrl:"https://www.jobkorea.co.kr/service/company/ad",src:"".concat(globalThis.process.env.NEXT_PUBLIC_IMAGE_URL,"/assets/images/ad/banner/default/default_495x110.png")}]}}},48854:function(e,n,o){"use strict";o.d(n,{y:function(){return t}});var t=function(e){var n=e.asPath,o=e.query;return n.split("?")[0]+(o.page?"?page=".concat(o.page):"")}},45697:function(e,n,o){"use strict";o.d(n,{o:function(){return t}});var t=function(e){switch(e){case-2147483648:return"UNKNOWN";case 0:return"PC_WEB";case 1:return"Android_MW";case 14:return"IOS_MW";case 17:return"Android_APP";case 18:return"IOS_APP";default:return"UNKNOWN"}}},52110:function(e,n,o){"use strict";o.d(n,{F:function(){return l}});var t=o(36690),i=o(93089),r=o(50887),a="AM_USER_UUID",d=".albamon.com",l=function(e){var n=null===window||void 0===window?void 0:window.localStorage.getItem(a);return n?((0,r.getCookie)(a,(0,i.Z)((0,t.Z)({},e?{req:e.req,res:e.res}:{}),{domain:d}))!==n&&(0,r.setCookie)(a,n,(0,i.Z)((0,t.Z)({},e),{domain:d})),n):u(e)},u=function(e){var n=(null===window||void 0===window?void 0:window.crypto)&&crypto.randomUUID?crypto.randomUUID():"10000000-1000-4000-8000-100000000000".replace(/[018]/g,(function(e){return(parseInt(e)^crypto.getRandomValues(new Uint8Array(1))[0]&15>>parseInt(e)/4).toString(16)}));return null===window||void 0===window||window.localStorage.setItem(a,n),(0,r.setCookie)(a,n,(0,i.Z)((0,t.Z)({},e),{domain:d})),n}},48786:function(e){e.exports={banner:"AdvertisementBannerContents_banner__DUHEq","banner__wrapper-img":"AdvertisementBannerContents_banner__wrapper-img__vBQjr","banner__wrapper-text":"AdvertisementBannerContents_banner__wrapper-text__UbdNI","fade-in":"AdvertisementBannerContents_fade-in__qAzvd","left-to-right":"AdvertisementBannerContents_left-to-right__yxL_D","right-to-left":"AdvertisementBannerContents_right-to-left__JMebv",shake:"AdvertisementBannerContents_shake__JIok3",beat:"AdvertisementBannerContents_beat__dBUhe"}},9068:function(e){e.exports={"ad-banner":"AdvertisementBanner_ad-banner__nEnAd","ad-banner-skeleton":"AdvertisementBanner_ad-banner-skeleton__4bCtq","ad-radius8":"AdvertisementBanner_ad-radius8___lMxv","ad-radius20":"AdvertisementBanner_ad-radius20__bgyAw","ad-bottom-margin20":"AdvertisementBanner_ad-bottom-margin20__zJMmo"}},10034:function(e){e.exports={"banner-container":"AdvertisementBannerSubBottom_banner-container__V9Lr1","banner-container__wrapper":"AdvertisementBannerSubBottom_banner-container__wrapper__gmvas","has-padding":"AdvertisementBannerSubBottom_has-padding__9W9NV","banner-container__text":"AdvertisementBannerSubBottom_banner-container__text__31mXf"}},48038:function(){}}]);
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.