1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{285:(e,t,r)=>{"use strict";r.d(t,{$:()=>l});var i=r(5155);r(2115);var s=r(4624),a=r(2085),n=r(9434);let o=(0,a.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function l(e){let{className:t,variant:r,size:a,asChild:l=!1,...d}=e,h=l?s.DX:"button";return(0,i.jsx)(h,{"data-slot":"button",className:(0,n.cn)(o({variant:r,size:a,className:t})),...d})}},347:()=>{},5494:(e,t,r)=>{"use strict";r.d(t,{Navbar:()=>c});var i=r(5155),s=r(2115),a=r(6874),n=r.n(a),o=r(1355),l=r(285),d=r(4416),h=r(4783);function c(){let[e,t]=(0,s.useState)(!1),r=[{label:"Home",href:"/"},{label:"Gallery",href:"/gallery"},{label:"About",href:"/about"}];return(0,i.jsxs)(o.P.nav,{initial:{y:-100,opacity:0},animate:{y:0,opacity:1},transition:{type:"spring",stiffness:120,damping:16},className:"fixed inset-x-0 top-0 z-30 bg-white/90 backdrop-blur-md shadow-sm",children:[(0,i.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 flex h-16 items-center justify-between",children:[(0,i.jsx)(n(),{href:"/",className:"text-2xl font-extrabold whitespace-nowrap",children:"Cloudinary Storefront"}),(0,i.jsx)("div",{className:"hidden sm:flex gap-4",children:r.map(e=>{let{label:t,href:r}=e;return(0,i.jsx)(n(),{href:r,className:"whitespace-nowrap",children:(0,i.jsx)(o.P.div,{whileHover:{scale:1.05},whileTap:{scale:.95},children:(0,i.jsx)(l.$,{variant:"ghost",size:"sm",children:t})})},r)})}),(0,i.jsx)("button",{className:"sm:hidden p-2 rounded-md hover:bg-gray-200",onClick:()=>t(!e),"aria-label":e?"Close menu":"Open menu",children:e?(0,i.jsx)(d.A,{size:24}):(0,i.jsx)(h.A,{size:24})})]}),e&&(0,i.jsx)(o.P.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},className:"sm:hidden bg-white border-t border-gray-200",children:r.map(e=>{let{label:r,href:s}=e;return(0,i.jsx)(n(),{href:s,className:"block px-4 py-3 hover:bg-gray-100",onClick:()=>t(!1),children:r},s)})})]})}},6821:(e,t,r)=>{"use strict";r.d(t,{Footer:()=>a});var i=r(5155),s=r(1355);function a(){return(0,i.jsx)(s.P.footer,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.5},className:"mt-auto bg-white border-t border-gray-200 text-gray-700 py-6",children:(0,i.jsxs)("div",{className:"mx-auto max-w-7xl flex flex-col items-center gap-4 px-4 text-center",children:[(0,i.jsx)("p",{className:"text-sm font-medium",children:"Interactive Storefront Demo â powered by Next.js\xa0&\xa0Cloudinary AI"}),(0,i.jsx)("div",{className:"flex flex-wrap justify-center gap-3",children:[{href:"https://nextjs.org/",alt:"Next.js badge",src:"https://img.shields.io/badge/Next.js-15-blue?logo=next.js",width:130,height:24},{href:"https://cloudinary.com/",alt:"Cloudinary badge",src:"https://img.shields.io/badge/Cloudinary-Interactive--Media-lightblue?logo=cloudinary",width:200,height:24},{href:"https://tailwindcss.com/",alt:"Tailwind CSS badge",src:"https://img.shields.io/badge/Tailwind-4.0-38BDF8?logo=tailwindcss",width:160,height:24},{href:"https://ui.shadcn.com/",alt:"shadcn/ui badge",src:"https://img.shields.io/badge/shadcn.ui-components-pink?logo=tailwindcss",width:180,height:24},{href:"https://motion.dev/",alt:"Motion.dev badge",src:"https://img.shields.io/badge/Motion.dev-framer--motion-orange?logo=motion",width:170,height:24},{href:"https://axios-http.com/",alt:"Axios badge",src:"https://img.shields.io/badge/Axios-%5E1.3.0-gray?logo=axios",width:100,height:24}].map(e=>(0,i.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"block",children:(0,i.jsx)("img",{src:e.src,alt:e.alt,width:e.width,height:e.height,className:"h-6 w-auto"})},e.src))}),(0,i.jsxs)("p",{className:"text-xs text-gray-500",children:["Built by"," ",(0,i.jsx)("a",{href:"https://github.com/musebe",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-gray-700",children:"Eugene Musebe"})," ","\xb7"," ",(0,i.jsx)("a",{href:"https://github.com/musebe/nextjs-cloudinary-storefront",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-gray-700",children:"View source on GitHub"})]})]})})}},8580:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,9243,23)),Promise.resolve().then(r.t.bind(r,9677,23)),Promise.resolve().then(r.t.bind(r,9375,23)),Promise.resolve().then(r.t.bind(r,347,23)),Promise.resolve().then(r.bind(r,6821)),Promise.resolve().then(r.bind(r,5494)),Promise.resolve().then(r.bind(r,9074))},9074:(e,t,r)=>{"use strict";r.d(t,{Toaster:()=>n});var i=r(5155),s=r(1362),a=r(6671);let n=e=>{let{...t}=e,{theme:r="system"}=(0,s.D)();return(0,i.jsx)(a.l$,{theme:r,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...t})}},9434:(e,t,r)=>{"use strict";r.d(t,{cn:()=>a});var i=r(2596),s=r(9688);function a(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,s.QP)((0,i.$)(t))}}},e=>{var t=t=>e(e.s=t);e.O(0,[540,212,652,85,441,684,358],()=>t(8580)),_N_E=e.O()}]);
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.