PageSourceSearch

https://store.billieeilish.com/cdn/shopifycloud/checkout-web/assets/c1/shared-permissions.DW7FOCqf.js

js billieeilish.com collected 2026-09-24 19:10:56 UTC 2,399 bytes, 1 lines download raw bytes

1import{ad as u}from"./addresses-is-address-empty.ZJ1ThpFy.js";const c="2026-10",_="2023-04";function y(e){throw new u(`Unsupported API version: ${e}`)}function a(e){return e==="unstable"?"2025-07":e}function h(e,s){if(i(e,s))return!1;const t=a(e);return a(s)<t}function d(e,s){return i(e,s)?!1:!h(e,s)}function i(e,s){const t=a(e);return a(s)===t}function l(e){return{laterThan:s=>h(e,s),earlierThan:s=>d(e,s),equalTo:s=>i(e,s)}}function R(e){return e?l(e).laterThan(c)?c:e:_}function P(e){return l(e).laterThan("2025-07")}function x(e){return e.endsWith("/")?e.slice(0,-1):e}const f=["cart","checkout","storefront"],p=new RegExp(`^shopify:/{0,2}(${f.join("|")})`);function T(e,s){const[t,n]=e.match(p)||[];return t?f.includes(n)?s[n]?.(e,t)??e:e:(e.startsWith("shopify:")&&console.error(new u(`Invalid shopify URL: ${e}`)),e)}function U(e,s){const t=new URL(e).host;return n=>{const o=n.split("storefront/")[1].split("/");o.join("/")==="api/graphql.json"&&o.splice(1,0,s);const m=o.join("/");return`https://${t}/${m}`}}function V(e){return s=>{if(!e)return s;const t=new URL(e);return new URL(s).searchParams.forEach((n,r)=>{t.searchParams.append(r,n)}),t.toString()}}function g(){return(e,s)=>e.replace(s,"")}var w=(e=>(e.CheckoutExtensionsPositioning="read_checkout_extensions_positioning",e.CustomerAddress="read_customer_address",e.CustomerEmail="read_customer_email",e.CustomerName="read_customer_name",e.CustomerPersonalData="read_customer_personal_data",e.CustomerPhone="read_customer_phone",e.NetworkAccessScope="read_checkout_external_data",e.CheckoutExtensionPayments="write_checkout_extension_payments",e.CheckoutExtensionRedeemables="write_checkout_extension_redeemables",e.PaymentSessionModal="write_payment_session_modals",e))(w||{});function A(e){return e.approvalScopes.has("read_checkout_external_data")&&e.capabilities.networkAccess}class E{#e=new Map;syncExtension(s){this.#e.set(s.id,{extensionType:s.type,hasNetworkAccess:A(s),hasApiAccess:s.capabilities.apiAccess})}removeExtension(s){this.#e.delete(s)}has(s,t){const n=s==="networkAccess"?"hasNetworkAccess":"hasApiAccess";for(const r of this.#e.values())if(!(t?.extensionType&&r.extensionType!==t.extensionType)&&r[n])return!0;return!1}}class C{#e=new Map;app(s){let t=this.#e.get(s);return t||(t=new E,this.#e.set(s,t)),t}}export{w as A,_ as D,C as a,y as b,A as c,x as d,g as e,V as f,R as g,P as i,T as r,U as s,l as t};

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.