1import{u}from"./Bxht_jAD.js";import{_ as p}from"./r55YrvmA.js";import{W as f,ak as d,ap as h,ah as r,g as C,ao as g,cn as o,aj as l,ai as y,c7 as $,cC as F,cQ as A,cR as N,bR as a}from"./C9Z41gEb.js";import{d as b}from"./QhX7itmo.js";import"./DsQPStvC.js";import"./CZGg5nIu.js";const w=(e,s)=>s.$get("/api/countries").catch(()=>[{code:e.iso2,name:k(e.language,e.iso2)}]),k=(e,s)=>new Intl.DisplayNames([e],{type:"region"}).of(s);let i,n;const P=e=>(i||(i=new Promise(s=>{!n||n.length===0?s(e.$get("/api/misc/academic-titles").catch(()=>[]).then(t=>(n=t,n))):s(n)})),i),T={data:()=>({academicTitles:{},countries:{},genderItems:{}}),async created(){this.disableApisFetch||(this.academicTitles=await P(this.$ofetch).then(e=>e.reduce((s,{titleCode:t,titleName:c})=>(s[t]=c,s),{})),this.countries=await w(this.$clientRuntimeConfig.locale,this.$ofetch).then(e=>e.reduce((s,t)=>(s[t.code]=t.name,s),{})),this.genderItems={Male:this.$t("form.genderavailable.male"),Female:this.$t("form.genderavailable.female")})}},_=b({name:"WsOrderPhysicalCardConfirmation",components:{WsCmsComponents:p},mixins:[T],setup(){const{physicalCardConfig:e}=A().$componentConfigs;return N().setPageFromConfig(e),u(),{physicalCardConfig:e}},created(){this.addressForm={...F().billing??{}},this.country=this.addressForm.country?this.countries?.[this.addressForm.country]:void 0}},"$toHAQ6DV8u"),B={class:"ws-order-physical-card-confirmation"},R={class:"container text-center py-6"};function V(e,s,t,c,v,D){const m=$("ws-cms-components");return a(),d("div",B,[h(m,{content:e.physicalCardConfig.confirmationBeforeContent},null,8,["content"]),r("div",R,[e.physicalCardConfig.confirmationAddress?(a(),d(C,{key:0},[g(o(e.physicalCardConfig.confirmationAddress)+" ",1),s[0]||(s[0]=r("br",null,null,-1))],64)):l("",!0),r("b",null,o(e.addressForm.streetName)+" "+o(e.addressForm.streetNumber)+o(e.addressForm.stairCase?`/${e.addressForm.stairCase}`:"")+o(e.addressForm.door?`/${e.addressForm.door}`:"")+", "+o(e.addressForm.postalCode)+o(e.country?`, ${e.country}`:""),1)]),e.physicalCardConfig.confirmationAfterContent?(a(),y(m,{key:0,content:e.physicalCardConfig.confirmationAfterContent},null,8,["content"])):l("",!0)])}const E=f(_,[["render",V]]);export{E 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.