import{a as f,b as x}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-5CQV35QH.js";import{a as d}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-WYHSXIQV.js";import{c}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-6ODWWT4U.js";import{a as m}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-QFSHI6QZ.js";import{o as p,r as s}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-GSUAV5SD.js";import{a}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-T3SAXWHR.js";import{a as g}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-ZQ5CXEJV.js";import{d as r}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-ISGSLAJR.js";var u=r(g());var t=r(a());function k({notFoundPage:o,notFoundCollection:i}){return(0,t.jsxs)("div",{className:"pt-8 lg:pt-24",children:[(0,t.jsx)("h1",{className:"mx-auto px-4 text-center font-inter text-5xl font-bold leading-[120%] text-black sm:max-w-2xl",children:o?.title||"Page not found"}),(0,t.jsx)("p",{className:"my-8 px-4 text-center font-inter text-lg text-black/[.8] lg:my-[60px]",children:o?.body||"The page you were looking for does not exist."}),o?.body||(0,t.jsx)("div",{className:"mb-20 lg:mb-23",children:(0,t.jsx)(p,{to:"/collections/brands",className:"px-4",children:(0,t.jsx)(c,{className:"text-base mx-auto h-[48px] w-[180px] whitespace-nowrap rounded-full bg-[#FE522A] px-5 py-3 text-white",children:"Continue shopping"})})}),o?.body||(0,t.jsx)("div",{className:"content-wrapper",children:(0,t.jsx)(d,{})}),i&&(0,t.jsx)("div",{className:"mx-4 mb-18 grid gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:(0,t.jsx)(u.Suspense,{fallback:(0,t.jsx)(t.Fragment,{children:Array(16).fill(!0).map((l,e)=>(0,t.jsx)(x,{},e))}),children:(0,t.jsx)(s,{resolve:i,errorElement:(0,t.jsx)("p",{children:"Error loading products!"}),children:({collection:l})=>{let e=m(l?.products);return(0,t.jsx)(t.Fragment,{children:e?.map(n=>(0,t.jsx)("div",{children:(0,t.jsx)(f,{storefrontProduct:n})},n.id))})}})})})]})}export{k as a};