Nicholai 1378bff909 updated the following components to use the API instead of hardcoded data:
### 1. __artists-grid.tsx__ (Main Artist Browsing)

- Uses  hook from
- Fetches from  endpoint
- Includes loading states, error handling, and filtering
- __Impact:__ Primary artist browsing experience now fully API-driven

### 2. __artist-portfolio.tsx__ (Individual Artist Pages)

- Uses  hook
- Fetches from  endpoint
- Fixed all TypeScript errors (changed image ID from number to string)
- Added loading/error states
- __Impact:__ Artist detail pages now fully API-driven

### 3. __booking-form.tsx__ (Artist Selection Dropdown)

- Uses  hook for artist selection
- Updated to use API data structure ( array, , etc.)
- Added loading state for dropdown
- __Impact:__ Booking flow now uses real artist data

## ⚠️ REMAINING (Decorative/Marketing Components)

Two complex components still use hardcoded :

### 4. __artists-section.tsx__ (Homepage Hero - 348 lines)

- Homepage marketing section with complex parallax scrolling
- Uses hardcoded artist data for visual cards
- __Non-blocking:__ This is a decorative homepage element

### 5. __artists-page-section.tsx__ (Artists Page Section - 413 lines)

- Full-page artists showcase with parallax effects
- Uses hardcoded artist data for visual layout
- __Non-blocking:__ Alternative to artists-grid.tsx (which IS using API)

##
2025-10-06 04:44:08 -06:00

1 line
20 KiB
JavaScript

