PageSourceSearch

https://store.3dtotal.com/cdn/shopifycloud/checkout-web/assets/c1/7aefefff.DBWne1lR.js

js 3dtotal.com collected 2026-10-01 10:27:52 UTC 22,420 bytes, 1 lines download raw bytes

1import{u as e,A as n,e as t,_ as a,g as i,S as s,o as r,l as o,f as c,Q as l,i as d,k as u,h as m,q as h,p}from"./2c1ab0fe.D_oO1jU7.js";import{f6 as f,f7 as b,f8 as v,B as g,dh as y,c$ as _,dc as k,d as w,f as j,p as C,c as S,U as P,_ as A,dd as x,de as z,cR as M,L as R,l as L,n as T,W as E,f9 as I,y as O,a as N,aS as D,aQ as F,aR as B,P as $,cy as U,b as V,fa as H,eb as G,fb as Y,bq as K,h as Q,a1 as q,dj as W,fc as J,e as X,a3 as Z,e7 as ee,N as ne,O as te,H as ae,m as ie,er as se}from"./164ad2e3.DgUUtBtV.js";import{aT as re,Q as oe,O as ce,b0 as le,eM as de,ao as ue,ae as me,bC as he,a8 as pe,P as fe,ac as be,a9 as ve}from"./4c290a1e.D9lE9kmU.js";import{C as ge}from"./a535174a.D9-hmEEh.js";import{u as ye,S as _e,P as ke,L as we,R as je}from"./73a9b0a0.D8Gs2o-g.js";import{M as Ce}from"./0b8657b8.CBFRF2sQ.js";import{P as Se}from"./fc21c11a.Oq7eYqe8.js";import{u as Pe,e as Ae,G as xe,T as ze}from"./f3fe2775.91jcUSQ2.js";import{a as Me,b as Re,H as Le}from"./0e9ee714.DqBmP7tY.js";import{a as Te,W as Ee,P as Ie}from"./c10167e6.MzmlADrK.js";import{f as Oe,g as Ne,h as De,j as Fe,L as Be,k as $e,l as Ue,m as Ve,n as He,o as Ge,U as Ye,V as Ke,P as Qe}from"./f8706cb6.DMygWC1h.js";import{y as qe,z as We,E as Je,u as Xe,a as Ze,b as en,g as nn,V as tn,e as an}from"./86720dbb.lSLFpGJE.js";import{P as sn}from"./01973ac7.BVhNP6nv.js";import{c as rn,d as on}from"./app.bDJ3v-8C.js";import{a as cn,b as ln}from"./87bfafec.DaEgHDYY.js";import{P as dn}from"./e3e348f2.sbssU431.js";import{b as un,c as mn,S as hn}from"./dfca5da5.H1thSL3M.js";import{S as pn}from"./79974aab.B4rWj4Zf.js";import{S as fn}from"./39921a74.bStpjMMs.js";import{O as bn}from"./7a8217fd.BlWFPiiA.js";import{MobileOrderSummary as vn}from"./d2e6a587.DdUzoAUU.js";import{u as gn}from"./4ea44c06.D08Q9XyC.js";import{v as yn}from"./dffdfb34.BmCoupl3.js";import{u as _n}from"./0a7dffce.BMM606kb.js";import"./65f3d4da.8ZfwXSRH.js";import"./60a453ce.BIyixFcg.js";import"./bb728e1c.BObJOhlA.js";import"./5fd968f2.DTvmd-mL.js";import"./0e67bd3b.DkCvQkdq.js";import"./74835653.9kmD7491.js";import"./3ca8ef7e.DT3qvctx.js";import"./ac5a19ff.CrIDx928.js";import"./47b970b2.Bspt4mBz.js";import"./29034f35.BY8rOPhQ.js";import"./064f6ac1.CT1iFQsV.js";import"./53bbdad9.Bipg1_Lt.js";import"./efa0389a.-R9eik6_.js";import"./e0989459.44TRzqx7.js";import"./31cc568e.CsDC1k63.js";import"./8599b02a.yKiXuwTF.js";import"./5587f402.B4N8qnlk.js";import"./1ed8f5e3.Oin1LrS4.js";import"./7ee73f43.CQB45vvk.js";import"./cb5cf153.Cf9Ss23E.js";import"./0c0ad074.C7YXa-mF.js";import"./945a08d6.DUn1GrN-.js";import"./bff2ff9b.DxpvVf7S.js";import"./ccdf3592.Jq-5VsnW.js";import"./e477f96c.dvrL9dgG.js";import"./aea3fb03.BGfdKdPP.js";import"./55098bf1.CrP8QF43.js";import"./598fef4e.DSM2KxPW.js";import"./e77f7fe0.B5ukwIHt.js";import"./a422df8c.CGT3eUwi.js";import"./cc6ff67d.SUHuL0DO.js";import"./08a3b809.CkE7TqUZ.js";import"./e39bc11c.BNw-kv3c.js";import"./cf29e63b.CnWxVFH5.js";import"./ec391382.Cpl2aZVN.js";import"./58314944.QVtJf4c2.js";import"./b9c0319a.Bj2lNtZE.js";import"./f1968089.4OkuMKtQ.js";import"./3a819064.CWC3Yoc0.js";import"./6720fa5f.gZhcGybT.js";import"./2b89a178.DO17bNRV.js";import"./b684bff6.Dv62TgX4.js";import"./ed9f2238.C-XxbQrN.js";import"./910cd6e2.IzGgJ-IA.js";import"./347b440c.oWH9qB5Z.js";import"./d5d34b3b.HJgnljYP.js";import"./181d38d3.Bsy-Yqp4.js";import"./d6447d9e.wAHKQJgC.js";import"./f49d4216.DMwWemXC.js";import"./f51e663e.C08Dmcez.js";import"./64de7b49.Dffug7P1.js";import"./8e79be58.CObm0ydZ.js";import"./90e26f5f.DVFq2b8a.js";import"./2fdb3dd3.Dk6unqUy.js";import"./ca5e9c49.BL-l7mUG.js";
1import"./f3e117aa.CTtG4OvO.js";import"./a25deb9a.XIOr6b3K.js";import"./7b0c98ea.0CGJF8wQ.js";import"./7114e006.B60DstSA.js";import"./f692f62f.D8N74P4K.js";import"./f78726c8.K7FaLIh2.js";import"./cb8fcd45.gqoNFKgG.js";import"./d22d2b80.22VthIi0.js";function kn(){const n=f();return Oe({ineligibilityReasonLabel:n}),e(Te,{ineligibilityReason:n})}function wn({selectorShowsTiles:s,children:r}){const{buyerHasActedSignal:o}=re(),c=qe(),l=n(null),d=n(null),u=n(!1),m=n(!1),h=t(null);m.current=s.value&&o.value,a((()=>{const e=d.current;if(!e||"undefined"==typeof MutationObserver)return;const n=new MutationObserver((n=>{if(!e.hasChildNodes())return u.current=!1,void(h.value=null);n.some((e=>e.addedNodes.length>0))&&m.current&&rn()&&(u.current=!0,h.value={from:on(),withMotion:c.loaded})}));return n.observe(e,{childList:!0,subtree:!0}),()=>n.disconnect()}),[h,c]),a((()=>{if(u.current){u.current=!1;for(const e of[l.current,d.current])for(const n of e?.getAnimations?.()??[])n.cancel(),n.play()}}));const p=null!==h.value&&h.value.withMotion;return e("div",{ref:l,className:i("x4UOe",p&&"SGLj7",p&&Je),children:e("div",{ref:d,className:i("_2hShs",p&&We[h.value?.from??"end"]),children:r})})}const jn=n=>e(g,{children:n});function Cn({customizations:n,selectorShowsTiles:t}){return 0===n.length?null:e(s,{children:n.map((n=>"uiExtension"===n.kind?e(wn,{selectorShowsTiles:t,children:e(b,{extension:n.extension,render:jn})},n.extension.id):e(v,{field:n.field},n.field.key)))})}const Sn=l((function(){const{checkout:n,i18n:a,source:i,shop:l}=ce(),{acceptTipPayments:u,discountCodesEnabled:m}=l,h=ye(),p=k(),f=m&&p.value;Pe(),function(){const{payment:e,directPaymentFieldsFilled:n}=re(),{paymentLines:t,directPaymentErrors:a}=oe(),i=Ne();r((()=>{const s=i.value||(r=a,Object.keys(r).filter((e=>"paymentMethodIdentifier"!==e)).some((e=>null!=r[e].value)));var r,o,c;e.value=(o=t.value,c=n.value,o.some((e=>"direct"!==e.method.type||Boolean(e.method.sessionId)||c))&&!s)}))}();const b=y(),v=function(){const{checkout:e}=ce(),{displayedPaymentMethods:n}=Xe({experienceType:"list"}),t=o(Ze(n)),a=y(),i=_(),s=en(),r=cn();return c((()=>{const n=null!==nn(e.identity,r.value)||s.value.freeOrder||s.value.giftCard||s.value.storeCredit||s.value.redeemables,o=!i.value&&("inContext"===a.value||"afterPayment"===a.value);return e.configuration.visibility.showStoreCreditRedemption.value&&!n&&"singlePaymentMethodCreditCard"===t.value.mode&&o}))}(),g=c((()=>n.configuration.visibility.showStoreCreditRedemption.value&&!v.value)),R=w().value,L=j(),T=c((()=>function({identity:e}){switch(e.current.value){case"guest":case"customerAccount":case"shopPay":return!0;default:return!1}}({identity:n.identity}))),E=L?.tippingPaymentAllowed??!0,I=!le(i)&&u&&E&&n.configuration.visibility.showTips,O=Me();De();const N=c((()=>n.installments.isSupported.value&&!O)),D=Re(),F=Fe({showTips:I,billingFormPosition:b.value}),B=C("purchase.checkout.payment-method-list.render-before"),$=C("purchase.checkout.payment-method-list.render-after"),U=t(!1);return e(M,{target:"cart.paymentLines[0]",children:e(S,{accessibilityRole:"group",accessibilityLabelledBy:"payment",gap:"base",children:[e(Pn,{}),e(P,{customizations:B}),e(sn,{}),e(Be,{}),e(d,{when:g,children:e(Ae,{})}),e(d,{when:N,children:e(kn,{})}),e(A,{children:e(S,{gap:"large-300",children:[e(Ee,{dynamicPaymentExtensions:F.shift()||[],children:[e(Ie,{selectorShowsTiles:U,renderVaultingAgreementInline:!1,afterPaymentSelector:e(d,{when:D,children:e(Le,{})})}),e(d,{when:h,children:e(_e,{})}),e(Cn,{customizations:$,selectorShowsTiles:U}),e(Cn,{customizations:F.shift()||[],selectorShowsTiles:U}),e(d,{when:T,children:e(xe,{})})]}),e(d,{when:v,children:e(Ae,{})}),R&&e(tn,{}),e(d,{when:n.configuration.visibility.showPurchaseOrderNumberField,children:e(an,{showHeading:!1})}),I&&e(s,{children:[e(x,{sectionId:"tips",children:e(ze,{})}),e(P,{customizations:F.shift()||[]})]}),e(P,{customizations:F.flat()}),f&&e(z,{targetSelector:'input[name="reductions"]',icon:"discount",label:a.translate("order_summary.discount_discovery.add_code")})]})})]})})}));function Pn(){const{router:n}=ce(),t="payment",a=c((()=>$e(n,t)));return e(ke,{headingId:t,autoFocus:a.value})}function An({href:n,children:t,onClick:a}){return e(R,{tone:"monochrome",href:n,onClick:a,children:t})}function xn({onClick:n}){const{i18n:t}=ce();return e(An,{href:"https://www.shopify.com/legal/cookies",onClick:n,children:t.translate("user_consent.policy")})}function zn({onClick:n}){const{i18n:t}=ce();return e(An,{href:"https://help.shop.app/en/shop/shopping/ads-personalization",onClick:n,children:t.translate("user_consent.detailed_view.learn_about_ads")})}function Mn({title:n,description:t,checked:a,onChange:i,disabled:s,badgeLabel:r}){const o=e(T,{children:t});return e(S,{gap:"small-200",children:[e(S,{direction:"inline",gap:"small-200",alignItems:"center",children:[e(T,{type:"strong",children:n}),r?e(I,{color:"subdued",children:r}):null]}),e(O,{gridTemplateColumns:"minmax(0, 1fr) minmax(auto, max-content)",gap:"base",alignItems:"start",children:[o,e(fn,{checked:a,onChange:i,disabled:s,accessibilityLabel:n})]})]})}function Rn({open:n,onClose:t,onConsentSaved:a}){const{consentManager:i,i18n:s,shopPay:r}=ce(),o=r.user.shopAccountUuid,c=o.value,l=i.trackingConsentSelection?.value,d=void 0!==l,[p,f]=u(!1),[b,v]=u(!1),[y,_]=u(!1),[k,w]=u(null),[j,C]=u(!1);m((()=>
1{if(!n)return;const e=i.trackingConsentSelection?.peek();f(e?.analytics??!1),v(e?.marketing??!1),_(!1),w(null),C(!1)}),[i,c,n]),m((()=>{n&&!y&&l&&(f(l.analytics),v(l.marketing))}),[y,n,l]);const P=h((async()=>{if(j||!d)return;const e=o.value;C(!0),w(null);const n=await i.setTrackingConsent({analytics:p,marketing:b});r.user.shopAccountUuid.value===e&&(n.success?(a?.(),t()):w(s.translate("user_consent.error_saving_consent")),C(!1))}),[p,i,s,d,j,b,a,t,r,o]),A=s.translate("user_consent.detailed_view.description",{cookie_policy_href:e(xn,{})}),x=e(g,{inlineSize:"@media (inline-size >= small) auto, 100%",children:e(L,{variant:"primary",onClick:P,inlineSize:"fill",loading:j||!d,disabled:j||!d,children:e(g,{minInlineSize:"100px",inlineAlignment:"center",children:e(T,{children:s.translate("user_consent.detailed_view.save")})})})});return e(bn,{heading:s.translate("user_consent.title"),accessibilityLabel:s.translate("user_consent.manage"),open:n,onHide:t,primaryAction:x,children:e(S,{gap:"base",children:[e(S,{gap:"small-200",children:[k&&e(E,{tone:"critical",children:k}),e(T,{children:A})]}),e(S,{gap:"base",children:[e(Mn,{title:s.translate("user_consent.detailed_view.necessary"),description:s.translate("user_consent.detailed_view.necessary_description"),checked:!0,disabled:!0,badgeLabel:s.translate("user_consent.detailed_view.required")}),e(Mn,{title:s.translate("user_consent.detailed_view.analytics"),description:s.translate("user_consent.detailed_view.analytics_description"),checked:p,onChange:e=>{f(e),_(!0)},disabled:j||!d}),e(Mn,{title:s.translate("user_consent.detailed_view.advertising"),description:s.translate("user_consent.detailed_view.advertising_description",{learn_about_ads_href:e(zn,{})}),checked:b,onChange:e=>{v(e),_(!0)},disabled:j||!d})]})]})})}function Ln(){const{consentManager:i,i18n:r,observability:o,shopPay:c}=ce(),l=c.user.shopAccountUuid,[p,f]=u(!1),[b,v]=u(null),[y,_]=u(l.value),k=t(!1),w=n(void 0);m((()=>{y!==l.value&&(_(l.value),k.value=!1,v(null))}),[k,y,l.value]);const j=h((()=>{v(null),f(!0)}),[]),C=h((()=>{f(!1)}),[]),P=h((()=>{k.value=!0}),[k]),A=h((async()=>{const e=l.value;v(null);const n=await i.acceptAll();c.user.shopAccountUuid.value===e&&(n.success?P():v(r.translate("user_consent.error_saving_consent")))}),[P,r,c,l,i]),x=h((async()=>{const e=l.value;v(null);const n=await i.rejectAll();c.user.shopAccountUuid.value===e&&(n.success?P():v(r.translate("user_consent.error_saving_consent")))}),[P,r,c,l,i]),z=P,M=y===l.value,R=M&&(i.shouldShowBanner.value||k.value),L=function(e,t){const i=n(null),s=n(e),r=n(!1),o=n(null);if(s.current&&!e&&"undefined"!=typeof document){const e=i.current,n=document.activeElement,t=e&&n instanceof HTMLElement&&e.contains(n),a=e&&D(e);r.current=Boolean(t),o.current=t&&a?F(a):null}return s.current=e,a((()=>{if(!r.current||!t)return;r.current=!1;const n=e?i.current&&B(i.current):o.current;o.current=null,n?.isConnected&&document.activeElement===document.body&&n.focus({preventScroll:!0})}),[t,e]),i}(R,M),T=n(R);m((()=>{const e=!T.current&&R;if(T.current=R,e)return N({content:r.translate("user_consent.title")})}),[r,R]),m((()=>{M&&w.current!==l.value&&(w.current=l.value,o.counter({name:"inline_user_consent_shown",value:1,attributes:{shown:R}}))}),[M,R,l.value,o]);const I=e(S,{gap:"small-300",children:[b&&e(E,{tone:"critical",children:b}),e(d,{when:k,fallback:e(Tn,{onAcceptAll:A,onManageCookiesClick:j,onRejectAll:x}),children:e(En,{onManageCookiesClick:j})})]}),O=e(Rn,{open:p,onClose:C,onConsentSaved:z});if(!R)return null;const $=e(g,{ref:L,background:"subdued",borderRadius:"large",padding:"base",children:e(S,{gap:"base",accessibilityRole:"group",accessibilityLabel:r.translate("user_consent.title"),children:I})});return e(s,{children:[$,O]})}function Tn({onManageCookiesClick:n,onAcceptAll:t,onRejectAll:a}){const{i18n:i}=ce(),[s,r]=u(null),o=null!==s,c=h((async()=>{o||(r("accept"),await t(),r(null))}),[o,t]),l=h((async()=>{o||(r("reject"),await a(),r(null))}),[o,a]);return e(S,{gap:"base",children:[e(T,{type:"strong",children:i.translate("user_consent.accelerated_view.title")}),e($,{children:e(T,{children:i.translate("user_consent.accelerated_view.description",{cookie_policy_href:e(xn,{})})})}),e(S,{direction:"inline",gap:"small-200",children:[e(L,{inlineAlignment:"center",onClick:c,size:"small",variant:"secondary",loading:"accept"===s,disabled:o,children:i.translate("user_consent.accelerated_view.accept_all")}),e(L,{inlineAlignment:"center",onClick:l,size:"small",variant:"secondary",loading:"reject"===s,disabled:o,children:i.translate("user_consent.accelerated_view.reject_all")}),e(L,{inlineAlignment:"center",onClick:n,size:"small",variant:"plain",textDecoration:"none",disabled:o,accessibilityLabel:i.translate("user_consent.manage"),children:i.translate("user_consent.accelerated_view.manage")})]})]})}function En({onManageCookiesClick:n}){const{i18n:t}=ce();return e(g,{autoFocus:!0,children:e(T,{children:t.translate("user_consent.accelerated_view.consent_collected",{manage_cookies_href:e(In,{onManageCookiesClick:n})})})})}function In({onManageCookiesClick:n}){const{i18n:t}=ce();return e(An,{onClick:n,children:t.translate("user_consent.manage")})}An.displayName="CookiesLink";const On=e=>(e=>"ShopCashCheckoutCashbackIncentive"===e.__typename)(e)&&e.expectedAmount.amount>0,Nn=e=>(e=>"ShopCashCheckoutFlatAmountCashbackIncentive"===e.__typename)(e)&&e.minimumOrderValueSatisfied,Dn="https://cdn.shopify.com/shop-assets/static_uploads/shop-cash/",Fn=`${Dn}checkout_banner_coin_light.png`,Bn=`${Dn}checkout_banner_coin_light_2x.png`,$n=`${Dn}checkout_banner_coin_light_4x.png`,Un=`${Dn}checkout_banner_coin_dark.png`,Vn=`${Dn}checkout_banner_coin_dark_2x.png`,Hn=`${Dn}checkout_banner_coin_dark_4x.png`,Gn=({expectedAmount:n,incentives:t,i18n:a,darkMode:s,incentivePresentation:r})=>{const o=null!=n&&0!==n.amount,c=o?a.formatCurrency(n.amount,{currency:n.currencyCode}):"",l=o?(({i18n:e,incentives:n,formattedTotalAmount:t})=>
1{if(!n||0===n.length)return;const a=n.find(On),i=n.find(Nn),s=a?.displayName;if(a&&s&&i){const n=e.formatCurrency(a.expectedAmount.amount,{currency:a.expectedAmount.currencyCode}),r=e.formatCurrency(i.cashbackAmount.amount,{currency:i.cashbackAmount.currencyCode});return{title:e.translate("shop_cash.rewards_banner_title",{formattedAmount:t}),description:e.translate("shop_cash.reward_banner_description_combined_rewards",{promotionAmount:n,promotionDisplayName:s,offerAmount:r})}}if(a&&s&&!i){const n=e.formatCurrency(a.expectedAmount.amount,{currency:a.expectedAmount.currencyCode}),t=a.remainingRewardLimit?.amount===a.expectedAmount.amount;return{title:e.translate("shop_cash.reward_banner_title_with_promotion_attribution",{formattedAmount:n,promotionDisplayName:s}),description:t?e.translate("shop_cash.reward_banner_description_max"):void 0}}})({i18n:a,incentives:t,formattedTotalAmount:c}):void 0,d=o?l?.title??a.translate("shop_cash.rewards_banner_title",{formattedAmount:c}):"",u=l?.description,m=u?`${d} ${u}`:d,h=o&&(t?.some((e=>Nn(e)||On(e)))??!1);if(Ue(r,"cashbackBanner",h?m:void 0),!o)return null;const p=s?Un:Fn,f=s?Vn:Bn,b=s?Hn:$n,v=i("F7fwo",s?"iJGCf":"gXkBh");return e(S,{direction:"inline",alignItems:"center",gap:"small-300",className:v,borderRadius:"large",children:[e(U,{src:p,srcSet:`${p} 1x, ${f} 2x, ${b} 4x`,aspectRatio:"auto"}),u?e(S,{direction:"block",gap:"none",className:"VnjPc",children:[e(T,{children:d}),e(T,{type:"small",children:u})]}):e(T,{children:d})]})};function Yn(){const{i18n:n}=ce(),t=Ve(),{isEarningCashback:a,cashback:i,incentivePresentation:s}=ln();return a&&i?e(g,{children:[e(V,{blockSize:"large-200"}),e(Gn,{expectedAmount:i.expectedAmount,incentives:i.incentives,i18n:n,darkMode:t,incentivePresentation:s})]}):null}function Kn(){const{embed:n,router:t}=ce(),a=t.currentUrl.value,{label:i}=H(),s=G({clearPii:!0}),r=Y(),{isAppLayout:o}=K(),{progressing:c}=Q(),{setEditorShopPay:l}=yn(),d=h((()=>{l?l(!1):c.value||s()}),[l,c,s]);return r||n?.isCheckoutKit()||!o&&!de(a.search)?e(R,{onClick:d,textDecoration:"none",children:i}):null}function Qn(){const n=function(){const e=_n(),n=h((()=>{(e=>{ue()?e.bridge.iframeClosed():window.close()})(e)}),[e]);return n}(),t=me(),a=q({base:!0,small:!1}),i=he()&&(!t.value||(a??!1)),{i18n:s,shop:{name:r},shopPay:o}=ce();if(!o.visibility.showReturnToStore)return null;if(!i)return null;const c=s.translate("shop_pay_external.return_to_store",{shopName:r});return e(S,{alignItems:"center",children:[e(V,{blockSize:"base"}),e(R,{onClick:n,children:c})]})}function qn(){const{checkout:{identity:n},source:t,shopPay:a,mobileCheckoutSdk:i}=ce(),{visibility:{showCheckoutAsGuestFeature:r}}=a;if("shopPay"!==n.current.value||!r)return null;const o="shopPayExternal"===t.type?e(Qn,{}):e(Kn,{}),c=i.variant.isPartner();return e(s,{children:[e(V,{blockSize:"large-100"}),e(g,{inlineAlignment:"center",children:o}),c?e(V,{blockSize:"base"}):e(g,{display:"@media (inline-size >= small) auto, none",children:e(V,{blockSize:"base"})})]})}const Wn=l((function({onReady:n,includeContactInVaultedExtensions:t,showMobileOrderSummary:a,showVaultedStateMarketingDisclosureBelowPayment:i,phoneMarketingPlacement:r,isSectionCustomized:l,showVaultedStateMarketingDisclosureOnMobile:u,expressCheckoutSlot:h,showVaultedCardConsentSpacing:f}){const b=W(),v=J(),y=pe(),_=gn(),{checkout:k,embed:w,i18n:A,mobileCheckoutSdk:z,source:M,shop:R,shopPay:L}=ce(),T=X(),E=fe().managedByMarketsPro,I=o(q({base:!0,medium:!1})),O=me(),N=Z(),D=c((()=>N.configurationSignal.value.main.spacing)),F=c((()=>{const{position:e}=N.configurationSignal.value.reductions;return L.visibility.shouldRenderFloatingShopPayButton?"none":"base"===e?"large-200":a.value&&null!=D.value?be(D.value)??"base":"base"})),{localizationExtensions:B}=oe(),$=c((()=>B.value.length>0)),U=c((()=>f?.value&&!$.value?"large-200":"none")),H=Jn(I),G=c((()=>i.value&&!u.value&&(!I.value||!l.value))),Y=c((()=>"belowPayment"===r.value)),K=j(),Q=o(K?.tippingPaymentAllowed??!0),se=c((()=>b.value.payment&&R.acceptTipPayments&&Q.value&&k.configuration.visibility.showTips)),re=ee(),de=z.variant.isPartner(),ue=c((()=>"shopPay"===k.identity.current.value&&"shopPayExternal"!==M.type&&""!==L.user.shopAccountUuid.value&&!le(M))),he=e(d,{when:ue,children:e(Ln,{})}),ye=c((()=>"thankYou"===T.value.currentDetour?.type?"Checkout::ThankYou::Dynamic::Render":"Checkout::Dynamic::Render")),_e=C(ye.value,"ORDER_SUMMARY4"),ke=c((()=>"wallets"!==h.value&&Boolean(E.value))),Pe=He({includeContact:t}),Ae=c((()=>!I.value&&!le(M)&&se.value)),xe=c((()=>!I.value&&v.value&&Pe.value.length>0)),Me=c((()=>Ae.value||xe.value||ke.value));m((()=>{const e=setTimeout(n,0);return()=>clearTimeout(e)}),[n]);const Re=R.hasFlagEnabled(ve),Le=e(d,{when:a,children:e(vn,{})}),Te=e(S,{gap:"base",children:[e(d,{when:Ae,children:e(g,{display:"@media (inline-size >= medium) auto, none",children:e(x,{sectionId:"tips",children:[e(d,{when:()=>!l.value,children:e(V,{blockSize:"large-300"})}),e(ze,{})]})})}),e(d,{when:xe,children:e(Ke,{extensions:Pe})}),e(d,{when:ke,children:e(S,{gap:"base",padding:"@media (inline-size >= medium) large-400 none none none, none",children:e(Ce,{textProps:{color:"subdued",size:"small"}})})})]});return e(s,{children:e(un,{min:"medium",accessibilityLabel:A.translate("payment.title"),hideDivider:!0,children:[e(d,{when:()=>!b.value.payment,children:e(s,{children:[e(ne,{section:"payment",children:e(te,{section:"payment",children:e(un,{max:"medium",accessibilityLabel:A.translate("payment.title"),children:e(Sn,{})})})}),e(d,{when:k.configuration.visibility.showCashRedemption,children:e(Ge,{})}),e(Ye,{})]})}),e(d,{when:$,children:e(mn,{accessibilityLabel:A.translate("localized_fields.additional_information.title"),children:e(S,{gap:"base",padding:"@media (inline-size >= medium) large-400 none none none, none",children:[e(ae,{level:2,children:A.translate("localized_fields.additional_information.title")}),e(p,{each:B,children:(n,t)=>e(we,{localizationExtension:n,index:t})})]})})}),e(d,{when:()=>I.value&&!le(M)&&se.value,children:e(g,{display:"@media (inline-size >= medium) none, auto",children:[e(x,{sectionId:"tips",children:e(ze,{renderInSection:I})}),e(d,{when:()=>!w?.isFlagshipPartner,children:e(hn,{spacing:be(D.value)})})]})}),e(d,{when:()=>I.value&&v.value&&Pe.value.length,children:e(Ke,{extensions:Pe,hideDivider:"whenEmpty"})}),e(ne,{section:"summary",children:e(te,{section:"summary",children:e("div",{ref:H,children:[e(pn,{target:"mobileOrderSummary",children:e(un,{max:"medium",hideDivider:!0,children:[e(d,{when:()=>!0===I.value,children:e(je,{})}),e(Qe,{showEmailMarketingOptIn:G,showPhoneMarketingOptIn:Y,paddingBlockStart:U}),!Re&&Le,e(S,{gap:F.value,"data-testid":"onepage-pay-button-cluster",children:[Re?e(s,{children:[Le,e(d,{when:Me,children:Te})]}):Te,e(d,{when:()=>!0!==I.value,children:e(je,{})}),e(S,{gap:"large-200",children:[e(d,{when:_,children:e(ge,{})}),e(d,{when:y,children:e(dn,{placement:"above-pay-button"})}),e(Se,{buttonHidden:re}),e(d,{when:y,children:e(dn,{placement:"default"})}),e(d,{when:()=>!O.value||I.value,children:e(ie,{above:"medium",children:e(P,{customizations:_e,gap:"large-200"})})})]})]}),e(d,{when:k.configuration.visibility.showShopCashRewardsBanner,children:e(Yn,{})}),de?null:e(s,{children:[e(qn,{}),he]})]})}),de?e(s,{children:[e(qn,{}),he]}):null]})})})]})})}));function Jn(e){const{setTriggerNode:n}=se("chat"),a=t(null);return r((()=>{n(e.value?a.value:null)})),h((e=>{a.value=e}),[a])}export{Wn as default,Jn as useChatHideTriggerRef};

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.