PageSourceSearch

https://showertoga.com/cdn/shopifycloud/checkout-web/assets/c1/0e67bd3b.D7tZwHwl.js

js showertoga.com collected 2026-10-07 12:01:39 UTC 3,852 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["56bd1136.Bd2fVPe_.js","2c1ab0fe.Bywc2Brn.js","164ad2e3.DZSd7pLX.js","4b4bc88f.C26USmk8.js","app.DRs7v1W8.js","assets/app.CcGlIMpn.css","assets/wallet-prefilled-guest-return.BJvF0-q4.css","d0bb51ec.-Od_3rgw.js","f67abd2c.vvptRNe9.js","60a453ce.Bo_pHupz.js","e12db40c.J_ouQ898.js","9dba8418.BzGnZlrB.js","assets/hydrate.BtZpYm2T.css","ee2bb050.Ciznd7Zi.js","17e57de1.B_nQLFIZ.js","ca3e798e.Dc9DtEXz.js","cb8fcd45.zy_B2F2B.js","8536083a.D-1yAB4a.js","c6c0cbda.BKcpNz6B.js","assets/useHasViolations.BnDF3H7t.css","assets/WalletSandbox.BoV0vp4z.css","a25deb9a.G9iQXgws.js","4aab4b34.DGU0_xxO.js","24773686.CaAVXUiT.js","ac5a19ff.DOcg_gPh.js","4c290a1e.DxF3iNYA.js","assets/amazonWalletLazy.D78LrA7v.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.Bywc2Brn.js";import{c,aK as u,aL as p,aM as d,X as m,aN as v,a6 as h,W as y}from"./4b4bc88f.C26USmk8.js";import{k as b,aM as f,aN as g,aO as k,L as _,S as M,a1 as P,j as S}from"./164ad2e3.DZSd7pLX.js";import{_ as w}from"./app.DRs7v1W8.js";import{M as V}from"./74835653.B5dvKhsY.js";function j({onValid:i,onInvalid:l,children:p}){const{checkout:{negotiator:d}}=c(),{billing:m,contact:v,payment:h,shipping:y}=d.context,b=e(new Map),f=a(new WeakMap),g=t(()=>n(()=>{const e=b.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}}),[b]),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 b.value)t.set(n,{...o,previousValue:n.value});b.value=t},[b,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 M=t(()=>({registerValidator:(e,a)=>{const t=new Map(b.peek()),n=f.current.get(e);return t.set(e,{validator:a,previousValue:n}),b.value=t,()=>{const a=b.peek().get(e);void 0!==a?.previousValue&&f.current.set(e,a.previousValue);const t=new Map(b.peek());t.delete(e),b.value=t}}}),[b]);return r(u.Provider,{value:M,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),f=d(),g=b(),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&&!f.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:f.Error},r.value={status:"error"})},[e,t,r])}const C=l({displayName:"AmazonPayButtonContent",load:()=>w(()=>import("./56bd1136.Bd2fVPe_.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,26])).then(e=>e.AmazonPayButtonContent),useError:A});function I({isSdkOnly:e=!1}){return r(C,{isSdkOnly:e})}const E=["paymentMethods"];function L(){const{checkout:{negotiator:e}}=c(),a=e.current.fields.paymentMethods,t=g(E);return i(()=>t.value&&!a.value?.length)}function O({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(M,{direction:"inline",alignItems:"center",gap:"small-100",children:[e&&r(P,{type:"location"}),r(S,{children:a.translate("contact.change_location_link_label")})]})})})}export{I as A,O 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.