PageSourceSearch

https://bedrukjeblokje.nl/cdn/shopifycloud/checkout-web/assets/c1/page-Information.DI_8SfOX.js

js bedrukjeblokje.nl collected 2026-09-27 05:04:33 UTC 16,493 bytes, 1 lines download raw bytes

1import{k as R,q as v,T as fe,u as e,X as ye,x as ve,A as B,p as _e,G as Se,h as K,f as A,i as h,S as H,Q as Ae}from"./esnext-vendor.B9Da21W6.js";import{f as E,aF as Ce,eG as Pe,eH as be,bz as V,V as Ie,k as p,l as I,P as T,Y as k,eI as ke,bN as Ne,dO as Y,G as Z,m as C,ea as De,eJ as Re,p as N,U as b,eK as Ee,cV as Me,dW as we,cj as Le,eL as Te,cW as F,B as xe,bI as Oe,bJ as Fe,bd as ze,N as Be,K as He,M as Ve,eM as Ge,bL as Ue,J as ee,eN as We,a4 as te,eO as qe,bK as ne,eP as je,cL as J,j as se,I as Ke,L as Je}from"./hydrate.DZ4YTm7p.js";import{F as ie}from"./localization-index.1YNaS8kx.js";import{A as $e,B as Xe}from"./BillingAddressForm.pnsu7UK8.js";import{C as Qe}from"./Captcha.kpGPI4W4.js";import{u as Ye,e as oe,P as re,f as ae,g as ce,D as Ze,h as et,i as tt,j as nt,k as st,l as it,m as ot,U as rt,V as at,n as ct,o as dt,E as lt,C as pt}from"./components-VatNumberValidationField.DDyS8GP9.js";import{D as ut}from"./PendingShipping.CnPQOmzL.js";import{b as ht,d as mt,c as gt,a as ft,P as yt}from"./Page.jjGbeNkl.js";import{T as vt}from"./stopwatch.CfKlh48v.js";import{S as g,H as _t,T as D,an as de,ae as St,eq as At,x as Ct,a4 as M,er as Pt,b2 as bt,bg as It,es as kt,af as Nt,am as Dt}from"./addresses-is-address-empty.Bn2lNY_L.js";import{u as Rt}from"./graphql-PaymentSessionMutation.CAXCwUvV.js";import{C as x}from"./Choice.DSKmQsTS.js";import{C as G}from"./IncentiveBadge.DborNHa8.js";import{u as Et}from"./cross-border-hooks.xPE4TSQ5.js";import{A as L}from"./AddressPresenter.BIgrto4P.js";import{C as Mt}from"./Checkbox.DQyvbr9E.js";import{C as le,S as wt}from"./ChangeCompanyLocationLink.r3PUjspg.js";import"./app.DbSrjjlA.js";import"./hooks-useShopPayExternalAppContext.DWwMuRnz.js";import"./hooks-useReplaceShopPayInHistory.DPpLejwu.js";import"./components-RedirectionNotice.module.CsVdFi0g.js";import"./amazon-pay-useAmazonPayPaymentLine.Ju006AId.js";import"./PhoneField.C0TeiZrn.js";import"./hooks-useSuppressShopPayModalOnLoad.DFOLDSdS.js";import"./Popover.BScgzCsS.js";import"./ShopPayCaptcha.DPBCCrUk.js";import"./PaymentErrorBanner.DceAStMH.js";import"./hooks-useGeneralPaymentErrorMessage.EV5zhNz-.js";import"./useShopPayButtonClassName.FG1djxr9.js";import"./shared-shop-theme.DIHIQUEd.js";import"./hooks-useShowShopPayOptin.Br0M25ky.js";import"./hooks-useShouldRevealCustomization.D_kH_Ics.js";import"./hooks-useForceShopPayUrl.BFRInJvm.js";import"./shop-pay-installments-monorail.BAOukcZ1.js";import"./ShopPayLogo.C-Gy2CdB.js";import"./hooks-useWalletsTimeout.CS-oFfve.js";import"./PayButton-helpers.Cc_ffyKs.js";import"./shared-buyer-consent.B_gDyRCR.js";import"./MarketsProDisclaimer.BqGHM17j.js";import"./Section-SectionStyleOverride.hMiKajvE.js";import"./TransitionHeight.CV2XV0NY.js";import"./AutocompleteField-hooks.RGAAfjBE.js";const pe=ye(null),Lt=({children:t})=>{const[n,i]=R(void 0),[s,o]=R(void 0),[r,l]=R(void 0),[a,d]=R(void 0),c=v((m,u)=>{i(m),o(u)},[i,o]),y=v((m,u)=>{l(m),d(u)},[l,d]),f=fe(()=>({prefetchTime:n,prefetchAddress:s,negotiateTime:r,negotiateAddress:a,setPrefetchPoint:c,setNegotiatePoint:y}),[n,s,r,a,c,y]);return e(pe.Provider,{value:f,children:t})},Tt=()=>ve(pe);var U=(t=>(t.Autocomplete="PREFETCH_SHIPPING_RATES_ON_AUTOCOMPLETE",t))(U||{});const xt=()=>{const{shop:{id:t},source:{checkoutSessionIdentifier:n,sourceId:i}}=g(),s=n||i||"",o=new Date().valueOf(),r=`${s}-${o}`;return v((a,d,c)=>({schemaId:"prefetching_of_rates_time_gain/2.0",payload:{eventId:r,prefetchingOfRatesProjectName:"prefetch_on_address_autocomplete",prefetchingOfRatesProjectVersion:"v2",shopId:parseInt(_t(t),10),checkoutToken:s,successfulEarlyFetch:c,prefetchingRoutingRequestSubmittedAt:a,normalRoutingRequestSubmittedAt:d}}),[s,t,r])},$=()=>new Date().valueOf(),X=(t,n)=>t.name===n.name&&t.city===n.city&&t.countryCode===n.countryCode&&t.zoneCode===n.zoneCode&&t.postalCode===n.postalCode&&t.address1===n.address1&&t.address2===n.address2&&t.company===n.company&&t.firstName===n.firstName&&t.lastName===n.lastName&&t.phone===n.phone,ue=()=>{const{userEvents:t}=g(),{shippingAddress:n}=D(),i=xt(),s=Tt(),o=v(a=>{const d=$();if(a===U.Autocomplete){const c=n.value;s?.setPrefetchPoint(d,c)}},[s,n]),r=v(()=>{const a=s?.prefetchTime,d=s?.prefetchAddress,c=s?.negotiateTime,y=s?.negotiateAddress;if(a===void 0||d===void 0)return;const f=$(),m=n.value,u=y!==void 0&&!X(m,y);if(!c||u){const _=X(d,m);t.monorailEvent(i(a,f,_)),s?.setNegotiatePoint(f,m)}},[t,s,n,i]),l=v(()=>{r()},[r]);return{capturePrefetch:o,captureNegotiate:l}},Ot=()=>{const{checkout:t,shop:{prefetchShippingRatesEnabled:n}}=g(),s=!t.configuration.layout.isOnePage.value,{negotiate:o}=E(),{capturePrefetch:r}=ue();return v(()=>{s&&n&&(r(U.Autocomplete),o({include:[],silenceViolations:["non-stock"],prefetch:!1}))},[r,o,n,s])};function Ft(){const{negotiate:t}=E(),{shippingAddress:n}=D(),{observability:i,checkout:{wallets:s}}=g(),o=B(!0),r=B(void 0);_e(()=>{const l=s.activeSession.value,a=n.fields.countryCode.value;if(!l){if(o.current){o.current=!1,r.current=a;return}if(a&&a!==r.current){r.current=a;const d=async()=>{await t({fieldsToResolve:["deliveryNext"],negotiationStage:"negotiation"}),i.log("three_page_checkout_shipping_address_country_change_negotiation","Negotiating due to shipping address country change")};Se(()=>{d()})}}})}function W({additionalFieldGroups:t,settings:n,showSavedAddressSelector:i}){const{shippingAddress:s}=D(),{deliveryMethodsAddressErrors:o}=de(),{inMemoryPayPalParts:{accountStatus:r}}=St(),l=At(),a=Ot(),{shouldGateCrossBorder:d,crossBorderGate:c}
1=Et(),y=(_,S,P)=>{d(_)?c(S,{onCancel:P}):S()},{checkout:f}=g(),{availableDeliveryAddresses:m,mustSelectProvidedAddress:u}=f.proposal.negotiated.fields;return Ce(),Ft(),e($e,{id:"shippingAddressForm",addressType:"shipping",addressErrors:o,address:s,countries:l,settings:n,additionalFieldGroups:t,loading:r.value.status==="loading",onAddressAutoComplete:a,onBeforeCountryChange:y,availableAddresses:m,mustSelectProvidedAddress:u,showSavedAddressSelector:i})}const zt="business_customer_shipping_address_selector",Q="existing_shipping_address",z="custom_shipping_address";function Bt({existingShippingAddress:t,addressErrors:n}){const{i18n:i}=g(),{shippingAddress:s}=D(),{negotiate:o}=E(),{resetAddressErrors:r}=Pe(n),[l,a]=R(!1),d=be(),c=V(),y=Ct(s.peek(),t),{value:f}=M().deliveryNext,[m,u]=R([y?Q:z]),_=v(async P=>{u(P),a(!0),P[0]===z?s.value={...Pt,company:""}:s.value=t,await o({fieldsToResolve:["merchandiseLines","deliveryNext"],onComplete(){r(),a(!1)}})},[t,o,s,r]);Ie({active:l});const S=c.value&&(!d.value||!bt(f));return e(k,{children:e(p,{gap:"base",children:e(G,{name:zt,values:m,onChange:_,hideRadioControl:!S,children:[e(x,{value:Q,children:e(p,{children:[e(I,{type:"strong",children:e(L,{hiddenFields:["address2","phone","company","city","postalCode","zoneCode","countryCode","firstName","lastName"],address:t})}),e(L,{textColor:"subdued",hiddenFields:["phone","company","address1","firstName","lastName"],address:t}),e(L,{textColor:"subdued",hiddenFields:["address2","phone","company","city","postalCode","zoneCode","countryCode","phone","company","address1"],address:t})]})}),S&&e(x,{value:z,selectedContent:e(W,{showSavedAddressSelector:!1}),children:e(p,{children:[e(T,{children:e(I,{type:"strong",children:i.translate("contact.different_shipping_address_label")})}),e(T,{color:"subdued",children:i.translate("contact.different_shipping_address_text")})]})})]})})})}function Ht(){const{i18n:t,checkout:n,persistence:i,source:s}=g(),{setShippingAddressAsDefault:o}=D(),r=n.addressManager.shipping.value;K(()=>{const c=i?.get(It.SetShippingAddressAsDefault,{scope:kt(s)});o.value=c??!1},[]);const l=A(()=>r.canSetDefaultAddress.value&&r.addresses.value.length>0&&r.selectedAddress.value?.default!==!0),a=B(r.selectedAddress.peek()?.id);K(()=>{const c=r.selectedAddress.value?.id;c!=null&&c!==a.current&&(o.value=!1),a.current=c},[r.selectedAddress.value?.id,o]);const d=v(c=>{o.value=c},[o]);return l.value?e(Mt,{id:"three_page_set_default_shipping_address",name:"set_default_shipping_address",checked:o.value??!1,onChange:d,label:t.translate("address_management.address_form.default_address")}):null}const Vt=["delivery_methods_company_location_no_address_item"];function Gt(){const t=M().buyerIdentity.value?.purchasingCompany,n=Ye(),i=A(()=>!n.value.isContact);return t?e(Ut,{purchasingCompany:t}):e(H,{children:[e(W,{}),e(Ht,{}),e(oe,{}),e(h,{when:i,children:e(re,{})})]})}function Ut({purchasingCompany:t}){const{i18n:n,source:i}=g(),{deliveryMethodsAddressErrors:s}=de(),o=V(),r=ke(),l=i.type==="draftOrder",{shippingAddress:a}=D(),d=t.location.shippingAddress,c=l?a.value:d;return c&&r.value?e(Bt,{existingShippingAddress:c,addressErrors:s}):!o.value&&!d?e(p,{gap:"large-200",children:[e(G,{name:"delivery_methods_company_location_no_address",values:Vt,hideRadioControl:!0,children:e(x,{value:"delivery_methods_company_location_no_address_item",children:e(p,{children:[e(I,{children:t.location.name}),e(I,{color:"subdued",children:n.translate("review.blocks.no_address")})]})})}),e(Ne,{tone:"info",children:n.translate("delivery_options.company_location_no_address_banner")})]}):e(W,{showSavedAddressSelector:!1})}const Wt=["selected_pickup_company_location"];function qt(){const{i18n:t}=g(),n=M().buyerIdentity.value?.purchasingCompany,i=n?.location.shippingAddress,s=Y();return n?e(k,{accessibilityLabel:t.translate("company_location.location_title"),children:e(p,{gap:"base",children:[e(Z,{gridAutoFlow:"column",gridTemplateColumns:"minmax(0, 1fr) minmax(auto, max-content)",gridTemplateRows:"minmax(0, 1fr)",alignItems:"baseline",gap:"base",children:[e(C,{level:1,children:t.translate("company_location.location_title")}),e(h,{when:s,children:e(le,{})})]}),e(G,{name:"pickup_company_locations_list",values:Wt,hideRadioControl:!0,children:e(x,{value:"selected_pickup_company_location",children:e(p,{children:[e(I,{
1children:n.location.name}),i?e(L,{address:i,textSize:"small",textColor:"subdued",hiddenFields:De}):e(T,{children:e(I,{type:"small",color:"subdued",children:t.translate("review.blocks.no_address")})})]})})})]})}):null}function jt(){const{i18n:t}=g(),n=M().buyerIdentity.value?.purchasingCompany,i=V(),s=Y();if(n){const o=i.value&&!n.location.shippingAddress;return e(Z,{gridAutoFlow:"column",gridTemplateColumns:"minmax(0, 1fr) minmax(auto, max-content)",gridTemplateRows:"minmax(0, 1fr)",gap:"base",children:[e(p,{gap:"small-400",children:[e(C,{level:1,id:"deliveryAddress",children:t.translate("contact.ship_to_company",{companyName:n.location.name})}),o&&e(I,{color:"subdued",children:t.translate("contact.different_shipping_address_text")})]}),e(h,{when:s,children:e(le,{})})]})}return e(C,{id:"deliveryAddress",level:1,children:t.translate("delivery_options.shipping_address")})}function Kt(){const{i18n:t}=g(),n=Re(),i=N("Checkout::Dynamic::Render","INFORMATION3"),s=ae(),o=r=>e(k,{children:r});return e(p,{gap:"large-400",children:[n&&e(H,{children:[n.options.value.some(({id:r})=>r==="PICKUP_POINT")&&e(ce.Prefetch,{}),e(k,{accessibilityLabel:t.translate("contact.delivery_option_title"),children:e(p,{gap:"base",children:[e(C,{level:1,children:t.translate("contact.delivery_option_title")}),e(Ze,{})]})}),e(b,{customizations:i,render:o})]}),e(et,{name:"delivery-methods",children:e(Jt,{})}),e(h,{when:s,children:e(tt,{})}),!n&&e(b,{customizations:i,render:o})]})}function Jt(){const{methods:t}=Ee(),{i18n:n,checkout:{wallets:i}}=g(),{negotiate:s}=E(),o=Me(),r=M().buyerIdentity,l=A(()=>r.value?.purchasingCompany),a=we(),{shippingAddress:d}=D(),c=v(()=>{i.activeSession.value||s({include:[],fieldsToResolve:["deliveryNext"],silenceViolations:["non-delivery-address"],runListenersOnError:!0})},[i,s]),y=Le(),f=ae(),m=A(()=>t.value.includes("PICK_UP")&&t.value.includes("SHIPPING")),u=A(()=>y.value&&m.value),_=A(()=>!u.value),S=A(()=>t.value.includes("PICKUP_POINT")),P=A(()=>t.value.includes("SHIPPING")),O=nt();Te(d,()=>{a&&a.taxId.reset()});const he=N("Checkout::DeliveryAddress::RenderBefore"),me=N("purchase.checkout.delivery-address.render-after"),ge=A(()=>l.value?.location.name?n.translate("contact.ship_to_company",{companyName:l.value.location.name}):n.translate("delivery_options.shipping_address")),q=e(F,{sectionId:"localPickup",children:e(p,{gap:"small",children:[e(h,{when:u,children:e(C,{level:2,children:n.translate("delivery_options.pickup")})}),O?e(st,{}):e(it,{}),e(qt,{})]})}),j=e(F,{sectionId:"shippingAddressForm",children:e(k,{accessibilityLabel:ge.value,accessibilityRole:"group",children:[e(p,{gap:"base",children:[e(h,{when:u,children:[e(C,{id:"deliveryAddress",level:2,children:n.translate("delivery_options.ship_to_address")}),e(h,{when:f,children:e(xe,{border:"base",padding:"base",borderRadius:"large",children:e(ot,{selectedDeliveryMethodType:"SHIPPING"})})})]}),e(h,{when:_,children:e(jt,{})}),e(h,{when:o,children:e(T,{color:"subdued",children:n.translate("contact.shipping_used_as_billing_notice")})}),e(b,{customizations:he}),e(rt,{}),e(ie,{children:[e(wt,{onValid:c,children:e(Gt,{})}),a&&e(at,{taxId:a.taxId,applied:a.applied})]}),e(b,{customizations:me})]}),e($t,{})]})});return e(h,{when:S,fallback:e(h,{when:u,fallback:e(h,{when:P,fallback:q,children:j}),children:e(p,{gap:"large-300",children:[q,j]})}),children:e(F,{sectionId:"pickupPoints",children:e(ce,{})})})}function $t(){const t=Oe(),n=Fe();return ze(i=>{i.type==="success"&&i.negotiationStage==="progression"&&(t("sectionComplete",{section:"deliveryAddress",timestamp:new Date}),n({type:"section_complete",section:"deliveryAddress"}))}),null}function Gn(){const{i18n:t,checkout:n}=g(),{progress:i,progressing:s}=E(),o=n.isShippingRequired.value?t.translate("general.continue_to_shipping_method"):t.translate("general.continue_to_payment_method");return Rt("information"),e(H,{children:[e(vt,{hasError:!1,children:t.translate("contact.title")}),e(Be,{onSubmit:()=>i("information-page-submit"),disabled:s.value,implicitSubmit:o,children:e(He,{section:"contact",children:e(Ve,{section:"contact",children:e(Xt,{})})})}
1),e(h,{when:n.isShippingRequired,fallback:e(Ue.Prefetch,{}),children:e(Ge.Preload,{})}),e(ct,{id:"Information"})]})}const w=t=>e(k,{children:t}),Xt=Ae(function(){const{previousPage:n}=ee(),{checkout:i,client:s,i18n:o,shop:{hasStorefront:r}}=g(),l=We(),a=te(),d=dt(),c=M().buyerIdentity.value?.purchasingCompany,y=qe(),f=o.translate("contact.contact_method_title"),m=o.translate("payment.billing_address_title"),u=e(h,{when:y,fallback:e(C,{id:ne,level:1,children:f}),children:e(Yt,{contactTitle:f,loginUrl:s.unstable_getSerialization("loginUrl")||""})}),_=N("Checkout::Contact::RenderAfter"),S=N("Checkout::Dynamic::Render","INFORMATION1"),P=N("Checkout::Dynamic::Render","INFORMATION2"),O=N("Checkout::Dynamic::Render","INFORMATION3");return e(Lt,{children:e(je,{children:[e(h,{when:()=>d.value!=="hidden",children:e(lt,{})}),e(ht,{children:[e(mt,{children:[e(b,{customizations:S,render:w}),e(k,{accessibilityLabel:f,children:e(p,{gap:"base",children:[u,e(pt,{hideAllOptIns:!!c,hideContactInfoEntry:!!c}),e(b,{customizations:_,render:w})]})}),e(b,{customizations:P,render:w}),e(h,{when:i.isShippingRequired,fallback:e(J,{target:"cart.paymentLines[0].billingAddress",children:[e(k,{accessibilityRole:"group",accessibilityLabelledBy:"billingAddress",children:e(p,{gap:"base",children:[e(C,{id:"billingAddress",children:m}),e(ie,{children:[e(Xe,{}),e(oe,{}),e(re,{})]})]})}),e(b,{customizations:O,render:w})]}),children:e(J,{target:"cart.deliveryGroups[0].deliveryAddress",children:e(Kt,{})})}),e(Qe,{})]}),e(gt,{children:[e(Qt,{}),r&&l.value&&n.route&&e(ft,{children:e(se,{href:n.route,variant:"plain",inlineSize:"fill",textDecoration:"none",ref:a("go_to_previous_step"),children:e(p,{direction:"inline",gap:"small-200",alignItems:"center",children:[e(Ke,{type:"chevron-left",size:"small"}),e(I,{children:n.label})]})})})]})]})]})})});function Qt(){const{progressing:t,prefetch:n}=E(),i=Nt().isBlocked.value,{nextPage:s}=ee(),{captureNegotiate:o}=ue(),r=te(),l=ut.usePreload(),a=Dt(),d=()=>{o(),n(),s.id==="shipping"&&l()};return e(yt,{children:e(se,{variant:"primary",disabled:i||!a.value,type:"submit",loading:t.value,size:"large",inlineSize:"fill",onMouseEnter:d,ref:r("go_to_next_step"),children:s.label})})}function Yt({contactTitle:t,loginUrl:n}){const{i18n:i,source:s}=g(),o=s.type==="simulated";return e(p,{direction:"inline",justifyContent:"space-between",alignItems:"baseline",children:[e(C,{id:ne,level:1,children:t}),e(Je,{href:o?void 0:n,children:i.translate("customer_account.sign_in_link_label")})]})}export{Gn 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.