PageSourceSearch

https://modulabs.co.kr/_next/static/chunks/4759-115185550a5b19d3.js?dpl=dpl_H4MZYSMSAbi5njrk94cq52QqH9t7

js modulabs.co.kr collected 2026-10-03 19:27:37 UTC 26,257 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4759],{14646:(e,r,t)=>{t.d(r,{A:()=>d});var s=t(95155),a=t(12115),l=t(24847),n=t(36795),i=t(77979),o=function(e){return e.NORMAL="normal",e.ERROR="error",e.DISABLED="disabled",e}(o||{});let c=(0,a.forwardRef)((e,r)=>{let{id:t,partial:a,variant:o,status:c,label:d,checked:u,onChange:x,smallCheckbox:m=!1,fontClassName:h="body-xs-regular md:body-md-regular"}=e,p="disabled"===c,y="disabled"===c?"bg-disabled cursor-not-allowed border-disabled":"error"===c?u?"border-error-1 cursor-pointer":"border-error-1 bg-transparent cursor-pointer":u?"bg-grayscale-1 border-transparent cursor-pointer hover:bg-grayscale-10":"bg-grayscale-100 border-[1.2px] border-grayscale-60 cursor-pointer hover:border-grayscale-10",f=u?"error"===c?"text-danger":p?"text-disabled":"#FFFFFF":"text-transparent";return(0,s.jsxs)("div",{className:"flex gap-4",children:[(0,s.jsx)("input",{ref:r,id:t,type:"checkbox",className:"hidden",disabled:p,checked:u,onChange:x}),m?(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)("label",{htmlFor:t,className:"flex size-24 flex-col justify-center",children:(0,s.jsx)(n.A,{currentColor:u?"#474C53":"#CDD1D6"})})}):(0,s.jsx)("div",{className:"box-content flex size-24 justify-center",children:(0,s.jsx)("label",{htmlFor:t,className:"box-content block self-center border-[1.5px] ".concat(y," ").concat("checkbox_rounded"===o?"size-20 rounded-full":"size-[14.4px] rounded-2"),children:u&&(0,s.jsx)("div",{className:"flex justify-center ".concat("checkbox_rounded"===o?"relative top-[2px]":""),children:a?(0,s.jsx)(l.A,{}):(0,s.jsx)(n.A,{currentColor:f})})})}),(0,s.jsx)("div",{className:(0,i.cn)("cursor-pointer self-center",h,m&&!u&&"text-grayscale-50"),onClick:()=>{var e;return null==(e=document.getElementById(t))?void 0:e.click()},children:d})]})});c.displayName="Checkbox";let d=c},23218:(e,r,t)=>{t.d(r,{D:()=>l});var s=t(95155),a=t(58298);let l=e=>{let{label:r="Label",isRequired:t=!1,optionalText:l,isInfoIcon:i,tooltipMessage:o,tooltipArrowLeft:c}=e;return(0,s.jsxs)("div",{className:"body-xs-medium md:body-sm-medium flex items-start gap-2",children:[(0,s.jsx)("div",{className:"text-grayscale-1",children:r}),t&&(0,s.jsx)("div",{className:"text-error-1",children:"*"}),l&&(0,s.jsx)("div",{className:"text-grayscale-60",children:l}),i&&(0,s.jsx)(n,{message:o||"",arrowLeft:c||"16px",children:(0,s.jsx)("div",{className:"flex h-20 w-20 items-center justify-center",children:(0,s.jsx)(a.A,{})})})]})};function n(e){let{message:r,children:t,arrowLeft:a}=e;return"-".concat(parseFloat(a)).concat(a.replace(/[0-9.-]/g,"")),(0,s.jsxs)("div",{className:"group relative flex border-red-500",children:[t,(0,s.jsxs)("span",{className:"rounded-8 bg-grayscale-20 body-xs text-grayscale-60 shadow-2 absolute min-w-fit max-w-[240px] origin-[16px_100%] translate-x-[-16px] translate-y-[calc(-100%-12px)] scale-0 whitespace-pre break-keep px-16 py-12 transition-all group-hover:scale-100",children:[r,(0,s.jsx)("span",{style:{left:a},className:"border-t-grayscale-20 absolute -bottom-[12px] h-0 w-0 border-x-[10px] border-t-[12px] border-l-transparent border-r-transparent"})]})]})}},24847:(e,r,t)=>{t.d(r,{A:()=>a});var s=t(95155);function a(){return(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M5.83984 12H18.1598",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}},28181:(e,r,t)=>{t.d(r,{I:()=>A});var s=t(95155),a=t(12115),l=t(23934),n=t(80082),i=t(16501),o=t(45054),c=t(82086),d=t(90522),u=t(45570),x=t(26383),m=t(65150),h=t(14657),p=t(15239),y=t(52619),f=t.n(y),g=t(65363),v=t(14646);function b(e){let{serviceCode:r,onAgreementSuccess:t,onClose:y,isOpen:b}=e,[j,w]=(0,a.useState)(null),[A,C]=(0,a.useState)({}),{signinUser:N,refetchServiceTerms:k}=(0,l.useSigninUserStore)(),{data:I,isLoading:M,refetch:L}=(0,m.I)({queryKey:["modulabsServiceTerms",r],queryFn:async()=>{let{data:e}=await c.default.query({query:o.lZ,variables:{serviceCode:r}});return e.modulabsServiceTerms},enabled:!1}),{mutate:R}=(0,h.n)({mutationFn:async e=>{await c.default.mutate({mutation:o.T2,variables:{serviceCode:e.serviceCode,agreementActions:e.agreementActions}})}}),B=(0,a.useCallback)(async()=>{try{let{data:e}=await L();w(e||[]),C((null==e?void 0:e.terms.reduce((e,r)=>(e[r.serviceTermId]=!1,e),{}))||{})}catch(e){console.error("Failed to fetch terms:",e),x.oR.error("","약관 정보를 불러오는 데 실패했습니다.")}},[L]);(0,a.useEffect)(()=>{b&&B()},[b,B]);let q=async()=>
1{if(!((null==j?void 0:j.terms.filter(e=>e.required))||[]).every(e=>A[e.serviceTermId]))return void x.oR.warning("","필수 약관에 모두 동의하셔야 합니다.");let e=null==j?void 0:j.terms.map(e=>({termId:e.serviceTermId,termAction:A[e.serviceTermId]?d.P4.Agree:d.P4.Disagree}));try{R({serviceCode:r,agreementActions:e}),await k(r),x.oR.success("".concat(null==j?void 0:j.serviceName," 서비스 약관 동의를 완료했습니다."),""),t(),y()}catch(e){console.error("Failed to agree to terms:",e),x.oR.error("","약관 동의에 실패했습니다.")}},S=((null==j?void 0:j.terms.filter(e=>e.required))||[]).every(e=>A[e.serviceTermId]),K=(0,s.jsxs)("div",{className:"flex items-center gap-[9px]",children:[(0,s.jsx)(p.default,{src:"/logos/modu-term-logo.svg",alt:"logo",width:48,height:48}),(0,s.jsxs)("div",{className:"flex flex-col self-center",children:[(0,s.jsx)("h1",{children:"모두의연구소"}),(0,s.jsx)("h3",{className:"body-xs-regular text-grayscale-50",children:null==j?void 0:j.serviceName})]})]});return b?(0,s.jsxs)(i.A,{onClose:y,className:"w-[343px] max-w-[343px] p-0 sm:w-[488px] sm:max-w-[488px]",children:[(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("section",{className:"border-b px-16 pb-8 pt-16 sm:px-24 sm:pb-16 sm:pt-24",children:(0,s.jsx)("div",{className:"flex items-center gap-[9px]",children:K})}),(0,s.jsxs)("section",{className:"max-h-[336px] space-y-12 overflow-y-auto px-16 py-12 sm:max-h-[304px] sm:px-24",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,s.jsx)(v.A,{label:"전체 동의하기",id:"agree-all",variant:"checkbox",status:"normal",fontClassName:"body-sm-semibold",checked:Object.values(A).every(e=>e),onChange:e=>{var r;return r=e.target.checked,void C((null==j?void 0:j.terms.reduce((e,t)=>(e[t.serviceTermId]=r,e),{}))||{})}}),(0,s.jsxs)("p",{className:"text-grayscale-50 body-1xs-regular pl-32",children:["전체 동의는 필수 및 선택정보에 대한 동의도 포함되어 있으며, 개별적으로도 동의를 선택하실 수 있습니다. 선택항목에 대한 동의를 거부하시는 경우에도 서비스는 이용이 가능합니다."," "]})]}),M?(0,s.jsx)(g.A,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"flex flex-col gap-12 border-t pl-32 pt-12",children:[(0,s.jsxs)("div",{className:"flex items-center gap-10",children:[(0,s.jsx)(n.e,{url:null==N?void 0:N.member.profileImageUrl,size:"xs"}),(0,s.jsx)("span",{className:"body-xs-regular text-grayscale-10",children:null==N?void 0:N.member.email})]}),(0,s.jsxs)("p",{className:"body-1xs-regular text-grayscale-50",children:[null==j?void 0:j.serviceName," 서비스 제공
1을 위해 회원번호와 함께 개인정보가 제공됩니다. 보다 자세한 개인정보 제공항목은 동의 내용에서 확인하실 수 있습니다. 해당 정보는 동의 철회 또는 서비스 탈퇴 시 지체없이 파기됩니다."]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-12 border-t pt-12",children:[(0,s.jsxs)("div",{className:"body-xs-medium text-grayscale-20 pl-32",children:[null==j?void 0:j.serviceName," 동의 항목"]}),null==j?void 0:j.terms.map(e=>(0,s.jsxs)("div",{className:"flex justify-between",children:[(0,s.jsx)("div",{className:"flex items-center gap-8",children:(0,s.jsx)(v.A,{smallCheckbox:!0,fontClassName:"body-1xs-regular",id:e.serviceTermId,label:"[".concat(e.required?"필수":"선택","] ").concat(e.termName," 동의 "),variant:"checkbox",status:"normal",checked:A[e.serviceTermId]||!1,onChange:r=>{var t,s;return t=e.serviceTermId,s=r.target.checked,void C(e=>({...e,[t]:s}))}})}),(0,s.jsx)(f(),{target:"_blank",href:"/policy/".concat(r,"/terms/").concat(e.serviceTermId),className:"text-grayscale-50 body-2xs-regular underline",children:"보기"})]},e.serviceTermId))]})]})]})]}),(0,s.jsxs)("div",{className:"flex justify-center gap-8 border-t p-16 sm:p-24",children:[(0,s.jsx)(u.default,{label:"취소",type:"tertiary",style:"filled",size:"lg",onClick:y,className:"w-1/4"}),(0,s.jsx)(u.default,{label:"동의",type:"primary",style:"filled",size:"lg",onClick:q,className:"w-3/4",disabled:!S||M})]})]}):null}var j=t(68947),w=t(20063);let A=e=>{let{children:r,serviceCode:t,onClose:n,moveBackOnFail:i}=e,o=(0,w.useRouter)(),{session:c,isServiceTermAgreed:d}=(0,l.useSigninUserStore)(),{setOpenModal:u,setCloseModal:m,isOpen:h}=(0,j.A)(),[p,y]=(0,a.useState)(!0),[f,g]=(0,a.useState)(!1),v=(0,a.useRef)(!1),A="".concat(t,"-term-modal"),C=(0,a.useCallback)(async()=>{y(!0);let e=await d(t);g(e),y(!1),e||u(A)},[t,d,u,A]);(0,a.useEffect)(()=>{c?C():(g(!1),y(!1))},[c,C]);let N=async()=>{g(!0),v.current=!0};if(!p)return f?(0,s.jsx)(s.Fragment,{children:r}):(0,s.jsx)(b,{isOpen:h(A),serviceCode:t,onAgreementSuccess:N,onClose:()=>{m(A),!v.current&&(x.oR.warning("","약관 동의가 완료되지 않았습니다."),i&&o.back()),null==n||n(v.current)}})}},36795:(e,r,t)=>{t.d(r,{A:()=>a});var s=t(95155);function a(e){let{currentColor:r="#1F2937"}=e;return(0,s.jsx)("svg",{width:"24",height:"16",viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M16.4 4.6416L10.35 10.6916L7.59998 7.9416",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}},37790:(e,r,t)=>{t.d(r,{A:()=>a});var s=t(95155);function a(){return(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M15 18L9 12L15 6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}},44796:(e,r,t)=>{t.r(r),t.d(r,{default:()=>s});let s={src:"/_next/static/media/default-avatar.0e12b069.png",height:240,width:240,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAABlBMVEWMkZbv7/B+vVcWAAAAAnRSTlMzLykplVEAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAVSURBVHicY2DABhgZcTEYGeFCKAAAAZUAC/ETbjwAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8}},46939:(e,r,t)=>{t.d(r,{A:()=>d});var s=t(95155),a=t(12115),l=t(88061),n=t(77979),i=t(68947);let o=e=>{let{children:r,className:t}=e;return(0,s.jsx)("div",{className:(0,n.cn)("bg-grayscale-100 shadow-6 fixed top-0 z-[21] rounded-none","sm:rounded-16 sm:left-1/2 sm:top-1/2 sm:-translate-x-1/2 sm:-translate-y-1/2","h-full w-full sm:h-auto sm:w-auto",t),children:r})},c=e=>{let{onClose:r}=e;return(0,s.jsx)("div",{className:"bg-modal-back fixed left-0 top-0 z-[21] h-full w-full",onClick:r})};function d(e){let{className:r,modalKey:t,...n}=e,d=(0,a.useRef)(null),{setCloseModal:u,isOpen:x}=(0,i.A)();(0,a.useEffect)(()=>{let e=document.activeElement;return d.current&&d.current.focus(),()=>{null==e||e.focus()}},[]);let m=()=>{u(t),n.onClose()};return((0,a.useEffect)(()=>{let e=e=>{"Escape"===e.key&&m()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[u,n.onClose]),(0,a.useEffect)(()=>{let e=window.scrollY;return document.body.style.cssText="\n      position: fixed;\n      top: -".concat(e,"px;\n      overflow: hidden;\n      width: 100%;\n    "),()=>{let e=-1*parseInt(document.body.style.top||"0",10);document.body.style.cssText="",window.scrollTo(0,e)}},[]),x(t))?(0,s.jsxs)(l.A,{children:[(0,s.jsx)(c,{onClose:m}),(0,s.jsxs)(o,{className:r,onClose:m,children:[(0,s.jsx)("span",{ref:d,tabIndex:-1,
1className:"outline-none"}),n.children]})]}):null}},49774:(e,r,t)=>{t.d(r,{A:()=>n});var s=t(95155),a=t(68947),l=t(12115);function n(e){let{children:r,modalKey:t}=e,{setOpenModal:n}=(0,a.A)();return(0,l.useEffect)(()=>{n(t)},[]),(0,s.jsx)(s.Fragment,{children:r})}},51464:(e,r,t)=>{t.d(r,{A:()=>c});var s=t(95155),a=t(94325),l=t(37790),n=t(46939),i=t(77979),o=t(68947);function c(e){let{title:r,children:t,onClose:c,modalKey:d,headerClassName:u,titleClassName:x,hasBottomBorder:m=!1,className:h}=e,{isOpen:p,setCloseModal:y}=(0,o.A)();return p(d)?(0,s.jsxs)(n.A,{modalKey:d,onClose:c,className:(0,i.cn)("sm:max-h-[calc(100vh-24px)] sm:max-w-full sm:animate-none","p-0",p(d)?"animate-slide-up":"animate-slide-down",h),children:[r&&(0,s.jsxs)("div",{className:(0,i.cn)("flex h-48 items-center px-16 pb-24 pt-24 sm:pb-0 sm:pt-16","sm:justify-center","border-b",m?"sm:border-b-1":"sm:border-none",u),children:[(0,s.jsx)("div",{className:"flex items-center gap-8 sm:hidden",children:(0,s.jsx)(a.A,{icon:(0,s.jsx)(l.A,{}),size:"lg",onClick:e=>{e.stopPropagation(),y(d),c()},disabled:!1})}),(0,s.jsx)("span",{className:(0,i.cn)("body-mlg-semibold",x),children:r})]}),(0,s.jsx)("div",{children:t})]}):null}},58298:(e,r,t)=>{t.d(r,{A:()=>a});var s=t(95155);function a(){return(0,s.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M8 10.1999V7.99988M8 5.79988H8.0055M13.5 7.99988C13.5 11.0374 11.0376 13.4999 8 13.4999C4.96243 13.4999 2.5 11.0374 2.5 7.99988C2.5 4.96231 4.96243 2.49988 8 2.49988C11.0376 2.49988 13.5 4.96231 13.5 7.99988Z",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})})}},58358:(e,r,t)=>{t.d(r,{A:()=>i});var s=t(95155),a=t(23934),l=t(12115),n=t(69927);function i(e){let{children:r,onClose:t}=e,{isPhoneVerified:i,session:o}=(0,a.useSigninUserStore)(),[c,d]=(0,l.useState)(!0),[u,x]=(0,l.useState)(!1),m=(0,l.useRef)(u),[h,p]=(0,l.useState)(!1);(0,l.useEffect)(()=>{o?(d(!1),x(i),i||p(!0)):(d(!1),x(!1))},[i,o]);let y=()=>{p(!1),null==t||t(m.current)};if(!c)return u?(0,s.jsx)(s.Fragment,{children:r}):(0,s.jsx)(n.A,{isOpen:h,onClose:y,onSuccess:()=>{x(!0),m.current=!0},onError:y})}},62442:(e,r,t)=>{t.d(r,{A:()=>a});var s=t(95155);function a(){return(0,s.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M12.4001 4.6416L6.3501 10.6916L3.6001 7.9416",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})})}},65363:(e,r,t)=>{t.d(r,{A:()=>a});var s=t(95155);function a(){return(0,s.jsxs)("svg",{"aria-hidden":"true",className:"fill-primary-1 size-32 animate-spin text-gray-200",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})}},68947:(e,r,t)=>{t.d(r,{A:()=>s});let s=(0,t(34854).vt)((e,r)=>({modals:{},setOpenModal:r=>e(e=>({modals:{...e.modals,[r]:!0}})),setCloseModal:r=>e(e=>({modals:{...e.modals,[r]:!1}})),closeAllModals:()=>e(()=>({modals:{}})),isOpen:e=>r().modals[e]||!1}))},69927:(e,r,t)=>{t.d(r,{A:()=>A});var s=t(73699),a=t(95155),l=t(45570),n=t(94325),i=t(16501),o=t(95661),c=t(7606),d=t(87606),u=t(26383),x=t(52619),m=t.n(x),h=t(43970),p=t(8204),y=t(97179),f=t(54354),g=t(23934),v=t(4280),b=t(94749);function j(){let e=(0,s._)(["\n  mutation UpdateMemberIdentityVerification($identityVerificationId: String!) {\n    updateMemberIdentityVerification(\n      memberIdentityVerificationRequestInput: { identityVerificationId: $identityVerificationId }\n    ) {\n      ...AuthUserMemberFields\n    }\n  }\n  ","\n"]);return j=function(){return e},e}let w=(0,c.J1)(j(),h.W);function A(e){let{isOpen:r,onClose:t,isMyPage:s=!1,onSuccess:c,onError:x}=e,{updateMemberInfo:h}=(0,g.useSigninUserStore)(),[j]=(0,d.n)(w),A=async()=>{try{let e,r="identity-verification-".concat((0,y.lk)());try{e=await p.R1({storeId:f.Cm,identityVerificationId:r,channelKe
1y:f.iV})}catch(t){document.cookie="phoneVerificationRedirectUrl=".concat(encodeURIComponent(window.location.href),"; path=/"),e=await p.R1({storeId:f.Cm,identityVerificationId:r,channelKey:f.iV,redirectUrl:"".concat(window.location.origin,"/my/account/update-phone")})}if((null==e?void 0:e.code)!=null)return void u.oR.error("실패","전화번호 인증에 실패했습니다.");let t=await j({variables:{identityVerificationId:r}});h(t.data.updateMemberIdentityVerification),u.oR.success("성공","전화번호 인증이 완료되었습니다."),null==c||c()}catch(e){u.oR.error("실패","전화번호 인증에 실패했습니다."),console.error(e),null==x||x()}finally{t()}};return r?(0,a.jsx)(b.RoleGuard,{roles:[v._.USER],isRedirect:!0,isLoadingDisplay:!1,children:(0,a.jsxs)(i.A,{onClose:t,className:"w-full max-w-md px-20 py-32 md:px-40 md:py-48",children:[(0,a.jsx)("div",{className:"absolute right-0 top-0 flex w-full justify-end",children:(0,a.jsx)(n.A,{icon:(0,a.jsx)(o.A,{}),onClick:t,size:"xl",disabled:!1})}),(0,a.jsxs)("div",{className:"flex flex-col gap-24 md:gap-40",children:[(0,a.jsxs)("section",{className:"flex flex-col gap-16",children:[(0,a.jsx)("h1",{className:"heading-md text-center",children:s?"전화번호 인증":"서비스 이용 본인인증"}),!s&&(0,a.jsx)("p",{className:"body-md-regular text-grayscale-50 text-center",children:"서비스를 이용하려면 본인 인증이 필요합니다."}),(0,a.jsxs)("div",{className:"body-sm-regular text-grayscale-30 text-center",children:["휴대폰번호 수집에 대한",(0,a.jsx)("br",{}),(0,a.jsx)(m(),{href:f.iL,className:"text-alternative-blue1",target:"_blank",rel:"noopener noreferrer",children:"개인정보 제공동의"})," ","수취에 동의합니다."]})]}),(0,a.jsx)("section",{children:(0,a.jsxs)("div",{className:"flex justify-center gap-16",children:[(0,a.jsx)(l.default,{label:"취소",type:"tertiary",style:"outline",size:"md",onClick:t,className:"w-full"}),(0,a.jsx)(l.default,{label:"본인인증",type:"primary",style:"filled",size:"md",onClick:()=>{A()},className:"w-full"})]})})]})]})}):null}},80082:(e,r,t)=>{t.d(r,{e:()=>i});var s=t(95155),a=t(15239),l=t(44796);let n={"2xl":"size-[100px]",xl:"size-80",lg:"size-64",md:"size-48",mi:"size-40",sm:"size-32",xs:"size-24"},i=e=>{let{size:r,url:t,alt:i}=e;return(0,s.jsxs)("div",{className:"".concat(n[r]," rounded-circle bg-grayscale-100 relative flex flex-shrink-0 items-center justify-center overflow-hidden"),children:[t?(0,s.jsx)(a.default,{src:t,className:"object-cover",alt:i||"avatar_img",fill:!0}):(0,s.jsx)(a.default,{src:l.default,className:"object-cover",alt:i||"default_avatar",fill:!0,sizes:r}),(0,s.jsx)("div",{className:"".concat(n[r]," border-divide-1 rounded-circle relative border")})]})}},85751:(e,r,t)=>{t.d(r,{p:()=>o});var s=t(95155);function a(){return(0,s.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M9.65 6.34988L6.35 9.64988M6.35 6.34988L9.65 9.64988M13.5 7.99988C13.5 11.0374 11.0376 13.4999 8 13.4999C4.96243 13.4999 2.5 11.0374 2.5 7.99988C2.5 4.96231 4.96243 2.49988 8 2.49988C11.0376 2.49988 13.5 4.96231 13.5 7.99988Z",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})})}var l=t(62442),n=t(58298);let i={default:"text-grayscale-10",success:"text-alternative-green",error:"text-error-1",info:"text-grayscale-50",required:"text-grayscale-50"},o=e=>{let{helpMessage:r,helpMessageType:t="default",className:o}=e;return(0,s.jsxs)("div",{className:"body-2xs-regular flex items-start gap-4 ".concat(i[t]," ").concat(o),children:["default"!==t&&("error"===t?(0,s.jsx)(a,{}):"success"===t?(0,s.jsx)(l.A,{}):(0,s.jsx)(n.A,{})),(0,s.jsx)("div",{children:r})]})}},86214:(e,r,t)=>{t.d(r,{Ek:()=>l,GO:()=>i,I7:()=>n,zW:()=>a});var s=t(5874);let a=(0,s.DY)("chat",{myChatRoomList:()=>({queryKey:["myChatRoomList"]}),chatRoomParticipants:e=>({queryKey:["chatRoomParticipants",e]}),checkChatRoomPermission:e=>({queryKey:["checkChatRoomPermission",e]}),getChatRoomData:e=>({queryKey:["getChatRoomData",e]}
1),checkChatRoomExistence:e=>({queryKey:["checkChatRoomExistence",e]}),checkLabParticipation:(e,r)=>({queryKey:["checkLabParticipation",e,r]})}),l=(0,s.DY)("momos",{myMomoRole:(e,r)=>({queryKey:["myMomoRole",e,r]}),postIntroByTags:e=>({queryKey:["postIntroByTags",e]}),invitationByCode:e=>({queryKey:["invitationByCode",e]}),myInvitations:e=>({queryKey:["myInvitations",e]}),invitationUsageInfoPublishedByMe:(e,r)=>({queryKey:["invitationUsageInfoPublishedByMe",e,r]}),myCommunityParticipationInfo:()=>({queryKey:["myCommunityParticipationInfo"]}),checkPayableMomoPermission:()=>({queryKey:["checkPayableMomoPermission"]}),paidMomoParticipantDetailByOrderId:e=>({queryKey:["paidMomoParticipantDetailByOrderId",e]})}),n=(0,s.DY)("myPage",{getMyBootcampApplicationFormList:(e,r)=>({queryKey:["getMyBootcampApplicationFormList",e,r]}),getMyBootcampApplicationFormDetail:e=>({queryKey:["getMyBootcampApplicationFormDetail",e]}),getLabTitle:e=>({queryKey:["getLabTitle",e]}),getLabCertificateInfo:(e,r)=>({queryKey:["getLabCertificateInfo",e,r]}),getMySettlementInfo:()=>({queryKey:["getMySettlementInfo"]}),getBankCodes:()=>({queryKey:["getBankCodes"]}),checkPayableMomoPermission:()=>({queryKey:["checkPayableMomoPermission"]})}),i=(0,s.DY)("lab",{checkLabParticipation:(e,r)=>({queryKey:["participantByLabIdAndMemberId",e,r]})})},89903:(e,r,t)=>{t.d(r,{A:()=>u});var s=t(95155),a=t(85751),l=t(23218),n=t(77979),i=t(63458),o=t(12115);let c=(0,i.F)(["flex flex-col w-full bg-grayscale-95 transition rounded-4 border border-transparent","hover:bg-grayscale-80 focus-within:border-1 focus-within:border-grayscale-1","[&>textarea]:bg-transparent [&>textarea]:resize-none [&>textarea]:h-full [&>textarea]:outline-none [&>textarea]:px-16 [&>textarea]:pt-12","[&>.charcountdiv]:body-2xs-medium [&>.charcountdiv]:text-grayscale-60 [&>.charcountdiv]:text-right [&>.charcountdiv]:px-16 [&>.charcountdiv]:pb-12 [&>.charcountdiv]:w-full"],{variants:{size:{md:"[&>textarea]:body-md-regular placeholder:[&>textarea]:body-md-regular",sm:"[&>textarea]:body-sm-regular placeholder:[&>textarea]:body-sm-regular"},type:{normal:"bg-grayscale-95 [&>textarea]:text-primary placeholder:[&>textarea]:text-tertiary hover:[&>textarea]:placeholder-icon-interactive-tertiary-hovered active:[&>textarea]:placeholder-icon-interactive-tertiary-pressed",error:"border-error-1 bg-error-2 text-error-1 placeholder:[&>textarea]:text-error-1",disabled:"border-disabled bg-disabled placeholder:[&>textarea]:text-disabled"},readOnly:{true:"[&>textarea]:cursor-not-allowed",false:""}},defaultVariants:{size:"md",type:"normal",readOnly:!1}}),d=(0,o.forwardRef)((e,r)=>{let{size:t="md",type:i="normal",label:d,required:u=!1,placeHolder:x,helpMessage:m,helpMessageType:h="default",maxLength:p=300,height:y="600px",value:f="",readOnly:g=!1,onChange:v,...b}=e,[j,w]=(0,o.useState)(!1);return(0,s.jsxs)("div",{className:"flex w-full flex-col gap-6",children:[d&&(0,s.jsx)(l.D,{label:d,isRequired:u}),(0,s.jsxs)("div",{className:(0,n.cn)(c({size:t,type:i,readOnly:g})),style:{height:y},children:[(0,s.jsx)("textarea",{ref:r,readOnly:g,placeholder:x,value:f,onChange:e=>{g||(w(!0),v(e))},onBlur:()=>w(!1),onFocus:()=>w(!0),maxLength:p,className:"h-full w-full overflow-y-auto",...b}),(0,s.jsx)("div",{className:"h-4"}),!g&&(0,s.jsxs)("div",{className:"charcountdiv",children:[(0,s.jsx)("span",{className:"normal"===i&&(null==f?void 0:f.length)>0?"text-grayscale-20":"",children:(null==f?void 0:f.length)||0}),"/",p]})]}),m&&(0,s.jsx)(a.p,{helpMessage:m,helpMessageType:"error"===i?"error":h})]})});d.displayName="TextArea";let u=d},94749:(e,r,t)=>{t.d(r,{RoleGuard:()=>c});var s=t(95155),a=t(12115),l=t(65227);function n(e){let{children:r,isPage:t}=e,l=(0,a.useMemo)(()=>r||(t?(0,s.jsxs)("div",{className:"flex h-screen flex-col items-center justify-center gap-4",children:[(0,s.jsx)("h1",{className:"text-6xl text-red-600",children:"403 - 권한 없음"}),(0,s.jsx)("p",{className:"text-2xl text-gray-600",children:"이 페이지에 접근할 권한이 없습니다."}),(0,s.jsx)("button",{className:"bg-error-1 mt-5 rounded-lg px-6 py-3 text-lg text-white hover:bg-blue-600 focus:outline-none",children:"이전 페이지로 돌아가기"})]}):(0,s.jsxs)("div",{className:"flex h-screen flex-col items-center justify-center gap-4",children:[(0,s.jsx)("h1",{className:"text-6xl text-red-600",children:"권한 없음"}),(0,s.jsx)("p",{className:"text-2xl text-gray-600",children:"접근할 권한이 없습니다."})]})),[r,t]);return(0,s.jsx)(s.Fragment,{children:l})}var i=t(23934),o=t(20063);let c=e=>{let{roles:r,children:t,isRedirect:c,isLoadingDisplay:d,fallback:u}=e;console.log(r,c,d);let{loadingStatus:x,hasAnyRole:m,getSigninUrl:h}=(0,i.useSigninUserStore)(),p=(0,o.useRouter)(),y="success"===x,f=m(r);if((0,a.useEffect)(()=>{y&&!f&&c&&p.push(h())},[y,f,c,p,h]),"loading"===x)return d?(0,s.jsx)(l.A,{}):null;if(y){if(!f)if(c)return d?(0,s.jsx)(l.A,{}):null;else return u||(0,s.jsx)(n,{isPage:!1});return t}return null}},95661:(e,r,t)=>{t.d(r,{A:()=>a});var s=t(95155);function a(){return(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M18 6L6 18M6 6L18 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}}}]);

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.