1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[38118],{265:(e,t,n)=>{n.d(t,{AnimatedOnScroll:()=>o});var i=n(27665),r=n(27829);function o(e){let{children:t,className:n,delay:o=0}=e,l=(0,r.useRef)(null),[s,a]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=l.current;if(!e)return;let t=new IntersectionObserver(n=>{let i=n[0];(null==i?void 0:i.isIntersecting)&&(a(!0),t.unobserve(e))},{threshold:.1});return t.observe(e),()=>{t.unobserve(e)}},[]),(0,i.jsx)("div",{ref:l,className:"transition-all duration-700 ease-out ".concat(s?"opacity-100 translate-y-0":"opacity-0 translate-y-4"," ").concat(null!=n?n:""),style:{transitionDelay:"".concat(o,"ms")},children:t})}},2896:(e,t,n)=>{n.r(t),n.d(t,{PricingCardsWithToggle:()=>a});var i=n(27665),r=n(27829),o=n(52705),l=n.n(o);function s(e){let{color:t}=e;return(0,i.jsx)("svg",{className:"mt-0.5 h-4 w-4 shrink-0",style:{color:t},fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2.5,children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})})}function a(e){let{tiers:t,primaryColor:n,defaultAnnual:o=!0}=e,[a,d]=(0,r.useState)(o),c=function(e){let t=0;for(let n of e)if(n.priceMonthly>0&&n.priceAnnual>0&&n.priceAnnual<n.priceMonthly){let e=Math.round((n.priceMonthly-n.priceAnnual)/n.priceMonthly*100);e>t&&(t=e)}return t}(t);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{className:"flex items-center justify-center gap-2 mb-10",children:[(0,i.jsx)("button",{type:"button",onClick:()=>d(!1),className:"rounded-lg px-4 py-2 text-sm font-medium transition-colors",style:a?{backgroundColor:"var(--bk-surface-alt)",color:"var(--bk-muted)"}:{backgroundColor:n,color:"var(--bk-on-primary)"},children:"Monthly"}),(0,i.jsxs)("button",{type:"button",onClick:()=>d(!0),className:"rounded-lg px-4 py-2 text-sm font-medium transition-colors",style:a?{backgroundColor:n,color:"var(--bk-on-primary)"}:{backgroundColor:"var(--bk-surface-alt)",color:"var(--bk-muted)"},children:["Annual",c>0?" (Save ".concat(c,"%)"):""]})]}),(0,i.jsx)("div",{className:"grid gap-8 lg:grid-cols-3",children:t.map(e=>{let t=a&&e.priceAnnual>0?e.priceAnnual:e.priceMonthly,r=e.priceMonthly<=0||e.priceAnnual<=0||e.priceAnnual>=e.priceMonthly?0:Math.round((e.priceMonthly-e.priceAnnual)/e.priceMonthly*100),o=r>0,d=12*e.priceAnnual,c=(e.priceMonthly-e.priceAnnual)*12;return(0,i.jsxs)("div",{className:"relative flex flex-col rounded-2xl border-2 p-8 ".concat(e.isPopular?"shadow-lg":"border-border"),style:e.isPopular?{borderColor:n}:void 0,children:[e.isPopular&&(0,i.jsx)("div",{className:"absolute -top-4 left-1/2 -translate-x-1/2 rounded-full px-4 py-1 text-xs font-semibold",style:{backgroundColor:n,color:"var(--bk-on-primary)"},children:"Most Popular"}),(0,i.jsxs)("div",{className:"mb-6",children:[(0,i.jsx)("h3",{className:"text-lg font-semibold text-foreground",children:e.name}),(0,i.jsx)("p",{className:"mt-1 text-sm text-muted",children:e.description}),(0,i.jsxs)("div",{className:"mt-4 flex items-baseline gap-1",children:[(0,i.jsxs)("span",{className:"text-4xl font-bold text-foreground",children:["$",t]}),(0,i.jsx)("span",{className:"text-sm text-muted",children:0===e.priceMonthly?"forever":"/mo"}),a&&o&&(0,i.jsxs)("span",{className:"ml-2 inline-flex items-center rounded-full bg-green-100 px-2.5 py-0.5 text-xs font-medium text-green-800",children:["Save ",r,"%"]})]}),a&&o&&(0,i.jsxs)("p",{className:"mt-1 text-xs text-muted",children:["Billed as $",d,"/year"]}),!a&&o&&(0,i.jsxs)("p",{className:"mt-1 text-xs text-green-600",children:["or $",e.priceAnnual,"/mo billed annually (save $",c,"/yr)"]})]}),(0,i.jsx)("ul",{className:"mb-8 flex-1 space-y-3",children:e.featureLabels.map(e=>(0,i.jsxs)("li",{className:"flex items-start gap-2 text-sm text-foreground",children:[(0,i.jsx)(s,{color:n}),e]},e))}),(0,i.jsx)(l(),{href:"/sign-up",className:"block rounded-lg py-3 text-center text-sm font-semibold transition-opacity hover:opacity-90 ".concat(e.isPopular?"shadow-sm":"border border-border text-foreground hover:bg-surface-alt"),style:e.isPopular?{backgroundColor:n,color:"var(--bk-on-primary)"}:void 0,children:0===e.priceMonthly?"Start Free":"Get ".concat(e.name)}
1)]},e.slug)})})]})}},16694:(e,t,n)=>{n.d(t,{Pc:()=>o,Qd:()=>a,Rs:()=>s,nS:()=>l});let i={bg:"#f3efe6",text:"#121c19",muted:"#5c6562",alt:"#ebe6db",primary:"#121c19",onPrimary:"#f3efe6",accent:"#0c6b64",footer:"#121c19",footerText:"#b7c0bc",widgetHeader:"#0c6b64",widgetHeaderText:"#f3efe6",widgetButton:"#0c6b64",widgetButtonText:"#ffffff",widgetBg:"#faf7f0",widgetText:"#121c19",widgetMuted:"#5c6562",widgetBorder:"#ddd4c6"},r={accent:"#5ad4cb",widgetHeaderText:"#f3efe6",widgetButton:"#f3efe6",widgetButtonText:"#121c19",widgetBg:"#111614",widgetText:"#f3efe6",widgetMuted:"#9aa39f",widgetBorder:"#222a27"};function o(){return{hero_bg:i.accent,hero_bg_end:i.bg,section_alt_bg:i.alt,header_brand_color:i.accent,heading_color:i.text,body_text_color:i.muted,link_color:i.accent,cta_bg:i.primary,cta_text:i.onPrimary,footer_bg:i.footer,footer_text:i.footerText,footer_brand_color:r.accent}}function l(){return{widget_header_bg:i.widgetHeader,widget_button_bg:i.widgetButton,widget_accent:i.accent,widget_price_color:i.accent,widget_bg:i.widgetBg,widget_text:i.widgetText,widget_muted_text:i.widgetMuted,widget_border:i.widgetBorder,widget_header_text:i.widgetHeaderText,widget_button_text:i.widgetButtonText,header_bg:i.widgetHeader,accent:i.accent,header_text:i.widgetHeaderText,bg:i.widgetBg,text:i.widgetText,muted_text:i.widgetMuted,border:i.widgetBorder}}function s(e){return{primaryColor:e.accent,accentColor:e.accent,headerBg:e.accent,headerText:e.surface,buttonBg:e.accent,buttonText:e.surface,bg:e.surface,text:e.ink,muted:e.ink3,border:e.line,radius:12}}function a(e,t){return"dark"!==t?e:{...e,bg:r.widgetBg,text:r.widgetText,muted:r.widgetMuted,border:r.widgetBorder,headerText:r.widgetHeaderText,buttonBg:r.widgetButton,buttonText:r.widgetButtonText,accentColor:r.accent}}},48658:(e,t,n)=>{n.d(t,{As:()=>h,B:()=>f,MF:()=>u,Nx:()=>a,Xy:()=>x,al:()=>c,dq:()=>p,nL:()=>l,uI:()=>s});var i=n(27665),r=n(1895);function o(e){let{icon:t,size:n=24,color:r}=e;return(0,i.jsx)("svg",{role:"img",viewBox:"0 0 24 24",width:n,height:n,fill:null!=r?r:"#".concat(t.hex),"aria-label":t.title,children:(0,i.jsx)("path",{d:t.path})})}function l(e){let{size:t=24,color:n}=e;return(0,i.jsx)(o,{icon:r.wL_,size:t,color:n})}function s(e){let{size:t=24,color:n}=e;return(0,i.jsx)(o,{icon:r.Ppe,size:t,color:n})}function a(e){let{size:t=24,color:n}=e;return(0,i.jsx)(o,{icon:r.TNb,size:t,color:n})}function d(e){let{size:t=24,color:n}=e;return(0,i.jsx)(o,{icon:r.Ys7,size:t,color:n})}function c(e){let{size:t=24,color:n}=e;return(0,i.jsx)(o,{icon:r.zWm,size:t,color:n})}function p(e){let{size:t=24,color:n}=e;return(0,i.jsx)(o,{icon:r.g56,size:t,color:n})}function x(e){let{size:t=24,color:n}=e;return(0,i.jsx)(o,{icon:r.SR,size:t,color:n})}function u(e){let{size:t=24,color:n}=e;return(0,i.jsx)(o,{icon:r.LfJ,size:t,color:n})}function f(e){let{size:t=24,color:n}=e;return(0,i.jsx)(o,{icon:r.EPX,size:t,color:n})}function h(e){let{size:t=22,gap:n=6,opacity:r=1,showLabels:o=!1,labelClassName:x="text-xs font-medium text-muted",cardClassName:u,align:f="center"}=e,h=u?t:Math.round(.72*t);return(0,i.jsx)("div",{style:{display:"flex",flexWrap:"wrap",alignItems:"center",justifyContent:"start"===f?"flex-start":"center",gap:n},children:[{Icon:l,label:"Visa"},{Icon:s,label:"Mastercard"},{Icon:a,label:"Amex"},{Icon:d,label:"Discover"},{Icon:c,label:"Apple Pay"},{Icon:p,label:"Google Pay"}].map(e=>{let{Icon:n,label:l}=e;return(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:4,opacity:r},children:[u?(0,i.jsx)("div",{className:u,children:(0,i.jsx)(n,{size:h})}):(0,i.jsx)("div",{className:"flex items-center justify-center rounded-md bg-white",style:{width:Math.round(1.85*t),height:Math.round(1.22*t),border:"1px solid rgba(15, 23, 42, 0.14)",boxShadow:"0 1px 2px rgba(15, 23, 42, 0.08)"},children:(0,i.jsx)(n,{size:h})}),o&&(0,i.jsx)("span",{className:x,children:l})]},l)})})}},60599:(e,t,n)=>{n.d(t,{InteractiveWidgetDemo:()=>p});var i=n(27665),r=n(27829),o=n(48658),l=n(38138),s=n(53633),a=n(16694);let d=[{id:"loc-downtown",name:"Downtown Studio",isPrimary:!0,address:"123 Main St, Portland, OR 97201",phone:"(503) 555-0100"},{id:"loc-east",name:"Eastside Location",isPrimary:!1,address:"456 Oak Ave, Portland, OR 97215",phone:"(503) 555-0200"}],c=[{id:"staff-alex",name:"Alex Morgan",hue:174},{id:"staff-jordan",name:"Jordan Lee",hue:239},{id:"staff-sam",name:"Sam Rivera",hue:343}];function p(e){var t,n,p,x,u,f,h,g,m,y,b,j,v,w,k,S,C,z,B,T,W,M,R,N,A,I,_,F;let{brandName:D,services:L,dimensions:P=[],multipliers:H=[],theme:$,bookingTerminology:O,locations:E,staff:Y,footerText:V,activeStep:G,followMarketingTheme:U=!1,colorSource:X}=e,q=(0,s.xs)(),Z=q.enabled?q.theme:l.gY,J="theme"===X&&q.enabled?(0,a.Rs)(l.zG[Z].tokens):U&&q.enabled?(0,a.Qd)({primaryColor:$.primaryColor,accentColor:null!=(B=$.accentColor)?B:$.primaryColor,headerBg:null!=(T=$.headerBg)?T:$.primaryColor,headerText:null!=(W=$.headerText)?W:"#ffffff",buttonBg:null!=(M=$.buttonBg)?M:$.primaryColor,buttonText:null!=(R=$.buttonText)?R:"#ffffff",bg:null!=(N=$.bg)?N:"#ffffff",text:null!=(A=$.text)?A:"#1e293b",muted:null!=(I=$.muted)?I:"#64748b",border:null!=(_=$.border)?_:"#e2e8f0",radius:null!=(F=$.radius)?F:8,fontFamily:$.fontFamily},(0,l.XN)(q.theme)):$,K=E&&E.length>0?E:d,Q=Y&&Y.length>0?Y:c,ee=J.primaryColor;J.accentColor;let et=null!=(t=J.headerBg)?t:ee,en=null!=(n=J.headerText)?n:"#ffffff",ei=null!=(p=J.bg)?p:"#ffffff",er=null!=(x=J.text)?x:"#1e293b",eo=null!=(u=J.muted)?u:"#64748b",el=null!=(f=J.border)?f:"#e2e8f0",es=null!=(h=J.radius)?h:8,ea=null!=(g=J.fontFamily)?g:"system-ui, -apple-system, sans-serif",ed=P.length>0,ec=(0,r.useMemo)(()=>["service","location","details","staff","schedule-date","schedule-time","info","payment","done","review-rate","review-media","review-info","review-done"],[]),[ep,ex]=(0,r.useState)("service"),eu=ep.startsWith("review-"),ef=["review-rate","review-media","review-info","review-done"],eh=["service","location","details","staff","schedule-date","schedule-time","info","payment","done"],eg=ef.indexOf(ep);(0,r.useEffect)(()=>{G&&ec.includes(G)&&ex(G)},[G,ec]);let[em,ey]=(0,r.useState)(0),[eb,ej]=(0,r.useState)(()=>{let e={};for(let n of P){var t;n.default?e[n.key]=n.default:(null==(t=n.options)?void 0:t[0])&&(e[n.key]=n.options[0].value)}return e}),[ev,ew]=(0,r.useState)("basic"),[ek,eS]=(0,r.useState)("medium"),eC=new Date,ez=eC.getFullYear(),eB=eC.getMonth(),eT=eC.getDate();function eW(){let e=new Date(ez,eB+1,0).getDate();return Math.min(eT+2<=e?eT+2:eT+1,e)}function eM(e,t,n){return"".concat(e,"-").concat(String(t+1).padStart(2,"0"),"-").concat(String(n).padStart(2,"0"))}let[eR,eN]=(0,r.useState)(ez),[eA,eI]=(0,r.useState)(eB),e_=new Date(eR,eA+1,0).getDate(),[eF,eD]=(0,r.useState)(()=>eM(ez,eB,eW())),[eL,eP]=(0,r.useState)("10:30"),[eH,e$]=(0,r.useState)(K[0].id),[eO,eE]=(0,r.useState)(null),[eY,eV]=(0,r.useState)(0),[eG,eU]=(0,r.useState)(0),eX=eF.split("-").map(e=>parseInt(e,10)),eq=eX[0],eZ=eX[1],eJ=new Date(eq,eZ-1,eX[2]),eK=eJ.toLocaleDateString("en-US",{weekday:"short",month:"short",day:"numeric",timeZone:"America/Ne
1w_York"}),eQ=(()=>{let[e,t]=eL.split(":").map(Number);return"".concat((null!=e?e:0)%12||12,":").concat(String(null!=t?t:0).padStart(2,"0")," ").concat((null!=e?e:0)>=12?"PM":"AM")})(),e0=L[em],e1=null!=(m=null==e0?void 0:e0.price)?m:0,e2={basic:1,premium:1.5,deluxe:2},e5={small:.8,medium:1,large:1.3},e6=(0,r.useMemo)(()=>{let e=e1;if(ed)for(let[t,n]of Object.entries(eb)){let i=H.find(e=>e.dimensionKey===t&&e.dimensionValue===n);i&&(e*=i.multiplier)}else{var t,n;e=e*(null!=(t=e2[ev])?t:1)*(null!=(n=e5[ek])?n:1)}return Math.round(100*e)/100},[e1,eb,H,ed,ev,ek]),e4=Math.round(.25*e6*100)/100;function e3(){let e=ec.indexOf(ep),t=ec[e+1];t&&ex(t)}function e8(){let e=ec.indexOf(ep),t=ec[e-1];t&&ex(t)}function e7(){ex("service"),ey(0),e$(K[0].id),eE(null),eN(ez),eI(eB),eD(eM(ez,eB,eW())),eP("10:30"),eV(0),eU(0)}function e9(e){let t=new Date(eR,eA+e,1);eN(t.getFullYear()),eI(t.getMonth())}let te=eR>ez||eR===ez&&eA>eB,tt={borderRadius:es,background:null!=(y=J.buttonBg)?y:ee,color:null!=(b=J.buttonText)?b:"#ffffff",border:"none",cursor:"pointer",fontFamily:ea},tn={padding:"12px 20px",borderRadius:es,border:"1px solid ".concat(el),background:"transparent",color:er,fontSize:13,cursor:"pointer",fontFamily:ea},ti=new Date(eR,eA,1).getDay(),tr=[];for(let e=0;e<ti;e++)tr.push(null);for(let e=1;e<=e_;e++)tr.push(e);let to=new Set([eT+5,eT+12].filter(e=>e<=e_&&eR===ez&&eA===eB)),tl=new Date(eR,eA).toLocaleString("default",{month:"long",year:"numeric"}),ts=eJ.toLocaleDateString("en-US",{weekday:"long",month:"long",day:"numeric",timeZone:"America/New_York"}),ta=(0,i.jsx)("div",{style:{padding:"12px 14px",borderRadius:es,marginBottom:16,border:"1px solid ".concat(el),backgroundColor:"".concat(eo,"0d")},children:(0,i.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,i.jsx)("span",{style:{fontSize:13,fontWeight:500},children:null==e0?void 0:e0.name}),(0,i.jsxs)("span",{style:{fontSize:13,fontWeight:600},children:["$",e6.toFixed(2)]})]})});return(0,i.jsxs)("div",{style:{width:"100%",maxWidth:400,margin:"0 auto",borderRadius:16,overflow:"hidden",boxShadow:"0 8px 32px rgba(0,0,0,0.12)",backgroundColor:ei,border:"1px solid ".concat(el),fontFamily:ea},children:[(0,i.jsxs)("div",{style:{padding:"16px 20px",background:et,color:en},children:[(0,i.jsx)("div",{style:{fontSize:16,fontWeight:700},children:eu?"Leave a Review":D}),(0,i.jsx)("div",{style:{fontSize:12,opacity:.8,marginTop:2},children:(e=>{switch(e){case"service":return"Select a service";case"location":return"Select a location";case"details":return"Customize your quote";case"staff":return"Choose a team member";case"schedule-date":return"Pick a date";case"schedule-time":return"Select a time";case"info":return"Your information";case"payment":return"Payment";case"done":return"Confirmed!";case"review-rate":return"Rate your experience";case"review-media":return"Tell us more";case"review-info":return"Almost done!";case"review-done":return"Thank you!"}})(ep)}),(0,i.jsx)("div",{style:{marginTop:10,display:"flex",gap:4},children:(eu?ef:eh).map((e,t)=>{let n=eu?eg:eh.indexOf(ep);return(0,i.jsx)("div",{style:{flex:1,height:3,borderRadius:2,backgroundColor:t<=n?"".concat(en,"e6"):"".concat(en,"40")}},e)})})]}),(0,i.jsxs)("div",{style:{padding:20,color:er},children:["service"===ep&&(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[L.map((e,t)=>{let n=em===t;return(0,i.jsxs)("button",{onClick:()=>ey(t),style:{padding:"12px 16px",borderRadius:es,textAlign:"left",cursor:"pointer",border:n?"2px solid ".concat(ee):"1px solid ".concat(el),background:n?"".concat(ee,"08"):"transparent",display:"flex",justifyContent:"space-between",alignItems:"center",fontFamily:ea,color:er},children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{style:{fontSize:14,fontWeight:600},children:e.name}),e.description&&(0,i.jsx)("div",{style:{fontSize:12,opacity:.6,marginTop:2},children:e.description}),e.durationMinutes&&(0,i.jsxs)("div",{style:{fontSize:11,opacity:.5,marginTop:4},children:[e.durationMinutes," min"]})]}),(0,i.jsxs)("div",{style:{fontSize:18,fontWeight:700,color:n?ee:er},children:["$",e.price]})]},e.name)}),(0,i.jsx)("button",{onClick:e3,style:{...tt,width:"100%",padding:"12px 0",fontSize:14,fontWeight:600},children:"Continue"})]}),"location"===ep&&(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[K.map(e=>{let t=eH===e.id;return(0,i.jsxs)("button",{type:"button",onClick:()=>e$(e.id),style:{width:"100%",padding:"12px 16px",borderRadius:es,textAlign:"left",cursor:"pointer",border:t?"2px solid ".concat(ee):"1px solid ".concat(el),background:t?"".concat(ee,"08"):"transparent",fontFamily:ea,color:er},children:[(0,i.jsxs)("div",{style:{fontSize:14,fontWeight:600},children:[e.name,e.isPrimary?(0,i.jsx)("span",{style:{fontSize:12,fontWeight:500,opacity:.6,marginLeft:8},children:"Primary"}):null]}),(0,i.jsx)("div",{style:{fontSize:12,color:eo,marginTop:4,lineHeight:1.4},children:e.address}),e.phone?(0,i.jsx)("div",{style:{fontSize:12,color:eo,marginTop:4},children:e.phone}):null]},e.id)}),(0,i.jsxs)("div",{style:{display:"flex",gap:8,marginTop:4},children:[(0,i.jsx)("button",{type:"button",onClick:e8,style:tn,children:"Back"}),(0,i.jsx)("button",{type:"button",onClick:e3,style:{...tt,flex:1,padding:"12px 0",fontSize:14,fontWeight:600},children:"Continue"})]})]}),"details"===ep&&(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:16},children:[!ed&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{style:{fontSize:13,fontWeight:600,marginBottom:8},children:"Service Type"}),(0,i.jsx)("div",{style:{display:"flex",flexWrap:"wrap",gap:6},children:[["basic","Basic"],["premium","Premium"],["deluxe","Deluxe"]].map(e=>{var t,n;let[r,o]=e,l=ev===r,s=Math.round(e1*(null!=(t=e2[r])?t:1)*(null!=(n=e5[ek])?n:1));return(0,i.jsxs)("button",{onClick:()=>ew(r),style:{padding:"8px 14px",borderRadius:es,fontSize:13,cursor:"pointer",border:l?"2px solid ".concat(ee):"1px solid ".concat(el),background:l?"".concat(ee,"10"):"transparent",color:l?ee:er,fontFamily:ea},children:[o," ",(0,i.jsxs)("span",{style:{fontSize:11,opacity:.7},children:["$",s]})]},r)})})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{style:{fontSize:13,fontWeight:600,marginBottom:8},children:"Size"}),(0,i.jsx)("div",{style:{display:"flex",flexWrap:"wrap",gap:6},children:[["small","Small"],["medium","Medium"],["large","Large"]].map(e=>{var t,n;
1let[r,o]=e,l=ek===r,s=Math.round(e1*(null!=(t=e2[ev])?t:1)*(null!=(n=e5[r])?n:1));return(0,i.jsxs)("button",{onClick:()=>eS(r),style:{padding:"8px 14px",borderRadius:es,fontSize:13,cursor:"pointer",border:l?"2px solid ".concat(ee):"1px solid ".concat(el),background:l?"".concat(ee,"10"):"transparent",color:l?ee:er,fontFamily:ea},children:[o," ",(0,i.jsxs)("span",{style:{fontSize:11,opacity:.7},children:["$",s]})]},r)})})]})]}),P.map(e=>{var t;return(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{style:{fontSize:13,fontWeight:600,marginBottom:8},children:e.label}),"select"===e.type&&e.options&&(0,i.jsx)("div",{style:{display:"flex",flexWrap:"wrap",gap:6},children:e.options.map(t=>{let n=eb[e.key]===t.value,r=H.find(n=>n.dimensionKey===e.key&&n.dimensionValue===t.value),o=r?Math.round(e1*r.multiplier):e1;return(0,i.jsxs)("button",{onClick:()=>ej({...eb,[e.key]:t.value}),style:{padding:"8px 14px",borderRadius:es,fontSize:13,cursor:"pointer",border:n?"2px solid ".concat(ee):"1px solid ".concat(el),background:n?"".concat(ee,"10"):"transparent",color:n?ee:er,fontFamily:ea},children:[t.label," ",(0,i.jsxs)("span",{style:{fontSize:11,opacity:.7},children:["$",o]})]},t.value)})}),"number"===e.type&&(0,i.jsx)("input",{type:"number",value:null!=(t=eb[e.key])?t:"",onChange:t=>ej({...eb,[e.key]:t.target.value}),placeholder:"Enter ".concat(e.label.toLowerCase()),style:{width:"100%",maxWidth:200,padding:"8px 12px",borderRadius:es,fontSize:13,border:"1px solid ".concat(el),outline:"none",fontFamily:ea}})]},e.key)}),(0,i.jsxs)("div",{style:{padding:16,borderRadius:es,backgroundColor:"".concat(eo,"08"),border:"1px solid ".concat(el)},children:[(0,i.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",fontSize:13,marginBottom:4},children:[(0,i.jsx)("span",{children:null==e0?void 0:e0.name}),(0,i.jsxs)("span",{children:["$",e1.toFixed(2)]})]}),ed&&Object.entries(eb).map(e=>{var t,n;let[r,o]=e,l=P.find(e=>e.key===r),s=null==l||null==(t=l.options)?void 0:t.find(e=>e.value===o),a=H.find(e=>e.dimensionKey===r&&e.dimensionValue===o);if(!a||1===a.multiplier)return null;let d=null!=(n=null==s?void 0:s.label)?n:o,c=Math.round(e1*(a.multiplier-1)*100)/100;return(0,i.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",fontSize:13,marginBottom:4,color:eo},children:[(0,i.jsxs)("span",{children:[null==l?void 0:l.label,": ",d]}),(0,i.jsxs)("span",{children:[c>=0?"+":"-","$",Math.abs(c).toFixed(2)]})]},r)}),!ed&&(0,i.jsxs)(i.Fragment,{children:[(null!=(j=e2[ev])?j:1)!==1&&(0,i.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",fontSize:13,marginBottom:4,color:eo},children:[(0,i.jsxs)("span",{children:["Type: ",ev.charAt(0).toUpperCase()+ev.slice(1)]}),(0,i.jsxs)("span",{children:[(null!=(v=e2[ev])?v:1)>1?"+":"-","$",Math.abs(Math.round(e1*((null!=(w=e2[ev])?w:1)-1)*100)/100).toFixed(2)]})]}),(null!=(k=e5[ek])?k:1)!==1&&(0,i.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",fontSize:13,marginBottom:4,color:eo},children:[(0,i.jsxs)("span",{children:["Size: ",ek.charAt(0).toUpperCase()+ek.slice(1)]}),(0,i.jsxs)("span",{children:[(null!=(S=e5[ek])?S:1)>1?"+":"-","$",Math.abs(Math.round(e1*(null!=(C=e2[ev])?C:1)*((null!=(z=e5[ek])?z:1)-1)*100)/100).toFixed(2)]})]})]}),(0,i.jsxs)("div",{style:{borderTop:"1px solid ".concat(el),paddingTop:8,marginTop:8,display:"flex",justifyContent:"space-between",alignItems:"baseline"},children:[(0,i.jsx)("span",{style:{fontSize:13,fontWeight:600},children:"Total"}),(0,i.jsxs)("span",{style:{fontSize:22,fontWeight:700},children:["$",e6.toFixed(2)]})]})]}),(0,i.jsxs)("div",{style:{display:"flex",gap:8},children:[(0,i.jsx)("button",{onClick:e8,style:tn,children:"Back"}),(0,i.jsx)("button",{onClick:e3,style:{...tt,flex:1,padding:"12px 0",fontSize:14,fontWeight:600},children:"Continue"})]})]}),"staff"===ep&&(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:16},children:[ta,(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{style:{fontSize:13,fontWeight:600,color:er,marginBottom:8},children:"Who should handle this booking?"}),(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[Q.map(e=>{let t=eO===e.id,n=e.name.trim().charAt(0).toUpperCase()||"?";return(0,i.jsxs)("button",{type:"button",onClick:()=>eE(e.id),style:{padding:"10px 12px",borderRadius:es,border:"1px solid ".concat(t?ee:el),background:t?ee:ei,color:t?"#ffffff"
1:er,cursor:"pointer",fontFamily:ea,display:"flex",alignItems:"center",gap:10,textAlign:"left",width:"100%",transition:"border-color 0.15s, background 0.15s"},children:[e.avatarUrl?(0,i.jsx)("img",{src:e.avatarUrl,alt:"",style:{width:36,height:36,borderRadius:"50%",flexShrink:0,objectFit:"cover",border:t?"2px solid rgba(255,255,255,0.5)":"2px solid transparent"}}):(0,i.jsx)("span",{style:{width:36,height:36,borderRadius:"50%",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",fontSize:14,fontWeight:600,background:t?"rgba(255,255,255,0.22)":"hsla(".concat(e.hue,", 42%, 88%, 1)"),color:t?"#ffffff":"hsla(".concat(e.hue,", 48%, 32%, 1)")},"aria-hidden":!0,children:n}),(0,i.jsx)("span",{style:{fontSize:14,fontWeight:600},children:e.name})]},e.id)}),(0,i.jsxs)("button",{type:"button",onClick:()=>eE(null),style:{padding:"10px 12px",borderRadius:es,border:"1px solid ".concat(null===eO?ee:el),background:null===eO?ee:ei,color:null===eO?"#ffffff":er,cursor:"pointer",fontFamily:ea,display:"flex",alignItems:"center",gap:10,textAlign:"left",width:"100%",transition:"border-color 0.15s, background 0.15s"},children:[(0,i.jsx)("span",{style:{width:36,height:36,borderRadius:"50%",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",fontSize:15,fontWeight:500,background:null===eO?"rgba(255,255,255,0.22)":"".concat(eo,"22"),color:null===eO?"#ffffff":eo},"aria-hidden":!0,children:"â"}),(0,i.jsx)("span",{style:{fontSize:14,fontWeight:600},children:"No preference"})]})]})]}),(0,i.jsxs)("div",{style:{display:"flex",gap:8},children:[(0,i.jsx)("button",{type:"button",onClick:e8,style:tn,children:"Back"}),(0,i.jsx)("button",{type:"button",onClick:e3,style:{...tt,flex:1,padding:"12px 0",fontSize:14,fontWeight:600},children:"Continue"})]})]}),"schedule-date"===ep&&(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:16},children:[ta,(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,i.jsx)("button",{type:"button",onClick:()=>te&&e9(-1),disabled:!te,style:{padding:"4px 8px",borderRadius:6,border:"1px solid ".concat(el),background:"transparent",cursor:te?"pointer":"default",color:er,fontSize:14,fontFamily:ea,opacity:te?1:.35},children:"â¹"}),(0,i.jsx)("span",{style:{fontSize:15,fontWeight:600},children:tl}),(0,i.jsx)("button",{type:"button",onClick:()=>e9(1),style:{padding:"4px 8px",borderRadius:6,border:"1px solid ".concat(el),background:"transparent",cursor:"pointer",color:er,fontSize:14,fontFamily:ea},children:"âº"})]}),(0,i.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(7, 1fr)",gap:4,textAlign:"center"},children:[["Su","Mo","Tu","We","Th","Fr","Sa"].map(e=>(0,i.jsx)("div",{style:{fontSize:11,fontWeight:600,color:eo,padding:"4px 0",textTransform:"uppercase"},children:e},e)),tr.map((e,t)=>{if(null===e)return(0,i.jsx)("div",{},"e".concat(t));let n=eR<ez||eR===ez&&eA<eB||eR===ez&&eA===eB&&e<eT,r=to.has(e),o=eM(eR,eA,e),l=o===eF,s=n||r;return(0,i.jsx)("button",{type:"button",onClick:()=>{s||(eD(o),eP(""),ex("schedule-time"))},disabled:s,style:{width:"100%",aspectRatio:"1",borderRadius:"50%",border:"none",fontSize:13,fontWeight:l?600:400,cursor:s?"default":"pointer",backgroundColor:l?ee:"transparent",color:l?"#ffffff":s?eo:er,fontFamily:ea},title:n?"Past":r?"Closed":void 0,children:e},"".concat(o,"-").concat(t))})]}),(0,i.jsx)("p",{style:{margin:0,fontSize:12,color:eo},children:"Times shown in your local timezone"}),(0,i.jsx)("button",{type:"button",onClick:e8,style:tn,children:"Back"})]}),"schedule-time"===ep&&(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:16},children:[ta,(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{style:{fontSize:13,fontWeight:600,color:er,marginBottom:6},children:ts}),(0,i.jsx)("p",{style:{margin:"0 0 10px",fontSize:12,color:eo},children:"Times shown in your local timezone"}),(0,i.jsxs)("div",{style:{fontSize:12,fontWeight:600,marginBottom:8,color:eo},children:["Select a time",(null==e0?void 0:e0.durationMinutes)?" â ".concat(e0.durationMinutes," min service"):""]}),(0,i.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:6},children:(()=>{let e=new Set(["10:00","11:30","14:00","16:30"]),t=[];for(let n=8;n<=18;n++)for(let i of[0,30]){if(18===n&&30===i)continue;let r="".concat(String(n).padStart(2,"0"),":").concat(String(i).padStart(2,"0")),o=n>=12?"PM":"AM",l=0===n?12:n>12?n-12:n;t.push({value:r,label:"".concat(l,":").concat(String(i).padStart(2,"0")," ").concat(o),booked:e.has(r)})}return t.map(e=>(0,i.jsx)("button",{type:"button",onClick:()=>!e.booked&&eP(e.value),disabled:e.booked,style:{padding:"8px 4px",border:"1px solid ".concat(eL===e.value?ee:el),borderRadius:es,background:eL===e.value?ee:ei,color:eL===e.value?"#fff":er,fontSize:13,fontWeight:eL===e.value?600:4
100,cursor:e.booked?"not-allowed":"pointer",textAlign:"center",fontFamily:ea,opacity:e.booked?.4:1,textDecoration:e.booked?"line-through":"none"},children:e.label},e.value))})()})]}),(0,i.jsxs)("div",{style:{display:"flex",gap:8},children:[(0,i.jsx)("button",{type:"button",onClick:()=>{ex("schedule-date"),eN(eq),eI(eZ-1)},style:tn,children:"Back"}),(0,i.jsx)("button",{type:"button",onClick:e3,disabled:!eL,style:{...tt,flex:1,padding:"12px 0",fontSize:14,fontWeight:600,opacity:eL?1:.5,cursor:eL?"pointer":"not-allowed"},children:"Continue"})]})]}),"info"===ep&&(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:12},children:[(0,i.jsxs)("div",{style:{padding:"12px 14px",borderRadius:es,backgroundColor:"".concat(eo,"08"),border:"1px solid ".concat(el)},children:[(0,i.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,i.jsx)("span",{style:{fontSize:13,fontWeight:600},children:null==e0?void 0:e0.name}),(0,i.jsxs)("span",{style:{fontSize:15,fontWeight:700},children:["$",e6.toFixed(2)]})]}),(0,i.jsxs)("div",{style:{marginTop:4,fontSize:12,color:eo},children:[eK," at ",eQ]}),(0,i.jsxs)("div",{style:{marginTop:6,paddingTop:6,borderTop:"1px solid ".concat(el),display:"flex",justifyContent:"space-between",fontSize:12,color:eo},children:[(0,i.jsx)("span",{children:"Deposit due now (25%)"}),(0,i.jsxs)("span",{style:{fontWeight:600,color:ee},children:["$",e4.toFixed(2)]})]})]}),[["Name *","Jane Smith"],["Email *","[email protected]"],["Phone","(555) 123-4567"]].map(e=>{let[t,n]=e;return(0,i.jsxs)("div",{children:[(0,i.jsx)("label",{style:{display:"block",fontSize:12,fontWeight:500,color:eo,marginBottom:4},children:t}),(0,i.jsx)("div",{style:{width:"100%",padding:"10px 12px",borderRadius:Math.min(es,16),border:"1px solid ".concat(el),fontSize:13,color:"".concat(eo,"99")},children:n})]},t)}),(0,i.jsxs)("div",{style:{display:"flex",gap:8},children:[(0,i.jsx)("button",{onClick:e8,style:tn,children:"Back"}),(0,i.jsx)("button",{onClick:e3,style:{...tt,flex:1,padding:"12px 0",fontSize:14,fontWeight:600},children:"Continue"})]})]}),"payment"===ep&&(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:16},children:[(0,i.jsxs)("div",{style:{padding:14,borderRadius:es,backgroundColor:"".concat(eo,"08"),border:"1px solid ".concat(el)},children:[(0,i.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",fontSize:13,fontWeight:600},children:[(0,i.jsx)("span",{children:null==e0?void 0:e0.name}),(0,i.jsxs)("span",{children:["$",e6.toFixed(2)]})]}),(0,i.jsxs)("div",{style:{marginTop:4,fontSize:12,color:eo},children:[eK," at ",eQ]}),(0,i.jsxs)("div",{style:{marginTop:8,paddingTop:8,borderTop:"1px solid ".concat(el),display:"flex",justifyContent:"space-between",fontSize:12,color:eo},children:[(0,i.jsx)("span",{children:"Deposit now (25%)"}),(0,i.jsxs)("span",{style:{fontWeight:600,color:ee},children:["$",e4.toFixed(2)]})]}),(0,i.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",fontSize:12,color:eo,marginTop:2},children:[(0,i.jsx)("span",{children:"Balance after service"}),(0,i.jsxs)("span",{children:["$",(e6-e4).toFixed(2)]})]})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("label",{style:{display:"block",fontSize:12,fontWeight:500,color:eo,marginBottom:6},children:"Card details"}),(0,i.jsx)("div",{style:{border:"1px solid ".concat(el),borderRadius:Math.min(es,12),overflow:"hidden"},children:(0,i.jsxs)("div",{style:{padding:"10px 12px",display:"flex",alignItems:"center",gap:8,fontSize:13,color:"".concat(eo,"88")},children:[(0,i.jsxs)("svg",{width:"24",height:"16",viewBox:"0 0 24 16",fill:"none",style:{opacity:.4},children:[(0,i.jsx)("rect",{width:"24",height:"16",rx:"2",fill:"#e2e8f0"}),(0,i.jsx)("rect",{x:"2",y:"4",width:"8",height:"2",rx:"1",fill:"#94a3b8"}),(0,i.jsx)("rect",{x:"2",y:"8",width:"5",height:"2",rx:"1",fill:"#94a3b8"}),(0,i.jsx)("rect",{x:"9",y:"8",width:"5",height:"2",rx:"1",fill:"#94a3b8"}),(0,i.jsx)("rect",{x:"16",y:"8",width:"5",height:"2",rx:"1",fill:"#94a3b8"})]}),(0,i.jsx)("span",{children:"1234 5678 9012 3456"}),(0,i.jsx)("span",{style:{marginLeft:"auto"},children:"MM/YY"}),(0,i.jsx)("span",{children:"CVC"})]})}
1),(0,i.jsx)("p",{style:{fontSize:10,color:"".concat(eo,"88"),marginTop:4,textAlign:"center"},children:"Secured by Stripe"})]}),(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:4},children:[(0,i.jsx)("span",{style:{fontSize:10,color:"".concat(eo,"99"),fontWeight:500,letterSpacing:.3},children:"Accepted payment methods"}),(0,i.jsxs)("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[(0,i.jsx)(o.nL,{size:28}),(0,i.jsx)(o.uI,{size:28}),(0,i.jsx)(o.Nx,{size:28}),(0,i.jsx)(o.al,{size:28}),(0,i.jsx)(o.dq,{size:28})]})]}),(0,i.jsxs)("div",{style:{display:"flex",gap:8},children:[(0,i.jsx)("button",{onClick:e8,style:tn,children:"Back"}),(0,i.jsxs)("button",{onClick:e3,style:{...tt,flex:1,padding:"12px 0",fontSize:14,fontWeight:600},children:["Pay $",e4.toFixed(2)," & Confirm"]})]})]}),"done"===ep&&(()=>{var e,t,n,r,o;let l=K.find(e=>e.id===eH),s=null!=(t=null==l?void 0:l.name)?t:"",a=eO&&null!=(n=null==(e=Q.find(e=>e.id===eO))?void 0:e.name)?n:"",d=eJ.toLocaleDateString("en-US",{weekday:"long",year:"numeric",month:"long",day:"numeric",timeZone:"America/New_York"}),c=null!=(r=null==e0?void 0:e0.durationMinutes)?r:null,p=(e,t)=>(0,i.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",gap:12,padding:"4px 0",fontSize:13},children:[(0,i.jsx)("span",{style:{color:eo},children:e}),(0,i.jsx)("span",{style:{fontWeight:600,color:er,textAlign:"right"},children:t})]},e);return(0,i.jsxs)("div",{style:{textAlign:"center",padding:"24px 0 8px"},children:[(0,i.jsx)("div",{style:{width:56,height:56,borderRadius:"50%",backgroundColor:"".concat(ee,"15"),display:"inline-flex",alignItems:"center",justifyContent:"center",marginBottom:12},children:(0,i.jsx)("svg",{width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:ee,strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:(0,i.jsx)("path",{d:"M4.5 12.75l6 6 9-13.5"})})}),(0,i.jsx)("div",{style:{fontSize:17,fontWeight:700,color:er,marginBottom:6},children:"Booking Confirmed!"}),(0,i.jsxs)("div",{style:{fontSize:13,color:eo,marginBottom:16,lineHeight:1.45},children:["Your appointment with ",D," has been confirmed."]}),(0,i.jsxs)("div",{style:{textAlign:"left",backgroundColor:"".concat(eo,"0d"),border:"1px solid ".concat(el),borderRadius:es,padding:16,marginBottom:16},children:[p("Service",null!=(o=null==e0?void 0:e0.name)?o:"â"),p("Date",d),p("Time",eQ),p("Duration",null!=c?"".concat(c," min"):"â"),s?p("Business location",s):null,a?p((null==O?void 0:O.trim())||"Team member",a):null,(0,i.jsxs)("div",{style:{borderTop:"1px solid ".concat(el),paddingTop:8,marginTop:6,display:"flex",justifyContent:"space-between",gap:12,fontSize:13},children:[(0,i.jsx)("span",{style:{color:eo},children:"Total"}),(0,i.jsxs)("span",{style:{fontWeight:600,color:er},children:["$",e6.toFixed(2)]})]})]}),(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:8,alignItems:"center"},children:[(0,i.jsx)("button",{type:"button",onClick:e3,style:{...tt,width:"100%",padding:"10px 16px",fontSize:13,fontWeight:600},children:"Leave a Review"}),(0,i.jsxs)("div",{style:{display:"flex",gap:8,justifyContent:"center",flexWrap:"wrap"},children:[(0,i.jsx)("button",{type:"button",style:{padding:"8px 16px",borderRadius:es,border:"1px solid ".concat(el),background:"transparent",color:er,fontSize:13,fontWeight:600,cursor:"pointer",fontFamily:ea},children:"Add to Calendar"}),(0,i.jsx)("button",{type:"button",onClick:e7,style:{padding:"8px 16px",borderRadius:es,border:"1px solid ".concat(el),background:"transparent",color:er,fontSize:13,fontWeight:600,cursor:"pointer",fontFamily:ea},children:"Start Over"})]})]})]})})(),"review-rate"===ep&&(0,i.jsxs)("div",{style:{textAlign:"center",padding:"32px 0 8px"},children:[(0,i.jsx)("p",{style:{fontSize:15,fontWeight:600,color:er,marginBottom:20,marginTop:0},children:"How was your experience?"}),(0,i.jsx)("div",{style:{display:"flex",justifyContent:"center",gap:10},onMouseLeave:()=>eU(0),children:[1,2,3,4,5].map(e=>{let t=e<=(eG||eY);return(0,i.jsx)("button",{type:"button",onClick:()=>{eV(e),eU(0),setTimeout(()=>ex("review-media"),400)},onMouseEnter:()=>eU(e),style:{fontSize:36,lineHeight:1,color:t?"#f59e0b":"#e2e8f0",background:"none",border:"none",cursor:"pointer",padding:2,transition:"color 0.15s, transform 0.15s",transform:eG===e?"scale(1.2)":"scale(1)"},children:"â
"},e)})}),(eG>0||eY>0)&&(0,i.jsx)("p",{style:{marginTop:10,marginBottom:0,fontSize:12,fontWeight:500,color:ee},children:["Terrible","Bad","Okay","Great","Amazing"][(eG||eY)-1]}),(0,i.jsx)("div",{style:{display:"flex",justifyContent:"center",gap:6,padding:"20px 0 0"},children:ef.slice(0,3).map((e,t)=>(0,i.jsx)("div",{style:{height:4,width:0===t?20:6,borderRadius:2,backgroundColor:0===t?ee:el}},e))})]}),"review-media"===ep&&(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:12},children:[(0,i.jsx)("p",{style:{fontSize:15,fontWeight:600,color:er,marginBottom:0,marginTop:0},children:"Tell us more"}),(0,i.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:10},children:[(0,i.jsxs)("div",{style:{border:"1px solid ".concat(el),borderRadius:12,padding:10},children:[(0,i.jsxs)("p",{style:{fontSize:10,fontWeight:500,color:er,margin:"0 0 6px",display:"flex",alignItems:"center",gap:4},children:[(0,i.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,i.jsx)("polygon",{points:"23 7 16 12 23 17 23 7"}),(0,i.jsx)("rect",{x:"1",y:"5",width:"15",height:"14",rx:"2",ry:"2"})]}),"Record Video"]}),(0,i.jsxs)("div",{style:{backgroundColor:"#0f172a",borderRadius:8,height:72,position:"relative",overflow:"hidden"},children:[(0,i.jsx)("div",{style:{position:"absolute",inset:0,display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gridTemplateRows:"repeat(3, 1fr)"},children:Array.from({length:9}).map((e,t)=>(0,i.jsx)("div",{style:{border:"0.5px solid rgba(255,255,255,0.1)"}},t))}),(0,i.jsx)("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center"},children:(0,i.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"rgba(255,255,255,0.4)",strokeWidth:"1.5",children:[(0,i.jsx)("path",{d:"M23 7l-7 5 7 5V7z"}),(0,i.jsx)("rect",{x:"1",y:"5",width:"15",height:"14",rx:"2"})]})}),(0,i.jsxs)("div",{style:{position:"absolute",top:5,right:5,display:"flex",alignItems:"center",gap:3,backgroundColor:"rgba(0,0,0,0.5)",borderRadius:8,padding:"2px 6px"},children:[(0,i.jsx)("div",{style:{width:5,height:5,borderRadius:"50%",backgroundColor:"#ef4444"}}),(0,i.jsx)("span",{style:{fontSize:8,color:"#fff",fontWeight:500},children:"REC"})]})]})]}),(0,i.jsxs)("div",{style:{border:"1px solid ".concat(el),borderRadius:12,padding:10},children:[(0,i.jsxs)("p",{style:{fontSize:10,fontWeight:500,color:er,margin:"0 0 6px",display:"flex",alignItems:"center",gap:4},children:[(0,i.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,i.jsx)("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"}),(0,i.jsx)("circle",{cx:"12",cy:"13",r:"4"})]}),"Add Photos"]}),(0,i.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:4},children:[(0,i.jsx)("div",{style:{width:"100%",aspectRatio:"1",borderRadius:6,background:"linear-gradient(135deg, #3b82f6, #06b6d4)"}}),(0,i.jsx)("div",{style:{width:"100%",aspectRatio:"1",borderRadius:6,background:"linear-gradient(135deg, #22c55e, #84cc16)"}}),(0,i.jsx)("div",{style:{width:"100%",aspectRatio:"1",borderRadius:6,border:"1.5px dashed ".concat(el),display:"flex",alignItems:"center",justifyContent:"center"},children:(0,i.jsx)("span",{style:{fontSize:14,color:eo,fontWeight:300},children:"+"})})]})]})]}),(0,i.jsx)("div",{style:{border:"1.5px dashed ".concat(el),borderRadius:es,padding:"10px 12px"},children:(0,i.jsx)("span",{style:{fontSize:11,color:"".concat(eo,"99")},children:"Write a review..."})}),(0,i.jsx)("button",{type:"button",onClick:e3,style:{...tt,width:"100%",padding:"10px 0",fontSize:13,fontWeight:600},children:"Next"}),(0,i.jsx)("div",{style:{display:"flex",justifyContent:"center",gap:6},children:ef.slice(0,3).map((e,t)=>(0,i.jsx)("div",{style:{height:4,width:1===t?20:6,borderRadius:2,backgroundColor:1===t?ee:el}},e))})]}),"review-info"===ep&&(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:12},children:[(0,i.jsx)("p",{style:{fontSize:13,fontWeight:600,color:er,marginBottom:0,marginTop:0},children:"Almost done!"}),(0,i.jsxs)("div",{children:[(0,i.jsx)("label",{style:{display:"block",fontSize:11,fontWeight:500,color:eo,marginBottom:4},children:"Name"}),(0,i.jsx)("div",{style:{padding:"10px 12px",borderRadius:Math.min(es,16),border:"1px solid ".concat(el),fontSize:13,color:er},children:"Sarah Mitchell"})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("label",{style:{display:"block",fontSize:11,fontWeight:500,color:eo,marginBottom:4},children:"Email"}),(0,i.jsx)("div",{style:{padding:"10px 12px",borderRadius:Math.min(es,16),border:"1px solid ".concat(el),fontSize:13,color:er},children:"[email protected]"})]}),(0,i.jsx)("button",{type:"button",onClick:e3,style:{...tt,width:"100%",padding:"10px 0",fontSize:13,fontWeight:600},children:"Submit Review"}),(0,i.jsx)("div",{style:{display:"flex",justifyContent:"center",gap:6},children:ef.slice(0,3).map((e,t)=>(0,i.jsx)("div",{style:{height:4,width:2===t?20:6,borderRadius:2,backgroundColor:2===t?ee:el}},e))})]}),"review-done"===ep&&(0,i.jsxs)("div",{style:{textAlign:"center",padding:"24px 0 8px"},children:[(0,i.jsx)("div",{style:{width:56,height:56,borderRadius:"50%",backgroundColor:"".concat(ee,"15"),display:"inline-flex",alignItems:"center",justifyContent:"center",marginBottom:12},children:(0,i.jsx)("svg",{width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:ee,strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:(0,i.jsx)("path",{d:"M4.5 12.75l6 6 9-13.5"})})}),(0,i.jsx)("div",{style:{fontSize:17,fontWeight:700,color:er,marginBottom:6},children:"Thank You!"}),(0,i.jsxs)("div",{style:{fontSize:13,color:eo,marginBottom:16,lineHeight:1.45},children:["Your review helps ",D," provide better service."]}),(0,i.jsx)("div",{style:{display:"flex",gap:6,justifyContent:"center",flexWrap:"wrap"},children:["Copy Link","WhatsApp","X"].map(e=>(0,i.jsx)("div",{style:{padding:"6px 12px",borderRadius:20,border:"1px solid ".concat(el),fontSize:11,fontWeight:500,color:eo},children:e},e))}),(0,i.jsx)("div",{style:{marginTop:16},children:(0,i.jsx)("button",{type:"button",onClick:e7,style:{...tt,padding:"8px 16px",fontSize:13,fontWeight:600},children:"Start Over"})})]})]}),""!==V&&(0,i.jsx)("div",{style:{padding:"10px 20px",borderTop:"1px solid ".concat(el),textAlign:"center",fontSize:11,color:eo},children:null!=V?V:"Powered by ".concat(D)})]})}},60697:(e,t,n)=>{n.d(t,{PlatformBanner:()=>d});var i=n(27665),r=n(27829),o=n(52705),l=n.n(o);let s=[{name:"WordPress",file:"/platforms/wordpress.svg",href:"/wordpress"},{name:"Shopify",file:"/platforms/shopify.svg"},{name:"Wix",file:"/platforms/wix.svg",href:"/wix"},{name:"Squarespace",file:"/platforms/squarespace.svg"},{name:"Webflow",file:"/platforms/webflow.svg"},{name:"Any HTML",file:"/platforms/html5.svg"}];function a(e){let{file:t,name:n,primaryColor:o,href:s}=e,[a,d]=(0,r.useState)(!1),c=(0,i.jsxs)("div",{className:"group flex flex-col items-center gap-3",onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),children:[(0,i.jsx)("div",{className:"h-9 w-9 transition-all duration-300 sm:h-10 sm:w-10",
1style:{mask:"url(".concat(t,") no-repeat center / contain"),WebkitMask:"url(".concat(t,") no-repeat center / contain"),backgroundColor:a?o:"#c0c5ce",transform:a?"scale(1.1)":"scale(1)"},role:"img","aria-label":n}),(0,i.jsx)("span",{className:"text-[11px] font-medium tracking-wide transition-colors duration-300",style:{color:a?o:"#9ca3af"},children:n})]});return s?(0,i.jsx)(l(),{href:s,children:c}):c}function d(e){let{primaryColor:t}=e;return(0,i.jsx)("div",{className:"w-full border-y border-border/60 bg-gradient-to-b from-surface-alt/80 to-surface-elevated py-12 sm:py-16",children:(0,i.jsxs)("div",{className:"mx-auto max-w-5xl px-4 sm:px-6 lg:px-8",children:[(0,i.jsxs)("div",{className:"mb-10 text-center",children:[(0,i.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.2em]",style:{color:t},children:"Works with any website"}),(0,i.jsx)("p",{className:"mt-2 text-base text-muted",children:"One line of code. Drop it on any platform."})]}),(0,i.jsx)("div",{className:"grid grid-cols-3 gap-y-10 sm:grid-cols-6 sm:gap-y-0",children:s.map(e=>(0,i.jsx)(a,{file:e.file,name:e.name,primaryColor:t,href:e.href},e.name))}),(0,i.jsx)("div",{className:"mt-10 w-full px-0 sm:px-4",children:(0,i.jsxs)("div",{className:"mx-auto max-w-xl rounded-2xl border border-border bg-surface-elevated/90 shadow-sm backdrop-blur-sm",style:{WebkitOverflowScrolling:"touch"},children:[(0,i.jsxs)("div",{className:"flex items-center justify-between gap-2 border-b border-border/80 px-3 py-2 sm:px-4",children:[(0,i.jsx)("span",{className:"text-[10px] font-medium uppercase tracking-wider text-muted-light sm:text-[11px]",children:"Embed code"}),(0,i.jsx)("span",{className:"text-[10px] text-muted-light sm:text-[11px]",children:"Copy into HTML"})]}),(0,i.jsx)("div",{className:"overflow-x-auto overscroll-x-contain px-3 py-3 sm:px-4 sm:py-4",children:(0,i.jsx)("pre",{className:"m-0 min-w-0 select-all font-mono text-[11px] leading-[1.65] text-foreground sm:text-xs sm:leading-relaxed",style:{tabSize:2},children:(0,i.jsxs)("code",{className:"block whitespace-pre-wrap break-words text-left [overflow-wrap:anywhere]",children:[(0,i.jsx)("span",{style:{color:t},children:"<script"}),"\n",(0,i.jsx)("span",{className:"text-muted",children:" "}),(0,i.jsx)("span",{className:"text-muted",children:'src="https://bookingmachine.io/embed.js"'}),"\n",(0,i.jsx)("span",{className:"text-muted",children:" "}),(0,i.jsx)("span",{className:"text-muted",children:'data-business="yours"'}),"\n",(0,i.jsx)("span",{className:"text-muted",children:" "}),(0,i.jsx)("span",{className:"text-muted",children:"async"}),"\n",(0,i.jsx)("span",{style:{color:t},children:"><\/script>"})]})})})]})})]})})}},75416:(e,t,n)=>{n.r(t),n.d(t,{ThemeableWidgetDemo:()=>p});var i=n(27665),r=n(27829),o=n(60599),l=n(38138),s=n(53633),a=n(16694);let d=[{name:"Ocean",theme:{primaryColor:"#0369a1",accentColor:"#38bdf8",headerBg:"#0369a1",headerText:"#ffffff",buttonBg:"linear-gradient(135deg, #0369a1, #38bdf8)",bg:"#f0f9ff",text:"#0c4a6e",muted:"#64748b",border:"#bae6fd",radius:12}},{name:"Sunset",theme:{primaryColor:"#dc2626",accentColor:"#f97316",headerBg:"#dc2626",headerText:"#ffffff",buttonBg:"linear-gradient(135deg, #dc2626, #f97316)",bg:"#fffbeb",text:"#1c1917",muted:"#78716c",border:"#fde68a",radius:12}},{name:"Emerald",theme:{primaryColor:"#047857",accentColor:"#34d399",headerBg:"#047857",headerText:"#ffffff",buttonBg:"linear-gradient(135deg, #047857, #34d399)",bg:"#ecfdf5",text:"#064e3b",muted:"#64748b",border:"#a7f3d0",radius:12}},{name:"Royal",theme:{primaryColor:"#7c3aed",accentColor:"#c084fc",headerBg:"#7c3aed",headerText:"#ffffff",buttonBg:"linear-gradient(135deg, #7c3aed, #c084fc)",bg:"#faf5ff",text:"#2e1065",muted:"#64748b",border:"#e9d5ff",radius:20}},{name:"Dark Pro",theme:{primaryColor:"#6366f1",accentColor:"#a78bfa",headerBg:"#1e1b4b",headerText:"#e0e7ff",buttonBg:"linear-gradient(135deg, #6366f1, #a78bfa)",bg:"#0f172a",text:"#e2e8f0",muted:"#94a3b8",border:"#334155",radius:8}},{name:"Rose Gold",theme:{primaryColor:"#be123c",accentColor:"#fb7185",headerBg:"#be123c",headerText:"#ffffff",buttonBg:"linear-gradient(135deg, #be123c, #fb7185)",bg:"#fff1f2",text:"#1c1917",muted:"#78716c",border:"#fecdd3",radiu
1s:20}}],c=["service","location","details","staff","schedule-date","schedule-time","info","payment","done","review-rate","review-media","review-info","review-done"];function p(e){var t,n,p,x,u,f,h,g,m,y,b,j;let{brandName:v,services:w,dimensions:k=[],multipliers:S=[],theme:C,bookingTerminology:z,locations:B,staff:T,footerText:W,colorSource:M="theme"}=e,R=(0,s.xs)(),N=R.enabled?R.theme:l.gY,A=(0,a.Rs)(l.zG[N].tokens),I=R.enabled?(0,a.Qd)({primaryColor:C.primaryColor,accentColor:null!=(p=C.accentColor)?p:C.primaryColor,headerBg:null!=(x=C.headerBg)?x:C.primaryColor,headerText:null!=(u=C.headerText)?u:"#ffffff",buttonBg:null!=(f=C.buttonBg)?f:C.primaryColor,buttonText:null!=(h=C.buttonText)?h:"#ffffff",bg:null!=(g=C.bg)?g:"#ffffff",text:null!=(m=C.text)?m:"#1e293b",muted:null!=(y=C.muted)?y:"#64748b",border:null!=(b=C.border)?b:"#e2e8f0",radius:null!=(j=C.radius)?j:8,fontFamily:C.fontFamily},(0,l.XN)(R.theme)):C,[_,F]=(0,r.useState)("widget_defaults"===M?"defaults":"theme"),[D,L]=(0,r.useState)(!1),[P,H]=(0,r.useState)(void 0),$=(0,r.useRef)(null),O=(0,r.useRef)(0),[E,Y]=(0,r.useState)(null),V=D&&E?E:"theme"===_?A:"defaults"===_?I:null!=(n=null==(t=d[_])?void 0:t.theme)?n:A;(0,r.useEffect)(()=>()=>{$.current&&clearInterval($.current)},[]);let G=(0,r.useCallback)(()=>{$.current&&clearInterval($.current),$.current=null,L(!1),Y(null),H(void 0)},[]),U=(0,r.useCallback)(e=>{G(),F(e)},[G]),X=(0,r.useCallback)(()=>{if(D)return void G();L(!0),O.current=0;let e=()=>{Y(function(){let e=Math.floor(360*Math.random()),t=55+Math.floor(35*Math.random()),n=35+Math.floor(20*Math.random()),i=(e+20+Math.floor(40*Math.random()))%360,r="hsl(".concat(e,", ").concat(t,"%, ").concat(n,"%)"),o="hsl(".concat(i,", ").concat(t+10,"%, ").concat(n+15,"%)"),l=Math.random()>.75,s=[8,12,20],a=Math.random()>.4,d=[90,135,180,225],c=d[Math.floor(Math.random()*d.length)],p=(e+Math.floor(30*Math.random()))%360,x=(i+Math.floor(30*Math.random()))%360,u="linear-gradient(".concat(c,"deg, hsl(").concat(p,", ").concat(t+5,"%, ").concat(n+5,"%), hsl(").concat(x,", ").concat(t+15,"%, ").concat(n+20,"%))"),f=a||Math.random()>.3;return{primaryColor:r,accentColor:o,headerBg:a?u:r,headerText:"#ffffff",buttonBg:f?"linear-gradient(135deg, ".concat(r,", ").concat(o,")"):r,bg:l?"hsl(".concat(e,", 40%, 8%)"):"hsl(".concat(e,", 30%, 97%)"),text:l?"#e2e8f0":"#0f172a",muted:l?"#94a3b8":"#64748b",border:l?"hsl(".concat(e,", 20%, 18%)"):"hsl(".concat(e,", 15%, 88%)"),radius:s[Math.floor(Math.random()*s.length)]}}()),H(c[O.current%c.length]),O.current++};e(),$.current=setInterval(e,2500)},[D,G]),q=!D&&"theme"===_;return(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"transition-all duration-500 ease-out",children:(0,i.jsx)(o.InteractiveWidgetDemo,{brandName:v,services:w,dimensions:k,multipliers:S,theme:V,bookingTerminology:z,locations:B,staff:T,footerText:W,activeStep:P})}),(0,i.jsxs)("div",{className:"mt-3 flex items-center justify-center gap-2",children:[(0,i.jsx)("button",{type:"button",onClick:()=>{G(),F("theme")},className:"h-8 w-8 rounded-full border-2 transition-all ".concat(q?"scale-110 border-white shadow-lg ring-2 ring-offset-1":"border-white/50 hover:scale-105 hover:border-white"),style:{background:A.primaryColor,boxShadow:q?"0 0 0 2px ".concat(A.primaryColor):void 0},title:l.zG[N].name,"aria-label":"".concat(l.zG[N].name," theme"),"aria-pressed":q}),d.map((e,t)=>{var n;let r=!D&&_===t;return(0,i.jsx)("button",{type:"button",onClick:()=>U(t),className:"h-8 w-8 rounded-full border-2 transition-all ".concat(r?"scale-110 border-white shadow-lg ring-2 ring-offset-1":"border-white/50 hover:scale-105 hover:border-white"),style:{background:"linear-gradient(135deg, ".concat(e.theme.primaryColor,", ").concat(null!=(n=e.theme.accentColor)?n:e.theme.primaryColor,")"),boxShadow:r?"0 0 0 2px ".concat(e.theme.primaryColor):void 0},title:e.name,"aria-pressed":r},e.name)}),(0,i.jsx)("button",{type:"button",onClick:X,className:"flex h-8 w-8 items-center justify-center rounded-full border-2 bg-gradient-to-br from-purple-500 via-pink-500 to-orange-500 transition-all ".concat(D?"scale-110 border-white shadow-lg ring-2 ring-pink-400 ring-offset-1":"border-white/50 opacity-80 hover:scale-105 hover:border-white hover:opacity-100"),title:D?"Stop cycling":"Auto-cycle themes","aria-pressed":D,children:(0,i.jsx)("svg",{className:"h-3.5 w-3.5 text-white ".concat(D?"animate-spin":""),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,i.jsx)("path",{d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})})})]})]})}}
1,77804:(e,t,n)=>{n.d(t,{YoutubeEmbed:()=>o});var i=n(27665),r=n(27829);function o(e){let{url:t}=e,[n,o]=(0,r.useState)(!1),l=function(e){var t;let n=e.match(/(?:youtube\.com\/(?:watch\?(?:.*&)?v=|embed\/|shorts\/)|youtu\.be\/)([a-zA-Z0-9_-]{11})/);return null!=(t=null==n?void 0:n[1])?t:null}(t);return l?(0,i.jsx)("div",{className:"relative w-full",style:{paddingBottom:"56.25%"},children:n?(0,i.jsx)("iframe",{src:"https://www.youtube-nocookie.com/embed/".concat(l,"?rel=0&modestbranding=1&iv_load_policy=3&color=white&autoplay=1"),title:"Product overview",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,className:"absolute inset-0 h-full w-full",style:{border:"none"}}):(0,i.jsxs)("button",{onClick:()=>o(!0),className:"absolute inset-0 h-full w-full cursor-pointer","aria-label":"Play video",children:[(0,i.jsx)("img",{src:"https://img.youtube.com/vi/".concat(l,"/maxresdefault.jpg"),alt:"Video thumbnail",className:"h-full w-full object-cover"}),(0,i.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/40 via-transparent to-transparent"}),(0,i.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,i.jsx)("div",{className:"flex h-20 w-20 items-center justify-center rounded-full border border-white/30 bg-surface-elevated/15 backdrop-blur-sm transition-transform duration-200 hover:scale-110",children:(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"white",className:"ml-1 h-8 w-8","aria-hidden":"true",children:(0,i.jsx)("path",{d:"M8 5v14l11-7z"})})})})]})}):null}},81111:(e,t,n)=>{n.d(t,{InteractiveReviewDemo:()=>l});var i=n(27665),r=n(27829);let o=["rate","media","info","done"];function l(e){let{primaryColor:t,businessInitials:n="BM"}=e,[l,s]=(0,r.useState)("rate"),[a,d]=(0,r.useState)(!1),c=(0,r.useRef)(null),p=(0,r.useRef)(null),x=(0,r.useRef)(!1);(0,r.useEffect)(()=>{let e=p.current;if(!e)return;let t=new IntersectionObserver(e=>{let[t]=e;x.current=!!(null==t?void 0:t.isIntersecting)},{threshold:.3});return t.observe(e),()=>t.disconnect()},[]),(0,r.useEffect)(()=>(c.current=setInterval(()=>{x.current&&(d(!0),setTimeout(()=>{s(e=>{let t=o.indexOf(e);return o[(t+1)%o.length]}),d(!1)},150))},3e3),()=>{c.current&&clearInterval(c.current)}),[]);let u=o.indexOf(l),f=(0,i.jsx)("div",{style:{display:"flex",justifyContent:"center",gap:6,padding:"12px 0"},children:o.slice(0,3).map((e,n)=>(0,i.jsx)("div",{style:{height:4,width:n===u?20:6,borderRadius:2,backgroundColor:n===u?t:"#e2e8f0",transition:"all 0.3s ease"}},n))});return(0,i.jsxs)("div",{ref:p,style:{position:"relative"},children:[(0,i.jsx)("div",{style:{position:"absolute",inset:-32,borderRadius:24,opacity:.1,filter:"blur(24px)",backgroundColor:t}}),(0,i.jsx)("div",{style:{position:"relative"},children:(0,i.jsx)("div",{style:{borderRadius:"2.5rem",border:"6px solid ".concat(t,"15"),padding:12,backgroundColor:"#f8fafc",boxShadow:"0 25px 50px -12px rgba(0,0,0,0.25)"},children:(0,i.jsxs)("div",{style:{borderRadius:"2rem",backgroundColor:"#ffffff",overflow:"hidden"},children:[(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"12px 20px 8px"},children:[(0,i.jsx)("span",{style:{fontSize:10,fontWeight:600,color:"#94a3b8"},children:"9:41"}),(0,i.jsxs)("div",{style:{display:"flex",gap:4},children:[(0,i.jsx)("div",{style:{height:8,width:14,borderRadius:2,backgroundColor:"#cbd5e1"}}),(0,i.jsx)("div",{style:{height:8,width:8,borderRadius:"50%",backgroundColor:"#cbd5e1"}})]})]}),(0,i.jsx)("div",{style:{padding:"0 20px 12px"},children:(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:4},children:[(0,i.jsx)("div",{style:{height:28,width:28,borderRadius:"50%",backgroundColor:t,display:"flex",alignItems:"center",justifyContent:"center",color:"#ffffff",fontSize:10,fontWeight:700},children:n}),(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{style:{fontSize:11,fontWeight:600,color:"#1e293b"},children:"Leave a Review"}),(0,i.jsx)("div",{style:{fontSize:9,color:"#94a3b8"},children:"Tap a star to rate"})]})]})}),(0,i.jsxs)("div",{style:{opacity:+!a,transform:a?"translateY(8px)":"translateY(0)",transition:"opacity 0.3s ease, transform 0.3s ease",minHeight:220},children:["rate"===l&&(0,i.jsxs)("div",{style:{padding:"24px 20px 0",textAlign:"center",background:"linear-gradient(to bottom, #ffffff, #f8fafc)",minHeight:220},children:[(0,i.jsx)("p",{style:{fontSize:13,fontWeight:600,color:"#334155",marginBottom:16,marginTop:0},children:"How was your experience?"}),(0,i.jsx)("div",{style:{display:"flex",justifyContent:"center",gap:8},children:[1,2,3,4,5].map(e=>(0,i.jsx)("span",{style:{fontSize:28,lineHeight:1,color:e<=4?"#f59e0b":"#e2e8f0"},children:"â
"},e))}),(0,i.jsx)("p",{style:{marginTop:8,marginBottom:0,fontSize:10,fontWeight:500,color:t},children:"Great!"}),f]}),"media"===l&&(0,i.jsxs)("div",{style:{padding:"16px 20px 0"},children:[(0,i.jsx)("p",{style:{fontSize:13,fontWeight:600,color:"#334155",marginBottom:12,marginTop:0},children:"Tell us more"}),(0,i.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:10,marginBottom:12},children:[(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{backgroundColor:"#0f172a",borderRadius:10,height:80,position:"relative",overflow:"hidden"},children:[(0,i.jsx)("div",{style:{position:"absolute",inset:0,display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gridTemplateRows:"repeat(3, 1fr)"},children:Array.from({length:9}).map((e,t)=>(0,i.jsx)("div",{style:{border:"0.5px solid rgba(255,255,255,0.1)"}},t))}),(0,i.jsx)("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center"},children:(0,i.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"rgba(255,255,255,0.4)",strokeWidth:"1.5",children:[(0,i.jsx)("path",{d:"M23 7l-7 5 7 5V7z"}),(0,i.jsx)("rect",{x:"1",y:"5",width:"15",height:"14",rx:"2"})]})}),(0,i.jsxs)("div",{style:{position:"absolute",top:6,right:6,display:"flex",alignItems:"center",gap:3,backgroundColor:"rgba(0,0,0,0.5)",borderRadius:8,padding:"2px 6px"},children:[(0,i.jsx)("div",{style:{width:5,height:5,borderRadius:"50%",backgroundColor:"#ef4444"}}),(0,i.jsx)("span",{style:{fontSize:8,color:"#ffffff",fontWeight:500,fontVariantNumeric:"tabular-nums"},children:"0:34"})]})]}),(0,i.jsx)("p",{style:{fontSize:9,color:"#64748b",textAlign:"center",marginTop:4,marginBottom:0},children:"Record Video"})]}),(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:4,marginBottom:4},children:[(0,i.jsx)("div",{style:{width:"100%",aspectRatio:"1",borderRadius:6,background:"linear-gradient(135deg, #3b82f6, #06b6d4)",position:"relative",overflow:"hidden"},children:(0,i.jsxs)("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"rgba(255,255,255,0.6)",style:{position:"absolute",bottom:3,right:3},children:[(0,i.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),(0,i.jsx)("circle",{cx:"8.5",cy:"8.5",r:"1.5"})]})}),(0,i.jsx)("div",{style:{width:"100%",aspectRatio:"1",borderRadius:6,background:"linear-gradient(135deg, #22c55e, #84cc16)",position:"relative",overflow:"hidden"},children:(0,i.jsxs)("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"rgba(255,255,255,0.6)",style:{position:"absolute",bottom:3,right:3},children:[(0,i.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),(0,i.jsx)("circle",{cx:"8.5",cy:"8.5",r:"1.5"})]})}),(0,i.jsx)("div",{style:{width:"100%",aspectRatio:"1",borderRadius:6,border:"1.5px dashed #cbd5e1",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,i.jsx)("span",{style:{fontSize:14,color:"#94a3b8",fontWeight:300},children:"+"})})]}),(0,i.jsx)("p",{style:{fontSize:9,color:"#64748b",textAlign:"center",marginTop:4,marginBottom:0},children:"Add Photos"})]})]}),(0,i.jsx)("div",{style:{border:"1.5px dashed #e2e8f0",borderRadius:8,padding:"10px 12px",marginBottom:12},children:(0,i.jsx)("span",{style:{fontSize:11,color:"#94a3b8"},children:"Write a review... (optional)"})}),(0,i.jsx)("div",{style:{backgroundColor:t,borderRadius:8,padding:"8px 0",textAlign:"center",fontSize:11,fontWeight:600,color:"#ffffff"},children:"Next"}),f]}),"info"===l&&(0,i.jsxs)("div",{style:{padding:"16px 20px 0"},children:[(0,i.jsx)("p",{style:{fontSize:13,fontWeight:600,color:"#334155",marginBottom:14,marginTop:0},children:"Almost done!"}),(0,i.jsxs)("div",{style:{marginBottom:10},children:[(0,i.jsx)("label",{style:{display:"block",fontSize:10,fontWeight:500,color:"#64748b",marginBottom:4},children:"Name"}),(0,i.jsx)("div",{style:{padding:"8px 12px",borderRadius:8,border:"1px solid #e2e8f0",fontSize:12,color:"#334155"},children:"Sarah Mitchell"})]}),(0,i.jsxs)("div",{style:{marginBottom:14},children:[(0,i.jsx)("label",{style:{display:"block",fontSize:10,fontWeight:500,color:"#64748b",marginBottom:4},children:"Email"}),(0,i.jsx)("div",{style:{padding:"8px 12px",borderRadius:8,border:"1px solid #e2e8f0",fontSize:12,color:"#334155"},children:"[email protected]"})]}),(0,i.jsx)("div",{style:{backgroundColor:t,borderRadius:8,padding:"8px 0",textAlign:"center",fontSize:11,fontWeight:600,color:"#ffffff"},children:"Submit Review"}),f]}),"done"===l&&(0,i.jsxs)("div",{style:{padding:"24px 20px 12px",textAlign:"center"},children:[(0,i.jsx)("div",{style:{width:48,height:48,borderRadius:"50%",backgroundColor:"".concat(t,"15"),display:"inline-flex",alignItems:"center",justifyContent:"center",marginBottom:12},children:(0,i.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:(0,i.jsx)("path",{d:"M4.5 12.75l6 6 9-13.5"})})}),(0,i.jsx)("div",{style:{fontSize:15,fontWeight:700,color:"#1e293b",marginBottom:4},children:"Thank You!"}),(0,i.jsx)("p",{style:{fontSize:11,color:"#64748b",lineHeight:1.5,marginTop:0,marginBottom:16},children:"Your review helps us provide better service."}),(0,i.jsx)("div",{style:{display:"flex",gap:6,justifyContent:"center"},children:["Copy Link","WhatsApp","X"].map(e=>(0,i.jsx)("div",{style:{padding:"5px 10px",borderRadius:20,border:"1px solid #e2e8f0",fontSize:9,fontWeight:500,color:"#64748b"},children:e},e))})]})]})]})})})]})}}}]);
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.