PageSourceSearch

https://godthefatherapparel.com/cdn/shopifycloud/checkout-web/asse…onent-ProductDisclosuresDetails.Ds-zp9IW.js

js godthefatherapparel.com collected 2026-09-29 01:03:22 UTC 2,486 bytes, 1 lines download raw bytes

1import{u as i,S as u}from"./esnext-vendor.DDpcaSqU.js";import{L as d,a7 as m,a8 as o,k as h,G as y,a9 as g,n as x}from"./hydrate.BcfGVx0L.js";import{T}from"./utilities-previous.Cnwy8G2v.js";import"./app.DdDscdWN.js";import"./graphql-PaymentSessionMutation.C-nDEOnn.js";import"./shared-permissions.B59tuyWB.js";import"./hooks-useShopPayExternalAppContext.R6pnDxYu.js";function b(r,{relativeUrlBase:t}={}){const n=k(r);return n?a(n,f(n),t):null}function k(r){if(!r)return null;if(typeof r!="string")return r;try{const t=JSON.parse(r);return l(t)?t:null}catch{return null}}function l(r){return typeof r=="object"&&r!==null&&"type"in r&&typeof r.type=="string"}function e(r,t,n){return Array.isArray(r)?r.filter(l).map((c,s)=>i(u,{children:a(c,t,n)},s)):null}function a(r,t,n){switch(r.type){case"root":return i(u,{children:e(r.children,t,n)});case"paragraph":return i("p",{children:e(r.children,t,n)});case"heading":{const c=`h${D(r.level,t)}`;return i(c,{children:e(r.children,t,n)})}case"list":return r.listType==="ordered"?i("ol",{children:e(r.children,t,n)}):i("ul",{children:e(r.children,t,n)});case"list-item":return i("li",{children:e(r.children,t,n)});case"link":{const c=S(r.url,n);return c?i(d,{href:c,target:r.target==="_blank"?"_blank":"auto",children:e(r.children,t,n)}):i(u,{children:e(r.children,t,n)})}case"text":return A(r);default:return null}}function A(r){let t=r.value;return r.italic&&(t=i("em",{children:t})),r.bold&&(t=i("strong",{children:t})),t}function f(r){let t=r.type==="heading"?p(r.level):void 0;if("children"in r&&Array.isArray(r.children))for(const n of r.children){if(!l(n))continue;const c=f(n);c!==void 0&&(t===void 0||c<t)&&(t=c)}return t}function D(r,t){const n=p(r)??t??1;return Math.min(6,4+Math.max(0,n-(t??n)))}function p(r){return r!==void 0&&r>=1&&r<=6?r:void 0}function S(r,t){if(r.startsWith("/")&&!r.startsWith("//")){if(!t)return null;try{return new URL(r,t).href}catch{return null}}let n;try{n=new URL(r)}catch{return null}return n.protocol==="http:"||n.protocol==="https:"?n.href:null}function C({content:r}){const{url:t}=T();return i(m,{children:b(r,{relativeUrlBase:t.storefront()})})}function _({disclosures:r}){return i(h,{gap:"large-200",children:r.map(t=>i(o,{children:i(h,{gap:"small-200",children:[i(y,{gridTemplateColumns:"auto minmax(0, 1fr)",gap:"base",alignItems:"center",children:[i(g,{disclosure:t,size:"large"}),i(x,{level:2,children:t.title})]}),i(o,{children:i(C,{content:t.content})})]})},t.id))})}export{_ as default};

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.