PageSourceSearch

https://dedoles.hr/cdn/shopifycloud/checkout-web/assets/c1/0e67bd3b.DpcbzdW8.js

js dedoles.hr collected 2026-10-05 08:37:18 UTC 3,814 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["56bd1136.B0wQ043i.js","2c1ab0fe.XVnTovwp.js","164ad2e3.hrg71Gqs.js","f67abd2c.DYpmk7mw.js","app.Bke-0Cv3.js","assets/app.BuSMBobh.css","assets/shipping.CwV2frA-.css","d0bb51ec.Bel_y502.js","60a453ce.Al5ISuVm.js","e12db40c.D-IRYT_x.js","9dba8418.C8BcPjk_.js","assets/hydrate.D12j_P4G.css","ee2bb050.B5w1nK0p.js","17e57de1.xgvFRsfl.js","ca3e798e.DB3SxkCu.js","cb8fcd45.DCx5cJkt.js","8536083a.BOhtbiYt.js","1d34c07e.h4dJAaCz.js","assets/ExpressCheckoutButton.BnDF3H7t.css","assets/WalletSandbox.DOuxlppk.css","a25deb9a.DX96HOu0.js","4aab4b34.2LnUmsKU.js","24773686.DHVsBc9s.js","ac5a19ff.C1LksOgD.js","4c290a1e.rGLgZCIb.js","assets/amazonWalletLazy.hSB1Y1Ss.css"])))=>i.map(i=>d[i]);
2import{o as e,g as a,T as t,I as n,q as o,h as s,u as r,k as i,i as l}from"./2c1ab0fe.XVnTovwp.js";import{a as c,aD as u,aE as p,aF as d,L as m,aG as v,_ as h,W as y}from"./f67abd2c.DYpmk7mw.js";import{j as f,aL as b,aM as g,aN as k,L as _,S as P,a0 as M,i as S}from"./164ad2e3.hrg71Gqs.js";import{_ as w}from"./app.Bke-0Cv3.js";import{M as V}from"./74835653.CqvY5rnV.js";function j({onValid:i,onInvalid:l,children:p}){const{checkout:{negotiator:d}}=c(),{billing:m,contact:v,payment:h,shipping:y}=d.context,f=e(new Map),b=a(new WeakMap),g=t(()=>n(()=>{const e=f.value;let a=!1,t=e.size>0;for(const[n,{validator:o,previousValue:s}]of e){const e=n.value;o(e)&&(t=!1),e!==s&&(a=!0)}return{valid:t,changed:a}}),[f]),k=o(e=>{const a={billing:m,contact:v,payment:h,shipping:y};e.valid?i?.(a):l?.(a);const t=new Map;for(const[n,o]of f.value)t.set(n,{...o,previousValue:n.value});f.value=t},[f,i,l,m,v,h,y]),_=a(!1);s(()=>g.subscribe(e=>{const a=!_.current;if(e.changed||a)return _.current=!0,k(e)}),[g,k]);const P=t(()=>({registerValidator:(e,a)=>{const t=new Map(f.peek()),n=b.current.get(e);return t.set(e,{validator:a,previousValue:n}),f.value=t,()=>{const a=f.peek().get(e);void 0!==a?.previousValue&&b.current.set(e,a.previousValue);const t=new Map(f.peek());t.delete(e),f.value=t}}}),[f]);return r(u.Provider,{value:P,children:p})}function B(){const{router:e,source:{type:a},mobileCheckoutSdk:t,embed:n,checkout:o,shop:s}=c(),{paymentMethods:r,buyerIdentity:l}=o.negotiator.current.fields,u=e.currentUrl,h=o.proposal.proposed.paymentLines,y=s.hasFlagEnabled(p),b=d(),g=f(),k="simulated"===a,_=t.variant.isStandard()||Boolean(n?.isCheckoutKit());return i(()=>{const e=r.value?.some(e=>"wallet"===e.type&&"SHOP_PAY"===e.name),a=l.value?.purchasingCompany,{currentDetour:t}=g.value,n=null!=t&&["stockProblems"].includes(t.type),o=m(u.value.searchParams),s=y&&Boolean(v(h.value));return Boolean(!k&&e&&!o&&!b.value&&!_&&!n&&!a&&!s)})}function A(e,{wallet:a}={}){const{sdkStatus:t,buttonStatus:n,buyWithPrimeButtonStatus:o}=h().inMemoryAmazonPayParts,r=a===y.BuyWithPrime?o:n;s(()=>{e&&(t.value={status:b.Error},r.value={status:"error"})},[e,t,r])}const C=l({displayName:"AmazonPayButtonContent",load:()=>w(()=>import("./56bd1136.B0wQ043i.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25])).then(e=>e.AmazonPayButtonContent),useError:A});function E({isSdkOnly:e=!1}){return r(C,{isSdkOnly:e})}const I=["paymentMethods"];function L(){const{checkout:{negotiator:e}}=c(),a=e.current.fields.paymentMethods,t=g(I);return i(()=>t.value&&!a.value?.length)}function z({showIcon:e=!1}){const{i18n:a,source:t}=c(),n=k(),o="simulated"===t.type;return r(V,{interactive:!o,children:r(_,{href:n.value,display:"block",accessibilityLabel:a.translate("contact.change_company_location_link_label"),textDecoration:e?"none":void 0,children:r(P,{direction:"inline",alignItems:"center",gap:"small-100",children:[e&&r(M,{type:"location"}),r(S,{children:a.translate("contact.change_location_link_label")})]})})})}export{E as A,z as C,j as S,L as a,A as b,B as u};

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.