PageSourceSearch

https://www.sevenminerals.com/cdn/shopifycloud/checkout-web/assets/c1/Section-SectionStyleOverride.hMiKajvE.js

js sevenminerals.com collected 2026-09-26 03:17:31 UTC 2,056 bytes, 1 lines download raw bytes

1import{T as _,u as b,i as B}from"./esnext-vendor.B9Da21W6.js";import{X as R,u as x,aq as N}from"./hydrate.DZ4YTm7p.js";import{S as w,ah as L}from"./addresses-is-address-empty.Bn2lNY_L.js";function d(r){return Object.fromEntries(Object.entries(r??{}).filter(([,n])=>n!=null))}const P={background:"base",border:"full",borderStyle:"base",borderWidth:"base",cornerRadius:"base"},W="base";function D(r,n){return r?{background:n?void 0:"subdued200",border:"none",borderStyle:"base",borderWidth:"base",cornerRadius:"large",shadow:"extraSmall"}:P}function l(r,n,e){return{...d(r),...d(n),...d(e)}}function Y(r,n,e){if(!r&&!n)return;const a=Array.isArray(e)?e[0]:e,o=Array.isArray(e)?e[1]:e;return[r??a,n??o]}const F={background:"transparent",border:"none",cornerRadius:"base"};function H({children:r,condition:n,target:e}){return b(B,{when:n,fallback:r,children:b(M,{target:e,children:r})})}function M({children:r,target:n}){const{main:{section:e},expressCheckout:{background:a,padding:o},orderSummary:{mobile:{background:i,padding:u}={}}}=R(),{shop:I}=w(),t=I.hasFlagEnabled(L),g=x(),{vaulted:{background:S,border:m,borderStyle:p,borderWidth:h,cornerRadius:k,shadow:y,padding:C},lineItems:{blockPadding:f,inlinePadding:v}}=g,O=e?.colorScheme!=null&&g.colors?.schemes?.[e.colorScheme]?.base?.background!=null,A=_(()=>{const s=D(t,O);switch(n){case"card":return{padding:W,...l(s,void 0,e)};case"edgeToEdgeCard":return{...l(s,void 0,e),padding:"none"};case"plain":return F;case"expressCheckout":return{...e,background:a??e?.background,padding:o??e?.padding};case"vaulted":{const T=t?s:{},c=d({background:S,border:m,borderStyle:p,borderWidth:h,cornerRadius:k,shadow:y,padding:C}),E=d(e);return{...l(T,c,e),padding:c.padding??E.padding,...t?{}:{background:c.background??E.background}}}case"lineItems":return{...e,padding:Y(f,v,e?.padding)??e?.padding};case"mobileOrderSummary":return u||i?{...e,background:i??e?.background,padding:u??e?.padding}:e??{};default:return e??{}}},[e,n,a,o,i,u,S,m,p,h,k,y,C,O,t,f,v]);return b(N,{style:A,children:r})}export{H as M,M as S};

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.