PageSourceSearch

https://jerseyjackpinball.com/cdn/shopifycloud/checkout-web/assets/c1/945a08d6.CbBX260S.js

js jerseyjackpinball.com collected 2026-10-02 03:39:41 UTC 1,621 bytes, 1 lines download raw bytes

1import{O as h,dn as m}from"./4c290a1e.FJVsH4yi.js";import{m as g,g as C}from"./2c1ab0fe.BqEHHmaW.js";import{Z as b}from"./164ad2e3.BA-GikTU.js";const P="context";function x(){const{mobileCheckoutSdk:e}=h();if(!e.enabled)return!1;const n=e.config?.colorScheme,o=!!(typeof window<"u"&&window.matchMedia?.("(prefers-color-scheme: dark)")?.matches);return n==="DARK"||e.variant.isStandard()&&n==="AUTOMATIC"&&o}const k=e=>({backgroundColor:n,foregroundColor:o})=>{const t=f(n),a=f(o),r=Math.max(t,a),c=Math.min(t,a),s=(r+.05)/(c+.05);return{isValidContrast:s>=e,ratio:Math.round(s*100)/100}},A=k(3.06),p=(e,n,o)=>{const t=a=>{const r=a/255;return r<=.04045?r/12.92:((r+.055)/1.055)**2.4};return .2126*t(e)+.7152*t(n)+.0722*t(o)};function f(e){const[n,o,t]=e.toRgbTuple();return p(n,o,t)}const v=.179,l=/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)$/,$=e=>{const n=e.match(l);if(!n)return e;const[,o,t,a,r]=n;return r===void 0?`rgb(${o}, ${t}, ${a})`:`rgba(${o}, ${t}, ${a}, ${r})`},w=(e,n)=>{const o=e.match(l);if(!o)return!1;const t=o[4]===void 0?1:parseFloat(o[4]),a=n?.match(l),r=c=>{const s=parseInt(o[c],10),u=a?parseInt(a[c],10):255;return s*t+u*(1-t)};return p(r(1),r(2),r(3))<v};function E(e,n){const o=n?.lazyReveal??!1,t=b(),a=h().checkout.configuration.layout.isOnePage.value,r=g(e);return C(()=>!a&&t?.orderSummary?.defaultState==="EXPANDED"?!0:r.value.some(s=>{if(s.kind==="customField")return m(s).required.value;const u=m(s),i=u.behaviors.value,d=i.blockProgress&&u.capabilities.blockProgress;return o?i.alwaysReveal&&!d:!!(d||i.alwaysReveal)}))}export{l as R,x as a,A as b,w as i,$ as n,P as s,E 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.