1import{L as R,a9 as h,aa as g,ac as $,aw as N,N as n,a5 as m,cr as H,V as W,r as Y,z as G,d as j,aq as z,ae as J,a4 as v,a6 as b,e as K,aC as u,R as t,a7 as r,aH as x,U as c,O as _,P as B,ba as Q,bb as X}from"./entry.BARHI1zD.js";import{_ as Z}from"./label-or-icon-button.vue.zq0uxbnf.js";import ee from"./profile-info-box.1ubcrm6H.js";import V from"./profile-delete-modal.bjMi-iWo.js";import se from"./profile-layout.VA7tOqSS.js";import{_ as te}from"./client-only.N7BQUeU9.js";import{C as O}from"./client-oauth2.hzD0Ox_b.js";import{u as oe}from"./country-select.SpbLFYcH.js";import{l as ie}from"./login-required.OckcI48R.js";import{r as ne}from"./reload-on-page-show.XDMwJVJC.js";import{L as re}from"./link-btn.hJ_ExG37.js";import{_ as le}from"./skiline-icon.9d2fWwNy.js";import"./Button.Vs7zN5AW.js";import"./generic-link.WmmkFWeP.js";import"./index.tsdXPcWo.js";import"./profile-breadcrumb.cv2hHOin.js";import"./link.vFJuqVZs.js";import"./componentBase.vfA3eBuK.js";import"./index.UNxH2UQT.js";import"./InputSelect.bbHQQ5fk.js";import"./useKeyboardListNavigation.EO1R50aT.js";import"./useScrollAndFocus.aQnVnT_i.js";import"./useScrollToKeepInView.c5N_mLqD.js";import"./is-element-visible._LEGGY8N.js";import"./last.JSfHAYNV.js";import"./_baseFindIndex.Rfhu0oUq.js";import"./Dropdown.yHaLEB-J.js";import"./use-focus-trap.gDTl49OY.js";import"./toNumber.x155mztj.js";import"./isSafari.0QK988BX.js";import"./loading-skeleton.V2GmS7N7.js";import"./James.Ih8vfmWU.js";import"./Icon.WgEk_daQ.js";import"./navigation-button.E2ILGJ_Y.js";import"./InputText.B5sJclVs.js";import"./use-reactive-breakpoints.qFBd_-82.js";import"./RadioButton.YhQf8foY.js";import"./MoreInfo.Sf8XHS9G.js";import"./rich-text-document.qSJzULM3.js";import"./countries.uSmcAWbX.js";const ae={name:"ProfileDeleteAccount",components:{ProfileDeleteModal:h(()=>g(()=>import("./profile-delete-modal.bjMi-iWo.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url))},emits:["closeModal"],data(){return{loader:!1,errorMsg:null}},computed:{...$({__:"config/__"})},methods:{async deleteAccount(){this.errorMsg=null,this.loader=!0;const e=await this.$store.dispatch("user/index/deleteUser"),s=e?.User?.delete?.message;if(!s||typeof s!="string"){this.loader=!1,this.errorMsg=this.__("GeneralError. Try again later or contact support");return}if(!s.toLowerCase().includes("user deleted")){this.loader=!1,this.errorMsg=this.__(e.User.delete.message);return}this.$appboy&&this.$appboy.wipeData(),this.$bus.$emit(N.LOGOUT_USER)}}};function de(e,s,S,w,o,i){const P=V;return n(),m(P,{description:"Your account will be deleted and all data will be lost.",title:"Are you sure you want to delete your account?",loading:o.loader,error:o.errorMsg,"loading-text":"You will be logged out and redirected to the home page",onDelete:i.deleteAccount,onClose:s[0]||(s[0]=A=>e.$emit("closeModal"))},null,8,["loading","error","onDelete"])}const q=R(ae,[["render",de]]),ce=Object.freeze(Object.defineProperty({__proto__:null,default:q},Symbol.toStringTag,{value:"Module"}));function _e(){const e=W(),s=H.create({baseURL:e.public.SWISSPASS_AUTHORITY});async function S(d){return await s("/resources/sso_ticket",{method:"POST",headers:{Authorization:`Bearer ${d}`}})}function w(d){const a=["de","en","fr","it","nl"];let k="de";a.includes(d)&&(k=d);let p="https://www.swisspass.ch/kunde/profile";return e.public.SWISSPASS_ACCOUNT_URL?p=e.public.SWISSPASS_ACCOUNT_URL:(e.public.SWISSPASS_AUTHORITY.includes("login-int")||e.public.SWISSPASS_AUTHORITY.includes("login-test"))&&(p="https://www-test.swisspass.ch/kunde/profile"),p.includes("?")?p+="&":p+="?",`${p}lang=${k}`}function o(d){let a="https://www.swisspass.ch";return d.includes("login-int")?a="https://www-int.swisspass.ch":d.includes("login-test")&&(a="https://www-test.swisspass.ch"),a}function i(d){let a="https://login.swisspass.ch";return d.includes("login-int")?a="https://login-int.swisspass.ch":d.includes("login-test")&&(a="https://login-test.swisspass.ch"),a}function P(d,a){if(d)return d;if(a){const k=new URL(a),p=new URLSearchParams(k.search);if(p.get("provider"))return p.get("provider")}}async function A(d){try{const a=window?.sessionStorage;if(!a){console.warn("Session storage is not available for SwissPass SSO ticket request.");return}const k=e.public.SWISSPASS_AUTHORITY,p=e.public.SWISSPASS_CLIENT_ID,C=a.getItem(`oidc.user:${k}:${p}`);
1if(!C){console.warn("No storage value found in session storage for SwissPass SSO ticket request.");return}const L=JSON.parse(C)?.access_token;if(!L){console.warn("No access token found in session storage for SwissPass SSO ticket request.");return}const T=(await S(L))?.sso_ticket,U=e.public.SWISSPASS_ACCOUNT_URL;if(!T){const F=w(d);return console.warn("No SSO ticket received, opening SwissPass account URL without SSO ticket.",F),F}const I=P(e.public.SWISS_PASS_PROVIDER,U);if(!I){console.warn("No SwissPass provider configured for SSO ticket request.");return}const M=o(e.public.SWISSPASS_AUTHORITY),D=i(e.public.SWISSPASS_AUTHORITY),E=`${M}/kunde/profile?lang=${d}&provider=${I}`,l=`/v3/oevlogin/ui/app/auth/application/access/login-sso-ticket-ui?sso_ticket=${encodeURIComponent(T)}&Location=${encodeURIComponent(E)}`;return`${D}/v3/oevlogin/logout?Location=${encodeURIComponent(l)}`}catch(a){console.error("Error getting SwissPass account URL:",a)}}return{getSwissPassAccountUrl:A}}const ue={name:"PersonalIndex",components:{LabelOrIconButton:h(()=>g(()=>import("./label-or-icon-button.IEvyGzrF.js"),__vite__mapDeps([8,9,3,4,1,2,5,6]),import.meta.url)),JButton:h(()=>g(()=>import("./Button.Vs7zN5AW.js").then(e=>e.B),__vite__mapDeps([3,4,1,2,5,6]),import.meta.url)),InfoBox:h(()=>g(()=>import("./info-box.Kii1Q4sD.js"),__vite__mapDeps([10,1,2,3,4,5,6,11,12,13,14]),import.meta.url)),LoadingIndicator:h(()=>g(()=>import("./spinner.14dMe1JC.js"),__vite__mapDeps([15,1,2,16]),import.meta.url)),ProfileDeleteModal:h(()=>g(()=>import("./profile-delete-modal.bjMi-iWo.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url)),ProfileDeleteAccount:h(()=>g(()=>Promise.resolve().then(()=>ce),void 0,import.meta.url)),Modal:h(()=>g(()=>import("./modal.yC41eaqY.js"),__vite__mapDeps([17,1,2,18,19,20,21,22,23,24,25]),import.meta.url)),ChangePasswordForm:h(()=>g(()=>import("./change-password-form.6hCD6dHK.js"),__vite__mapDeps([26,1,2,27,28,4,5,29,30,31,32,33,34,35,36,37,38,39,40,3,6,41]),import.meta.url)),ProfileLayout:h(()=>g(()=>import("./profile-layout.VA7tOqSS.js"),__vite__mapDeps([42,1,2,43,44,4,5,45,46,47,48,49]),import.meta.url)),ProfileInfoBox:h(()=>g(()=>import("./profile-info-box.1ubcrm6H.js"),__vite__mapDeps([50,1,2,51]),import.meta.url)),PersonalInfoEdit:h(()=>g(()=>import("./personal-info-edit.WMYkP74_.js"),__vite__mapDeps([52,1,2,53,54,55,56,57,58,59,60,61,62,3,4,5,6,63,64,17,18,19,20,21,22,23,24,25,65]),import.meta.url)),BillingAndShippingForm:h(()=>g(()=>import("./billing-and-shipping-form.FGKxqOnx.js"),__vite__mapDeps([66,1,2,62,3,4,5,6,67]),import.meta.url)),FilterBar:h(()=>g(()=>import("./filter-bar.ECU3v43O.js"),__vite__mapDeps([68,69,1,2,12,13,70]),import.meta.url)),LinkBtn:re},mixins:[ie,ne],setup(){const{$store:e}=K(),s=e.getters["config/__"],{lang:S}=oe(),w=Y(!1);G({title:s("profile.personal_info.headline")});const o=_e();return{lang:S,passwordFormMounted:w,swissPassApiClient:o}},data(){return{showDeletionModal:!1,showSkilineConnectModal:!1,confirmation:!1,dataRequestMessage:"",activeFilter:"personal",showPersonalInfoModal:!1,showBillingForm:!1,showShippingForm:!1,showPasswordForm:!1,skilineProcess:!1}},computed:{...$({applicationConfig:"config/applicationConfig",__:"config/__",user:"user/index/user",customer:"user/index/customer",email:"user/index/email",skilineConnected:"user/index/isSkilineConnected",userUpdating:"user/index/updating",currentLanguageCode:"config/currentLanguageCode",shippingAddress:"user/index/shippingAddress",billingAddress:"user/index/billingAddress",hasShippingAddress:"user/index/hasShippingAddress",swissPassStatusLoggedIn:"user/index/swissPassStatusLoggedIn",swissPassStatusNotLoggedIn:"user/index/swissPassStatusNotLoggedIn",userInitialized:"user/index/userCallWasCalled",hasBillingAddress:"user/index/hasBillingAddress",themeConfig:"configuration/theme/theme"}),showThirdPartyIntegration(){return this.$config.public.SKILINE_OAUTH_CLIENT_ID&&this.$config.public.SKILINE_OAUTH_BASE_URL},isThirdPartyAuth(){return localStorage?.getItem("isThirdPartyAuth")},filterBarItems(){return[{name:this.__("profile.personal_info.personal_data_tab"),id:"personal"},{name:this.__("profile.personal_info.account _tab"),id:"account"}]}
1,formattedBirthDate(){if(this.customer.birthdate)return j(this.customer.birthdate).format("DD.MM.YYYY")},gender(){return{MALE:"Male",FEMALE:"Female",WONT_SPECIFY:"I prefer not to say"}[this.customer.gender]},exportDataMessage(){return this.__("We have sent all of your stored data to %email%. Please check your mail account to download and view the data.").replace("%email%",this.customer.email)},oAuthSettings(){const e=this.$store.getters["config/byKey"]("skilineOAuthSettings",null);return e?{...e,redirectUri:`${this.$config.public.BASE_URL}/${this.currentLanguageCode}/profile/personal`}:null},showBillingAddress(){return this.swissPassStatusLoggedIn?this.hasBillingAddress:!0},showShippingAddress(){return this.swissPassStatusLoggedIn?this.hasShippingAddress:!0}},async beforeMount(){await this.$store.dispatch("checkout/getInfo"),this.coloredHeader(),await this.$store.dispatch("configGeneral/load")},async mounted(){this.$nextTick(()=>{this.$digitalDataLayer.pushPage({},!1,"",document.referrer)});const e=this.$queryHandler.getParam("activeFilter");e&&(this.activeFilter=e[0]);const s=new URLSearchParams(window.location.hash.replace("#","")),S=s.get("access_token"),w=S||this.$queryHandler.getParam("access_token"),o=s.get("error")||this.$queryHandler.getParam("error");if(!(!w&&!o)){if(this.activeFilter="account",!this.oAuthSettings){this.handleError();return}try{let i;if(S?i=S:i=(await new O(this.oAuthSettings).token.getToken(window.location.href)).accessToken,!i){this.handleError();return}this.$store.commit("user/index/setSkilineToken",i),await this.$store.dispatch("user/index/loadSkilineUserData"),await this.$store.dispatch("user/index/getCustomerInfo");const P=this.$store.getters["user/index/skilineId"];await this.$store.dispatch("user/index/connectSkilineToPeaksolution",{skilineUserId:P,skilineAuthToken:i,keycloakToken:i}),this.$router.replace({query:null,hash:""}),this.$bus.$emit("show-toast",{type:"profile-success",message:this.__("profile.personal_info.third_party_connect_toast_message")})}catch(i){this.handleError(i)}}},methods:{...z({coloredHeader:"navigation/coloredHeader"}),deleteUserAccount(){this.$store.commit("user/index/performPostLogoutCleanup"),this.$bus.$emit(N.LOGOUT_USER)},async exportUserData(){const e=await this.$store.dispatch("user/index/exportUser");e?.data?.me?.export?.message?.toLowerCase()?.includes("user export started")?this.dataRequestMessage=this.exportDataMessage:this.dataRequestMessage=e?.data?.me?.export?.message?this.__(e.data.me.export.message):this.__("An unexpected error occurred - please try again.")},async openSwissPassAccountUrl(){localStorage.removeItem(J.SWISS_PASS_LOGIN);const e=await this.swissPassApiClient.getSwissPassAccountUrl(this.currentLanguageCode);if(!e){this.$bus.$emit("show-toast",{type:"warning-without-icon",message:this.$t("An unexpected error occurred. Please try again")});return}console.info("Opening SwissPass account URL:",e),window.open(e,"_blank")},redirectToSkiline(){if(!this.oAuthSettings)return;const s=new O(this.oAuthSettings).token.getUri();window.location.replace(s)},changeFilter(e){const s=e==="account"?"account":null;this.$queryHandler.setParam("activeFilter",s),this.activeFilter=e},formatNumber(e){return e.startsWith("+")?e:`+${e}`},handleError(){setTimeout(()=>{this.$bus.$emit("show-toast",{type:"profile-success",message:this.__("An unexpected error occurred. Please try again")}),this.$router.replace({query:null})},2e3)},async disconnectSkiline(){try{this.skilineProcess=!0,await this.$store.dispatch("user/index/disconnectSkiline")?this.$bus.$emit("show-toast",{type:"profile-success",message:this.__("profile.personal_info.third_party_disconnect_toast_message")}):this.$bus.$emit("show-toast",{type:"profile-success",message:this.__("Couldn't disconnect from skiline.")}),this.showSkilineConnectModal=!1,this.skilineProcess=!1}catch{this.showSkilineConnectModal=!1,this.$bus.$emit("show-toast",{type:"profile-success",message:this.__("Couldn't disconnect from skiline.")})}}}},f=e=>(Q("data-v-d8562107"),e=e(),X(),e),pe={class:"row"},he={class:"col-md-6"},ge={class:"external-login-info-box__container"},me={key:1}
1,fe={key:0,class:"box__inline-vertical-padding"},be={class:"box"},we={class:"box__padding"},Se={class:"profile-row"},ve={class:"box__title flex-1"},ke=f(()=>t("div",{class:"box__line"},null,-1)),Pe={class:"box__padding"},Ae={key:0,class:"box__text"},ye={key:2,class:"box__text"},Ie={key:3,class:"box__text"},xe={class:"box__text"},Ce={key:4,class:"box__text"},Le={key:5,class:"box__inline-vertical-padding"},Te={key:1,class:"box__inline-vertical-padding"},Ue={key:2,class:"box"},Me={class:"box__padding"},De={class:"profile-row"},Ee={class:"box__title flex-1"},Be=f(()=>t("div",{class:"box__line"},null,-1)),Fe={class:"box__padding"},Oe={class:"box__text"},Re={class:"box__text"},$e={class:"box__text"},Ne={key:3,class:"box__inline-vertical-padding"},Ve={key:4,class:"box"},qe={class:"box__padding"},He={class:"profile-row"},We={class:"box__title flex-1"},Ye=f(()=>t("div",{class:"box__line"},null,-1)),Ge={class:"box__padding"},je={class:"box__text"},ze={class:"box__text"},Je={class:"box__text"},Ke={key:2},Qe={key:0,class:"box__inline-vertical-padding"},Xe={key:1,class:"box"},Ze={class:"box__padding"},es={class:"profile-row"},ss={class:"box__title flex-1"},ts=f(()=>t("div",{class:"box__line"},null,-1)),os=f(()=>t("div",{class:"box__padding"},[t("div",{class:"box__text"}," â¢â¢â¢â¢â¢â¢â¢â¢â¢ ")],-1)),is=f(()=>t("div",{class:"box__inline-vertical-padding"},null,-1)),ns={class:"box"},rs={class:"box__padding"},ls={class:"box__title"},as=f(()=>t("div",{class:"box__line"},null,-1)),ds={class:"box__padding"},cs={class:"box__gray-box"},_s={class:"d-flex align-items-center"},us=f(()=>t("img",{src:le,class:"skiline-icon"},null,-1)),ps={class:"box__text flex-1 box__text--bold"},hs=f(()=>t("div",{class:"box__inline-vertical-padding"},null,-1)),gs={class:"box personal-info__user_data_request"},ms={class:"box__padding"},fs={class:"box__title"},bs=f(()=>t("div",{class:"box__line"},null,-1)),ws={class:"box__padding"},Ss={class:"box__subtitle"},vs=f(()=>t("div",{class:"box__inline-vertical-padding"},null,-1)),ks={key:0,class:"box box__left-border"},Ps={class:"box__padding"},As={class:"box__text"},ys=f(()=>t("div",{class:"box__inline-vertical-padding"},null,-1)),Is={class:"box personal-info__account_deletion"},xs={class:"box__padding"},Cs={class:"box__title"},Ls=f(()=>t("div",{class:"box__line"},null,-1)),Ts={class:"box__padding"},Us={class:"box__subtitle"},Ms=f(()=>t("div",{class:"box__inline-vertical-padding"},null,-1)),Ds={class:"col-md-6 d-none d-md-block"};function Es(e,s,S,w,o,i){const P=v("FilterBar"),A=v("JButton"),d=v("InfoBox"),a=Z,k=v("LoadingIndicator"),p=v("LinkBtn"),C=ee,L=q,y=v("Modal"),T=V,U=v("PersonalInfoEdit"),I=v("BillingAndShippingForm"),M=v("ChangePasswordForm"),D=se,E=te;return n(),m(E,null,{default:b(()=>[u(D,null,{default:b(()=>[t("div",pe,[t("div",he,[u(P,{"filter-bar-items":i.filterBarItems,"active-filter":o.activeFilter,onChangeFilter:i.changeFilter},null,8,["filter-bar-items","active-filter","onChangeFilter"]),e.swissPassStatusLoggedIn?(n(),m(d,{key:0,class:"external-login-info-box"},{default:b(()=>[t("div",ge,[t("div",null,r(e.__("Your account data is provided by another platform with which you have logged in. You can change your details there. To see the changes on this page afterwards please log out and back in.")),1),u(A,{"testing-id":"editDetailsAtSwissPass",secondary:"",sm:"",onClick:i.openSwissPassAccountUrl},{default:b(()=>[x(r(e.__("Edit details at SwissPass")),1)]),_:1},8,["onClick"])])]),_:1})):c("",!0),o.activeFilter==="personal"?(n(),_("div",me,[e.swissPassStatusLoggedIn?(n(),_("div",fe)):c("",!0),t("div",be,[t("div",we,[t("div",Se,[t("h2",ve,r(e.__("profile.personal_info.personal_data_tab.personal_info")),1),e.swissPassStatusNotLoggedIn&&!i.isThirdPartyAuth?(n(),m(a,{key:0,neutral:"",icon:"pen",label:e.$t("general.button.edit"),onClick:s[0]||(s[0]=l=>o.showPersonalInfoModal=!0)},null,8,["label"])):c("",!0)])]),ke,t("div",Pe,[e.customer.firstname||e.customer.lastname?(n(),_("div",Ae,r(`${e.customer.firstname} ${e.customer.lastname}`),1)):(n(),m(k,{key:1,class:"personal-spinner"})),i.formattedBirthDate?(n(),_("div",ye,r(i.formattedBirthDate),1)):c("",!0),e.themeConfig["hide-gender"]?c("",!0):(n(),_("div",Ie,r(e.__(i.gender)),1)),t("div",xe,r(e.customer.email),1),e.customer.phone?(n(),_("div",Ce,r(i.formatNumber(e.customer.phone)),1)):c("",!0),i.isThirdPartyAuth?(n(),_("div",Le)):c("",!0),i.isThirdPartyAuth?(n(),m(d,{key:6,description:"Your personal info is provided by another platform with which you have logged in. You can change your details there. To see the changes on this page afterwards please log out and back in."})):c("",!0)])]),i.showBillingAddress?(n(),_("div",Te)):c("",!0),i.showBillingAddress?(n(),_("div",Ue,[t("div",Me,[t("div",De,[t("h2",Ee,r(e.__("profile.personal_info.personal_data_tab.billing_address")),1),e.hasBillingAddress&&e.swissPassStatusNotLoggedIn?(n(),m(a,{key:0,neutral:"",icon:"pen",label:e.$t("general.button.edit"),onClick:s[1]||(s[1]=l=>o.showBillingForm=!0)},null,8,["label"])):e.swissPassStatusNotLoggedIn?(n(),m(a,{key:1,label:e.$t("general.button.add"),primary:"",icon:"add",onClick:s[2]||(s[2]=l=>o.showBillingForm=!0)},null,8,["label"])):c("",!0)])]),e.hasBillingAddress?(n(),_(B,{key:0},[Be,t("div",Fe,[t("div",Oe,r(e.billingAddress.street),1),t("div",Re,r(`${e.billingAddress.postcode} ${e.billingAddress.city}`),1),t("div",$e,r(w.lang(e.billingAddress.countryId)),1)])],64)):c("",!0)])):c("",!0),i.showShippingAddress?(n(),_("div",Ne)):c("",!0),i.showShippingAddress?(n(),_("div",Ve,[t("div",qe,[t("div",He,[t("h2",We,r(e.__("profile.personal_info.personal_data_tab.shipping_address")),1),e.hasShippingAddress&&e.swissPassStatusNotLoggedIn?(n(),m(a,{key:0,neutral:"",label:e.$t("general.button.edit"),icon:"pen",onClick:s[3]||(s[3]=l=>o.showShippingForm=!0)},null,8,["label"])):e.swissPassStatusNotLoggedIn?(n(),m(a,{key:1,primary:"",label:e.$t("general.button.add"),icon:"add",onClick:s[4]||(s[4]=l=>o.showShippingForm=!0)},null,8,["label"])):c("",!0)])]),e.hasShippingAddress?(n(),_(B,{key:0},[Ye,t("div",Ge,[t("div",je,r(e.shippingAddress.street),1),t("div",ze,r(`${e.shippingAddress.postcode} ${e.shippingAddress.city}`),1),t("div",Je,r(w.lang(e.shippingAddress.countryId)),1)])],64)):c("",!0)])):c("",!0)])):(n(),_("div",Ke,[e.swissPassStatusNotLoggedIn&&!i.isThirdPartyAuth&&e.swissPassStatusLoggedIn?(n(),_("div",Qe)):c("",!0),e.swissPassStatusNotLoggedIn&&!i.isThirdPartyAuth?(n(),_("div",Xe,[t("div",Ze,[t("div",es,[t("h2",ss,r(e.__("profile.personal_info.password_headline")),1),u(a,{neutral:"",label:e.$t("general.button.change"),icon:"pen",onClick:s[5
1]||(s[5]=l=>o.showPasswordForm=!0)},null,8,["label"])])]),ts,os])):c("",!0),is,i.showThirdPartyIntegration&&!e.$config.public.WC_BUILD?(n(),_(B,{key:2},[t("div",ns,[t("div",rs,[t("h2",ls,r(e.__("profile.personal_info.third_party_headline")),1)]),as,t("div",ds,[t("div",cs,[t("div",_s,[us,t("div",ps,r(e.__("Skiline")),1),e.skilineConnected?(n(),m(p,{key:0,class:"box__btn skiline-btn",onClick:s[6]||(s[6]=l=>o.showSkilineConnectModal=!0)},{default:b(()=>[x(r(e.__("general.button.disconnect")),1)]),_:1})):(n(),m(p,{key:1,class:"box__btn skiline-btn",onClick:i.redirectToSkiline},{default:b(()=>[x(r(e.__("general.button.connect")),1)]),_:1},8,["onClick"]))])])])]),hs],64)):c("",!0),t("div",gs,[t("div",ms,[t("h2",fs,r(e.__("profile.personal_info.user_data_headline")),1)]),bs,t("div",ws,[t("div",Ss,r(e.__("profile.personal_info.user_data_text")),1),vs,o.dataRequestMessage?(n(),_("div",ks,[t("div",Ps,[t("div",As,r(o.dataRequestMessage),1)])])):(n(),m(A,{key:1,secondary:"",onClick:i.exportUserData},{default:b(()=>[x(r(e.__("profile.personal_info.user_data_button")),1)]),_:1},8,["onClick"]))])]),ys,t("div",Is,[t("div",xs,[t("h2",Cs,r(e.__("profile.personal_info.account_deletion_headline")),1)]),Ls,t("div",Ts,[t("div",Us,r(e.__("profile.personal_info.account_deletion_text")),1),Ms,u(A,{danger:"",onClick:s[7]||(s[7]=l=>o.showDeletionModal=!0)},{default:b(()=>[x(r(e.__("profile.personal_info.account_deletion_button")),1)]),_:1})])])]))]),t("div",Ds,[u(C,{icon:o.activeFilter==="personal"?"james-icon-default-me":"james-icon-account",title:o.activeFilter==="personal"?"profile.personal_info.personal_data_info_headline":"profile.personal_info.account_info_headline",description:o.activeFilter==="personal"?"profile.personal_info.personal_data_info_text":"profile.personal_info.account_info_text"},null,8,["icon","title","description"])]),u(y,{class:"center-modal delete-modal",visible:o.showDeletionModal,title:e.__("Delete account"),"onUpdate:visible":s[9]||(s[9]=l=>o.showDeletionModal=!1),onCloseModal:s[10]||(s[10]=l=>o.showDeletionModal=!1),onDeleteAccount:i.deleteUserAccount},{default:b(()=>[u(L,{account:e.email,onCloseModal:s[8]||(s[8]=l=>o.showDeletionModal=!1)},null,8,["account"])]),_:1}
1,8,["visible","title","onDeleteAccount"]),u(y,{title:e.__("Disconnect Skiline"),class:"center-modal delete-modal",visible:o.showSkilineConnectModal,"onUpdate:visible":s[12]||(s[12]=l=>o.showSkilineConnectModal=!1),onCloseModal:s[13]||(s[13]=l=>o.showSkilineConnectModal=!1)},{default:b(()=>[u(T,{description:"profile.personal_info.third_party_disconnect_text",title:"profile.personal_info.third_party_disconnect_headline","loading-text":"Disconnecting...",loading:o.skilineProcess,"delete-button-text":"Disconnect",onClose:s[11]||(s[11]=l=>o.showSkilineConnectModal=!1),onDelete:i.disconnectSkiline},null,8,["loading","onDelete"])]),_:1},8,["title","visible"]),u(U,{visible:o.showPersonalInfoModal,onClose:s[14]||(s[14]=l=>o.showPersonalInfoModal=!1)},null,8,["visible"]),u(y,{title:e.__("profile.personal_info.personal_data_tab.billing_address"),class:"center-modal",visible:o.showBillingForm,"onUpdate:visible":s[16]||(s[16]=l=>o.showBillingForm=!1),onCloseModal:s[17]||(s[17]=l=>o.showBillingForm=!1)},{default:b(()=>[u(I,{getter:"user/index/billingAddress","is-visible":o.showBillingForm,"is-update":e.hasBillingAddress,onClose:s[15]||(s[15]=l=>o.showBillingForm=!1)},null,8,["is-visible","is-update"])]),_:1},8,["title","visible"]),u(y,{title:e.__("profile.personal_info.personal_data_tab.shipping_address"),class:"center-modal",visible:o.showShippingForm,"onUpdate:visible":s[19]||(s[19]=l=>o.showShippingForm=!1),onCloseModal:s[20]||(s[20]=l=>o.showShippingForm=!1)},{default:b(()=>[u(I,{getter:"user/index/shippingAddress","is-visible":o.showShippingForm,"is-update":e.hasShippingAddress,onClose:s[18]||(s[18]=l=>o.showShippingForm=!1)},null,8,["is-visible","is-update"])]),_:1},8,["title","visible"]),o.showPasswordForm?(n(),m(y,{key:0,title:e.__("profile.personal_info.password_headline"),class:"center-modal change-password-modal","refresh-focus-trap":"",visible:"","content-mounted":w.passwordFormMounted,"onUpdate:visible":s[23]||(s[23]=l=>o.showPasswordForm=!1),onCloseModal:s[24]||(s[24]=l=>o.showPasswordForm=!1)},{default:b(()=>[u(M,{onMounted:s[21]||(s[21]=l=>w.passwordFormMounted=!0),onClose:s[22]||(s[22]=l=>o.showPasswordForm=!1)})]),_:1},8,["title","content-mounted"])):c("",!0)])]),_:1})]),_:1})}const kt=R(ue,[["render",Es],["__scopeId","data-v-d8562107"]]);export{kt as default}; 2function __vite__mapDeps(indexes) { 3 if (!__vite__mapDeps.viteFileDeps) { 4 __vite__mapDeps.viteFileDeps = ["./profile-delete-modal.bjMi-iWo.js","./entry.BARHI1zD.js","./entry.O9KOVcsn.css","./Button.Vs7zN5AW.js","./generic-link.WmmkFWeP.js","./index.tsdXPcWo.js","./Button.ZpRhhRh-.css","./profile-delete-modal.miNg9_dL.css","./label-or-icon-button.IEvyGzrF.js","./label-or-icon-button.vue.zq0uxbnf.js","./info-box.Kii1Q4sD.js","./generic-close-button.gD7KtU8B.js","./navigation-button.E2ILGJ_Y.js","./navigation-button.x2ayvC3n.css","./info-box.omsx3MpY.css","./spinner.14dMe1JC.js","./spinner.5Hm6A8TJ.css","./modal.yC41eaqY.js","./use-focus-trap.gDTl49OY.js","./is-element-visible._LEGGY8N.js","./id.ZlnRo7l5.js","./client-only.N7BQUeU9.js","./chatbots-util.pOxAlLV3.js","./is-safari.Uj6n_Aoz.js","./body-scroll-lock.SFLxkBvS.js","./modal.lgeNB4wW.css","./change-password-form.6hCD6dHK.js","./password-input.HktdDtNv.js","./link-btn.hJ_ExG37.js","./link-btn.jN2ZQscP.css","./input-text.yDMzPHZ6.js","./getFormattedWithCurrency.G5lnqmxX.js","./viewport-observer.A5nhnINA.js","./text-link.UEmsggM3.js","./text-link.j1XSmbOP.css","./Checkbox.axWCqXxb.js","./icon-svg.2JsGcs9G.js","./icon-svg.3GARGKBN.css","./Checkbox.lzKikh1C.css","./input-text.aMKDiHCb.css","./password-input.HpOz0Srq.css","./change-password-form.aOg98n2a.css","./profile-layout.VA7tOqSS.js","./profile-breadcrumb.cv2hHOin.js","./link.vFJuqVZs.js","./link.hcze6LbP.css","./componentBase.vfA3eBuK.js","./profile-breadcrumb.UpPHPyyq.css","./login-required.OckcI48R.js","./profile-layout.GT3EaJ0j.css","./profile-info-box.1ubcrm6H.js","./profile-info-box.WwN6IfN3.css","./personal-info-edit.WMYkP74_.js","./pickBy.F_BJy-Um.js","./_basePickBy.dLDdNeko.js","./PersonalizationsDataSource.QXybqPHN.js","./localizedFormat.BKjed8YE.js","./customParseFormat.d5s7cwD9.js","./_baseFindIndex.Rfhu0oUq.js","./toNumber.x155mztj.js","./_baseEach.G1Cze8OE.js","./James.Ih8vfmWU.js","./is-valid-phone.wHqYE52X.js","./use-measure-first-input-width.eIWs5NYW.js","./use-birthdate-validation.docp9Zvx.js","./personal-info-edit.ikDPydg1.css","./billing-and-shipping-form.FGKxqOnx.js","./billing-and-shipping-form.Eaqel9B5.css","./filter-bar.ECU3v43O.js","./use-reactive-breakpoints.qFBd_-82.js","./filter-bar.hu6xCmWe.css"] 5 } 6 return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) 7}
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.