(()=>{var e={};e.id=9752,e.ids=[9752],e.modules={72934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},55315:e=>{"use strict";e.exports=require("path")},17360:e=>{"use strict";e.exports=require("url")},48614:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>n.a,__next_app__:()=>m,originalPathname:()=>u,pages:()=>c,routeModule:()=>p,tree:()=>d}),r(6523),r(40656),r(40509),r(70546);var s=r(30170),a=r(45002),i=r(83876),n=r.n(i),l=r(66299),o={};for(let e in l)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(o[e]=()=>l[e]);r.d(t,o);let d=["",{children:["specials",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,6523)),"/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/specials/page.tsx"]}]},{metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,57481))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(r.bind(r,40656)),"/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/layout.tsx"],error:[()=>Promise.resolve().then(r.bind(r,40509)),"/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/error.tsx"],"not-found":[()=>Promise.resolve().then(r.bind(r,70546)),"/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/not-found.tsx"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,57481))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}],c=["/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/specials/page.tsx"],u="/specials/page",m={require:r,loadChunk:()=>Promise.resolve()},p=new s.AppPageRouteModule({definition:{kind:a.x.APP_PAGE,page:"/specials/page",pathname:"/specials",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:d}})},90361:(e,t,r)=>{Promise.resolve().then(r.bind(r,66696)),Promise.resolve().then(r.bind(r,72852)),Promise.resolve().then(r.t.bind(r,34080,23))},6523:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>M});var s=r(72051),a=r(94604),i=r(6669),n=r(98300);r(26269);var l=r(96734),o=r(29666),d=r(37170);let c=(0,o.j)("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-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 transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function u({className:e,variant:t,asChild:r=!1,...a}){let i=r?l.g7:"span";return s.jsx(i,{"data-slot":"badge",className:(0,d.cn)(c({variant:t}),e),...a})}let m=(0,o.j)("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"}},defaultVariants:{variant:"default"}});function p({className:e,variant:t,...r}){return s.jsx("div",{"data-slot":"alert",role:"alert",className:(0,d.cn)(m({variant:t}),e),...r})}function x({className:e,...t}){return s.jsx("div",{"data-slot":"alert-description",className:(0,d.cn)("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",e),...t})}var h=r(86449);let f=(0,h.Z)("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]),v=(0,h.Z)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]),g=(0,h.Z)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]),b=(0,h.Z)("Percent",[["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}],["circle",{cx:"6.5",cy:"6.5",r:"2.5",key:"4mh3h7"}],["circle",{cx:"17.5",cy:"17.5",r:"2.5",key:"1mdrzq"}]]),y=(0,h.Z)("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]),j=(0,h.Z)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);var N=r(92349);let w=[{title:"First Tattoo Special",discount:"20% OFF",description:"Perfect for first-time clients ready to start their tattoo journey",details:["Valid for tattoos under 4 hours","Includes free consultation","Must mention at booking","Cannot combine with other offers"],validUntil:"March 31, 2024",icon:f,color:"bg-primary"},{title:"Flash Friday",discount:"$50 OFF",description:"Choose from our curated flash designs every Friday",details:["Pre-designed flash sheets available","Walk-ins welcome 2-6 PM","First come, first served","Small to medium sizes only"],validUntil:"Every Friday",icon:v,color:"bg-secondary"},{title:"Referral Reward",discount:"$75 CREDIT",description:"Refer a friend and both get rewarded",details:["Friend must complete their tattoo","Credit applied to your next session","No limit on referrals","Friend gets 10% off their first tattoo"],validUntil:"Ongoing",icon:g,color:"bg-accent"}],k=[{title:"Spring Touch-Up Special",description:"Refresh your existing tattoos for the warmer months",offer:"Free consultation + 15% off touch-ups",period:"March - May"},{title:"Summer Color Pop",description:"Add vibrant colors to existing black and grey pieces",offer:"20% off color additions",period:"June - August"},{title:"Fall Portfolio Building",description:"Help our apprentices build their portfolios",offer:"Discounted rates on select designs",period:"September - November"},{title:"Holiday Gift Cards",description:"Perfect gifts for tattoo enthusiasts",offer:"Buy $200+ gift card, get $25 bonus",period:"December - January"}],_=[{title:"VIP Membership",price:"$50/year",benefits:["10% off all tattoos","Priority booking","Free touch-ups within 6 months","Exclusive flash designs","Birthday month special"]},{title:"Collector's Club",price:"$100/year",benefits:["15% off all tattoos","Skip the deposit on bookings","Free aftercare products","Private portfolio previews","Annual appreciation event invite"]}];function P(){return s.jsx("div",{className:"container mx-auto px-4 py-8",children:(0,s.jsxs)("div",{className:"max-w-6xl mx-auto",children:[(0,s.jsxs)("div",{className:"text-center mb-12",children:[s.jsx("h1",{className:"font-playfair text-4xl md:text-5xl font-bold mb-6",children:"Current Specials & Offers"}),s.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto text-balance",children:"Take advantage of our current promotions and special offers. Save on your next tattoo while getting the same high-quality work from our talented artists."})]}),(0,s.jsxs)(p,{className:"mb-8 border-primary/20 bg-primary/5",children:[s.jsx(b,{className:"h-4 w-4 text-primary"}),(0,s.jsxs)(x,{children:[s.jsx("strong",{children:"Limited Time:"})," All specials are subject to availability and cannot be combined with other offers unless specified. Book early to secure your spot!"]})]}),(0,s.jsxs)("div",{className:"mb-12",children:[s.jsx("h2",{className:"font-playfair text-3xl font-bold mb-8 text-center",children:"Featured Specials"}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:w.map((e,t)=>{let r=e.icon;return(0,s.jsxs)(i.Zb,{className:"relative overflow-hidden hover:shadow-xl transition-all duration-300",children:[s.jsx("div",{className:`absolute top-0 right-0 ${e.color} text-white px-3 py-1 text-sm font-bold`,children:e.discount}),(0,s.jsxs)(i.Ol,{className:"pb-4",children:[(0,s.jsxs)("div",{className:"flex items-center space-x-3 mb-3",children:[s.jsx("div",{className:`p-2 rounded-full ${e.color} text-white`,children:s.jsx(r,{className:"w-5 h-5"})}),s.jsx(i.ll,{className:"font-playfair text-xl",children:e.title})]}),s.jsx("p",{className:"text-muted-foreground",children:e.description})]}),(0,s.jsxs)(i.aY,{children:[s.jsx("ul",{className:"space-y-2 mb-4",children:e.details.map((e,t)=>(0,s.jsxs)("li",{className:"text-sm flex items-start space-x-2",children:[s.jsx("span",{className:"w-1.5 h-1.5 bg-primary rounded-full mt-2 flex-shrink-0"}),s.jsx("span",{children:e})]},t))}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)(u,{variant:"outline",className:"text-xs",children:["Valid until ",e.validUntil]}),s.jsx(n.z,{size:"sm",className:"bg-white text-black hover:bg-gray-100 !text-black",children:"Book Now"})]})]})]},t)})})]}),(0,s.jsxs)("div",{className:"mb-12",children:[s.jsx("h2",{className:"font-playfair text-3xl font-bold mb-8 text-center",children:"Seasonal Offers"}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:k.map((e,t)=>s.jsx(i.Zb,{className:"hover:shadow-lg transition-shadow duration-300",children:(0,s.jsxs)(i.aY,{className:"p-6",children:[(0,s.jsxs)("div",{className:"flex items-start justify-between mb-4",children:[s.jsx("h3",{className:"font-playfair text-xl font-bold",children:e.title}),s.jsx(u,{variant:"secondary",children:e.period})]}),s.jsx("p",{className:"text-muted-foreground mb-3",children:e.description}),s.jsx("div",{className:"bg-primary/10 p-3 rounded-lg",children:s.jsx("p",{className:"font-semibold text-primary",children:e.offer})})]})},t))})]}),(0,s.jsxs)("div",{className:"mb-12",children:[s.jsx("h2",{className:"font-playfair text-3xl font-bold mb-8 text-center",children:"Membership Programs"}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:_.map((e,t)=>(0,s.jsxs)(i.Zb,{className:"relative hover:shadow-xl transition-all duration-300",children:[(0,s.jsxs)(i.Ol,{className:"text-center pb-4",children:[s.jsx("div",{className:"mx-auto w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mb-4",children:s.jsx(y,{className:"w-8 h-8 text-primary"})}),s.jsx(i.ll,{className:"font-playfair text-2xl",children:e.title}),s.jsx("div",{className:"text-3xl font-bold text-primary",children:e.price})]}),(0,s.jsxs)(i.aY,{children:[s.jsx("ul",{className:"space-y-3",children:e.benefits.map((e,t)=>(0,s.jsxs)("li",{className:"flex items-start space-x-2",children:[s.jsx(f,{className:"w-4 h-4 text-primary mt-1 flex-shrink-0"}),s.jsx("span",{className:"text-sm",children:e})]},t))}),s.jsx(n.z,{className:"w-full mt-6 bg-primary hover:bg-primary/90",children:"Join Now"})]})]},t))})]}),(0,s.jsxs)(i.Zb,{className:"mb-12 border-muted",children:[s.jsx(i.Ol,{children:s.jsx(i.ll,{className:"font-playfair text-xl",children:"Terms & Conditions"})}),s.jsx(i.aY,{children:(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 text-sm text-muted-foreground",children:[(0,s.jsxs)("div",{children:[s.jsx("h4",{className:"font-semibold text-foreground mb-2",children:"General Terms"}),(0,s.jsxs)("ul",{className:"space-y-1",children:[s.jsx("li",{children:"• Specials cannot be combined unless stated"}),s.jsx("li",{children:"• Valid ID required for all appointments"}),s.jsx("li",{children:"• Deposits still required for all bookings"}),s.jsx("li",{children:"• Subject to artist availability"})]})]}),(0,s.jsxs)("div",{children:[s.jsx("h4",{className:"font-semibold text-foreground mb-2",children:"Booking Requirements"}),(0,s.jsxs)("ul",{className:"space-y-1",children:[s.jsx("li",{children:"• Must mention special at time of booking"}),s.jsx("li",{children:"• Cannot be applied to existing bookings"}),s.jsx("li",{children:"• Some restrictions may apply"}),s.jsx("li",{children:"• Management reserves right to modify offers"})]})]})]})})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[s.jsx(i.Zb,{className:"bg-primary text-primary-foreground",children:(0,s.jsxs)(i.aY,{className:"p-6 text-center",children:[s.jsx(j,{className:"w-8 h-8 mx-auto mb-4"}),s.jsx("h3",{className:"font-playfair text-xl font-bold mb-2",children:"Ready to Save?"}),s.jsx("p",{className:"mb-4 opacity-90",children:"Book your appointment and mention your preferred special"}),s.jsx(n.z,{asChild:!0,className:"bg-white !bg-white text-black !text-black hover:bg-gray-100 hover:!text-black border border-gray-200",children:s.jsx(N.default,{href:"/book",children:"Book Now"})})]})}),s.jsx(i.Zb,{className:"bg-secondary text-secondary-foreground",children:(0,s.jsxs)(i.aY,{className:"p-6 text-center",children:[s.jsx(y,{className:"w-8 h-8 mx-auto mb-4"}),s.jsx("h3",{className:"font-playfair text-xl font-bold mb-2",children:"Gift Cards Available"}),s.jsx("p",{className:"mb-4 opacity-90",children:"Perfect for tattoo enthusiasts in your life"}),s.jsx(n.z,{asChild:!0,variant:"outline",className:"border-white text-white hover:bg-white hover:text-black bg-transparent",children:s.jsx(N.default,{href:"/gift-cards",children:"Buy Gift Cards"})})]})})]})]})})}var C=r(86006);function M(){return(0,s.jsxs)("main",{className:"min-h-screen",children:[s.jsx(a.W,{}),s.jsx("div",{className:"pt-16",children:s.jsx(P,{})}),s.jsx(C.$,{})]})}},98300:(e,t,r)=>{"use strict";r.d(t,{z:()=>o});var s=r(72051);r(26269);var a=r(96734),i=r(29666),n=r(37170);let l=(0,i.j)("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 o({className:e,variant:t,size:r,asChild:i=!1,...o}){let d=i?a.g7:"button";return s.jsx(d,{"data-slot":"button",className:(0,n.cn)(l({variant:t,size:r,className:e})),...o})}},6669:(e,t,r)=>{"use strict";r.d(t,{Ol:()=>n,SZ:()=>o,Zb:()=>i,aY:()=>d,ll:()=>l});var s=r(72051);r(26269);var a=r(37170);function i({className:e,...t}){return s.jsx("div",{"data-slot":"card",className:(0,a.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function n({className:e,...t}){return s.jsx("div",{"data-slot":"card-header",className:(0,a.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...t})}function l({className:e,...t}){return s.jsx("div",{"data-slot":"card-title",className:(0,a.cn)("leading-none font-semibold",e),...t})}function o({className:e,...t}){return s.jsx("div",{"data-slot":"card-description",className:(0,a.cn)("text-muted-foreground text-sm",e),...t})}function d({className:e,...t}){return s.jsx("div",{"data-slot":"card-content",className:(0,a.cn)("px-6",e),...t})}},37170:(e,t,r)=>{"use strict";r.d(t,{cn:()=>i});var s=r(36272),a=r(51472);function i(...e){return(0,a.m6)((0,s.W)(e))}},86449:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var s=r(26269);let a=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,s.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:a,className:l="",children:o,iconNode:d,...c},u)=>(0,s.createElement)("svg",{ref:u,...n,width:t,height:t,stroke:e,strokeWidth:a?24*Number(r)/Number(t):r,className:i("lucide",l),...c},[...d.map(([e,t])=>(0,s.createElement)(e,t)),...Array.isArray(o)?o:[o]])),o=(e,t)=>{let r=(0,s.forwardRef)(({className:r,...n},o)=>(0,s.createElement)(l,{ref:o,iconNode:t,className:i(`lucide-${a(e)}`,r),...n}));return r.displayName=`${e}`,r}},92349:(e,t,r)=>{"use strict";r.d(t,{default:()=>a.a});var s=r(53160),a=r.n(s)},53160:(e,t,r)=>{"use strict";let{createProxy:s}=r(45347);e.exports=s("/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/node_modules/next/dist/client/link.js")},96734:(e,t,r)=>{"use strict";r.d(t,{g7:()=>n});var s=r(26269);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var i=r(72051),n=function(e){let t=function(e){let t=s.forwardRef((e,t)=>{let{children:r,...i}=e;if(s.isValidElement(r)){let e,n;let l=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref,o=function(e,t){let r={...t};for(let s in t){let a=e[s],i=t[s];/^on[A-Z]/.test(s)?a&&i?r[s]=(...e)=>{let t=i(...e);return a(...e),t}:a&&(r[s]=a):"style"===s?r[s]={...a,...i}:"className"===s&&(r[s]=[a,i].filter(Boolean).join(" "))}return{...e,...r}}(i,r.props);return r.type!==s.Fragment&&(o.ref=t?function(...e){return t=>{let r=!1,s=e.map(e=>{let s=a(e,t);return r||"function"!=typeof s||(r=!0),s});if(r)return()=>{for(let t=0;t<s.length;t++){let r=s[t];"function"==typeof r?r():a(e[t],null)}}}}(t,l):l),s.cloneElement(r,o)}return s.Children.count(r)>1?s.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=s.forwardRef((e,r)=>{let{children:a,...n}=e,l=s.Children.toArray(a),d=l.find(o);if(d){let e=d.props.children,a=l.map(t=>t!==d?t:s.Children.count(e)>1?s.Children.only(null):s.isValidElement(e)?e.props.children:null);return(0,i.jsx)(t,{...n,ref:r,children:s.isValidElement(e)?s.cloneElement(e,void 0,a):null})}return(0,i.jsx)(t,{...n,ref:r,children:a})});return r.displayName=`${e}.Slot`,r}("Slot"),l=Symbol("radix.slottable");function o(e){return s.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}},29666:(e,t,r)=>{"use strict";r.d(t,{j:()=>n});var s=r(36272);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=s.W,n=(e,t)=>r=>{var s;if((null==t?void 0:t.variants)==null)return i(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:n,defaultVariants:l}=t,o=Object.keys(n).map(e=>{let t=null==r?void 0:r[e],s=null==l?void 0:l[e];if(null===t)return null;let i=a(t)||a(s);return n[e][i]}),d=r&&Object.entries(r).reduce((e,t)=>{let[r,s]=t;return void 0===s||(e[r]=s),e},{});return i(e,o,null==t?void 0:null===(s=t.compoundVariants)||void 0===s?void 0:s.reduce((e,t)=>{let{class:r,className:s,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...d}[t]):({...l,...d})[t]===r})?[...e,r,s]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}};var t=require("../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[9379,1488,1511,4080,6082,6758,1181,6626,4106,4298],()=>r(48614));module.exports=s})();