PageSourceSearch

https://makerstock.com/cdn/shopifycloud/checkout-web/assets/c1/Middot.Dbfct-go.js

js makerstock.com collected 2026-09-28 09:21:27 UTC 4,759 bytes, 1 lines download raw bytes

1import{u as t,S as u}from"./esnext-vendor.B9Da21W6.js";import{m as _,aY as o,a5 as b,l as s,b as x,L as C,ac as D,aZ as L,k as f,a_ as E,B as I,ai as M}from"./hydrate.DZ4YTm7p.js";import{S as a,bb as k,bc as N,n as A}from"./addresses-is-address-empty.Bn2lNY_L.js";import{h as R}from"./graphql-PaymentSessionMutation.CAXCwUvV.js";import{u as w,S as B,B as z}from"./EstimatedDeliveryContent.BuJLi-Ww.js";import{u as V,m as F}from"./shipping-methods-consolidated-included.BE_t6ovz.js";import{g as O,h as G}from"./hooks-useReplaceShopPayInHistory.DPpLejwu.js";import{S as H}from"./ShippingMethodRateLabel.DAtbOh1H.js";import"./app.DbSrjjlA.js";function le({id:e}){const{i18n:i}=a();return k().value?null:t(_,{level:1,autoFocus:!0,id:e,children:i.translate("review.review_title")})}function se({isVaultedReview:e=!1}){const{i18n:i}=a();if(e&&!R("review.review_notice_html",i))return null;const n=t(b,{children:i.translate("review.review_notice_html",{terms_of_sale:t(o,{handle:"terms-of-sale"}),privacy_policy:t(o,{handle:"privacy-policy"}),terms_of_service:t(o,{handle:"terms-of-service"}),refund_policy:t(o,{handle:"refund-policy"}),contact_information:t(o,{handle:"contact-information"}),purchase_options_cancellation_policy:t(o,{handle:"purchase-options-cancellation-policy"}),subscription_policy:t(o,{handle:"subscription-policy"}),shipping_policy:t(o,{handle:"shipping-policy"}),legal_notice:t(o,{handle:"legal-notice"})})});return e?t(u,{children:[t(s,{color:"subdued",size:"small",children:n}),t(x,{blockSize:"@media (inline-size >= medium) large-200, small-300"})]}):n}function ae({vatNumber:e,onAdd:i}){return e?t(U,{vatNumber:e}):t(q,{onAdd:i})}function U({vatNumber:e}){const{i18n:i}=a();return t(s,{color:"subdued",children:i.translate("taxes.vat_number.vaulted",{number:e})})}function q({onAdd:e}){const{i18n:i}=a();return t(C,{onClick:e,textDecoration:"none",children:i.translate("taxes.vat_number.add")})}function ce({deliveryLines:e}){const{i18n:i,shop:{asyncDeliveryPromiseExperienceEnabled:n}}=a(),{selectedMacro:r}=D(),{deliveryExpectationLines:v}=w(),T=N("deliveryExpectations"),g=L(),y=V(),l=j(e??[]);if(!r||l.length<2)return;const c=O({selectedMethods:l,deliveryExpectationLines:v??[],deliveryPromiseText:r.deliveryPromisePresentmentTitle?.short}),d=!!n&&G(l)&&T.value,p=F(l),S=p?g(p):void 0,P=Z({deliveryPromiseLoading:d,shopPromiseSummary:c,formattedTimeInTransit:S??void 0,selectedMacroDeliveryPromiseText:r.deliveryPromisePresentmentTitle?.long}),m=y.value.groups.length,h=Y({i18n:i,deliveryLines:e??[],shipmentCount:m>0?m:l.length});return{totalTitle:r.totalTitle,totalCost:r.totalCost,totalCostAfterDiscounts:r.totalCostAfterDiscounts,deliveryPromiseText:P,...h&&{shipmentCountText:h},...c?.brandedPromise&&{deliveryPromiseBrandedPromise:c.brandedPromise},...d&&{deliveryPromiseLoading:d}}}function Y({i18n:e,deliveryLines:i,shipmentCount:n}){if(J(i))return e.translate("shipping.split_shipping_multiple_shipment_label");if(!(n<=1))return e.translate("shipping.split_shipping_multiple_shipment_quantity_label",{quantity:n})}function Z({deliveryPromiseLoading:e,shopPromiseSummary:i,formattedTimeInTransit:n,selectedMacroDeliveryPromiseText:r}){if(!e)return i?i.deliveryPromiseText:n||r}function j(e){return e.reduce((i,n)=>{if(n.status!=="available"||n.type!=="ONE_TIME_PURCHASE")return i;const r=A(n);return r?.methodType!=="SHIPPING"&&r?.methodType!=="LOCAL"||i.push(r),i},[])}function J(e){return e.some(({status:i,type:n})=>i==="available"&&n==="SUBSCRIPTION")}function de({summary:e}){return t(H,{methodTitle:e.totalTitle,showInterpunct:!0,price:t(B,{cost:e.totalCost,costAfterDiscounts:e.totalCostAfterDiscounts,inlineDiscount:!0})})}function ue({summary:e,secondaryContentColor:i}){return!e.deliveryPromiseLoading&&!e.deliveryPromiseText&&!e.shipmentCountText?null:t(f,{direction:"@media (inline-size >= extraSmall) inline, block",columnGap:"small-400",alignItems:"baseline",children:[t(K,{summary:e,secondaryContentColor:i}),e.shipmentCountText?t(s,{color:i,children:e.shipmentCountText}):null]})}function K({summary:e,secondaryContentColor:i}){const n=e.shipmentCountText?t(I,{display:"@media (inline-size >= extraSmall) auto, none",children:t(s,{color:i,accessibilityVisibility:"hidden",children:E})}):null;return e.deliveryPromiseLoading?t(u,{children:[t(M,{inlineSize:"base"}),n]}):e.deliveryPromiseText?t(u,{children:[t(f,{direction:"inline",gap:"small-300",alignItems:"center",children:[t(s,{color:i,children:e.deliveryPromiseText}),e.deliveryPromiseBrandedPromise?t(z,{brandedPromise:e.deliveryPromiseBrandedPromise}):null]}),n]}):null}var Q={Middot:"yh3r740"};function pe(){return t("span",{"aria-hidden":"true",className:Q.Middot,children:"·"})}export{U as D,pe as M,le as R,de as S,ae as V,ue as a,se as b,ce 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.