1import{j as c}from"./jsx-runtime-D_zvdyIk.js";import{g as m,r as u,A as l}from"./chunk-EPOLDU6W-Swgka7OG.js";const x=e=>e.map(t=>{var a,p;const r=t==null?void 0:t.product,s=t==null?void 0:t.selectedOptions;if(!s||!s.length)return{...r,options:[]};const i={name:(a=t==null?void 0:t.selectedOptions[0])==null?void 0:a.name,optionValues:[{firstSelectableVariant:t,name:(p=t==null?void 0:t.selectedOptions[0])==null?void 0:p.value}]};return{...r,options:[i]}}),A=({children:e,fallback:t=c.jsx("div",{children:"Loading..."})})=>{const r=m("root");return c.jsx(u.Suspense,{fallback:t,children:c.jsx(l,{resolve:r==null?void 0:r.globalConfiguration,children:s=>s!=null&&s.metaobject&&s.metaobject?e(s.metaobject):null})})};export{A,x as m}; 2//# sourceMappingURL=AwaitGlobalConfiguration-Z0sOHI-E.js.map
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.