PageSourceSearch

https://assets.cdn.soomgo.com/vite/f018120/assets/client-bundle.C0E7_J9s.js

js soomgo.com collected 2026-09-24 08:48:36 UTC 307,973 bytes, 31 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/client-bundle.CIPUEWGT.js","assets/client-bundle.DLByH8uv.js","assets/client-bundle.D7Ag__zM.js","assets/client-bundle.Bwnu-XVO.js","assets/client-bundle._izUXx5g.js","assets/client-bundle.DnJxGJ4T.js","assets/client-bundle.Bsbwk8zn.js","assets/kmlm-WiP.css","assets/client-bundle.BxJJB_ds.js","assets/client-bundle.XVbm-KBR.js","assets/client-bundle.htQzhxg8.js","assets/client-bundle.D0UlY1fq.js","assets/client-bundle.Bn7J11Xw.js","assets/client-bundle.CYgD30nS.js","assets/client-bundle.Cj9orOJ4.js","assets/client-bundle.BFyg3NbL.js","assets/client-bundle.Jpp6dePv.js","assets/client-bundle.-zogajTh.js","assets/client-bundle.BPaz5izT.js","assets/client-bundle.CfvRnJ0h.js","assets/client-bundle.B5fIhjfb.js","assets/client-bundle.DkYt4mow.js","assets/client-bundle.BAY3GtYR.js","assets/client-bundle.CfyBYOeV.js","assets/client-bundle.BGkTtaWy.js","assets/client-bundle.BoytYTyt.js","assets/mISQ-As8.css","assets/client-bundle.CHv0UpgH.js","assets/Bl9z2WWj.css","assets/client-bundle.DqHa2PlB.js","assets/eNFA_25D.css","assets/DINdLaoi.css","assets/client-bundle.GbVf3lcC.js","assets/BF9hz_1p.css","assets/client-bundle.CRMfwDD0.js","assets/yJkFxSp-.css"])))=>i.map(i=>d[i]);
2var Qa=Object.defineProperty;var s=(n,e)=>Qa(n,"name",{value:e,configurable:!0});import{e as Ya,a as Xa,b as bs,o as Ja,x as eo}from"./client-bundle.B5fIhjfb.js";import{P as u,E as f,W as E,M as X,R as to,b as oa}from"./client-bundle.BxJJB_ds.js";import{V as p}from"./client-bundle.Bwnu-XVO.js";import{C as c,m as V}from"./client-bundle.XVbm-KBR.js";import{i as ri}from"./client-bundle.D0D77vJ4.js";import{n as d,u as g,t as l,aF as O,cs as ro,ct as io,cu as me,l as _,cv as Bs,cp as Z,cw as ii,a7 as D,cx as so,au as na,p as T,cy as ao,cz as R,j as N,b_ as S,cA as oo,k as Ps,U as br,cB as no,cC as lo,o as tr,cD as uo,aP as la,aM as Br,cE as w,cF as ua,a4 as K,cG as M,cH as co,cI as po,af as Hi,cJ as Ks,cK as As,a6 as Gr,cL as Ds,cM as Co,cN as fo,cO as mo,cP as Ws,cQ as ho,cR as vo,m as Pr,bT as ca,bU as da,cS as Qs,cT as _o,q as go,P as Vr,cU as Ys,cV as yo,cW as Xs,cX as bo,cY as pa,M as L,cZ as Yi,c_ as Ki,c$ as Js,bN as Bo,d0 as Po,bK as Ao,d1 as Do,d2 as wo,d3 as Io,ck as Ca,c7 as $o,d4 as fa,d5 as se,d6 as ea,d7 as Mo,d8 as fe,aV as So,be as xo}from"./client-bundle.htQzhxg8.js";import{T as m,n as y,h as ws,j as ta,d as Eo}from"./client-bundle.DLByH8uv.js";import To from"./client-bundle.EcaX8dXu.js";import{S as U}from"./client-bundle.DWc8A4w6.js";import{S as Ii}from"./client-bundle.jecStZ9V.js";import{B as Ur}from"./client-bundle.CB6flfwz.js";import{h as Fo,P as Lo}from"./client-bundle.DcgthnYJ.js";import{L as Is,_ as Ro}from"./client-bundle._qKZsn3I.js";import{U as ma}from"./client-bundle.jgGKU4Hb.js";import{T as Oo}from"./client-bundle.PLfM4fRl.js";import{D as No,a as ha,b as ko}from"./client-bundle.1inUxtNH.js";import{S as va}from"./client-bundle.QYQjcRfo.js";import{G as $i}from"./client-bundle.B7_jXUY7.js";import{C as jo}from"./client-bundle.BhURdx9w.js";import Mi from"./client-bundle.D43BXny7.js";import{M as _a}from"./client-bundle.K0LfgROh.js";import{P as zo}from"./client-bundle.Cko9Hm0I.js";import{I as Go,N as Vo,P as Uo,a as qo}from"./client-bundle.DYwjw0rZ.js";import{_ as Zo}from"./client-bundle.DhA_ay-v.js";import{_ as $s}from"./client-bundle.DnJxGJ4T.js";import{M as Ho,a as Ko,B as qr}from"./client-bundle.Ikeptck1.js";import{P as Wo,a as ga}from"./client-bundle.6m9xf5eh.js";import{I as Ms}from"./client-bundle.CDIq_MoA.js";import{T as Qo,F as Yo}from"./client-bundle.TibE2Vx8.js";import{F as Xo,a as Jo}from"./client-bundle.DOTX2Erp.js";import{T as en}from"./client-bundle.d38NEy1r.js";import{P as Zr}from"./client-bundle.AtzoLu91.js";import{R as ya}from"./client-bundle.C4lo-9lR.js";import{P as tn}from"./client-bundle.DqHa2PlB.js";import{C as rn}from"./client-bundle.D2vbT071.js";import sn from"./client-bundle.CwYX3Xxp.js";import an from"./client-bundle.B0irEJ0z.js";import on from"./client-bundle.O_Mai2i1.js";import{L as Wi}from"./client-bundle.C8u2-HHO.js";import{B as nn}from"./client-bundle.DTQ6SRxr.js";import ln from"./client-bundle.CHc0Oh2a.js";import{P as un}from"./client-bundle.C_X9_q0F.js";
2import cn from"./client-bundle.B8QEPET0.js";import{C as dn}from"./client-bundle._l6C7-_a.js";import{R as pn}from"./client-bundle.CMm0QofS.js";import{S as Cn}from"./client-bundle.1sP3-nG1.js";import{P as fn,T as mn,S as hn,a as vn}from"./client-bundle.C2rZ2fhq.js";import{L as _n}from"./client-bundle.BPPEvLpq.js";import{I as gn}from"./client-bundle.Cp1bu1JX.js";import{C as yn}from"./client-bundle.BZgBs8u0.js";import{C as bn}from"./client-bundle.zFYqyHv4.js";import Bn from"./client-bundle.pHUrjBPs.js";import{L as Pn}from"./client-bundle.DW1HtBvU.js";import{M as An}from"./client-bundle.DUerLRfD.js";import Dn from"./client-bundle.Ct9EmngT.js";import{P as wn}from"./client-bundle.CJhy-V5t.js";import{S as Qi}from"./client-bundle.VOX9r2_9.js";import"./client-bundle._izUXx5g.js";import"./client-bundle.Bsbwk8zn.js";import"./client-bundle.D0UlY1fq.js";import"./client-bundle.Bn7J11Xw.js";import"./client-bundle.CYgD30nS.js";import"./client-bundle.Cj9orOJ4.js";import"./client-bundle.BFyg3NbL.js";import"./client-bundle.Jpp6dePv.js";import"./client-bundle.-zogajTh.js";import"./client-bundle.BPaz5izT.js";import"./client-bundle.CfvRnJ0h.js";import"./client-bundle.DkYt4mow.js";import"./client-bundle.BAY3GtYR.js";import"./client-bundle.CfyBYOeV.js";import"./client-bundle.BGkTtaWy.js";import"./client-bundle.BoytYTyt.js";import"./client-bundle.D7Ag__zM.js";import"./client-bundle.CYHF1Rhr.js";import"./client-bundle.CmPxABx7.js";import"./client-bundle.B4FxTaJG.js";import"./client-bundle.D5SQ3Doz.js";import"./client-bundle.DdMPivj1.js";import"./client-bundle.kUmjhezw.js";import"./client-bundle.BrXC9va0.js";import"./client-bundle.DrzCIMue.js";import"./client-bundle.BoGphBKn.js";import"./client-bundle.Dvz11n5E.js";import"./client-bundle.CzGvBoLL.js";import"./client-bundle.zul6K3nY.js";import"./client-bundle.BD2754DE.js";import"./client-bundle.LCuN40Sv.js";import"./client-bundle.CQZZwpe8.js";import"./client-bundle.CB39ogAt.js";import"./client-bundle.cdud7Mn9.js";import"./client-bundle.DLnMekJU.js";import"./client-bundle.D9_IMilV.js";import"./client-bundle.CjTo69fi.js";import"./client-bundle.CaWiedZl.js";import"./client-bundle.BuNz-D8V.js";import"./client-bundle.BH9gg8MJ.js";import"./client-bundle.BCtzlr6A.js";import"./client-bundle.B4tXDgRg.js";import"./client-bundle.v_WzZQiO.js";import"./client-bundle.CF5VUUhC.js";import"./client-bundle.kitBAWYz.js";import"./client-bundle.CgqMNP3Z.js";import"./client-bundle.Dw3n7qxe.js";import"./client-bundle.HvM2s-Xp.js";import"./client-bundle.CjkB6Iug.js";import"./client-bundle.IiHIO7lv.js";import"./client-bundle.hLTVo-zM.js";import"./client-bundle.buZjf6wN.js";import"./client-bundle.CuLNsPkb.js";import"./client-bundle.BNmTM6ok.js";import"./client-bundle.DwCa1RYt.js";import"./client-bundle.CNa9PmEm.js";import"./client-bundle.GUfkIgxO.js";import"./client-bundle.C-AuiAyr.js";import"./client-bundle.Cy4SFjBK.js";import"./client-bundle.Ch4fjwCJ.js";const In=["facebook","instagram","twitter","blog","naverpost","tistory","kakao","link"];var $n=Object.defineProperty,Mn=Object.getOwnPropertyDescriptor,Hr=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Mn(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&$n(e,t,i),i},"__decorateClass$1s"),he;let oe=(he=class extends p{get buttonGap(){return`gap-${this.gap}`}getIconName(e){return e==="link"?"link_outlined":e==="kakao"?"social_kakao_message":`social_${e}`}getIconCategory(e){return e==="link"?"communication":"socialMedia"}onClick(e){return e}},s(he,"SocialLink"),he);Hr([u({default:s(()=>In,"default")})],oe.prototype,"links",2);Hr([u({type:Number,default:40})],oe.prototype,"size",2);Hr([u({type:Number,default:8})],oe.prototype,"gap",2);Hr([f("click")],oe.prototype,"onClick",1);oe=Hr([c],oe);var Sn=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{class:["social-link-buttons",e.buttonGap]},e._l(e.links,function(r){return t("button",{key:r,style:{width:`${e.size}px`,height:`${e.size}px`},attrs:{type:"button"},on:{click:s(function(i){return e.onClick(r)},"click")}},[t("PrismaIcon",{attrs:{name:e.getIconName(r),category:e.getIconCategory(r)}})],1)}),0)},"render"),xn=[],En=d(oe,Sn,xn,!1,null,"56ad005c");const Tn=En.exports;var Fn=Object.defineProperty,Ln=Object.getOwnPropertyDescriptor,Rn=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Ln(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Fn(e,t,i),i},"__decorateClass$1r"),ve;let Xi=(ve=class extends p{get me(){return g.me}get myProfile(){return l.profile}get reviewCount(){return this.myProfile.reviewCount}get inputUrl(){return this.$getBaseUrl(`external-review/users/${this.me.id}`)}get guestReviewScrapInfo(){return{title:`${this.myProfile.nickName} 고수님에게 리뷰를 남겨주세요!`,imageUrl:this.myProfile.profileImgUrl.url,providerUserId:String(this.me.id)}}get socialLinks(){return["link","kakao"]}track(e){m.Click_Review_Link_Copy_Button({provider_user_id:this.me.id,review_count:this.reviewCount,sns_type:e,location:"profile"})}handleGuideModalOpen(){this.$showModal({name:"externalReviewGuide"}),m.pro_outside_review_guide_click({review_count:this.reviewCount})}async handleLinkShare(){try{await navigator.clipboard.writeText(this.inputUrl),this.$prismaToast.pop({type:"message",text:"리뷰 요청 링크를 복사했습니다",state:"default"}),this.track("web_link")}catch{return}}async handleKakaoShare(){this.track("kakao");try{await ri.sendGuestReviewScrap({url:this.inputUrl,templateArgs:this.guestReviewScrapInfo})}catch{return}}handleSocialLinkClick(e){e==="link"?this.handleLinkShare():this.handleKakaoShare()}beforeMount(){ri.init()}},s(ve,"MyProfileRequestReview"),ve);Xi=Rn([c({components:{SocialLink:Tn}})],Xi);var On=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"my-profile-request-review"},[t("div",{staticClass:"main-contents"},[t("img",{attrs:{src:To,height:64,width:64}}),t("div",{staticClass:"contents-wrapper"},[t("div",{staticClass:"text-wrapper"},[t("Typography",{attrs:{variant:"headline2",as:"h5"}},[e._v("아직 리뷰가 하나도 없다면?")]),t("Typography",{attrs:{as:"p"}},[e._v("숨고 내부/외부에서 서비스를 제공 받은 고객 최대 3명에게 간편하게 리뷰를 요청해 보세요")])],1),t("button",{staticClass:"more",on:{click:e.handleGuideModalOpen}},[t("Typography",{attrs:{color:"blue"}},[e._v("자세히 보기")]),t("PrismaIcon",{attrs:{name:"chevron_right_outlined",color:"blue",size:14}})],1)])]),t("hr",{staticClass:"divider"}),t("div",{staticClass:"sub-contents"},[t("Typography",{staticClass:"desc",attrs:{as:"p",variant:"body3:medium"}},[e._v("카카오톡, 문자 메시지 등으로 공유해 보세요")]),t("SocialLink",{attrs:{gap:12,size:40,links:e.socialLinks},on:{click:e.handleSocialLinkClick}})],1)])},"render"),Nn=[],kn=d(Xi,On,Nn,!1,null,"2750ad75");const ba=kn.exports;var jn=Object.defineProperty,zn=Object.getOwnPropertyDescriptor,Kr=s((n,e,t,r)=>{for(var i=r>1?void 0:r?zn(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&jn(e,t,i),i},"__decorateClass$1q"),_e;let ne=(_e=class extends p{constructor(){super(...arguments),this.currentSlideIndex=0,this.slickId=1}onChangeFillInfo(){this.currentSlideIndex=0}onChangeCanReward(){this.showModalOnLoaded()}onChangeSteps(){this.slickId+=1}get isAside(){return this.at==="aside"}get slickOptions(){return{arrows:!1,dots:!1,infinite:!0,slidesToShow:1,slidesToScroll:1,autoplay:!0}}get me(){return g.me}get modalStates(){return O.modal}get myProfile(){return l.profile}get fillInfo(){return this.myProfile.fillInfo}get fillRate(){return this.fillInfo.fillRate||0}get requiredFillItemsScore(){return this.fillInfo.requiredFillItemsScore}get isFull(){return this.fillRate===100}get canReward(){return this.myProfile.reward.profileGamification.isTarget}get rewardCash(){return this.myProfile.reward.profileGamification.cash}get steps(){var e;return(e=this.fillInfo)!=null&&e.notFillItems?this.isFull?ro.map(t=>({message:t})):this.fillInfo.notFillItems.reduce((t,r)=>{const i=io[r];if(!i)return t;const{button:a,message:o}=i,C=this.requiredFillItemsScore[r];return[...t,{name:r,message:o,buttonText:a,score:C}]},[]):[]}get currentStep(){return this.steps[this.currentSlideIndex]}get currentStepScore(){return this.currentStep.score}get currentStepButtonText(){return this.currentStep.buttonText||""}get storageKey(){return`${this.me.id}_isShowGamificationRewardModal`}handlePrevClick(){this.$refs.slick.prev()}handleNextClick(){this.$refs.slick.next()}handleDotClick(e){this.$refs.slick.goTo(e)}onBeforeChange(e,t){this.currentSlideIndex=t}showModalOnLoaded(){}},s(_e,"MyProfileGamificationTip"),_e);Kr([u({type:String,default:"aside"})],ne.prototype,"at",2);Kr([E("fillInfo")],ne.prototype,"onChangeFillInfo",1);Kr([E("canReward",{immediate:!0})],ne.prototype,"onChangeCanReward",1);Kr([E("steps")],ne.prototype,"onChangeSteps",1);ne=Kr([c({components:{Slick:Ii,SvgIcon:U}})],ne);var Gn=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"my-profile-gamification"},[e.isAside?[t("h5",{staticClass:"tip-title"},[t("PrismaIcon",{attrs:{name:"lightbulb_outlined",color:"purple",size:16}}),e._v(" 숨고 고수 Tip ")],1)]:[t("h5",{class:["tip-title","full"]},[t("PrismaIcon",{attrs:{name:"lightbulb_outlined",color:"purple",size:16}}),e._v("숨고 고수 Tip ")],1)],e.steps.length?t("div",{staticClass:"slick-container"},[t("Slick",{key:e.slickId,ref:"slick",attrs:{options:e.slickOptions},on:{beforeChange:e.onBeforeChange}},e._l(e.steps,function(r,i){return t("div",{key:i},[r.score&&e.isAside?t("span",{staticClass:"score-badge"},[e._v(" "+e._s(`+${e.currentStepScore}
2%`)+" ")]):e._e(),t("p",{staticClass:"step-message"},[e._v(e._s(r.message))])])}),0),e.isAside?t("div",{staticClass:"arrow-indicator"},[t("button",{on:{click:e.handlePrevClick}},[t("SvgIcon",{attrs:{icon:"icons/icon-provider-pro-profile-previous.svg",height:20,width:20}})],1),t("div",{staticClass:"step-status"},[t("span",{staticClass:"current"},[e._v(e._s(e.currentSlideIndex+1))]),t("span",[e._v("/ "+e._s(e.steps.length))])]),t("button",{on:{click:e.handleNextClick}},[t("SvgIcon",{attrs:{icon:"icons/icon-provider-pro-profile-next.svg",height:20,width:20}})],1)]):t("div",{staticClass:"dot-indicator"},e._l(e.steps,function(r,i){return t("button",{key:i,class:["dot",{active:i===e.currentSlideIndex}],on:{click:s(function(a){return e.handleDotClick(i)},"click")}})}),0)],1):e._e()],2)},"render"),Vn=[],Un=d(ne,Gn,Vn,!1,null,"703a4a4f");const Ba=Un.exports;var qn=Object.defineProperty,Zn=Object.getOwnPropertyDescriptor,Ss=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Zn(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&qn(e,t,i),i},"__decorateClass$1p"),ge;let Ar=(ge=class extends p{},s(ge,"MyProfileAside"),ge);Ss([u({type:Boolean,default:!1})],Ar.prototype,"hideGamification",2);Ss([u({type:Boolean,default:!1})],Ar.prototype,"hideReview",2);Ar=Ss([c({name:"MyProfileAside",components:{MyProfileRequestReview:ba,MyProfileGamificationTip:Ba}})],Ar);var Hn=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("aside",{staticClass:"my-profile-aside"},[e.hideGamification?e._e():t("MyProfileGamificationTip",{on:{click:s(function(r){return e.$emit("focus",r)},"click")}}),e.hideReview?e._e():t("MyProfileRequestReview")],1)},"render"),Kn=[],Wn=d(Ar,Hn,Kn,!1,null,"c3150e4c");const Qn=Wn.exports;var Yn=Object.defineProperty,Xn=Object.getOwnPropertyDescriptor,Jn=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Xn(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Yn(e,t,i),i},"__decorateClass$1o");const el=Array.from({length:8},(n,e)=>e+1).map(n=>`images/profile/img-profile-guide-${n}`);var ye;let Ji=(ye=class extends p{get s3UriArray(){return el}get isIE(){return this.$ua.isIE}onClose(){this.$emit("close")}},s(ye,"ProfileOnboardingModal"),ye);Ji=Jn([c({components:{BottomFixedOneButton:Ur}})],Ji);var tl=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("b-modal",{ref:"modal",attrs:{"modal-class":["profile-onboarding-modal"],scrollable:"",visible:"",centered:"","hide-header":"","no-fade":"","ok-only":"","no-close-on-backdrop":""},on:{hide:e.onClose},scopedSlots:e._u([{key:"modal-footer",fn:s(function(){return[t("BottomFixedOneButton",{staticClass:"cta",attrs:{position:"sticky",variant:"full"},on:{click:e.onClose}},[e._v("프로필 작성하기")])]},"fn"),proxy:!0}])},[t("div",{staticClass:"close-button",attrs:{"data-testid":"close-btn"},on:{click:e.onClose}}),e.s3UriArray?[t("div",{staticClass:"contents-image"},e._l(e.s3UriArray,function(r){return t("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.$getAssetUrl(`${r}.png`),expression:"$getAssetUrl(`${s3Uri}.png`)"}],key:r})}),0)]:e._e()],2)},"render"),rl=[],il=d(Ji,tl,rl,!1,null,"9b8253a0");const sl=il.exports;var al=Object.defineProperty,ol=Object.getOwnPropertyDescriptor,nl=s((n,e,t,r)=>{for(var i=r>1?void 0:r?ol(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&al(e,t,i),i},"__decorateClass$1n"),be;let es=(be=class extends p{get isRouteProChatRoom(){return this.$route.name==="pro-chat-room"}get closeButtonText(){return this.isRouteProChatRoom?"닫기":"나가기"}get continueButtonText(){return this.isRouteProChatRoom?"프로필 작성하기":"계속 작성하기"}onContinue(){this.$emit("continue")}onClose(){this.$emit("close")}},s(be,"ProfileExitPreventingModal"),be);es=nl([c],es);const ll="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQwIiBoZWlnaHQ9Ijc4IiB2aWV3Qm94PSIwIDAgMTQwIDc4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPGRlZnM+CiAgICAgICAgPGxpbmVhckdyYWRpZW50IHgxPSIyMC4wNiUiIHkxPSI1Ny4wODQlIiB4Mj0iOTQuMDQzJSIgeTI9IjU3LjA4NCUiIGlkPSJtN25yODQwZm9hIj4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI0U3RjlGNiIgc3RvcC1vcGFjaXR5PSIuNyIgb2Zmc2V0PSIwJSIvPgogICAgICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjRTdGOUY2IiBzdG9wLW9wYWNpdHk9Ii44IiBvZmZzZXQ9IjQ1LjE2MyUiLz4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI0IyRUVFNyIgb2Zmc2V0PSIxMDAlIi8+CiAgICAgICAgPC9saW5lYXJHcmFkaWVudD4KICAgIDwvZGVmcz4KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPHBhdGggZmlsbD0idXJsKCNtN25yODQwZm9hKSIgZD0iTTM0IDQwLjMzMyAxMDYgMjBsNCA1Ni4zMzNMMzAgNzZ6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0UyRTJFMiIgZD0iTTIwIDQwLjMzM2gyOHYzNkgyMHoiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRTJFMkUyIiBkPSJNMCA3NmgxNDB2MkgweiIvPgogICAgICAgIDxwYXRoIGZpbGw9IiM4MkU0RDciIGQ9Ik05MiAyMGgyOHY1Nkg5MnoiLz4KICAgICAgICA8dGV4dCBmb250LWZhbWlseT0iTm90b1NhbnNLUi1Cb2xkLCBOb3RvIFNhbnMgS1IiIGZvbnQtc2l6ZT0iMTIiIGZvbnQtd2VpZ2h0PSJib2xkIiBsZXR0ZXItc3BhY2luZz0iLS4yNTciIGZpbGw9IiMwMEJCQTUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDg3KSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRzcGFuIHg9IjAiIHk9IjE0Ij4rIDE1JTwvdHNwYW4+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RleHQ+CiAgICA8L2c+Cjwvc3ZnPgo=",ul="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQwIiBoZWlnaHQ9Ijc4IiB2aWV3Qm94PSIwIDAgMTQwIDc4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPGRlZnM+CiAgICAgICAgPGxpbmVhckdyYWRpZW50IHgxPSIyMC4wNiUiIHkxPSI1Ny4wODQlIiB4Mj0iOTQuMDQzJSIgeTI9IjU3LjA4NCUiIGlkPSJ1dnRsZHRjMjZhIj4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI0U3RjlGNiIgc3RvcC1vcGFjaXR5PSIuNyIgb2Zmc2V0PSIwJSIvPgogICAgICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjRTdGOUY2IiBzdG9wLW9wYWNpdHk9Ii44IiBvZmZzZXQ9IjQ1LjE2MyUiLz4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI0IyRUVFNyIgb2Zmc2V0PSIxMDAlIi8+CiAgICAgICAgPC9saW5lYXJHcmFkaWVudD4KICAgIDwvZGVmcz4KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTS01MTUtNDU1SDY1NVY1NzVILTUxNXoiLz4KICAgICAgICA8cGF0aCBkPSJNLTQxNSAxNmg2MTZ2MWgtNjE2eiIgZmlsbD0iI0YyRjJGMiIvPgogICAgICAgIDx0ZXh0IHRyYW5zZm9ybT0idHJhbnNsYXRlKC00MTUgNDApIiBmaWxsPSIjNzM3MzczIiBmb250LWZhbWlseT0iTm90b1NhbnNDSktrci1SZWd1bGFyLCBOb3RvIFNhbnMgQ0pLIEtSIiBmb250LXNpemU9IjE2IiBsZXR0ZXItc3BhY2luZz0iLS4zIj4K
2ICAgICAgICAgICAgICAgICAgICAgICAgPHRzcGFuIHg9IjAiIHk9IjU0Ij7slYjrhZXtlZjshLjsmpQuIO2PrO2GoOq3uOuemO2NvCDrsJXsp4Dtm4jsnoXri4jri6QuIOyggOuKlCDtkbjrk5ws67ew7YuwLO2UhOuhnO2VhCDrk7Eg64uk7JaR7ZWcIOy5tO2FjOqzoOumrOyXkOyEnCDtmZzrj5ntlZwg6rK9PC90c3Bhbj4KICAgICAgICAgICAgICAgICAgICAgICAgPHRzcGFuIHg9IjAiIHk9IjgyIj7tl5jsnbQg7J6I7Jy866mwIOuLpOyWke2VnCDtgbTrnbzsnbTslrjtirjrk6Tqs7wg7LWc6rOg7J2YIO2SiOyniOydmCDstKzsmIEg6rK97ZeY7J2EIOygnOqztSDtlZjsmIDsirXri4jri6QuPC90c3Bhbj4KICAgICAgICAgICAgICAgICAgICA8L3RleHQ+CiAgICAgICAgPHBhdGggZmlsbC1vcGFjaXR5PSIuNCIgZmlsbD0iIzAwMCIgZD0iTS01MTUtNDU1SDY1NVY1NzVILTUxNXoiLz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTS03MC0xMzVoMjgwdjM5MEgtNzB6Ii8+CiAgICAgICAgICAgIDxwYXRoIGZpbGw9InVybCgjdXZ0bGR0YzI2YSkiIGQ9Im0zNCA1OSA3Mi0zOSA0IDU2LjMzM0wzMCA3NnoiLz4KICAgICAgICAgICAgPHBhdGggZmlsbD0iI0UyRTJFMiIgZD0iTTIwIDU5aDI4djE3LjMzM0gyMHoiLz4KICAgICAgICAgICAgPHBhdGggZmlsbD0iI0UyRTJFMiIgZD0iTTAgNzZoMTQwdjJIMHoiLz4KICAgICAgICAgICAgPHBhdGggZmlsbD0iIzgyRTRENyIgZD0iTTkyIDIwaDI4djU2SDkyeiIvPgogICAgICAgICAgICA8dGV4dCBmb250LWZhbWlseT0iTm90b1NhbnNLUi1Cb2xkLCBOb3RvIFNhbnMgS1IiIGZvbnQtc2l6ZT0iMTIiIGZvbnQtd2VpZ2h0PSJib2xkIiBsZXR0ZXItc3BhY2luZz0iLS4yNTciIGZpbGw9IiMwMEJCQTUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDg3KSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRzcGFuIHg9IjAiIHk9IjE0Ij4yLjXrsLArPC90c3Bhbj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGV4dD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=";var cl=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("b-modal",{ref:"modal",attrs:{"modal-class":"profile-exit-preventing-c-modal","dialog-class":"profile-exit-preventing-c-modal-dialog",centered:"","no-fade":"","hide-header":"","hide-footer":"",visible:"","no-close-on-backdrop":"","no-close-on-esc":""},on:{hide:s(function(r){return r.preventDefault(),e.onClose.apply(null,arguments)},"hide")}},[t("div",[e.isRouteProChatRoom?t("h3",{staticClass:"heading"},[e._v("더 많은 고객 답변을"),t("br"),e._v("받고 싶으신가요?")]):t("h3",{staticClass:"heading"},[e._v("잠깐! 프로필을 완성하면"),t("br"),e._v("고용률이 올라가요")])]),t("div",{staticClass:"image-wrapper"},[e.isRouteProChatRoom?t("img",{attrs:{src:ll,alt:"프로필 완성 시 고용률 증가 그래프"}}):t("img",{attrs:{src:ul,alt:"프로필 완성 시 고용률 증가 그래프"}})]),t("div",[e.isRouteProChatRoom?t("p",{staticClass:"helper-text"},[e._v(" 프로필을 80% 이상 작성하면"),t("br"),e._v("고객 답변률이 "),t("strong",[e._v("15%")]),e._v(" 증가해요. ")]):t("p",{staticClass:"helper-text"},[e._v("프로필을 80% 이상 작성하면"),t("br"),e._v("고용률이 "),t("strong",[e._v("2.5배")]),e._v(" 증가해요.")])]),t("div",{staticClass:"button-wrapper",class:{"test-b":e.isRouteProChatRoom}},[t("b-button",{attrs:{variant:"outline-secondary"},on:{click:e.onClose}},[e._v(e._s(e.closeButtonText))]),t("b-button",{attrs:{variant:"primary"},on:{click:e.onContinue}},[e._v(e._s(e.continueButtonText))])],1)])},"render"),dl=[],pl=d(es,cl,dl,!1,null,"b2f85b1b");const Cl=pl.exports;var fl=Object.defineProperty,ml=Object.getOwnPropertyDescriptor,hl=s((n,e,t,r)=>{for(var i=r>1?void 0:r?ml(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&fl(e,t,i),i},"__decorateClass$1m"),Be;let ts=(Be=class extends p{get portfolioVideoPageHref(){return this.$router.resolve({name:me.PostVideoPage,query:{from:_.VideoPortfolioBanner,returnUrl:"/profile"}}).href}async handleClick(){const{mainServiceId:e,serviceIds:t}=l.serviceIdInfo;await m.pro_profile_edit_start({group:"skillfulness",type:"포트폴리오",service_id:e,provide_service_id:t,entry_purpose:Bs.Registration,location:"pro_profile_video_banner"})}},s(Be,"MyProfileVideoUploadBanner"),Be);ts=hl([c({components:{SvgIcon:U,LinkWithTracker:Is}})],ts);var vl=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("LinkWithTracker",{staticClass:"my-video-upload-banner",attrs:{href:e.portfolioVideoPageHref,"on-track":e.handleClick}},[t("SvgIcon",{attrs:{prisma:"",icon:"graphics/graphic_video.svg",height:40,width:40}}),t("div",{staticClass:"text-wrapper"},[t("Typography",{attrs:{variant:"body14:regular"}},[e._v("더 빠르게 고객을 사로잡으려면?")]),t("Typography",{attrs:{variant:"body16:semibold",as:"h4"}},[e._v("동영상 등록하기")])],1),t("PrismaIcon",{attrs:{name:"chevron_right_outlined",category:"navigation",color:"primary",size:16}})],1)},"render"),_l=[],gl=d(ts,vl,_l,!1,null,"0529b2f2");const yl=gl.exports;var bl=Object.defineProperty,Bl=Object.getOwnPropertyDescriptor,Pl=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Bl(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&bl(e,t,i),i},"__decorateClass$1l"),Pe;let rs=(Pe=class extends p{get aiPortfolioPageHref(){return this.$router.resolve({name:me.PostPage,query:{from:_.AiPortfolioBanner,returnUrl:"/profile"}}).href}handleClick(){const{mainServiceId:e,serviceIds:t}=l.serviceIdInfo;m.pro_profile_edit_start({group:"skillfulness",type:"포트폴리오",service_id:e,provide_service_id:t,entry_purpose:Bs.Registration,location:"pro_profile_ai_banner"})}},s(Pe,"MyProfileAiPortfolioBanner"),Pe);rs=Pl([c({components:{SvgIcon:U,LinkWithTracker:Is}})],rs);var Al=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("LinkWithTracker",{staticClass:"my-ai-portfolio-banner",attrs:{href:e.aiPortfolioPageHref,"on-track":e.handleClick}},[t("SvgIcon",{attrs:{prisma:"",icon:"graphics/graphic_ai_pencil.svg",height:40,width:40}}),t("div",{staticClass:"text-wrapper"},[t("Typography",{attrs:{variant:"body3:regular"}},[e._v("AI가 대신 작성해주는")]),t("Typography",{attrs:{variant:"body2:semibold",as:"h4"}},[e._v("포트폴리오 빠르게 완성하기")])],1),t("PrismaIcon",{attrs:{name:"chevron_right_outlined",category:"navigation",color:"primary",size:16}})],1)},"render"),Dl=[],wl=d(rs,Al,Dl,!1,null,"0f380da1");const Il=wl.exports;var $l=Object.defineProperty,Ml=Object.getOwnPropertyDescriptor,Pa=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Ml(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&$l(e,t,i),i},"__decorateClass$1k"),Ae;let si=(Ae=class extends p{get reviewEventHref(){return this.$router.resolve({path:"/profile/review-event",query:{location:this.from}}).href}handleClick(){m.pro_review_event_section_click({location:this.from})}},s(Ae,"MyProfileReviewEvent"),Ae);Pa([u({type:String,required:!0})],si.prototype,"from",2);si=Pa([c({components:{SvgIcon:U,LinkWithTracker:Is}})],si);var Sl=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("LinkWithTracker",{staticClass:"my-review-event",attrs:{href:e.reviewEventHref,"on-track":e.handleClick}},[t("SvgIcon",{attrs:{prisma:"",icon:"graphics/graphic_fireworks_confetti_01.svg",height:40,width:40}}),t("div",{staticClass:"text-wrapper"},[t("Typography",{attrs:{variant:"body3:regular"}},[e._v("고용률 2배 올리고 싶다면")]),t("Typography",{attrs:{variant:"body2:semibold",as:"h4"}},[e._v("리뷰 이벤트 등록하기")])],1),t("PrismaIcon",{attrs:{name:"chevron_right_outlined",category:"navigation",color:"primary",size:16}})],1)},"render"),xl=[],El=d(si,Sl,xl,!1,null,"2a77610e");const Aa=El.exports;var Tl=Object.defineProperty,Fl=Object.getOwnPropertyDescriptor,Ll=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Fl(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Tl(e,t,i),i},"__decorateClass$1j"),De;let is=(De=class extends p{get myProfile(){return l.profile}get reviewCount(){return this.myProfile.reviewCount}get reviewBannerText(){return this.reviewCount>=1?"고객 응답률을 높이고 싶다면":"아직 리뷰가 하나도 없다면"}handleClick(){this.$showModal({name:"externalReviewGuide"}),m.pro_outside_review_guide_click({review_count:this.reviewCount})}},s(De,"MyProfileRequestReviewBanner"),De);is=Ll([c({components:{SvgIcon:U}})],is);var Rl=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"my-request-review-banner",on:{click:e.handleClick}},[t("SvgIcon",{attrs:{prisma:"",icon:"graphics/graphic_pencil_review.svg",height:40,width:40}}),t("div",{staticClass:"text-wrapper"},[t("Typography",{attrs:{variant:"body3:regular"}},[e._v(e._s(e.reviewBannerText))]),t("Typography",{attrs:{variant:"body2:semibold",as:"h4"}},[e._v("이전 고객에게 리뷰 요청하기")])],1),t("PrismaIcon",{attrs:{name:"chevron_right_outlined",category:"navigation",color:"primary",size:16}})],1)},"render"),Ol=[],Nl=d(is,Rl,Ol,!1,null,"c10b4184");const kl=Nl.exports;var jl=Object.defineProperty,zl=Object.getOwnPropertyDescriptor,Gl=s((n,e,t,r)=>{for(var i=r>1?void 0:r?zl(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&jl(e,t,i),i},"__decorateClass$1i"),we;let ai=(we=class extends p{get profile(){return l.profile}get reviewCount(){return this.profile.reviewCount}get myUserId(){return g.myUserId}get portfolioTotalCount(){var e,t;return((t=(e=Z)==null?void 0:e.myPortfolioListPagination)==null?void 0:t.totalCount)??0}get hasReachedPortfolioLimit(){return this.portfolioTotalCount>=ii}get isAiPortfolioUse(){var e,t,r;return((r=(t=(e=Z)==null?void 0:e.aiPortfolioStatus)==null?void 0:t.activity)==null?void 0:r.hasPosted)||!1}get hasReviewEvent(){var e;return!!((e=l.reviewEvent)!=null&&e.reviewEvent)}get showVideoUploadBanner(){const e=D.get(`${so}:${this.myUserId}`);return!this.hasReachedPortfolioLimit&&!e}get showAiPortfolioBanner(){return!this.hasReachedPortfolioLimit&&!this.isAiPortfolioUse}get showExternalReviewGuideBanner(){return this.reviewCount<3}get showReviewEventBanner(){return this.reviewCount>=3&&!this.hasReviewEvent}get bannerType(){return this.showVideoUploadBanner?"video_portfolio":this.showAiPortfolioBanner?"ai_portfolio":this.showExternalReviewGuideBanner?"external_review":this.showReviewEventBanner?"review_event":null}async ensureAiPortfolioStatus(){Z.aiPortfolioStatus||await Z.fetchAiPortfolioStatus()}},s(we,"MyProfileBannerMixin"),we);ai=Gl([c],ai);var Vl=Object.defineProperty,Ul=Object.getOwnPropertyDescriptor,Da=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Ul(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Vl(e,t,i),i},"__decorateClass$1h"),Ie;let oi=(Ie=class extends V(ai){constructor(){super(...arguments),this.isBannerVisible=!1,this.bannerVisibleTimer=null}get showGamificationTips(){return this.profile.fillInfo.fillRate===100&&!this.profile.reward.profileGamification.isTarget}get reviewEventFrom(){return na.MyInfoPreview}get showReviewBanner(){return this.showReviewEventBanner||this.showExternalReviewGuideBanner}get showReviewBannerSection(){return this.isLoaded&&this.showReviewBanner}get hasBannerToShow(){return this.showVideoUploadBanner||this.showAiPortfolioBanner||this.showReviewBannerSection}async mounted(){await this.ensureAiPortfolioStatus(),this.$nextTick(()=>{this.bannerVisibleTimer=setTimeout(()=>{this.isBannerVisible=!0},800)})}beforeDestroy(){this.bannerVisibleTimer&&clearTimeout(this.bannerVisibleTimer)}},s(Ie,"MyProfileBannerContainer"),Ie);Da([u({type:Boolean,required:!0})],oi.prototype,"isLoaded",2);oi=Da([c({components:{MyProfileVideoUploadBanner:yl,MyProfileAiPortfolioBanner:Il,MyProfileRequestReviewBanner:kl,MyProfileReviewEvent:Aa}})],oi);var ql=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,e.hasBannerToShow?t("div",{staticClass:"banner-container",class:{visible:e.isBannerVisible}},[e.showVideoUploadBanner?t("div",{staticClass:"banner-wrapper"},[t("MyProfileVideoUploadBanner")],1):e.showAiPortfolioBanner?t("div",{staticClass:"banner-wrapper"},[t("MyProfileAiPortfolioBanner")],1):e.showReviewBannerSection?t("div",{staticClass:"banner-wrapper",class:{"without-gamification":e.showGamificationTips}},[e.showExternalReviewGuideBanner?t("MyProfileRequestReviewBanner"):e.showReviewEventBanner?t("MyProfileReviewEvent",{attrs:{from:e.reviewEventFrom}}
2):e._e()],1):e._e()]):e._e()},"render"),Zl=[],Hl=d(oi,ql,Zl,!1,null,"9892a5a1");const Kl=Hl.exports;var Wl=Object.defineProperty,Ql=Object.getOwnPropertyDescriptor,wa=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Ql(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Wl(e,t,i),i},"__decorateClass$1g"),$e;let ni=($e=class extends p{constructor(){super(...arguments),this.allowedExt=ao}get isMobile(){return this.$ua.isMobile}get myProfile(){return l.profile}validateOnChange(e){this.$emit("validate-on-change",e)}setDefaultProfileImage(){this.$emit("set-default-profile-image")}onClose(){this.$emit("close")}registerImage(){this.$refs.fileUploader.click()}},s($e,"SelectProfileImageModal"),$e);wa([u({default:!1})],ni.prototype,"isDefault",2);ni=wa([c({name:"SelectProfileImageModal",components:{UserProfilePicture:ma,Button:T}})],ni);var Yl=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("b-modal",{attrs:{"modal-class":"select-profile-modal","dialog-class":["select-profile-modal-dialog","mobile-full-modal"],visible:"",centered:"","hide-footer":"","hide-header-close":"","no-close-on-backdrop":"","no-close-on-esc":""},scopedSlots:e._u([{key:"modal-header",fn:s(function(){return[t("button",{staticClass:"close-button",attrs:{size:"sm"},on:{click:e.onClose}},[t("PrismaIcon",{attrs:{name:"cancel_outlined",color:"primary",size:24}})],1)]},"fn"),proxy:!0}])},[t("div",{staticClass:"selected-user-profile-wrapper"},[t("UserProfilePicture",{staticClass:"selected-user-profile",attrs:{url:e.myProfile.profileImgUrl.url}}),e.isDefault?e._e():t("button",{staticClass:"default-image-button",on:{click:e.setDefaultProfileImage}},[t("PrismaIcon",{attrs:{name:"trash_filled",size:20,color:"secondary"}})],1)],1),t("Button",{attrs:{block:"",variant:"secondary_solid"},on:{click:e.registerImage}},[e._v(" "+e._s(e.isMobile?"앨범에서 가져오기":"사진 등록하기")+" ")]),t("input",{ref:"fileUploader",attrs:{type:"file",hidden:"",accept:e.allowedExt.join(",")},on:{change:e.validateOnChange}}),t("div",{staticClass:"explanation-container"},[t("Typography",{staticClass:"explanation-title",attrs:{as:"p",variant:"headline16",color:"primary"}},[e._v(" 이런 이미지면 좋아요 ")]),t("Typography",{staticClass:"explanation-description",attrs:{as:"p",variant:"body14:regular",color:"secondary"}},[e._v(" 개인 정보(전화번호, 이메일 등)를 포함한 이미지는"),t("br"),e._v("등록 시 삭제될 수 있습니다. ")]),t("div",{staticClass:"explanation-item with-margin-bottom"},[t("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.$getAssetUrl("/images/profile/sample-provider-profile-img.png"),expression:"$getAssetUrl('/images/profile/sample-provider-profile-img.png')"}],staticClass:"explanation-img",attrs:{alt:"고수 프로필 샘플 이미지"}}),t("Typography",{attrs:{variant:"body16:medium",color:"primary"}},[e._v("얼굴이 잘 보이는 선명한 이미지")])],1),t("div",{staticClass:"explanation-item"},[t("span",{staticClass:"explanation-logo"},[t("Typography",{attrs:{variant:"headline18",color:"purple"}},[e._v("LOGO")])],1),t("Typography",{attrs:{variant:"body16:medium",color:"primary"}},[e._v("로고 이미지")])],1)],1)],1)},"render"),Xl=[],Jl=d(ni,Yl,Xl,!1,null,"b8f485a6");const eu=Jl.exports;var tu=Object.defineProperty,ru=Object.getOwnPropertyDescriptor,Ia=s((n,e,t,r)=>{for(var i=r>1?void 0:r?ru(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&tu(e,t,i),i},"__decorateClass$1f"),Me;let li=(Me=class extends p{get me(){return g.me}get warningCount(){return{count:l.rejectedProfileItems.count,maxCount:l.rejectedProfileItems.maxCount}}get calloutInfo(){return l.rejectedProfileItems.warning[this.profileItemType]}handleCloseButtonClick(){l.hideRejectedCallout({userId:this.me.id,type:this.profileItemType})}},s(Me,"RejectedCallout"),Me);Ia([u({type:Number,required:!0})],li.prototype,"profileItemType",2);li=Ia([c],li);var iu=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,e.calloutInfo.isVisible?t("div",{staticClass:"callout-wrapper"},[t("div",{staticClass:"header"},[t("div",{staticClass:"title"},[t("span",[t("PrismaIcon",{attrs:{name:"caution_triangle_filled",color:"error",size:20}})],1),t("span",[e._v(e._s(e.calloutInfo.msg))])]),t("button",{staticClass:"close-button",attrs:{type:"button"},on:{click:e.handleCloseButtonClick}},[t("PrismaIcon",{attrs:{name:"x_outlined",size:20}})],1)]),t("ul",{staticClass:"description"},[t("li",[e._v("사유: "+e._s(e.calloutInfo.rejectedReason))]),t("li",[e._v("반려 횟수: "+e._s(e.warningCount.count)+"/"+e._s(e.warningCount.maxCount)+"회")])])]):e._e(
2)},"render"),su=[],au=d(li,iu,su,!1,null,"7b8495b5");const W=au.exports;var ou=Object.defineProperty,nu=Object.getOwnPropertyDescriptor,$a=s((n,e,t,r)=>{for(var i=r>1?void 0:r?nu(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&ou(e,t,i),i},"__decorateClass$1e"),Se;let ui=(Se=class extends p{constructor(){super(...arguments),this.profileMaxSize=10,this.allowedExt=["jpg","jpeg","png","gif","bmp","jpeg2000","heic"],this.showTooltip=!1}get myProfile(){return l.profile}get myId(){return l.id}get modalStates(){return O.modal}get isMobile(){return this.$ua.isMobile}get from(){return na.MyInfoPreview}get nonMemberReviewRemainCount(){return l.nonMemberReviewRemainCount}get isNonMemberReviewNudgeOpen(){return l.isNonMemberReviewNudgeOpen&&this.isMobile}get reviewTotalRating(){var t;const e=((t=this.myProfile)==null?void 0:t.reviewTotalRating)||void 0;return(e==null?void 0:e.toFixed(1))||0}get nickName(){var e;return((e=this.myProfile)==null?void 0:e.nickName)||""}get tooltipStorageKey(){return`profile-review-tooltip-${this.myId}`}get defaultIntro(){const{mainService:e,services:t}=this.myProfile,r=e.id!==-1?e.name:t[0].name;return`${this.nickName} 고수의 ${r} 서비스`}get intro(){var e;return((e=this.myProfile)==null?void 0:e.intro)||this.defaultIntro}get hasReviewEvent(){var e;return!!((e=l.reviewEvent)!=null&&e.reviewEvent)}get reviewCount(){return this.myProfile.reviewCount}get showReviewEventBanner(){return this.reviewCount<3}get showExternalReviewGuideBanner(){return this.reviewCount>=3&&!this.hasReviewEvent}get showReviewBanner(){return this.showReviewEventBanner||this.showExternalReviewGuideBanner}get profileItemType(){return R.ProfileImg}get hasRejectedIntroduction(){const e=l.rejectedProfileItems.warning[R.Intro],t=l.rejectedProfileItems.warning[R.Nickname];return e.isVisible||t.isVisible}onAction(){this.showSelectImageModal()}showSelectImageModal(){this.$showModal({name:"selectProfileImageModal"})}hideSelectImageModal(){this.$hideModal("selectProfileImageModal")}onClickReview(){this.isMobile&&this.$emit("action-link","review")}onTooltipClick(){this.showTooltip=!1,D.set(this.tooltipStorageKey,!0),this.$emit("action-link","reviewRequest")}async validateOnChange(e){var i,a;const t=e.target.files[0];if(await this.$validator.validate("uploadedFile",t)){N["Upload Profile Pic"]();try{await l.updateProfileImage({file:t}),this.$emit("update")}catch(o){if(!y(o))return;this.$emit("error",(a=(i=o.response)==null?void 0:i.data)==null?void 0:a.reason)}}else{const o=this.errors.first("uploadedFile");this.$emit("error",o)}}async setDefaultProfileImage(){var e,t;try{await l.deleteProfileImage(),this.$emit("update")}catch(r){if(!y(r))return;this.$emit("error",(t=(e=r.response)==null?void 0:e.data)==null?void 0:t.reason)}}setValidator(){this.$validator.extend("fileSize",{getMessage:s(()=>`파일크기가 너무 큽니다. ${this.profileMaxSize}M 이하로 업로드 해주세요.`,"getMessage"),validate:s(e=>{const t=S.calcSizeByUnit(e.size,this.profileMaxSize,"MB").size,r=this.profileMaxSize;return t<r},"validate")}),this.$validator.extend("fileExtension",{getMessage:s(()=>"지원하지않는 확장자를 가지고 있습니다.","getMessage"),validate:s(e=>{const t=S.getExtension(e).toLowerCase();return this.allowedExt.includes(t)},"validate")}),this.$validator.attach({name:"uploadedFile",rules:"fileSize|fileExtension"})}clickInsightBtn(){N["Open Profile Review"](),this.$router.push({name:"profile-insight"})}clickPreviewBtn(){this.$router.push({name:"profile",params:{userId:String(this.myId)},query:{from:this.from}})}mounted(){this.setValidator(),D.get(this.tooltipStorageKey)||(this.showTooltip=!0)}},s(Se,"MyProfileOverview"),Se);$a([u({type:Boolean,default:!1})],ui.prototype,"isLoaded",2);ui=$a([c({components:{TooltipBalloon:Oo,UserProfilePicture:ma,SelectProfileImageModal:eu,RejectedCallout:W,Button:T}})],ui);var lu=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"my-profile-overview"},[t("RejectedCallout",{attrs:{"profile-item-type":e.profileItemType}}),t("div",{staticClass:"overview-wrapper"},[t("div",{staticClass:"overview"},[t("div",{staticClass:"thumb"},[t("UserProfilePicture",{staticClass:"user-profile-picture",attrs:{url:e.myProfile.profileImgUrl.url}}),t("button",{staticClass:"edit-image-btn",on:{click:e.showSelectImageModal}},[t("PrismaIcon",{attrs:{category:"actions",name:"camera_filled",size:24,color:"primary"}})],1)],1),t("div",{staticClass:"info"},[t("div",{staticClass:"name-wrapper"},[t("Typography",{attrs:{variant:"headline2",as:"p"}},[e._v(e._s(e.nickName))])],1),t("div",{staticClass:"intro-wrapper"},[t("Typography",{attrs:{variant:"body1:regular",as:"p"}}
2,[e._v(e._s(e.intro))])],1),t("div",{staticClass:"statistics-insight-wrapper"},[t("ul",{staticClass:"statistics"},[t("li",{staticClass:"item",on:{click:e.onClickReview}},[t("Typography",{attrs:{md:"body3:regular"}},[e._v("리뷰 평점")]),t("Typography",{attrs:{variant:"body2:semibold"}},[e._v(e._s(e.reviewTotalRating))])],1),t("li",{staticClass:"item",on:{click:e.onClickReview}},[t("Typography",{attrs:{md:"body3:regular"}},[e._v("리뷰수")]),t("Typography",{attrs:{variant:"body2:semibold"}},[e._v(e._s(e._f("numberFormat")(e.myProfile.reviewCount||0)))]),e.showTooltip&&e.isNonMemberReviewNudgeOpen?t("TooltipBalloon",{staticClass:"review-request-tooltip",attrs:{"has-close":"",variant:"bottom"},on:{"balloon-click":e.onTooltipClick}},[e._v(" 리뷰 "+e._s(e.nonMemberReviewRemainCount)+"개 요청하고 고용 확률을 2배 높여보세요! ")]):e._e()],1),t("li",{staticClass:"item"},[t("Typography",{attrs:{md:"body3:regular"}},[e._v("고용수")]),t("Typography",{attrs:{variant:"body2:semibold"}},[e._v(e._s(e._f("numberFormat")(e.myProfile.hireCount||0)))])],1)]),t("button",{staticClass:"insight-btn",attrs:{role:"link"},on:{click:e.clickInsightBtn}},[t("Typography",{attrs:{color:"secondary"}},[e._v("내 활동 분석")]),t("PrismaIcon",{attrs:{category:"navigation",name:"chevron_right_outlined",size:14,color:"secondary"}})],1)])])]),t("div",{staticClass:"md-info"},[t("div",{staticClass:"name-wrapper"},[t("Typography",{attrs:{variant:"headline2",as:"p"}},[e._v(e._s(e.nickName))])],1),t("div",{staticClass:"intro-wrapper"},[t("Typography",{attrs:{variant:"body3:regular",as:"p"}},[e._v(e._s(e.intro))])],1)]),t("div",{staticClass:"my-btn-wrapper"},[t("Button",{staticClass:"action-btn",attrs:{variant:"secondary_outlined","prefix-icon":e.hasRejectedIntroduction?"caution_triangle_filled":void 0,size:"small"},on:{click:s(function(r){return e.$emit("open")},"click")}},[e._v("내 소개 편집")]),t("Button",{staticClass:"action-btn insight",attrs:{variant:"secondary_outlined",role:"link",size:"small"},on:{click:e.clickInsightBtn}},[e._v(" 내 활동 분석 ")]),t("Button",{staticClass:"action-btn preview",attrs:{variant:"secondary_outlined",role:"link",size:"small"},on:{click:e.clickPreviewBtn}},[e._v("미리보기")])],1)]),e.modalStates.selectProfileImageModal?t("SelectProfileImageModal",{attrs:{"is-default":!e.myProfile.profileImgUrl.url},on:{"validate-on-change":e.validateOnChange,"set-default-profile-image":e.setDefaultProfileImage,close:e.hideSelectImageModal}}):e._e()],1)},"render"),uu=[],cu=d(ui,lu,uu,!1,null,"ace22d7b");const du=cu.exports;var pu=Object.defineProperty,Cu=Object.getOwnPropertyDescriptor,Si=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Cu(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&pu(e,t,i),i},"__decorateClass$1d"),xe;let rr=(xe=class extends p{get myProfile(){return l.profile}get fillItemScore(){return this.myProfile.fillInfo.requiredFillItemsScore}get notFilledItems(){return this.myProfile.fillInfo.notFillItems}get totalScore(){return this.actionItems.reduce((e,t)=>e+this.fillItemScore[t],0)}getCurrentItem(e){return oo[e]}isFilledAction(e){return!this.notFilledItems.includes(e)}},s(xe,"MyProfileGamificationCard"),xe);Si([u({type:String,required:!0})],rr.prototype,"title",2);Si([u({type:String,required:!0})],rr.prototype,"description",2);Si([u({type:Array,required:!0})],rr.prototype,"actionItems",2);rr=Si([c],rr);var fu=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"profile-gamification-group"},[t("Typography",{staticClass:"total-score-label",attrs:{variant:"body12:medium",color:"secondary"}},[e._v(e._s(e.totalScore)+"%")]),t("Typography",{staticClass:"group-title",attrs:{variant:"body18:semibold",color:"primary"}},[e._v(e._s(e.title))]),t("Typography",{attrs:{variant:"body14:regular",color:"secondary"}},[e._v(e._s(e.description))]),t("ul",{staticClass:"action-item-list"},e._l(e.actionItems,function(r){return t("li",{key:r,staticClass:"action-item-wrapper"},[t("button",{staticClass:"action-item",on:{click:s(function(i){return e.$emit("click",r)},"click")}},[t("span",{staticClass:"action-item-left"},[t("Typography",{staticClass:"action-item-title",attrs:{variant:"body16:semibold",color:"primary"}},[e._v(e._s(e.getCurrentItem(r)))]),t("PrismaIcon",{staticClass:"action-item-link-icon",attrs:{name:"chevron_right_outlined",size:16,color:"primary"}})],1),t("PrismaIcon",{attrs:{name:"success_circle_filled",size:"24",color:e.isFilledAction(r)?"purple":"quaternary"}})],1)])}),0)],1)},"render"),mu=[],hu=d(rr,fu,mu,!1,null,"0b05f73b");const vu=hu.exports;var _u=Object.defineProperty,gu=Object.getOwnPropertyDescriptor,yu=s((n,e,t,r)=>{for(var i=r>1?void 0:r?gu(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&_u(e,t,i),i},"__decorateClass$1c"),Ee;let ss=(Ee=class extends p{constructor(){super(...arguments),this.isFold=!1}get me(){return g.me}get myProfile(){return l.profile}get fillInfo(){return this.myProfile.fillInfo}get fillRate(){return this.fillInfo.fillRate||0}get isFull(){return this.fillRate===100}get canReward(){return this.myProfile.reward.profileGamification.isTarget}get rewardCash(){return this.myProfile.reward.profileGamification.cash}get actionItems(){return{identity:["profileImgUrl","intro","mainService"],skillfulness:["careerEducation","serviceDescription","mediaUrls","portfolio","qna"],reliability:["basic.selfCert","basic.paymentMethod","settlement","review"]}}handleFoldClick(){this.isFold=!this.isFold}handleGamificationRewardModalOpen(){this.$emit("show-reward-modal",{rewardCash:this.rewardCash,isFull:this.isFull})}async handleRewardButtonClick(){var e,t;try{await Ps.rewardFinishedGamification(),m.pro_profile_complete_cash_click(),this.handleGamificationRewardModalOpen(),await l.fetchProfile({userId:this.me.id,role:br.provider})}catch(r){y(r)&&((e=r.response)!=null&&e.data)&&this.$prismaToast.pop({type:"message",state:"warning",text:((t=r.response.data)==null?void 0:t.reason)||"오류가 발생했습니다. 잠시후에 다시 시도해주세요."})}}async handleClickActionItem(e){const t={...this.$route.query,focusFrom:_.ProfileGuide};Ya(this.$route.query,t)||await this.$router.replace({...this.$route,query:t});const r=no.includes(e)||lo.includes(e),i=e==="review"?"externalReviewGuide":e;this.$emit("scroll-to-area",{key:i,behavior:"auto",skipScroll:r})}},s(Ee,"MyProfileGamification"),Ee);ss=yu([c({components:{Button:T,MyProfileGamificationCard:vu}})],ss);const bu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='graphic'%3e%3ccircle%20id='Ellipse%20281'%20cx='7.99967'%20cy='7.9427'%2
20r='7.91667'%20fill='%23FFD541'/%3e%3cpath%20id='Ellipse%20283'%20d='M14.5198%207.98213C14.5198%2011.5893%2011.5956%2014.5135%207.98842%2014.5135C4.38123%2014.5135%201.45703%2011.5893%201.45703%207.98213C1.45703%204.37495%204.38123%201.45074%207.98842%201.45074C11.5956%201.45074%2014.5198%204.37495%2014.5198%207.98213Z'%20fill='%23FFCD00'/%3e%3cpath%20id='Ellipse%20283%20(Stroke)'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.98842%2013.7635C11.1814%2013.7635%2013.7698%2011.1751%2013.7698%207.98213C13.7698%204.78916%2011.1814%202.20074%207.98842%202.20074C4.79545%202.20074%202.20703%204.78916%202.20703%207.98213C2.20703%2011.1751%204.79545%2013.7635%207.98842%2013.7635ZM7.98842%2014.5135C11.5956%2014.5135%2014.5198%2011.5893%2014.5198%207.98213C14.5198%204.37495%2011.5956%201.45074%207.98842%201.45074C4.38123%201.45074%201.45703%204.37495%201.45703%207.98213C1.45703%2011.5893%204.38123%2014.5135%207.98842%2014.5135Z'%20fill='%23FFCD00'/%3e%3cpath%20id='Ellipse%20692%20(Stroke)'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.33025%206.15104C7.28579%206.15104%206.45768%206.98204%206.45768%207.98438C6.45768%208.98671%207.28579%209.81771%208.33025%209.81771C8.85508%209.81771%209.32665%209.60735%209.66603%209.26916C9.94314%208.99303%2010.3916%208.99382%2010.6678%209.27092C10.9439%209.54803%2010.9431%209.99652%2010.666%2010.2727C10.0696%2010.8669%209.24183%2011.2344%208.33025%2011.2344C6.52392%2011.2344%205.04102%209.78949%205.04102%207.98438C5.04102%206.17926%206.52392%204.73438%208.33025%204.73438C9.24183%204.73438%2010.0696%205.10182%2010.666%205.69609C10.9431%205.97223%2010.9439%206.42072%2010.6678%206.69783C10.3916%206.97493%209.94314%206.97572%209.66603%206.69959C9.32665%206.3614%208.85508%206.15104%208.33025%206.15104Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e";var Bu=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"my-profile-gamification-test-b"},[t("div",{staticClass:"gamification-header"},[t("div",{staticClass:"title-container"},[t("Typography",{attrs:{variant:"headline20"}},[e._v("프로필 항목 완성하고 "),t("br",{staticClass:"d-lg-none"}
2),e._v("더 많은 고용을 경험해 보세요")]),t("button",{staticClass:"fold-button",on:{click:e.handleFoldClick}},[t("PrismaIcon",{class:["fold-icon",{"is-fold":e.isFold}],attrs:{name:"chevron_up_outlined",color:"primary",size:20}})],1)],1),t("div",{staticClass:"fill-rate-progress-container"},[t("div",{staticClass:"fill-rate-progress-wrapper"},[t("progress",{staticClass:"fill-rate-progress",attrs:{max:"100"},domProps:{value:e.fillRate}})]),t("p",{staticClass:"fill-rate-progress-description-container"},[t("Typography",{attrs:{variant:"body14:semibold",color:"purple"}},[e._v(e._s(e.fillRate)+"% 완성")]),e.canReward?[e.isFull?t("Button",{attrs:{variant:"primary",size:"tiny"},on:{click:e.handleRewardButtonClick}},[e._v(e._s(e._f("numberFormat")(e.rewardCash))+"캐시 받기")]):t("button",{staticClass:"reward-guide",on:{click:e.handleGamificationRewardModalOpen}},[t("img",{staticClass:"reward-coin-icon",attrs:{src:bu,alt:"coin"}}),t("Typography",{attrs:{variant:"body14:regular",color:"secondary"}},[e._v("완성 시 10,000캐시 지급")]),t("PrismaIcon",{attrs:{name:"information_circle_outlined",size:16,color:"secondary"}})],1)]:e._e()],2)])]),e.isFold?e._e():t("div",{staticClass:"my-profile-gamification-group-container"},[t("MyProfileGamificationCard",{attrs:{title:"기본 정보 설정하기",description:"고객에게 빠르게 어필해 보세요","action-items":e.actionItems.identity},on:{click:e.handleClickActionItem}}),t("MyProfileGamificationCard",{attrs:{title:"전문성 증명하기",description:"내 실력과 경험을 자랑해 보세요","action-items":e.actionItems.skillfulness},on:{click:e.handleClickActionItem}}),t("MyProfileGamificationCard",{attrs:{title:"신뢰도 높이기",description:"믿을 수 있는 고수임을 보여주세요","action-items":e.actionItems.reliability},on:{click:e.handleClickActionItem}})],1)])},"render"),Pu=[],Au=d(ss,Bu,Pu,!1,null,"2839d49b");const Du=Au.exports;var wu=Object.defineProperty,Iu=Object.getOwnPropertyDescriptor,$u=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Iu(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&wu(e,t,i),i},"__decorateClass$1b"),Te;let as=(Te=class extends p{},s(Te,"MyProfileSection"),Te);as=$u([c({})],as);var Mu=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("section",{staticClass:"my-profile-section"},[t("div",{staticClass:"my-profile-section-header"},[t("Typography",{attrs:{variant:"display3",color:"purple",md:"headline1"}},[e._t("primary-title")],2),t("br"),t("Typography",{attrs:{variant:"display3",color:"primary",md:"headline1"}},[e._t("secondary-title")],2)],1),t("div",{staticClass:"my-profile-section-body"},[e._t("default")],2)])},"render"),Su=[],xu=d(as,Mu,Su,!1,null,"b3154bee");const Eu=xu.exports;var Tu=Object.defineProperty,Fu=Object.getOwnPropertyDescriptor,q=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Fu(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Tu(e,t,i),i},"__decorateClass$1a"),Fe;let x=(Fe=class extends p{get enableAction(){return!this.disableAction}get hasValueData(){return this.value.length>0}get showValue(){return this.hasValueData||this.hasValue}onClick(){}handleClick(){this.enableAction&&this.onClick()}},s(Fe,"MyProfileBaseComponent"),Fe);q([u({type:String,required:!0})],x.prototype,"title",2);q([u({type:String,default:""})],x.prototype,"value",2);q([u({type:Boolean,default:!1})],x.prototype,"hasValue",2);q([u({type:Boolean,default:!1})],x.prototype,"hideChevron",2);q([u({type:Boolean,default:!1})],x.prototype,"disableAction",2);q([u({type:Number,default:0})],x.prototype,"percent",2);q([u({type:Number,default:0})],x.prototype,"count",2);q([u({type:String,default:"secondary"})],x.prototype,"valueTextColor",2);q([f("click")],x.prototype,"onClick",1);x=q([c],x);var Lu=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"my-profile-base-component"},[t("div",{class:["my-profile-info",{"enable-action":e.enableAction}],on:{click:e.handleClick}},[t("div",{staticClass:"my-profile-info-left"},[t("Typography",{attrs:{as:"span",md:"body16:semibold",variant:"body18:semibold",color:"primary"}},[e._v(" "+e._s(e.title)+" ")]),e.showValue&&e.count>0?t("Typography",{attrs:{md:"body16:regular",variant:"body18:regular",color:"primary"}},[e._v(" "+e._s(e.count)+" ")]):!e.showValue&&e.percent>0?t("Typography",{staticClass:"my-profile-info-percent",attrs:{variant:"body12:medium",color:"tertiary"}},[e._v(e._s(e.percent)+"%")]):!e.showValue&&e.$slots.badge?t("div",{staticClass:"license-required-badge"},[e._t("badge")],2):e._e()],1),t("div",{staticClass:"my-profile-info-right"},[e.hasValueData?t("Typography",{attrs:{md:"body14:regular",variant:"body16:regular",color:e.valueTextColor}}
2,[e._v(e._s(e.value))]):e._e(),e.hideChevron?e._e():t("PrismaIcon",{attrs:{name:"chevron_right_outlined",size:16,color:"secondary"}})],1)]),e._t("default")],2)},"render"),Ru=[],Ou=d(x,Lu,Ru,!1,null,"1315cf57");const b=Ou.exports;var Nu=Object.defineProperty,ku=Object.getOwnPropertyDescriptor,Ma=s((n,e,t,r)=>{for(var i=r>1?void 0:r?ku(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Nu(e,t,i),i},"__decorateClass$19"),Le;let ci=(Le=class extends p{get myProfile(){return l.profile}get myId(){return l.id}get detailAddress(){return this.myProfile.basic.detailAddr??""}get computedAddress(){if(!this.addressStatus)return"";const e=`${this.myProfile.basic.addr1} ${this.myProfile.basic.addr2} ${this.detailAddress}`.trim();return tr(e,uo)}get modalStates(){return O.modal}async onComplete(e){var t,r;try{const{address:i,buildingName:a}=e,o=`${i} ${a}`.trim(),{lat:C,lng:v}=await la.getGeoCoord(o);this.$hideModal("daumPostcodeModal"),this.$showModal({name:"detailAddress",params:{addr1:i,addr2:a,lat:C,lng:v}})}catch(i){if(y(i))return this.$emit("error",(r=(t=i.response)==null?void 0:t.data)==null?void 0:r.reason);Br(i)}}onAction(){const{mainServiceId:e,serviceIds:t}=l.serviceIdInfo,r=w(this.$route.query.focusFrom,_)??_.Direct;if(m.pro_profile_edit_start({group:"service_coverage",type:"활동 지역",service_id:e,provide_service_id:t,location:r}),!this.addressStatus){this.$showModal({name:"addressModal"});return}this.$showModal({name:"detailAddress"})}},s(Le,"MyProfileLocation"),Le);Ma([u({type:Boolean,required:!1,default:!1})],ci.prototype,"addressStatus",2);ci=Ma([c({name:"MyProfileLocation",components:{MyProfileBaseComponent:b,DaumPostcodeModal:No,SignAlert:va}})],ci);var ju=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileBaseComponent",{class:["my-profile-location",{"has-reject-callout":!e.addressStatus}],attrs:{title:"활동 지역",value:e.computedAddress},on:{click:e.onAction}},[e.addressStatus?e._e():t("div",{staticClass:"alert-container"},[t("SignAlert",{attrs:{variant:"danger",title:"활동 지역을 등록해 주세요"}},[e._v(" 내 주변 고객을 연결하기 위해 꼭 필요한 정보입니다. ")])],1),e.modalStates.daumPostcodeModal?t("DaumPostcodeModal",{on:{complete:e.onComplete,close:s(function(r){return e.$hideModal("daumPostcodeModal")},"close")}}):e._e()],1)},"render"),zu=[],Gu=d(ci,ju,zu,!1,null,"48809fea");const Vu=Gu.exports;var Uu=Object.defineProperty,qu=Object.getOwnPropertyDescriptor,J=s((n,e,t,r)=>{for(var i=r>1?void 0:r?qu(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Uu(e,t,i),i},"__decorateClass$18"),Re;let k=(Re=class extends p{onSubmit(){}onClose(){}},s(Re,"MyProfileSettingModal"),Re);J([u({type:String,required:!0})],k.prototype,"title",2);J([u({type:String,default:""})],k.prototype,"description",2);J([u({type:String,default:""})],k.prototype,"ctaLabel",2);J([u({type:Boolean,default:!1})],k.prototype,"isCtaDisabled",2);J([u({required:!1,default:!1})],k.prototype,"isPending",2);J([f("submit")],k.prototype,"onSubmit",1);J([f("close")],k.prototype,"onClose",1);k=J([c({components:{BottomFixedOneButton:Ur}})],k);var Zu=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("b-modal",{attrs:{"modal-class":"my-profile-setting-modal",centered:"",visible:"","no-close-on-esc":"","no-close-on-backdrop":"","dialog-class":"mobile-full-modal"},scopedSlots:e._u([{key:"modal-header",fn:s(function(){return[t("div",{staticClass:"modal-close-button-wrapper"},[t("button",{staticClass:"modal-close-button",on:{click:e.onClose}},[t("PrismaIcon",{attrs:{name:"cancel_outlined",size:"24",color:"primary"}})],1)])]},"fn"),proxy:!0}])},[t("div",{staticClass:"setting-modal-body"},[t("Typography",{staticClass:"setting-modal-title",attrs:{variant:"headline24",as:"p"}},[e._v(e._s(e.title))]),e.description?t("Typography",{staticClass:"setting-modal-description",attrs:{variant:"body16:regular",as:"p"}},[e._v(e._s(e.description))]):e._e(),e._t("default")],2),e.ctaLabel.length>0?t("BottomFixedOneButton",{attrs:{variant:"solid",position:"sticky",disabled:e.isCtaDisabled,pending:e.isPending},on:{click:e.onSubmit}}
2,[e._v(" "+e._s(e.ctaLabel)+" ")]):e._e()],1)},"render"),Hu=[],Ku=d(k,Zu,Hu,!1,null,"06045716");const xi=Ku.exports;var Wu=Object.defineProperty,Qu=Object.getOwnPropertyDescriptor,Ei=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Qu(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Wu(e,t,i),i},"__decorateClass$17"),Oe;let ir=(Oe=class extends p{constructor(){super(...arguments),this.isTouched=!1,this.isLoading=!1,this.distanceList=ua,this.selectedDistance=1e3}onClose(){}onSubmit(){return this.selectedDistance}onError(e){return e}handleChangeDistance(e){this.isTouched||(this.isTouched=!0),this.selectedDistance=e}get myProfileBasic(){return l.profile.basic}get distance(){return this.myProfileBasic.distance}get computedCenter(){const{lat:e,lng:t}=this.myProfileBasic;return{lat:e,lng:t}}get computedAddress(){const{addr1:e,addr2:t,detailAddr:r}=this.myProfileBasic;return`${e} ${t} ${r??""}`.trim()}async handleClose(){if(this.isTouched){const{value:e}=await this.$swal.fire({title:`변경된 내용은
3저장되지 않고 사라져요`,text:"정말 나가시겠어요?",confirmButtonText:"계속하기",cancelButtonText:"나가기",allowOutsideClick:!1});if(e)return}this.onClose()}async handleSubmit(){this.isLoading=!0;try{await l.updateProfileDistance(this.selectedDistance),await N.tracker.identifyRegionCoverage(this.selectedDistance),this.onSubmit()}catch(e){this.onError(y(e)?e.response.data.reason:"")}finally{this.isLoading=!1}}mounted(){this.selectedDistance=this.distance}},s(Oe,"MyProfileDistanceModal"),Oe);Ei([f("close")],ir.prototype,"onClose",1);Ei([f("submit")],ir.prototype,"onSubmit",1);Ei([f("error")],ir.prototype,"onError",1);ir=Ei([c({components:{MyProfileSettingModal:xi,GoogleMap:$i,DistanceRangePicker:ha}})],ir);var Yu=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileSettingModal",{attrs:{title:"활동 가능 범위",description:`활동 범위가 넓을수록 더 많은 고객과 만날 수 있어요!
4과도하게 넓히면 원치 않는 고객과 연결될 수 있어요.`,"cta-label":"저장하기","is-cta-disabled":!e.isTouched,"is-pending":e.isLoading},on:{close:e.handleClose,submit:e.handleSubmit}},[t("div",{staticClass:"distance-container"},[t("div",{staticClass:"map-wrapper"},[t("GoogleMap",{staticClass:"google-map",attrs:{center:e.computedCenter,distance:e.selectedDistance,height:"180px"}}),t("Typography",{attrs:{variant:"body14:regular"}},[e._v(e._s(e.computedAddress))])],1),t("section",{staticClass:"distance-range-wrapper"},[t("DistanceRangePicker",{attrs:{"selected-distance":e.selectedDistance,"distance-list":e.distanceList},on:{change:e.handleChangeDistance}})],1)])])},"render"),Xu=[],Ju=d(ir,Yu,Xu,!1,null,"c65608f6");const ec=Ju.exports;var tc=Object.defineProperty,rc=Object.getOwnPropertyDescriptor,xs=s((n,e,t,r)=>{for(var i=r>1?void 0:r?rc(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&tc(e,t,i),i},"__decorateClass$16"),Ne;let Dr=(Ne=class extends p{constructor(){super(...arguments),this.isEditModalOpen=!1}onError(e){return e}get myProfile(){return l.profile}get myId(){return l.id}get distance(){return this.myProfile.basic.distance}get computedDistanceStr(){return`${this.addressStatus?this.getComputedDistance(this.distance):"전국"} 이동 가능`}get computedCenter(){const{lat:e,lng:t}=this.myProfile.basic;return{lat:e,lng:t}}handleEditModalClose(){this.isEditModalOpen=!1}handleSubmit(e){const{mainServiceId:t,serviceIds:r}=l.serviceIdInfo;m.complete_provider_profile_edit({profile_section:"service_coverage",profile_item:"이동 가능 거리",region_coverage:`${e}km`,main_service_id:t,service_id:r}),K("complete_provider_profile_edit",{label:"service_coverage",customAttributes:{profile_item:"이동 가능 거리",main_service_id:t}}),this.handleEditModalClose()}getComputedDistance(e){return e===1e3?"전국":`${e}Km`}onAction(){if(!this.addressStatus){this.$showModal({name:"addressModal"});return}this.isEditModalOpen=!0;const{mainServiceId:e,serviceIds:t}=l.serviceIdInfo,r=w(this.$route.query.focusFrom,_)??_.Direct;m.pro_profile_edit_start({group:"service_coverage",type:"이동 가능 거리",service_id:e,provide_service_id:t,location:r})}},s(Ne,"MyProfileDistance"),Ne);xs([u({type:Boolean,default:!1})],Dr.prototype,"addressStatus",2);xs([f("error")],Dr.prototype,"onError",1);Dr=xs([c({name:"MyProfileDistance",components:{MyProfileBaseComponent:b,GoogleMap:$i,SignAlert:va,MyProfileDistanceModal:ec}})],Dr);var ic=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileBaseComponent",{class:["my-profile-distance",{"has-reject-callout":!e.addressStatus}],attrs:{title:"활동 가능 범위",value:e.computedDistanceStr},on:{click:e.onAction}},[e.addressStatus?e._e():t("div",{staticClass:"alert-container"},[t("SignAlert",{attrs:{variant:"danger",title:"활동 가능 범위를 등록해 주세요"}},[e._v(" 현재 활동 가능 범위가 전국으로 설정되어 있습니다. ")])],1),e.isEditModalOpen?t("MyProfileDistanceModal",{on:{close:e.handleEditModalClose,submit:e.handleSubmit,error:e.onError}}
4):e._e()],1)},"render"),sc=[],ac=d(Dr,ic,sc,!1,null,"e8369179");const oc=ac.exports,Sa="data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1082_83831)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9%2018L8.43489%2017.9822L7.872%2017.929L7.31357%2017.8406L6.76179%2017.7172L6.21885%2017.5595L5.68688%2017.368L5.16799%2017.1434L4.66422%2016.8868L4.17756%2016.599L3.70993%2016.2812L3.26318%2015.9346L2.83908%2015.5607L2.43928%2015.1609L2.06538%2014.7368L1.71885%2014.2901L1.40105%2013.8224L1.11324%2013.3358L0.856557%2012.832L0.632012%2012.3131L0.440491%2011.7812L0.282752%2011.2382L0.159415%2010.6864L0.0709677%2010.128L0.0177594%209.56511L0%209L0.0177594%208.43489L0.0709677%207.872L0.159415%207.31357L0.282752%206.76179L0.440491%206.21885L0.632012%205.68688L0.856557%205.16799L1.11324%204.66422L1.40105%204.17756L1.71885%203.70993L2.06538%203.26318L2.43928%202.83908L2.83908%202.43928L3.26318%202.06538L3.70993%201.71885L4.17756%201.40105L4.66422%201.11324L5.16799%200.856557L5.68688%200.632012L6.21885%200.440491L6.76179%200.282752L7.31357%200.159415L7.872%200.0709677L8.43489%200.0177594L9%200L9.56511%200.0177594L10.128%200.0709677L10.6864%200.159415L11.2382%200.282752L11.7812%200.440491L12.3131%200.632012L12.832%200.856557L13.3358%201.11324L13.8224%201.40105L14.2901%201.71885L14.7368%202.06538L15.1609%202.43928L15.5607%202.83908L15.9346%203.26318L16.2812%203.70993L16.599%204.17756L16.8868%204.66422L17.1434%205.16799L17.368%205.68688L17.5595%206.21885L17.7172%206.76179L17.8406%207.31357L17.929%207.872L17.9822%208.43489L18%209L17.9822%209.56511L17.929%2010.128L17.8406%2010.6864L17.7172%2011.2382L17.5595%2011.7812L17.368%2012.3131L17.1434%2012.832L16.8868%2013.3358L16.599%2013.8224L16.2812%2014.2901L15.9346%2014.7368L15.5607%2015.1609L15.1609%2015.5607L14.7368%2015.9346L14.2901%2016.2812L13.8224%2016.599L13.3358%2016.8868L12.832%2017.1434L12.3131%2017.368L11.7812%2017.5595L11.2382%2017.7172L10.6864%2017.8406L10.128%2017.929L9.56511%2017.9822L9%2018Z'%20fill='%23693BF2'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.7898%204.16272C10.6843%204.05853%2010.5412%204%2010.392%204H5.5625C5.25184%204%205%204.24873%205%204.55556V13.4444C5%2013.7513%205.25184%2014%205.5625%2014H13.4375C13.7482%2014%2014%2013.7513%2014%2013.4444V7.56345C14%207.41611%2013.9407%207.2748%2013.8352%207.17062L10.7898%204.16272ZM10.625%205.51348C10.625%205.36499%2010.8067%205.29063%2010.9131%205.39563L12.5869%207.04882C12.6933%207.15381%2012.6179%207.33333%2012.4676%207.33333H10.7937C10.7005%207.33333%2010.625%207.25872%2010.625%207.16667V5.51348ZM6.40625%206.22222C6.25092%206.22222%206.125%206.34659%206.125%206.5V7.05556C6.125%207.20897%206.25092%207.33333%206.40625%207.33333H9.21875C9.37406%207.33333%209.5%207.20897%209.5%207.05556V6.5C9.5%206.34659%209.37406%206.22222%209.21875%206.22222H6.40625ZM6.125%209.27778C6.125%209.12439%206.25092%209%206.40625%209H12.5938C12.7491%209%2012.875%209.12439%2012.875%209.27778V9.83333C12.875%209.98672%2012.7491%2010.1111%2012.5938%2010.1111H6.40625C6.25092%2010.1111%206.125%209.98672%206.125%209.83333V9.27778ZM6.40625%2011.2222C6.25092%2011.2222%206.125%2011.3466%206.125%2011.5V12.0556C6.125%2012.2089%206.25092%2012.3333%206.40625%2012.3333H12.5938C12.7491%2012.3333%2012.875%2012.2089%2012.875%2012.0556V11.5C12.875%2011.3466%2012.7491%2011.2222%2012.5938%2011.2222H6.40625Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1082_83831'%3e%3crect%20width='18'%20height='18'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",nc="data:image/svg+xml,%3csvg%20width='18'%20height='19'%20viewBox='0%200%2018%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1082_83836)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9%2018.5L8.43489%2018.4822L7.872%2018.429L7.31357%2018.3406L6.76179%2018.2172L6.21885%2018.0595L5.68688%2017.868L5.16799%2017.6434L4.66422%2017.3868L4.17756%2017.099L3.70993%2016.7812L3.26318%2016.4346L2.83908%2016.0607L2.43928%2015.6609L2.06538%2015.2368L1.71885%2014.7901L1.40105%2014.3224L1.11324%2013.8358L0.856557%2013.332L0.632012%2012.8131L0.440491%2012.2812L0.282752%2011.7382L0.159415%2011.1864L0.0709677%2010.628L0.0177594%2010.0651L0%209.5L0.0177594%208.93489L0.0709677%208.372L0.159415%207.81357L0.282752%207.26179L0.440491%206.71885L0.632012%206.18688L0.856557%205.66799L1.11324%205.16422L1.40105%204.67756L1.71885%204.20993L2.06538%203.76318L2.43928%203.33908L2.83908%202.93928L3.26318%202.56538L3.70993%2
402.21885L4.17756%201.90105L4.66422%201.61324L5.16799%201.35656L5.68688%201.13201L6.21885%200.940491L6.76179%200.782752L7.31357%200.659415L7.872%200.570968L8.43489%200.517759L9%200.5L9.56511%200.517759L10.128%200.570968L10.6864%200.659415L11.2382%200.782752L11.7812%200.940491L12.3131%201.13201L12.832%201.35656L13.3358%201.61324L13.8224%201.90105L14.2901%202.21885L14.7368%202.56538L15.1609%202.93928L15.5607%203.33908L15.9346%203.76318L16.2812%204.20993L16.599%204.67756L16.8868%205.16422L17.1434%205.66799L17.368%206.18688L17.5595%206.71885L17.7172%207.26179L17.8406%207.81357L17.929%208.372L17.9822%208.93489L18%209.5L17.9822%2010.0651L17.929%2010.628L17.8406%2011.1864L17.7172%2011.7382L17.5595%2012.2812L17.368%2012.8131L17.1434%2013.332L16.8868%2013.8358L16.599%2014.3224L16.2812%2014.7901L15.9346%2015.2368L15.5607%2015.6609L15.1609%2016.0607L14.7368%2016.4346L14.2901%2016.7812L13.8224%2017.099L13.3358%2017.3868L12.832%2017.6434L12.3131%2017.868L11.7812%2018.0595L11.2382%2018.2172L10.6864%2018.3406L10.128%2018.429L9.56511%2018.4822L9%2018.5Z'%20fill='%23F1EEFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.7898%204.66272C10.6843%204.55853%2010.5412%204.5%2010.392%204.5H5.5625C5.25184%204.5%205%204.74873%205%205.05556V13.9444C5%2014.2513%205.25184%2014.5%205.5625%2014.5H13.4375C13.7482%2014.5%2014%2014.2513%2014%2013.9444V8.06345C14%207.91611%2013.9407%207.7748%2013.8352%207.67062L10.7898%204.66272ZM10.625%206.01348C10.625%205.86499%2010.8067%205.79063%2010.9131%205.89563L12.5869%207.54882C12.6933%207.65381%2012.6179%207.83333%2012.4676%207.83333H10.7937C10.7005%207.83333%2010.625%207.75872%2010.625%207.66667V6.01348ZM6.40625%206.72222C6.25092%206.72222%206.125%206.84659%206.125%207V7.55556C6.125%207.70897%206.25092%207.83333%206.40625%207.83333H9.21875C9.37406%207.83333%209.5%207.70897%209.5%207.55556V7C9.5%206.84659%209.37406%206.72222%209.21875%206.72222H6.40625ZM6.125%209.77778C6.125%209.62439%206.25092%209.5%206.40625%209.5H12.5938C12.7491%209.5%2012.875%209.62439%2012.875%209.77778V10.3333C12.875%2010.4867%2012.7491%2010.6111%2012.5938%2010.6111H6.40625C6.25092%2010.6111%206.125%2010.4867%206.125%2010.3333V9.77778ZM6.40625%2011.7222C6.25092%2011.7222%206.125%2011.8466%206.125%2012V12.5556C6.125%2012.7089%206.25092%2012.8333%206.40625%2012.8333H12.5938C12.7491%2012.8333%2012.875%2012.7089%2012.875%2012.5556V12C12.875%2011.8466%2012.7491%2011.7222%2012.5938%2011.7222H6.40625Z'%20fill='%23693BF2'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1082_83836'%3e%3crect%20width='18'%20height='18'%20fill='white'%20transform='translate(0%200.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";var lc=Object.defineProperty,uc=Object.getOwnPropertyDescriptor,_r=s((n,e,t,r)=>{for(var i=r>1?void 0:r?uc(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&lc(e,t,i),i},"__decorateClass$15"),ke;let Q=(ke=class extends p{constructor(){super(...arguments),this.selected=null}get selectedId(){var e;return(e=this.selected)==null?void 0:e.id}get isClickableNormalService(){return!this.services.some(e=>e.isForceLicense||e.isForceAuth)}get isSaveEnabled(){var e,t;return!this.selected||((e=this.selectedService)==null?void 0:e.id)===((t=this.selected)==null?void 0:t.id)?!1:this.isClickableNormalService?!0:this.selected.isForceAuth||this.selected.isForceLicense}get sortedServices(){return this.services.sort((e,t)=>{var r,i;return e.id===((r=this.selectedService)==null?void 0:r.id)?-9:t.id===((i=this.selectedService)==null?void 0:i.id)?9:e.isForceAuth||e.isForceLicense?-1:t.isForceAuth||t.isForceLicense?1:0})}getVerifyIcon(e){return e.id===this.selectedId?nc:Sa}onClickChip(e){var t;((t=this.selectedService)==null?void 0:t.id)===(e==null?void 0:e.id)&&this.$prismaToast.pop({type:"message",text:"현재 대표 서비스 입니다.",state:"default"}),this.selected=e}onSave(){var e,t;if(((e=this.selected)==null?void 0:e.id)===((t=this.selectedService)==null?void 0:t.id))return this.onClose();this.$emit("select",this.selected)}async onDelete(){this.$emit("delete")}onClose(){this.$emit("close")}onSelectedServiceChange(){this.selected=this.selectedService}},s(ke,"MainServiceSelectModal"),ke);_r([u({type:Array,required:!0})],Q.prototype,"services",2);_r([u({type:Object,required:!1,default:null})],Q.prototype,"selectedService",2);_r([u({type:Boolean,required:!1,default:!1})],Q.prototype,"isLoading",2);_r([u({type:Boolean,required:!1,default:!1})],Q.prototype,"showDeleteButton",2);_r([E("selectedService",{immediate:!0})],Q.prototype,"onSelectedServiceChange",1);Q=_r([c({components:{Chip:jo,LoadingIndicator:Mi}})],Q);var cc=s(function(){var e=this,t=e._self._c;
4return e._self._setupProxy,t("b-modal",{attrs:{"modal-class":"main-service-select-modal","dialog-class":"mobile-full-modal",scrollable:"",visible:"",centered:"","no-fade":"","no-close-on-backdrop":"","no-close-on-esc":""},on:{close:e.onClose},scopedSlots:e._u([{key:"modal-title",fn:s(function(){return[e._v("대표 서비스")]},"fn"),proxy:!0},{key:"modal-footer",fn:s(function(){return[t("b-button",{attrs:{variant:"primary",disabled:!e.isSaveEnabled},on:{click:e.onSave}},[e.isLoading?t("LoadingIndicator",{attrs:{center:""}}):[e._v(" 등록하기 ")]],2)]},"fn"),proxy:!0}])},[t("b",{staticClass:"title"},[e._v("고수님의 대표 서비스를 선택해주세요.")]),e.isClickableNormalService?e._e():[t("p",{staticClass:"desc"},[t("img",{attrs:{src:Sa,alt:"사업자 등록증 또는 자격증/필수서류 인증이 필요할 때 보이는 아이콘"}}),e._v(" 아이콘 표시된 서비스를 제공하기 위해서는 사업자등록증 및 자격증/필수서류 인증이 필요합니다. ")]),t("p",{staticClass:"desc"},[e._v("인증이 필요한 서비스를 제공하는 경우, 해당 서비스만 대표서비스로 선택할 수 있어요.")])],t("div",{staticClass:"chip-wrap"},e._l(e.sortedServices,function(r){return t("Chip",{key:r.slug,attrs:{variant:"outlined-primary","has-icon":"",active:r.id===e.selectedId,disabled:!(r.isForceAuth||r.isForceLicense||e.isClickableNormalService)},nativeOn:{click:s(function(i){return e.onClickChip(r)},"click")},scopedSlots:e._u([r.isForceAuth||r.isForceLicense?{key:"icon",fn:s(function(){return[t("img",{attrs:{src:e.getVerifyIcon(r),alt:"사업자 등록증 또는 자격증/필수서류 인증이 필요할 때 보이는 아이콘"}})]},"fn"),proxy:!0}:null],null,!0)},[e._v(" "+e._s(r.name)+" ")])}),1),e.showDeleteButton?t("b-button",{staticClass:"reset",attrs:{variant:"none"},on:{click:e.onDelete}},[e._v("대표 서비스 삭제")]):e._e()],2)},"render"),dc=[],pc=d(Q,cc,dc,!1,null,"87db79ce");const xa=pc.exports;var Cc=Object.defineProperty,fc=Object.getOwnPropertyDescriptor,mc=s((n,e,t,r)=>{for(var i=r>1?void 0:r?fc(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Cc(e,t,i),i},"__decorateClass$14"),je;let di=(je=class extends p{get myProfile(){return l.profile}get mainService(){var t;const e=(t=this.myProfile)==null?void 0:t.mainService;return[void 0,-1].includes(e==null?void 0:e.id)?null:e}get storeServices(){var e;return(e=this.myProfile)==null?void 0:e.services}get isProcessRemit(){var e;return!!((e=this.myProfile)!=null&&e.isProcessRemit)}get isSettlementStatusReady(){var e;return((e=this.mainService)==null?void 0:e.settlementStatus)===M.Ready}get isSettlementStatusCompleted(){var e;return((e=this.mainService)==null?void 0:e.settlementStatus)===M.Completed}get isUserBusinessType(){var e;return!!((e=this.mainService)!=null&&e.isBusiness)}async checkReadyAndPopSwal(){return this.isSettlementStatusReady?(await this.$swal.fire({titleText:"알림",text:"사업자등록증 검수 중에는 대표 서비스 변경이 불가능합니다.",showCancelButton:!1,confirmButtonText:"확인"}),!1):!0}async checkProcessRemitAndPopSwal(){return this.isSettlementStatusCompleted&&this.isProcessRemit?(await this.$swal.fire({titleText:"알림",text:"서비스 금액 송금중인 숨고페이 거래가 있어 대표 서비스 변경이 불가능합니다.",showCancelButton:!1,confirmButtonText:"확인"}),!1):!0}async confirmDeleteBusinessOnUpdate(){if(this.isSettlementStatusCompleted){const{value:e}=await this.$swal.fire({title:"꼭 확인해주세요!",text:"대표 서비스 수정 시 입력된 사업자등록정보가 삭제돼요. 계속 진행하시겠어요?",confirmButtonText:"삭제하고 진행할게요",cancelButtonText:"닫기"});return e}return!0}async checkDeleteConfirm(){if(this.isSettlementStatusCompleted){const{value:e}=await this.$swal.fire({title:"꼭 확인해주세요!",html:"대표 서비스 삭제 시 입력된 사업자등록정보가 삭제돼요. 계속 진행하시겠어요?",confirmButtonText:"삭제하고 진행할게요",cancelButtonText:"닫기"});return e}return!0}},s(je,"MyProfileMainServiceMixin"),je);di=mc([c],di);var hc=Object.defineProperty,vc=Object.getOwnPropertyDescriptor,_c=s((n,e,t,r)=>{for(var i=r>1?void 0:r?vc(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&hc(e,t,i),i},"__decorateClass$13"),ze;let pi=(ze=class extends p{constructor(){super(...arguments),this.isLoading=!1}get myProfile(){return l.profile}get bizRegistration(){var e;
4return(e=this.myProfile)==null?void 0:e.bizRegistration}get settlement(){var e;return(e=this.myProfile)==null?void 0:e.settlement}get hasCampaign(){var e;return(e=this.bizRegistration)==null?void 0:e.isForceAuthCampaign}get myId(){return l.id}async processSoomgoPaySettlementInfo(){if(!this.settlement)return!0;let e=!1;const{dismiss:t,value:r}=await this.$swal.fire({title:"꼭 확인해주세요!",text:"사업자등록증 등록/변경 시 '숨고페이 정산정보'가 삭제돼요. 계속 진행하시겠어요?",confirmButtonText:"삭제하고 진행할게요",cancelButtonText:"아니요",showLoaderOnConfirm:!0,allowOutsideClick:e,preConfirm:s(async()=>{var i,a;try{return e=!0,await l.deleteCertification({exceptCert:!0}),!0}catch(o){if(ws.isAxiosError(o)){const C=(a=(i=o==null?void 0:o.response)==null?void 0:i.data)==null?void 0:a.code;if(C&&C===co.SAFEPAYMENT_EXISTS)return await this.$swal.fire({title:"나중에 다시<br />시도해주세요",text:"숨고페이 정산이 진행 중인 경우 숨고페이 정산정보 등록/변경을 할 수 없어요.",allowOutsideClick:e,confirmButtonText:"확인",showCancelButton:!1}),!1}return this.$prismaToast.pop({type:"message",text:"정산정보 삭제에 실패하였습니다. 잠시 후 다시 시도해주세요.",state:"warning"}),!1}finally{e=!1}},"preConfirm")});return t?!1:r}async processInstantMatchCampaign(){if(!this.hasCampaign)return!0;let e=!1;const{value:t,dismiss:r}=await this.$swal.fire({title:"꼭 확인해주세요!",text:"사업자등록증을 변경하면 '진행중인 스마트견적'이 정지돼요. 계속 진행하시겠어요?",confirmButtonText:"정지하고 진행할게요",cancelButtonText:"아니요",showLoaderOnConfirm:!0,allowOutsideClick:e,preConfirm:s(async()=>{try{return e=!0,await Ps.deleteAutoQuote(this.myId),!0}catch{return this.$prismaToast.pop({type:"message",text:"스마트견적 정지에 실패하였습니다. 잠시 후 다시 시도해주세요.",state:"warning"}),!1}finally{e=!1}},"preConfirm")});return r?!1:t}async onDeleteBizCertification(){try{return this.isLoading=!0,await l.updateProfileBizCert(),this.$prismaToast.pop({type:"message",text:"사업자등록증이 삭제되었어요",state:"default"}),!0}catch{return this.$prismaToast.pop({type:"message",text:"사업자등록증 삭제에 실패하였습니다.",state:"warning"}),!1}finally{this.isLoading=!1}}async processDeleteBusinessCert(e){return!await this.processInstantMatchCampaign()||!await this.processSoomgoPaySettlementInfo()?!1:e?await this.onDeleteBizCertification():!0}},s(ze,"MyProfileBusinessCertMixin"),ze);pi=_c([c],pi);var gc=Object.defineProperty,yc=Object.getOwnPropertyDescriptor,bc=s((n,e,t,r)=>{for(var i=r>1?void 0:r?yc(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&gc(e,t,i),i},"__decorateClass$12"),Ge;let os=(Ge=class extends V(di,pi){constructor(){super(...arguments),this.isMainServiceSelectModalOpen=!1}get serviceName(){var e;return((e=this.mainService)==null?void 0:e.name)||""}get computedServiceName(){return tr(this.serviceName,po)}get hasValue(){return!!this.mainService}get fillInfoPercentage(){var e;return((e=this.myProfile.fillInfo)==null?void 0:e.requiredFillItemsScore.mainService)??0}async openMainServiceSelectModal(){this.isMainServiceSelectModalOpen=!0}async onAction(){const{mainServiceId:e,serviceIds:t}=l.serviceIdInfo,r=w(this.$route.query.focusFrom,_)??_.Direct;if(m.pro_profile_edit_start({group:"service_coverage",type:"대표 서비스",service_id:e,provide_service_id:t,location:r}),!this.hasValue)return this.openMainServiceSelectModal();await this.checkReadyAndPopSwal()&&this.openMainServiceSelectModal()}async deleteBusinessCertWhenDeletingMainService(){return await this.checkDeleteConfirm()?this.isUserBusinessType?this.processDeleteBusinessCert(this.isSettlementStatusCompleted):!0:!1}async deleteBusinessCertWhenUpdatingMainService(){return this.isUserBusinessType?await this.confirmDeleteBusinessOnUpdate()?this.processDeleteBusinessCert(this.isSettlementStatusCompleted):!1:!0}async save(e){var t,r,i,a;try{if(e===null&&!await this.deleteBusinessCertWhenDeletingMainService())return;const o=l.id;await l.updateProfileMainService({myId:o,mainService:e??{}}),N.tracker.identifyMainService(e),e===null&&this.$prismaToast.pop({type:"message",text:"대표서비스가 삭제되었습니다.",state:"default"});const{mainServiceId:C,serviceIds:v}=l.serviceIdInfo;if(m.complete_provider_profile_edit({profile_section:"service_coverage",profile_item:"대표 서비스",main_service_id:C,service_id:v}),K("complete_provider_profile_edit",{label:"service_coverage",customAttributes:{profile_item:"대표 서비스",main_service_id:C}}),this.$emit("update"),e===null)return;this.onClose()}catch(o){if(!y(o))return;((r=(t=o.response)==null?void 0:t.data)==null?void 0:r.code)===_a.MISMATCH_BUSINESS_TYPE_CODE?await this.deleteBusinessCertWhenUpdatingMainService()&&this.save(e):this.$emit("error",(a=(i=o.response)==null?void 0:i.data)==null?void 0:a.reason)}}onClose(){this.isMainServiceSelectModalOpen=!1}},s(Ge,"MyProfileMainService"),Ge);os=bc([c({name:"MyProfileMainService",components:{MyProfileBaseComponent:b,MainServiceSelectModal:xa}})],os);var Bc=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileBaseComponent",{attrs:{title:"대표 서비스",percent:e.fillInfoPercentage,value:e.computedServiceName},on:{click:e.onAction}},[t("div",{staticClass:"my-profile-main-service"},[e.isMainServiceSelectModalOpen?t("MainServiceSelectModal",{attrs:{"show-delete-button":e.hasValue,services:e.myProfile.services,"selected-service":e.mainService||null},on:{select:e.save,close:e.onClose,delete:s(function(r){return e.save(null)},"delete")}}
4):e._e()],1)])},"render"),Pc=[],Ac=d(os,Bc,Pc,!1,null,null);const Dc=Ac.exports;var wc=Object.defineProperty,Ic=Object.getOwnPropertyDescriptor,$c=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Ic(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&wc(e,t,i),i},"__decorateClass$11"),Ve;let ns=(Ve=class extends p{constructor(){super(...arguments),this.isShowNudgeTooltip=!1}get myProfile(){return l.profile}get hasServices(){return this.myProfile.services.length>0}get provideServiceLabel(){var e;return this.hasServices?(e=this.myProfile.mainService)!=null&&e.name?this.labelTemplate(this.myProfile.mainService.name,this.myProfile.services.length-1):this.labelTemplate(this.myProfile.services[0].name,this.myProfile.services.length-1):""}labelTemplate(e,t){const r=tr(e,10);return t>0?`${r} 외 ${t}개`:r}onAction(){location.href="/profile/services"}onCloseNudge(){this.isShowNudgeTooltip=!1,D.set(Hi.profile.provideServiceNudgeCount,3)}mounted(){if(!this.hasServices)return;const e=D.get(Hi.profile.provideServiceNudgeCount);e<3&&(this.isShowNudgeTooltip=!0,D.set(Hi.profile.provideServiceNudgeCount,e+1))}},s(Ve,"MyProfileProvideService"),Ve);ns=$c([c({components:{Chip:zo,Button:T,MyProfileBaseComponent:b}})],ns);var Mc=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileBaseComponent",{staticClass:"my-profile-provide-service-list",attrs:{title:"제공 서비스",value:e.provideServiceLabel},on:{click:e.onAction}},[e.isShowNudgeTooltip?t("div",{staticClass:"nudge-tooltip"},[t("Typography",{attrs:{variant:"body12:regular",color:"white"}},[e._v("원하는 요청서만 받아볼 수 있어요")]),t("b-button",{attrs:{variant:"none"},on:{click:e.onCloseNudge}},[t("PrismaIcon",{attrs:{name:"cancel_outlined",color:"white",size:"20"}})],1)],1):e._e()])},"render"),Sc=[],xc=d(ns,Mc,Sc,!1,null,"b7ef3262");const Ec=xc.exports;var Tc=Object.defineProperty,Fc=Object.getOwnPropertyDescriptor,Lc=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Fc(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Tc(e,t,i),i},"__decorateClass$10"),Ue;let Ci=(Ue=class extends p{get myProfile(){return l.profile}get career(){return this.myProfile.career}get education(){return this.myProfile.education}get hasCareer(){const{data:e}=this.career;return e.length>0}get hasEducation(){return this.education.data.length>0}get fillInfoPercentage(){var e;return((e=this.myProfile.fillInfo)==null?void 0:e.requiredFillItemsScore.careerEducation)??0}get careerEducationPercent(){return!this.hasCareer&&!this.hasEducation?this.fillInfoPercentage:0}},s(Ue,"MyProfileCareerEducationMixin"),Ue);Ci=Lc([c],Ci);var Rc=Object.defineProperty,Oc=Object.getOwnPropertyDescriptor,Nc=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Oc(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Rc(e,t,i),i},"__decorateClass$$"),qe;let ls=(qe=class extends V(Ci){get totalPeriod(){return this.career.totalPeriod}get value(){return this.totalPeriod>-1?`총 ${this.totalPeriod}년`:""}get profileItemType(){return R.Career}get hasRejectCallout(){return l.rejectedProfileItems.warning[this.profileItemType].isVisible}navigateToCareerPost(){const{mainServiceId:e,serviceIds:t}=l.serviceIdInfo,r=w(this.$route.query.focusFrom,_)??_.Direct;m.pro_profile_edit_start({group:"skillfulness",type:"경력",service_id:e,provide_service_id:t,location:r}),this.$router.push({name:"profile-career"})}onAction(){}},s(qe,"MyProfileCareer"),qe);ls=Nc([c({components:{MyProfileBaseComponent:b,RejectedCallout:W}})],ls);var kc=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileBaseComponent",{class:["my-profile-career",{"has-reject-callout":e.hasRejectCallout}],attrs:{title:"경력",percent:e.careerEducationPercent},on:{click:e.navigateToCareerPost}},[t("RejectedCallout",{staticClass:"reject-callout",attrs:{"profile-item-type":e.profileItemType}})],1)},"render"),jc=[],zc=d(ls,kc,jc,!1,null,"817183e3");const Gc=zc.exports;var Vc=Object.defineProperty,Uc=Object.getOwnPropertyDescriptor,qc=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Uc(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Vc(e,t,i),i},"__decorateClass$_"),Ze;let us=(Ze=class extends V(Ci){get items(){return this.education.data}get startDate(){return this.hasEducation?this.$dayjs(`${this.items[0].startYear}-${this.items[0].startMonth}`):this.$dayjs()}get isEntranceScheulded(){return this.startDate.isAfter(this.$dayjs(),"month")}get value(){if(!this.hasEducation)return"";const{school:e,major:t,inprogress:r}=this.items[0],i=[e,t??""].join(" ");if(this.isEntranceScheulded)return`${tr(i,Ks)} 입학 예정`;const a=r?"재학중":"졸업";return`${tr(i,Ks)} ${a}`}get profileItemType(){return R.Education}get hasRejectCallout(){return l.rejectedProfileItems.warning[this.profileItemType].isVisible}
4navigateToEducationPost(){const{mainServiceId:e,serviceIds:t}=l.serviceIdInfo,r=w(this.$route.query.focusFrom,_)??_.Direct;m.pro_profile_edit_start({group:"skillfulness",type:"학력",service_id:e,provide_service_id:t,location:r}),this.$router.push({name:"profile-education"})}onAction(){}},s(Ze,"MyProfileEducation"),Ze);us=qc([c({components:{MyProfileBaseComponent:b,RejectedCallout:W}})],us);var Zc=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileBaseComponent",{class:["my-profile-education",{"has-reject-callout":e.hasRejectCallout}],attrs:{title:"학력",value:e.value,percent:e.careerEducationPercent},on:{click:e.navigateToEducationPost}},[t("RejectedCallout",{staticClass:"reject-callout",attrs:{"profile-item-type":e.profileItemType}})],1)},"render"),Hc=[],Kc=d(us,Zc,Hc,!1,null,"97e37ee6");const Wc=Kc.exports;var Qc=Object.defineProperty,Yc=Object.getOwnPropertyDescriptor,Ti=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Yc(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Qc(e,t,i),i},"__decorateClass$Z"),He;let sr=(He=class extends p{constructor(){super(...arguments),this.isTouched=!1,this.isLoading=!1,this.isValid=!0,this.inputModel="",this.validationGuide="",this.minLength=30}onClose(){}onSubmit(){}onError(e){return e}get myProfile(){return l.profile}get serviceDesc(){return this.myProfile.serviceDescription}get placeholder(){return`최소 ${this.minLength}자 이상 입력해 주세요`}get guides(){return["나를 소개할 수 있는 인사말로 시작해 보세요","서비스 진행 방식을 단계별로 구체적으로 알려주세요","나만의 장점과 경험, 또는 각오도 좋아요","이메일/전화번호 등 개인정보 작성은 지양해 주세요"]}get serviceDescModel(){return this.inputModel}set serviceDescModel(e){this.isTouched||(this.isTouched=!0),this.inputModel=e}validate(){const{isValid:e,reason:t}=As(this.inputModel);return e?this.inputModel.length<this.minLength?(this.isValid=!1,this.validationGuide=`${this.minLength}자 이상 입력해주세요.`,!1):(this.isValid=!0,!0):(this.isValid=!1,this.validationGuide=t,!1)}async handleClose(){if(this.isTouched){const{value:e}=await this.$swal.fire({title:`변경된 내용은
5저장되지 않고 사라져요`,text:"정말 나가시겠어요?",confirmButtonText:"계속하기",cancelButtonText:"나가기",allowOutsideClick:!1});if(e)return}this.onClose()}async handleSubmit(){if(this.isValid){this.isLoading=!0;try{await l.updateProfileServiceDescription(this.inputModel),this.onSubmit()}catch(e){this.onError(y(e)?e.response.data.reason:"")}finally{this.isLoading=!1}}}mounted(){this.inputModel=this.serviceDesc}},s(He,"MyProfileServiceDescModal"),He);Ti([f("close")],sr.prototype,"onClose",1);Ti([f("submit")],sr.prototype,"onSubmit",1);Ti([f("error")],sr.prototype,"onError",1);sr=Ti([c({components:{MyProfileSettingModal:xi}})],sr);var Xc=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileSettingModal",{attrs:{title:"서비스 상세 설명","cta-label":"저장하기","is-cta-disabled":!e.isTouched||!e.isValid,"is-pending":e.isLoading},on:{close:e.handleClose,submit:e.handleSubmit}},[t("div",{staticClass:"service-desc-container"},[t("ul",{staticClass:"guide-callout"},e._l(e.guides,function(r){return t("li",{key:r},[t("PrismaIcon",{attrs:{name:"check_outlined",size:16,color:"primary"}}),t("Typography",{attrs:{variant:"body14:regular"}},[e._v(e._s(r))])],1)}),0),t("div",{staticClass:"input-section"},[t("div",{staticClass:"tip-callout"},[t("Typography",{staticClass:"tip",attrs:{variant:"body14:semibold",color:"blue"}},[e._v("TIP")]),t("Typography",{attrs:{variant:"body14:regular",as:"p"}},[t("Typography",{attrs:{variant:"body14:semibold",as:"b"}},[e._v(" 200자 이상 ")]),e._v(" 작성하면 고객 답변율이 "),t("Typography",{attrs:{variant:"body14:semibold",as:"b"}},[e._v(" 2배 ")]),e._v(" 올라요 ")],1)],1),t("div",{staticClass:"input-wrapper"},[t("b-form-textarea",{attrs:{placeholder:"최소 30자 이상 입력해 주세요",rows:"4",state:e.isValid},on:{blur:e.validate},model:{value:e.serviceDescModel,callback:s(function(r){e.serviceDescModel=r},"callback"),expression:"serviceDescModel"}}
5),t("div",{staticClass:"guide-text-wrapper"},[t("span",{staticClass:"error-guide"},[t("b-form-invalid-feedback",{directives:[{name:"show",rawName:"v-show",value:!e.isValid,expression:"!isValid"}]},[e._v(" "+e._s(e.validationGuide)+" ")])],1),t("span",{staticClass:"guide-text"},[e._v("현재 "+e._s(e.serviceDescModel.length)+"자")])])],1)])])])},"render"),Jc=[],ed=d(sr,Xc,Jc,!1,null,"427cd337");const td=ed.exports;var rd=Object.defineProperty,id=Object.getOwnPropertyDescriptor,Es=s((n,e,t,r)=>{for(var i=r>1?void 0:r?id(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&rd(e,t,i),i},"__decorateClass$Y"),Ke;let wr=(Ke=class extends p{constructor(){super(...arguments),this.isEditModalOpen=!1}onUpdate(){}onError(e){return e}get myProfile(){return l.profile}get serviceDesc(){return this.myProfile.serviceDescription}get hasValue(){return this.serviceDesc.length>0}get fillInfoPercentage(){var e;return((e=this.myProfile.fillInfo)==null?void 0:e.requiredFillItemsScore.serviceDescription)??0}get profileItemType(){return R.ServiceDescription}get hasRejectCallout(){return l.rejectedProfileItems.warning[this.profileItemType].isVisible}onAction(){const{mainServiceId:e,serviceIds:t}=l.serviceIdInfo,r=w(this.$route.query.focusFrom,_)??_.Direct;m.pro_profile_edit_start({group:"skillfulness",type:"서비스 상세 설명",service_id:e,provide_service_id:t,location:r}),this.isEditModalOpen=!0}handleEditModalClose(){this.isEditModalOpen=!1}handleSubmit(){const{mainServiceId:e,serviceIds:t}=l.serviceIdInfo;m.complete_provider_profile_edit({profile_section:"skillfulness",profile_item:"서비스 상세 설명",main_service_id:e,service_id:t}),K("complete_provider_profile_edit",{label:"skillfulness",customAttributes:{profile_item:"서비스 상세 설명",main_service_id:e}}),this.onUpdate(),this.handleEditModalClose()}},s(Ke,"MyProfileServiceDesc"),Ke);Es([f("update")],wr.prototype,"onUpdate",1);Es([f("error")],wr.prototype,"onError",1);wr=Es([c({components:{MyProfileBaseComponent:b,MyProfileServiceDescModal:td,RejectedCallout:W}})],wr);var sd=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileBaseComponent",{class:["my-profile-service-desc",{"has-reject-callout":e.hasRejectCallout}],attrs:{title:"서비스 상세 설명",percent:e.fillInfoPercentage,"has-value":e.hasValue},on:{click:e.onAction}},[t("RejectedCallout",{staticClass:"reject-callout",attrs:{"profile-item-type":e.profileItemType}}),e.isEditModalOpen?t("MyProfileServiceDescModal",{on:{close:e.handleEditModalClose,submit:e.handleSubmit,error:e.onError}}):e._e()],1)},"render"),ad=[],od=d(wr,sd,ad,!1,null,"4db7dc69");const nd=od.exports;var ld=Object.defineProperty,ud=Object.getOwnPropertyDescriptor,Wr=s((n,e,t,r)=>{for(var i=r>1?void 0:r?ud(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&ld(e,t,i),i},"__decorateClass$X"),We;let le=(We=class extends p{get hasContent(){const e=this.$slots,t=["no-content","loading"],r=Object.keys(e).filter(i=>t.indexOf(i)<0);return this.isLoading?!1:!!r.length}},s(We,"ProfileMediaList"),We);Wr([u({default:"정보"})],le.prototype,"title",2);Wr([u({default:"등록된 정보가 없습니다"})],le.prototype,"noContentText",2);Wr([u({default:!0})],le.prototype,"showNoContentText",2);Wr([u({default:!0})],le.prototype,"isLoading",2);le=Wr([c({name:"ProfileCardWrapper",components:{LoadingIndicator:Mi}})],le);var cd=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"profile-card"},[t("h3",[e._v(e._s(e.title))]),e._t("default"),e.hasContent?e._e():e._t("no-content",function(){return[t("div",{directives:[{name:"show",rawName:"v-show",value:!e.isLoading,expression:"!isLoading"}],staticClass:"no-profile-content"},[t("p",{domProps:{innerHTML:e._s(e.noContentText)}})])]}),e.isLoading?t("LoadingIndicator",{attrs:{center:!0}}):e._e()],2)},"render"),dd=[],pd=d(le,cd,dd,!1,null,"1454a897");const Cd=pd.exports;var fd=Object.defineProperty,md=Object.getOwnPropertyDescriptor,Fi=s((n,e,t,r)=>{for(var i=r>1?void 0:r?md(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&fd(e,t,i),i},"__decorateClass$W"),Qe;let ar=(Qe=class extends p{get isMobile(){return this.$ua.isMobile}get collapseSize(){return this.isMobile?this.isMobile?9:15:this.mobileSize?9:15}},s(Qe,"ProfileMediaList"),Qe);Fi([u({required:!0,default:[]})],ar.prototype,"mediaList",2);Fi([u({default:!1})],ar.prototype,"hideHeader",2);Fi([u({type:Boolean,default:!1})],ar.prototype,"mobileSize",2);ar=Fi([c({components:{ProfileCardWrapper:Cd,ImageListViewer:Go}})],ar);var hd=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"profile-media-list"},[e.hideHeader?e._e():t("h2",[e._v("미디어")]),t("ImageListViewer",{staticClass:"view-list",attrs:{images:e.mediaList,"collapse-size":e.collapseSize,"image-key":"url"}})],1)},"render"),vd=[],_d=d(ar,hd,vd,!1,null,"a91a78b5");const gd=_d.exports,yd="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%3e%3cg%20fill='none'%20fill-rule='evenodd'%3e%3cg%3e%3cg%3e%3cg%3e%3cg%3e%3cg%20transform='translate(-50%20-674)%20translate(16%20604)%20translate(0%2036)%20translate(34%2034)%20translate(4%204)'%3e%3ccircle%20cx='14'%20cy='14'%20r='14'%20stroke='%23FF5C64'%20stroke-width='1.5'/%3e%3ccircle%20cx='14'%20cy='20'%20r='1'%20fill='%23FA5963'/%3e%3cpath%20stroke='%23FF5C64'%20stroke-linecap='round'%20stroke-width='1.5'%20d='M14%207.5L14%2015'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";var bd=Object.defineProperty,Bd=Object.getOwnPropertyDescriptor,Qr=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Bd(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&bd(e,t,i),i},"__decorateClass$V"),Ye;let ue=(Ye=class extends p{constructor(){super(...arguments),this.getThumbnail=Gr.getThumbnail}get errorIcon(){return yd}watchUpdateLightGallery(){this.updateLightGallery()}destroyLightGallery(){const e=$(this.$el);e.data("lightGallery")&&e.data("lightGallery").destroy(!0)}getDataSrc(e){return e.type==="youtube"?Ds.getYoutubeLandingUrl(e[this.imageKey]):e[this.imageKey]}updateLightGallery(){const e={selector:'li[data-type="lightGallery"]',download:!1,loadYoutubeThumbn
5ail:!0,youtubeThumbSize:"default",loadVimeoThumbnail:!0,vimeoThumbSize:"thumbnail_medium"};this.$nextTick(()=>{this.destroyLightGallery(),$(this.$el).lightGallery(e)})}beforeDestroy(){this.destroyLightGallery()}mounted(){this.updateLightGallery()}},s(Ye,"ImageViewer"),Ye);Qr([u({type:Array})],ue.prototype,"mediaList",2);Qr([u({default:"url"})],ue.prototype,"imageKey",2);Qr([u({type:Boolean})],ue.prototype,"isLoading",2);Qr([E("mediaList")],ue.prototype,"watchUpdateLightGallery",1);ue=Qr([c({name:"ImageViewer",components:{LoadingIndicator:Mi}})],ue);var Pd=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("ul",{ref:"lightGallery"},[e.isLoading?t("li",{staticClass:"loading"},[t("LoadingIndicator",{attrs:{center:""}})],1):e._e(),e._l(e.mediaList,function(r){return t("li",{key:r.id,class:{video:r.type==="youtube"},attrs:{"data-type":"lightGallery","data-sub-html-src":e.getThumbnail({mediaType:r.type,url:r.url}),"data-src":e.$addWebpQuery(e.getDataSrc(r))}},[r.type==="youtube"?t("div",{staticClass:"video-cover"},[t("PrismaIcon",{attrs:{name:"play_filled",color:"white",size:36}})],1):e._e(),t("div",{staticClass:"view"},[t("img",{directives:[{name:"lazy",rawName:"v-lazy",value:{src:e.$addWebpQuery(e.getDataSrc(r)),error:e.errorIcon},expression:`{
6          src: $addWebpQuery(getDataSrc(media)),
7          error: errorIcon,
8        }`}],attrs:{width:"100%",height:"100%",alt:"추가한 이미지"}})])])})],2)},"render"),Ad=[],Dd=d(ue,Pd,Ad,!1,null,"9fd627bd");const wd=Dd.exports;var Id=Object.defineProperty,$d=Object.getOwnPropertyDescriptor,Li=s((n,e,t,r)=>{for(var i=r>1?void 0:r?$d(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Id(e,t,i),i},"__decorateClass$U"),Xe;let or=(Xe=class extends p{constructor(){super(...arguments),this.youtubeUrl="",this.profileMaxSize=10,this.allowedExt=["jpg","jpeg","png","bmp","heic"],this.isEditMode=!1,this.photoUploadLoading=!1,this.youtubeUploadLoading=!1,this.limitMediaQuantity=20,this.getThumbnail=Gr.getThumbnail}get isLoading(){return this.photoUploadLoading||this.youtubeUploadLoading}get isMobile(){return this.$ua.isMobile}get accept(){return this.allowedExt.map(e=>"image/"+e).join(",")}get spinColor(){return Co}getMediaType(e){return e.type.toUpperCase()===fo.IMAGE?"사진":"동영상"}isValidYoutubeLink(e){return Ds.isValidYoutubeLink(e)}isValidUploadQuantity(e){if(this.mediaList.length>=e){this.$swal.fire({title:"사진/동영상 개수 제한",text:`사진/동영상은 최대 ${this.limitMediaQuantity}개까지 등록하실 수 있습니다.`,showCancelButton:!1});return}return!0}openFileInput(){$(this.$refs.fileInput.$el).find("input").trigger("click")}setValidator(){this.$validator.extend("fileSize",{getMessage:s(()=>`파일크기가 너무 큽니다. ${this.profileMaxSize}M 이하로 업로드 해주세요.`,"getMessage"),validate:s(e=>{const t=S.calcSizeByUnit(e.size,this.profileMaxSize,"MB").size,r=this.profileMaxSize;return t<r},"validate")}),this.$validator.extend("fileExtension",{getMessage:s(()=>"지원하지않는 확장자를 가지고 있습니다.","getMessage"),validate:s(e=>{const t=S.getExtension(e).toLowerCase();return this.allowedExt.includes(t)},"validate")}),this.$validator.extend("urlRegex",{getMessage:s(()=>"URL 주소가 잘못 입력되었습니다","getMessage"),validate:s(e=>this.isValidYoutubeLink(e),"validate")}),this.$validator.attach({name:"uploadedFile",rules:"fileSize|fileExtension"}),this.$validator.attach({name:"youtubeUrl",rules:"urlRegex"})}trackProfileEditSubmit(e){const{mainServiceId:t,serviceIds:r}=l.serviceIdInfo,i=this.mediaList.filter(o=>o.type==="image").length,a=this.mediaList.filter(o=>o.type==="youtube").length;m.complete_provider_profile_edit({profile_section:"skillfulness",profile_item:"사진/동영상",image_count:i,video_count:a,upload_count:e,main_service_id:t,service_id:r}),K("complete_provider_profile_edit",{label:"skillfulness",customAttributes:{profile_item:"사진/동영상",main_service_id:t}})}async clickDeleteMedia(e){const t=this.getMediaType(e);if((await this.$swal.fire({title:`${t} 삭제`,text:"삭제 하시겠습니까?",confirmButtonText:"삭제",cancelButtonText:"취소"})).value)try{await l.deleteProfileMedia(e.id),this.$emit("update-media")}
8catch{this.$prismaToast.pop({type:"message",text:`${t}삭제에 실패하였습니다. 잠시 후 다시 시도해주세요.`,state:"warning"})}}async uploadImages(e){this.photoUploadLoading=!0;try{await Promise.all(e.map(t=>l.uploadProfileMediaImage(t))),this.trackProfileEditSubmit(e.length),this.$emit("update-media")}catch{this.$prismaToast.pop({type:"message",text:"사진 업로드에 실패하였습니다. 잠시 후 다시 시도해주세요.",state:"warning"})}finally{this.photoUploadLoading=!1}}async uploadPhoto(e){const t=e.target,r=t.files;if(this.isLoading||!r)return;const i=Array.from(r),a=[],o=[];for(const B of i){if(!await this.$validator.validate("uploadedFile",B)){const A=this.errors.first("uploadedFile");A&&!o.includes(A)&&o.push(A);continue}a.push(B)}if(o.length>0&&this.$emit("error",o.join(", ")),a.length===0){t.value="";return}const C=this.limitMediaQuantity-this.mediaList.length,v=a.slice(0,C);C<a.length&&this.$prismaToast.pop({type:"message",text:`사진은 최대 ${this.limitMediaQuantity}장까지 첨부 가능합니다.`,state:"warning"}),await this.uploadImages(v),t.value=""}async uploadVideo(){if(!(this.isLoading||!await this.$validator.validateAll())){this.youtubeUploadLoading=!0;try{await l.uploadProfileMediaYoutube(this.youtubeUrl),this.trackProfileEditSubmit(1),this.$emit("update-media"),this.youtubeUrl=""}catch{this.$prismaToast.pop({type:"message",text:"동영상 업로드에 실패하였습니다. 잠시 후 다시 시도해주세요.",state:"warning"})}finally{this.youtubeUploadLoading=!1}}}registerImage(){this.isValidUploadQuantity(this.limitMediaQuantity)&&this.openFileInput()}registerVideo(){this.isValidUploadQuantity(this.limitMediaQuantity)&&this.uploadVideo()}toggleEditMode(){this.isEditMode&&!this.isValidUploadQuantity(this.limitMediaQuantity+1)||(this.isEditMode=!this.isEditMode)}async mounted(){this.setValidator()}},s(Xe,"MyProfileMediaModal"),Xe);Li([u({type:Boolean,required:!0,default:!1})],or.prototype,"hasMedia",2);Li([u({type:Array})],or.prototype,"mediaList",2);Li([u({default:"url"})],or.prototype,"imageKey",2);or=Li([c({components:{ProfileMediaList:gd,MyProfileMediaImage:wd,LoadingIndicator:Mi}})],or);var Md=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("b-modal",{ref:"modal",attrs:{"modal-class":"media-upload-modal","dialog-class":"mobile-full-modal",visible:"",centered:"",title:"사진 및 동영상","hide-footer":"","no-close-on-backdrop":"","no-close-on-esc":""},on:{hide:s(function(r){return e.$emit("close")},"hide")}},[t("div",{staticClass:"media-tip"},[t("p",{staticClass:"desc info"},[e._v("평균 "),t("strong",[e._v("8개의 사진/동영상")]),e._v("을 고수들이 등록했어요.")])]),t("div",{staticClass:"guide"},[t("p",{staticClass:"title"},[e._v("사진 등록")]),t("p",{staticClass:"desc"},[e._v(" 직접 일하는 사진은 고객들에게 큰 도움이 됩니다"),t("br"),e._v(" (전/후 결과, 작업 과정, 장비 등) ")]),t("b-button",{staticClass:"upload-btn",attrs:{variant:"primary",block:"",disabled:e.photoUploadLoading},on:{click:e.registerImage}},[e.photoUploadLoading?t("LoadingIndicator",{attrs:{center:"",color:e.spinColor}}):[e._v("사진 등록하기")]],2),t("b-form-file",{ref:"fileInput",staticClass:"file-input",attrs:{accept:e.accept,multiple:""},on:{change:e.uploadPhoto}})],1),t("div",{staticClass:"guide"},[t("p",{staticClass:"title"},[e._v("유튜브 등록")]),t("p",{staticClass:"desc"},[e._v("유튜브에 올린 고수님의 영상 URL을 입력하세요")]),t("b-form-input",{directives:[{name:"validate",rawName:"v-validate.disable",value:"required|urlRegex",expression:"'required|urlRegex'",modifiers:{disable:!0}}],staticClass:"video-form",class:{invalid:e.errors.has("youtubeUrl")},attrs:{name:"youtubeUrl",placeholder:"URL 입력"},model:{value:e.youtubeUrl,callback:s(function(r){e.youtubeUrl=r},"callback"),expression:"youtubeUrl"}}),e.errors.has("youtubeUrl")?t("b-form-text",{attrs:{"text-variant":"invalid"}},[e._v(e._s(e.errors.first("youtubeUrl")))]):e._e(),t("b-button",{staticClass:"upload-btn",attrs:{variant:"primary",block:"",disabled:e.youtubeUploadLoading},on:{click:e.registerVideo}},[e.youtubeUploadLoading?t("LoadingIndicator",{attrs:{center:""}}):[e._v("유튜브 URL 등록하기")]],2)],1),e.mediaList.length>0?t("div",{staticClass:"title-wrapper"},[t("p",{staticClass:"title media"},[e._v("등록된 사진/동영상")]),t("p",{staticClass:"edit",on:{click:e.toggleEditMode}}
8,[e._v(" "+e._s(e.isEditMode?"완료":"편집")+" ")])]):e._e(),e.isEditMode?t("ul",{staticClass:"edit-list"},[e.isLoading?t("li",{staticClass:"loading"},[t("LoadingIndicator",{attrs:{center:""}})],1):e._e(),e._l(e.mediaList,function(r){return t("li",{key:r.id},[r.type==="youtube"?t("div",{staticClass:"video-cover"},[t("PrismaIcon",{attrs:{name:"play_filled",color:"white",size:36}})],1):e._e(),t("div",{staticClass:"view",style:{"background-image":`url(${e.getThumbnail({mediaType:r.type,url:r.url})})`}}),t("button",{on:{click:s(function(i){return e.clickDeleteMedia(r)},"click")}},[t("img",{attrs:{src:Zo}})])])})],2):t("MyProfileMediaImage",{attrs:{"media-list":e.mediaList,"image-key":"url","is-loading":e.isLoading}})],1)},"render"),Sd=[],xd=d(or,Md,Sd,!1,null,"73b92802");const Ed=xd.exports;var Td=Object.defineProperty,Fd=Object.getOwnPropertyDescriptor,Ts=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Fd(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Td(e,t,i),i},"__decorateClass$T");const ra="div.slick-wrapper",ia="ul.swipe-list";var Je;let Ir=(Je=class extends p{constructor(){super(...arguments),this.imageKey="url",this.activeAnalysisTestGroup="a",this.isEditModalOpen=!1}onUpdate(){}onError(e){return e}get slickOptions(){return{infinite:!1,slidesToShow:5,slidesToScroll:5,swipe:!0,autoplay:!1,arrows:!0}}get myProfile(){return l.profile}get mediaList(){return this.myProfile.mediaUrls}get hasValue(){return this.mediaList.length>0}get fillInfoPercentage(){var e;return((e=this.myProfile.fillInfo)==null?void 0:e.requiredFillItemsScore.mediaUrls)??0}get profileItemType(){return R.MediaUrls}handleUpdate(){this.updateLightGallery(),this.onUpdate()}handleEditModalClose(){this.isEditModalOpen=!1}handlePrevClick(){this.$refs.slick.prev()}handleNextClick(){this.$refs.slick.next()}destroyLightGallery(e){const t=$(this.$el).find(e);t.data("lightGallery")&&t.data("lightGallery").destroy(!0)}destroyLightGalleryAll(){this.destroyLightGallery(ra),this.destroyLightGallery(ia)}updateLightGallery(){const e={selector:'[data-type="lightGallery"]',download:!1,loadYoutubeThumbnail:!0,youtubeThumbSize:"default",loadVimeoThumbnail:!0,vimeoThumbSize:"thumbnail_medium"};this.$nextTick(()=>{this.destroyLightGalleryAll(),$(this.$el).find(ra).lightGallery(e),$(this.$el).find(ia).lightGallery(e)})}getMediaThumbnail(e){return Gr.getThumbnail({mediaType:e.type,url:e.url})}getDataSrc(e){return e.type==="youtube"?Ds.getYoutubeLandingUrl(e[this.imageKey]):e[this.imageKey]}onAction(){const{mainServiceId:e,serviceIds:t}=l.serviceIdInfo,r=w(this.$route.query.focusFrom,_)??_.Direct;m.pro_profile_edit_start({group:"skillfulness",type:"사진/동영상",service_id:e,provide_service_id:t,location:r}),this.isEditModalOpen=!0}beforeDestroy(){this.destroyLightGalleryAll()}async mounted(){this.updateLightGallery()}},s(Je,"MyProfileMedia"),Je);Ts([f("update")],Ir.prototype,"onUpdate",1);Ts([f("error")],Ir.prototype,"onError",1);Ir=Ts([c({components:{MyProfileBaseComponent:b,Slick:Ii,MyProfileMediaModal:Ed,RejectedCallout:W}})],Ir);var Ld=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileBaseComponent",{staticClass:"my-profile-media",attrs:{title:"사진 및 동영상",count:e.mediaList.length,percent:e.fillInfoPercentage,"has-value":e.hasValue},on:{click:e.onAction}},[t("RejectedCallout",{attrs:{"profile-item-type":e.profileItemType}}),e.hasValue?t("div",{staticClass:"media-list"},[t("div",{staticClass:"slick-wrapper"},[t("Slick",{key:e.mediaList.length,ref:"slick",attrs:{options:e.slickOptions},scopedSlots:e._u([{key:"prevArrow",fn:s(function(){return[t("button",{staticClass:"arrow-btn"},[t("PrismaIcon",{attrs:{name:"chevron_left_outlined",color:"secondary"},on:{click:s(function(r){return r.stopPropagation(),e.handlePrevClick.apply(null,arguments)},"click")}})],1)]},"fn"),proxy:!0},{key:"nextArrow",fn:s(function(){return[t("button",{staticClass:"arrow-btn"},[t("PrismaIcon",{attrs:{name:"chevron_right_outlined",color:"secondary"},on:{click:s(function(r){return r.stopPropagation(),e.handleNextClick.apply(null,arguments)},"click")}})],1)]},"fn"),proxy:!0}],null,!1,622870226)},e._l(e.mediaList,function(r){return t("div",{key:r.id,staticClass:"thumbnail",attrs:{"data-type":"lightGallery","data-sub-html-src":e.getMediaThumbnail(r),"data-src":e.$addWebpQuery(e.getDataSrc(r))}},[t("img",{attrs:{src:e.getMediaThumbnail(r),alt:""}}),r.type==="youtube"?t("div",{staticClass:"video-cover"},[t("PrismaIcon",{attrs:{name:"play_filled",color:"white",size:36}}
8)],1):e._e()])}),0)],1),t("div",{staticClass:"swipe-wrapper"},[t("ul",{staticClass:"swipe-list"},e._l(e.mediaList,function(r){return t("li",{key:r.id,staticClass:"swipe-list-item"},[t("div",{staticClass:"thumbnail",attrs:{"data-type":"lightGallery","data-sub-html-src":e.getMediaThumbnail(r),"data-src":e.$addWebpQuery(e.getDataSrc(r))}},[t("img",{attrs:{src:e.getMediaThumbnail(r),alt:""}}),r.type==="youtube"?t("div",{staticClass:"video-cover"},[t("PrismaIcon",{attrs:{name:"play_filled",color:"white",size:36}})],1):e._e()])])}),0)])]):e._e(),e.isEditModalOpen?t("MyProfileMediaModal",{attrs:{"has-media":e.hasValue,"media-list":e.mediaList},on:{close:e.handleEditModalClose,"update-media":e.handleUpdate,error:e.onError}}):e._e()],1)},"render"),Rd=[],Od=d(Ir,Ld,Rd,!1,null,"cf84ec0d");const Nd=Od.exports;var kd=Object.defineProperty,jd=Object.getOwnPropertyDescriptor,Ea=s((n,e,t,r)=>{for(var i=r>1?void 0:r?jd(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&kd(e,t,i),i},"__decorateClass$S");const zd=s(()=>$s(()=>import("./client-bundle.CIPUEWGT.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31])),"MyProfilePortfolioMenuModal");var et;let fi=(et=class extends p{constructor(){super(...arguments),this.isServiceSelectModalOpen=!1,this.isMenuModalOpen=!1}onUpdate(){}get slickOptions(){return{infinite:!1,slidesToShow:5,slidesToScroll:5,swipe:!0,autoplay:!1,arrows:!0}}get portfolioList(){return Z.myPortfolioList}get portfolioPagination(){return Z.myPortfolioListPagination}get totalCount(){var e;return((e=this.portfolioPagination)==null?void 0:e.totalCount)||0}get myId(){return l.id}get services(){return Z.services}get hasValue(){return this.totalCount>0}get myProfile(){return l.profile}get fillInfoPercentage(){var e;return((e=this.myProfile.fillInfo)==null?void 0:e.requiredFillItemsScore.portfolio)??0}getThumbnail(e){return Gr.getThumbnail({url:e})}handlePrevClick(){this.$refs.slick.prev()}handleNextClick(){this.$refs.slick.next()}handleClickItem(e){if(e.mediaType===mo.Video){this.$router.push({name:me.MyVideoPage,params:{portfolioId:e.id}});return}this.$showModal({name:"portfolioDetail",params:{id:e.id}})}handleRegisterModalClose(){var e;if((e=this.$route.query.from)!=null&&e.includes("pro-report"))return window.location.assign("/pro/report");this.isServiceSelectModalOpen=!1}onAction(){this.hasValue?this.onClickMoveList():this.isMenuModalOpen=!0}onClickMoveList(){const e=w(this.$route.query.from,Ws)??Ws.ProProfile,t=ho[w(this.$route.query.focusFrom,_)??vo.DirectButton];this.$router.push({name:me.MyListPage,query:{from:this.$route.query.from,focusFrom:this.$route.query.focusFrom,location_page_name:e,location_entry_method:t}})}onClickPostButton(e){if(this.totalCount>=ii){this.$swal.fire({titleText:"포트폴리오 등록 불가",text:`최대 ${ii}개까지 포트폴리오를 등록할 수 있습니다.`,showCancelButton:!1,confirmButtonText:"확인"});return}const{mainServiceId:t,serviceIds:r}=l.serviceIdInfo,i=w(this.$route.query.focusFrom,_)??_.Direct;if(m.pro_profile_edit_start({group:"skillfulness",type:"포트폴리오",service_id:t,provide_service_id:r,entry_purpose:Bs.Registration,location:i}),e==="video"){this.$router.push({name:me.PostVideoPage});return}this.$router.push({name:me.PostPage,query:{from:i,returnUrl:this.$route.path}})}handleFromProReport(){const e=this.$route.query.from;e!=null&&e.includes("pro-report")&&(e!=null&&e.includes("portfolio"))&&this.onClickPostButton("text")}async mounted(){await Z.fetchServices(this.myId),this.handleFromProReport()}},s(et,"MyProfilePortfolio"),et);Ea([f("update")],fi.prototype,"onUpdate",1);fi=Ea([c({components:{MyProfileBaseComponent:b,Slick:Ii,MyPortfolioServiceSelectModal:Ho,MyPortfolioModalWrapper:Ko,PortfolioItem:Wo,MyProfilePortfolioMenuModal:zd}})],fi);var Gd=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileBaseComponent",{staticClass:"my-profile-portfolio",attrs:{title:"포트폴리오",count:e.totalCount,percent:e.fillInfoPercentage,"has-value":e.hasValue},on:{click:e.onAction}},[e.hasValue?t("div",{staticClass:"portfolio-list"},[t("div",{staticClass:"slick-wrapper"},[t("Slick",{ref:"slick",attrs:{options:e.slickOptions},scopedSlots:e._u([{key:"prevArrow",fn:s(function(){return[t("button",{staticClass:"arrow-btn"},[t("PrismaIcon",{attrs:{name:"chevron_left_outlined",color:"secondary"},on:{click:s(function(r){return r.stopPropagation(),e.handlePrevClick.apply(null,arguments)},"click")}})],1)]},"fn"),proxy:!0},{key:"nextArrow",fn:s(function(){return[t("button",{staticClass:"arrow-btn"},[t("PrismaIcon",{attrs:{name:"chevron_right_outlined",color:"secondary"},on:{click:s(function(r){return r.stopPropagation(),e.handleNextClick.apply(null,arguments)},"click")}})],1)]},"fn"),proxy:!0}],null,!1,622870226)},e._l(e.portfolioList,function(r){return t("div",{key:r.id,staticClass:"portfolio-item",on:{click:s(function(i){return e.handleClickItem(r)},"click")}},[t("PortfolioItem",{attrs:{"media-type":r.mediaType,"image-url":e.getThumbnail(r.mainImage.url),title:r.title,"like-count":r.likeCount,"view-count":r.viewCount}})],1)}),0)],1),t("div",{staticClass:"swipe-wrapper"},[t("ul",{staticClass:"swipe-list"},e._l(e.portfolioList,function(r){return t("li",{key:r.id,staticClass:"swipe-list-item"},[t("div",{staticClass:"portfolio-item",on:{click:s(function(i){return e.handleClickItem(r)},"click")}},[t("PortfolioItem",{attrs:{"media-type":r.mediaType,"image-url":e.getThumbnail(r.mainImage.url),title:r.title,"like-count":r.likeCount,"view-count":r.viewCount}})],1)])}
8),0)])]):e._e(),e.isServiceSelectModalOpen?t("MyPortfolioServiceSelectModal",{on:{close:e.handleRegisterModalClose,select:e.selectServiceId}}):e._e(),t("MyPortfolioModalWrapper",{on:{update:e.onUpdate}}),e.isMenuModalOpen?t("MyProfilePortfolioMenuModal",{on:{close:s(function(r){e.isMenuModalOpen=!1},"close"),select:e.onClickPostButton}}):e._e()],1)},"render"),Vd=[],Ud=d(fi,Gd,Vd,!1,null,"49ace906");const qd=Ud.exports;var Zd=Object.defineProperty,Hd=Object.getOwnPropertyDescriptor,Kd=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Hd(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Zd(e,t,i),i},"__decorateClass$R"),tt;let cs=(tt=class extends p{get myProfile(){return l.profile}get qnaList(){return this.myProfile.qna}get validQnaList(){return this.qnaList.filter(e=>!!e.answer)}get value(){return this.validQnaList.length}get hasValue(){return this.value>0}get fillInfoPercentage(){var e;return((e=this.myProfile.fillInfo)==null?void 0:e.requiredFillItemsScore.qna)??0}get profileItemType(){return R.Qna}get hasRejectCallout(){return l.rejectedProfileItems.warning[this.profileItemType].isVisible}onAction(){window.location.assign("/profile/qna")}},s(tt,"MyProfileQna"),tt);cs=Kd([c({components:{MyProfileBaseComponent:b,RejectedCallout:W}})],cs);var Wd=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileBaseComponent",{class:["my-profile-qna",{"has-reject-callout":e.hasRejectCallout}],attrs:{title:"질문답변","has-value":e.hasValue,count:e.value,percent:e.fillInfoPercentage},on:{click:e.onAction}},[t("RejectedCallout",{staticClass:"reject-callout",attrs:{"profile-item-type":e.profileItemType}})],1)},"render"),Qd=[],Yd=d(cs,Wd,Qd,!1,null,"9b53122a");const Xd=Yd.exports;var Jd=Object.defineProperty,ep=Object.getOwnPropertyDescriptor,tp=s((n,e,t,r)=>{for(var i=r>1?void 0:r?ep(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Jd(e,t,i),i},"__decorateClass$Q"),rt;let ds=(rt=class extends Ms{constructor(){super(...arguments),this.isLoading=!1}get myProfile(){return l.profile}get myId(){return l.id}get selfCert(){var e;return(e=this.myProfile.basic)==null?void 0:e.selfCert}get hasValue(){return!!this.selfCert}get value(){return this.hasValue?"인증":""}get fillInfoPercentage(){var e;return((e=this.myProfile.fillInfo)==null?void 0:e.requiredFillItemsScore["basic.selfCert"])??0}excuteAuth(){this.certificationName()}async fetchSelfCert(){try{await l.fetchSelfCert()}catch{this.$emit("error","서버 장애로 인해 본인 인증이 실패하였습니다. 새로고침 후 다시 시도해주세요.")}}async certificationName(){try{if(this.isLoading=!0,!await this.certificate(()=>this.$emit("error","서버 장애로 인해 본인 인증이 실패하였습니다. 새로고침 후 다시 시도해주세요.")))throw new Error;await this.fetchSelfCert(),this.$prismaToast.pop({type:"message",text:"본인인증을 완료 하였습니다.",state:"default"}),this.$emit("update");const{mainServiceId:t,serviceIds:r}=l.serviceIdInfo;m.complete_provider_profile_edit({profile_section:"reliability",profile_item:"본인 인증",main_service_id:t,service_id:r}),K("complete_provider_profile_edit",{label:"reliability",customAttributes:{profile_item:"본인 인증",main_service_id:t}})}finally{this.isLoading=!1}}async onAction(){if(this.hasValue||!await this.showCertificationModal())return;const{mainServiceId:t,serviceIds:r}=l.serviceIdInfo,i=w(this.$route.query.focusFrom,_)??_.Direct;m.pro_profile_edit_start({group:"reliability",type:"본인 인증",service_id:t,provide_service_id:r,location:i}),await this.certificationName()}},s(rt,"MyProfileAuth"),rt);ds=tp([c({name:"MyProfileAuth",components:{MyProfileBaseComponent:b}})],ds);var rp=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileBaseComponent",{attrs:{title:"본인인증","hide-chevron":e.hasValue,value:e.value,"disable-action":e.hasValue,percent:e.fillInfoPercentage,"value-text-color":"tertiary"},on:{click:e.onAction}})},"render"),ip=[],sp=d(ds,rp,ip,!1,null,"0293761e");const ap=sp.exports;var op=Object.defineProperty,np=Object.getOwnPropertyDescriptor,Fs=s((n,e,t,r)=>{for(var i=r>1?void 0:r?np(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&op(e,t,i),i},"__decorateClass$P");const lp=s(()=>$s(()=>import("./client-bundle.GbVf3lcC.js"),__vite__mapDeps([32,8,9,3,10,5,6,4,1,2,7,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,33])),"FieldTitle");var it;let $r=(it=class extends V(Qo){get fieldFormat(){return new en({type:"number",format:this.format})}get inputValue(){return this.fieldFormat.getInputNumberValue(this.value)}set inputValue(e){this.$emit("change",this.fieldFormat.getFormattedValue({value:e}))}get inputMaxLength(){var e;return((e=this.format)==null?void 0:e.length)||void 0}},s(it,"PrismaBusinessNumberField"),it);Fs([u({required:!1,default:"000-00-00000"})],$r.prototype,"format",2);Fs([u({required:!1,default:!1})],$r.prototype,"showClearButton",2);$r=Fs([c({name:"PrismaBusinessNumberField",components:{FieldClearButton:Xo,FieldInformation:Yo,FieldInput:Jo,FieldTitle:lp}})],$r);var up=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("fieldset",{class:["prisma-text-field",{invalid:e.hasError}],attrs:{disabled:e.disabled}},[e.label?t("FieldTitle",{attrs:{required:e.required}}
8,[e._v(e._s(e.label))]):e._e(),t("FieldInput",{ref:"input",attrs:{type:"text",inputmode:"numeric",readonly:e.readonly,placeholder:e.placeholder,"max-length":e.inputMaxLength},on:{blur:e.onBlur},model:{value:e.inputValue,callback:s(function(r){e.inputValue=r},"callback"),expression:"inputValue"}},[e.inputValue.length&&e.showClearButton?t("FieldClearButton",{on:{click:e.handleValueClear}}):e._e()],1),t("FieldInformation",{attrs:{description:e.description,error:e.errorSync}})],1)},"render"),cp=[],dp=d($r,up,cp,!1,null,"aca9a4a8");const pp=dp.exports;var Cp=Object.defineProperty,fp=Object.getOwnPropertyDescriptor,Ls=s((n,e,t,r)=>{for(var i=r>1?void 0:r?fp(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Cp(e,t,i),i},"__decorateClass$O"),st;let Mr=(st=class extends p{},s(st,"BizCertImageBox"),st);Ls([u({type:Object,default:null})],Mr.prototype,"image",2);Ls([u({type:Boolean,default:!1})],Mr.prototype,"loading",2);Mr=Ls([c({components:{PrismaThumbnail:ga}})],Mr);var mp=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"image-box"},[e.image?[t("div",{staticClass:"image-wrapper"},[t("PrismaThumbnail",{attrs:{src:e.$addWebpQuery(e.image.url),alt:`사업자등록증 이미지 ${e.image.id}`,border:"",ratio:"1:1",loading:e.loading,"data-type":"lightGallery","border-radius":12,"data-exthumbimage":e.$addWebpQuery(e.image.url),"data-src":e.image.url}}),t("button",{staticClass:"remove-button",attrs:{type:"button"},on:{click:s(function(r){return e.$emit("remove")},"click")}},[t("PrismaIcon",{attrs:{name:"cancel_circle_filled",size:24}})],1)],1)]:e.loading?t("PrismaThumbnail",{attrs:{loading:"",border:"",ratio:"1:1","border-radius":12}}):[t("button",{staticClass:"upload-button",attrs:{type:"button"},on:{click:s(function(r){return e.$emit("upload")},"click")}},[t("PrismaIcon",{attrs:{name:"camera_filled"}})],1)]],2)},"render"),hp=[],vp=d(Mr,mp,hp,!1,null,"6edc266c");const _p=vp.exports;var gp=Object.defineProperty,yp=Object.getOwnPropertyDescriptor,Ri=s((n,e,t,r)=>{for(var i=r>1?void 0:r?yp(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&gp(e,t,i),i},"__decorateClass$N"),at;let nr=(at=class extends p{constructor(){super(...arguments),this.allowedExt=["jpg","jpeg","png","bmp","heic"],this.fileMaxSize=10,this.MAX_IMAGE_PIXEL=5e3,this.MIN_IMAGE_PIXEL=600,this.isLoading=!1,this.isImageLoading=!1,this.bizRegistrationNumber="",this.bizRegistrationNumberError=null,this.bizCertNumberDisabled=!1,this.images=[]}get bizRegistrationNumberModel(){return Pr.businessNumberFormat(this.bizRegistrationNumber)}set bizRegistrationNumberModel(e){this.$emit("changed"),this.bizRegistrationNumber=e.replaceAll("-","")}get isSaveEnabled(){return this.images.length>0&&this.bizRegistrationNumber&&!this.bizRegistrationNumberError}get myProfile(){return l.profile}get mainServiceName(){var e;return(e=this.myProfile.mainService)==null?void 0:e.name}get mainServiceId(){var e;return(e=this.myProfile.mainService)==null?void 0:e.id}get addable(){return this.images.length<2}get isExtraFileDisabled(){return this.images.length<1}get certImageDescription(){return["최근 1개월 이내 발급된 사업자등록증 등록을 권장드려요.","별지가 있는 경우, 별지란에 함께 첨부해 주세요."].join(`
9`)}get certImage(){return this.images[0]}get isCertImageLoading(){return!this.certImage&&this.isImageLoading}get extraFile(){return this.images[1]}get isExtraFileLoading(){return!!this.certImage&&!this.extraFile&&this.isImageLoading}onClickBizCertImageInput(){this.$refs.fileUploader.click()}onClickExtraFileInput(){if(this.isExtraFileDisabled){this.$prismaToast.pop({type:"message",text:"사업자등록증을 먼저 입력해주세요.",state:"default"});return}this.$emit("request-extra-file")}openExtraFilePicker(){this.$refs.fileUploader.click()}validateBizRegistrationNumber(){if(!this.bizRegistrationNumber){this.bizRegistrationNumberError={type:"message",message:"사업자등록번호를 입력해 주세요."};return}if(this.bizRegistrationNumber.length!==10){this.bizRegistrationNumberError={type:"message",message:"사업자등록번호 입력형식이 맞지 않습니다."};return}this.bizRegistrationNumberError=null}async uploadFile(e){var t,r;try{this.isLoading=!0;const{response:i}=await ca.uploadFile({topic:da.PROVIDER,file:e,fileName:e.name}),{fileId:a,fileUrl:o}=i;return this.$emit("changed"),{id:a,url:o,fileType:"business"}}catch(i){const a=y(i)&&((r=(t=i.response)==null?void 0:t.data)==null?void 0:r.reason);a&&this.$prismaToast.pop({type:"message",text:a,state:"warning"})}finally{this.isLoading=!1}}async onUpload(e){this.isImageLoading=!0;const t=e.target;try{const r=t.files[0];if(!await this.$validator.validate("uploadedFile",r)){const o=this.errors.first("uploadedFile");this.$prismaToast.pop({type:"message",text:o,state:"default"});return}const a=await this.uploadFile(r);if(!a)return;this.images=[...this.images,a],this.initLightGallery()}finally{t.value="",this.isImageLoading=!1}}async validateBizCertName(){var e,t;try{return await Ps.validateBizCertName(this.bizRegistrationNumber),!0}catch(r){if(!y(r))return this.$prismaToast.pop({type:"message",text:"등록 실패하였습니다. 잠시 후 다시 시도해주세요.",state:"default"}),!1;const i=(t=(e=r.response)==null?void 0:e.data)==null?void 0:t.code;if(i===Qs.NoAuthentication)return this.$emit("certificate-name",!0),!1;if(i===Qs.NameMismatch)return this.$emit("name-mismatch",{businessLicenseNumber:this.bizRegistrationNumber,imgUrls:this.images}),!1;const a=_o[i];if(!a)return!0;const{title:o,description:C}
9=a;return this.$prismaConfirm({title:o,description:C,okButtonLabel:"확인",showCancelButton:!1}),!1}}async onSave(){try{if(this.isLoading=!0,!await this.validateBizCertName())return;this.$emit("save",{businessLicenseNumber:this.bizRegistrationNumber,imgUrls:this.images})}finally{this.isLoading=!1}}onClickDeleteImage(e){const t=this.images.findIndex(r=>r.id===e);if(this.images.length>1&&!t){this.$prismaToast.pop({type:"message",text:"별지를 먼저 삭제하고 진행해주세요.",state:"default"});return}this.images=this.images.filter(r=>r.id!==e),this.initLightGallery()}setValidator(){this.$validator.extend("fileSize",{getMessage:s(()=>`사진은 1개 당 최대 ${this.fileMaxSize}MB까지 등록 가능합니다`,"getMessage"),validate:s(e=>{const t=S.calcSizeByUnit(e.size,this.fileMaxSize,"MB").size,r=this.fileMaxSize;return t<r},"validate")}),this.$validator.extend("fileExtension",{getMessage:s(()=>"지원하지 않는 파일 형식을 포함하고 있습니다","getMessage"),validate:s(e=>{const t=S.getExtension(e).toLowerCase();return this.allowedExt.includes(t)},"validate")}),this.$validator.extend("filePixelHigh",{getMessage:s(()=>"사진 크기가 너무 큽니다","getMessage"),validate:s(e=>S.getSize(e).then(([t,r])=>t<=this.MAX_IMAGE_PIXEL&&r<=this.MAX_IMAGE_PIXEL),"validate")}),this.$validator.extend("filePixelLow",{getMessage:s(()=>"사진 크기가 너무 작습니다","getMessage"),validate:s(e=>S.getSize(e).then(([t,r])=>t>=this.MIN_IMAGE_PIXEL&&r>=this.MIN_IMAGE_PIXEL),"validate")}),this.$validator.attach({name:"uploadedFile",rules:"fileSize|fileExtension|filePixelHigh|filePixelLow"})}initLightGallery(){this.destroyLightGallery(),setTimeout(()=>{$(".image-upload-area").lightGallery({selector:'[data-type="lightGallery"]',download:!1,exThumbImage:"data-exthumbimage"})},500)}destroyLightGallery(){const e=$(".image-upload-area");e.data("lightGallery")&&e.data("lightGallery").destroy(!0)}async mounted(){this.bizCertDraftData?(this.images=this.bizCertDraftData.imgUrls,this.bizRegistrationNumber=this.bizCertDraftData.businessLicenseNumber):this.initialBizCertDetail&&(this.bizCertNumberDisabled=!0,this.bizRegistrationNumber=String(this.initialBizCertDetail.businessLicenseNumber)),this.setValidator(),this.initLightGallery()}beforeDestroy(){this.destroyLightGallery()}},s(at,"BizCertFormStep"),at);Ri([u({type:Object,default:null,required:!1})],nr.prototype,"initialBizCertDetail",2);Ri([u({type:Object,default:null,required:!1})],nr.prototype,"bizCertDraftData",2);Ri([u({type:Boolean,default:!1})],nr.prototype,"isPending",2);nr=Ri([c({components:{PrismaBusinessNumberField:pp,PrismaCallout:Zr,BizCertImageBox:_p,BottomFixedOneButton:Ur}})],nr);var bp=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",[t("div",{staticClass:"form-content"},[t("Typography",{attrs:{as:"p",variant:"headline24",color:"primary"}},[e._v("사업자등록증을"),t("br"),e._v("직접 등록해 주세요")]),t("Typography",{staticClass:"policy-link",attrs:{as:"a",variant:"body14:medium",color:"purple",href:"https://help.soomgo.com/hc/ko/articles/40302092645017",target:"_blank",rel:"noopener noreferrer"}},[e._v("사업자 정보 등록 정책 "),t("PrismaIcon",{attrs:{name:"chevron_right_outlined",color:"purple",size:16}})],1),t("div",{staticClass:"field-group"},[t("div",{staticClass:"service-info"},[t("Typography",{attrs:{variant:"body16:semibold"}},[e._v("숨고 대표 서비스")]),t("Typography",{attrs:{variant:"body16:regular"}},[e._v(e._s(e.mainServiceName))])],1),t("div",{staticClass:"biz-number-field"},[t("Typography",{staticClass:"required",attrs:{variant:"body16:semibold"}},[e._v("사업자등록번호")]),t("PrismaBusinessNumberField",{attrs:{placeholder:"[-] 없이 10자리를 입력해 주세요.",disabled:e.bizCertNumberDisabled,error:e.bizRegistrationNumberError},on:{blur:e.validateBizRegistrationNumber},model:{value:e.bizRegistrationNumberModel,callback:s(function(r){e.bizRegistrationNumberModel=r},"callback"),expression:"bizRegistrationNumberModel"}})],1),t("div",{staticClass:"cert-image-section"},[t("Typography",{staticClass:"required",attrs:{variant:"body16:semibold"}},[e._v("사업자등록증 사진")]),t("PrismaCallout",{attrs:{state:"information",variants:"bullet",title:"사진 등록 시 유의사항",description:e.certImageDescription}}),t("div",{staticClass:"image-upload-area"},[t("div",{staticClass:"image-upload-item"},[t("Typography",{attrs:{variant:"body14:regular",color:"secondary"}},[e._v("사업자등록증(필수)")]),t("BizCertImageBox",{attrs:{image:e.certImage,loading:e.isCertImageLoading},on:{upload:e.onClickBizCertImageInput,remove:s(function(r){return e.onClickDeleteImage(e.certImage.id)},"remove")}})],1),t("div",{staticClass:"image-upload-item"},[t("Typography",{attrs:{variant:"body14:regular",color:"secondary"}},[e._v("별지(선택)")]),t("BizCertImageBox",{attrs:{image:e.extraFile,loading:e.isExtraFileLoading},on:{upload:e.onClickExtraFileInput,remove:s(function(r){return e.onClickDeleteImage(e.extraFile.id)},"remove")}})],1),t("input",{ref:"fileUploader",attrs:{type:"file",accept:e.allowedExt.map(r=>"image/"+r).join(",")},on:{change:e.onUpload}}
9)])],1)])],1),t("BottomFixedOneButton",{staticClass:"submit-footer",attrs:{variant:"solid",position:"sticky",pending:e.isLoading||e.isPending,disabled:!e.isSaveEnabled},on:{click:e.onSave}},[e._v(" 등록하기 ")])],1)},"render"),Bp=[],Pp=d(nr,bp,Bp,!1,null,"f944d2d5");const Ap=Pp.exports;var H=(n=>(n.Family="family",n.Employee="employee",n.CoRepresentative="co_representative",n.Self="self",n))(H||{}),h=(n=>(n.PowerOfAttorney="power_of_attorney",n.SealCertificate="seal_certificate",n.FamilyRelationCertificate="family_relation_certificate",n.EmploymentCertificate="employment_certificate",n.CorporateSealCertificate="corporate_seal_certificate",n.AlienRegistration="alien_registration",n))(h||{}),mi=(n=>(n.Individual="individual",n.Corporate="corporate",n))(mi||{}),ae=(n=>(n.Delegation="delegation",n.SealOrSignatureCertificate="seal_or_signature_certificate",n.Employment="employment",n.FamilyRelation="family_relation",n.AlienRegistration="alien_registration",n))(ae||{});const Dp="data:image/svg+xml,%3csvg%20width='80'%20height='80'%20viewBox='0%200%2080%2080'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_592_101710)'%3e%3ccircle%20cx='39.5101'%20cy='35.168'%20r='24.3333'%20transform='rotate(-45%2039.5101%2035.168)'%20fill='%23EFF1F5'%20stroke='%23AAB4BF'%20stroke-width='7.33333'/%3e%3crect%20x='52.3994'%20y='54.6719'%20width='7.33333'%20height='19.6667'%20rx='3.66667'%20transform='rotate(-45%2052.3994%2054.6719)'%20fill='%23AAB4BF'/%3e%3cpath%20d='M39.7124%2040.5762C38.2598%2040.5762%2037.4053%2039.585%2037.4053%2038.1836V37.9443C37.4053%2035.9277%2038.4478%2034.5947%2040.4644%2033.4155C42.6689%2032.0996%2043.3354%2031.2451%2043.3354%2029.6729C43.3354%2027.998%2042.0366%2026.8359%2040.1567%2026.8359C38.4819%2026.8359%2037.354%2027.6562%2036.8071%2029.1772C36.3799%2030.271%2035.6108%2030.7495%2034.5684%2030.7495C33.2183%2030.7495%2032.3809%2029.9121%2032.3809%2028.6133C32.3809%2027.8784%2032.5518%2027.229%2032.8936%2026.5796C33.9873%2024.3237%2036.7217%2022.8711%2040.396%2022.8711C45.2495%2022.8711%2048.5137%2025.5371%2048.5137%2029.519C48.5137%2032.0996%2047.2661%2033.8599%2044.8564%2035.2783C42.5835%2036.5942%2042.0708%2037.3291%2041.8486%2038.7646C41.5923%2039.9097%2040.9258%2040.5762%2039.7124%2040.5762ZM39.7466%2048.1812C38.2085%2048.1812%2036.9609%2047.002%2036.9609%2045.498C36.9609%2043.9941%2038.2085%2042.8149%2039.7466%2042.8149C41.3018%2042.8149%2042.5493%2043.9941%2042.5493%2045.498C42.5493%2047.002%2041.3018%2048.1812%2039.7466%2048.1812Z'%20fill='%235D697A'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_592_101710'%3e%3crect%20width='80'%20height='80'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",sa="data:image/svg+xml,%3csvg%20width='80'%20height='80'%20viewBox='0%200%2080%2080'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.333%2021.3706C13.333%2020.4292%2014.0962%2019.666%2015.0376%2019.666H64.9618C65.9032%2019.666%2066.6663%2020.4292%2066.6663%2021.3706V60.666C66.6663%2063.9797%2063.98%2066.666%2060.6663%2066.666H19.333C16.0193%2066.666%2013.333%2063.9797%2013.333%2060.666V21.3706Z'%20fill='%23E0E5EB'/%3e%3cpath%20d='M30.6523%2047.0007C30.6523%2045.5279%2031.8463%2044.334%2033.319%2044.334H46.6523C48.1251%2044.334%2049.319%2045.5279%2049.319%2047.0007V66.6673H30.6523V47.0007Z'%20fill='%238F9AAB'/%3e%3crect%20x='10'%20y='13.334'%20width='60'%20height='17.3333'%20rx='2.66667'%20fill='%23AAB4BF'/%3e%3crect%20x='9.98535'%20y='19'%20width='60'%20height='5.33333'%20fill='%238F9AAB'/%3e%3crect%20x='29'%20y='11'%20width='21.6667'%20height='21.6667'%20rx='2.66667'%20fill='%236A7685'/%3e%3cellipse%20cx='39.953'%20cy='21.9522'%20rx='2.83333'%20ry='7'%20transform='rotate(135%2039.953%2021.9522)'%20fill='%23C7CED6'/%3e%3cellipse%20cx='39.9531'%20cy='21.953'%20rx='2.83333'%20ry='7'%20transform='rotate(-135%2039.9531%2021.953)'%20fill='%23C7CED6'/%3e%3c/svg%3e",wp="data:image/svg+xml,%3csvg%20width='64'%20height='54'%20viewBox='0%200%2064%2054'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='img'%3e%3cpath%20id='Rectangle%201751'%20d='M24.9135%204.48931C28.1175%20-0.602113%2035.6657%20-0.609905%2038.8806%204.4749L62.4211%2041.7076C65.8175%2047.0796%2061.8643%2
9054.018%2055.4178%2053.9993L8.53269%2053.8635C2.11567%2053.8449%20-1.80057%2046.9406%201.56887%2041.5862L24.9135%204.48931Z'%20fill='%23FFCD00'/%3e%3cg%20id='ic_info_2'%3e%3cpath%20d='M35.1028%2020.6497C35.2225%2018.8542%2033.7984%2017.332%2031.9989%2017.332C30.1994%2017.332%2028.7753%2018.8542%2028.895%2020.6497L29.7799%2033.9227C29.8578%2035.0909%2030.8281%2035.9987%2031.9989%2035.9987C33.1697%2035.9987%2034.14%2035.0909%2034.2179%2033.9227L35.1028%2020.6497Z'%20fill='%231C242F'/%3e%3cpath%20d='M34.6628%2041.3293C34.6628%2039.858%2033.4701%2038.6654%2031.9989%2038.6654C30.5277%2038.6654%2029.335%2039.858%2029.335%2041.3293V41.6654C29.335%2043.1366%2030.5277%2044.3293%2031.9989%2044.3293C33.4701%2044.3293%2034.6628%2043.1366%2034.6628%2041.6654V41.3293Z'%20fill='%231C242F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Ip="data:image/svg+xml,%3csvg%20width='80'%20height='80'%20viewBox='0%200%2080%2080'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_592_103103)'%3e%3crect%20x='6.6665'%20y='15.3335'%20width='63.3333'%20height='45.3333'%20rx='6'%20fill='%23E0E5EB'/%3e%3cpath%20d='M22.8374%2036.5643C24.944%2036.5643%2026.6517%2034.9457%2026.6517%2032.9489C26.6517%2030.9522%2024.944%2029.3335%2022.8374%2029.3335C20.7309%2029.3335%2019.0232%2030.9522%2019.0232%2032.9489C19.0232%2034.9457%2020.7309%2036.5643%2022.8374%2036.5643Z'%20fill='%236A7685'/%3e%3cpath%20d='M22.6615%2037.7693C19.4253%2037.7693%2016.4918%2039.5734%2015.173%2042.3746C14.5922%2043.6084%2015.5448%2045.0002%2016.9703%2045.0002H28.6964C30.1219%2045.0002%2031.0745%2043.6084%2030.4936%2042.3746C29.1749%2039.5734%2026.2414%2037.7693%2023.0052%2037.7693H22.6615Z'%20fill='%236A7685'/%3e%3crect%20x='34.6665'%20y='31.3335'%20width='22'%20height='3.33333'%20rx='1.66667'%20fill='%23AAB4BF'/%3e%3crect%20x='34.6665'%20y='39'%20width='12.6667'%20height='3.33333'%20rx='1.66667'%20fill='%23AAB4BF'/%3e%3ccircle%20cx='59.3332'%20cy='52.6667'%20r='13.6667'%20fill='%23FA5963'/%3e%3cpath%20d='M60.9337%2046.8587C61.0014%2045.853%2060.2038%2045%2059.1959%2045C58.1879%2045%2057.3903%2045.853%2057.458%2046.8587L57.952%2054.2084C57.996%2054.863%2058.5398%2055.3714%2059.1959%2055.3714C59.8519%2055.3714%2060.3957%2054.863%2060.4397%2054.2084L60.9337%2046.8587Z'%20fill='%23FEF6F6'/%3e%3cpath%20d='M60.6883%2058.3455C60.6883%2057.5212%2060.0201%2056.8531%2059.1959%2056.8531C58.3716%2056.8531%2057.7034%2057.5212%2057.7034%2058.3455V58.5076C57.7034%2059.3318%2058.3716%2060%2059.1959%2060C60.0201%2060%2060.6883%2059.3318%2060.6883%2058.5076V58.3455Z'%20fill='%23FEF6F6'/%3e%3cpath%20d='M60.9337%2046.8587C61.0014%2045.853%2060.2038%2045%2059.1959%2045C58.1879%2045%2057.3903%2045.853%2057.458%2046.8587L57.952%2054.2084C57.996%2054.863%2058.5398%2055.3714%2059.1959%2055.3714C59.8519%2055.3714%2060.3957%2054.863%2060.4397%2054.2084L60.9337%2046.8587Z'%20stroke='%23FAF2F2'%20stroke-width='0.333333'/%3e%3cpath%20d='M60.6883%2058.3455C60.6883%2057.5212%2060.0201%2056.8531%2059.1959%2056.8531C58.3716%2056.8531%2057.7034%2057.5212%2057.7034%2058.3455V58.5076C57.7034%2059.3318%2058.3716%2060%2059.1959%2060C60.0201%2060%2060.6883%2059.3318%2060.6883%2058.5076V58.3455Z'%20stroke='%23FAF2F2'%20stroke-width='0.333333'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_592_103103'%3e%3crect%20width='80'%20height='80'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",$p="data:image/svg+xml,%3csvg%20width='80'%20height='80'%20viewBox='0%200%2080%2080'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M42.333%2066.3335C39.0193%2066.3335%2036.333%2063.6472%2036.333%2060.3335L36.333%2028.6668C36.333%2025.3531%2039.0193%2022.6668%2042.333%2022.6668L61.9997%2022.6668C65.3134%2022.6668%2067.9997%2025.3531%2067.9997%2028.6668L67.9997%2060.3335C67.9997%2063.6472%2065.3134%2066.3335%2061.9997%2066.3335L42.333%2066.3335Z'%20fill='%238F9AAB'/%3e%3cpath%20d='M19.6665%2066.3335C16.3528%2066.3335%2013.6665%2063.6472%2013.6665%2060.3335L13.6665%2019.6668C13.6665%2016.3531%2016.3528%2013.6668%2019.6665%2013.6668L47.9998%2013.6668C51.3136%2013.6668%2053.9998%2016.3531%2053.9998%2019.6668L53.9998%2060.3335C53.9998%2063.6472%2051.3135%2066.3335%2047.9998%2066.3335L19.6665%2066.3335Z'%20fill='%23C7CED6'/%3e%3ccircle%20cx='59.3332'%20cy='56.0002'%20r='13.6667'%20fill='%23FA5963'/%3e%3cpath%20d='M61.2672%2050.5254C61.3349%2049.5197%2060.5373%2048.6667%2059.5293%2048.6667C58.5214%2048.6667%2057.7238%2049.5197%2057.7915%2050.5254L58.2855%2057.8752C58.3295%2058.5297%2058.8733%2059.0382%2059.5293%2059.0382C60.1854%2059.0382%2060.7292%2058.5297%2060.7732%2057.8752L61.2672%2050.5254Z'%20fill='%23FEF6F6'/%3e%3cpath%20d='M61.0218%2062.0122C61.0218%2061.188%2060.3536%2060.5198%2059.5293%2060.5198C58.7051%2060.5198%2058.0369%2061.188%2058.0369%2062.0122V62.1743C58.0369%2062.9986%2058.7051%2063.6667%2059.5293%2063.6667C60.3536%2063.6667%2061.0218%2062.9986%2061.0218%2062.1743V62.0122Z'%20fill='%23FEF6F6'/%3e%3cpath%20d='M61.2672%2050.5254C61.3349%2049.5197%2060.5373%2048.6667%2059.5293%2048.6667C58.5214%2048.6667%2057.7238%2049.5197%2057.7915%2050.5254L58.2855%2057.8752C58.3295%2058.5297%2058.8733%2059.0382%2059.5293%2059.0382C60.1854%2059.0382%2060.7292%2058.5297%2060.7732%2057.8752L61.2672%2050.5254Z'%20stroke='%23FEF6F6'%20stroke-width='0.333333'/%3e%3cpath%20d='M61.0218%2062.0122C61.0218%2061.188%2060.3536%2060.5198%2059.5293%2060.5198C58.7051%2060.5198%2058.0369%2061.188%2058.0369%2062.0122V62.1743C58.0369%2062.9986%2058.7051%2063.6667%2059.5293%2063.6667C60.3536%2063.6667%2061.0218%2062.9986%2061.0218%2062.1743V62.0122Z'%20stroke='%23FEF6F6'%20stroke-width='0.333333'/%3e%3crect%20x='22'%20y='22.3335'%20width='8.66667'%20height='6.66667'%20rx='2'%20fill='%23F6F7F9'/%3e%3crect%20x='37'%20y='22.4795'%20width='8.66667'%20height='6.66667'%20rx='2'%20fill='%23F6F7F9'/%3e%3crect%20x='22'%20y='34.3804'%20width='8.66667'%20height='6.66667'%20rx='2'%20fill='%23F6F7F9'/%3e%3crect%20x='37'%20y='34.3804'%20width='8.66667'%20height='6.66667'%20rx='2'%20fill='%23F6F7F9'/%3e%3crect%20x='22'%20y='46.3335'%20width='8.66667'%20height='11'%20rx='2'%20fill='%23F6F7F9'/%3e%3c/svg%3e";var F=(n=>(n[n.NOT_FOUND=21227]="NOT_FOUND",n[n.STOPPED_BIZ_CERT=21228]="STOPPED_BIZ_CERT",n[n.CLOSED_BIZ_CERT=21229]="CLOSED_BIZ_CERT",n[n.RESTRICTED_BIZ_CERT=22001]="RESTRICTED_BIZ_CERT",n[n.NOT_MATCHED_NAME=21232]="NOT_MATCHED_NAME",n[n.NOT_MATCHED_MAIN_SERVICE=21233]="NOT_MATCHED_MAIN_SERVICE",n[n.NONEXIST_USER_MAIN_SERVICE=20230]="NONEXIST_USER_MAIN_SERVICE",n[n.NON_AUTHORIZED_USER=20231]="NON_AUTHORIZED_USER",n[n.NOT_PASSED_LOGIC=21235]="NOT_PASSED_LOGIC",n))(F||{}),I=(n=>(n.NOT_FOUND="not_found",n.STOPPED_BIZ_CERT="stopped_biz_cert",n.CLOSED_BIZ_CERT="closed_biz_cert",n.RESTRICTED_BIZ_CERT="restricted_biz_cert",n.NOT_MATCHED_NAME="not_matched_name",n.NOT_MATCHED_MAIN_SERVICE="not_matched_main_service",n.NOT_PASSED_LOGIC="non_passed_logic",n))(I||{});const Mp={not_found:"사업자 정보를 찾을 수 없어요",stopped_biz_cert:"현재 휴업중인 사업자 정보예요",closed_biz_cert:"현재 폐업한 사업자 정보예요",restricted_biz_cert:"이용이 제한된 사업자 정보예요",not_matched_name:`사업자 대표 이름과
10본인인증된 이름이
11일치하지 않아요`,not_matched_main_service:`대표 서비스와
12사업자 업태/종목이
13일치하지 않아요`},Ta={not_matched_name:"본인 인증 실패",not_matched_main_service:"업태/종목 실패",non_passed_logic:"자동 검수 실패"},Sp=s((n,e)=>{let t="";switch(n){case"not_found":t="사업자 정보가 유효하지 않거나, 최근 등록된 사업자는 검색되지 않을 수 있어요.";break;case"stopped_biz_cert":t="휴업 중인 경우 사업자 정보 확인이 어려워요. 만약 휴업 상태가 아니라면 고객센터로 문의해 주세요.";break;case"closed_biz_cert":t="폐업한 경우 사업자 정보 확인이 어려워요. 만약 폐업 상태가 아니라면 고객센터로 문의해 주세요.";break;case"restricted_biz_cert":t="다른 사업자등록번호로 검색해 보세요. 계속 이용 제한 사업자로 안내되는 경우 고객센터로 문의해 주세요.";break;case"not_matched_name":t="사업자등록번호를 다시 검색해 주세요. 그래도 같은 문제가 발생한다면 사업자등록증을 직접 등록해 주세요.";break;case"not_matched_main_service":t=`${e} 서비스와 일치하는 업태/종목 사업자번호를 다시 검색해 주세요. 그래도 같은 문제가 발생한다면 사업자등록증을 직접 등록해 주세요.`;break}return t},"getAutomationBizCertErrorDescription"),xp={not_found:Dp,stopped_biz_cert:sa,closed_biz_cert:sa,restricted_biz_cert:wp,not_matched_name:Ip,not_matched_main_service:$p},ps={[H.Family]:"가족",[H.Employee]:"직원",[H.CoRepresentative]:"공동대표"},Ep={[h.PowerOfAttorney]:"위임장",[h.SealCertificate]:"인감증명서 또는 본인서명사실 확인서",[h.FamilyRelationCertificate]:"가족관계증명서",[h.EmploymentCertificate]:"재직증명서 또는 근로계
13약서",[h.CorporateSealCertificate]:"법인인감증명서",[h.AlienRegistration]:"외국인등록증"},Tp={[h.PowerOfAttorney]:ae.Delegation,[h.SealCertificate]:ae.SealOrSignatureCertificate,[h.CorporateSealCertificate]:ae.SealOrSignatureCertificate,[h.FamilyRelationCertificate]:ae.FamilyRelation,[h.EmploymentCertificate]:ae.Employment,[h.AlienRegistration]:ae.AlienRegistration},Fa={[H.Family]:[{type:h.PowerOfAttorney,required:!0},{type:h.SealCertificate,required:!0},{type:h.FamilyRelationCertificate,required:!0},{type:h.AlienRegistration,required:!1}],[H.Employee]:[{type:h.PowerOfAttorney,required:!0},{type:h.SealCertificate,required:!0},{type:h.EmploymentCertificate,required:!0},{type:h.AlienRegistration,required:!1}],[H.CoRepresentative]:[{type:h.PowerOfAttorney,required:!0},{type:h.CorporateSealCertificate,required:!0}]},La="https://docs.google.com/document/d/1U26oTO4mypJwSizO18OZM2K-brnUQDll1uqsBTgCjUY/edit?tab=t.0",ti={UPLOAD_ERROR:`사진 등록에 실패했습니다
14잠시 후 다시 시도해 주세요`,MAX_SIZE:s(n=>`사진은 1개 당 최대 ${n}MB까지 등록 가능합니다`,"MAX_SIZE"),INVALID_EXTENSION:"지원하지 않는 파일 형식을 포함하고 있습니다",MAX_COUNT:s(n=>`사진은 최대 ${n}장까지 첨부 가능합니다`,"MAX_COUNT")};var Fp=Object.defineProperty,Lp=Object.getOwnPropertyDescriptor,Ra=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Lp(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Fp(e,t,i),i},"__decorateClass$M"),ot;let hi=(ot=class extends p{constructor(){super(...arguments),this.selectedRelation=null}get relationOptions(){return Object.keys(ps).map(e=>({value:e,label:ps[e]}))}handlePrevClick(){this.$emit("prev")}handleNextClick(){this.$emit("next",this.selectedRelation)}mounted(){this.selectedRelation=this.initialRelation}},s(ot,"BizRelationStep"),ot);Ra([u({type:String,default:null})],hi.prototype,"initialRelation",2);hi=Ra([c({components:{SvgIcon:U,BottomFixedTwoButton:qr,PrismaButton:T,PrismaRadioGroup:ya}})],hi);var Rp=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"content-wrapper"},[t("div",{staticClass:"contents-container"},[t("div",{staticClass:"title-info"},[t("SvgIcon",{attrs:{prisma:"",icon:"graphics/graphic_triangle_error",width:48,height:48}}),t("Typography",{attrs:{as:"p",variant:"headline24",color:"primary"}},[e._v(" 대표자명과 본인인증 정보가"),t("br"),e._v("일치하지 않아요 ")]),t("Typography",{attrs:{variant:"body16:regular",color:"secondary"}},[e._v("사업자와의 관계를 확인해 주세요.")])],1),t("PrismaRadioGroup",{staticClass:"radio-group",attrs:{name:"bizRelation",options:e.relationOptions,bordering:""},model:{value:e.selectedRelation,callback:s(function(r){e.selectedRelation=r},"callback"),expression:"selectedRelation"}})],1),t("BottomFixedTwoButton",{staticClass:"footer-contents",attrs:{variant:"three/seven",position:"sticky"}},[t("PrismaButton",{attrs:{variant:"secondary_solid",size:"large"},on:{click:e.handlePrevClick}},[e._v("이전")]),t("PrismaButton",{attrs:{variant:"primary",size:"large",disabled:!e.selectedRelation},on:{click:e.handleNextClick}},[e._v("다음")])],1)],1)},"render"),Op=[],Np=d(hi,Rp,Op,!1,null,"4830b77e");const kp=Np.exports;var jp=Object.defineProperty,zp=Object.getOwnPropertyDescriptor,Oa=s((n,e,t,r)=>{for(var i=r>1?void 0:r?zp(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&jp(e,t,i),i},"__decorateClass$L"),nt;let vi=(nt=class extends p{get relationLabel(){return ps[this.selectedRelation]}get requiredDocuments(){return Fa[this.selectedRelation].map(({type:e,required:t})=>`${Ep[e]} (${t?"필수":"선택"})`)}handleDocumentTemplateClick(){window.open(La,"_blank","noopener,noreferrer")}},s(nt,"BizDocumentGuideStep"),nt);Oa([u({type:String,required:!0})],vi.prototype,"selectedRelation",2);vi=Oa([c({components:{SvgIcon:U,BottomFixedTwoButton:qr,PrismaButton:T}})],vi);var Gp=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"content-wrapper"},[t("div",{staticClass:"contents-container"},[t("div",{staticClass:"title-info"},[t("SvgIcon",{attrs:{prisma:"",icon:"graphics/graphic_paper_line",width:48,height:48}}),t("Typography",{attrs:{as:"p",variant:"headline24",color:"primary"}},[e._v(" "+e._s(e.relationLabel)+"임을 확인하기 위해"),t("br"),e._v("추가 서류가 필요해요 ")
14])],1),t("div",{staticClass:"document-card"},[t("ul",{staticClass:"document-list"},e._l(e.requiredDocuments,function(r,i){return t("li",{key:i,staticClass:"document-item"},[t("PrismaIcon",{attrs:{name:"bullet_outlined",size:16,color:"primary"}}),t("Typography",{attrs:{variant:"body14:regular",color:"primary"}},[e._v(e._s(r))])],1)}),0),t("PrismaButton",{attrs:{variant:"secondary_solid",size:"medium",full:""},on:{click:e.handleDocumentTemplateClick}},[e._v(" 위임장 양식 확인하기 ")])],1)]),t("BottomFixedTwoButton",{staticClass:"footer-contents",attrs:{variant:"three/seven",position:"sticky"}},[t("PrismaButton",{attrs:{variant:"secondary_solid",size:"large"},on:{click:s(function(r){return e.$emit("prev")},"click")}},[e._v("이전")]),t("PrismaButton",{attrs:{variant:"primary",size:"large"},on:{click:s(function(r){return e.$emit("next")},"click")}},[e._v("서류 등록하기")])],1)],1)},"render"),Vp=[],Up=d(vi,Gp,Vp,!1,null,"bdb2a48a");const qp=Up.exports;var Zp=Object.defineProperty,Hp=Object.getOwnPropertyDescriptor,Rs=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Hp(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Zp(e,t,i),i},"__decorateClass$K"),lt;let Sr=(lt=class extends p{constructor(){super(...arguments),this.allowedExt=["jpg","jpeg","png","bmp","heic"],this.fileMaxSizeMB=10,this.MAX_IMAGE_PIXEL=5e3,this.MIN_IMAGE_PIXEL=600,this.isUploading=!1,this.uploadingCount=0}openFilePicker(){if(this.value.length>=this.max){this.popToast(ti.MAX_COUNT(this.max));return}this.$refs.fileInput.click()}setValidator(){this.$validator.extend("fileSize",{getMessage:s(()=>`사진은 1개 당 최대 ${this.fileMaxSizeMB}MB까지 등록 가능합니다`,"getMessage"),validate:s(e=>{const t=S.calcSizeByUnit(e.size,this.fileMaxSizeMB,"MB").size,r=this.fileMaxSizeMB;return t<r},"validate")}),this.$validator.extend("fileExtension",{getMessage:s(()=>"지원하지 않는 파일 형식을 포함하고 있습니다","getMessage"),validate:s(e=>{const t=S.getExtension(e).toLowerCase();return this.allowedExt.includes(t)},"validate")}),this.$validator.extend("filePixelHigh",{getMessage:s(()=>"사진 크기가 너무 큽니다","getMessage"),validate:s(e=>S.getSize(e).then(([t,r])=>t<=this.MAX_IMAGE_PIXEL&&r<=this.MAX_IMAGE_PIXEL),"validate")}),this.$validator.extend("filePixelLow",{getMessage:s(()=>"사진 크기가 너무 작습니다","getMessage"),validate:s(e=>S.getSize(e).then(([t,r])=>t>=this.MIN_IMAGE_PIXEL&&r>=this.MIN_IMAGE_PIXEL),"validate")}),this.$validator.attach({name:"uploadedFile",rules:"fileSize|fileExtension|filePixelHigh|filePixelLow"})}mounted(){this.setValidator()}async onFileChange(e){var r,i;const t=e.target;try{const a=Array.from(t.files??[]);if(!a.length)return;const o=this.max-this.value.length;a.length>o&&this.popToast(ti.MAX_COUNT(this.max));const C=[];let v=null;for(const A of a.slice(0,o)){if(!await this.$validator.validate("uploadedFile",A)){v||(v=this.errors.first("uploadedFile"));continue}C.push(A)}if(v&&this.popToast(v),!C.length)return;this.isUploading=!0,this.uploadingCount=C.length;const{response:B}=await ca.uploadFiles({topic:da.PROVIDER,files:C}),P=[];for(const A of B??[])A.fileUrl&&P.push({id:A.fileId,url:A.fileUrl});if(!P.length){this.popToast(ti.UPLOAD_ERROR,"warning");return}this.$emit("input",[...this.value,...P])}catch(a){const o=y(a)&&((i=(r=a.response)==null?void 0:r.data)==null?void 0:i.reason);this.popToast(o||ti.UPLOAD_ERROR,"warning")}finally{t.value="",this.isUploading=!1,this.uploadingCount=0}}removeImage(e){this.$emit("input",this.value.filter(t=>t.id!==e))}popToast(e,t="default"){this.$prismaToast.pop({type:"message",text:e,state:t})}},s(lt,"DocumentImageUploader"),lt);Rs([u({type:Array,default:s(()=>[],"default")})],Sr.prototype,"value",2);Rs([u({type:Number,default:3})],Sr.prototype,"max",2);Sr=Rs([c({components:{PrismaThumbnail:ga}})],Sr);var Kp=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"uploader"},[t("button",{staticClass:"upload-button",attrs:{type:"button",disabled:e.isUploading},on:{click:e.openFilePicker}},[t("PrismaIcon",{attrs:{name:"camera_filled",color:"primary"}}),t("Typography",{attrs:{variant:"body14:regular",color:"primary"}},[e._v(e._s(e.value.length)+"/"+e._s(e.max))])],1),e._l(e.value,function(r,i){return t("div",{key:r.id,staticClass:"image-box"},[t("PrismaThumbnail",{attrs:{src:e.$addWebpQuery(r.url),alt:`첨부 이미지 ${i+1}`,border:"",ratio:"1:1"}}),t("button",{staticClass:"remove-button",attrs:{type:"button","aria-label":`첨부 이미지 ${i+1} 삭제`},on:{click:s(function(a){return e.removeImage(r.id)},"click")}},[t("PrismaIcon",{attrs:{name:"cancel_circle_filled",size:24}})],1)],1)}),e._l(e.uploadingCount,function(r){return t("div",{key:`uploading-${r}`,staticClass:"image-box"},[t("PrismaThumbnail",{attrs:{loading:"",border:"",ratio:"1:1"}})],1)}),t("input",{ref:"fileInput",attrs:{type:"file",multiple:"",accept:e.allowedExt.map(r=>"image/"+r).join(",")},on:{change:e.onFileChange}})],2)},"render"),Wp=[],Qp=d(Sr,Kp,Wp,!1,null,"f182068f");const Yp=Qp.exports;var Xp=Object.defineProperty,Jp=Object.getOwnPropertyDescriptor,ee=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Jp(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Xp(e,t,i),i},"__decorateClass$J"),ut;let j=(ut=class extends p{constructor(){super(...arguments),this.PRIVACY_USE_AGREE_OPTION="privacyUseAgree",this.privacyAgreements=[]}get checkboxOptions(){return[{value:this.PRIVACY_USE_AGREE_OPTION,label:"개인정보 수집 및 이용에 동의합니다"}]}
14get imageList(){return this.value}set imageList(e){this.$emit("input",e)}get isValid(){const e=!this.required||this.imageList.length>0;return this.isLastStep?e&&this.privacyAgreements.includes(this.PRIVACY_USE_AGREE_OPTION):e}},s(ut,"DocumentSubmitStepLayout"),ut);ee([X("input",{type:Array,default:s(()=>[],"default")})],j.prototype,"value",2);ee([u({type:String,required:!1})],j.prototype,"badge",2);ee([u({type:String,required:!0})],j.prototype,"title",2);ee([u({type:String,default:""})],j.prototype,"subtitle",2);ee([u({type:Number,default:3})],j.prototype,"max",2);ee([u({type:Boolean,default:!1})],j.prototype,"required",2);ee([u({type:Boolean,default:!1})],j.prototype,"isLastStep",2);j=ee([c({components:{BottomFixedTwoButton:qr,PrismaButton:T,PrismaBadge:tn,PrismaCheckboxGroup:rn,PrismaIcon:go,DocumentImageUploader:Yp}})],j);var eC=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"content-wrapper"},[t("div",{staticClass:"contents-container"},[t("div",{staticClass:"content-group"},[t("div",{staticClass:"title-info"},[e.badge?t("div",{staticClass:"badge-wrapper"},[t("PrismaBadge",{attrs:{type:"strong",variant:"gray",size:"tiny"}},[e._v(e._s(e.badge))])],1):e._e(),t("Typography",{attrs:{as:"p",variant:"headline24",color:"primary"}},[e._v(e._s(e.title))]),e.subtitle?t("Typography",{attrs:{variant:"body16:regular",color:"secondary"}},[e._v(e._s(e.subtitle))]):e._e()],1),e._t("default")],2),t("DocumentImageUploader",{attrs:{max:e.max},model:{value:e.imageList,callback:s(function(r){e.imageList=r},"callback"),expression:"imageList"}})],1),t("div",{staticClass:"footer-contents"},[e.isLastStep?t("div",{staticClass:"privacy-agree-checkbox"},[t("PrismaCheckboxGroup",{staticClass:"privacy-agree-checkbox-group",attrs:{options:e.checkboxOptions,name:e.PRIVACY_USE_AGREE_OPTION},model:{value:e.privacyAgreements,callback:s(function(r){e.privacyAgreements=r},"callback"),expression:"privacyAgreements"}}),t("button",{staticClass:"privacy-use-guide-button",attrs:{type:"button","aria-label":"개인정보 수집 및 이용 안내 보기"},on:{click:s(function(r){return e.$showModal({name:"bizPrivacyUseAgree"})},"click")}},[t("PrismaIcon",{attrs:{name:"chevron_right_outlined",size:16,color:"secondary"}})],1)],1):e._e(),t("BottomFixedTwoButton",{staticClass:"button-wrapper",attrs:{variant:"three/seven","show-gradient":!1,position:"sticky"}},[t("PrismaButton",{attrs:{variant:"secondary_solid",size:"large"},on:{click:s(function(r){return e.$emit("prev")},"click")}},[e._v("이전")]),t("PrismaButton",{attrs:{variant:"primary",size:"large",disabled:!e.isValid},on:{click:s(function(r){return e.$emit("next")},"click")}},[e._v(e._s(e.isLastStep?"제출하기":"다음"))])],1)],1)])},"render"),tC=[],rC=d(j,eC,tC,!1,null,"dd71b8e4");const gr=rC.exports;var iC=Object.defineProperty,sC=Object.getOwnPropertyDescriptor,Oi=s((n,e,t,r)=>{for(var i=r>1?void 0:r?sC(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&iC(e,t,i),i},"__decorateClass$I"),ct;let lr=(ct=class extends p{handleTemplateClick(){window.open(La,"_blank","noopener,noreferrer")}},s(ct,"PowerOfAttorneyStep"),ct);Oi([X("input",{type:Array,default:s(()=>[],"default")})],lr.prototype,"images",2);Oi([u({type:Boolean,default:!1})],lr.prototype,"required",2);Oi([u({type:Boolean,default:!1})],lr.prototype,"isLastStep",2);lr=Oi([c({components:{DocumentSubmitStepLayout:gr,PrismaButton:T}})],lr);var aC=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("DocumentSubmitStepLayout",{attrs:{value:e.images,title:"위임장을 등록해 주세요",subtitle:"숨고에서 제공하는 위임장 양식을 사용해 주세요.",required:e.required,"is-last-step":e.isLastStep},on:{input:s(function(r){return e.$emit("input",r)},"input"),prev:s(function(r){return e.$emit("prev")},"prev"),next:s(function(r){return e.$emit("next")},"next")}},[t("PrismaButton",{attrs:{variant:"secondary_solid",size:"medium"},on:{click:e.handleTemplateClick}},[e._v("위임장 양식 확인하기")])],1)},"render"),oC=[],nC=d(lr,aC,oC,!1,null,null);const lC=nC.exports;var uC=Object.defineProperty,cC=Object.getOwnPropertyDescriptor,Ni=s((n,e,t,r)=>{for(var i=r>1?void 0:r?cC(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&uC(e,t,i),i},"__decorateClass$H"),dt;let ur=(dt=class extends p{get documentDescription(){return`개인: 인감증명서 또는 본인서명사실확인서
15법인: 법인인감증명서`}handleGuideClick(){this.$showModal({name:"sealCertificateGuide",stacked:!0})}},s(dt,"SealCertificateStep"),dt);Ni([X("input",{type:Array,default:s(()=>[],"default")})],ur.prototype,"images",2);Ni([u({type:Boolean,default:!1})],ur.prototype,"required",2);Ni([u({type:Boolean,default:!1})],ur.prototype,"isLastStep",2);ur=Ni([c({components:{DocumentSubmitStepLayout:gr,PrismaButton:T,PrismaCallout:Zr}})],ur);var dC=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("DocumentSubmitStepLayout",{attrs:{value:e.images,title:"인감증명서 또는 본인서명사실확인서를 등록해 주세요",required:e.required,"is-last-step":e.isLastStep},on:{input:s(function(r){return e.$emit("input",r)},"input"),prev:s(function(r){return e.$emit("prev")},"prev"),next:s(function(r){return e.$emit("next")},"next")}},[t("PrismaCallout",{attrs:{variants:"bullet",state:"information",title:"사업자 유형별 제출 서류",description:e.documentDescription}}),t("PrismaButton",{attrs:{variant:"secondary_solid",size:"medium"},on:{click:e.handleGuideClick}},[e._v("서류 준비 방법 확인하기")])],1)},"render"),pC=[],CC=d(ur,dC,pC,!1,null,null);const fC=CC.exports;var mC=Object.defineProperty,hC=Object.getOwnPropertyDescriptor,ki=s((n,e,t,r)=>{for(var i=r>1?void 0:r?hC(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&mC(e,t,i),i},"__decorateClass$G"),pt;
15let cr=(pt=class extends p{},s(pt,"EmploymentCertificateStep"),pt);ki([X("input",{type:Array,default:s(()=>[],"default")})],cr.prototype,"images",2);ki([u({type:Boolean,default:!1})],cr.prototype,"required",2);ki([u({type:Boolean,default:!1})],cr.prototype,"isLastStep",2);cr=ki([c({components:{DocumentSubmitStepLayout:gr}})],cr);var vC=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("DocumentSubmitStepLayout",{attrs:{value:e.images,title:"재직증명서 또는 근로계약서를 등록해 주세요",required:e.required,"is-last-step":e.isLastStep},on:{input:s(function(r){return e.$emit("input",r)},"input"),prev:s(function(r){return e.$emit("prev")},"prev"),next:s(function(r){return e.$emit("next")},"next")}})},"render"),_C=[],gC=d(cr,vC,_C,!1,null,null);const yC=gC.exports;var bC=Object.defineProperty,BC=Object.getOwnPropertyDescriptor,ji=s((n,e,t,r)=>{for(var i=r>1?void 0:r?BC(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&bC(e,t,i),i},"__decorateClass$F"),Ct;let dr=(Ct=class extends p{},s(Ct,"CorporateSealCertificateStep"),Ct);ji([X("input",{type:Array,default:s(()=>[],"default")})],dr.prototype,"images",2);ji([u({type:Boolean,default:!1})],dr.prototype,"required",2);ji([u({type:Boolean,default:!1})],dr.prototype,"isLastStep",2);dr=ji([c({components:{DocumentSubmitStepLayout:gr}})],dr);var PC=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("DocumentSubmitStepLayout",{attrs:{value:e.images,title:"법인인감증명서를 등록해 주세요",required:e.required,"is-last-step":e.isLastStep},on:{input:s(function(r){return e.$emit("input",r)},"input"),prev:s(function(r){return e.$emit("prev")},"prev"),next:s(function(r){return e.$emit("next")},"next")}})},"render"),AC=[],DC=d(dr,PC,AC,!1,null,null);const wC=DC.exports;var IC=Object.defineProperty,$C=Object.getOwnPropertyDescriptor,zi=s((n,e,t,r)=>{for(var i=r>1?void 0:r?$C(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&IC(e,t,i),i},"__decorateClass$E"),ft;let pr=(ft=class extends p{},s(ft,"FamilyRelationCertificateStep"),ft);zi([X("input",{type:Array,default:s(()=>[],"default")})],pr.prototype,"images",2);zi([u({type:Boolean,default:!1})],pr.prototype,"required",2);zi([u({type:Boolean,default:!1})],pr.prototype,"isLastStep",2);pr=zi([c({components:{DocumentSubmitStepLayout:gr}})],pr);var MC=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("DocumentSubmitStepLayout",{attrs:{value:e.images,title:"가족관계증명서를 등록해 주세요",required:e.required,"is-last-step":e.isLastStep},on:{input:s(function(r){return e.$emit("input",r)},"input"),prev:s(function(r){return e.$emit("prev")},"prev"),next:s(function(r){return e.$emit("next")},"next")}})},"render"),SC=[],xC=d(pr,MC,SC,!1,null,null);const EC=xC.exports;var TC=Object.defineProperty,FC=Object.getOwnPropertyDescriptor,Gi=s((n,e,t,r)=>{for(var i=r>1?void 0:r?FC(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&TC(e,t,i),i},"__decorateClass$D"),mt;let Cr=(mt=class extends p{},s(mt,"AlienRegistrationStep"),mt);Gi([X("input",{type:Array,default:s(()=>[],"default")})],Cr.prototype,"images",2);Gi([u({type:Boolean,default:!1})],Cr.prototype,"required",2);Gi([u({type:Boolean,default:!1})],Cr.prototype,"isLastStep",2);Cr=Gi([c({components:{DocumentSubmitStepLayout:gr}})],Cr);var LC=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("DocumentSubmitStepLayout",{attrs:{value:e.images,badge:"외국인 대상",title:"외국인등록증을 등록해 주세요",subtitle:"본인이 외국인인 경우에만 제출해 주세요.",required:e.required,"is-last-step":e.isLastStep},on:{input:s(function(r){return e.$emit("input",r)},"input"),prev:s(function(r){return e.$emit("prev")},"prev"),next:s(function(r){return e.$emit("next")},"next")}})},"render"),RC=[],OC=d(Cr,LC,RC,!1,null,null);const NC=OC.exports;var kC=Object.defineProperty,jC=Object.getOwnPropertyDescriptor,Os=s((n,e,t,r)=>{for(var i=r>1?void 0:r?jC(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&kC(e,t,i),i},"__decorateClass$C");const zC={[h.PowerOfAttorney]:lC,[h.SealCertificate]:fC,[h.EmploymentCertificate]:yC,[h.CorporateSealCertificate]:wC,[h.FamilyRelationCertificate]:EC,[h.AlienRegistration]:NC};var ht;let xr=(ht=class extends p{constructor(){super(...arguments),this.currentIndex=0}get documents(){return Fa[this.selectedRelation]}get totalStepCount(){return this.documents.length}get currentDocumentType(){var e;return(e=this.documents[this.currentIndex])==null?void 0:e.type}get isCurrentDocumentRequired(){var e;return((e=this.documents[this.currentIndex])==null?void 0:e.required)??!1}get isLastStep(){return this.currentIndex===this.documents.length-1}get currentStepComponent(){return zC[this.currentDocumentType]}get currentImages(){return this.collectedImages[this.currentDocumentType]||[]}set currentImages(e){this.$emit("update:collectedImages",{...this.collectedImages,[this.currentDocumentType]:e})}handlePrev(){if(this.currentIndex===0){this.$emit("prev");return}this.currentIndex-=1}handleNext(){if(this.isLastStep){this.$emit("submit",this.collectedImages);return}this.currentIndex+=1}},s(ht,"BizDocumentSubmitStep"),ht);Os([u({type:String,required:!0})],xr.prototype,"selectedRelation",2);Os([u({type:Object,default:s(()=>({}),"default")})],xr.prototype,"collectedImages",2);xr=Os([c],xr);var GC=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"submit-step"},[t("div",{staticClass:"progress-bar"},e._l(e.totalStepCount,function(r){return t("div",{key:r,staticClass:"segment",class:{active:r-1<=e.currentIndex}})}),0),t(e.currentStepComponent,{tag:"component",attrs:{required:e.isCurrentDocumentRequired,"is-last-step":e.isLastStep},on:{prev:e.handlePrev,next:e.handleNext},model:{value:e.currentImages,callback:s(function(r){e.currentImages=r},"callback"),expression:"currentImages"}})],1)},"render"),VC=[],UC=d(xr,GC,VC,!1,null,"72633e1b");const qC=UC.exports;var ZC=Object.defineProperty,HC=Object.getOwnPropertyDescriptor,KC=s((n,e,t,r)=>{for(var i=r>1?void 0:r?HC(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&ZC(e,t,i),i},"__decorateClass$B"),vt;let Cs=(vt=class extends p{constructor(){super(...arguments),this.selectedType=null}get businessTypeOptions(){return[{value:mi.Individual,label:"개인사업자(또는 법인사업자 각자대표)"},{value:mi.Corporate,label:"법인사업자"}]}get buttonGroup(){return{primaryButton:{label:"등록하기",disabled:!this.selectedType,onClick:this.onSubmit},subButton:null,offGradient:!0}}onSubmit(){this.$emit("submit",this.selectedType)}onClose(){this.$emit("close")}},s(vt,"BizBusinessTypeModal"),vt);Cs=KC([c({components:{PrismaFlexModal:Vr,PrismaRadioGroup:ya}})],Cs);var WC=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("PrismaFlexModal",{attrs:{size:"small","enable-back-close":"","off-header":"","md-type":"bottom-sheet","button-group":e.buttonGroup},on:{close:e.onClose},scopedSlots:e._u([{key:"body",fn:s(function(){return[t("div",{staticClass:"close-header"},[t("button",{staticClass:"close-button",attrs:{type:"button","aria-label":"닫기"},on:{click:e.onClose}},[t("PrismaIcon",{attrs:{name:"cancel_outlined",color:"primary",size:24}})],1)]),t("div",{staticClass:"content-wrapper"},[t("div",{staticClass:"title-info"},[t("Typography",{attrs:{as:"h2",variant:"headline24",color:"primary"}},[e._v("사업자 유형을 선택해 주세요")]),t("Typography",{attrs:{variant:"body16:regular",color:"primary"}},[e._v("제출해야 하는 서류를 안내하기 위해 사업자 유형을 확인해요.")])],1),t("PrismaRadioGroup",{staticClass:"radio-group",attrs:{name:"bizBusinessType",options:e.businessTypeOptions,bordering:""},model:{value:e.selectedType,callback:s(function(r){e.selectedType=r},"callback"),expression:"selectedType"}})],1)]},"fn"),proxy:!0}])})},"render"),QC=[],YC=d(Cs,WC,QC,!1,null,"1d937e39");const XC=YC.exports;var JC=Object.defineProperty,ef=Object.getOwnPropertyDescriptor,tf=s((n,e,t,r)=>{for(var i=r>1?void 0:r?ef(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&JC(e,t,i),i},"__decorateClass$A"),_t;let fs=(_t=class extends p{get buttonGroup(){return{primaryButton:{label:"서류 불러오기",onClick:this.onConfirm},subButton:null,offGradient:!0}}onConfirm(){this.$emit("confirm")}onClose(){this.$emit("close")}},s(_t,"CertExtraFileAlertModal"),_t);fs=tf([c({components:{PrismaFlexModal:Vr}})],fs);var rf=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("PrismaFlexModal",{attrs:{size:"small","enable-back-close":"","off-header":"","md-type":"bottom-sheet","button-group":e.buttonGroup},on:{close:e.onClose},scopedSlots:e._u([{key:"body",fn:s(function(){return[t("div",{staticClass:"close-header"},[t("button",{staticClass:"close-button",attrs:{type:"button","aria-label":"닫기"},on:{click:e.onClose}},[t("PrismaIcon",{attrs:{name:"cancel_outlined",color:"primary",size:24}})],1)]),t("div",{staticClass:"content-wrapper"},[t("div",{staticClass:"description"},[t("Typography",{attrs:{as:"h2",variant:"headline24",color:"primary"}},[e._v("등록 전 꼭 확인해 주세요")]),t("Typography",{attrs:{as:"p",variant:"body16:regular",color:"primary"}},[e._v("업종과 사업장 정보가 있는 사업자등록증 별지만 등록해 주세요.")]),t("Typography",{attrs:{as:"p",variant:"body14:regular",color:"blue"}},[e._v("위임장, 인감증명서, 재직증명서 등은 별지가 아니에요.")])],1),t("img",{staticClass:"guide
15-image",attrs:{src:sn,alt:"사업자등록증 별지 예시 이미지"}})])]},"fn"),proxy:!0}])})},"render"),sf=[],af=d(fs,rf,sf,!1,null,"b73c0081");const of=af.exports;var nf=Object.defineProperty,lf=Object.getOwnPropertyDescriptor,Ns=s((n,e,t,r)=>{for(var i=r>1?void 0:r?lf(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&nf(e,t,i),i},"__decorateClass$z"),gt;let Er=(gt=class extends p{constructor(){super(...arguments),this.step=1,this.formDraftData=null,this.selectedRelation=null,this.selectedBusinessType=null,this.collectedDocumentImages={},this.showBusinessTypeModal=!1,this.showExtraFileAlert=!1,this.isFormChanged=!1}get isFormStep(){return this.step===1}get isRelationStep(){return this.step===2}get isDocumentGuideStep(){return this.step===3}get isDocumentSubmitStep(){return this.step===4}prevStep(){this.step>1&&(this.step=this.step-1)}onSave(e){this.formDraftData=e,this.selectedRelation=null,this.selectedBusinessType=null,this.collectedDocumentImages={},this.submitRegistration([],H.Self)}onCertificateName(e){this.$emit("certificate-name",e)}onFormChanged(){this.isFormChanged=!0}onExtraFileAlertConfirm(){this.showExtraFileAlert=!1,this.$refs.formStep.openExtraFilePicker()}onRelationNext(e){if(e!==this.selectedRelation&&(this.collectedDocumentImages={}),this.selectedRelation=e,this.selectedBusinessType=null,e===H.CoRepresentative){this.showBusinessTypeModal=!0;return}this.step=3}onBusinessTypeSubmit(e){if(this.showBusinessTypeModal=!1,this.selectedBusinessType=e,e===mi.Individual){this.submitRegistration();return}this.step=3}onDocumentNext(){this.step=4}onDocumentSubmit(e){this.collectedDocumentImages=e;const t=Object.entries(e).map(([r,i])=>({docCategory:Tp[r],fileIds:(i??[]).map(a=>a.id)})).filter(r=>r.fileIds.length>0);this.submitRegistration(t)}submitRegistration(e=[],t=this.selectedRelation){if(!this.formDraftData)return;const r=this.formDraftData.imgUrls??[],i={businessLicenseNumber:this.formDraftData.businessLicenseNumber,businessImages:r.map(a=>a.id),relationType:t,...this.selectedBusinessType&&{businessEntityType:this.selectedBusinessType},...e.length>0&&{documents:e}};this.$emit("submit-documents",i)}onNameMismatch(e){this.formDraftData=e,this.step=2}async onClose(){this.isFormChanged&&!await this.$prismaConfirm({title:"사업자 정보 등록을 그만두시겠어요?",description:"지금까지 등록한 내용은 저장되지 않아요.",okButtonLabel:"그만두기",cancelButtonLabel:"계속 등록하기",enableBackClose:!0,showCancelButton:!0,type:"horizontal"})||this.$emit("close")}},s(gt,"ManualBizCertModal"),gt);Ns([u({type:Object,default:null})],Er.prototype,"initialBizCertDetail",2);Ns([u({type:Boolean,default:!1})],Er.prototype,"isPending",2);Er=Ns([c({components:{PrismaFlexModal:Vr,BizCertFormStep:Ap,BizRelationStep:kp,BizDocumentGuideStep:qp,BizDocumentSubmitStep:qC,BizBusinessTypeModal:XC,CertExtraFileAlertModal:of}})],Er);var uf=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",[t("PrismaFlexModal",{attrs:{size:"small","md-type":"full",height:800,strong:"","off-header-border":""},on:{close:e.onClose},scopedSlots:e._u([{key:"body",fn:s(function(){return[t("div",{staticClass:"biz-content-wrapper"},[e.isFormStep?t("BizCertFormStep",{ref:"formStep",attrs:{"initial-biz-cert-detail":e.initialBizCertDetail,"biz-cert-draft-data":e.formDraftData,"is-pending":e.isPending},on:{save:e.onSave,"certificate-name":e.onCertificateName,"name-mismatch":e.onNameMismatch,changed:e.onFormChanged,"request-extra-file":s(function(r){e.showExtraFileAlert=!0},"request-extra-file")}}):e.isRelationStep?t("BizRelationStep",{attrs:{"initial-relation":e.selectedRelation},on:{prev:e.prevStep,next:e.onRelationNext}}):e.isDocumentGuideStep?t("BizDocumentGuideStep",{attrs:{"selected-relation":e.selectedRelation},on:{prev:e.prevStep,next:e.onDocumentNext}}):e.isDocumentSubmitStep?t("BizDocumentSubmitStep",{attrs:{"selected-relation":e.selectedRelation,"collected-images":e.collectedDocumentImages},on:{"update:collectedImages":s(function(r){e.collectedDocumentImages=r},"update:collectedImages"),"update:collected-images":s(function(r){e.collectedDocumentImages=r},"update:collected-images"),prev:e.prevStep,submit:e.onDocumentSubmit}}
15):e._e()],1)]},"fn"),proxy:!0}])}),e.showBusinessTypeModal?t("BizBusinessTypeModal",{on:{submit:e.onBusinessTypeSubmit,close:s(function(r){e.showBusinessTypeModal=!1},"close")}}):e._e(),e.showExtraFileAlert?t("CertExtraFileAlertModal",{on:{confirm:e.onExtraFileAlertConfirm,close:s(function(r){e.showExtraFileAlert=!1},"close")}}):e._e()],1)},"render"),cf=[],df=d(Er,uf,cf,!1,null,"16f8895b");const pf=df.exports;var Cf=Object.defineProperty,ff=Object.getOwnPropertyDescriptor,Yr=s((n,e,t,r)=>{for(var i=r>1?void 0:r?ff(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Cf(e,t,i),i},"__decorateClass$y"),yt;let ce=(yt=class extends p{get isSubmitError(){return[I.NOT_MATCHED_NAME,I.NOT_MATCHED_MAIN_SERVICE].includes(this.errorType)}get showFAQLink(){return this.isSubmitError||this.errorType===I.NOT_FOUND}get mainService(){return l.profile.mainService}get errorIconPath(){return xp[this.errorType]}get errorMessageTitle(){return Mp[this.errorType]}get errorMessageDescription(){var e;return Sp(this.errorType,((e=this.mainService)==null?void 0:e.name)??"")}get trackerLocationByErrorType(){return Ta[this.errorType]}onClose(){}onAutomaticButtonClick(){}onManualButtonClick(){return{location:this.trackerLocationByErrorType}}},s(yt,"AutomaticBizCertErrorModal"),yt);Yr([u({type:String,required:!0})],ce.prototype,"errorType",2);Yr([f("close")],ce.prototype,"onClose",1);Yr([f("automatic-button-click")],ce.prototype,"onAutomaticButtonClick",1);Yr([f("click-manual-button")],ce.prototype,"onManualButtonClick",1);ce=Yr([c({components:{BottomFixedOneButton:Ur,BottomFixedTwoButton:qr,PrismaButton:T}})],ce);var mf=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("b-modal",{attrs:{"modal-class":"automatic-biz-cert-error-modal","dialog-class":"mobile-full-modal",scrollable:"",visible:"",centered:"","no-fade":"","no-close-on-backdrop":"","no-close-on-esc":""},on:{close:e.onClose},scopedSlots:e._u([{key:"modal-header",fn:s(function(){return[t("button",{staticClass:"close-button",on:{click:e.onClose}},[t("PrismaIcon",{attrs:{name:"cancel_outlined",color:"primary",size:24}})],1)]},"fn"),proxy:!0},{key:"modal-footer",fn:s(function(){return[e.isSubmitError?t("BottomFixedTwoButton",{staticClass:"button-container",attrs:{variant:"twin",position:"sticky"}},[t("PrismaButton",{attrs:{variant:"secondary_solid",size:"large"},on:{click:e.onManualButtonClick}},[e._v("직접 등록하기")]),t("PrismaButton",{attrs:{variant:"primary",size:"large"},on:{click:e.onAutomaticButtonClick}},[e._v("재검색하기")])],1):t("BottomFixedOneButton",{staticClass:"re-search-button",attrs:{variant:"solid",position:"sticky"},on:{click:e.onAutomaticButtonClick}},[e._v("재검색하기")])]},"fn"),proxy:!0}])},[t("img",{staticClass:"error-icon",attrs:{src:e.errorIconPath,width:"80",height:"80"}}),t("Typography",{staticClass:"error-title",attrs:{as:"h1",variant:"headline24",color:"primary"}},[e._v(e._s(e.errorMessageTitle))]),t("Typography",{staticClass:"error-description",attrs:{as:"p",variant:"body16:regular",color:"primary"}},[e._v(e._s(e.errorMessageDescription))]),e.showFAQLink?t("Typography",{staticClass:"faq-link",attrs:{as:"a",variant:"body14:medium",color:"purple",href:"https://help.soomgo.com/hc/ko/articles/40302092645017",target:"_blank"}},[e._v("사업자 정보 등록 정책 "),t("PrismaIcon",{attrs:{name:"chevron_right_outlined",color:"purple",size:16}})],1):e._e()],1)},"render"),hf=[],vf=d(ce,mf,hf,!1,null,"e13f47fc");const _f=vf.exports;var gf=Object.defineProperty,yf=Object.getOwnPropertyDescriptor,ks=s((n,e,t,r)=>{for(var i=r>1?void 0:r?yf(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&gf(e,t,i),i},"__decorateClass$x"),bt;let Tr=(bt=class extends p{constructor(){super(...arguments),this.currentStep=0,this.businessNumber="",this.validateResult=null,this.isNextLoading=!1,this.isSubmitLoading=!1,this.isEdit=!1}get myProfile(){return l.profile}get me(){return g.me}get myUserId(){return this.me.id}get isInputStep(){return this.currentStep===0}get isSubmitStep(){return this.currentStep===1}get isNextButtonDisabled(){return this.businessNumber.length!==10||this.errors.has("business-number-input")}get formattedValidateResultBizNumber(){return this.validateResult?Pr.businessNumberFormat(String(this.validateResult.businessLicenseNumber)):""}onClose(){}onManualButtonClick(e=null,t=null){return{location:e,initialBizCertDetail:t}}showTemporaryErrorToast(){this.$prismaToast.pop({type:"message",text:`일시적인 오류가 발생했습니다
16잠시 후 다시 시도해 주세요`,state:"warning"})}async onNextButtonClick(){var e,t,r,i;this.isNextLoading=!0;try{const{response:a}=await Ys.getBizCertValidate(this.myUserId,this.businessNumber);
16if(Xa(a)){this.$prismaToast.pop({type:"message",text:"일일 검색 횟수를 초과했습니다",state:"warning"});return}this.validateResult=a,this.currentStep=1,m.pro_business_license_information()}catch(a){if(!y(a)){this.showTemporaryErrorToast();return}const o=(t=(e=a.response)==null?void 0:e.data)!=null&&t.code?Number(a.response.data.code):null;if(o===F.NOT_PASSED_LOGIC&&((i=(r=a.response)==null?void 0:r.data)!=null&&i.reason)){this.onManualButtonClick(Ta.non_passed_logic,a.response.data.reason);return}if(o===F.NONEXIST_USER_MAIN_SERVICE){this.showNonexistMainServiceAlertAndRedriect();return}const C=this.getExpectedErrorType(o);if(C===null){this.showTemporaryErrorToast();return}this.$emit("cause-error",C)}finally{this.isNextLoading=!1}}async onBizCertSubmit(){var e,t;this.isSubmitLoading=!0;try{await Ys.postCertificateBusiness(this.myUserId,this.validateResult),this.$prismaToast.pop({type:"message",text:"사업자등록증을 등록했습니다",state:"success"}),await l.fetchProfile({userId:this.me.id,role:br.provider}),this.$emit("submit",this.isEdit?"edit":"registration","auto"),this.onClose()}catch(r){if(!y(r)){this.showTemporaryErrorToast();return}const i=(t=(e=r.response)==null?void 0:e.data)!=null&&t.code?Number(r.response.data.code):null;if(i===F.NONEXIST_USER_MAIN_SERVICE){this.showNonexistMainServiceAlertAndRedriect();return}if(i===F.NON_AUTHORIZED_USER){this.$emit("certificate-name",!0,this.onBizCertSubmit);return}const a=this.getExpectedErrorType(i);if(a===null){this.showTemporaryErrorToast();return}this.trackSubmitError(a),this.$emit("cause-error",a)}finally{this.isSubmitLoading=!1}}onPrevButtonClick(){this.validateResult=null,this.businessNumber="",this.currentStep=0}async showNonexistMainServiceAlertAndRedriect(){const{dismiss:e}=await this.$swal.fire({title:"대표 서비스<br />등록이 필요해요",text:"사업자정보를 등록하려면 먼저 대표 서비스를 추가해 주세요.",confirmButtonText:"대표 서비스 등록하기",cancelButtonText:"닫기"});e||(this.onClose(),this.$emit("focus-to-main-service"))}getExpectedErrorType(e){let t=null;switch(e){case F.RESTRICTED_BIZ_CERT:t=I.RESTRICTED_BIZ_CERT;break;case F.NOT_FOUND:t=I.NOT_FOUND;break;case F.STOPPED_BIZ_CERT:t=I.STOPPED_BIZ_CERT;break;case F.CLOSED_BIZ_CERT:t=I.CLOSED_BIZ_CERT;break;case F.NOT_MATCHED_NAME:t=I.NOT_MATCHED_NAME;break;case F.NOT_MATCHED_MAIN_SERVICE:t=I.NOT_MATCHED_MAIN_SERVICE;break}return t}trackSubmitError(e){let t="";e===I.NOT_MATCHED_NAME?t="본인 인증 미일치":e===I.NOT_MATCHED_MAIN_SERVICE&&(t="업태/종목 미일치"),t&&m.pro_business_license_fail({fail_type:t})}mounted(){this.myProfile.bizRegistration&&(this.isEdit=!0)}},s(bt,"AutomaticBizCertModal"),bt);ks([f("close")],Tr.prototype,"onClose",1);ks([f("click-manual-button")],Tr.prototype,"onManualButtonClick",1);Tr=ks([c({components:{PrismaCallout:Zr,BottomFixedOneButton:Ur,BottomFixedTwoButton:qr,PrismaButton:T}})],Tr);var bf=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("b-modal",{attrs:{"modal-class":"automatic-biz-cert-modal","dialog-class":"mobile-full-modal",scrollable:"",visible:"",centered:"","no-fade":"","no-close-on-backdrop":"","no-close-on-esc":""},on:{close:e.onClose},scopedSlots:e._u([{key:"modal-header",fn:s(function(){return[t("button",{staticClass:"close-button",on:{click:e.onClose}},[t("PrismaIcon",{attrs:{name:"cancel_outlined",color:"primary",size:24}})],1)]},"fn"),proxy:!0},{key:"modal-footer",fn:s(function(){return[e.isInputStep?t("BottomFixedOneButton",{staticClass:"next-button",attrs:{variant:"solid",position:"sticky",disabled:e.isNextButtonDisabled,pending:e.isNextLoading},on:{click:e.onNextButtonClick}},[e._v("다음")]):e._e(),e.isSubmitStep?t("BottomFixedTwoButton",{staticClass:"submit-bottom-container",attrs:{variant:"three/seven",position:"sticky"}},[t("PrismaButton",{attrs:{variant:"secondary_solid",size:"large"},on:{click:e.onPrevButtonClick}},[e._v("이전")]),t("PrismaButton",{attrs:{variant:"primary",size:"large",pending:e.isSubmitLoading},on:{click:e.onBizCertSubmit}}
16,[e._v("등록하기")])],1):e._e()]},"fn"),proxy:!0}])},[e.isInputStep?[t("Typography",{attrs:{variant:"headline24",color:"primary",as:"label",for:"business-number-input"}},[e._v(" 사업자등록번호를"),t("br"),e._v("검색해 주세요 ")]),t("div",{staticClass:"input-container"},[t("div",[t("b-form-input",{directives:[{name:"validate",rawName:"v-validate",value:{regex:/^\d*$/},expression:"{ regex: /^\\d*$/ }"}],class:["business-input",{error:e.errors.has("business-number-input")}],attrs:{id:"business-number-input",name:"business-number-input",type:"tel",maxlength:10,autocomplete:"off",autocorrect:"off",placeholder:"10자리 숫자만 입력해 주세요."},model:{value:e.businessNumber,callback:s(function(r){e.businessNumber=r},"callback"),expression:"businessNumber"}}),e.errors.has("business-number-input")?t("p",{staticClass:"error-description"},[e._v(" 올바른 사업자등록번호를 입력해 주세요 ")]):e._e()],1),t("button",{staticClass:"manual-button",on:{click:s(function(r){return e.onManualButtonClick()},"click")}},[t("Typography",{attrs:{variant:"body14:medium",color:"purple"}},[e._v("사업자 본인이 아닌가요?")]),t("PrismaIcon",{attrs:{name:"chevron_right_outlined",size:16,color:"purple"}})],1)])]:e._e(),e.isSubmitStep?[t("Typography",{attrs:{variant:"headline24",color:"primary"}},[e._v("사업자정보를"),t("br"),e._v("확인해 주세요")]),t("PrismaCallout",{attrs:{variants:"none-title",state:"information",description:"본인 소유가 아닌 사업자를 사용하는 경우 처벌받을 수 있습니다."}}),t("dl",{staticClass:"biz-cert-info-container"},[t("div",[t("Typography",{attrs:{as:"dt",variant:"body14:regular",color:"secondary"}},[e._v("사업자등록번호")]),t("Typography",{attrs:{as:"dd",variant:"body16:medium",color:"primary"}},[e._v(e._s(e.formattedValidateResultBizNumber))])],1),t("div",[t("Typography",{attrs:{as:"dt",variant:"body14:regular",color:"secondary"}},[e._v("상호명")]),t("Typography",{attrs:{as:"dd",variant:"body16:medium",color:"primary"}},[e._v(e._s(e.validateResult.companyName))])],1),t("div",[t("Typography",{attrs:{as:"dt",variant:"body14:regular",color:"secondary"}},[e._v("대표자명")]),t("Typography",{attrs:{as:"dd",variant:"body16:medium",color:"primary"}},[e._v(e._s(e.validateResult.name))])],1),t("div",[t("Typography",{attrs:{as:"dt",variant:"body14:regular",color:"secondary"}},[e._v("업태")]),t("Typography",{attrs:{as:"dd",variant:"body16:medium",color:"primary"}},[e._v(e._s(e.validateResult.businessCondition))])],1),t("div",[t("Typography",{attrs:{as:"dt",variant:"body14:regular",color:"secondary"}},[e._v("종목")]),t("Typography",{attrs:{as:"dd",variant:"body16:medium",color:"primary"}},[e._v(e._s(e.validateResult.businessType))])],1),t("div",[t("Typography",{attrs:{as:"dt",variant:"body14:regular",color:"secondary"}},[e._v("소재지")]),t("Typography",{attrs:{as:"dd",variant:"body16:medium",color:"primary"}},[e._v(e._s(e.validateResult.address))])],1)])]:e._e()],2)},"render"),Bf=[],Pf=d(Tr,bf,Bf,!1,null,"bd96831f");const Af=Pf.exports;var Df=Object.defineProperty,wf=Object.getOwnPropertyDescriptor,Na=s((n,e,t,r)=>{for(var i=r>1?void 0:r?wf(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Df(e,t,i),i},"__decorateClass$w"),Bt;let _i=(Bt=class extends p{onClose(){this.$emit("close")}},s(Bt,"BizPrivacyUseAgreeModal"),Bt);Na([u({type:Boolean,default:!1})],_i.prototype,"isOpen",2);_i=Na([c({components:{PrismaFlexModal:Vr}})],_i);var If=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,e.isOpen?t("PrismaFlexModal",{attrs:{size:"small","enable-back-close":"",title:"개인정보수집이용동의","title-align":"left","md-type":"bottom-sheet","off-header-border":""},on:{close:e.onClose},scopedSlots:e._u([{key:"body",fn:s(function(){return[t("div",{staticClass:"content-wrapper"},[t("section",{staticClass:"documents"},[t("Typography",{attrs:{variant:"body14:semibold"}},[e._v("분류")]),t("Typography",{attrs:{variant:"body14:regular"}},[e._v(" 필수 정보"),t("br"),e._v(" ※ 본 동의는 사업자등록증 대표자와 계정 실사용 명의자의 정보가 일치하지 않는 경우에 적용됩니다. ")])],1),t("section",{staticClass:"documents"},[t("Typography",{attrs:{variant:"body14:semibold"}},[e._v("수집·이용 동의 목적")]),t("Typography",{attrs:{variant:"body14:regular"}},[e._v(" 고수 계정 실사용자의 사업자등록증 사용 권한 확인 및 인증 처리, 사업자등록증 무단 도용 방지 등 안전한 서비스 운영 및 관련 분쟁 예방 ")])],1),t("section",{staticClass:"documents"},[t("Typography",{attrs:{variant:"body14:semibold"}}
16,[e._v("기본 수집 항목")]),t("ul",{staticClass:"guide-list"},[t("li",[t("PrismaIcon",{attrs:{name:"bullet_outlined",size:16}}),t("Typography",{attrs:{variant:"body14:regular"}},[e._v("위임장(수임인 성명, 생년월일, 전화번호)")])],1)])],1),t("section",{staticClass:"documents"},[t("Typography",{attrs:{variant:"body14:semibold"}},[e._v("상황별 추가 수집 항목")]),t("ul",{staticClass:"guide-list"},[t("li",[t("PrismaIcon",{attrs:{name:"bullet_outlined",size:16}}),t("Typography",{attrs:{variant:"body14:regular"}},[e._v(" 직원: 재직증명서 또는 근로계약서 기재 항목(성명, 생년월일, 부서, 직위, 재직기간 등) ")])],1),t("li",[t("PrismaIcon",{attrs:{name:"bullet_outlined",size:16}}),t("Typography",{attrs:{variant:"body14:regular"}},[e._v(" 가족: 가족관계증명서 기재 항목(성명, 생년월일, 주소, 가족관계 등) ")])],1),t("li",[t("PrismaIcon",{attrs:{name:"bullet_outlined",size:16}}),t("Typography",{attrs:{variant:"body14:regular"}},[e._v(" 공동대표: 공동대표로 명시된 사업자등록증 또는 법인등기부등본 내 기재 항목(성명, 생년월일, 주소 등) ")])],1),t("li",[t("PrismaIcon",{attrs:{name:"bullet_outlined",size:16}}),t("Typography",{attrs:{variant:"body14:regular"}},[e._v(" 외국인: 외국인등록증 기재 항목 (성명, 외국인등록번호, 국적, 발급일자, 체류자격 등) ")])],1)])],1),t("section",{staticClass:"documents"},[t("Typography",{attrs:{variant:"body14:semibold"}},[e._v("보유·이용 기간")]),t("Typography",{attrs:{variant:"body14:regular"}},[e._v(" 개인정보 이용 목적 달성 시까지 보관합니다. ")])],1),t("section",{staticClass:"documents"},[t("Typography",{attrs:{variant:"body14:semibold"}},[e._v("동의 거부 권리")]),t("Typography",{attrs:{variant:"body14:regular"}},[e._v(" 개인정보 수집 및 이용에 대한 동의를 거부할 수 있으나, 동의하지 않을 경우 고수 인증 처리가 진행되지 않을 수 있습니다. ")])],1)])]},"fn"),proxy:!0}],null,!1,2506846049)}):e._e()},"render"),$f=[],Mf=d(_i,If,$f,!1,null,"331cb026");const Sf=Mf.exports;var xf=Object.defineProperty,Ef=Object.getOwnPropertyDescriptor,Xr=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Ef(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&xf(e,t,i),i},"__decorateClass$v");const Tf=s(()=>$s(()=>import("./client-bundle.CRMfwDD0.js"),__vite__mapDeps([34,8,9,3,10,5,6,4,1,2,7,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,35])),"NotificationDot");var Pt;let de=(Pt=class extends p{get labelVariant(){return this.size==="small"?"body12:semibold":"body16:semibold"}get labelColor(){return this.active?"primary":"tertiary"}},s(Pt,"PrismaSegmentedControlItem"),Pt);Xr([u({required:!0})],de.prototype,"label",2);Xr([u({required:!0})],de.prototype,"size",2);Xr([u({type:Boolean,default:!1})],de.prototype,"showDot",2);Xr([u({type:Boolean,default:!1})],de.prototype,"active",2);de=Xr([c({name:"PrismaSegmentedControlItem",components:{NotificationDot:Tf}})],de);var Ff=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("button",{class:["prisma-segmented-control-item",e.size,{active:e.active}],attrs:{type:"button",role:"tab","aria-selected":e.active?"true":"false",tabindex:e.active?0:-1},on:{click:s(function(r){return e.$emit("click")},"click")}},[e.showDot?t("NotificationDot",{attrs:{top:0,right:-10}},[t("Typography",{attrs:{truncate:"",variant:e.labelVariant,color:e.labelColor}},[e._v(" "+e._s(e.label)+" ")])],1):t("Typography",{attrs:{truncate:"",variant:e.labelVariant,color:e.labelColor}},[e._v(" "+e._s(e.label)+" ")])],1)},"render"),Lf=[],Rf=d(de,Ff,Lf,!1,null,"54f01e11");const Of=Rf.exports;var Nf=Object.defineProperty,kf=Object.getOwnPropertyDescriptor,te=s((n,e,t,r)=>{for(var i=r>1?void 0:r?kf(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Nf(e,t,i),i},"__decorateClass$u"),At;let z=(At=class extends p{constructor(){super(...arguments),this.selectedValue=null,this.selectedIndex=0,this.backgroundStyle={},this.isInitialRender=!0,this.resizeObserver=null}get containerClass(){return["prisma-segmented-control",this.size,{fill:this.fill}]}get backgroundClass(){return["sliding-background",{"no-transition":this.isInitialRender}]}onItemClick(e,t){this.selectedValue!==e&&(this.selectedValue=e,this.selectedIndex=t,this.updateBackgroun
16dPosition(),this.$emit("change",e))}onKeyDown(e){const{key:t}=e;let r=this.selectedIndex;switch(t){case"ArrowLeft":case"ArrowUp":e.preventDefault(),r=this.selectedIndex>0?this.selectedIndex-1:this.items.length-1;break;case"ArrowRight":case"ArrowDown":e.preventDefault(),r=this.selectedIndex<this.items.length-1?this.selectedIndex+1:0;break;case"Home":e.preventDefault(),r=0;break;case"End":e.preventDefault(),r=this.items.length-1;break;case"Tab":return;default:return}if(r!==this.selectedIndex){const i=this.items[r].value;this.selectedValue=i,this.selectedIndex=r,this.updateBackgroundPosition(),this.$emit("change",i),this.$nextTick(()=>{var C;const a=(C=this.controlContainer)==null?void 0:C.querySelectorAll(".prisma-segmented-control-item"),o=a==null?void 0:a[r];o==null||o.focus()})}}updateBackgroundPosition(){const e=this.controlContainer;if(!e)return;const r=e.querySelectorAll(".prisma-segmented-control-item")[this.selectedIndex];if(!r)return;const{offsetLeft:i,offsetWidth:a}=r;this.backgroundStyle={transform:`translateX(${i}px) translateY(-50%)`,width:`${a}px`}}setInitialValue(){const e=this.initialValue||this.items[0].value,t=this.items.findIndex(r=>r.value===e);this.selectedValue=e,this.selectedIndex=t>=0?t:0,this.$nextTick(()=>
16{this.updateBackgroundPosition(),setTimeout(()=>{this.isInitialRender=!1},50)})}initResizeObserver(){this.$refs.controlContainer&&(this.resizeObserver=new ResizeObserver(()=>{this.updateBackgroundPosition()}),this.resizeObserver.observe(this.controlContainer))}onInitialValueChange(e){if(!e)return;const t=this.items.findIndex(r=>r.value===e);t>=0&&(this.selectedValue=e,this.selectedIndex=t,this.updateBackgroundPosition())}onFillChange(){this.$nextTick(()=>{this.updateBackgroundPosition()})}mounted(){this.setInitialValue(),this.initResizeObserver()}beforeDestroy(){this.resizeObserver&&this.resizeObserver.disconnect()}},s(At,"PrismaSegmentedControl"),At);te([u({type:Array,required:!0})],z.prototype,"items",2);te([u({type:String,required:!0})],z.prototype,"size",2);te([u({type:Boolean,required:!1,default:!1})],z.prototype,"fill",2);te([u({type:[String,Number],required:!1})],z.prototype,"initialValue",2);te([to()],z.prototype,"controlContainer",2);te([E("initialValue")],z.prototype,"onInitialValueChange",1);te([E("fill")],z.prototype,"onFillChange",1);z=te([c({name:"PrismaSegmentedControl",components:{PrismaSegmentedControlItem:Of}})],z);var jf=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",e._b({class:e.containerClass,attrs:{role:"tablist","aria-label":"세그먼트 컨트롤","aria-orientation":"horizontal"}},"div",e.$attrs,!1),[t("div",{ref:"controlContainer",staticClass:"control-container"},[t("div",{class:e.backgroundClass,style:e.backgroundStyle,attrs:{"aria-hidden":"true"}}),e._l(e.items,function({value:r,...i},a){return t("PrismaSegmentedControlItem",e._b({key:r,attrs:{size:e.size,active:r===e.selectedValue},on:{click:s(function(o){return e.onItemClick(r,a)},"click")},nativeOn:{keydown:s(function(o){return e.onKeyDown.apply(null,arguments)},"keydown")}},"PrismaSegmentedControlItem",i,!1))})],2)])},"render"),zf=[],Gf=d(z,jf,zf,!1,null,"818ef2ca");const Vf=Gf.exports;var Uf=Object.defineProperty,qf=Object.getOwnPropertyDescriptor,Zf=s((n,e,t,r)=>{for(var i=r>1?void 0:r?qf(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Uf(e,t,i),i},"__decorateClass$t");const Hf={stamp:{title:`위임장에 도장을 찍었다면
17인감증명서가 필요해요`,calloutDescription:`개인인감증명서: 전국 주민센터 창구 또는 정부24
18법인인감증명서: 등기소 또는 무인발급기`,exampleTitle:"도장 날인 예시",exampleDescription:"위임장과 인감증명서의 인감이 일치해야 해요.",image:an},signature:{title:`위임장에 서명했다면
19본인서명사실확인서가 필요해요`,calloutDescription:"시군구청, 주민센터 또는 정부24",exampleTitle:"친필 서명 예시",exampleDescription:"위임장과 본인서명사실확인서의 서명이 일치해야 해요.",image:on}};var Dt;let ms=(Dt=class extends p{constructor(){super(...arguments),this.selectedTab="stamp",this.tabItems=[{value:"stamp",label:"도장 날인 시"},{value:"signature",label:"친필 서명 시"}]}get current(){return Hf[this.selectedTab]}},s(Dt,"SealCertificateGuideModal"),Dt);ms=Zf([c({components:{PrismaFlexModal:Vr,PrismaSegmentedControl:Vf,PrismaCallout:Zr}})],ms);var Kf=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("PrismaFlexModal",{attrs:{height:700,"enable-back-close":"",size:"small","md-type":"bottom-sheet","off-header":""},on:{close:s(function(r){return e.$emit("close")},"close")},scopedSlots:e._u([{key:"body",fn:s(function(){return[t("div",{staticClass:"close-header"},[t("button",{staticClass:"close-button",attrs:{type:"button","aria-label":"닫기"},on:{click:s(function(r){return e.$emit("close")},"click")}},[t("PrismaIcon",{attrs:{name:"x_outlined",color:"primary"}})],1)]),t("div",{staticClass:"content-wrapper"},[t("PrismaSegmentedControl",{attrs:{size:"large",fill:"",items:e.tabItems,"initial-value":e.selectedTab},on:{change:s(function(r){e.selectedTab=r},"change")}}),t("div",{staticClass:"content"},[t("Typography",{staticClass:"title",attrs:{as:"h2",variant:"headline20",color:"primary"}},[e._v(e._s(e.current.title))]),t("PrismaCallout",{attrs:{variants:"bullet",state:"information",title:"어디서 발급할 수 있나요?",description:e.current.calloutDescription}})],1),t("div",{staticClass:"example"},[t("div",{staticClass:"example-info"},[t("Typography",{attrs:{as:"p",variant:"body16:semibold",color:"primary"}},[e._v(e._s(e.current.exampleTitle))]),t("Typography",{attrs:{variant:"body16:regular",color:"secondary"}}
19,[e._v(e._s(e.current.exampleDescription))])],1),t("div",{staticClass:"example-image"},[t("img",{attrs:{src:e.current.image,alt:e.current.exampleTitle}})])])],1)]},"fn"),proxy:!0}])})},"render"),Wf=[],Qf=d(ms,Kf,Wf,!1,null,"97a3b384");const Yf=Qf.exports;var Xf=Object.defineProperty,Jf=Object.getOwnPropertyDescriptor,Vi=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Jf(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Xf(e,t,i),i},"__decorateClass$s"),wt;let fr=(wt=class extends V(Ms){constructor(){super(...arguments),this.isModalVisible=!1,this.modalType=1,this.automationBizCertErrorType=null,this.initialBizCertDetail=null,this.isSubmitting=!1}get myProfile(){return l.profile}get bizRegistrationStatus(){var e;return(e=this.myProfile.bizRegistration)==null?void 0:e.certificationStatus}get isManualCertModalOpened(){return this.isModalVisible&&this.modalType===0}get isAutimaticCertModalOpened(){return this.isModalVisible&&this.modalType===1}get isBizPrivacyUseAgreeModalOpened(){return O.modal.bizPrivacyUseAgree!==null}get isSealCertificateGuideModalOpened(){return O.modal.sealCertificateGuide!==null}get hasError(){return this.automationBizCertErrorType!==null}async onSubmitDocuments(e){await this.submitBizCert(()=>l.registerBizCertWithDocuments(e),e.businessLicenseNumber)}async submitBizCert(e,t){var a,o,C;if(!await this.$prismaConfirm({title:"검수 기간 안내",description:"검수는 영업일 기준 1일 이내로 처리됩니다. 검수 기간 동안에는 수정이 불가능하며, 완료 시 즉시 알림으로 안내드려요.",okButtonLabel:"검수 요청하기",cancelButtonLabel:"다시 검토하기",enableBackClose:!0,showCancelButton:!0,type:"vertical"}))return;const i=!!this.myProfile.bizRegistration;this.isSubmitting=!0;try{await e(),this.onSubmit(i?"edit":"registration","direct"),this.$emit("close")}catch(v){if(y(v)&&v.response){const B=(o=(a=v.response)==null?void 0:a.data)==null?void 0:o.code;if(B===yo.RestrictedBusinessNumber){this.$prismaToast.pop({type:"message",text:"숨고 이용이 제한된 사업자등록번호입니다. 다른 사업자 정보로 등록해 주세요.",state:"warning"}),N.pro_biz_number_blocked({user_id:l.id,biz_number:t});return}const P=(C=bo)==null?void 0:C[B];if(P){const{title:A,text:ie}=P;return this.$prismaConfirm({title:A,description:ie,okButtonLabel:"확인",showCancelButton:!1})}}this.$prismaToast.pop({type:"message",text:`일시적인 오류가 발생했어요.
20잠시 후 다시 시도해주세요`,state:"warning"})}finally{this.isSubmitting=!1}}onSubmit(e,t){this.$emit("submit",e,t)}onManualButtonClick({location:e,initialBizCertDetail:t=null}){m.pro_business_license_direct({location:e}),this.automationBizCertErrorType=null,this.initialBizCertDetail=t,this.modalType=0}onAutomaticButtonClick(){this.automationBizCertErrorType=null,this.modalType=1}causeError(e){this.automationBizCertErrorType=e}focusToMainService(){}async fetchSelfCert(){try{await l.fetchSelfCert()}catch{this.$emit("error","서버 장애로 인해 본인 인증이 실패하였습니다. 새로고침 후 다시 시도해주세요.")}}async certificateName(e=!1,t=()=>{}){var i;if(!e&&((i=this.myProfile.basic)!=null&&i.selfCert))return!0;if(!await this.$prismaConfirm({title:"본인인증이 필요해요",description:`사업자정보를 등록하려면 휴대전화 번호로
21본인인증을 진행해 주세요.`,okButtonLabel:"본인 인증하기",cancelButtonLabel:"나중에 하기",showCancelButton:!0,type:"vertical"}))return!1;try{if(!await this.certificate(()=>this.$emit("error","서버 장애로 인해 본인 인증이 실패하였습니다. 새로고침 후 다시 시도해주세요.")))throw new Error;await this.fetchSelfCert(),this.$prismaToast.pop({type:"message",text:"본인인증을 완료했습니다",state:"success"})}catch{return!1}return t(),!0}showModal(){this.isModalVisible=!0,Xs.setTChatButtonVisible(!1)}async mounted(){if(this.isPhoneVerificationRequired){location.href="/auth/phone-verification";return}if(this.shouldSkipSelfCert){this.showModal();return}await this.certificateName()?this.showModal():this.$emit("close")}destroyed(){Xs.handleTChatButtonShow(this.$route.name);const{redirectTo:e,redirectWhen:t}=this.$route.query;if(typeof e!="string")return;let r;try{r=new URL(e,window.location.origin)}catch{return}if(r.origin!==window.location.origin)return;const i=`${r.pathname}${r.search}${r.hash}`;if(t==="always"){window.location.replace(i);return}t==="completed"&&this.bizRegistrationStatus===M.Completed&&window.location.replace(i)}},s(wt,"BizCertModalWrapper"),wt);Vi([u({type:Boolean,default:!1})],fr.prototype,"shouldSkipSelfCert",2);Vi([u({type:Boolean,default:!1})],fr.prototype,"isPhoneVerificationRequired",2);Vi([f("focus-to-main-service")],fr.prototype,"focusToMainService",1);fr=Vi([c({components:{ManualBizCertModal:pf,AutomaticBizCertModal:Af,AutomaticBizCertErrorModal:_f,BizPrivacyUseAgreeModal:Sf,SealCertificateGuideModal:Yf}})],fr);var em=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",[e.hasError?t("AutomaticBizCertErrorModal",{attrs:{"error-type":e.automationBizCertErrorType},on:{"automatic-button-click":e.onAutomaticButtonClick,"click-manual-button":e.onManualButtonClick,close:s(function(r){return e.$emit("close")},"close")}}):e.isManualCertModalOpened?t("ManualBizCertModal",{attrs:{"initial-biz-cert-detail":e.initialBizCertDetail,"is-pending":e.isSubmitting},on:{close:s(function(r){return e.$emit("close")},"close"),"certificate-name":e.certificateName,"submit-documents":e.onSubmitDocuments}}):e.isAutimaticCertModalOpened?t("AutomaticBizCertModal",{on:{"click-manual-button":e.onManualButtonClick,close:s(function(r){return e.$emit("close")},"close"),submit:e.onSubmit,"cause-error":e.causeError,"certificate-name":e.certificateName,"focus-to-main-service":e.focusToMainService}}
21):e._e(),t("BizPrivacyUseAgreeModal",{attrs:{"is-open":e.isBizPrivacyUseAgreeModalOpened},on:{close:s(function(r){return e.$hideModal("bizPrivacyUseAgree")},"close")}}),e.isSealCertificateGuideModalOpened?t("SealCertificateGuideModal",{on:{close:s(function(r){return e.$hideModal("sealCertificateGuide")},"close")}}):e._e()],1)},"render"),tm=[],rm=d(fr,em,tm,!1,null,null);const im=rm.exports;var sm=Object.defineProperty,am=Object.getOwnPropertyDescriptor,re=s((n,e,t,r)=>{for(var i=r>1?void 0:r?am(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&sm(e,t,i),i},"__decorateClass$r"),It;let G=(It=class extends p{handleEdit(){}handleDelete(){}handleToggle(){}},s(It,"ActionsDropdown"),It);re([u({type:Boolean,default:!1})],G.prototype,"showToggle",2);re([u({type:Boolean,default:!0})],G.prototype,"showEdit",2);re([u({type:Boolean,default:!1})],G.prototype,"visible",2);re([u({type:String,default:"수정하기"})],G.prototype,"editButtonLabel",2);re([f("edit")],G.prototype,"handleEdit",1);re([f("delete")],G.prototype,"handleDelete",1);re([f("toggle")],G.prototype,"handleToggle",1);G=re([c],G);var om=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("b-dropdown",{staticClass:"dropdown-wrap",attrs:{right:"",variant:"none"},scopedSlots:e._u([{key:"button-content",fn:s(function(){return[t("PrismaIcon",{attrs:{name:"ellipsis_vertical_filled",color:"tertiary",size:20}})]},"fn"),proxy:!0}])},[e.showToggle?t("b-dd-item",{on:{click:s(function(r){return r.stopPropagation(),e.handleToggle.apply(null,arguments)},"click")}},[t("Typography",{attrs:{variant:"body14:regular",color:"primary"}},[e._v(" "+e._s(e.visible?"비공개":"공개")+" 전환")]),t("PrismaIcon",{attrs:{name:"view_filled",color:"primary",size:16}})],1):e._e(),e.showEdit?t("b-dd-item",{on:{click:s(function(r){return r.stopPropagation(),e.handleEdit.apply(null,arguments)},"click")}},[t("Typography",{attrs:{variant:"body14:regular",color:"primary"}},[e._v(e._s(e.editButtonLabel))]),t("PrismaIcon",{attrs:{name:"pencil_outlined",color:"primary",size:16}})],1):e._e(),t("b-dd-item",{on:{click:s(function(r){return r.stopPropagation(),e.handleDelete.apply(null,arguments)},"click")}},[t("Typography",{attrs:{variant:"body14:regular",color:"error"}},[e._v("삭제하기")]),t("PrismaIcon",{attrs:{name:"trash_outlined",color:"error",size:16}})],1)],1)},"render"),nm=[],lm=d(G,om,nm,!1,null,"c1517cf8");const ka=lm.exports;var um=Object.defineProperty,cm=Object.getOwnPropertyDescriptor,js=s((n,e,t,r)=>{for(var i=r>1?void 0:r?cm(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&um(e,t,i),i},"__decorateClass$q"),$t;let Fr=($t=class extends V(pi,di){constructor(){super(...arguments),this.isOpenMainServiceSelectModal=!1,this.isOpenBizCertificationModal=!1}onUpdate(){}onError(e){return e}get me(){return g.me}get hasValue(){return!!this.myProfile.bizRegistration}get showCertificationBadge(){var e,t;return!this.hasValue&&((t=(e=l.forceAuthServiceInfo)==null?void 0:e.services)==null?void 0:t.length)>0}get status(){var e;return(e=this.bizRegistration)==null?void 0:e.certificationStatus}get baseComponentValue(){return this.isReady?"검수중":this.isComplete?"인증":this.isReject?"반려":""}get baseComponentValueColor(){return this.isReject?"error":"tertiary"}get isReady(){return this.status===M.Ready}get isReject(){return this.status===M.Reject}get isComplete(){return this.status===M.Completed}get rejectReason(){var e;return(e=this.bizRegistration)==null?void 0:e.rejectReason}get bizNumber(){var e;return Pr.businessNumberFormat(((e=this.bizRegistration)==null?void 0:e.businessLicenseNumber)??"")}get name(){var e;return(e=this.bizRegistration)==null?void 0:e.name}get companyName(){var e;return(e=this.bizRegistration)==null?void 0:e.companyName}get address(){var e;return(e=this.bizRegistration)==null?void 0:e.address}get images(){var e;return((e=this.bizRegistration)==null?void 0:e.imgUrls)||[]}get isOkayMainService(){var t,r,i;return((t=this.storeServices)==null?void 0:t.some(({isForceAuth:a,isForceLicense:o})=>a||o))?!!((r=this.mainService)!=null&&r.isForceAuth||(i=this.mainService)!=null&&i.isForceLicense):!!this.mainService}get hasImages(){return this.images.length>0}get isPhoneVerificationRequired(){var e,t,r;return((t=(e=this.me)==null?void 0:e.provider)==null?void 0:t.is_corporate)&&!((r=this.me)!=null&&r.phone)}get shouldSkipSelfCert(){var e,t;return((t=(e=this.me)==null?void 0:e.provider)==null?void 0:t.is_corporate)??!1}get statusName(){const e={[M.Ready]:"검수중",[M.Reject]:"심사반려",[M.Completed]:"심사완료"};return(e==null?void 0:e[this.status])||""}onCloseBizCertificationModal(){this.isOpenBizCertificationModal=!1,this.clearFocusedQuery()}clearFocusedQuery(){if(!this.$route.query.focused)return;const e={...this.$route.query};delete e.focused,this.$router.replace({query:e}).catch(()=>{})}async deleteBusinessCertWhenUpdatingMainService(){return this.isUserBusinessType&&(!await this.confirmDeleteBusinessOnUpdate()||!await this.processDeleteBusinessCert(this.isSettlementStatusCompleted))?!1:this.confirmDeleteBusinessOnUpdate()}
21async checkMainServiceSaveable(){return await this.checkReadyAndPopSwal()?!0:(this.isOpenMainServiceSelectModal=!1,!1)}async saveMainService(e){var r,i,a;if(!(!e||!this.checkMainServiceSaveable())){this.isLoading=!0;try{await l.updateProfileMainService({myId:this.myId,mainService:e}),N.tracker.identifyMainService(e),this.isOpenMainServiceSelectModal=!1,this.onUpdate(),this.onAction()}catch(o){if(ws.isAxiosError(o)){const C=o.response,v=(r=C==null?void 0:C.data)==null?void 0:r.reason;if(((a=(i=o.response)==null?void 0:i.data)==null?void 0:a.code)===_a.MISMATCH_BUSINESS_TYPE_CODE){await this.deleteBusinessCertWhenUpdatingMainService()&&this.saveMainService(e);return}v&&this.onError(v)}}finally{this.isLoading=!1}}}async isCorrectMainService(){return this.mainService&&this.isOkayMainService?!0:(await this.$swal.fire({title:`대표 서비스를<br />${this.mainService?"변경":"입력"}해주세요`,text:this.mainService?"인증이 필요한 서비스를 제공하는 경우 해당 서비스만 대표 서비스로 선택할 수 있어요.":"사업자등록증 입력 시 대표 서비스 입력은 필수입니다.",showCancelButton:!1}),!1)}async isInspecting(){return this.isReady?(await this.$swal.fire({title:"담당자 확인 중",text:"담당자가 열심히 사업자등록증을 확인하고 있어요. 검수 중에는 수정이 불가능해요.",showCancelButton:!1}),!0):!1}getThumbnail(e){return`${e}?w=320&webp=1`}onClickShowPhoto(){$(".light-gallery-wrap").lightGallery({dynamic:!0,dynamicEl:this.images.map(t=>({thumb:this.getThumbnail(t.url),src:t.url}))})}handleTrackEditStart(e){const{mainServiceId:t,serviceIds:r}=l.serviceIdInfo;m.pro_profile_edit_start({group:"reliability",type:"사업자 등록증",service_id:t,provide_service_id:r,business_license_state:e})}handleTrackEditSubmit(e,t){const{mainServiceId:r,serviceIds:i}=l.serviceIdInfo;m.complete_provider_profile_edit({profile_section:"reliability",profile_item:"사업자 등록증",main_service_id:r,service_id:i,business_license_state:e,business_license_type:t}),K("complete_provider_profile_edit",{label:"reliability",customAttributes:{profile_item:"사업자 등록증",main_service_id:r}})}async onAction(e){(!this.hasValue||e===pa.ForceOpen&&this.isReject)&&await this.handleEdit()}async handleEdit(){if(this.handleTrackEditStart(this.hasValue?"edit":"registration"),!await this.isCorrectMainService()){this.isOpenMainServiceSelectModal=!0;return}await this.isInspecting()||await this.processDeleteBusinessCert()&&(this.isOpenBizCertificationModal=!0)}async handleDelete(){this.handleTrackEditStart("delete"),await this.$prismaConfirm({title:`사업자등록증을
22삭제하시겠어요?`,description:"삭제하면 복구할 수 없어요.",okButtonLabel:"삭제하기",showCancelButton:!0,cancelButtonLabel:"취소",type:"vertical",strong:!0,state:"danger"})&&await this.processDeleteBusinessCert(!0)&&this.handleTrackEditSubmit("delete")}handleBizCertSubmit(e,t){this.handleTrackEditSubmit(e,t),this.isOpenBizCertificationModal=!1,this.clearFocusedQuery()}async focusToMainService(){await l.fetchProfile({userId:this.me.id,role:br.provider}),this.$emit("scroll-to-area",{key:L.MainService,behavior:"auto",skipScroll:!0})}},s($t,"MyProfileBusinessCert"),$t);js([f("update")],Fr.prototype,"onUpdate",1);js([f("error")],Fr.prototype,"onError",1);Fr=js([c({name:"MyProfileBusinessCert",components:{MyProfileBaseComponent:b,MainServiceSelectModal:xa,BizCertModalWrapper:im,ActionsDropdown:ka}})],Fr);var dm=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileBaseComponent",{class:["my-profile-business-cert",{"is-reject":e.isReject}],attrs:{title:"사업자등록증","hide-chevron":e.hasValue,value:e.baseComponentValue,"value-text-color":e.baseComponentValueColor,"disable-action":e.hasValue},on:{click:e.onAction},scopedSlots:e._u([e.showCertificationBadge?{key:"badge",fn:s(function(){return[t("Typography",{attrs:{variant:"body12:medium",color:"negative"}},[e._v("인증 필요")])]},"fn"),proxy:!0}:null],null,!0)},[e.isReject?t("div",{staticClass:"reject-wrapper"},[t("Typography",{attrs:{variant:"body16:regular",color:"secondary",pre:"pre-line"}}
22,[e._v(e._s(e.rejectReason))])],1):e._e(),e.hasValue?t("div",{staticClass:"business-cert-info"},[t("div",{staticClass:"cert-container"},[e.bizNumber?t("dl",[t("Typography",{attrs:{as:"dt",variant:"body14:regular",color:"secondary"}},[e._v("사업자등록번호")]),t("dd",{staticClass:"biz-number"},[t("Typography",{attrs:{variant:"body14:regular",color:"primary"}},[e._v(e._s(e.bizNumber))]),e.isReady?t("button",{staticClass:"delete-btn",on:{click:e.handleDelete}},[t("PrismaIcon",{attrs:{name:"trash_outlined",size:"20",color:"tertiary"}})],1):t("ActionsDropdown",{attrs:{"edit-button-label":"재등록하기"},on:{edit:e.handleEdit,delete:e.handleDelete}})],1)],1):e._e(),e.isComplete?[e.companyName?t("dl",[t("Typography",{attrs:{as:"dt",variant:"body14:regular",color:"secondary"}},[e._v("상호명")]),t("Typography",{attrs:{as:"dd",variant:"body14:regular",color:"primary"}},[e._v(e._s(e.companyName))])],1):e._e(),e.name?t("dl",[t("Typography",{attrs:{as:"dt",variant:"body14:regular",color:"secondary"}},[e._v("대표자명")]),t("Typography",{attrs:{as:"dd",variant:"body14:regular",color:"primary"}},[e._v(e._s(e.name))])],1):e._e(),e.address?t("dl",[t("Typography",{attrs:{as:"dt",variant:"body14:regular",color:"secondary"}},[e._v("사업자주소")]),t("Typography",{attrs:{as:"dd",variant:"body14:regular",color:"primary"}},[e._v(e._s(e.address))])],1):e._e()]:e._e(),e.hasImages?t("dl",[t("Typography",{attrs:{as:"dt",variant:"body14:regular",color:"secondary"}},[e._v("등록증 사진")]),t("dd",{staticClass:"light-gallery-wrap"},[t("button",{staticClass:"show-photo",on:{click:e.onClickShowPhoto}},[t("Typography",{attrs:{variant:"body14:regular",color:"tertiary"}},[e._v("등록증 사진보기")]),t("PrismaIcon",{attrs:{name:"chevron_right_outlined",size:"14",color:"tertiary"}})],1)])],1):e._e()],2)]):e._e(),e.isOpenMainServiceSelectModal?t("MainServiceSelectModal",{attrs:{services:e.storeServices,"selected-service":e.mainService,"is-loading":e.isLoading},on:{select:e.saveMainService,close:s(function(r){e.isOpenMainServiceSelectModal=!1},"close"),delete:s(function(r){return e.saveMainService(null)},"delete")}}):e._e(),e.isOpenBizCertificationModal?t("BizCertModalWrapper",{attrs:{"is-phone-verification-required":e.isPhoneVerificationRequired,"should-skip-self-cert":e.shouldSkipSelfCert},on:{close:e.onCloseBizCertificationModal,submit:e.handleBizCertSubmit,error:e.onError,"focus-to-main-service":e.focusToMainService}}):e._e()],1)},"render"),pm=[],Cm=d(Fr,dm,pm,!1,null,"f4ecfc72");const fm=Cm.exports;var mm=Object.defineProperty,hm=Object.getOwnPropertyDescriptor,vm=s((n,e,t,r)=>{for(var i=r>1?void 0:r?hm(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&mm(e,t,i),i},"__decorateClass$p"),Mt;let hs=(Mt=class extends p{constructor(){super(...arguments),this.isNaverLicenseModalOpen=!1,this.selectedNaverLicense=null}get isMobile(){return this.$ua.isMobile}get slickOptions(){return{infinite:!1,slidesToShow:5,slidesToScroll:5,swipe:this.isMobile,autoplay:!1,arrows:!this.isMobile,adaptiveHeight:!1}}get myProfile(){return l.profile}get licenses(){return this.myProfile.licenses}get totalCount(){return this.licenses.length}get hasValue(){return this.totalCount>0}get profileItemType(){return R.Licenses}isNaverLicense(e){return e.type===Yi.Naver}getThumbnail(e){return this.$addWebpQuery(`${e}?d=380x340`)}getGalleryAttrs(e){if(e.type===Yi.File){const t=e.url,r=this.getThumbnail(t);return{"data-type":"lightGallery","data-exthumbimage":r,"data-sub-html-src":r,"data-src":this.$addWebpQuery(t)}}return{}}handleNaverLicenseModalOpen(e){this.selectedNaverLicense=e,this.isNaverLicenseModalOpen=!0}handleNaverLicenseModalClose(){this.isNaverLicenseModalOpen=!1,this.selectedNaverLicense=null}destroyLightGallery(){const e=$(this.$el).find("div.license-item");e.data("lightGallery")&&e.data("lightGallery").destroy(!0)}updateLightGallery(){const e={selector:'[data-type="lightGallery"]',download:!1,loadYoutubeThumbnail:!0,youtubeThumbSize:"default",loadVimeoThumbnail:!0,vimeoThumbSize:"thumbnail_medium"};this.$nextTick(()=>{this.destroyLightGallery(),$(this.$el).find("div.slick-wrapper").lightGallery(e),$(this.$el).find("div.swipe-wrapper").lightGallery(e)})}handlePrevClick(){this.$refs.slick.prev()}handleNextClick(){this.$refs.slick.next()}onAction(){window.location.assign("/profile/licenses")}beforeDestroy(){this.destroyLightGallery()}mounted(){this.updateLightGallery()}},s(Mt,"MyProfileLicense"),Mt);hs=vm([c({components:{MyProfileBaseComponent:b,Slick:Ii,NaverLicenseDetailModal:Vo,ProfileFileLicenseItem:Uo,ProfileNaverLicenseItem:qo,RejectedCallout:W}})],hs);var _m=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileBaseComponent",{staticClass:"my-profile-license",attrs:{title:"자격증 및 기타 서류",count:e.totalCount,"has-value":e.hasValue},on:{click:e.onAction}},[t("RejectedCallout",{attrs:{"profile-item-type":e.profileItemType}}),e.hasValue?t("div",{staticClass:"license-list"},[t("div",{staticClass:"slick-wrapper"},[t("Slick",{ref:"slick",attrs:{options:e.slickOptions},scopedSlots:e._u([{key:"prevArrow",fn:s(function(){return[t("button",{staticClass:"arrow-btn"},[t("PrismaIcon",{attrs:{name:"chevron_left_outlined",color:"secondary"},on:{click:s(function(r){return r.stopPropagation(),e.handlePrevClick.apply(null,arguments)},"click")}})],1)]},"fn"),proxy:!0},{key:"nextArrow",fn:s(function(){return[t("button",{staticClass:"arrow-btn"},[t("PrismaIcon",{attrs:{name:"chevron_right_outlined",color:"secondary"},on:{click:s(function(r){return r.stopPropagation(),e.handleNextClick.apply(null,arguments)},"click")}})],1)]},"fn"),proxy:!0}],null,!1,622870226)},e._l(e.licenses,function(r){return t("div",e._b({key:r.id,staticClass:"license-item"},"div",e.getGalleryAttrs(r),!1),[e.isNaverLicense(r)?t("ProfileNaverLicenseItem",{attrs:{license:r},on:{click:e.handleNaverLicenseModalOpen}}):t("ProfileFileLicenseItem",{attrs:{license:r,"show-status":"","image-size":"240*340"}})],1)}),0)],1),t("div",{staticClass:"swipe-wrapper"},[t("ul",{staticClass:"swipe-list"},e._l(e.licenses,function(r){return t("li",{key:r.id,staticClass:"swipe-list-item"},[t("div",e._b({staticClass:"license-item"},"div",e.getGalleryAttrs(r),!1),[e.isNaverLicense(r)?t("ProfileNaverLicenseItem",{attrs:{license:r},on:{click:e.handleNaverLicenseModalOpen}}):t("ProfileFileLicenseItem",{attrs:{license:r,"show-status":"","image-size":"240*340"}})],1)])}
22),0)])]):e._e(),e.isNaverLicenseModalOpen?t("NaverLicenseDetailModal",{attrs:{license:e.selectedNaverLicense},on:{close:e.handleNaverLicenseModalClose}}):e._e()],1)},"render"),gm=[],ym=d(hs,_m,gm,!1,null,"8626b568");const bm=ym.exports;var Bm=Object.defineProperty,Pm=Object.getOwnPropertyDescriptor,ja=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Pm(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Bm(e,t,i),i},"__decorateClass$o"),St;let gi=(St=class extends V(Ms){get myProfile(){return l.profile}get constructionLicense(){return Ki.construction}get showConstructionLicenseField(){return!!this.myProfile.hasConstructionLicenseRequiredServices||!!this.constructionLicense}get hasValue(){return!!this.constructionLicense}get value(){return this.isReady?"검수중":this.isCompleted?"인증":this.isRejected?"반려":""}get baseComponentValueColor(){return this.isRejected?"error":"tertiary"}get licenseImages(){var e;return(((e=this.constructionLicense)==null?void 0:e.images)??[]).map(t=>({webpUrl:this.$addWebpQuery(t.url),thumbnailUrl:Gr.getThumbnail({url:t.url})}))}get isReady(){var e;return((e=this.constructionLicense)==null?void 0:e.status)===Wi.Ready}get isCompleted(){var e;return((e=this.constructionLicense)==null?void 0:e.status)===Wi.Completed}get isRejected(){var e;return((e=this.constructionLicense)==null?void 0:e.status)===Wi.Reject}get rejectReason(){var e;return((e=this.constructionLicense)==null?void 0:e.rejectReason)??""}get hasReject(){return this.isRejected&&!!this.rejectReason}fetchConstructionLicense(){return Ki.fetchConstructionLicense()}destroyLightGallery(){const e=$(this.$el);e.data("lightGallery")&&e.data("lightGallery").destroy(!0)}onConstructionLicenseChange(){if(this.hasValue){this.updateLightGallery();return}this.destroyLightGallery()}updateLightGallery(){const e={selector:'[data-type="lightGallery"]',download:!1,loadYoutubeThumbnail:!0,youtubeThumbSize:"default",loadVimeoThumbnail:!0,vimeoThumbSize:"thumbnail_medium",exThumbImage:"data-exthumbimage",getCaptionFromTitleOrAlt:!1};this.$nextTick(()=>{this.destroyLightGallery(),$(this.$el).lightGallery(e)})}get mainServiceName(){var e,t;return((t=(e=l.profile)==null?void 0:e.mainService)==null?void 0:t.name)??""}get isCorporate(){var e,t;return((t=(e=g.me)==null?void 0:e.provider)==null?void 0:t.is_corporate)??!1}get isPhoneVerified(){var e;return!!((e=g.me)!=null&&e.phone)}get isPhoneVerificationRequired(){return this.isCorporate&&!this.isPhoneVerified}get isSelfCertified(){var e;return((e=g.me)==null?void 0:e.is_certify_name)??!1}get bizRegistration(){var e;return((e=l.profile)==null?void 0:e.bizRegistration)??null}get bizRegistrationStatus(){var e;return((e=this.bizRegistration)==null?void 0:e.certificationStatus)??null}get bizRegistrationRejectedReason(){var e;return((e=this.bizRegistration)==null?void 0:e.rejectReason)??""}async verifyAndProceedToRegistration(){!await this.checkIdentityVerification()||!await this.checkBizRegistrationStatus()||(window.location.href="/profile/licenses/construction")}async onAction(){this.hasValue||await this.verifyAndProceedToRegistration()}async checkIdentityVerification(){if(this.isPhoneVerificationRequired)return window.location.href="/auth/phone-verification",!1;if(this.isCorporate)return!0;if(!this.isSelfCertified){if(!await this.showCertificationModal()||!await this.certificate())return!1;await l.fetchSelfCert()}return!0}async checkBizRegistrationStatus(){if(!this.bizRegistration)return await this.showBizRegistrationUnregisteredModal(),!1;switch(this.bizRegistrationStatus){case M.Ready:return await this.showBizRegistrationReadyModal(),!1;case M.Completed:return!0;case M.Reject:return await this.showBizRegistrationRejectedModal(),!1;default:return!1}}async showBizRegistrationUnregisteredModal(){await this.$prismaConfirm({title:"사업자등록증을 인증해 주세요",description:`${this.mainServiceName} 서비스를 제공하기 위해 사업자등록증 인증이 필요해요.`,okButtonLabel:"인증하기",showCancelButton:!0,cancelButtonLabel:"취소",type:"vertical",strong:!0})&&this.$emit("scroll-to-area",{key:L.BizCert,behavior:"smooth"})}async showBizRegistrationReadyModal(){await this.$prismaConfirm({title:`사업자등록증을
23검수하고 있어요`,description:"사업자등록증 인증 후 전문건설업 등록증을 인증할 수 있습니다. 검수는 영업일 기준 1일 이내에 완료됩니다.",okButtonLabel:"확인",showCancelButton:!1,strong:!0})}async showBizRegistrationRejectedModal(){await this.$prismaConfirm({title:"사업자등록증이 반려되었어요",description:`아래 반려사유를 확인해 주세요!
24
25${this.bizRegistrationRejectedReason}`,okButtonLabel:"다시 인증하기",showCancelButton:!0,cancelButtonLabel:"취소",type:"vertical",strong:!0})&&this.$emit("scroll-to-area",{key:`${L.BizCert}_${pa.ForceOpen}`,behavior:"smooth"})}async handleDelete(){var t,r;if(await this.$prismaConfirm({title:`전문건설업 등록증을
26삭제하시겠습니까?`,description:"삭제하면 복구할 수 없어요.",okButtonLabel:"삭제하기",showCancelButton:!0,cancelButtonLabel:"취소",type:"vertical",strong:!0,state:"danger"}))try{await Ki.deleteConstructionLicense({licenseId:this.constructionLicense.id,type:"construction"}),await this.fetchConstructionLicense(),this.$prismaToast.pop({type:"message",text:"등록증이 삭제되었습니다.",state:"success"})}catch(i){this.$prismaToast.pop({type:"message",text:`등록증을 삭제할 수 없습니다.${y(i)?`(${(r=(t=i.response)==null?void 0:t.data)==null?void 0:r.reason})`:""}`,state:"warning"})}}
26async handleEdit(){await this.verifyAndProceedToRegistration()}mounted(){this.fetchConstructionLicense(),this.hasValue&&this.updateLightGallery()}beforeDestroy(){this.destroyLightGallery()}},s(St,"MyProfileConstructionLicense"),St);ja([E("constructionLicense")],gi.prototype,"onConstructionLicenseChange",1);gi=ja([c({components:{MyProfileBaseComponent:b,ActionsDropdown:ka,Callout:Zr}})],gi);var Am=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,e.showConstructionLicenseField?t("MyProfileBaseComponent",{class:["my-profile-construction-license",{"has-value":e.hasValue},{"has-reject":e.hasReject}],attrs:{title:"전문건설업 등록증","hide-chevron":e.hasValue,value:e.value,"disable-action":e.hasValue,"value-text-color":e.baseComponentValueColor},on:{click:e.onAction},scopedSlots:e._u([e.hasValue?null:{key:"badge",fn:s(function(){return[t("Typography",{attrs:{variant:"body12:medium",color:"negative"}},[e._v("인증 필요")])]},"fn"),proxy:!0}],null,!0)},[e.hasReject?t("div",{staticClass:"reject-wrapper"},[t("Typography",{attrs:{variant:"body16:regular",color:"secondary",pre:"pre-line"}},[e._v(e._s(e.rejectReason))])],1):e._e(),e.hasValue?t("div",{staticClass:"construnction-license-info"},[e._l(e.licenseImages,function(r,i){return t("div",{key:i,staticClass:"thumbnail",attrs:{hidden:i>0,"data-type":"lightGallery","data-exthumbimage":r.thumbnailUrl,"data-src":r.webpUrl}},[t("img",{staticClass:"license-image",attrs:{src:r.thumbnailUrl,alt:i===0?"전문건설업 등록증 이미지":""}})])}),t("div",{staticClass:"license-info"},[t("div",{staticClass:"license-number-wrap"},[t("Typography",{staticClass:"line-clamp",attrs:{variant:"body16:semibold",color:"primary"}},[e._v(e._s(e.constructionLicense.licenseNumber))]),e.isCompleted?t("button",{staticClass:"delete-btn",on:{click:e.handleDelete}},[t("PrismaIcon",{attrs:{name:"trash_outlined",size:20,color:"tertiary"}})],1):e.isRejected?t("ActionsDropdown",{on:{edit:e.handleEdit,delete:e.handleDelete}}):e._e()],1),t("Typography",{staticClass:"line-clamp",attrs:{variant:"body14:regular",color:"secondary"}},[e._v(e._s(e.constructionLicense.companyName))]),t("Typography",{staticClass:"line-clamp",attrs:{variant:"body14:regular",color:"secondary"}},[e._v(e._s(e.constructionLicense.representative))])],1)],2):t("div",[t("Callout",{attrs:{variants:"none-title",state:"warning",description:"전문건설업 등록증을 꼭 인증해 주세요. 이를 통해 1,500만 원 이상의 견적 발송이 가능합니다. "}})],1)]):e._e()},"render"),Dm=[],wm=d(gi,Am,Dm,!1,null,"1b1c535d");const Im=wm.exports;var $m=Object.defineProperty,Mm=Object.getOwnPropertyDescriptor,Ui=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Mm(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&$m(e,t,i),i},"__decorateClass$n"),xt;let mr=(xt=class extends p{constructor(){super(...arguments),this.options=[],this.selectedMethodIds=[],this.isTouched=!1,this.isLoading=!1}onClose(){}onSubmit(){}onError(e){return e}get myProfile(){return l.profile}get paymentMethods(){var e,t;return((t=(e=this.myProfile)==null?void 0:e.basic)==null?void 0:t.paymentMethod)??[]}get methodIdsModel(){return this.selectedMethodIds}set methodIdsModel(e){this.isTouched||(this.isTouched=!0),this.selectedMethodIds=e}checkIsSoomgoPay(e){return e===Js.SoomgoPay}async handleClose(){if(this.isTouched){const{value:e}=await this.$swal.fire({title:`변경된 내용은
27저장되지 않고 사라져요`,text:"정말 나가시겠어요?",confirmButtonText:"계속하기",cancelButtonText:"나가기",allowOutsideClick:!1});if(e)return}this.onClose()}handleSoomgoPayMoreButtonClick(){m.user_modal_sp_info_click({member_type:Bo.Gosu,location:"profile_paymethod"}),this.$showModal({name:"safePaymentIntroduce",stacked:!0})}async handleSubmit(){this.isLoading=!0;try{const e=this.paymentMethods.map(t=>({...t,active:this.selectedMethodIds.includes(t.id)}));await l.updateProfilePaymentMethod(e),this.onSubmit()}catch(e){this.onError(y(e)?e.response.data.reason:"")}finally{this.isLoading=!1}}mounted(){this.options=this.paymentMethods.map(({id:e,name:t})=>({label:t,value:e,description:e===Js.SoomgoPay?"숨고페이 사용 시, 고용률이 평균 2.9ë°° 올라요. 별도 절차 없이 손쉽게 카드결제 및 간편결제를 제공할 수 있어요.":""})),this.selectedMethodIds=this.paymentMethods.filter(({active:e})=>e).map(({id:e})=>e)}},s(xt,"MyProfilePaymentModal"),xt);Ui([f("close")],mr.prototype,"onClose",1);Ui([f("submit")],mr.prototype,"onSubmit",1);Ui([f("error")],mr.prototype,"onError",1);mr=Ui([c({components:{MyProfileSettingModal:xi,PrismaCheckboxWithLabel:un}})],mr);var Sm=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileSettingModal",{attrs:{title:"결제 수단",description:"제공 가능한 결제 수단을 알려주ì
27„¸ìš”.","cta-label":"저장하기","is-cta-disabled":!e.isTouched,"is-pending":e.isLoading},on:{close:e.handleClose,submit:e.handleSubmit}},[t("ul",{staticClass:"payment-list"},e._l(e.options,function(r){return t("li",{key:r.value},[t("PrismaCheckboxWithLabel",{attrs:{option:r,name:"paymentMethod"},model:{value:e.methodIdsModel,callback:s(function(i){e.methodIdsModel=i},"callback"),expression:"methodIdsModel"}}),e.checkIsSoomgoPay(r.value)?t("div",{staticClass:"soomgo-pay-wrapper"},[t("button",{staticClass:"soomgo-pay-btn",on:{click:e.handleSoomgoPayMoreButtonClick}},[t("Typography",{attrs:{variant:"body14:medium",as:"span",color:"purple"}},[e._v("숨고페이 더 알아보기")]),t("PrismaIcon",{attrs:{name:"chevron_right_outlined",size:16,color:"purple"}})],1)]):e._e()],1)}),0)])},"render"),xm=[],Em=d(mr,Sm,xm,!1,null,"fd2c4979");const Tm=Em.exports;var Fm=Object.defineProperty,Lm=Object.getOwnPropertyDescriptor,zs=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Lm(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Fm(e,t,i),i},"__decorateClass$m"),Et;let Lr=(Et=class extends p{constructor(){super(...arguments),this.isEditModalOpen=!1}onUpdate(){}onError(e){return e}get myProfile(){return l.profile}get modalStates(){return O.modal}get paymentMethods(){var e,t;return((t=(e=this.myProfile)==null?void 0:e.basic)==null?void 0:t.paymentMethod)??[]}get activePayment(){const e=this.paymentMethods.sort((t,r)=>t.id-r.id).filter(t=>t.active).map(t=>t.name);return e.length===0?"":e.length===1?e[0]:`${e[0]} 외 ${e.length-1}개`}get fillInfoPercentage(){var e;return((e=this.myProfile.fillInfo)==null?void 0:e.requiredFillItemsScore["basic.paymentMethod"])??0}handleEditModalClose(){this.isEditModalOpen=!1}handleSubmit(){const{mainServiceId:e,serviceIds:t}=l.serviceIdInfo,r=this.paymentMethods.filter(i=>i.active).sort((i,a)=>i.id-a.id).map(i=>i.name).join(", ");m.complete_provider_profile_edit({profile_section:"payment",profile_item:"결제 수단",main_service_id:e,service_id:t,payment_method:r}),K("complete_provider_profile_edit",{label:"payment",customAttributes:{profile_item:"결제 수단",main_service_id:e}}),this.onUpdate(),this.handleEditModalClose()}onAction(){const{mainServiceId:e,serviceIds:t}=l.serviceIdInfo,r=w(this.$route.query.focusFrom,_)??_.Direct;m.pro_profile_edit_start({group:"payment",type:"결제 수단",service_id:e,provide_service_id:t,location:r}),this.isEditModalOpen=!0}},s(Et,"MyProfilePayment"),Et);zs([f("update")],Lr.prototype,"onUpdate",1);zs([f("error")],Lr.prototype,"onError",1);Lr=zs([c({name:"MyProfilePayment",components:{MyProfileBaseComponent:b,BaseCheckbox:nn,SoomgoPayIntroduceModal:ln,MyProfilePaymentModal:Tm}})],Lr);var Rm=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileBaseComponent",{attrs:{title:"결제 수단",value:e.activePayment,percent:e.fillInfoPercentage},on:{click:e.onAction}},[e.isEditModalOpen?t("MyProfilePaymentModal",{on:{close:e.handleEditModalClose,submit:e.handleSubmit,error:e.onError}}):e._e(),e.modalStates.safePaymentIntroduce?t("SoomgoPayIntroduceModal",{on:{close:s(function(r){return e.$hideModal("safePaymentIntroduce")},"close")}}):e._e()],1)},"render"),Om=[],Nm=d(Lr,Rm,Om,!1,null,null);const km=Nm.exports;var jm=Object.defineProperty,zm=Object.getOwnPropertyDescriptor,Gs=s((n,e,t,r)=>{for(var i=r>1?void 0:r?zm(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&jm(e,t,i),i},"__decorateClass$l"),Tt;let Rr=(Tt=class extends p{onScrollBusinessCertification(){return this.$hideModal("soomgoPaySettlement"),{key:"bizRegistration"}}onUpdate(){}get myProfile(){return l.profile}get settlementInfo(){var e;return(e=this.myProfile)==null?void 0:e.settlement}get storeModalStates(){return O.modal}get hasValue(){return!!this.settlementInfo}get isEditMode(){return!!this.storeModalStates.soomgoPaySettlement}get accountInfo(){if(!this.hasValue)return"";const{account:e,name:t,bankName:r}=this.settlementInfo||{};if(r&&e&&t){const i=[r,e,t].join(" ");return tr(i,Po)}return""}get fillInfoPercentage(){var e;return((e=this.myProfile.fillInfo)==null?void 0:e.requiredFillItemsScore.settlement)??0}get isCorporate(){var e,t;return(t=(e=g.me)==null?void 0:e.provider)==null?void 0:t.is_corporate}async updateSettlementInfo(){await l.fetchAndUpdateProfileRelativeCert(),this.onUpdate()}onCloseSettlementModal(){this.$hideModal("soomgoPaySettlement"),this.updateSettlementInfo()}onAction(){if(this.isEditMode){this.$hideModal("soomgoPaySettlement");return}N.pro_safepayment_settlement_click(g.me.id,null,Ao.Profile);const{mainServiceId:e,serviceIds:t}=l.serviceIdInfo,r=w(this.$route.query.focusFrom,_)??_.Direct;m.pro_profile_edit_start({group:"payment",type:"숨고페이 정산 정보",service_id:e,provide_service_id:t,location:r}
27),this.$showModal({name:"soomgoPaySettlement"})}},s(Tt,"MyProfileSettlementInfo"),Tt);Gs([f("scroll")],Rr.prototype,"onScrollBusinessCertification",1);Gs([f("update")],Rr.prototype,"onUpdate",1);Rr=Gs([c({components:{MyProfileBaseComponent:b,SettlementCertificationModal:cn}})],Rr);var Gm=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileBaseComponent",{attrs:{title:"숨고페이 정산정보",percent:e.fillInfoPercentage,value:e.accountInfo},on:{click:e.onAction}},[e.storeModalStates.soomgoPaySettlement?t("SettlementCertificationModal",{attrs:{"is-from-profile":"","is-corporate":e.isCorporate},on:{scroll:e.onScrollBusinessCertification,close:e.onCloseSettlementModal,update:e.updateSettlementInfo}}):e._e()],1)},"render"),Vm=[],Um=d(Rr,Gm,Vm,!1,null,null);const qm=Um.exports;var Zm=Object.defineProperty,Hm=Object.getOwnPropertyDescriptor,qi=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Hm(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Zm(e,t,i),i},"__decorateClass$k"),Ft;let hr=(Ft=class extends p{constructor(){super(...arguments),this.isTouched=!1,this.isLoading=!1,this.inputModel=null}onClose(){}onSubmit(){}onError(e){return e}get myProfile(){return l.profile}get taxInvoice(){var e;return(e=this.myProfile.additional)==null?void 0:e.taxInvoice}get options(){return[{value:1,label:"네, 가능합니다",description:"간이과세자가 아닌 일반과세자일 경우 선택해주세요."},{value:0,label:"아니요, 불가합니다"}]}get taxInvoiceModel(){return this.inputModel}set taxInvoiceModel(e){this.isTouched||(this.isTouched=!0),this.inputModel=e}async handleClose(){if(this.isTouched){const{value:e}=await this.$swal.fire({title:`변경된 내용은
28저장되지 않고 사라져요`,text:"정말 나가시겠어요?",confirmButtonText:"계속하기",cancelButtonText:"나가기",allowOutsideClick:!1});if(e)return}this.onClose()}async handleSubmit(){this.isLoading=!0;try{await l.updateTaxInvoice({taxInvoice:this.inputModel}),this.onSubmit()}catch(e){this.onError(y(e)?e.response.data.reason:"")}finally{this.isLoading=!1}}mounted(){this.inputModel=this.taxInvoice}},s(Ft,"MyProfileTaxInvoiceModal"),Ft);qi([f("close")],hr.prototype,"onClose",1);qi([f("submit")],hr.prototype,"onSubmit",1);qi([f("error")],hr.prototype,"onError",1);hr=qi([c({components:{MyProfileSettingModal:xi,RadioButtonWithLabel:pn}})],hr);var Km=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileSettingModal",{attrs:{title:"세금 계산서 발행",description:`서비스 금액 거래 증빙을 위한 세금계산서는 고수가
29고객에게 발행해주는 것이 원칙입니다.`,"cta-label":"등록하기","is-cta-disabled":!e.isTouched,"is-pending":e.isLoading},on:{close:e.handleClose,submit:e.handleSubmit}},[t("ul",{staticClass:"radio-group"},e._l(e.options,function(r){return t("li",{key:r.value},[t("RadioButtonWithLabel",{attrs:{option:r,bordering:!0,name:"taxInvoice"},model:{value:e.taxInvoiceModel,callback:s(function(i){e.taxInvoiceModel=i},"callback"),expression:"taxInvoiceModel"}})],1)}),0)])},"render"),Wm=[],Qm=d(hr,Km,Wm,!1,null,"1ca5782a");const Ym=Qm.exports;var Xm=Object.defineProperty,Jm=Object.getOwnPropertyDescriptor,za=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Jm(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Xm(e,t,i),i},"__decorateClass$j"),Lt;let yi=(Lt=class extends p{constructor(){super(...arguments),this.isEditModalOpen=!1}onError(e){return e}get myProfile(){return l.profile}get taxInvoice(){var e,t;return(t=(e=this.myProfile)==null?void 0:e.additional)==null?void 0:t.taxInvoice}get taxInvoiceText(){return this.hasValue?this.taxInvoice?"네, 가능합니다":"아니요, 불가합니다":""}get hasValue(){return!(typeof this.taxInvoice>"u"||this.taxInvoice===null)}handleEditModalClose(){this.isEditModalOpen=!1}handleSubmit(){const{mainServiceId:e,serviceIds:t}=l.serviceIdInfo;m.complete_provider_profile_edit({profile_section:"payment",profile_item:"세금 계산서 발행",main_service_id:e,service_id:t}),K("complete_provider_profile_edit",{label:"payment",customAttributes:{profile_item:"세금 계산서 발행",main_service_id:e}}),this.handleEditModalClose()}async onAction(){const{mainServiceId:e,serviceIds:t}=l.serviceIdInfo,r=w(this.$route.query.focusFrom,_)??_.Direct;m.pro_profile_edit_start({group:"payment",type:"세금 계산서 발행",service_id:e,provide_service_id:t,location:r}),this.isEditModalOpen=!0}},s(Lt,"MyProfileTaxInvoice"),Lt);za([f("error")],yi.prototype,"onError",1);yi=za([c({components:{MyProfileBaseComponent:b,CallOutBlock:dn,MyProfileTaxInvoiceModal:Ym}})],yi);var eh=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileBaseComponent",{attrs:{title:"세금 계산서 발행",value:e.taxInvoiceText},on:{click:e.onAction}},[e.isEditModalOpen?t("MyProfileTaxInvoiceModal",{on:{close:e.handleEditModalClose,submit:e.handleSubmit,error:e.onError}}
29):e._e()],1)},"render"),th=[],rh=d(yi,eh,th,!1,null,null);const ih=rh.exports;var sh=Object.defineProperty,ah=Object.getOwnPropertyDescriptor,Vs=s((n,e,t,r)=>{for(var i=r>1?void 0:r?ah(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&sh(e,t,i),i},"__decorateClass$i"),Rt;let Or=(Rt=class extends p{},s(Rt,"ServiceChip"),Rt);Vs([u({type:Boolean,default:!1})],Or.prototype,"isSelected",2);Vs([u({type:String,required:!0})],Or.prototype,"text",2);Or=Vs([c({name:"chip"})],Or);var oh=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("li",{class:["chip-wrapper",{selected:e.isSelected}],on:{click:s(function(r){return e.$emit("click")},"click")}},[e._v(" "+e._s(e.text)+" ")])},"render"),nh=[],lh=d(Or,oh,nh,!1,null,"f06eac94");const uh=lh.exports;var ch=Object.defineProperty,dh=Object.getOwnPropertyDescriptor,Us=s((n,e,t,r)=>{for(var i=r>1?void 0:r?dh(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&ch(e,t,i),i},"__decorateClass$h"),Ot;let Nr=(Ot=class extends p{constructor(){super(...arguments),this.selectedIdModel=null}set selectedId(e){this.selectedIdModel=e,this.selectedIdSync=e}get selectedId(){return this.selectedIdSync||this.selectedIdModel}handleChipClick(e){this.selectedId=e,this.scrollOffCenterItemToCenter(e)}scrollOffCenterItemToCenter(e){const t=this.$refs[`chip-${e}`][0].$el,{left:r,right:i}=t.getBoundingClientRect(),a=window.innerWidth/2;(i<a||r>a)&&this.$refs[`chip-${e}`][0].$el.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})}},s(Ot,"ServiceChipList"),Ot);Us([u({required:!0})],Nr.prototype,"services",2);Us([oa("selectedServiceId",{type:Number})],Nr.prototype,"selectedIdSync",2);Nr=Us([c({components:{ServiceChip:uh}})],Nr);var ph=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"root-container"},[t("div",{staticClass:"overflow-container"},[t("ul",{staticClass:"chip-list-container"},e._l(e.services,function(r){return t("ServiceChip",{key:r.id,ref:`chip-${r.id}`,refInFor:!0,attrs:{role:"radio","is-selected":r.id===e.selectedId,"aria-checked":r.id===e.selectedId,text:r.title},on:{click:s(function(i){return e.handleChipClick(r.id)},"click")}},[e._v(" "+e._s(r.title)+" ")])}),1)])])},"render"),Ch=[],fh=d(Nr,ph,Ch,!1,null,"a2b9f155");const mh=fh.exports;var hh=Object.defineProperty,vh=Object.getOwnPropertyDescriptor,_h=s((n,e,t,r)=>{for(var i=r>1?void 0:r?vh(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&hh(e,t,i),i},"__decorateClass$g"),Nt;let vs=(Nt=class extends p{},s(Nt,"TypeSelectorListLayout"),Nt);vs=_h([c],vs);var gh=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("ul",{staticClass:"list-container"},[e._t("default")],2)},"render"),yh=[],bh=d(vs,gh,yh,!1,null,"2e1f39b7");const Bh=bh.exports;var Ph=Object.defineProperty,Ah=Object.getOwnPropertyDescriptor,Zi=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Ah(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Ph(e,t,i),i},"__decorateClass$f"),kt;let vr=(kt=class extends p{constructor(){super(...arguments),this.isCollapsedLocal=!0}get isCollapsed(){return this.isCollapsedLocal}set isCollapsed(e){this.isCollapsedLocal=e}async handleClick(){try{await m.pro_review_event_section_click({location:"edit"})}finally{this.$router.push({path:"/profile/review-event",query:{location:"edit"}})}}toggle(e=()=>{}){e(),this.isCollapsed=!1}},s(kt,"ProfileReviewEvent"),kt);Zi([u({type:String,required:!0})],vr.prototype,"reviewEvent",2);Zi([u({type:Boolean,default:!1})],vr.prototype,"showEdit",2);Zi([u({type:Boolean,default:!1})],vr.prototype,"showTooltip",2);vr=Zi([c({components:{SvgIcon:U,LineClamp:_n,InformationTooltip:gn}})],vr);var Dh=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"profile-review-event"},[t("div",{staticClass:"review-event-header"},[t("div",{staticClass:"review-event-title"},[t("span",{staticClass:"icon-wrapper"},[t("SvgIcon",{attrs:{prisma:"",icon:"graphics/graphic_gift_box_pink.svg",height:18,width:18}})],1),t("Typography",{attrs:{variant:"headline4"}},[e._v("리뷰 이벤트")]),e.showTooltip?t("InformationTooltip",{attrs:{"icon-size":16,description:"고수가 자체적으로 운영하는 이벤트로 숨고와는 무관합니다"}}
29):e._e()],1),e.showEdit?t("button",{staticClass:"edit-button",on:{click:e.handleClick}},[t("Typography",{attrs:{variant:"body3:regular",color:"secondary"}},[e._v("수정")])],1):e._e()]),t("LineClamp",{staticClass:"line-clamp",attrs:{lines:2,"line-height":1.375,collapsed:e.isCollapsed,"compute-clamped":""},scopedSlots:e._u([{key:"collapse-button",fn:s(function({toggleCollapse:r,isComputedClamped:i}){return[t("b-button",{directives:[{name:"show",rawName:"v-show",value:e.isCollapsed&&i,expression:"isCollapsed && isComputedClamped"}],staticClass:"collapse-toggle",attrs:{variant:"none"},on:{click:s(function(a){return e.toggle(r)},"click")}},[t("Typography",{attrs:{variant:"body3:regular",color:"secondary"}},[e._v("더보기")])],1)]},"fn")}])},[t("Typography",{attrs:{variant:"body3:regular",as:"p"}},[e._v(e._s(e.reviewEvent))])],1)],1)},"render"),wh=[],Ih=d(vr,Dh,wh,!1,null,"1baefaaf");const $h=Ih.exports;var Mh=Object.defineProperty,Sh=Object.getOwnPropertyDescriptor,Ga=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Sh(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Mh(e,t,i),i},"__decorateClass$e"),jt;let bi=(jt=class extends p{constructor(){super(...arguments),this.selectedServiceId=null,this.isPhotoReview=!1,this.isPayVerifiedReview=!1,this.serviceList=[],this.selectedSortQuery=Do.LatestFirst}get myProfile(){return l.profile}get fillInfo(){return this.myProfile.fillInfo}get isNotFilled(){var e;return((e=this.fillInfo)==null?void 0:e.notFillItems.indexOf("review"))>-1}get percentage(){var e,t;return(t=(e=this.fillInfo)==null?void 0:e.requiredFillItemsScore)==null?void 0:t.review}get myId(){return l.id}get hasServiceFilterOver2(){return this.serviceList.length>2}get currentUserRole(){return g.currentUserRole}get sortNameMapper(){return wo}get reviewEvent(){var e;return(e=l.reviewEvent)==null?void 0:e.reviewEvent}get reviewCount(){return this.myProfile.reviewCount}get profileItemType(){return R.Event}handleSortFilterClick(e){m.user_click_review_filter({member_type:this.currentUserRole,filter_click:Io[e]})}async mounted(){await Ca.fetchProfileReviewSurveySummary(this.myId);const{response:e}=await $o.fetchReviewServiceList(this.myId);this.serviceList=e.reviewServiceList}},s(jt,"MyProfileReview"),jt);Ga([u({type:Boolean,default:!1})],bi.prototype,"isLoaded",2);bi=Ga([c({name:"MyProfileReview",components:{StarRate:Cn,ProfileReviewList:fn,ServiceChipList:mh,TypeSelector:mn,Type
29SelectorListLayout:Bh,SortFilter:hn,ProfileReviewEvent:$h,MyProfileRequestReview:ba,MyProfileReviewEvent:Aa,RejectedCallout:W,ProfileReviewSummary:vn}})],bi);var xh=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"my-profile-review"},[t("div",{staticClass:"my-profile-review-header"},[t("Typography",{attrs:{variant:"display28",md:"headline20",as:"h2"}},[e._v("리뷰")]),e.isNotFilled?t("Typography",{staticClass:"percent-chip",attrs:{variant:"body12:medium",color:"tertiary"}},[e._v(e._s(e.percentage)+"%")]):e._e()],1),t("div",{staticClass:"my-profile-review-body"},[e.isLoaded?t("div",{staticClass:"my-review-event-wrapper"},[t("RejectedCallout",{staticClass:"reject-callout",attrs:{"profile-item-type":e.profileItemType}}),e.reviewEvent?t("ProfileReviewEvent",{attrs:{"review-event":e.reviewEvent,"show-edit":""}}):t("MyProfileReviewEvent",{attrs:{from:"review"}})],1):e._e(),e.reviewCount<1?t("div",{staticClass:"request-review-wrapper",attrs:{"data-key":"review-request"}},[t("MyProfileRequestReview")],1):[t("ProfileReviewSummary"),t("ProfileReviewList",{staticClass:"my-profile-review-list",attrs:{"show-filter":""}})]],2)])},"render"),Eh=[],Th=d(bi,xh,Eh,!1,null,"47e3bbe5");const Fh=Th.exports;var Lh=Object.defineProperty,Rh=Object.getOwnPropertyDescriptor,Va=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Rh(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Lh(e,t,i),i},"__decorateClass$d"),zt;let Bi=(zt=class extends p{},s(zt,"MyProfileIntroduceFormField"),zt);Va([u({type:String,required:!0})],Bi.prototype,"title",2);Bi=Va([c],Bi);var Oh=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("section",{staticClass:"my-profile-introduce-form-field"},[t("div",{staticClass:"header"},[t("h4",{staticClass:"title"},[e._v(e._s(e.title))]),e._t("counter")],2),e._t("default")],2)},"render"),Nh=[],kh=d(Bi,Oh,Nh,!1,null,"51d57f19");const Ua=kh.exports;var jh=Object.defineProperty,zh=Object.getOwnPropertyDescriptor,qa=s((n,e,t,r)=>{for(var i=r>1?void 0:r?zh(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&jh(e,t,i),i},"__decorateClass$c");const Gh={homepage:{icon:{name:"link_outlined",category:"communication"},placeholder:"mywebsite.com"},facebook:{icon:{name:"social_facebook",category:"socialMedia"},placeholder:"facebook.com"},twitter:{icon:{name:"social_twitter",category:"socialMedia"},placeholder:"x.com"},instagram:{icon:{name:"social_instagram",category:"socialMedia"},placeholder:"instagram.com"},blog:{icon:{name:"social_blog",category:"socialMedia"},placeholder:"blog.naver.com"},kakaostory:{icon:{name:"social_kakao_message",category:"socialMedia"},placeholder:"story.kakao.com"}},Vh=24;var Gt;let Pi=(Gt=class extends p{get iconSize(){return Vh}get linkDict(){return Gh}},s(Gt,"MyProfileLinks"),Gt);qa([oa("links",{type:Array})],Pi.prototype,"linksSync",2);Pi=qa([c({components:{MyProfileIntroduceFormField:Ua}})],Pi);var Uh=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("MyProfileIntroduceFormField",{staticClass:"my-profile-links",attrs:{title:"링크"}},[t("div",{staticClass:"input-wrapper"},e._l(e.linksSync,function(r){return t("div",{key:r.type,staticClass:"input-row"},[t("PrismaIcon",{attrs:{category:e.linkDict[r.type].icon.category,name:e.linkDict[r.type].icon.name,size:e.iconSize,color:"primary"}}),t("b-form-input",{attrs:{placeholder:e.linkDict[r.type].placeholder},model:{value:r.url,callback:s(function(i){e.$set(r,"url",i)},"callback"),expression:"link.url"}})],1)}),0)])},"render"),qh=[],Zh=d(Pi,Uh,qh,!1,null,"6848ebfa");const Hh=Zh.exports;var Kh=Object.defineProperty,Wh=Object.getOwnPropertyDescriptor,yr=s((n,e,t,r)=>{for(var i=r>1?void 0:r?Wh(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&Kh(e,t,i),i},"__decorateClass$b"),Vt;let Y=(Vt=class extends p{onClick(e){this.$emit("update",e),this.$emit("select")}},s(Vt,"DropdownSelector"),Vt);yr([X("update",{type:Number,required:!0})],Y.prototype,"value",2);yr([u({type:String,required:!0})],Y.prototype,"displayText",2);yr([u({type:Boolean,default:!1})],Y.prototype,"hasValue",2);yr([u({type:Array,required:!0})],Y.prototype,"options",2);yr([u({type:Boolean,default:!1})],Y.prototype,"hasError",2);Y=yr([c],Y);var Qh=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("b-dropdown",{class:["dropdown-selector",{error:e.hasError}],attrs:{variant:"transparent"},scopedSlots:e._u([{key:"button-content",fn:s(function(){return[t("Typography",{attrs:{color:e.hasValue?"primary":"tertiary"}},[e._v(e._s(e.displayText))]),t("PrismaIcon",{attrs:{category:"navigation",name:"chevron_down_outlined",color:"tertiary",size:16}})]},"fn"),proxy:!0}])},e._l(e.options,function(r,i){return t("b-dropdown-item",{key:i,attrs:{href:"#"},on:{click:s(function(a){return e.onClick(r.value)},"click")}},[t("Typography",[e._v(e._s(r.text))])],1)}),1)},"render"),Yh=[],Xh=d(Y,Qh,Yh,!1,null,"0579267a");const Jh=Xh.exports;var e0=Object.defineProperty,t0=Object.getOwnPropertyDescriptor,Za=s((n,e,t,r)=>{for(var i=r>1?void 0:r?t0(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&e0(e,t,i),i},"__decorateClass$a");const r0=Array.from({length:24},(n,e)=>e),i0=[1,2,3,4,5,10,20,30,40,50];var Ut;let Ai=(Ut=class extends p{constructor(){super(...arguments),this.nickName="",this.introduce="",this.callStartTm=-1,this.callEndTm=-1,this.staffs=-1,this.links=[],this.hasEmojiRegex=fa.getRegex("hasEmoji"),this.isLoading=!1,this.isTouched=!1}get nickNameModel(){return this.nickName}get introduceModel(){return this.introduce}get callStartTmModel(){return this.callStartTm}get callEndTmModel(){return this.callEndTm}get staffsModel(){return this.staffs}get myProfile(){return l.profile}get myId(){return l.id}get isDisabled(){return this.isLoading||this.errors.any()||!this.isTouched}get timeSelectOptions(){const e=r0.map(t=>({value:t,text:this.getFormattedTime(t)}));return[{value:-1,text:"시간 선택"},...e]}get staffSelectOptions(){const e=i0.map(t=>({value:t,text:this.getStaffsText(t)}));return[{value:-1,text:"직원수 선택"},...e]}get staffsText(){return this.staffs===-1?"직원수 선택":this.getStaffsText(this.staffs)}get hasStartTimeError(){return this.errors.has("startTime")}get hasEndTimeError(){return this.errors.has("endTime")}get activeTimeErrorMsg(){return this.errors.first("startTime")||this.errors.first("endTime")}get profileItemType(){return R}set nickNameModel(e){this.isTouched||(this.isTouched=!0),this.nickName=e}set introduceModel(e){this.isTouched||(this.isTouched=!0),this.introduce=e}set callStartTmModel(e){this.isTouched||(this.isTouched=!0),this.callStartTm=e}set callEndTmModel(e){this.isTouched||(this.isTouched=!0),this.callEndTm=e}set staffsModel(e){this.isTouched||(this.isTouched=!0),this.staffs=e}test(e,t){t.length&&(this.isTouched||(this.isTouched=!0))}validateActiveTime(){this.$validator.validate("startTime",{start:this.callStartTm,end:this.callEndTm}),this.$validator.validate("endTime",{start:this.callStartTm,end:this.callEndTm})}getTimeText(e){return e===-1?"시간 선택":this.getFormattedTime(e)}getFormattedTime(e){return this.$dayjs().hour(e).format("a h시")}getStaffsText(e){return e===1?`직원 ${Pr.numberFormat(e)}명 (본인포함)`:`직원 ${Pr.numberFormat(e)}명`}setValidator(){this.$validator.extend("required",{getMessage:s(()=>
29"숨고 활동명 설정은 필수입니다.","getMessage"),validate:s(e=>e!=="","validate")}),this.$validator.extend("lengthValidator",{getMessage:s(()=>"최소 2자 이상 최대 30자까지 입력 가능합니다.","getMessage"),validate:s(e=>{const t=e.trim();return t.length>=2&&t.length<=30},"validate")}),this.$validator.extend("emojiValidator",{getMessage:s(()=>"이모지는 사용할 수 없습니다.","getMessage"),validate:s(e=>!this.hasEmojiRegex.test(e),"validate")}),this.$validator.extend("contactValidator",{getMessage:s(()=>"연락처 입력이 불가합니다. (연락처/카카오톡/SNS 등)","getMessage"),validate:s(e=>{const{isValid:t}=As(e);return t},"validate")}),this.$validator.extend("startTime",{getMessage:s(()=>"시작 시간을 선택해주세요.","getMessage"),validate:s(({start:e,end:t})=>!(e===-1&&t!==-1),"validate")}),this.$validator.extend("endTime",{getMessage:s(()=>"종료 시간을 선택해주세요.","getMessage"),validate:s(({start:e,end:t})=>!(e!==-1&&t===-1),"validate")}),this.$validator.attach({name:"startTime",rules:"startTime"}),this.$validator.attach({name:"endTime",rules:"endTime"})}async onCloseModal(){if(!this.isTouched){this.$emit("close");return}const{value:e}=await this.$swal.fire({title:`작성 중인 내용은
30저장되지 않고 사라져요`,confirmButtonText:"계속 작성하기",cancelButtonText:"나가기",text:"정말 나가시겠어요?"});e||(this.$emit("close"),this.$validator.reset())}async onSave(){var e,t;this.isLoading=!0;try{await l.updateProfileIntroduction({activeTime:{callEndTm:this.callEndTm,callStartTm:this.callStartTm},intro:this.introduce,links:this.links,nickName:this.nickName,staffs:this.staffs}),this.$emit("update"),this.$emit("close")}catch(r){ws.isAxiosError(r)&&this.$emit("error",(t=(e=r.response)==null?void 0:e.data)==null?void 0:t.reason)}finally{this.isLoading=!1}}mounted(){var e;this.nickName=this.myProfile.nickName,this.introduce=this.myProfile.intro,this.callStartTm=this.myProfile.basic.callStartTm,this.callEndTm=this.myProfile.basic.callEndTm,this.staffs=((e=this.myProfile.additional)==null?void 0:e.staffs)??-1,this.links=[...this.myProfile.links.map(t=>({...t}))],this.setValidator()}},s(Ut,"MyProfileIntroductionModal"),Ut);Za([E("links",{deep:!0})],Ai.prototype,"test",1);Ai=Za([c({components:{MyProfileLinks:Hh,MyProfileIntroduceFormField:Ua,DropdownSelector:Jh,RejectedCallout:W},inject:["$validator"]})],Ai);var s0=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("b-modal",{attrs:{"modal-class":"my-profile-intro-modal","dialog-class":"mobile-full-modal",visible:"",centered:"","no-fade":"","no-close-on-backdrop":"","no-close-on-esc":"","hide-footer":""},scopedSlots:e._u([{key:"modal-header",fn:s(function(){return[t("Typography",{attrs:{as:"h5",variant:"headline2",md:"body1:medium"}},[e._v("내 소개 편집")]),t("b-button",{staticClass:"close-btn",on:{click:e.onCloseModal}},[t("PrismaIcon",{attrs:{name:"cancel_outlined",category:"actions",color:"primary",size:24}})],1)]},"fn"),proxy:!0}])},[t("div",{staticClass:"form-container"},[t("div",{staticClass:"section-wrapper"},[t("MyProfileIntroduceFormField",{staticClass:"my-profile-nickname",attrs:{title:"숨고 활동명"},scopedSlots:e._u([{key:"counter",fn:s(function(){return[t("div",{staticClass:"counter"},[t("span",{staticClass:"current"},[e._v(e._s(e.nickName.length))]),t("span",{staticClass:"max"},[e._v(" /30자")])])]},"fn"),proxy:!0}])},[t("div",{staticClass:"nickname-wrapper"},[t("b-form-input",{directives:[{name:"validate",rawName:"v-validate",value:"required|lengthValidator|emojiValidator|contactValidator",expression:"'required|lengthValidator|emojiValidator|contactValidator'"}],staticClass:"nickname-input",attrs:{placeholder:"활동명을 입력해 주세요",maxlength:30,name:"nickName",trim:"","data-vv-validate-on":"blur",state:!e.errors.has("nickName")},model:{value:e.nickNameModel,callback:s(function(r){e.nickNameModel=r},"callback"),expression:"nickNameModel"}}),e.errors.has("nickName")?t("b-form-invalid-feedback",{staticClass:"input-error"}
30,[e._v(" "+e._s(e.errors.first("nickName"))+" ")]):e._e(),t("RejectedCallout",{staticClass:"reject-callout",attrs:{"profile-item-type":e.profileItemType.Nickname}})],1)]),t("MyProfileIntroduceFormField",{staticClass:"my-profile-introduce",attrs:{title:"한 줄 소개"},scopedSlots:e._u([{key:"counter",fn:s(function(){return[t("div",{staticClass:"counter"},[t("span",{staticClass:"current"},[e._v(e._s(e.introduce.length))]),t("span",{staticClass:"max"},[e._v(" /80자")])])]},"fn"),proxy:!0}])},[t("div",{staticClass:"introduce-wrapper"},[t("b-form-textarea",{directives:[{name:"validate",rawName:"v-validate",value:"contactValidator",expression:"'contactValidator'"}],staticClass:"introduce-input",attrs:{placeholder:"고수 자신에 대한 소개",rows:"4",maxlength:80,trim:"",name:"introduce","data-vv-validate-on":"blur",state:!e.errors.has("introduce")},model:{value:e.introduceModel,callback:s(function(r){e.introduceModel=r},"callback"),expression:"introduceModel"}}),e.errors.has("introduce")?t("b-form-invalid-feedback",{staticClass:"input-error"},[e._v(" "+e._s(e.errors.first("introduce"))+" ")]):e._e(),t("RejectedCallout",{staticClass:"reject-callout",attrs:{"profile-item-type":e.profileItemType.Intro}})],1)]),t("MyProfileIntroduceFormField",{staticClass:"my-profile-active-time",attrs:{title:"연락 가능 시간"}},[t("div",{staticClass:"active-time-wrapper"},[t("div",{staticClass:"time-select"},[t("Typography",{attrs:{variant:"body3:medium",color:"secondary"}},[e._v(" 시작 ")]),t("DropdownSelector",{attrs:{"display-text":e.getTimeText(e.callStartTm),options:e.timeSelectOptions,"has-value":e.callStartTm>-1,"has-error":e.hasStartTimeError},on:{select:e.validateActiveTime},model:{value:e.callStartTmModel,callback:s(function(r){e.callStartTmModel=r},"callback"),expression:"callStartTmModel"}})],1),t("span",[e._v("~")]),t("div",{staticClass:"time-select"},[t("Typography",{attrs:{variant:"body3:medium",color:"secondary"}},[e._v(" 종료 ")]),t("DropdownSelector",{attrs:{"display-text":e.getTimeText(e.callEndTm),options:e.timeSelectOptions,"has-value":e.callEndTm>-1,"has-error":e.hasEndTimeError},on:{select:e.validateActiveTime},model:{value:e.callEndTmModel,callback:s(function(r){e.callEndTmModel=r},"callback"),expression:"callEndTmModel"}})],1)]),e.activeTimeErrorMsg?t("b-form-invalid-feedback",{staticClass:"input-error",attrs:{state:!1}},[e._v(" "+e._s(e.activeTimeErrorMsg)+" ")]):e._e()],1),t("MyProfileIntroduceFormField",{staticClass:"my-profile-staffs",attrs:{title:"직원수"}},[t("div",{staticClass:"staffs-wrapper"},[t("DropdownSelector",{attrs:{"display-text":e.staffsText,"has-value":e.staffs>-1,options:e.staffSelectOptions},model:{value:e.staffsModel,callback:s(function(r){e.staffsModel=r},"callback"),expression:"staffsModel"}})],1)]),t("MyProfileLinks",{attrs:{links:e.links},on:{"update:links":s(function(r){e.links=r},"update:links")}})],1),t("div",{staticClass:"btn-container"},[t("b-button",{attrs:{variant:"primary",block:"",disabled:e.isDisabled},on:{click:e.onSave}},[e._v("저장")])],1)])])},"render"),a0=[],o0=d(Ai,s0,a0,!1,null,"fe293db3");const n0=o0.exports;var l0=Object.defineProperty,u0=Object.getOwnPropertyDescriptor,c0=s((n,e,t,r)=>{for(var i=r>1?void 0:r?u0(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&l0(e,t,i),i},"__decorateClass$9"),qt;let _s=(qt=class extends p{constructor(){super(...arguments),this.setAddress=!1,this.distanceList=ua}get myId(){return l.id}get mapLocation(){return se.mapLocation}get mapDistance(){return se.mapDistance}get locationAddress(){return se.locationAddress}set locationAddress(e){se.setLocationAddress(e)}setZipCode(e){se.setZipCode(e)}async applyAddress(e,t,r){var i,a;try{await se.fetchGeoByCoord(t),this.locationAddress=e,this.setZipCode(r)}catch(o){if(y(o))return this.$prismaToast.pop({type:"message",text:(a=(i=o.response)==null?void 0:i.data)==null?void 0:a.reason,state:"warning"});Br(o)}}async onComplete(e){this.result=e;const{address:t,autoJibunAddress:r,bname:i,buildingName:a,jibunAddress:o,zonecode:C}=e,v=a&&`, ${a}`,B=`${i||""}${i?v:""}`,P=t+(B?` (${B})`:""),A=new RegExp(`.*${i}`,"gi"),ie=r||o,Wa=i?ie.match(A)[0]:ie;await this.applyAddress(P,Wa,C),this.setAddress=!0}onChangeDistance(e){se.setMapDistance(e)}onClose(){this.$emit("close")}async onSubmit(){var e,t;try{const{address:r,buildingName:i}=this.result,a=`${r} ${i}`.trim(),{lat:o,lng:C}=await la.getGeoCoord(a);this.$hideModal("addressModal"),this.$showModal({name:"detailAddress",params:{addr1:r,addr2:i,lat:o,lng:C,distance:this.mapDistance}})}catch(r){if(y(r))return this.$prismaToast.pop({type:"message",text:(t=(e=r.response)==null?void 0:e.data)==null?void 0:t.reason,state:"warning"});Br(r)}}},s(qt,"AddressModal"),qt);_s=c0([c({name:"AddressModal",components:{DaumPostcode:ko,GoogleMap:$i,DistanceRangePicker:ha}})],_s);var d0=s(function(){var e=this,t=e._self._c;
30return e._self._setupProxy,t("b-modal",{attrs:{"modal-class":"set-address-modal","dialog-class":"mobile-full-modal",visible:"",centered:"","hide-footer":!e.setAddress,"hide-header":!1},on:{hide:e.onClose},scopedSlots:e._u([{key:"modal-header",fn:s(function(){return[t("h5",{staticClass:"title"},[e._v(e._s(e.setAddress?"활동 가능 범위":"주소입력"))]),t("b-button",{attrs:{variant:"close"},on:{click:s(function(r){return e.$hideModal("addressModal")},"click")}},[t("img",{attrs:{src:yn,alt:"닫기"}})])]},"fn"),proxy:!0},{key:"modal-footer",fn:s(function(){return[t("b-button",{attrs:{variant:"primary",squared:"",block:""},on:{click:e.onSubmit}},[e._v("저장")])]},"fn"),proxy:!0}])},[e.setAddress?t("div",{staticClass:"map-distance"},[t("h6",[e._v(e._s(e.locationAddress))]),t("div",{staticClass:"map-wrap"},[t("div",{staticClass:"map"},[t("GoogleMap",{staticClass:"google-map",attrs:{center:e.mapLocation,distance:e.mapDistance,height:"280px"}})],1)]),t("section",{staticClass:"distance-range-wrapper"},[t("DistanceRangePicker",{attrs:{"selected-distance":e.mapDistance,"distance-list":e.distanceList},on:{change:e.onChangeDistance}})],1)]):t("DaumPostcode",{staticClass:"daum-postcode",on:{complete:e.onComplete}})],1)},"render"),p0=[],C0=d(_s,d0,p0,!1,null,"700cb528");const f0=C0.exports;var m0=Object.defineProperty,h0=Object.getOwnPropertyDescriptor,Ha=s((n,e,t,r)=>{for(var i=r>1?void 0:r?h0(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&m0(e,t,i),i},"__decorateClass$8"),Zt;let Di=(Zt=class extends p{constructor(){super(...arguments),this.isShowFAB=!1}get myProfile(){return l.profile}get originalServices(){return this.myProfile.services}get bizRegistration(){var e;return(e=this.myProfile)==null?void 0:e.bizRegistration}get forceServices(){return this.originalServices.filter(({isForceAuth:e,isForceLicense:t})=>e||t)}get forceAuthServices(){var e;return(e=l.forceAuthServiceInfo)==null?void 0:e.services}onClickForceAuthAlert(){N.pro_bizcert_info_click("profile_float"),this.$showModal({name:"forceServiceIntroduce"})}checkShow(){this.isShowFAB=!bs(this.forceAuthServices)}checkShowFAB(){this.checkShow()}mounted(){this.checkShow()}},s(Zt,"ForceAuthFAB"),Zt);Ha([E("isPassed")],Di.prototype,"checkShowFAB",1);Di=Ha([c({name:"ForceAuthFAB"})],Di);const v0="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cdefs%3e%3cpath%20id='4twoh2a0ga'%20d='M0%200h32v32H0z'/%3e%3cpath%20d='M4.236.185a.696.696%200%200%200-.653.477L.16%2011.337C-.128%2012.491-.936%2018%207.71%2023.974A.15.15%200%200%200%207.8%2024c10.578-.59%2012.888-5.675%2013.272-6.803l2.904-10.82a.673.673%200%200%200-.294-.743L14.816%200%204.236.185z'%20id='rygsr5rztc'/%3e%3cpath%20d='M3.005.142a.225.225%200%200%200-.212.155L.167%208.528s-1.673%204.591%205.572%209.628c.026.018.06.027.091.026%208.867-.5%209.934-5.262%209.934-5.262l2.229-8.343a.22.22%200%200%200-.096-.242L11.107%200%203.005.142z'%20id='ighb47vuvg'/%3e%3clinearGradient%20x1='61.342%25'%20y1='1.329%25'%20x2='32.762%25'%20y2='98.424%25'%20id='7pqcxdwb5d'%3e%3cstop%20stop-color='%23B1FFFC'%20offset='0%25'/%3e%3cstop%20stop-color='%2349C6FF'%20offset='100%25'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='60.037%25'%20y1='-2.314%25'%20x2='30.546%25'%20y2='100%25'%20id='0v6bh4ujih'%3e%3cstop%20stop-color='%23FDFEFF'%20offset='0%25'/%3e%3cstop%20stop-color='%23C5ECFF'%20offset='99.32%25'/%3e%3cstop%20stop-color='%23C5ECFF'%20offset='100%25'/%3e%3c/linearGradient%3e%3cfilter%20x='-150%25'%20y='-148.5%25'%20width='400%25'%20height='397%25'%20filterUnits='objectBoundingBox'%20id='0antawalnf'%3e%3cfeOffset%20dx='2'%20dy='4'%20in='SourceAlpha'%20result='shadowOffsetOuter1'/%3e%3cfeGaussianBlur%20stdDeviation='5'%20in='shadowOffsetOuter1'%20result='shadowBlurOuter1'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.219607843%200%200%200%200%200.6%200%200%200%200%200.870588235%200%200%200%200.709353147%200'%20in='shadowBlurOuter1'%20result='shadowMatrixOuter1'/%3e%3cfeMerge%3e%3cfeMergeNode%20in='shadowMatrixOuter1'/%3e%3cfeMergeNode%20in='SourceGraphic'/%3e%3c/feMerge%3e%3c/filter%3e%3c/defs%3e%3cg%20fill='none'%20fill-rule='evenodd'%3e%3cmask%20id='88u2q9tbxb'%20fill='%23fff'%3e%3cuse%20xlink:href='%234twoh2a0ga'/%3e%3c/mask%3e%3cg%20mask='url(%2388u2q9tbxb)'%3e%3cpath%20d='m27.112%2018.357-.168-11.13a.664.664%200%200%200-.484-.626L16.428%203.68%206.34%206.762a.693.693%200%200%200-.496.634l-.37%2011.134S4.994%2024.98%2016.151%2028.7c.03.01.065.01.095%200%2011.226-3.902%2010.865-10.343%2010.865-10.343'%20fill='%231582AD'/%3e%3cg%20transform='rotate(-16%2028.73%20-3.788)'%3e%3cmask%20id='mz3h97kuwe'%20fill='%23fff'%3e%3cuse%20xlink:href='%23rygsr5rztc'/%3e%3c/mask%3e%3cpath%20d='M4.236.185a.696.696%200%200%200-.653.477L.16%2011.337C-.128%2012.491-.936%2018%207.71%2023.974A.15.15%200%200%200%207.8%2024c10.578-.59%2012.888-5.675%2013.272-6.803l2.904-10.82a.673.673%200%200%200-.294-.743L14.816%200%204.236.185z'%20fill='url(%237pqcxdwb5d)'%20mask='url(%23mz3h97kuwe)'/%3e%3c/g%3e%3cg%20filter='url(%230antawalnf)'%20transform='rotate(-16%2037.58%20-15.916)'%3e%3cmask%20id='xtsf63rexi'%20fill='%23fff'%3e%3cuse%20xlink:href='%23ighb47vuvg'/%3e%3c/mask%3e%3cpath%20d='M3.005.142a.225.225%200%200%200-.212.155L.167%208.528s-1.673%204.591%205.572%209.628c.026.018.06.027.091.026%208.867-.5%209.934-5.262%209.934-5.262l2.229-8.343a.22.22%200%200%200-.096-.242L11.107%200%203.005.142z'%20fill='url(%230v6bh4ujih)'%20mask='url(%23xtsf63rexi)'/%3e%3c/g%3e%3cpath%20d='m13.349%2015.438%201.718.749a.255.255%200%200%200%20.235-.02l4.508-2.852c.228-.144.479.111.299.305l-4.166%204.48c-.247.267-.687.271-.908.01l-1.984-2.342c-.147-.175.079-.425.298-.33'%20fill='%232374A6'/%3e%3cpath%20d='m15.943%2018.1%204.166-4.48.003-.003a.236.236%200%200%200-.31-.035l-4.508%202.851a.255.255%200%200%201-.235.02l-1.718-.747a.25.25%200%200%200-.288.064l1.982%202.34c.22.261.66.257.908-.01'%20fill='%230092EE'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";var _0=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,e.isShowFAB?t("transition",{attrs:{name:"slide-fade"}},[t("div",{staticClass:"force-auth-fab"},[t("button",{on:{click:e.onClickForceAuthAlert}},[t("div",{staticClass:"content"},[t("img",{attrs:{src:v0}}),t("span",[e._v("숨고 활동을 위해 인증이 필요해요!")])]),t("img",{attrs:{src:Ro}})])])]):t("div",{staticClass:"empty"})},"render"),g0=[],y0=d(Di,_0,g0,!1,null,"f1ebf802");const b0=y0.exports;var B0=Object.defineProperty,P0=Object.getOwnPropertyDescriptor,A0=s((n,e,t,r)=>{for(var i=r>1?void 0:r?P0(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&B0(e,t,i),i},"__decorateClass$7"),Ht;let gs=(Ht=class extends p{constructor(){super(...arguments),this.isOpenForceAuthModal=!1}get profile(){return l.profile}get services(){var e;return((e=this.profile)==null?void 0:e.services)||[]}get forceAuthServices(){var e;return(e=l.forceAuthServiceInfo)==null?void 0:e.services}get forceAuthServiceName(){var e,t;return((t=(e=this.forceAuthServices)==null?void 0:e[0])==null?void 0:t.name)??""}get isOpenIntroduceModal(){return!!O.modal.forceServiceIntroduce}set isOpenIntroduceModal(e){e?this.$showModal({name:"forceServiceIntroduce"}):this.$hideModal("forceServiceIntroduce")}closeForceAuthModal(){this.isOpenForceAuthModal=!1,this.isOpenIntroduceModal=!0}openForceAuthModal(){const e=g.myUserId,t=D.get("force-auth")||[];if(!t.includes(e)&&!bs(this.forceAuthServices)){this.isOpenForceAuthModal=!0;const r=1e3*60*60*24*365;D.set("force-auth",[...t,e],r)}}onCloseIntroduceModal(){this.isOpenIntroduceModal=!1}mounted(){this.openForceAuthModal()}},s(Ht,"MyProfileForceAuthModal"),Ht);gs=A0([c({components:{CustomSwalModal:bn,ForceServicesIntroduceModal:Bn,SvgIcon:U}})],gs);var D0=s(function(){var r,i;var e=this,t=e._self._c;return e._self._setupProxy,t("div",[e.isOpenForceAuthModal?t("CustomSwalModal",{attrs:{"custom-class":"force-auth-modal"},scopedSlots:e._u([{key:"title",fn:s(function(){return[t("div",{staticClass:"icon-wrapper"},[t("SvgIcon",{attrs:{width:120,height:120,prisma:"",icon:"graphics/graphic_shield_purple.svg"}})],1),t("span",[e._v("인증이 필요해요")])]},"fn"),proxy:!0},{key:"footer",fn:s(function(){return[t("b-button",{attrs:{variant:"primary"},on:{click:e.closeForceAuthModal}},[e._v("자세히 알아보기")]),t("b-button",{attrs:{variant:"none"},on:{click:s(function(a){e.isOpenForceAuthModal=!1},"click")}},[e._v("닫기")])]},"fn"),proxy:!0}],null,!1,2197261489)},[e._v(" '"+e._s(e.forceAuthServiceName)+"'"+e._s(((r=e.forceAuthServices)==null?void 0:r.length)>1?` 외 ${((i=e.forceAuthServices)==null?void 0:i.length)-1}
30건`:"")+" 서비스 제공을 위해 인증이 필요합니다. ")]):e._e(),e.isOpenIntroduceModal?t("ForceServicesIntroduceModal",{attrs:{"force-services":e.forceAuthServices,"force-service-name":e.forceAuthServiceName},on:{close:e.onCloseIntroduceModal,click:s(function(a){e.$emit("click"),e.onCloseIntroduceModal()},"click")}}):e._e()],1)},"render"),w0=[],I0=d(gs,D0,w0,!1,null,null);const $0=I0.exports;var M0=Object.defineProperty,S0=Object.getOwnPropertyDescriptor,x0=s((n,e,t,r)=>{for(var i=r>1?void 0:r?S0(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&M0(e,t,i),i},"__decorateClass$6"),Kt;let ys=(Kt=class extends p{constructor(){super(...arguments),this.hasEmojiRegex=fa.getRegex("hasEmoji"),this.detailAddress="",this.isTouched=!1}get detailAddrModel(){return this.detailAddress}get myProfile(){return l.profile}get originalDetailAddress(){return this.myProfile.basic.detailAddr}get modalState(){return O.modal.detailAddress}get addr1(){var e;return((e=this.modalState)==null?void 0:e.addr1)??this.myProfile.basic.addr1}get addr2(){var e;return((e=this.modalState)==null?void 0:e.addr2)??this.myProfile.basic.addr2}get lat(){var e;return((e=this.modalState)==null?void 0:e.lat)??this.myProfile.basic.lat}get lng(){var e;return((e=this.modalState)==null?void 0:e.lng)??this.myProfile.basic.lng}get distance(){var e;return((e=this.modalState)==null?void 0:e.distance)??this.myProfile.basic.distance}get computedAddress(){return`${this.addr1} ${this.addr2}`}get computedCenter(){return{lat:this.lat,lng:this.lng}}get hasError(){return this.errors.has("detailAddress")}get isDisabled(){return this.hasError}set detailAddrModel(e){this.isTouched||(this.isTouched=!0),this.detailAddress=e}setValidator(){this.$validator.extend("emojiValidator",{getMessage:s(()=>"이모지는 사용할 수 없습니다.","getMessage"),validate:s(e=>!this.hasEmojiRegex.test(e),"validate")}),this.$validator.extend("contactValidator",{getMessage:s(()=>"연락처 입력이 불가합니다. (연락처/카카오톡/SNS 등)","getMessage"),validate:s(e=>{const{isValid:t}=As(e);return t},"validate")})}async onClose(){if(!(Object.keys(this.modalState).length>0||this.isTouched)){this.$emit("close");return}const{value:t}=await this.$swal.fire({title:`작성 중인 내용은
31저장되지 않고 사라져요`,text:"정말 나가시겠어요?",cancelButtonText:"나가기",confirmButtonText:"계속 작성하기",showCancelButton:!0});t||this.$emit("close")}onEdit(){this.$emit("close"),this.$showModal({name:"daumPostcodeModal"})}async onSave(){var r,i,a;const e=(r=this.modalState)==null?void 0:r.distance,t={addr1:this.addr1,addr2:this.addr2,lat:this.lat,lng:this.lng,detailAddr:this.detailAddress.trim()};try{e?await l.updateProfileAddress({...t,distance:e}):await l.updateProfileLocation(t),e&&await N.tracker.identifyRegionCoverage(e);const{mainServiceId:o,serviceIds:C}=l.serviceIdInfo;m.complete_provider_profile_edit({profile_section:"service_coverage",profile_item:"활동 지역",main_service_id:o,service_id:C,...e?{region_coverage:`${e}km`}:{}}),K("complete_provider_profile_edit",{label:"service_coverage",customAttributes:{profile_item:"활동 지역",main_service_id:o}}),this.$emit("close")}catch(o){if(y(o))return this.$emit("error",(a=(i=o.response)==null?void 0:i.data)==null?void 0:a.reason);Br(o)}}mounted(){this.detailAddress=this.originalDetailAddress??"",this.setValidator()}},s(Kt,"DetailAddressModal"),Kt);ys=x0([c({components:{GoogleMap:$i}})],ys);var E0=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("b-modal",{attrs:{"modal-class":"detail-address-modal","dialog-class":"mobile-full-modal",visible:"",centered:"","hide-footer":"","no-close-on-backdrop":"","no-close-on-esc":""},scopedSlots:e._u([{key:"modal-header",fn:s(function(){return[t("b-button",{attrs:{variant:"close"},on:{click:e.onClose}},[t("PrismaIcon",{attrs:{name:"cancel_outlined",size:24}})],1)]},"fn"),proxy:!0}])},[t("div",{staticClass:"contents"},[t("div",{staticClass:"title-wrapper"},[t("Typography",{attrs:{variant:"headline1",as:"h5"}},[e._v("활동 지역")]),t("Typography",{attrs:{as:"p"}},[e._v("가장 가까운 고객과의 매칭을 위해 상세 주소까지 구체적으로 입력해 주세요")])],1),t("div",{staticClass:"address-info"},[t("GoogleMap",{staticClass:"google-map",attrs:{center:e.computedCenter,distance:e.distance,height:"127px"}}),t("div",{staticClass:"address-input-wrapper"},[t("div",{staticClass:"basic-address"},[t("div",{staticClass:"address"},[t("Typography",{attrs:{as:"p",color:"secondary"}}
31,[e._v(e._s(e.computedAddress))])],1),t("b-button",{staticClass:"text-button",attrs:{variant:"text"},on:{click:e.onEdit}},[t("Typography",{attrs:{variant:"body3:regular",color:"purple"}},[e._v("수정")])],1)],1),t("div",{staticClass:"input-field"},[t("b-form-input",{directives:[{name:"validate",rawName:"v-validate",value:"emojiValidator|contactValidator",expression:"'emojiValidator|contactValidator'"}],staticClass:"input",attrs:{placeholder:"상세 주소를 입력해 주세요.",name:"detailAddress",trim:"","data-vv-validate-on":"blur",state:!e.hasError},model:{value:e.detailAddrModel,callback:s(function(r){e.detailAddrModel=r},"callback"),expression:"detailAddrModel"}}),e.hasError?t("b-form-invalid-feedback",[e._v(" "+e._s(e.errors.first("detailAddress")))]):t("b-form-valid-feedback",[e._v("상세 주소는 고객에게 노출되지 않습니다.")])],1)])],1)]),t("div",{staticClass:"cta-wrapper"},[t("b-button",{attrs:{variant:"primary",block:"",disabled:e.isDisabled},on:{click:e.onSave}},[e._v("저장하기")])],1)])},"render"),T0=[],F0=d(ys,E0,T0,!1,null,"ad62e69e");const L0=F0.exports;var R0=Object.defineProperty,O0=Object.getOwnPropertyDescriptor,Ka=s((n,e,t,r)=>{for(var i=r>1?void 0:r?O0(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&R0(e,t,i),i},"__decorateClass$5");const aa=3;var Wt;let wi=(Wt=class extends p{handleClose(){}get me(){return g.me}get myProfile(){return l.profile}get externalReviewRemainCount(){return this.myProfile.anonymousReviewRemainCount}get reviewCount(){return this.myProfile.reviewCount}get inputUrl(){return this.$getBaseUrl(`external-review/users/${this.me.id}`)}get externalReviewCount(){return aa-this.externalReviewRemainCount}get reviewStamps(){return Array.from({length:aa},(e,t)=>({isFilled:t<this.externalReviewCount}))}get guestReviewScrapInfo(){return{title:`${this.myProfile.nickName} 고수님에게 리뷰를 남겨주세요!`,imageUrl:this.myProfile.profileImgUrl.url,providerUserId:String(this.me.id)}}get isButtonDisabled(){return this.reviewCount>=3}track(e){m.Click_Review_Link_Copy_Button({provider_user_id:this.me.id,review_count:this.reviewCount,sns_type:e,location:"guide"})}async handleLinkShare(){try{await navigator.clipboard.writeText(this.inputUrl),this.$prismaToast.pop({type:"message",text:"리뷰 요청 링크를 복사했습니다",state:"default"}),this.track("web_link")}catch{return}}async handleKakaoShare(){this.track("kakao");try{await ri.sendGuestReviewScrap({url:this.inputUrl,templateArgs:this.guestReviewScrapInfo})}catch{return}}beforeMount(){ri.init()}mounted(){document.body.classList.add("external-review-guide-modal-open")}beforeDestroy(){document.body.classList.remove("external-review-guide-modal-open")}},s(Wt,"ExternalReviewGuideModal"),Wt);Ka([f("close")],wi.prototype,"handleClose",1);wi=Ka([c({components:{SvgIcon:U,Lottie:Pn,Button:T}})],wi);var N0=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("b-modal",{attrs:{"modal-class":"external-review-guide-modal","dialog-class":"mobile-full-modal",visible:"",centered:""},on:{hide:e.handleClose},scopedSlots:e._u([{key:"modal-header",fn:s(function(){return[t("div",{staticClass:"header-navigation"},[t("button",{on:{click:e.handleClose}},[t("PrismaIcon",{attrs:{name:"cancel_outlined",size:24,color:"primary"}})],1)]),t("div",{staticClass:"current-status"},[t("Typography",{attrs:{as:"p"}},[e._v(" 링크를 통해 받은 리뷰 "),t("b",[e._v(e._s(e.externalReviewCount))]),e._v("개 ")]),t("div",{staticClass:"review-stamp"},e._l(e.reviewStamps,function(r,i){return t("div",{key:i,class:["stamp",{filled:r.isFilled}]},[r.isFilled?t("PrismaIcon",{attrs:{name:"star_filled",color:"white",size:16}}):t("PrismaIcon",{attrs:{name:"check_outlined",size:16,color:"tertiary"}})],1)}),0)],1)]},"fn"),proxy:!0},{key:"modal-footer",fn:s(function(){return[t("Button",{attrs:{size:"large","prefix-icon":"link_outlined",variant:"icon",disabled:e.isButtonDisabled},on:{click:e.handleLinkShare}}),t("Button",{staticClass:"kakao-share",attrs:{size:"large",disabled:e.isButtonDisabled},on:{click:e.handleKakaoShare}},[e._v("카카오톡으로 리뷰 요청하기")])]},"fn"),proxy:!0}])},[t("div",{staticClass:"contents"},[t("section",{staticClass:"summary-section"},[t("div",{staticClass:"summary-header"},[t("Typography",{attrs:{variant:"body2:medium",color:"purple"}},[e._v("신규 고수 전용 혜택")]),t("Typography",{attrs:{variant:"display3",as:"h5"}},[e._v("리뷰를 요청하고"),t("br"),e._v("고용 가능성을 높여보세요")])],1),t("div",{staticClass:"lottie-wrapper"},[t("Lottie",{attrs:{path:e.$getAssetUrl("lottie/lottie_postbox_blue.json")}})],1)]),t("div",{staticClass:"manual-section-wrapper"},[t("section",{staticClass:"manual-section"},[t("div",{staticClass:"when"},[t("Typography",{attrs:{variant:"headline1",as:"h6"}},[e._v("리뷰 요청"),t("br"),e._v("언제 해야하나요?")]),t("div",{staticClass:"case-wrapper"},[t("div",{staticClass:"case"},[t("SvgIcon",{attrs:{prisma:"",icon:"graphics/graphic_chat_empty_filled.svg",width:80,height:80}}),t("Typography",[e._v("숨고를 막 시작해서"),t("br"),e._v("리뷰가 적은 경우")])],1),t("div",{staticClass:"case"},[t("SvgIcon",{attrs:{prisma:"",icon:"graphics/graphic_square_circle_bubble.svg",width:80,height:80}}),t("Typography",[e._v("서비스 제공 후"),t("br"),e._v("리뷰를 못 받은 경우")])],1)])],1),t("div",{staticClass:"why"},[t("Typography",{attrs:{variant:"headline1",as:"h6"}},[e._v("리뷰 왜"),t("br"),e._v("중요한가요?")]),t("ul",{staticClass:"reason-list"},[t("li",{staticClass:"reason"},[t("SvgIcon",{attrs:{prisma:"",icon:"graphics/graphic_review_quality.svg",width:40,height:40}}),t("Typography",[e._v("고객은 내 서비스 품질을 리뷰로 판단해요")])],1),t("li",{staticClass:"reason"},[t("SvgIcon",{attrs:{prisma:"",icon:"graphics/graphic_customer_response_rate.svg",width:40,height:40}}),t("Typography",[e._v("리뷰가 많을수록 고객 응답률이 올라요")])],1)])],1),t("div",{staticClass:"whom"},[t("div",{staticClass:"whom-header"},[t("Typography",{attrs:{variant:"headline1",as:"h6"}},[e._v("누구에게 리뷰를"),t("br"),e._v("요청하면 되나요?")]),t("Typography",{attrs:{as:"p",color:"secondary"}},[e._v("숨고 내부/외부에서 고수님에게 서비스를 제공 받은 고객 최대 3명에게 요청 가능해요")])],1),t("div",{staticClass:"lottie-wrapper"},[t("Lottie",{attrs:{path:e.$getAssetUrl("lottie/lottie_people_rotation.json")}})],1)])]),t("section",{staticClass:"manual-section"},[t("div",{staticClass:"how"},[t("div",{staticClass:"how-header"},[t("SvgIcon",{attrs:{prisma:"",icon:"graphics/graphic_pencil_review.svg",width:64,height:64}}),t("div",{staticClass:"text-wrapper"},[t("Typography",{attrs:{variant:"headline1",as:"h6"}}
31,[e._v("리뷰 요청 방법")]),t("Typography",{attrs:{as:"p",color:"secondary"}},[e._v("최대 3개까지 받을 수 있어요")])],1)],1),t("ul",{staticClass:"how-list"},[t("li",{staticClass:"how-list-item"},[t("div",{staticClass:"step"},[t("Typography",{attrs:{variant:"body3:semibold",color:"secondary"}},[e._v("1")])],1),t("Typography",{attrs:{variant:"body1:semibold"}},[e._v("하단 링크 공유 버튼 클릭")])],1),t("li",{staticClass:"how-list-item"},[t("div",{staticClass:"step"},[t("Typography",{attrs:{variant:"body3:semibold",color:"secondary"}},[e._v("2")])],1),t("div",{staticClass:"text-wrapper"},[t("Typography",{attrs:{variant:"body1:semibold"}},[e._v("나에게 서비스를 받은 고객에게 공유")]),t("Typography",{attrs:{variant:"body3:regular"}},[e._v("카카오톡, 문자 메시지 등으로 공유해 보세요")])],1)]),t("li",{staticClass:"how-list-item"},[t("div",{staticClass:"step"},[t("Typography",{attrs:{variant:"body3:semibold",color:"secondary"}},[e._v("3")])],1),t("Typography",{attrs:{variant:"body1:semibold"}},[e._v("리뷰 요청 완료")])],1)])]),t("div",{staticClass:"caution"},[t("Typography",{attrs:{variant:"headline1",as:"h6"}},[e._v("기억해 주세요!")]),t("ul",{staticClass:"caution-list"},[t("li",{staticClass:"caution-list-item"},[t("PrismaIcon",{attrs:{name:"check_outlined",size:24,color:"primary"}}),t("Typography",[e._v("고수님에게 서비스를 받지 않은 상태에서 작성된 허위 리뷰는 삭제될 수 있습니다")])],1),t("li",{staticClass:"caution-list-item"},[t("PrismaIcon",{attrs:{name:"check_outlined",size:24,color:"primary"}}),t("Typography",[e._v("리뷰 3개를 다 받은 후에는 숨고로 만난 고객에게서만 리뷰를 받을 수 있습니다")])],1)])],1)])])])])},"render"),k0=[],j0=d(wi,N0,k0,!1,null,"9c9faace");const z0=j0.exports;var G0=Object.defineProperty,V0=Object.getOwnPropertyDescriptor,qs=s((n,e,t,r)=>{for(var i=r>1?void 0:r?V0(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&G0(e,t,i),i},"__decorateClass$4"),Qt;let kr=(Qt=class extends V(An){get rewardImage(){return Dn}},s(Qt,"GamificationRewardModal"),Qt);qs([u({type:Boolean,required:!0})],kr.prototype,"isReward",2);qs([u({type:Number,required:!0})],kr.prototype,"rewardCash",2);kr=qs([c({name:"GamificationRewardModal"})],kr);var U0=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("b-modal",{ref:"modal",attrs:{"modal-class":"gamification-reward-modal","dialog-class":"gamification-reward-modal-dialog",centered:!0,visible:!0,"hide-header":!0,"hide-footer":!0},on:{hide:s(function(r){return e.$emit("close")},"hide")}},[t("img",{staticClass:"head-image",attrs:{src:e.rewardImage,alt:"",width:"80px",height:"80px"}}),e.isReward?[t("div",{staticClass:"reward-title"},[e._v(e._s(e._f("numberFormat")(e.rewardCash))+" 캐시")]),t("div",{staticClass:"reward-desc"},[e._v("축하합니다!"),t("br"),e._v("프로필 완성도 100%를 달성하여"),t("br"),e._v("보너스캐시를 받았습니다.")])]:[t("div",{staticClass:"reward-title"},[e._v("프로필 완성하면 "+e._s(e._f("numberFormat")(e.rewardCash))+" 캐시 지급")]),t("div",{staticClass:"reward-desc"},[e._v("프로필 완성도 100% 달성 시"),t("br"),e._v("보너스캐시를 드립니다!")])],t("b-button",{staticClass:"btn-confirm",attrs:{variant:"primary"},on:{click:s(function(r){return e.$emit("close")},"click")}},[e._v("확인")])],2)},"render"),q0=[],Z0=d(kr,U0,q0,!1,null,null);const H0=Z0.exports;var K0=Object.defineProperty,W0=Object.getOwnPropertyDescriptor,Jr=s((n,e,t,r)=>{for(var i=r>1?void 0:r?W0(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&K0(e,t,i),i},"__decorateClass$3"),Yt;let pe=(Yt=class extends p{constructor(){super(...arguments),this.isScroll=!1,this.isIntroduceModalOpen=!1,this.rewardCash=null,this.isFull=!1,this.showGamificationRewardModal=!1}get me(){return g.me}get profile(){return l.profile}get addressStatus(){return this.profile.addressStatus}get isMobile(){return this.$screen?this.$screen.getScreenInfo().isMobileScreen:!1}get modalStates(){return O.modal}get showGamificationTips(){return this.profile.fillInfo.fillRate===100&&!this.profile.reward.profileGamification.isTarget}get myProfileFocusKey(){return L}onUpdate(){}focusSection(e){this.scrollToArea({key:e})}onUpdateRejectableItem(){l.fetchRejectedProfileItems(this.me.id),this.onUpdate()}
31onUpdateIntroductionModal(){g.fetchMyInfo(),this.onUpdateRejectableItem()}onError(e){this.$prismaToast.pop({type:"message",text:`프로필을 업데이트할 수 없습니다. (${e})`,state:"warning"})}handlePageScroll([e]){this.isScroll=e.intersectionRatio<1}getTargetScrollComp({key:e,parents:t}){const r=this.$children.flatMap(o=>o.$attrs["data-key"]?[o]:o.$children.reduce((C,v)=>v.$attrs["data-key"]?[...C,v]:C,[]));return(t||r).find(o=>{const C=o.$attrs["data-key"];return Object.keys(ea).includes(e)?C===ea[e]:(C?C.split(" "):[]).indexOf(e)>-1})}scrollToArea({key:e,behavior:t,skipAction:r=!1,skipScroll:i=!1}){const a=e.split("_")[0];if(a===L.ExternalReviewGuide)return this.$showModal({name:L.ExternalReviewGuide}),this.scrollToArea({key:L.Review,behavior:"auto",skipAction:!0,skipScroll:i});if(Mo.includes(a))return this.isIntroduceModalOpen=!0,this.scrollToArea({key:L.ProfileImage,behavior:"auto",skipAction:!0,skipScroll:i});const o=this.getTargetScrollComp({key:a});if(!o)return;const C=o.$el.getBoundingClientRect().top,v=window.pageYOffset||document.documentElement.scrollTop,B=65+(this.isMobile?60:0),P=v+C-B;if(i||window.scrollTo({left:0,top:P,behavior:t}),o.onAction&&!r){if(this.$route.query.from==="pro_main"&&e==="portfolio")return;const ie=e.split("_")[1]||void 0;o.onAction(ie)}o.$el.classList.remove("profile-highlight"),o.$el.classList.add("profile-highlight")}handleForceAuthFocus(){this.scrollToArea({key:L.BizCert})}isFromProReport(){var e,t;if((e=this.$route.query.from)!=null&&e.includes("pro-report")&&(t=this.$route.query.from)!=null&&t.includes(L.Review)){this.scrollToArea({key:L.Review,behavior:"smooth"});return}}handleGamificationRewardModalShow({rewardCash:e,isFull:t}){this.rewardCash=e,this.isFull=t,this.showGamificationRewardModal=!0}handleGamificationRewardModalClose(){this.rewardCash=null,this.isFull=!1,this.showGamificationRewardModal=!1}async mounted(){this.isFromProReport(),this.focusedKey&&this.$nextTick(()=>{setTimeout(()=>{this.scrollToArea({key:this.focusedKey})},1e3)})}},s(Yt,"MyProfileBody"),Yt);Jr([u({type:String})],pe.prototype,"focusedKey",2);Jr([u({type:Boolean,required:!0})],pe.prototype,"isLoaded",2);Jr([f("update")],pe.prototype,"onUpdate",1);Jr([E("focusedKey")],pe.prototype,"focusSection",1);pe=Jr([c({components:{MyProfileBannerContainer:Kl,GamificationRewardModal:H0,MyProfileReview:Fh,MyProfileTaxInvoice:ih,MyProfileSettlementInfo:qm,MyProfilePayment:km,MyProfileBusinessCert:fm,MyProfileAuth:ap,MyProfileQna:Xd,MyProfilePortfolio:qd,MyProfileMedia:Nd,MyProfileServiceDesc:nd,MyProfileEducation:Wc,MyProfileCareer:Gc,MyProfileProvideService:Ec,MyProfileMainService:Dc,MyProfileDistance:oc,MyProfileLocation:Vu,MyProfileSection:Eu,MyProfileIntroductionModal:n0,AddressModal:f0,ForceAuthFAB:b0,MyProfileForceAuthModal:$0,MyProfileGamificationTip:Ba,MyProfileOverview:du,DetailAddressModal:L0,ExternalReviewGuideModal:z0,MyProfileConstructionLicense:Im,MyProfileLicense:bm,MyProfileGamification:Du}})],pe);var Q0=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"my-profile-body",attrs:{id:"my-profile-body"}},[t("div",[t("MyProfileBannerContainer",{attrs:{"is-loaded":e.isLoaded}}),t("MyProfileOverview",{attrs:{"is-loaded":e.isLoaded,"data-key":e.myProfileFocusKey.ProfileImage},on:{update:e.onUpdateRejectableItem,error:e.onError,"action-link":s(function(r){return e.scrollToArea({key:r,behavior:"smooth"})},"action-link"),open:s(function(r){e.isIntroduceModalOpen=!0},"open")}}),e.showGamificationTips?e._e():t("div",{staticClass:"my-profile-section-wrapper"},[t("MyProfileGamification",{on:{"scroll-to-area":e.scrollToArea,"show-reward-modal":e.handleGamificationRewardModalShow}})],1),e.showGamificationTips?t("div",{staticClass:"my-profile-gamification-wrapper"},[t("MyProfileGamificationTip",{attrs:{at:"body"},on:{click:e.scrollToArea}})],1):e._e()],1),t("div",{staticClass:"my-profile-section-wrapper"},[t("MyProfileSection",{scopedSlots:e._u([{key:"primary-title",fn:s(function(){return[e._v(" 서비스 범위를 입력하고 ")]},"fn"),proxy:!0},{key:"secondary-title",fn:s(function(){return[e._v("더 많은 고객을 만나보세요")]},"fn"),proxy:!0}])},[t("MyProfileLocation",{attrs:{"data-key":[e.myProfileFocusKey.Address1,e.myProfileFocusKey.Address1].join(" "),"address-status":e.addressStatus},on:{error:e.onError}}),t("MyProfileDistance",{attrs:{"data-key":e.myProfileFocusKey.Distance,"address-status":e.addressStatus},on:{error:e.onError}}),t("MyProfileMainService",{ref:"mainService",attrs:{"data-key":e.myProfileFocusKey.MainService},on:{update:e.onUpdate,error:e.onError}}),t("MyProfileProvideService",{attrs:{"data-key":e.myProfileFocusKey.ProvideServices}})],1),t("MyProfileSection",{scopedSlots:e._u([{key:"primary-title",fn:s(function(){return[e._v(" 전문성을 증명하고 ")]},"fn"),proxy:!0},{key:"secondary-title",fn:s(function(){return[e._v("나의 실력을 자랑해 보세요")]},"fn"),proxy:!0}])},[t("MyProfileCareer",{attrs:{"data-key":e.myProfileFocusKey.Career}}),t("MyProfileEducation",{attrs:{"data-key":e.myProfileFocusKey.Education}}),t("MyProfileServiceDesc",{attrs:{"data-key":e.myProfileFocusKey.ServiceDescription},on:{update:e.onUpdateRejectableItem,error:e.onError}}),t("MyProfileMedia",{attrs:{"data-key":e.myProfileFocusKey.Media},on:{update:e.onUpdateRejectableItem,error:e.onError}}),t("MyProfilePortfolio",{attrs:{"data-key":e.myProfileFocusKey.Portfolio},on:{update:e.onUpdate}}),t("MyProfileQna",{attrs:{"data-key":e.myProfileFocusKey.QnA}})],1),t("MyProfileSection",{scopedSlots:e._u([{key:"primary-title",fn:s(function(){return[e._v(" 신뢰도를 올리고 ")]},"fn"),proxy:!0},{key:"secondary-title",fn:s(function(){return[e._v("고용 확률을 높여보세요")]},"fn"),proxy:!0}])},[t("MyProfileAuth",{attrs:{"data-key":e.myProfileFocusKey.SelfCert},on:{update:e.onUpdate,error:e.onError}}),t("MyProfileBusinessCert",{attrs:{"data-key":e.myProfileFocusKey.BizCert},on:{"scroll-to-area":e.scrollToArea,update:e.onUpdate,error:e.onError}}),t("MyProfileLicense",{attrs:{"data-key":e.myProfileFocusKey.License}}),t("MyProfileConstructionLicense",{attrs:{"data-key":e.myProfileFocusKey.ConstructionLicense},on:{"scroll-to-area":e.scrollToArea}})],1),t("MyProfileSection",{scopedSlots:e._u([{key:"primary-title",fn:s(function(){return[e._v(" 결제 방식을 설정하고 ")]},"fn"),proxy:!0},{key:"secondary-title",fn:s(function(){return[e._v("안전하게 거래하세요")]},"fn"),proxy:!0}])},[t("MyProfilePayment",{attrs:{"data-key":e.myProfileFocusKey.PaymentMethod},on:{update:e.onUpdate,error:e.onError}}),t("MyProfileSettlementInfo",{attrs:{"data-key":e.myProfileFocusKey.SettlementInfo},on:{update:e.onUpdate,scroll:e.scrollToArea}}),t("MyProfileTaxInvoice",{attrs:{"data-key":e.myProfileFocusKey.TaxInvoice},on:{error:e.onError}})],1),t("section",{staticClass:"review-section"},[t("MyProfileReview",{attrs:{"is-loaded":e.isLoaded,"data-key":e.myProfileFocusKey.Review}})],1)],1),e.isLoaded?t("ForceAuthFAB"):e._e(),e.isLoaded?t("MyProfileForceAuthModal",{on:{click:e.handleForceAuthFocus}}
31):e._e(),e.isIntroduceModalOpen?t("MyProfileIntroductionModal",{on:{close:s(function(r){e.isIntroduceModalOpen=!1},"close"),update:e.onUpdateIntroductionModal,error:e.onError}}):e._e(),e.modalStates.addressModal?t("AddressModal",{on:{error:e.onError,close:s(function(r){return e.$hideModal("addressModal")},"close")}}):e._e(),e.modalStates.detailAddress?t("DetailAddressModal",{on:{close:s(function(r){return e.$hideModal("detailAddress")},"close"),error:e.onError}}):e._e(),e.modalStates.externalReviewGuide?t("ExternalReviewGuideModal",{on:{close:s(function(r){return e.$hideModal("externalReviewGuide")},"close")}}):e._e(),e.showGamificationRewardModal?t("GamificationRewardModal",{attrs:{"is-reward":e.isFull,"reward-cash":e.rewardCash},on:{close:e.handleGamificationRewardModalClose}}):e._e()],1)},"render"),Y0=[],X0=d(pe,Q0,Y0,!1,null,"68e132ec");const J0=X0.exports;var e2=Object.defineProperty,t2=Object.getOwnPropertyDescriptor,Zs=s((n,e,t,r)=>{for(var i=r>1?void 0:r?t2(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&e2(e,t,i),i},"__decorateClass$2"),Xt;let jr=(Xt=class extends p{get maxColumnClassName(){return"max-column-"+this.maxColumns}},s(Xt,"PrismaGridContainer"),Xt);Zs([u({required:!0})],jr.prototype,"maxColumns",2);Zs([u({required:!1,default:"div"})],jr.prototype,"as",2);jr=Zs([c({name:"PrismaGridContainer"})],jr);var r2=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t(e.as,{tag:"component",class:["grid-container",e.maxColumnClassName]},[e._t("default")],2)},"render"),i2=[],s2=d(jr,r2,i2,!1,null,"cd1360ca");const a2=s2.exports;var o2=Object.defineProperty,n2=Object.getOwnPropertyDescriptor,ei=s((n,e,t,r)=>{for(var i=r>1?void 0:r?n2(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&o2(e,t,i),i},"__decorateClass$1"),Jt;let Ce=(Jt=class extends p{get spanClassName(){return this.span?"span-"+this.span:""}get mobileSpanClassName(){return this["span:md"]?"span-md-"+this["span:md"]:""}get startColumnStyle(){return{"--grid-column-start":this.start||"auto"}}mounted(){this.$el.parentElement.classList.contains("grid-container")||console.warn("GridItem 컴포넌트는 GridContainer 컴포넌트의 자식으로만 사용 가능합니다.")}},s(Jt,"PrismaGridItem"),Jt);ei([u({required:!1})],Ce.prototype,"span",2);ei([u({required:!1})],Ce.prototype,"span:md",2);ei([u({required:!1})],Ce.prototype,"start",2);ei([u({required:!1,default:"div"})],Ce.prototype,"as",2);Ce=ei([c({name:"PrismaGridItem"})],Ce);var l2=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t(e.as,{tag:"component",class:["grid-item",e.spanClassName,e.mobileSpanClassName],style:e.startColumnStyle},[e._t("default")],2)},"render"),u2=[],c2=d(Ce,l2,u2,!1,null,"1c78d696");const d2=c2.exports;var p2=Object.defineProperty,C2=Object.getOwnPropertyDescriptor,Hs=s((n,e,t,r)=>{for(var i=r>1?void 0:r?C2(e,t):e,a=n.length-1,o;a>=0;a--)(o=n[a])&&(i=(r?o(e,t,i):o(i))||i);return r&&i&&p2(e,t,i),i},"__decorateClass");function f2(){return xo()}s(f2,"getDfdExitConfirmed");c.registerHooks(["beforeRouteLeave"]);var er;let zr=(er=class extends V(ai){constructor(){super(...arguments),this.focusedKey=this.focused,this.isLoaded=!1,this.isProMarketingConsentEventAvailable=!1}async onFetchedProfile(){if(this.isDummyUser)return this.$swal.fire({title:"내 프로필 조회 실패",text:"내 프로필 조회에 실패했습니다. 받은요청 화면으로 이동합니다.",showCancelButton:!1}).then(()=>{this.$router.push({path:"/requests/received"})})}get myId(){return l.id}get hasHiddenRefundableProductModal(){return Fo({pageName:this.$route.name,userId:g.myUserId})}get modalStates(){return O.modal}get forceAuthServices(){var e;return(e=l.forceAuthServiceInfo)==null?void 0:e.services}get isForceAuthModalPending(){return!(D.get("force-auth")||[]).includes(g.myUserId)&&!bs(this.forceAuthServices)}get isProRefundableProductEventBlocked(){return this.isForceAuthModalPending}get isDummyUser(){return this.profile.nickName==="dummy"&&this.profile.providerId===-1}get isMobile(){return this.$ua.isMobile}get me(){return g.me}get isProvider(){return g.isProviderMode}get isExitPreventTarget(){return this.profile.fillInfo.fillRate<=80}get from(){return this.$route.query.from}get showGamificationTips(){return this.profile.fillInfo.fillRate===100&&!this.profile.reward.profileGamification.isTarget}get hideAsideReview(){return this.reviewCount>0}get hideAsideGamification(){return!this.showGamificationTips}get hideAside(){return this.hideAsideGamification&&this.hideAsideReview}get profileBodyGridProps(){return this.hideAside?{span:8,start:3}:{span:8}}get showProRefundableProductEventModal(){const e=g.refundableProductStatus;if(this.hasHiddenRefundableProductModal)return!1;if(e.isWithinDeployWindow&&e.isRefundableEventActive){if(e.hasParticipated)return!1;if(g.isJoinedWithinSevenDays)return e.isUnpaidProvider}return!1}closeProfileOnboardingModal(){this.$hideModal("profileOnboarding"),this.removeProfileQuery()}showExitPreventingModal(){this.$showModal({name:"profileExitPreventing"}),this.setExitPreventingLocalStorage()}hideExitPreventingModal(){this.$hideModal("profileExitPreventing")}setExitPreventingLocalStorage(){const e=D.get(`profileExitPreventing_${this.me.id}`),t=e?Number(e.count):0;D.set(`profileExitPreventing_${this.me.id}`,{expired:ta().add(12,"hour").format("YYYY-MM-DD HH:mm:ss"),count:t+1})}onContinueProfile(){this.setDfdExitConfirmed(!0),this.hideExitPreventingModal()}onCloseExitPreventingModal(){this.setDfdExitConfirmed(!1),this.hideExitPreventingModal()}setDfdExitConfirmed(e){this.dfdExitConfirmed.resolve(e)}removeProfileQuery(){var e;(e=this.$route.query)!=null&&e.signup&&this.$router.replace({...this.$route,query:Ja(this.$route.query,"signup")})}viewProfile(){this.$router.push({name:"profile",query:{from:"my_info_preview"},params:{userId:String(this.myId)}})}async onUpdate(){await l.updateGamification(),this.fetchMyPortfolioList()}fetchMyPortfolioList(){return Z.fetchMyPortfolioList({query:{size:ii}})}focusOnGamification({key:e}){this.focusedKey=`${e}_${eo()}`}fetchReviewSurvey(){return Ca.fetchProfileReviewSurvey(this.me.id)}fetchReviewEvent(){return l.fetchReviewEvent(this.me.id)}fetchRejectedProfileItems(){return l.fetchRejectedProfileItems(this.me.id)}fetchForceAuthServiceInfo(){return l.fetchForceAuthServiceInfo(this.me.id)}checkExposure(){const e=D.get(`profileExitPreventing_${this.me.id}`);return e?!(e.count===3||!ta().isAfter(e.expired)):!0}preventToExit(){return this.dfdExitConfirmed=f2(),this.showExitPreventingModal(),this.dfdExitConfirmed.promise}async beforeRouteLeave(e,t,r){if(!this.isProvider)return r();!["profile","profile-insight","profile-career","profile-education","profile-review-event",fe.MyListPage,fe.PostPage,fe.EditPage,fe.MyVideoPage,fe.PostVideoPage,fe.EditVideoPage].includes(e.name)&&this.isExitPreventTarget&&this.checkExposure()&&await this.preventToExit()||(t.name==="my-profile"&&e.name!=="profile"&&l.destroyProfile(),r())}get shouldShowProMarketingConsentEventModal(){const{allow_use_marketing:e,allow_use_select_info:t,allow_news_letters:r}=this.me;return!e||!t||!r}get showProMarketingConsentEventModal(){return this.isProMarketingConsentEventAvailable&&this.shouldShowProMarketingConsentEventModal}async fetchProMarketingConsentEventAvailable(){try{const{data:{isEventApplyAvailable:e}}=await So.getProMarketingConsent();this.isProMarketingConsentEventAvailable=e}catch(e){Br(e),this.isProMarketingConsentEventAvailable=!1}}async mounted(){var o,C,v,B;try{await Promise.all([l.fetchProfile({userId:this.me.id,role:br.provider}),g.abTestClasses.length?Promise.resolve():g.dispatchABTestClasses(br.provider)]),await Promise.all([g.fetchProvi
31derStoreType(),g.fetchRefundableProduct(),this.fetchProMarketingConsentEventAvailable()]),await Promise.all([this.fetchMyPortfolioList(),this.fetchReviewSurvey(),this.fetchReviewEvent(),this.fetchRejectedProfileItems(),this.fetchForceAuthServiceInfo(),this.ensureAiPortfolioStatus()])}catch{this.$prismaToast.pop({type:"message",text:"프로필 불러오기에 실패했습니다",state:"warning"})}finally{this.isLoaded=!0}const e=D.get(Qi);if((o=this.$route.query)!=null&&o.signup?(N["Open Onboarding Modal"](),m.view_signup_finish(),this.showProMarketingConsentEventModal?e>=1&&this.$showModal({name:"profileOnboarding"}):this.$showModal({name:"profileOnboarding"})):this.showProRefundableProductEventModal&&!this.isProRefundableProductEventBlocked&&this.$showModal({name:"proRefundableProductEvent"}),this.showProMarketingConsentEventModal){if(D.get(Qi)>=1)return;this.$showModal({name:"proMarketingConsentEvent",params:{location:(C=this.$route.query)!=null&&C.signup?"signup":"profile"}}),D.set(Qi,1,1e3*60*60*24*7)}const t=(v=this.profile.mainService)==null?void 0:v.id,r=this.profile.services.map(({id:P})=>P),i=this.profile.reviewCount,a=this.profile.licenses.filter(({type:P})=>P===Yi.Naver);m.view_provider_profile_page({user_id:this.me.id,"Complete Rate":(B=this.profile)==null?void 0:B.fillInfo.fillRate,location:this.from,service_id:r,main_service_id:t,review_count:i,average_review_rating:this.profile.reviewTotalRating,certification_license_count:a.length,banner_type:this.bannerType})}},s(er,"MyProfile"),er);Hs([u({type:String,default:""})],zr.prototype,"focused",2);Hs([E("myId")],zr.prototype,"onFetchedProfile",1);zr=Hs([c({name:"MyProfile",components:{PrismaGridItem:d2,PrismaGridContainer:a2,MyProfileAside:Qn,Portal:Eo,ProfileOnboardingModal:sl,ProfileExitPreventingModal:Cl,ProRefundableProductEventModal:Lo,MyProfileBody:J0,ProMarketingConsentEventModalWrapper:wn}})],zr);var m2=s(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("no-ssr",[t("div",[e.myId?t("div",{staticClass:"my-profile"},[t("PrismaGridContainer",{staticClass:"grid-legacy-style",attrs:{"max-columns":12}},[t("PrismaGridItem",e._b({class:["profile-section",{"central-section":e.hideAside}]},"PrismaGridItem",e.profileBodyGridProps,!1),[t("MyProfileBody",{attrs:{"focused-key":e.focusedKey,"is-loaded":e.isLoaded},on:{update:e.onUpdate}})],1),e.hideAside?e._e():t("PrismaGridItem",{staticClass:"aside-section",attrs:{span:4}},[t("MyProfileAside",{attrs:{"hide-gamification":e.hideAsideGamification,"hide-review":e.hideAsideReview},on:{focus:e.focusOnGamification}})],1)],1)],1):e._e(),e.modalStates.profileOnboarding?t("ProfileOnboardingModal",{on:{close:e.closeProfileOnboardingModal}}):e._e(),e.modalStates.profileExitPreventing?t("ProfileExitPreventingModal",{on:{close:e.onCloseExitPreventingModal,continue:e.onContinueProfile}}):e._e(),e.modalStates.proRefundableProductEvent?t("ProRefundableProductEventModal",{on:{close:s(function(r){return e.$hideModal("proRefundableProductEvent")},"close")}}):e._e(),t("ProMarketingConsentEventModalWrapper"),t("Portal",{attrs:{to:"gnbRightMobile"}},[t("span",{staticClass:"preview-profile",on:{click:e.viewProfile}},[e._v("미리보기")])])],1)])},"render"),h2=[],v2=d(zr,m2,h2,!1,null,"c549c7ef");const $_=v2.exports;export{$_ as default};

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.