PageSourceSearch

https://www.qlocktwo.com/_nuxt/Cqc3WuxS.js

js qlocktwo.com collected 2026-09-25 09:56:26 UTC 4,008 bytes, 1 lines download raw bytes

1import{_ as w,a as N}from"./9B4d05eJ.js";import{f as $,q as t,b as o,c,M as y,e as a,a4 as n,aw as f,I as _,ac as B,a0 as C,x as L,a as S,v as j,u as x,H as m,w as v,au as q,a3 as V,j as P,r as O,n as E,J as H,C as M,K as A,ah as D,Y as F}from"./B-He9Tc_.js";import{u as G}from"./DiE8Ei-x.js";import"./Wn3B7X3h.js";import"./D1I5pJ95.js";import"./B78TT5_d.js";const J={key:0,class:"grid grid-cols-[max-content_1fr]"},K={class:"pb-2"},R={class:"text-right pl-4 pb-2"},U={class:"pb-2"},Y={class:"text-right pl-4 pb-2"},z={class:"mt-2 py-2 text-xl font-semibold border-t border-neutrals-0"},Q={class:"text-xl font-semibold text-right pl-4 mt-2 py-2 border-t border-neutrals-0"},W={key:0,class:"col-span-full text-sm -mt-1.5"},X={key:0,class:"ml-1"},Z=$({__name:"Totals",props:{cart:{}},setup(u){const e=L(()=>u.cart.prices),{isNetStore:p}=G();return(s,r)=>t(e)?(o(),c("div",J,[t(e).subtotal_including_tax?(o(),c(y,{key:0},[a("div",K,n(s.$t("checkout.totals.subtotal"))+": ",1),a("div",R,n(("useInternationalPrice"in s?s.useInternationalPrice:t(f))(t(e).subtotal_including_tax.value,t(e).subtotal_including_tax.currency)),1)],64)):_("",!0),(o(!0),c(y,null,B(t(e).applied_taxes,i=>(o(),c(y,null,[a("div",U,n(i.label)+":",1),a("div",Y,n(("useInternationalPrice"in s?s.useInternationalPrice:t(f))(i.amount.value,i.amount.currency)),1)],64))),256)),t(e).grand_total?(o(),c(y,{key:1},[a("div",z,n(s.$t("checkout.totals.grandTotal"))+": ",1),a("div",Q,n(("useInternationalPrice"in s?s.useInternationalPrice:t(f))(t(e).grand_total.value,t(e).grand_total.currency)),1),u.cart?(o(),c("div",W,[C(n(t(e).applied_taxes.length?s.$t("including_vat"):s.$t("excluding_vat")),1),t(p)&&u.cart?.billing_address&&t(e).applied_taxes.length?(o(),c("span",X,"("+n(u.cart.billing_address.country.code)+")",1)):_("",!0)])):_("",!0)],64)):_("",!0)])):_("",!0)}}),tt=Object.assign(Z,{__name:"CheckoutCartTotals"}),et={key:0,class:"grid grid-cols-12 gap-8 lg:gap-16"},st={class:"col-span-full lg:col-span-8"},at={class:"col-span-full lg:col-span-4"},ot={class:"flex flex-col"},nt={class:"border border-neutrals-0 p-6 pt-4 mb-6"},ct={class:"mb-2"},lt={class:"space-y-4"},rt={key:1},it=$({__name:"Cart",setup(u){const e=O(!1),p=S(),{currentLocation:s}=j(),{cart:r,processPaypalExpress:i}=x(),k=async({orderId:l})=>{e.value=!0;try{const d=await $fetch(`/api/shop/payments/paypal/order/${l}`,{method:"POST",headers:{"Content-Type":"application/json"},body:{storeCode:s.value?.store?.code}});await i(d),await E(p("/checkout/express/review"))}catch(d){console.error(d)}finally{e.value=!1}};return(l,d)=>{const h=w,g=tt,b=q,I=V,T=N;return o(),c("div",null,[t(r)?.total_quantity?(o(),c("div",et,[a("div",st,[m(h,{items:t(r).items,editable:!0},null,8,["items"])]),a("div",at,[a("div",ot,[a("div",nt,[a("h3",ct,n(l.$t("checkout.totals.summary")),1),m(g,{cart:t(r)},null,8,["cart"])]),a("div",lt,[m(I,{class:"w-full",variant:"primary",disabled:t(e),"as-child":""},{default:v(()=>[m(b,{to:l.$localePath("/checkout")},{default:v(()=>[C(n(l.$t("checkout.cart.checkout")),1)]),_:1},8,["to"])]),_:1},8,["disabled"]),t(s)?.store?.code&&!["uae_aed"].includes(t(s)?.store?.code)?(o(),P(T,{key:0,disabled:t(e),onSubmit:k},null,8,["disabled"])):_("",!0)])])])])):(o(),c("div",rt,[a("p",null,n(l.$t("checkout.cart.empty")),1)]))])}}}),ut=Object.assign(it,{__name:"CheckoutCart"}),dt={class:"mt-16 pt-24"},_t={class:"h1"},pt={class:"mt-8 lg:mt-12"},mt={key:0},vt=$({__name:"cart",setup(u){const{t:e}=H();M({title:()=>e("checkout.cart.title"),meta:[{property:"og:title",content:()=>e("checkout.cart.title")}]});const p=A(),{query:s}=p;let r=!1;const{loading:i,cart:k,addProduct:l}=x();return D(async()=>{!r&&s.addtest&&(r=!0,k.value?.items?.find(h=>h.product.sku==="Testartikel")||await l({quantity:1,sku:"Testartikel"}))}),(d,h)=>{const g=ut,b=F;return o(),c("div",dt,[m(b,null,{default:v(()=>[a("h1",_t,n(t(e)("checkout.cart.title")),1),a("div",pt,[t(i)?(o(),c("p",mt,n(t(e)("checkout.cart.loading")),1)):(o(),P(g,{key:1}))])]),_:1})])}}});export{vt 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.