PageSourceSearch

https://b-det.com/cdn/shopifycloud/checkout-web/assets/c1/app.D2wFhSFv.js

js b-det.com collected 2026-10-07 02:16:05 UTC 22,803 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["6a2fc6d6.CktMoRVE.js","2c1ab0fe.Bywc2Brn.js","9dba8418.DInoCEzY.js","assets/paypal-express-utilities.BhV0n1qN.css","2495faa4.Tu9qVTlu.js","cf29e63b.Cl-tFGZz.js","2bac2c53.gEGJwgcc.js","cb38e5c2.BxvsOkWl.js","2255f8fa.8KqxH4Pm.js","d25d1b95.DsyU8-pY.js","f67abd2c.CxgiarJo.js","b8733b27.DhvkBeeV.js","e39bc11c.gbgXD8RN.js","08a3b809.5tqP2mr3.js","164ad2e3.DHuJhR22.js","d0bb51ec.DwFzQH6k.js","60a453ce.CQQC7Spq.js","e12db40c.DJw7xsqf.js","assets/hydrate.ByGT37s3.css"])))=>i.map(i=>d[i]);
2import{l as e,bd as t,y as n,I as r,t as o,L as i}from"./2c1ab0fe.Bywc2Brn.js";const a={},s=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=function(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:"fulfilled",value:e}),e=>({status:"rejected",reason:e}))))};document.getElementsByTagName("link");const n=document.querySelector("meta[property=csp-nonce]"),o=n?.nonce||n?.getAttribute("nonce");r=e(t.map(e=>{if((e=function(e){return"/cdn/shopifycloud/checkout-web/assets/c1/"+e}(e))in a)return;a[e]=!0;const t=e.endsWith(".css"),n=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${n}`))return;const r=document.createElement("link");return r.rel=t?"stylesheet":"modulepreload",t||(r.as="script"),r.crossOrigin="",r.href=e,o&&r.setAttribute("nonce",o),document.head.appendChild(r),t?new Promise((t,n)=>{r.addEventListener("load",t),r.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${e}`)))}):void 0}))}function o(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(const e of t||[])"rejected"===e.status&&o(e.reason);return e().catch(o)})};if("undefined"!=typeof window&&void 0!==window.Element&&(Element.prototype.closest=Element.prototype.closest??function(e){let t=this;for(;null!=t;){if(t.matches(e))return t;const n=t.parentElement??t.parentNode;t=null!=n&&1===n.nodeType?n:null}return null},Element.prototype.matches=Element.prototype.matches??Element.prototype.msMatchesSelector??Element.prototype.webkitMatchesSelector),"undefined"!=typeof window){const e="function"!=typeof window.requestIdleCallback,t="function"!=typeof window.cancelIdleCallback;(e||t)&&(window.requestIdleCallback=function(e){const t=Date.now();return window.setTimeout(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})},0)},window.cancelIdleCallback=function(e){window.clearTimeout(e)})}Object.fromEntries=Object.fromEntries??function(e){const t={};for(const n of e){if(Object(n)!==n)throw new TypeError(`Iterator value ${n} is not an entry object`);const{0:e,1:r}=n;Object.defineProperty(t,e,{configurable:!0,enumerable:!0,writable:!0,value:r})}return t},"function"!=typeof Array.prototype.at&&(Array.prototype.at=function(e){const t=Number.isNaN(e)||void 0===e?0:Math.trunc(e);return this[t<0?t+this.length:t]});const c=Element.prototype.insertBefore,d=Element.prototype.appendChild;function l(e){if(!(e instanceof HTMLScriptElement&&e.textContent))return!1;try{return new Function(e.textContent),!1}catch(t){return console.warn("Blocked script with invalid JavaScript content:",{source:e.src||"inline script",contentPreview:`${e.textContent.slice(0,100)}...`,error:t instanceof Error?t.message:String(t)}),!0}}if(Element.prototype.insertBefore=function(e,t){try{const n=!(e&&e instanceof Node),r=e instanceof Text&&t instanceof HTMLElement&&"font"===t?.localName;return n||r||l(e)?e:c.apply(this,[e,t])}catch{return e}},Element.prototype.appendChild=function(e){try{const t=!(e&&e instanceof Node),n=e instanceof Text&&this.firstChild instanceof HTMLElement&&"font"===this.firstChild.localName;return t||n||l(e)?e:d.apply(this,[e])}catch{return e}},"undefined"!=typeof performance)try{const e=performance.measure.bind(performance),t=performance.mark.bind(performance);performance.measure=function(...t){try{return e.call(this,...t)}catch{return u("measure",String(t[0]))}},performance.mark=function(...e){try{return t.call(this,...e)}catch{return u("mark",String(e[0]))}}}catch{}function u(e,t){const n={startTime:0,duration:0,entryType:e,name:t};return{...n,detail:void 0,toJSON:()=>n}}"undefined"!=typeof window&&(window.ShopPay={});const p="checkout-web:cf-challenge-reloads";function m(e){window.dispatchEvent(new CustomEvent("checkout:cf-challenge",{detail:e}))}if("undefined"!=typeof window){const e=window.fetch;let t=!1,n=!1;const r=()=>{const e=Date.now(),r=function(e){try{const t=sessionStorage.getItem(p);if(!t)return[];const n=JSON.parse(t);return Array.isArray(n)?n.filter(t=>"number"==typeof t&&t<=e&&e-t<3e5):[]}catch{return[]}}(e);if(r.length>=2)return void(n||(n=!0,m({event:"reload_suppressed",reloadCount:r.length,budgetTracked:!0})));t=!0;const o=function(e){try{return sessionStorage.setItem(p,JSON.stringify(e)),!0}catch{return!1}}([...r,e]);m({event:"reload",reloadCount:r.length+1,budgetTracked:o}),window.location.reload()};window.fetch=async(...n)=>{const o=await e(...n);return t||o.ok||"challenge"!==o.headers.get("cf-mitigated")||r(),o}}
2const f={pendingTransition:!1,transitionTypes:[],inflightTransition:void 0,inflightTransitionTypes:[],scheduled:!1,containers:new Set,get prefersReducedMotion(){return"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}},h='[role="dialog"][aria-modal="true"]';function y(e,t=[],{interrupt:n=!1,replace:r=!1}={}){"undefined"!=typeof window?(f.transitionTypes=f.pendingTransition&&!r?[...new Set([...f.transitionTypes,...t])]:t,f.pendingTransition=!0,e(),n&&f.inflightTransition?.skipTransition()):e()}function g(){return f.inflightTransitionTypes.some(e=>"payment-details-slide-start"===e||"payment-details-slide-end"===e)}function w(){return f.inflightTransitionTypes.includes("payment-details-slide-start")?"start":"end"}class v extends e{#e;#t;constructor(e,t,n){super(e),this.#e=t,this.#t=n}get value(){return super.value}set value(e){this.#e?.(this.peek(),e)??!0?y(()=>{super.value=e},this.#t):super.value=e}}function E(e,t,n){return new v(e,t,n)}const b=["Load failed","Failed to fetch","when attempting to fetch resource","SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3"],T=["Importing a module script failed.","Failed to fetch dynamically imported module","error loading dynamically imported module","Cannot load script due to integrity mismatch"],k=["TranslationNotStringError","MissingReplacementError","CardFieldsSetupError","CardFieldsLoadError","IFrameNotFoundError","CardFieldsFetchFailureError","CardFieldsOperationalError","PayPalAPIError","WalletProviderFailureError","AbortedSessionError","AbortError","GraphQLFetchNetworkError","MonorailRequestError","BreadcrumbsPluginFetchError","OpenTelemetryClientError","InsecurePageError","UnsafeURLError","GraphQLFetchHttpBadRequestError","GraphQLFetchHttpStatusError","GraphQLFetchHttpContentTypeError","GraphQLFetchJsonParseError","SettingsCreateError","MerchantCommunicationError","PostPurchase::ClientJsonParseError","MissingAppContextError","MissingContextError"];function S(e){return"TypeError"===e.name&&T.some(t=>e.message.includes(t))}function C(e){return b.some(t=>e.message.includes(t))}class _ extends Error{constructor(e,t={}){super(e,t),this.metadata=t.metadata??{},this.instanceGroupingHash=t.groupingHash,this.unactionable=!1,"captureStackTrace"in Error&&Error.captureStackTrace(this,this.constructor)}get groupingHash(){return this.instanceGroupingHash??this.defaultGroupingHash??this.name}isUnactionable(){return this.unactionable}}class P extends _{constructor(e,t={}){super(e,t)}}class I extends _{constructor(){super(...arguments),this.name="DynamicImportError",this.unactionable=!0}}class M extends _{constructor(){super(...arguments),this.name="ViewTransitionRenderError",this.defaultGroupingHash="ViewTransitionRenderError"}}const A=(()=>{if(!document.startViewTransition)return()=>!1;try{const e=document.startViewTransition({update:()=>{},types:[]});return e.skipTransition(),e.ready.catch(()=>{}),()=>!0}catch{return()=>!1}})(),L="modal-content-cross-fade",O=new Set(["payment-icons",L]),N=new Set(["delivery-slide-start","delivery-slide-end","payment-icons",L,"payment-selector-change","payment-details-slide-start","payment-details-slide-end","money-lines"]),F=new Set([L,"checkout-exit"]),x=new Set(["payment-details-slide-start","payment-details-slide-end"]);function j(){if(!f.inflightTransition)return!1;const e=f.inflightTransitionTypes;return 0===e.length||!e.every(e=>x.has(e))}function R(){const e=f.inflightTransition;if(!e)return!1;const t=f.inflightTransitionTypes;return!!(t.length>0&&t.every(e=>N.has(e)))&&(e.skipTransition(),!0)}function $(){const e=document.querySelectorAll(h),t=f.transitionTypes,n=t.length>0&&t.every(e=>O.has(e)),r=t.includes(L);return f.pendingTransition&&!f.prefersReducedMotion&&!("undefined"!=typeof window&&window!==window.parent)&&!document.hidden&&A()&&(0===e.length||n)&&(!r||1===e.length)}function q(e){const t=f.pendingTransition,n=f.transitionTypes;f.pendingTransition=!1,f.transitionTypes=[],f.scheduled=!1;try{e()}catch(r){const e=r instanceof Error?r.message:String(r);if(T.some(t=>e.includes(t)))throw new I(e);{const o=r instanceof Error?function(e){return"TypeError"===e.name?`ViewTransitionRenderError: ${e.message}`:`ViewTransitionRenderError: ${e.name}`}(r):void 0;throw function(e,t){return void 0===t||Object.defineProperty(e,"groupingHash",{value:t,enumerable:!1,
2configurable:!0}),e}(new M(`Error during render (no view transition): ${e}`,{cause:r,groupingHash:o,metadata:{prefersReducedMotion:f.prefersReducedMotion,pendingTransition:t,transitionTypes:n,isInIframe:"undefined"!=typeof window&&window!==window.parent,supportsViewTransitions:A(),...V(r)}}),o)}}}!function(){let e=!1;document.addEventListener("keydown",()=>{R()},{capture:!0,passive:!0}),document.addEventListener("pointerdown",()=>{e=R()},{capture:!0,passive:!0}),document.addEventListener("pointercancel",()=>{e=!1},{capture:!0,passive:!0}),document.addEventListener("click",t=>{e&&(e=!1,t.target===document.documentElement&&function({clientX:e,clientY:t,ctrlKey:n,metaKey:r,shiftKey:o,altKey:i,detail:a}){const s=document.elementFromPoint(e,t);return!(!s||s===document.documentElement||s.closest("[inert], :disabled")||(s.closest("input, textarea, select, [contenteditable]")?.focus(),s.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,clientX:e,clientY:t,ctrlKey:n,metaKey:r,shiftKey:o,altKey:i,detail:a})),0))}(t)&&t.stopImmediatePropagation())},{capture:!0})}(),t.debounceRendering=e=>{f.scheduled||(f.scheduled=!0,$()||j()?J(e):queueMicrotask(()=>{$()||j()?J(e):q(e)}))};const H="view-transition-generated-names";function B(e){return`@layer ${H} {${e}}`}async function J(e){const t=f.inflightTransition?.finished??Promise.resolve();if(await t,!$())return void q(e);const n=f.transitionTypes.some(e=>F.has(e)),r=new Map,o=document.createElement("style");let i=0,a=0;o.innerHTML=function(){if(n)return B("");let e="";for(const t of f.containers){let n=1;t.dataset.vtContainerId=""+i++;for(const o of t.children){const i="vt-"+a++;r.set(o,i),e+=`\n              [data-vt-container-id="${t.dataset.vtContainerId}"] > :nth-child(${n++}) {\n                view-transition-name: ${i};\n            }\n          `}}return B(e)}(),document.head.appendChild(o);const s=f.transitionTypes?.length?f.transitionTypes:void 0;f.transitionTypes=[];const c=document.startViewTransition({update:()=>{f.scheduled=!1,e(),o.innerHTML=function(){if(n)return B("");let e="";for(const t of f.containers){let n=1;for(const o of t.children){const s=r.get(o);t.dataset.vtContainerId||(t.dataset.vtContainerId=""+i++),e+=`\n              [data-vt-container-id="${t.dataset.vtContainerId}"] > :nth-child(${n++}) {\n                view-transition-name: ${s??"vt-"+a++};\n              }\n            `}}return B(e)}()},types:s});f.inflightTransition=c,f.inflightTransitionTypes=s?[...s]:[],c.ready.catch(()=>{}),c.updateCallbackDone.then(()=>{f.pendingTransition=!1}).catch(()=>{}),c.finished.finally(()=>{f.inflightTransition=void 0,f.inflightTransitionTypes=[],document.head.removeChild(o);for(const e of f.containers)delete e.dataset.vtContainerId}).catch(()=>{})}function V(e){const t={};e instanceof Error&&(t.originalErrorName=e.name,t.originalErrorMessage=e.message,t.originalErrorStack=e.stack);try{const e=document.querySelectorAll("script[integrity]"),n=e.length;t.scriptsWithIntegrityCount=n,t.scriptsWithIntegrity=Array.from(e).slice(0,10).map(e=>({src:e.getAttribute("src"),integrity:e.getAttribute("integrity")}))}catch{}try{const e=document.querySelector('script[type="importmap"], script[type="systemjs-importmap"]');if(e?.textContent){const n=JSON.parse(e.textContent);if(null!=n.integrity&&"object"==typeof n.integrity&&!Array.isArray(n.integrity)){const e=Object.entries(n.integrity);t.importMapIntegrityCount=e.length,t.importMapIntegritySample=Object.fromEntries(e.slice(0,10))}}}catch{}return t}const D="fast-thank-you-progress-root";class G{constructor({progress:e}={}){this.#n=n("pending"),this.phase=this.#n,this.isRevealing=r(()=>"revealing"===this.#n.value),this.progress=e}#n;reveal(){this.#r("pending","revealing")}settle(){this.#r("revealing","settled")}skip(){this.#r("pending","settled")}#r(e,t){this.#n.peek()===e&&(this.#n.value=t)}}class K{constructor(){this.#n=n("loading"),this.phase=this.#n,this.#o=new Promise(e=>{this.#i=e})}#n;#i;#o;#a;complete(){this.#s("completing")}cancel(){this.#s("cancelled")}fill(){return this.#a??=this.#c(),this.#a}async#c(){if(await this.#o,"completing"!==this.#n.peek())return;const e=document.getElementById(D)?.querySelector(".FastThankYouReceiptProgressBar");e&&await async function(e){if(window.matchMedia("(prefers-reduced-motion: reduce)").matches||"function"!=typeof e.animate)e.style.animation="none",e.style.transform="scaleX(1)";else{const t=getComputedStyle(e).transform;e.style.animation="none";const n=e.animate([{transform:t},{transform:"scaleX(1)"}],{duration:100,easing:"ease-out",fill:"forwards"});await n.finished.catch(()=>{}),await new Promise(e=>setTimeout(e,150))}await U(),await U()}(e),this.#n.value="complete"}#s(e){"loading"===this.#n.peek()&&(this.#n.value=e,this.#i())}}function U(){return new Promise(e=>{requestAnimationFrame(()=>e())})}function Q(){document.getElementById("app")?.removeAttribute("inert"),document.querySelectorAll(".Loa
2dingShellMainContentPrimary, .LoadingShellOrderSummaryContentPrimary").forEach(e=>e.removeAttribute("aria-hidden")),document.querySelectorAll(".LoadingShell-fastThankYouProgressCover").forEach(e=>e.classList.remove("LoadingShell-fastThankYouProgressCover")),document.getElementById(D)?.remove()}function W(){return null!==document.getElementById(D)}function X(e,{currentUrl:t,latestReceipt:n}){const r=setTimeout(()=>e.cancel(),1e4),a=o(function(){const o=e.phase.value,{normalizedPath:a}=t.value,s=n.value?.status;i(()=>{const t="loading"===o&&function(e,t){return"/processing"!==e&&"/thank-you"!==e||void 0===t||"action_required"===t||"failed"===t||"abandoned"===t}(a,s);("loading"!==o||t)&&(this.dispose(),clearTimeout(r),t&&e.cancel(),document.getElementById("app")?.removeAttribute("inert"))})});return()=>{clearTimeout(r),a()}}const Y=Symbol("unreadable"),z=t,Z=new WeakMap;let ee;function te(e){if("undefined"==typeof window)return;const t=Z.get(e);return t&&!t.reported?(t.reported=!0,t.metadata):void 0}function ne(e){return"object"==typeof e&&null!==e||"function"==typeof e}function re(e){return e===Y?"unreadable":null===e?"null":typeof e}function oe(e,t,n){try{return Object.getOwnPropertyDescriptor(e,t)}catch{return n.inspectionFailed=!0,Y}}function ie(e,t,n){if(!ne(e))return;const r=oe(e,t,n);return r?r!==Y&&"value"in r?r.value:(n.inspectionFailed=!0,Y):void 0}function ae(e,t,n){const r=oe(e,t,n);return r===Y?{kind:"unreadable"}:r?"value"in r?{kind:"data",valueType:re(r.value)}:{kind:"accessor"}:{kind:"absent"}}function se(e,t){const n={category:re(e)};if(!ne(e)||"function"==typeof e)return n;try{n.nullPrototype=null===Object.getPrototypeOf(e)}catch{t.inspectionFailed=!0}const r=oe(e,Symbol.toStringTag,t);return n.moduleLike=r!==Y&&void 0!==r&&"value"in r&&"Module"===r.value,n.defaultProperty=ae(e,"default",t),n.toStringProperty=ae(e,"toString",t),n.valueOfProperty=ae(e,"valueOf",t),n}function ce(e,t){const n=[],r=new Set;let o=e;for(;ne(o)&&n.length<10&&!r.has(o);){r.add(o);const e=ie(o,"type",t),i={category:re(e)};if("function"==typeof e){const n=ie(e,"displayName",t),r="string"==typeof n&&n.length>0?n:ie(e,"name",t);"string"==typeof r&&(i.name=r.slice(0,100),i.nameTruncated=r.length>100)}n.push(i),o=ie(o,"__",t)}return{type:se(ie(e,"type",t),t),ancestry:Object.fromEntries(n.map((e,t)=>[t,e])),ancestryTruncated:ne(o)}}const de=Symbol("checkout-web.skeletonRemovalLatch");function le(e){const t=e;let n=t[de];if(!n){let e=()=>{};n={promise:new Promise(t=>{e=t}),resolve:e,removed:!1},t[de]=n}return n}function ue(){return"undefined"==typeof document?new Promise(()=>{}):le(document).promise}function pe(e){const t=le(e);t.removed=!0,t.resolve()}function me(e){return le(e).removed}function fe(e,t){const n=W();n&&Q();const r=e.querySelector(".client-terminal-error-page__stack-trace");return r&&r.remove(),e.style.display="block",!!n&&(document.querySelector(".LoadingShell")?.remove(),document.body?.classList.remove("Loading"),pe(document),!0)}!function(){if("undefined"==typeof window)return()=>{};if(ee)return ee;const e=z.__e;function t(...t){return function(e,t){if("undefined"!=typeof window)try{if(!(e instanceof TypeError)||Z.has(e))return;const n=Object.getOwnPropertyDescriptor(e,"message");if(!n||!("value"in n)||"Cannot convert object to primitive value"!==n.value)return;const r={reported:!1};Z.set(e,r),r.metadata=function(e){const t={version:1,inspectedNodeCount:0,candidateCount:0,scanTruncated:!1,candidatesTruncated:!1,inspectionFailed:!1,outputTruncated:!1,catchVNode:{type:{category:"unreadable"},ancestry:{},ancestryTruncated:!1},candidates:{}};t.catchVNode=ce(e,t);const n=[e],r=new Set;for(const a of n){if(!ne(a)||r.has(a))continue;r.add(a),t.inspectedNodeCount++;const e=ie(a,"type",t);e!==Y&&null!=e&&"string"!=typeof e&&"function"!=typeof e&&(t.candidateCount<4?t.candidates[t.candidateCount++]=ce(a,t):t.candidatesTruncated=!0);try{const e=ie(a,"__k",t);if(!Array.isArray(e))continue;const r=ie(e,"length",t);if("number"!=typeof r)continue;const o=Math.min(r,32-n.length);o<r&&(t.scanTruncated=!0);for(let i=0;i<o;i++)n.push(ie(e,i,t))}catch{t.inspectionFailed=!0}}const o=[t.catchVNode,...Object.values(t.candidates)],i=new TextEncoder;for(let a=9;a>=0;a--)for(const e of o){if(i.encode(JSON.stringify(t)).byteLength<=8192)return t;e.ancestry[a]&&(delete e.ancestry[a],e.ancestryTruncated=!0,t.outputTruncated=!0)}return t}(t)}catch{}}(t[0],t[1]),e.apply(this,t)}z.__e=t,ee=function(){"undefined"!=typeof window&&z.__e===t&&(z.__e=e,ee=void 0)}}(),async function(){const e=performance.now();let t;try{const[{buildAppContextForBrowser:n},{hydrateApp:r,renderTerminalError:o}]=await Promise.all([s(()=>import("./6a2fc6d6.CktMoRVE.js").then(e=>e.E),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13])),s(()=>import("./164ad2e3.DHuJhR22.js").then(e=>e.iP),__vite__mapDeps([14,1,2,3,15,10,16,17,18]))]),i=performance.now();await ge();const a=performance.now(),c=document.getElementById("app"),d=document.getElementById("terminal-error-page"),l=await n({rootElement:c,onTerminalError:o({rootElement:c,terminalErrorPageElement:d})}),u=performance.now();if("error"===l.status)throw t=l.errorHandlingContext,l.error;t=l.appContext;const p=l.appContext;await r(p,{bootStartTime:e,bootPhaseTimings:{importsCompleteTime:i,bootUnblockedTime:a,appContextBuiltTime:u}})}catch(n){if(t)await t.terminalErrorHandler.notify(n);else{if(!W())throw n;{await ge();const e=document.getElementById("terminal-error-page");if(!e)throw n;document.getElementById("app")?.replaceChildren(),fe(e)}}}finally{if(t){const{client:{initialRequest:e},observability:n}=t;n.counter({name:"checkout_web_client_received",value:1,attributes:{serverRendered:e.isServerRendered,didHydrate:e.isServerRendered}})}}}();const he=Symbol.for("Shopify.checkout.htmlAvailable"),ye="checkout:htmlavailable";async function ge(){window[he]||await new Promise(e=>{document.addEventListener(ye,e,{once:!0})})}const we={id:"21821ce8045ac8c9039907679be78fa2e313ef8ddc074e46680820689ec0aed4",type:"query",name:"ActivatedExtensionMetafields",source:""};function ve(e){const t=[],n=e.fields.merchandiseLines.value,r=e.fields.buyerIdentity.value;
2return n?.lines.forEach(e=>{e.variantId&&t.push(e.variantId),e.productId&&t.push(e.productId)}),r?.customerProfile&&(t.push(r.customerProfile.id),r.purchasingCompany&&(t.push(r.purchasingCompany.location.id),t.push(r.purchasingCompany.company.id))),t.sort()}function Ee({withCache:e=!0,coreGraphql:t,resourceIds:n,checkoutProfileId:r}){return t.staticQuery(we,{variables:{resourceIds:n,checkoutProfileId:r},cache:e})}function be(e,t){return e?.countryCode||t?.countryCode}function Te(e,t){try{if(window.webkit&&"function"==typeof window.webkit.messageHandlers?.mobileCheckoutSdk?.postMessage){const n={name:t.handlerId,body:JSON.stringify(t.body)};return e.log("mobile_checkout_sdk_client_message_posted","Posting message to webkit client.",{handleId:t.handlerId}),ke(e,t,"webkit"),window.webkit.messageHandlers.mobileCheckoutSdk.postMessage(JSON.stringify(n)),!0}return window.android&&"function"==typeof window.android.postMessage?(e.log("mobile_checkout_sdk_client_message_posted","Posting message to android client."),ke(e,t,"android"),window.android.postMessage(JSON.stringify({name:t.handlerId,body:JSON.stringify(t.body)})),!0):(e.log("mobile_checkout_sdk_client_no_message_posted","Neither window.android or window.webkit postMessage found, cannot post message."),!1)}catch(n){return e.log("mobile_checkout_sdk_client_no_message_posted",`Error received when posting message to CSK', ${t}, ${n}`),!1}}function ke(e,t,n){if("completed"!==t.handlerId||null==t.body)return;const r=t.body,o=r.orderDetails?.cart,i=function(e){return Array.isArray(e?.lines)?e.lines.length:void 0}(o);0===i&&e.log("mobile_checkout_sdk_completed_event_empty_cart_lines","Mobile Checkout SDK completed event has an empty cart lines array.",{client:n,cartPresent:null!=o},{exportImmediately:!0})}class Se extends Error{constructor(e){super(e),this.name="CheckoutProtocolUnrecoverableTerminalError",this.reason=e}}function Ce(){return`${_e()}-${_e()}-${_e()}-${_e()}`}function _e(){return Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)}export{Se as C,K as F,h as O,_ as S,G as T,k as U,s as _,g as a,w as b,C as c,be as d,T as e,b as f,ve as g,te as h,S as i,P as j,me as k,fe as l,pe as m,X as n,W as o,Te as p,Ee as q,Q as r,y as s,E as t,Ce as u,f as v,ue as w};

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.