PageSourceSearch

https://myfireroad.com/cdn/shopifycloud/checkout-web/assets/c1/1f5e7811.B-Accwr_.js

js myfireroad.com collected 2026-10-07 06:47:51 UTC 1,763 bytes, 1 lines download raw bytes

1import{c8 as o,c as r,H as n}from"./9dba8418.nSn06qNc.js";import{l as t,K as s}from"./164ad2e3.Bn4mVc0u.js";import{T as e}from"./2c1ab0fe.Bywc2Brn.js";const a=/\S+@\S+\.\S{2,}/;function c(r,n){if(!o(r))return n}function i(o,r){return a.test(o)?void 0:r}const u="context";function l({live:o=!1}={}){const{client:n,mobileCheckoutSdk:t}=r();if(!t.enabled)return!1;const s=t.config?.colorScheme;return"DARK"===s||t.variant.isStandard()&&"AUTOMATIC"===s&&(o?n.prefersDarkMode.value:n.prefersDarkMode.peek())}const d=({backgroundColor:o,foregroundColor:r})=>{const n=m(o),t=m(r),s=(Math.max(n,t)+.05)/(Math.min(n,t)+.05);return{isValidContrast:s>=3.06,ratio:Math.round(100*s)/100}};const f=(o,r,n)=>{const t=o=>{const r=o/255;return r<=.04045?r/12.92:((r+.055)/1.055)**2.4};return.2126*t(o)+.7152*t(r)+.0722*t(n)};function m(o){const[r,n,t]=o.toRgbTuple();return f(r,n,t)}const b=/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)$/,g=o=>{const r=o.match(b);if(!r)return o;const[,n,t,s,e]=r;return void 0===e?`rgb(${n}, ${t}, ${s})`:`rgba(${n}, ${t}, ${s}, ${e})`},p=(o,r)=>{const n=o.match(b);if(!n)return!1;const t=void 0===n[4]?1:parseFloat(n[4]),s=r?.match(b),e=o=>{const r=parseInt(n[o],10),e=s?parseInt(s[o],10):255;return r*t+e*(1-t)};return f(e(1),e(2),e(3))<.179},C=new n(0,0,100);function h({foregroundColor:o,backgroundColor:r,section:n="main"}){const a=t(),{colors:c}=s(),i=a[n];let u=C;if(void 0===r){const o=i.colorScheme;u=o?c.schemes?.[o]?.base?.background??C:C}else u=r;const{isValidContrast:l}=e(()=>d({backgroundColor:u,foregroundColor:o}),[u,o]);return l}const S={xsmall:"_8ssCG",small:"zS4x6",medium:"PrlUn",large:"SsCEp",ShopPayLogo:"eEpXo",ShopLogo:"PJvCw",inline:"aTkbO"};export{b as R,l as a,i as b,u as c,p as i,g as n,S as s,h as u,c as v};

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.