1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7814],{84110:function(e){var t;t=function(){return function(e,t,i){e=e||{};var r=t.prototype,n={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(e,t,i,n){return r.fromToBase(e,t,i,n)}i.en.relativeTime=n,r.fromToBase=function(t,r,o,a,l){for(var c,d,s,m=o.$locale().relativeTime||n,p=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],h=p.length,f=0;f<h;f+=1){var u=p[f];u.d&&(c=a?i(t).diff(o,u.d,!0):o.diff(t,u.d,!0));var x=(e.rounding||Math.round)(Math.abs(c));if(s=c>0,x<=u.r||!u.r){x<=1&&f>0&&(u=p[f-1]);var g=m[u.l];l&&(x=l(""+x)),d="string"==typeof g?g.replace("%d",x):g(x,r,u.l,s);break}}if(r)return d;var b=s?m.future:m.past;return"function"==typeof b?b(d):b.replace("%s",d)},r.to=function(e,t){return o(e,t,this,!0)},r.from=function(e,t){return o(e,t,this)};var a=function(e){return e.$u?i.utc():i()};r.toNow=function(e){return this.to(a(this),e)},r.fromNow=function(e){return this.from(a(this),e)}}},e.exports=t()},23828:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/signup/terms",function(){return i(88436)}])},86611:function(e,t,i){"use strict";var r=i(85893),n=i(41768),o=i(54465),a=i(11163),l=i(85444);let c=e=>"string"==typeof e;t.Z=e=>{let{className:t,text:i="ë보기",icon:o="/fallback/images/icon/unpa-ic-right-small.svg",href:l,customClickEvent:s}=e,m=(0,a.useRouter)();return(0,r.jsxs)(d,{className:t,onClick:()=>{s?s():m.push(l)},children:[(0,r.jsx)("span",{children:i}),c(o)?(0,r.jsx)(n.Z,{id:o,width:20,height:20}):o]})};let d=l.ZP.button.withConfig({displayName:"ReadMoreButton__StyledButton",componentId:"sc-73c39ec3-0"})(["display:flex;align-items:center;height:20px;> span{color:var(--color-black-800);line-height:20px;@media ","{font-size:14px;margin-top:2px;}@media ","{font-size:13px;margin-top:2.5px;}}"],o.B.pc.min_width_1024,o.B.mobile.max_width_1024)},76952:function(e,t,i){"use strict";var r=i(85893),n=i(85444),o=i(67294),a=i(41768);let l=o.forwardRef((e,t)=>{let i=(0,o.useId)();return(0,r.jsxs)(c,{children:[(0,r.jsx)(d,{...e,id:i,ref:t,type:"checkbox"}),(0,r.jsxs)("label",{htmlFor:i,children:[(0,r.jsx)(a.Z,{className:"icon-off",id:"/mypage/images/icon/unpa-ic-select-checkbox-off.svg",width:24,height:24}),(0,r.jsx)(a.Z,{className:"icon-on",id:"/mypage/images/icon/unpa-ic-select-checkbox-on.svg",width:24,height:24})]})]})});t.Z=l;let c=n.ZP.fieldset.withConfig({displayName:"InputCheckbox__StyledWrapper",componentId:"sc-fb1b1870-0"})(["width:24px;height:24px;margin:0;padding:0;border:none;"]),d=n.ZP.input.withConfig({displayName:"InputCheckbox__StyledCheckbox",componentId:"sc-fb1b1870-1"})(["&{display:none;}& + label{display:block;width:24px;height:24px;cursor:pointer;.icon-on{display:none;}.icon-off{display:block;}}&:checked + label{.icon-on{display:block;}.icon-off{display:none;}}"])},13016:function(e,t,i){"use strict";i.d(t,{v:function(){return o}});var r=i(42474),n=i(21876).Buffer;let o=e=>{let{authTag:t,value:i}=e,o=r.createDecipheriv("aes-128-gcm",n.from("168b3a2c5d2c65df26288fc916b2a1b2","hex"),n.from("d828052c18a9542875bdbe98d623016a","hex"));o.setAuthTag(n.from(t,"hex"));let a=o.update(i,"hex","utf-8");return o.final("utf-8"),a}},90516:function(e,t,i){"use strict";var r=i(85893);i(67294);var n=i(85444),o=i(5243),a=i(54465);t.Z=e=>{let{a11yTitle:t,children:i,...n}=e;return(0,r.jsxs)(l,{...n,children:[t&&(0,r.jsx)("h2",{className:"a11y",children:t}),i]})};let l=n.ZP.section.withConfig({displayName:"AppMainLayoutSection__StyledWrapperSection",componentId:"sc-7cad2d98-0"})(["max-width:","px;margin:0 auto;&.bg-white{background-color:var(--color-white);}@media ","{flex:1 0 0;width:100%;padding:0;}"],o.Dl,a.B.mobile.max_width_1024)},34969:function(e,t,i){"use strict";i.d(t,{TG:function(){return d},a1:function(){return l},zT:function(){return c}});var r=i(27484),n=i.n(r),o=i(84110),a=i.n(o);n().extend(a());let l="YYYY-MM-DD HH:mm:ss",c="YYYY.MM.DD",d=e=>{let t=n()(),i=n()(e);return 1>t.diff(i,"minute")?"ë°©ê¸ ì ":i.from(t)}},88436:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return q}});var r=i(85893),n=i(13016),o=i(54465),a=i(85444);let l=a.ZP.header.withConfig({displayName:"Description__StyledWrapper",componentId:"sc-1cb48e1f-0"})(["display:flex;flex-direction:column;header{color:var(--color-black);font-weight:bold;font-size:24px;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;}p{color:var(--color-black-800);font-weight:normal;font-size:14px;font-style:normal;font-stretch:normal;letter-spacing:normal;}@media ","{gap:20px;width:312px;header{text-align:center;}p{line-height:1.29;text-align:center;}}@media ","{gap:12px;width:100%;p{color:var(--color-black-800);line-height:1.14;}}"],o.B.pc.min_width_1024,o.B.mobile.max_width_1024);var c=i(86611),d=i(87536),s=i(76952),m=i(41768);let p=a.ZP.div.withConfig({displayName:"TermsCheckbox__StyledWrapper",componentId:"sc-7f1277dd-0"})(["display:flex;"," @media ","{& > label{margin-left:4px;}}@media ","{& > label{margin-left:8px;}}"],e=>{let{alignCenter:t}=e;return(0,a.iv)(["",""],t?(0,a.iv)(["align-items:center;"]):(0,a.iv)(["align-items:flex-start;& > label{padding-top:4px;}"]))},o.B.pc.min_width_1024,o.B.mobile.max_width_1024),h=a.ZP.label.withConfig({displayName:"TermsCheckbox__StyledLabel",componentId:"sc-7f1277dd-1"})(["display:flex;flex:1;flex-direction:column;gap:4px;& > div{height:16px;color:var(--color-black);font-weight:normal;font-size:14px;font-style:normal;font-stretch:normal;line-height:1.33;letter-spacing:normal;&:first-child > pre{margin-left:2px;line-height:1.14;}}pre{display:inline;color:var(--color-black-700);font-size:12px;}"]),f=a.ZP.div.withConfig({displayName:"TermsSubmitButton__StyledButtonWrapper",componentId:"sc-e3af4c61-0"})(["padding:16px;background:linear-gradient(to bottom,#ffffff00,#ffffff);button{width:100%;color:var(--color-white);font-weight:bold;font-style:normal;font-stretch:normal;letter-spacing:normal;border-radius:8px;@media ","{height:48px;font-size:14px;line-height:1.14;border-radius:8px;}@media ","{height:52px;font-size:16px;line-height:1;}","}"],o.B.pc.min_width_1024,o.B.mobile.max_width_1024,e=>{let{canSubmit:t}=e;return t?(0,a.iv)(["background-color:var(--color-main);"]):(0,a.iv)(["background-color:var(--color-black-500);"])});var u=i(67294);let x=["isAgeVerified","termsAccepted","privacyPolicyAccepted","promotionalOffersAccepted"];var g=()=>{let{register:e,setValue:t,watch:i}=(0,d.Gc)(),r=i(x);return(0,u.useEffect)(()=>{t("allAgreed",r.every(e=>e),{shouldValidate:!0})},[r]),{register:e,handleAllAgreedChange:e=>{let{checked:i}=e.target;
1x.forEach(e=>{t(e,i,{shouldValidate:!0})})}}};let b=a.ZP.div.withConfig({displayName:"AgreeAllTermsCheckbox__StyledWrapper",componentId:"sc-2ad8893f-0"})(["display:flex;align-items:center;@media ","{& > label{margin-left:4px;}}@media ","{& > label{margin-left:8px;}}"],o.B.pc.min_width_1024,o.B.mobile.max_width_1024),y=a.ZP.label.withConfig({displayName:"AgreeAllTermsCheckbox__StyledLabel",componentId:"sc-2ad8893f-1"})(["display:flex;flex:1;flex-direction:column;gap:4px;color:var(--color-black);font-weight:bold;font-size:15px;font-style:normal;font-stretch:normal;line-height:1.07;letter-spacing:normal;"]);var _=i(11163),w=i(27484),v=i.n(w),j=i(34969),k=i(95400),C=i(19184);let S=[{name:"isAgeVerified",label:"ë§ 14ì¸ ì´ìì
ëë¤.",required:!0},{name:"termsAccepted",label:"ì´ì©ì½ê´ ëì",readMore:"/docs/terms-of-use",required:!0},{name:"privacyPolicyAccepted",label:"ê°ì¸ì ë³´ ìì§ ë° ì´ì© ëì",readMore:"/docs/privacy",required:!0},{name:"promotionalOffersAccepted",label:"ì´ë²¤í¸ ë° íí ìë ìì ëì",readMore:"/docs/promotion",required:!1,description:"ì¶ê° í¬ì¸í¸ íí ë° ì´ë²¤í¸ ì 보를 ìë ¤ëë ¤ì."}];var N=e=>{let{}=e,t=(0,_.useRouter)(),i=(0,d.cI)(),n=(0,C.E)(),o=i.handleSubmit((e,i)=>{null==i||i.preventDefault();let r=v()(),o="ë§ì¼í
ìì ".concat(e.promotionalOffersAccepted?"ëì":"ê±°ë¶"," ").concat(r.format(j.a1));k.Z.alert(o),n({event_label:"unpa_agree_start_click",page_name:"terms",status:e.promotionalOffersAccepted?"agree":"disagree"}),t.push({pathname:"/phone-auth",query:{...t.query,promotionalOffersAccepted:e.promotionalOffersAccepted,currentTime:r.toISOString()}})});return(0,r.jsx)(d.RV,{...i,children:(0,r.jsxs)(Z,{onSubmit:o,children:[(0,r.jsx)(B,{}),S.map(e=>(0,r.jsx)(T,{...e},e.name)),(0,r.jsx)(A,{})]})})};let Z=a.ZP.form.withConfig({displayName:"TermsForm__StyledForm",componentId:"sc-99acea5d-0"})(["display:flex;flex-direction:column;width:100%;"]),B=(0,a.ZP)(e=>{let{className:t}=e,{register:i,handleAllAgreedChange:n}=g();return(0,r.jsxs)(b,{className:t,children:[(0,r.jsx)(s.Z,{...i("allAgreed"),onChange:n}),(0,r.jsx)(y,{children:"ì½ê´ ì ì²´ ëì"})]})}).withConfig({displayName:"TermsForm__StyledAgreeAllTermsCheckbox",componentId:"sc-99acea5d-1"})(["padding:11px 0;border-bottom:1px solid var(--color-bg);@media ","{margin:0 24px;}"],o.B.mobile.max_width_1024),T=(0,a.ZP)(e=>{let{className:t,label:i,name:n,readMore:o,required:a=!1,description:l}=e,{register:f}=(0,d.Gc)(),u=void 0===l;return(0,r.jsxs)(p,{className:t,alignCenter:u,children:[(0,r.jsx)(s.Z,{...f(n,{required:a})}),(0,r.jsxs)(h,{children:[(0,r.jsxs)("div",{children:[i,a?(0,r.jsx)("pre",{children:"(íì)"}):(0,r.jsx)("pre",{children:"(ì í)"})]}),l&&(0,r.jsx)("div",{children:(0,r.jsx)("pre",{children:l})})]}),o&&(0,r.jsx)(c.Z,{text:"",href:o,customClickEvent:()=>{window.location.href=o},icon:(0,r.jsx)(m.Z,{id:"/common/images/icon/unpa-ic-arrow-right-darkgray.svg",width:20,height:20})})]})}).withConfig({displayName:"TermsForm__StyledTermsCheckbox",componentId:"sc-99acea5d-2"})(["margin:11px 0;@media ","{padding:0 24px;}"],o.B.mobile.max_width_1024),A=(0,a.ZP)(e=>{let{className:t}=e,{formState:{isValid:i}}=(0,d.Gc)();return(0,r.jsx)(f,{canSubmit:i,children:(0,r.jsx)("button",{type:"submit",className:t,children:"ëìíê³ ììí기"})})}).withConfig({displayName:"TermsForm__StyledSubmitButton",componentId:"sc-99acea5d-3"})(["@media ","{margin-top:29px;}@media ","{margin-top:32px;}"],o.B.pc.min_width_1024,o.B.mobile.max_width_1024);var P=i(5243),I=i(90516),M=()=>(0,r.jsxs)(E,{a11yTitle:"ì¸ëìíì°ì¹ ì½ê´ ëì",children:[(0,r.jsx)(O,{title:(0,r.jsxs)(r.Fragment,{children:["ì¸ëìíì°ì¹ì ì¤ì ê²ì",(0,r.jsx)("br",{}),"íìí©ëë¤!"]}),description:"í¸ë¦¬í ì´ì©ì ìí´ ìë ì½ê´ì ëìí´ì£¼ì¸ì"}),(0,r.jsx)(N,{})]});let E=(0,a.ZP)(I.Z).withConfig({displayName:"ScreenTermsOfService__StyledWrapper",componentId:"sc-152bfc52-0"})(["display:flex;flex:1;flex-direction:column;justify-content:space-between;@media ","{gap:36px;max-width:312px;margin-top:160px;}@media ","{margin-bottom:","px;}"],o.B.pc.min_width_1024,o.B.mobile.max_width_1024,-P.Zi),O=(0,a.ZP)(e=>
1{let{className:t,title:i,description:n}=e;return(0,r.jsxs)(l,{className:t,children:[(0,r.jsx)("header",{children:i}),n&&(0,r.jsx)("p",{children:n})]})}).withConfig({displayName:"ScreenTermsOfService__StyledDescription",componentId:"sc-152bfc52-1"})(["@media ","{padding:24px 24px 0;}"],o.B.mobile.max_width_1024);var z=i(9008),D=i.n(z),F=i(97334);let Y=()=>{let e=(0,C.E)();return(0,u.useEffect)(()=>{e({event_label:"page_view",page_name:"terms"})},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(D(),{children:(0,r.jsx)("title",{children:"ì½ê´ ëì - ì¸ëìíì°ì¹"})}),(0,r.jsx)(M,{})]})};var q=Y;Y.getLayoutProps=()=>({header:{children:" ",showBottomBorder:!1},main:{backgroundColor:"white"},footer:{hiddenMobile:!0}}),Y.getInitialProps=async e=>{var t,i;let r=new URLSearchParams((0,F.encode)(e.query)),o=null!==(t=r.get("authTag"))&&void 0!==t?t:"",a=null!==(i=r.get("encryptedSocialLoginData"))&&void 0!==i?i:"",l="";try{l=(0,n.v)({authTag:o,value:a})}catch(e){}return{decryptedSocialLoginData:l}}}},function(e){e.O(0,[3714,7536,4969,532,2888,9774,179],function(){return e(e.s=23828)}),_N_E=e.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.