PageSourceSearch

https://www.bagageonline.nl/_nuxt/CEnJSIug.js

js bagageonline.nl collected 2026-10-06 04:37:25 UTC 3,937 bytes, 2 lines download raw bytes

1import{A as F}from"./ynUjWIU0.js";import{_ as I}from"./B-j_aCGL.js";import V from"./BhFQfoxf.js";import P from"./DzfPO2cK.js";import{u as q}from"./C3grgCkA.js";import{d as z,U as E,w as M,u as O,o as n,c as o,l as t,t as e,f as d,g as v,j as c,h as $,F as b,q as y,m as l}from"./9Ylq1tmp.js";import{u as T}from"./BRD977oR.js";import"./rUgwcmHV.js";import"./Bsy_CJbM.js";import"./DlAUqK2U.js";const U={class:"my-account__addresses"},Y=["textContent"],Z={class:"my-account__address-book"},G={class:"my-account__header"},H=["textContent"],J={class:"my-account__info"},K={class:"my-account__detail"},Q=["textContent"],R={class:"my-account__detail"},W=["textContent"],X={class:"my-account__address-entries"},tt={class:"my-account__header"},et=["textContent"],st={key:0,class:"table--spacing table--thead-highlight table--tbody-zebra table--grid table--responsive table--justified"},nt=["data-label"],ot={key:0},at={key:1},dt={key:2},ct={class:"actions"},rt=["onClick"],it={key:1},lt={class:"my-account__toolbar formkit-buttons"},vt=z({__name:"index",async setup(_t){let f,g;const{getCountry:w,fetchStoreData:x}=E();[f,g]=M(()=>x()),await f,g();const{t:a}=O({useScope:"global"}),u={firstname:a("First name"),lastname:a("Last name"),street:a("Street"),city:a("City"),country_code:a("Country"),postcode:a("Zip code"),telephone:a("Phone number")},{setBreadcrumbs:B}=q();B({label:a("Address book"),parents:[{label:a("Account"),url:"account"}]});const{billingAddress:h,shippingAddress:m,otherAddresses:C,deleteCustomerAddress:D}=T(),S=async s=>{confirm(a("Are you sure you want to delete this address?"))&&await D(s)};return(s,ut)=>{const _=F,k=I,j=V,L=P;return n(),o("div",U,[t("h1",{class:"my-account__title heading heading--1",textContent:e(s.$t("My addresses"))},null,8,Y),t("div",Z,[t("div",G,[t("h2",{class:"my-account__heading heading heading--2",textContent:e(s.$t("Default addresses"))},null,8,H)]),t("div",J,[t("div",K,[d(h)?(n(),v(k,{key:0,address:d(h),"show-country":!0},{before:c(()=>[t("strong",{class:"address__heading",textContent:e(s.$t("Default billing address"))},null,8,Q)]),after:c(()=>[l(_,{to:"/account/addresses/edit/"+d(h).id+"/"},{default:c(()=>[t("span",null,e(s.$t("Change billing address")),1)]),_:1},8,["to"])]),_:1},8,["address"])):$("",!0)]),t("div",R,[d(m)?(n(),v(k,{key:0,address:d(m),"show-country":!0},{before:c(()=>[t("strong",{class:"address__heading",textContent:e(s.$t("Default shipping address"))},null,8,W)]),after:c(()=>[l(_,{to:"/account/addresses/edit/"+d(m).id+"/"},{default:c(()=>[t("span",null,e(s.$t("Change shipping address")),1)]),_:1},8,["to"])]),_:1},8,["address"])):$("",!0)])])]),t("div",X,[t("div",tt,[t("h2",{class:"my-account__heading heading heading--2",textContent:e(s.$t("Additional address entries"))},null,8,et)]),d(C).length?(n(),o("table",st,[t("thead",null,[t("tr",null,[(n(),o(b,null,y(u,(r,p)=>t("th",{key:p},[t("span",null,e(r),1)])),64)),t("th",null,[t("span",null,e(s.$t("Action")),1)])])]),t("tbody",null,[(n(!0),o(b,null,y(d(C),(r,p)=>(n(),o("tr",{key:p},[(n(!0),o(b,null,y(Object.keys(u),(i,N)=>{var A;return n(),o("td",{key:N,"data-label":`${u[i]}`},[i==="country_code"?(n(),o("span",ot,e((A=d(w)(r[i]))==null?void 0:A.label),1)):i==="street"?(n(),o("span",at,e(r[i].join(" ")),1)):(n(),o("span",dt,e(r[i]),1))],8,nt)}),128)),t("td",ct,[l(_,{to:"/account/addresses/edit/"+r.id+"/"},{default:c(()=>[l(j,{class:"icon icon--pencil"})]),_:2},1032,["to"]),t("button",{type:"button",onClick:i=>S(r.id)},[l(L,{class:"icon icon--trash"})],8,rt)])]))),128))])])):(n(),o("p",it,e(s.$t("You have no other address entries in your address book.")),1)),t("div",lt,[l(_,{to:"/account/addresses/create/",class:"button button--cta"},{default:c(()=>[t("span",null,e(s.$t("Add new address")),1)]),_:1}),l(_,{class:"button button--link button--back",to:"/account/"},{default:c(()=>[t("span",null,e(s.$t("Back")),1)]),_:1})])])])}}});export{vt as default};
2//# sourceMappingURL=CEnJSIug.js.map

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.