1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[28589],{5784:(e,t,r)=>{"use strict";r.d(t,{BT:()=>d,Wu:()=>c,X9:()=>o,ZB:()=>n,Zp:()=>i,aR:()=>l,wL:()=>m});var s=r(47808);r(71500);var a=r(57169);function i(e){let{className:t,...r}=e;return(0,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",t),...r})}function l(e){let{className:t,...r}=e;return(0,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",t),...r})}function n(e){let{className:t,...r}=e;return(0,s.jsx)("div",{"data-slot":"card-title",className:(0,a.cn)("leading-none font-semibold",t),...r})}function d(e){let{className:t,...r}=e;return(0,s.jsx)("div",{"data-slot":"card-description",className:(0,a.cn)("text-muted-foreground text-sm",t),...r})}function o(e){let{className:t,...r}=e;return(0,s.jsx)("div",{"data-slot":"card-action",className:(0,a.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",t),...r})}function c(e){let{className:t,...r}=e;return(0,s.jsx)("div",{"data-slot":"card-content",className:(0,a.cn)("px-6",t),...r})}function m(e){let{className:t,...r}=e;return(0,s.jsx)("div",{"data-slot":"card-footer",className:(0,a.cn)("flex items-center px-6 [.border-t]:pt-6",t),...r})}},6589:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Features:()=>n});var s=r(47808),a=r(18512),i=r(72100),l=r(57169);function n(e){var t;let{section:r,className:n}=e;return(0,s.jsx)("section",{id:r.id,className:(0,l.cn)("py-20 md:py-28",r.className,n),children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"grid gap-10 lg:grid-cols-[minmax(0,0.75fr)_minmax(0,1.25fr)] lg:gap-14",children:[(0,s.jsx)(i.i,{children:(0,s.jsxs)("div",{className:"lg:sticky lg:top-28 lg:self-start",children:[(0,s.jsx)("span",{className:"border-primary/20 bg-primary/10 text-primary inline-flex rounded-full border px-4 py-1.5 text-[11px] font-semibold tracking-[0.35em] uppercase",children:r.id}),(0,s.jsx)("h2",{className:"mt-5 font-serif text-4xl leading-[1.02] font-semibold tracking-tight md:text-5xl",children:r.title}),(0,s.jsx)("p",{className:"text-muted-foreground mt-5 max-w-xl text-base leading-8 md:text-lg",children:r.description})]})}),(0,s.jsx)(i.i,{delay:.2,children:(0,s.jsx)("div",{className:"grid gap-4 md:grid-cols-2 xl:grid-cols-3",children:null==(t=r.items)?void 0:t.map((e,t)=>(0,s.jsxs)("div",{className:(0,l.cn)("border-border/80 bg-card/85 rounded-[1.75rem] border p-6 shadow-sm",t%3==1&&"md:translate-y-8"),children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("span",{className:"text-primary font-mono text-sm font-semibold",children:["0",t+1]}),(0,s.jsx)("span",{className:"border-border/70 bg-background text-primary inline-flex size-11 items-center justify-center rounded-full border shadow-sm",children:(0,s.jsx)(a.L,{name:e.icon,size:18})})]}),(0,s.jsx)("h3",{className:"mt-8 text-lg font-semibold tracking-tight",children:e.title}),(0,s.jsx)("p",{className:"text-muted-foreground mt-3 text-sm leading-7 md:text-base",children:e.description})]},t))})})]})})})}},6804:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Testimonials:()=>l});var s=r(47808),a=r(65958),i=r(72100);function l(e){var t;let{section:r,className:l}=e,n=e=>{var t,r,i,l;let{item:n}=e;return(0,s.jsxs)("div",{className:"bg-card/25 ring-foreground/[0.07] flex flex-col justify-end gap-6 rounded-(--radius) border border-transparent p-8 ring-1",children:[(0,s.jsx)("p",{className:'text-foreground self-end text-balance before:mr-1 before:content-["\\201C"] after:ml-1 after:content-["\\201D"]',children:n.quote||n.description}),(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"ring-foreground/10 aspect-square size-9 overflow-hidden rounded-lg border border-transparent shadow-md ring-1 shadow-black/15",children:(0,s.jsx)(a.oD,{src:(null==(t=n.image)?void 0:t.src)||(null==(r=n.avatar)?void 0:r.src)||"",alt:(null==(i=n.image)?void 0:i.alt)||(null==(l=n.avatar)?void 0:l.alt)||n.name||"",className:"h-full w-full object-cover"})}),(0,s.jsxs)("h3",{className:"sr-only",children:[n.name,", ",n.role||n.title]}),(0,s.jsxs)("div",{className:"space-y-px",children:[(0,s.jsxs)("p",{className:"text-sm font-medium",children:[n.name," "]}),(0,s.jsx)("p",{className:"text-muted-foreground text-xs",children:n.role||n.title})]})]})]})};return(0,s.jsx)("section",{id:r.id,className:"py-16 md:py-24 ".concat(r.className," ").concat(l),children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsx)(i.i,{children:(0,s.jsxs)("div",{className:"mx-auto max-w-2xl text-center text-balance",children:[(0,s.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:r.title}),(0,s.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:r.description})]})}),(0,s.jsx)(i.i,{delay:.2,children:(0,s.jsx)("div",{className:"border-border/50 relative rounded-(--radius)",children:(0,s.jsx)("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3 lg:gap-px lg:*:nth-1:rounded-t-none lg:*:nth-2:rounded-tl-none lg:*:nth-2:rounded-br-none lg:*:nth-3:rounded-l-none lg:*:nth-4:rounded-r-none lg:*:nth-5:rounded-tl-none lg:*:nth-5:rounded-br-none lg:*:nth-6:rounded-b-none",children:null==(t=r.items)?void 0:t.map((e,t)=>(0,s.jsx)(n,{item:e},t))})})})]})})}},8256:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Faq:()=>l});var s=r(47808),a=r(10780),i=r(72100);function l(e){var t;let{section:r,className:l}=e;return(0,s.jsx)("section",{id:r.id,className:"py-20 md:py-28 ".concat(l||""),children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsx)(i.i,{children:(0,s.jsxs)("div",{className:"grid gap-8 lg:grid-cols-[minmax(0,0.8fr)_minmax(0,1fr)] lg:items-end",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"border-primary/20 bg-primary/10 text-primary inline-flex rounded-full border px-4 py-1.5 text-[11px] font-semibold tracking-[0.35em] uppercase",children:"FAQ"}),(0,s.jsx)("h2",{className:"mt-5 font-serif text-4xl leading-[1.02] font-semibold tracking-tight md:text-5xl",children:r.title})]}),(0,s.jsx)("p",{className:"text-muted-foreground max-w-2xl text-base leading-8 md:text-lg",children:r.description})]})}),(0,s.jsx)(i.i,{delay:.2,children:(0,s.jsxs)("div",{className:"border-border/80 bg-card/90 mt-12 rounded-[2rem] border p-4 shadow-lg",children:[(0,s.jsx)(a.Accordion,{type:"single",collapsible:!0,className:"w-full",children:null==(t=r.items)?void 0:t.map((e,t)=>(0,s.jsxs)(a.AccordionItem,{value:e.question||e.title||"",className:"group border-border/80 border-b border-dashed last:border-b-0",children:[(0,s.jsxs)(a.AccordionTrigger,{className:"cursor-pointer px-2 py-6 text-left text-base font-semibold tracking-tight hover:no-underline md:grid md:grid-cols-[4rem_minmax(0,1fr)] md:items-start",children:[(0,s.jsxs)("span",{className:"text-primary mb-3 font-mono text-sm font-semibold md:mb-0",children:["0",t+1]}),(0,s.jsx)("span",{children:e.question||e.title||""})]}),(0,s.jsxs)(a.AccordionContent,{className:"text-muted-foreground px-2 pb-6 text-sm leading-7 md:grid md:grid-cols-[4rem_minmax(0,1fr)] md:text-base",children:[(0,s.jsx)("span",{}),(0,s.jsx)("p",{children:e.answer||e.description||""})]})]},t))}),(0,s.jsx)("p",{className:"text-muted-foreground border-border/80 bg-background/80 mt-6 rounded-[1.5rem] border border-dashed px-5 py-4 text-sm leading-7 md:text-base",dangerouslySetInnerHTML:{__html:r.tip||""}})]})})]})})}},15846:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Pricing:()=>L});var s=r(47808),a=r(71500),i=r(21008),l=r(47706),n=r(97326),d=r(18355),o=r(31963),c=r(65958),m=r(67202),u=r(47974),x=r(83817),p=r(89602),h=r(26924),g=r(43040),f=r(96393),b=r(74748),v=r(57169);
1function j(e){let{configs:t,callbackUrl:r,loading:l,setLoading:c,pricingItem:u,onCheckout:x,className:h}=e;(0,d.c3)("common.payment"),(0,f.rd)();let j=(0,n.Ym)(),{setIsShowPaymentModal:y}=(0,p.U)(),[N,w]=(0,a.useState)(null),_=r;_&&j!==b.q&&_.startsWith("/")&&!_.startsWith("/".concat(j))&&(_="/".concat(j).concat(_));let k=async e=>{let{provider:t}=e;return t?u?void x(u,t):void o.oR.error("please select a pricing item"):void o.oR.error("please select payment method")},z=null==u?void 0:u.payment_providers,C=e=>!z||0===z.length||z.includes(e),L=[];return"true"===t.stripe_enabled&&C("stripe")&&L.push({name:"stripe",title:"Stripe",icon_url:"/imgs/icons/stripe.png",onClick:()=>k({provider:"stripe"})}),"true"===t.creem_enabled&&C("creem")&&L.push({name:"creem",title:"Creem",icon_url:"/imgs/icons/creem.png",onClick:()=>k({provider:"creem"})}),"true"===t.paypal_enabled&&C("paypal")&&L.push({name:"paypal",title:"Paypal",icon_url:"/imgs/icons/paypal.svg",onClick:()=>k({provider:"paypal"})}),(0,s.jsx)("div",{className:(0,v.cn)("flex w-full items-center gap-2","flex-col justify-between",h),children:L.map(e=>(0,s.jsxs)(m.$,{variant:"outline",className:(0,v.cn)("w-full gap-2"),disabled:l,onClick:()=>{if(!e.onClick||!e.name)return void o.oR.error("invalid payment method");w(e.name),e.onClick()},children:[e.icon_url&&(0,s.jsx)(g.default,{src:e.icon_url,alt:e.title||e.name||"",width:24,height:24,className:"rounded-full"}),(0,s.jsx)("h3",{children:e.title}),N===e.name&&l&&(0,s.jsx)(i.A,{className:"size-4 animate-spin"})]},e.name))})}function y(e){let{isLoading:t,pricingItem:r,onCheckout:a}=e,i=(0,d.c3)("common.payment"),{isShowPaymentModal:l,setIsShowPaymentModal:n}=(0,p.U)(),{configs:o}=(0,p.U)();return(0,h.U)("(min-width: 768px)")?(0,s.jsx)(u.lG,{open:l,onOpenChange:n,children:(0,s.jsxs)(u.Cf,{className:"sm:max-w-[425px]",children:[(0,s.jsxs)(u.c7,{children:[(0,s.jsx)(u.L3,{children:i("choose_payment_method")}),(0,s.jsx)(u.rr,{children:i("choose_payment_method_description")})]}),(0,s.jsx)(j,{callbackUrl:"/",configs:o,loading:t,setLoading:()=>{},pricingItem:r,onCheckout:a})]})}):(0,s.jsx)(x._s,{open:l,onOpenChange:n,children:(0,s.jsxs)(x.zj,{children:[(0,s.jsxs)(x.BE,{className:"text-left",children:[(0,s.jsx)(x.gk,{children:i("choose_payment_method")}),(0,s.jsx)(x.I6,{children:i("choose_payment_method_description")})]}),(0,s.jsx)(j,{callbackUrl:"/",configs:o,loading:t,setLoading:()=>{},pricingItem:r,onCheckout:a,className:"px-4"}),(0,s.jsx)(x.tb,{className:"pt-4",children:(0,s.jsx)(x.cp,{asChild:!0,children:(0,s.jsx)(m.$,{variant:"outline",children:i("cancel_title")})})})]})})}var N=r(85227),w=r(5784),_=r(51022),k=r(29650),z=r(92938);function C(e){if(!e)return[];let t={currency:e.currency,amount:e.amount,price:e.price||"",original_price:e.original_price||""};return e.currencies&&e.currencies.length>0?[t,...e.currencies]:[t]}function L(e){var t,r,u;let{section:x,className:h,currentSubscription:g}=e,f=(0,n.Ym)(),b=(0,d.c3)("pages.pricing.messages"),{user:j,isShowPaymentModal:L,setIsShowSignModal:S,setIsShowPaymentModal:A,configs:I}=(0,p.U)(),[P,E]=(0,a.useState)(()=>{var e,t,r,s;let a=null==(e=x.items)?void 0:e.find(e=>e.product_id===(null==g?void 0:g.productId)),i=null==(t=x.groups)?void 0:t.find(e=>e.is_featured);return(null==a?void 0:a.group)||(null==i?void 0:i.name)||(null==(s=x.groups)||null==(r=s[0])?void 0:r.name)}),[T,R]=(0,a.useState)(null),[V,F]=(0,a.useState)(!1),[M,U]=(0,a.useState)(null),[K,q]=(0,a.useState)({});(0,a.useEffect)(()=>{if(x.items&&x.items.length>0){let e={};x.items.forEach(t=>{let r=C(t),s=function(e,t,r){if(0===e.length)return r;if("zh"===t){let t=e.find(e=>"cny"===e.currency.toLowerCase());if(t)return t.currency}return r}(r,f,t.currency),a=r.find(e=>e.currency.toLowerCase()===s.toLowerCase()),i=a?{...t,currency:a.currency,amount:a.amount,price:a.price,original_price:a.original_price,payment_product_id:a.payment_product_id||t.payment_product_id,payment_providers:a.payment_providers||t.payment_providers}:t;e[t.product_id]={selectedCurrency:s,displayedItem:i}}),q(e)}},[x.items,f]);let D=async e=>{var t;if(!j)return void S(!0);let r=(null==(t=K[e.product_id])?void 0:t.displayedItem)||e;"true"===I.select_payment_enabled?(R(r),A(!0)):W(r,I.default_payment_provider)},W=async(e,t)=>{try{if(!j)return void S(!0);let r=(e=>{let{paymentProvider:t}=e,r={};return"true"===I.affonso_enabled&&["stripe","creem"].includes(t)&&(r.affonso_referral=(0,z.Ri)("affonso_referral")||""),"true"===I.promotekit_enabled&&["stripe"].includes(t)&&(r.promotekit_referral=window.promotekit_referral?window.promotekit_referral:(0,z.Ri)("promotekit_referral")||""),r})({paymentProvider:t||""}),s={product_id:e.product_id,currency:e.currency,locale:f||"en",payment_provider:t||"",metadata:r};F(!0),U(e.product_id);let a=await fetch("/api/payment/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(401===a.status){F(!1),U(null),R(null),S(!0);return}if(!a.ok)throw Error("request failed with status ".concat(a.status));let{code:i,message:l,data:n}=await a.json();if(0!==i)throw Error(l);let{checkoutUrl:d}=n;
1if(!d)throw Error("checkout url not found");window.location.href=d}catch(e){console.log("checkout failed: ",e),o.oR.error("checkout failed: "+e.message),F(!1),U(null)}};return(0,a.useEffect)(()=>{if(x.items){var e;let t=x.items.find(e=>e.is_featured);U((null==t?void 0:t.product_id)||(null==(e=x.items[0])?void 0:e.product_id)),F(!1)}},[x.items]),(0,s.jsxs)("section",{id:x.id,className:(0,v.cn)("py-24 md:py-36",x.className,h),children:[(0,s.jsxs)("div",{className:"mx-auto mb-12 px-4 text-center md:px-8",children:[x.sr_only_title&&(0,s.jsx)("h1",{className:"sr-only",children:x.sr_only_title}),(0,s.jsx)("h2",{className:"mb-6 text-3xl font-bold text-pretty lg:text-4xl",children:x.title}),(0,s.jsx)("p",{className:"text-muted-foreground mx-auto mb-4 max-w-xl lg:max-w-none lg:text-lg",children:x.description})]}),(0,s.jsxs)("div",{className:"container",children:[x.groups&&x.groups.length>0&&(0,s.jsx)("div",{className:"mx-auto mt-8 mb-16 flex w-full justify-center md:max-w-lg",children:(0,s.jsx)(k.tU,{value:P,onValueChange:E,className:"",children:(0,s.jsx)(k.j7,{children:x.groups.map((e,t)=>(0,s.jsxs)(k.Xi,{value:e.name||"",children:[e.title,e.label&&(0,s.jsx)(N.E,{className:"ml-2",children:e.label})]},t))})})}),(0,s.jsx)("div",{className:"mx-auto mt-0 grid w-full gap-6 md:grid-cols-".concat(null==(r=x.items)||null==(t=r.filter(e=>!e.group||e.group===P))?void 0:t.length),children:null==(u=x.items)?void 0:u.map((e,t)=>{var r,a,n,d;if(e.group&&e.group!==P)return null;let o=!1;g&&g.productId===e.product_id&&(o=!0);let u=K[e.product_id],p=(null==u?void 0:u.displayedItem)||e,h=(null==u?void 0:u.selectedCurrency)||e.currency,f=C(e);return(0,s.jsxs)(w.Zp,{className:"relative",children:[e.label&&(0,s.jsx)("span",{className:"absolute inset-x-0 -top-3 mx-auto flex h-6 w-fit items-center rounded-full bg-linear-to-br/increasing from-purple-400 to-amber-300 px-3 py-1 text-xs font-medium text-amber-950 ring-1 ring-white/20 ring-offset-1 ring-offset-gray-950/5 ring-inset",children:e.label}),(0,s.jsxs)(w.aR,{children:[(0,s.jsx)(w.ZB,{className:"font-medium",children:(0,s.jsx)("h3",{className:"text-sm font-medium",children:e.title})}),(0,s.jsxs)("div",{className:"my-3 flex items-baseline gap-2",children:[p.original_price&&(0,s.jsx)("span",{className:"text-muted-foreground text-sm line-through",children:p.original_price}),(0,s.jsxs)("div",{className:"my-3 block text-2xl font-semibold",children:[(0,s.jsx)("span",{className:"text-primary",children:p.price})," ",p.unit?(0,s.jsx)("span",{className:"text-muted-foreground text-sm font-normal",children:p.unit}):""]}),f.length>1&&(0,s.jsxs)(_.l6,{value:h,onValueChange:t=>((e,t)=>{var r;let s=null==(r=x.items)?void 0:r.find(t=>t.product_id===e);if(!s)return;let a=C(s).find(e=>e.currency.toLowerCase()===t.toLowerCase());if(a){let r={...s,currency:a.currency,amount:a.amount,price:a.price,original_price:a.original_price,payment_product_id:a.payment_product_id||s.payment_product_id,payment_providers:a.payment_providers||s.payment_providers};q(s=>({...s,[e]:{selectedCurrency:t,displayedItem:r}}))}})(e.product_id,t),children:[(0,s.jsx)(_.bq,{size:"sm",className:"border-muted-foreground/30 bg-background/50 h-6 min-w-[60px] px-2 text-xs",children:(0,s.jsx)(_.yv,{placeholder:"Currency"})}),(0,s.jsx)(_.gC,{children:f.map(e=>(0,s.jsx)(_.eb,{value:e.currency,className:"text-xs",children:e.currency.toUpperCase()},e.currency))})]})]}),(0,s.jsx)(w.BT,{className:"text-sm",children:e.description}),e.tip&&(0,s.jsx)("span",{className:"text-muted-foreground text-sm",children:e.tip}),o?(0,s.jsx)(m.$,{variant:"outline",className:"mt-4 h-9 w-full px-4 py-2",disabled:!0,children:(0,s.jsx)("span",{className:"hidden text-sm md:block",children:b("current_plan")})}):(0,s.jsx)(m.$,{onClick:()=>D(e),disabled:V,className:(0,v.cn)("focus-visible:ring-ring inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50","mt-4 h-9 w-full px-4 py-2","bg-primary text-primary-foreground hover:bg-primary/90 border-[0.5px] border-white/25 shadow-md shadow-black/20"),children:V&&e.product_id===M?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.A,{className:"size-4 animate-spin"}),(0,s.jsx)("span",{className:"block",children:b("processing")})]}):(0,s.jsxs)(s.Fragment,{children:[(null==(r=e.button)?void 0:r.icon)&&(0,s.jsx)(c.LK,{name:null==(a=e.button)?void 0:a.icon,className:"size-4"}),(0,s.jsx)("span",{className:"block",children:null==(n=e.button)?void 0:n.title})]})})]}),(0,s.jsxs)(w.Wu,{className:"space-y-4",children:[(0,s.jsx)("hr",{className:"border-dashed"}),e.features_title&&(0,s.jsx)("p",{className:"text-sm font-medium",children:e.features_title}),(0,s.jsx)("ul",{className:"list-outside space-y-3 text-sm",children:null==(d=e.features)?void 0:d.map((e,t)=>(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)(l.A,{className:"size-3"}),e]},t))})]})]},t)})})]}),(0,s.jsx)(y,{isLoading:V,pricingItem:T,onCheckout:(e,t)=>W(e,t)})]})}},15889:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Stats:()=>i});var s=r(47808),a=r(72100);function i(e){var t;let{section:r,className:i}=e;return(0,s.jsx)("section",{id:r.id,className:"py-12 md:py-24 ".concat(r.className," ").concat(i),children:(0,s.jsxs)("div",{className:"container space-y-8 md:space-y-16",children:[(0,s.jsx)(a.i,{children:(0,s.jsxs)("div",{className:"relative z-10 mx-auto max-w-xl space-y-6 text-center",children:[(0,s.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:r.title}),(0,s.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:r.description})]})}),(0,s.jsx)(a.i,{delay:.2,children:(0,s.jsx)("div",{className:"grid gap-12 divide-y *:text-center md:grid-cols-3 md:gap-2 md:divide-x md:divide-y-0",children:null==(t=r.items)?void 0:t.map((e,t)=>(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("h3",{className:"sr-only",children:[e.title," ",e.description]}),(0,s.jsx)("div",{className:"text-primary text-5xl font-bold",children:e.title}),(0,s.jsx)("p",{children:e.description})]},t))})})]})})}},24218:(e,t,r)=>{"use strict";r.d(t,{S:()=>a});var s=r(47808);function a(e){let{message:t}=e;return(0,s.jsx)("div",{className:"flex h-[50vh] w-full flex-col items-center justify-center",children:(0,s.jsx)("p",{children:t})})}},24985:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Cta:()=>o});var s=r(47808),a=r(96393),i=r(18512),l=r(67202),n=r(72100),d=r(57169);function o(e){var t,r;let{section:o,className:c}=e;return(0,s.jsx)("section",{id:o.id,className:(0,d.cn)("py-20 md:py-28",o.className,c),children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"border-border/80 bg-card/90 relative overflow-hidden rounded-[2rem] border px-6 py-10 shadow-xl md:px-12 md:py-14",children:[(0,s.jsx)("div",{"aria-hidden":!0,
1className:"bg-primary/10 absolute inset-y-0 right-0 w-18 md:w-24"}),(0,s.jsxs)(n.i,{children:[(0,s.jsx)("span",{className:"border-primary/20 bg-primary/10 text-primary inline-flex rounded-full border px-4 py-1.5 text-[11px] font-semibold tracking-[0.35em] uppercase",children:"Ready When You Are"}),(0,s.jsx)("h2",{className:"mt-6 max-w-4xl font-serif text-4xl leading-[1.02] font-semibold text-balance lg:text-6xl",children:o.title})]}),(0,s.jsx)(n.i,{delay:.15,children:(0,s.jsx)("p",{className:"text-muted-foreground mt-5 max-w-2xl text-base leading-8 md:text-lg",dangerouslySetInnerHTML:{__html:null!=(r=o.description)?r:""}})}),(0,s.jsx)(n.i,{delay:.3,children:(0,s.jsx)("div",{className:"mt-10 flex flex-wrap gap-4",children:null==(t=o.buttons)?void 0:t.map((e,t)=>(0,s.jsx)(l.$,{asChild:!0,size:e.size||"default",variant:e.variant||"default",className:(0,d.cn)("h-12 rounded-full px-6 text-sm font-semibold tracking-[0.08em] uppercase",0===t?"bg-primary text-primary-foreground shadow-primary/20 hover:bg-primary/92 shadow-md":"border-border bg-background text-foreground hover:bg-background border"),children:(0,s.jsxs)(a.N_,{href:e.url||"",target:e.target||"_self",children:[e.icon&&(0,s.jsx)(i.L,{name:e.icon}),(0,s.jsx)("span",{children:e.title})]})},t))})})]})})})}},25120:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FeaturesAccordion:()=>m});var s=r(47808),a=r(71500),i=r(12271),l=r(24309),n=r(65958),d=r(10780),o=r(72100),c=r(57169);function m(e){var t,r,m,u,x,p;let{section:h,className:g}=e,[f,b]=(0,a.useState)("item-1"),v={};return null==(t=h.items)||t.forEach((e,t)=>{var r,s,a;v["item-".concat(t+1)]={image:null!=(a=null==(r=e.image)?void 0:r.src)?a:"",alt:(null==(s=e.image)?void 0:s.alt)||e.title||""}}),(0,s.jsx)("section",{className:(0,c.cn)("overflow-x-hidden py-20 md:py-28",h.className,g),children:(0,s.jsxs)("div",{className:"container space-y-10 overflow-x-hidden md:space-y-14",children:[(0,s.jsx)(o.i,{children:(0,s.jsxs)("div",{className:"grid gap-8 lg:grid-cols-[minmax(0,0.72fr)_minmax(0,1fr)] lg:items-end",children:[(0,s.jsxs)("div",{children:[h.label&&(0,s.jsx)("span",{className:"border-primary/20 bg-primary/10 text-primary inline-flex rounded-full border px-4 py-1.5 text-[11px] font-semibold tracking-[0.35em] uppercase",children:h.label}),(0,s.jsx)("h2",{className:"mt-5 font-serif text-4xl leading-[1.02] font-semibold tracking-tight md:text-5xl",children:h.title})]}),(0,s.jsx)("p",{className:"text-muted-foreground max-w-2xl text-base leading-8 md:text-lg",children:h.description})]})}),(0,s.jsxs)("div",{className:"grid min-w-0 gap-10 lg:grid-cols-[minmax(0,0.82fr)_minmax(18rem,0.78fr)] lg:gap-12",children:[(0,s.jsx)(o.i,{delay:.1,direction:"left",children:(0,s.jsx)(d.Accordion,{type:"single",value:f,onValueChange:e=>b(e),className:"w-full space-y-4",children:null==(r=h.items)?void 0:r.map((e,t)=>(0,s.jsxs)(d.AccordionItem,{value:"item-".concat(t+1),className:"border-border/80 bg-card/85 overflow-hidden rounded-[1.5rem] border px-5 py-1 shadow-sm",children:[(0,s.jsx)(d.AccordionTrigger,{className:"cursor-pointer py-5 text-left hover:no-underline",children:(0,s.jsxs)("div",{className:"grid w-full gap-4 md:grid-cols-[4rem_minmax(0,1fr)] md:items-start",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsxs)("span",{className:"text-primary font-mono text-sm font-semibold",children:["0",t+1]}
1),e.icon&&(0,s.jsx)("span",{className:"border-border/70 bg-background text-primary inline-flex size-10 items-center justify-center rounded-full border",children:(0,s.jsx)(n.LK,{name:e.icon,size:18})})]}),(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"text-lg font-semibold tracking-tight",children:e.title})})]})}),(0,s.jsx)(d.AccordionContent,{className:"text-muted-foreground pb-5 text-sm leading-7 md:pl-16 md:text-base",children:e.description})]},t))})}),(0,s.jsx)(o.i,{delay:.2,direction:"right",children:(0,s.jsxs)("div",{className:"border-border/80 bg-card/90 relative mx-auto w-full max-w-[28rem] overflow-hidden rounded-[2rem] border p-4 shadow-xl xl:max-w-[30rem]",children:[(0,s.jsxs)("div",{className:"border-border/80 mb-4 flex items-center justify-between border-b border-dashed pb-4",children:[(0,s.jsx)("span",{className:"text-muted-foreground text-[11px] font-semibold tracking-[0.35em] uppercase",children:"Current Focus"}),(0,s.jsxs)("span",{className:"text-primary font-mono text-xs",children:["0",Math.max(Number(f.replace("item-","")),1)]})]}),(0,s.jsx)("div",{className:"border-border/80 bg-muted relative rounded-[1.5rem] border p-3",children:(0,s.jsx)(i.N,{mode:"wait",children:(0,s.jsxs)(l.P.div,{initial:{opacity:0,y:10,rotate:-1.5},animate:{opacity:1,y:0,rotate:0},exit:{opacity:0,y:10,rotate:1.5},transition:{duration:.22},className:"border-border/80 bg-background relative flex min-h-[15rem] items-start justify-center overflow-hidden rounded-[1.25rem] border px-4 pt-12 pb-4 shadow-md md:min-h-[17rem]",children:[(0,s.jsxs)("div",{className:"bg-primary text-primary-foreground absolute top-4 left-4 z-10 rounded-full px-3 py-1 text-[11px] font-semibold tracking-[0.3em] uppercase",children:["0",Number(f.replace("item-",""))]}),(0,s.jsx)(n.oD,{src:v[f].image,className:"mx-auto h-auto max-h-[13rem] w-auto max-w-full rounded-[0.85rem] object-contain md:max-h-[15rem]",alt:v[f].alt})]},"".concat(f,"-id"))})}),(0,s.jsxs)("div",{className:"border-border/80 bg-background/85 mt-4 rounded-[1.5rem] border border-dashed px-5 py-4",children:[(0,s.jsx)("div",{className:"text-muted-foreground text-[11px] font-semibold tracking-[0.35em] uppercase",children:"Editorial Note"}),(0,s.jsx)("div",{className:"mt-2 text-lg font-semibold tracking-tight",children:null==(u=h.items)||null==(m
1=u[Math.max(Number(f.replace("item-",""))-1,0)])?void 0:m.title}),(0,s.jsx)("p",{className:"text-muted-foreground mt-2 text-sm leading-7",children:null==(p=h.items)||null==(x=p[Math.max(Number(f.replace("item-",""))-1,0)])?void 0:x.description})]})]})})]})]})})}},29650:(e,t,r)=>{"use strict";r.d(t,{Xi:()=>o,j7:()=>d,tU:()=>n});var s=r(47808),a=r(71500),i=r(87039),l=r(57169);let n=i.bL,d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(i.B8,{ref:t,className:(0,l.cn)("border inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",r),...a})});d.displayName=i.B8.displayName;let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(i.l9,{ref:t,className:(0,l.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-lg px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",r),...a})});o.displayName=i.l9.displayName,a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(i.UC,{ref:t,className:(0,l.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",r),...a})}).displayName=i.UC.displayName},32442:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FeaturesList:()=>o});var s=r(47808),a=r(96393),i=r(65958),l=r(67202),n=r(72100),d=r(57169);function o(e){var t,r,o,c,m,u,x;let{section:p,className:h}=e,g=p.label||"Brief";return(0,s.jsx)("section",{className:(0,d.cn)("overflow-x-hidden py-20 md:py-28",p.className,h),children:(0,s.jsxs)("div",{className:"container overflow-x-hidden",children:[(0,s.jsxs)("div",{className:"grid items-center gap-10 pb-14 lg:grid-cols-[minmax(0,0.92fr)_minmax(0,1.08fr)] lg:gap-16",children:[(0,s.jsx)(n.i,{direction:"left",children:(0,s.jsxs)("div",{className:"relative mx-auto w-full max-w-[34rem]",children:[(0,s.jsx)("div",{className:"border-primary/20 bg-background/96 text-primary absolute -top-5 left-5 z-20 inline-flex items-center rounded-full border px-4 py-2 text-xs font-semibold tracking-[0.08em] whitespace-nowrap shadow-sm backdrop-blur",children:g}),(0,s.jsx)("div",{className:"border-border/80 bg-card relative overflow-hidden rounded-[2rem] border p-4 shadow-xl",children:(0,s.jsxs)("div",{className:"grid gap-4 lg:grid-cols-[minmax(0,0.95fr)_minmax(8rem,0.55fr)]",children:[(0,s.jsx)("div",{className:"border-border/70 bg-muted overflow-hidden rounded-[1.5rem] border",children:(0,s.jsx)(i.oD,{src:null!=(u=null==(t=p.image)?void 0:t.src)?u:"",alt:null!=(x=null==(r=p.image)?void 0:r.alt)?x:"",className:"aspect-[4/5] h-full w-full object-cover"})}),(0,s.jsxs)("div",{className:"border-border/80 bg-background/80 flex flex-col justify-between rounded-[1.5rem] border border-dashed p-5",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"text-muted-foreground text-[10px] font-semibold tracking-[0.35em] uppercase",children:"Readout"}),(0,s.jsx)("p",{className:"text-primary mt-3 font-serif text-3xl leading-none font-semibold tracking-tight md:text-4xl",children:"SBTI"}),(0,s.jsx)("p",{className:"text-muted-foreground mt-2 text-xs leading-5 tracking-[0.08em]",children:g})]}),(0,s.jsx)("div",{className:"space-y-2",children:null==(o=p.items)?void 0:o.slice(0,3).map((e,t)=>(0,s.jsx)("div",{className:"border-border/70 bg-card rounded-2xl border px-3 py-3",children:(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[e.icon&&(0,s.jsx)(i.LK,{name:e.icon,className:"text-primary size-4"}),(0,s.jsx)("span",{className:"text-sm font-semibold tracking-tight",children:e.title})]})},t))})]})]})})]})}),(0,s.jsxs)("div",{className:"w-full min-w-0 flex-1",children:[(0,s.jsx)(n.i,{delay:.1,children:(0,s.jsx)("h2",{className:"font-serif text-4xl leading-[1.02] font-semibold text-balance break-words md:text-5xl",children:p.title})}),(0,s.jsx)(n.i,{delay:.2,children:(0,s.jsx)("p",{className:"text-muted-foreground my-6 max-w-2xl text-base leading-8 text-balance break-words md:text-lg",children:p.description})}),(0,s.jsx)(n.i,{delay:.3,children:(0,s.jsx)("div",{className:"border-border/80 mt-10 space-y-4 border-t border-dashed pt-8",children:null==(c=p.items)?void 0:c.map((e,t)=>{var r;return(0,s.jsxs)("div",{className:"border-border/80 bg-card/80 grid gap-4 roun
1ded-[1.5rem] border px-5 py-5 shadow-sm md:grid-cols-[4.5rem_minmax(0,1fr)] md:items-start",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 md:block",children:[(0,s.jsxs)("span",{className:"text-primary font-mono text-sm font-semibold",children:["0",t+1]}),e.icon&&(0,s.jsx)("span",{className:"border-border/70 bg-background text-primary inline-flex size-10 items-center justify-center rounded-full border shadow-sm",children:(0,s.jsx)(i.LK,{name:e.icon,size:18})})]}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("h3",{className:"text-lg font-semibold tracking-tight break-words",children:e.title}),(0,s.jsx)("p",{className:"text-muted-foreground mt-2 text-sm leading-7 break-words md:text-base",children:null!=(r=e.description)?r:""})]})]},t)})})})]})]}),p.buttons&&p.buttons.length>0&&(0,s.jsx)(n.i,{delay:.35,children:(0,s.jsx)("div",{className:"mt-10 flex flex-wrap items-center justify-start gap-2",children:null==(m=p.buttons)?void 0:m.map((e,t)=>{var r,n;return(0,s.jsx)(l.$,{asChild:!0,variant:e.variant||"default",size:e.size||"default",children:(0,s.jsxs)(a.N_,{href:null!=(r=e.url)?r:"",target:null!=(n=e.target)?n:"_self",className:(0,d.cn)("inline-flex h-11 items-center justify-center gap-2 rounded-full px-5 text-sm font-semibold tracking-[0.08em] uppercase",0===t?"bg-primary text-primary-foreground":"border-border bg-card text-foreground border"),children:[e.icon&&(0,s.jsx)(i.LK,{name:e.icon,size:24}),e.title]})},t)})})})]})})}},51022:(e,t,r)=>{"use strict";r.d(t,{TR:()=>p,bq:()=>u,eb:()=>h,gC:()=>x,l6:()=>o,s3:()=>c,yv:()=>m});var s=r(47808);r(71500);var a=r(52141),i=r(21696),l=r(47706),n=r(70041),d=r(57169);function o(e){let{...t}=e;return(0,s.jsx)(a.bL,{"data-slot":"select",...t})}function c(e){let{...t}=e;return(0,s.jsx)(a.YJ,{"data-slot":"select-group",...t})}function m(e){let{...t}=e;return(0,s.jsx)(a.WT,{"data-slot":"select-value",...t})}function u(e){let{className:t,size:r="default",children:l,...n}=e;return(0,s.jsxs)(a.l9,{"data-slot":"select-trigger","data-size":r,className:(0,d.cn)("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...n,children:[l,(0,s.jsx)(a.In,{asChild:!0,children:(0,s.jsx)(i.A,{className:"size-4 opacity-50"})})]})}function x(e){let{className:t,children:r,position:i="popper",...l}=e;return(0,s.jsx)(a.ZL,{children:(0,s.jsxs)(a.UC,{"data-slot":"select-content",className:(0,d.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md","popper"===i&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:i,...l,children:[(0,s.jsx)(g,{}),(0,s.jsx)(a.LM,{className:(0,d.cn)("p-1","popper"===i&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:r}),(0,s.jsx)(f,{})]})})}function p(e){let{className:t,...r}=e;return(0,s.jsx)(a.JU,{"data-slot":"select-label",className:(0,d.cn)("text-muted-foreground px-2 py-1.5 text-xs",t),...r})}function h(e){let{className:t,children:r,...i}=e;return(0,s.jsxs)(a.q7,{"data-slot":"select-item",className:(0,d.cn)("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",t),...i,children:[(0,s.jsx)("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,s.jsx)(a.VF,{children:(0,s.jsx)(l.A,{className:"size-4"})})}),(0,s.jsx)(a.p4,{children:r})]})}function g(e){let{className:t,...r}=e;return(0,s.jsx)(a.PP,{"data-slot":"select-scroll-up-button",className:(0,d.cn)("flex cursor-default items-center justify-center py-1",t),...r,children:(0,s.jsx)(n.A,{className:"size-4"})})}function f(e){let{className:t,...r}=e;return(0,s.jsx)(a.wn,{"data-slot":"select-scroll-down-button",className:(0,d.cn)("flex cursor-default items-center justify-center py-1",t),...r,children:(0,s.jsx)(i.A,{className:"size-4"})})}},55573:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BlogDetail:()=>u});var s=r(47808),a=r(14569),i=r(84612),l=r(95626),n=r(18355),d=r(65958),o=r(68442),c=r(96393);function m(e){let{items:t}=e;return(0,s.jsx)("nav",{className:"text-muted-foreground flex items-center text-sm md:px-3",children:t.map((e,t)=>{let r=e.is_active;return(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsxs)(c.N_,{href:e.url||"",className:"hover:text-foreground line-clamp-1 flex min-w-8 items-center gap-2 transition-colors ".concat(r?"text-primary hover:text-primary font-medium":""),children:[e.icon&&(0,s.jsx)(d.LK,{name:e.icon,className:"size-4"}),e.title]}
1),!r&&(0,s.jsx)(o.A,{className:"text-muted-foreground/40 mx-2 h-4 w-4"})]},t)})})}function u(e){let{post:t}=e,r=(0,n.c3)("pages.blog.messages"),o=[{title:r("crumb"),url:"/blog",icon:"Newspaper",is_active:!1},{title:t.title||"",url:"/blog/".concat(t.slug),is_active:!0}],c=t.toc&&t.toc.length>0,u=t.author_name||t.author_image||t.author_role;return(0,s.jsx)(a.TOCProvider,{toc:t.toc||[],children:(0,s.jsx)("section",{id:t.id,children:(0,s.jsx)("div",{className:"py-24 md:py-32",children:(0,s.jsxs)("div",{className:"mx-auto w-full max-w-7xl px-6 md:px-8",children:[(0,s.jsx)(m,{items:o}),(0,s.jsxs)("div",{className:"mt-16 text-center",children:[(0,s.jsx)("h1",{className:"text-foreground mx-auto mb-4 w-full text-3xl font-bold md:max-w-4xl md:text-4xl",children:t.title}),(0,s.jsx)("div",{className:"text-muted-foreground text-md mb-8 flex items-center justify-center gap-4",children:t.created_at&&(0,s.jsxs)("div",{className:"text-muted-foreground text-md mb-8 flex items-center justify-center gap-2",children:[(0,s.jsx)(i.A,{className:"size-4"})," ",t.created_at]})})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-8 md:mt-12 lg:grid-cols-12",children:[c&&(0,s.jsx)("div",{className:"lg:col-span-3",children:(0,s.jsx)("div",{className:"sticky top-24 hidden md:block",children:(0,s.jsxs)("div",{className:"bg-muted/30 rounded-lg p-4",children:[(0,s.jsxs)("h2",{className:"text-foreground mb-4 flex items-center gap-2 font-semibold",children:[(0,s.jsx)(l.A,{className:"size-4"})," ",r("toc")]}),(0,s.jsx)(a.TOCItems,{})]})})}),(0,s.jsx)("div",{className:c&&u?"lg:col-span-6":c||u?"lg:col-span-9":"lg:col-span-12",children:(0,s.jsx)("article",{className:"p-0",children:t.body?(0,s.jsx)("div",{className:"docs text-foreground text-md space-y-4 font-normal *:leading-relaxed",children:t.body}):t.content&&(0,s.jsx)("div",{className:"prose prose-lg text-muted-foreground max-w-none space-y-6 *:leading-relaxed",children:(0,s.jsx)(d.G8,{content:t.content})})})}),u&&(0,s.jsx)("div",{className:"lg:col-span-3",children:(0,s.jsx)("div",{className:"sticky top-24",children:(0,s.jsx)("div",{className:"bg-muted/30 rounded-lg p-6",children:(0,s.jsxs)("div",{className:"text-center",children:[t.author_image&&(0,s.jsx)("div",{className:"ring-foreground/10 mx-auto mb-4 aspect-square size-20 overflow-hidden rounded-xl border border-transparent shadow-md ring-1 shadow-black/15",children:(0,s.jsx)("img",{src:t.author_image,alt:t.author_name,className:"h-full w-full object-cover"})}),t.author_name&&(0,s.jsx)("p",{className:"text-foreground mb-1 text-lg font-semibold",children:t.author_name}),t.author_role&&(0,s.jsx)("p",{className:"text-muted-foreground mb-4 text-sm",children:t.author_role})]})})})})]})]})})})})}r(79043)},63326:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FeaturesMedia:()=>n});var s=r(47808),a=r(24309),i=r(65958),l=r(57169);function n(e){var t,r,n,d,o;let{section:c}=e,m="right"===(c.image_position||"left");return(0,s.jsx)("section",{id:c.id||c.name,className:(0,l.cn)("py-16 md:py-24",c.className),children:(0,s.jsx)("div",{className:"container flex flex-col items-center justify-center space-y-8 px-6 md:space-y-16",children:(0,s.jsxs)(a.P.div,{className:(0,l.cn)("grid items-center gap-6 sm:grid-cols-2 md:gap-12 lg:gap-24",m&&"sm:[&>*:first-child]:order-2 sm:[&>*:last-child]:order-1"),initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6,ease:[.22,1,.36,1]},children:[(0,s.jsx)(a.P.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.5,delay:.2,ease:[.22,1,.36,1]},children:(0,s.jsx)(i.oD,{src:null!=(d=null==(t=c.image)?void 0:t.src)?d:"",className:"rounded-2xl",alt:null!=(o=null==(r=c.image)?void 0:r.alt)?o:""})}),(0,s.jsxs)(a.P.div,{className:"relative space-y-4",initial:{opacity:0,x:m?-20:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:.3,ease:[.22,1,.36,1]},children:[(0,s.jsx)("h2",{className:"text-xl font-medium md:text-lg lg:text-lg",children:c.title}),(0,s.jsx)("p",{className:"text-muted-foreground text-md",children:c.description}),(0,s.jsx)("div",{className:"mt-8 flex flex-wrap gap-4",children:null==(n=c.items)?void 0:n.map(e=>(0,s.jsxs)("div",{children:[(0,s.jsxs)("h3",{className:"mb-2 flex items-center gap-2 text-sm",children:[(0,s.jsx)(i.LK,{name:e.icon,size:16}),e.title]}),(0,s.jsx)("p",{className:"text-muted-foreground text-sm",children:e.description})]},e.title))})]})]})})})}},65287:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ShowcasesFlow:()=>h});var s=r(47808),a=r(71500),i=r(24309),l=r(12271),n=r(85170),d=r(20017),o=r(68442),c=r(96393),m=r(65958),u=r(18512),x=r(67202),p=r(57169);function h(e){var t,r,h,g;let{section:f,className:b}=e,v=f.groups||[],[j,y]=(0,a.useState)(v.length>0?v[0].name:""),[N,w]=(0,a.useState)(null),_=(0,a.useMemo)(()=>f.items?j&&v.length&&"all"!==j?f.items.filter(e=>e.group===j):f.items:[],[f.items,j,v.length]),k=(0,a.useCallback)(()=>{w(e=>{var t;return null!==e?0===e?(null!=(t=_.length)?t:1)-1:e-1:null})},[_.length]),z=(0,a.useCallback)(()=>{w(e=>{var t;return null!==e?e===(null!=(t=_.length)?t:1)-1?0:e+1:null})},[_.length]);return(0,a.useEffect)(()=>{let e=e=>{null!==N&&("Escape"===e.key&&w(null),"ArrowLeft"===e.key&&k(),"ArrowRight"===e.key&&z())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[N,k,z]),(0,s.jsxs)("section",{id:f.id||f.name,className:(0,p.cn)("py-24 md:py-36",f.className,b),children:[(0,s.jsxs)(i.P.div,{className:"container mb-12 text-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:[.22,1,.36,1]},children:[f.sr_only_title&&(0,s.jsx)("h1",{className:"sr-only",children:f.sr_only_title}),(0,s.jsx)("h2",{className:"mx-auto mb-6 max-w-full text-3xl font-bold text-pretty md:max-w-5xl lg:text-4xl",children:f.title}),(0,s.jsx)("p",{className:"text-muted-foreground text-md mx-auto mb-4 line-clamp-3 max-w-full md:max-w-5xl",children:f.description}),f.buttons&&f.buttons.length>0&&(0,s.jsx)("div",{className:"container mx-auto mt-8 mb-12 flex flex-wrap justify-center gap-4",children:f.buttons.map(e=>(0,s.jsx)(x.$,{variant:e.variant||"default",size:e.size||"sm",asChild:!0,children:(0,s.jsxs)(c.N_,{href:e.url||"",target:e.target||"_self",children:[e.icon&&(0,s.jsx)(u.L,{name:e.icon}),e.title]})},e.title))})]}),v.length>0&&(0,s.jsx)(i.P.div,{className:"container mb-12 flex flex-wrap justify-center gap-4",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.15,ease:[.22,1,.36,1]},children:v.map((e,t)=>{let r=j===e.name;return(0,s.jsx)(i.P.button,{onClick:()=>y(e.name),className:(0,p.cn)("relative rounded-lg px-3 py-1.5 text-sm font-medium transition-all",r?"":"border-border bg-background text-foreground hover:bg-accent hover:text-accent-foreground border"),initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.4,delay:.2+.1*t,ease:[.22,1,.36,1]},whileHover:{scale:1.05},whileTap:{scale:.95},children:r?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"bg-primary absolute inset-0 rounded-lg p-[2px]",children:(0,s.jsx)("span",{className:"bg-background block h-full w-full rounded-[calc(0.5rem-2px)]"})}),(0,s.jsx)("span",{className:"bg-primary relative z-10 bg-clip-text text-transparent",children:e.title})]}):(0,s.jsx)("span",{children:e.title})},e.name)})}),_.length>0?(0,s.jsx)("div",{className:"container mx-auto columns-1 gap-4 space-y-4 sm:columns-2 lg:columns-3 xl:columns-4",children:_.map((e,t)=>{var r,a,l,n;return(0,s.jsxs)(i.P.div,{className:"group relative cursor-zoom-in break-inside-avoid overflow-hidden rounded-xl",onClick:()=>w(t),initial:{opacity:0,y:30,scale:.95},whileInView:{opacity:1,y:0,scale:1},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,delay:.1*t,ease:[.22,1,.36,1]},whileHover:{scale:1.02},children:[(0,s.jsx)(m.oD,{src:null!=(l=null==(r=e.image)?void 0:r.src)?l:"",alt:null!=(n=null==(a=e.image)?void 0:a.alt)?n:"",className:"h-auto w-full transition-transform duration-300 group-hover:scale-105",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 25vw"}),(0,s.jsxs)("div",{className:"absolute inset-0 flex flex-col justify-end bg-black/60 p-6 opacity-0 transition-opacity duration-300 group-hover:opacity-100",children:[(0,s.jsx)("h3",{className:"mb-2 translate-y-4 text-sm font-medium text-white transition-transform duration-300 group-hover:translate-y-0",children:e.title}),e.button&&(0,s.jsx)("div",{className:"mt-3 translate-y-4 transition-transform delay-100 duration-300 group-hover:translate-y-0",onClick:e=>e.stopPropagation(),children:(0,s.jsx)(x.$,{asChild:!0,variant:e.button.variant||"default",size:e.button.size||"sm",className:"bg-primary hover:bg-primary/90 text-primary-foreground h-8 w-full border-0 px-1 py-1.5 text-sm font-medium",children:(0,s.jsxs)(c.N_,{href:e.button.url||"",target:e.button.target||"_self",children:[e.button.icon&&(0,s.jsx)(u.L,{name:e.button.icon}),e.button.title]})})})]})]},t)})}):(0,s.jsx)(i.P.div,{className:"text-muted-foreground container text-center",initial:{opacity:0}
1,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.4},children:"No items found in this category."}),(0,s.jsx)(l.N,{children:null!==N&&_&&_.length>0&&(0,s.jsxs)(i.P.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-center justify-center bg-black/90 p-4 backdrop-blur-sm md:p-8",onClick:()=>w(null),children:[(0,s.jsx)("button",{className:"absolute top-4 right-4 z-50 text-white/70 transition-colors hover:text-white",onClick:()=>w(null),children:(0,s.jsx)(n.A,{className:"size-8"})}),(0,s.jsx)("button",{className:"absolute top-1/2 left-4 z-50 -translate-y-1/2 rounded-full bg-black/20 p-2 text-white/70 transition-colors hover:bg-black/40 hover:text-white",onClick:e=>{e.stopPropagation(),k()},children:(0,s.jsx)(d.A,{className:"size-8 md:size-12"})}),(0,s.jsx)("button",{className:"absolute top-1/2 right-4 z-50 -translate-y-1/2 rounded-full bg-black/20 p-2 text-white/70 transition-colors hover:bg-black/40 hover:text-white",onClick:e=>{e.stopPropagation(),z()},children:(0,s.jsx)(o.A,{className:"size-8 md:size-12"})}),(0,s.jsx)(i.P.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.2},className:"relative flex h-full w-full items-center justify-center",onClick:e=>e.stopPropagation(),children:(0,s.jsxs)("div",{className:"relative max-h-full max-w-full overflow-hidden rounded-lg",children:[(0,s.jsx)(m.oD,{src:null!=(h=null==(t=_[N].image)?void 0:t.src)?h:"",alt:null!=(g=null==(r=_[N].image)?void 0:r.alt)?g:"",className:"h-auto max-h-[90vh] w-auto max-w-full object-contain"}),(0,s.jsxs)("div",{className:"absolute right-0 bottom-0 left-0 bg-gradient-to-t from-black/80 via-black/50 to-transparent p-6 text-white",children:[(0,s.jsx)("h3",{className:"mb-2 text-2xl font-bold",children:_[N].title}),_[N].description&&(0,s.jsx)("p",{className:"line-clamp-3 text-base text-white/90",children:_[N].description}),_[N].button&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(x.$,{asChild:!0,variant:_[N].button.variant||"default",size:_[N].button.size||"default",className:"bg-primary hover:bg-primary/90 h-8 border-0 px-3 py-1.5 text-sm font-medium text-white",children:(0,s.jsxs)(c.N_,{href:_[N].button.url||"",target:_[N].button.target||"_self",children:[_[N].button.icon&&(0,s.jsx)(u.L,{name:_[N].button.icon,className:"text-white"}),_[N].button.title]})})})]})]})},N)]})})]})}},65958:(e,t,r)=>{"use strict";r.d(t,{FQ:()=>d,GA:()=>x.ImageUploader,oD:()=>u.LazyImage,$B:()=>o.LocaleDetector,YC:()=>c.LocaleSelector,G8:()=>p.MarkdownPreview,dK:()=>a.Pagination,TS:()=>g.SignUser,LK:()=>s.L,GC:()=>m.ThemeToggler});var s=r(18512),a=r(60632),i=r(47808),l=r(43040),n=r(96393);function d(e){let{brand:t}=e;return(0,i.jsxs)(n.N_,{href:t.url||"",target:t.target||"_self",className:"flex items-center gap-3 ".concat(t.className||""),children:[t.logo&&(0,i.jsx)(l.default,{src:t.logo.src,alt:t.title?"":t.logo.alt||"",width:t.logo.width||80,height:t.logo.height||80,className:"h-8 w-auto rounded-lg",unoptimized:t.logo.src.startsWith("http")}),t.title&&(0,i.jsx)("span",{className:"font-serif text-lg font-semibold tracking-tight md:text-xl",children:t.title})]})}var o=r(71724),c=r(23661);r(24411);var m=r(36153);r(9106),r(95784),r(67202),r(24218);var u=r(73489),x=r(8997),p=r(93559);let h=new(r(34730)).A({html:!0,linkify:!0,breaks:!0});h.renderer.rules.heading_open=function(e,t){let r=e[t].markup.length,s=e[t+1];if(s&&"inline"===s.type){let e=s.content.toLowerCase().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-").replace(/(^-|-$)/g,"");return"<h".concat(r,' id="').concat(e,'">')}return"<h".concat(r,">")},h.renderer.rules.link_open=function(e,t,r,s,a){let i=e[t];if(i.attrIndex("href")>=0){let e=i.attrGet("href");i.attrSet("rel","nofollow"),e&&(e.startsWith("http://")||e.startsWith("https://"))&&i.attrSet("target","_blank")}return a.renderToken(e,t,r)},r(72358),r(71500),r(39470),r(10780),r(78984);var g=r(45e3);r(85819),r(55690)},69706:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Showcases:()=>u});var s=r(47808),a=r(71500),i=r(43040),l=r(24309),n=r(96393),d=r(18512),o=r
1(67202),c=r(5784),m=r(57169);function u(e){let{section:t,className:r}=e,u=t.groups||[],[x,p]=(0,a.useState)(u.length>0?u[0].name:""),h=(0,a.useMemo)(()=>t.items?x&&u.length&&"all"!==x?t.items.filter(e=>e.group===x):t.items:[],[t.items,x,u.length]);return(0,s.jsxs)("section",{id:t.id||t.name,className:(0,m.cn)("py-24 md:py-36",t.className,r),children:[(0,s.jsxs)(l.P.div,{className:"container mb-12 text-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:[.22,1,.36,1]},children:[t.sr_only_title&&(0,s.jsx)("h1",{className:"sr-only",children:t.sr_only_title}),(0,s.jsx)("h2",{className:"mx-auto mb-6 max-w-full text-3xl font-bold text-pretty md:max-w-5xl lg:text-4xl",children:t.title}),(0,s.jsx)("p",{className:"text-muted-foreground text-md mx-auto mb-4 max-w-full md:max-w-5xl",children:t.description})]}),u.length>0&&(0,s.jsx)(l.P.div,{className:"container mb-12 flex flex-wrap justify-center gap-4",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.15,ease:[.22,1,.36,1]},children:u.map((e,t)=>{let r=x===e.name;return(0,s.jsx)(l.P.button,{onClick:()=>p(e.name),className:(0,m.cn)("relative rounded-lg px-3 py-1.5 text-sm font-medium transition-all",r?"":"border-border bg-background text-foreground hover:bg-accent hover:text-accent-foreground border"),initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.4,delay:.2+.1*t,ease:[.22,1,.36,1]},whileHover:{scale:1.05},whileTap:{scale:.95},children:r?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"bg-primary absolute inset-0 rounded-lg p-[2px]",children:(0,s.jsx)("span",{className:"bg-background block h-full w-full rounded-[calc(0.5rem-2px)]"})}),(0,s.jsx)("span",{className:"bg-primary relative z-10 bg-clip-text text-transparent",children:e.title})]}):(0,s.jsx)("span",{children:e.title})},e.name)})}),(0,s.jsx)("div",{className:"container grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:h.length>0?h.map((e,t)=>{var r,a,m,u,x;let p=!!e.button,h=(0,s.jsx)(l.P.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,delay:.1*t,ease:[.22,1,.36,1]},children:(0,s.jsx)(c.Zp,{className:"dark:hover:shadow-primary/10 overflow-hidden p-0 transition-all hover:shadow-lg",children:(0,s.jsxs)(c.Wu,{className:"p-0",children:[(0,s.jsx)(l.P.div,{className:"relative aspect-16/10 w-full overflow-hidden",whileHover:{scale:1.05},transition:{duration:.3},children:(0,s.jsx)(i.default,{src:null!=(m=null==(r=e.image)?void 0:r.src)?m:"",alt:null!=(u=null==(a=e.image)?void 0:a.alt)?u:"",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",fill:!0,className:"rounded-t-lg object-cover transition-transform duration-300"})}),(0,s.jsxs)("div",{className:"p-6",children:[(0,s.jsx)("h3",{className:"mb-2 line-clamp-1 text-xl font-semibold text-balance",children:e.title}),(0,s.jsx)("p",{className:"text-muted-foreground line-clamp-3 text-sm",dangerouslySetInnerHTML:{__html:null!=(x=e.description)?x:""}}),p&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(o.$,{asChild:!0,variant:e.button.variant||"default",size:e.button.size||"sm",className:"bg-primary hover:bg-primary/90 h-8 w-full border-0 px-3 py-1.5 text-sm font-medium text-white",children:(0,s.jsxs)(n.N_,{href:e.button.url||"",target:e.button.target||"_self",children:[e.button.icon&&(0,s.jsx)(d.L,{name:e.button.icon,className:"text-white"}),e.button.title]})})})]})]})})});return p?(0,s.jsx)("div",{children:h},t):(0,s.jsx)(n.N_,{href:e.url||"",target:e.target,children:h},t)}):(0,s.jsx)(l.P.div,{className:"text-muted-foreground col-span-full text-center",initial:{opacity:0}
1,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.4},children:"No items found in this category."})})]})}},72100:(e,t,r)=>{"use strict";r.d(t,{i:()=>d});var s=r(47808),a=r(71500),i=r(40116),l=r(22977),n=r(24309);function d(e){let{children:t,className:r="",delay:d=0,direction:o="up",stagger:c=!1}=e,m=(0,a.useRef)(null),[u,x]=(0,a.useState)(!1),p=(0,i.W)(m,{once:!0,margin:"-50px"}),h=(0,l.I)();(0,a.useEffect)(()=>{x(!0)},[]);let g=u&&h,f={opacity:0,...(()=>{switch(o){case"up":default:return{y:30,x:0};case"down":return{y:-30,x:0};case"left":return{x:30,y:0};case"right":return{x:-30,y:0}}})(),filter:"blur(4px)"},b={opacity:1,x:0,y:0,filter:"blur(0px)"},v={hidden:f,visible:{...b,transition:{duration:.6*!g,ease:[.22,1,.36,1]}}};return c?(0,s.jsx)(n.P.div,{ref:m,variants:{hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1*!g,delayChildren:g?0:d}}},initial:"hidden",animate:g||p?"visible":"hidden",className:r,children:a.Children.map(t,e=>(0,s.jsx)(n.P.div,{variants:v,children:e}))}):(0,s.jsx)(n.P.div,{ref:m,initial:f,animate:g||p?b:f,transition:{duration:.6*!g,delay:g?0:d,ease:[.22,1,.36,1]},className:r,children:t})}},74826:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FeaturesFlow:()=>n});var s=r(47808),a=r(24309),i=r(65958),l=r(57169);function n(e){let{section:t}=e;return t.items&&0!==t.items.length?(0,s.jsxs)("section",{id:t.id||t.name,className:(0,l.cn)("py-16 md:py-24",t.className),children:[(0,s.jsxs)(a.P.div,{className:"container mb-12 text-center",...{initial:{opacity:0,y:20,filter:"blur(6px)"},animate:{opacity:1,y:0,filter:"blur(0px)"},transition:{duration:.6,delay:0,ease:[.22,1,.36,1]}},children:[t.sr_only_title&&(0,s.jsx)("h1",{className:"sr-only",children:t.sr_only_title}),(0,s.jsx)("h2",{className:"mx-auto mb-6 max-w-full text-3xl font-bold text-pretty md:max-w-5xl lg:text-4xl",children:t.title}),(0,s.jsx)("p",{className:"text-muted-foreground text-md mx-auto mb-4 max-w-full md:max-w-5xl",children:t.description})]}),(0,s.jsx)("div",{className:"container flex flex-col items-center justify-center space-y-8 px-6 md:space-y-16",children:t.items.map((e,t)=>{var r,n,d,o;let c="right"===e.image_position;return(0,s.jsxs)(a.P.div,{className:(0,l.cn)("grid items-center gap-6 py-16 sm:grid-cols-2 md:gap-12 lg:gap-24",c&&"sm:[&>*:first-child]:order-2 sm:[&>*:last-child]:order-1"),initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6,delay:.15*t,ease:[.22,1,.36,1]},children:[(0,s.jsx)(a.P.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.5,delay:.15*t+.2,ease:[.22,1,.36,1]},children:(0,s.jsx)(i.oD,{src:null!=(d=null==(r=e.image)?void 0:r.src)?d:"",className:"rounded-2xl",alt:null!=(o=null==(n=e.image)?void 0:n.alt)?o:""})}),(0,s.jsxs)(a.P.div,{className:"relative space-y-4",initial:{opacity:0,x:c?-20:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:.15*t+.3,ease:[.22,1,.36,1]},children:[(0,s.jsx)("h3",{className:"text-xl font-medium md:text-2xl lg:text-2xl",children:e.title}),(0,s.jsx)("p",{className:"text-muted-foreground",children:e.description})]})]},t)})})]}):null}},77452:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Subscribe:()=>u});var s=r(47808),a=r(71500),i=r(73801),l=r(21008),n=r(14715),d=r(31963),o=r(67202),c=r(72100),m=r(57169);function u(e){var t,r,u;let{section:x,className:p}=e,[h,g]=(0,a.useState)(""),[f,b]=(0,a.useState)(!1),v=async()=>{var e;if(h&&(null==(e=x.submit)?void 0:e.action))try{b(!0);let e=await fetch(x.submit.action,{method:"POST",body:JSON.stringify({email:h})});if(!e.ok)throw Error("request failed with status ".concat(e.status));let{code:t,message:r,data:s}=await e.json();if(0!==t)throw Error(r);b(!1),r&&d.oR.success(r)}catch(e){b(!1),d.oR.error(e.message||"subscribe failed")}};return(0,s.jsx)("section",{id:x.id,className:(0,m.cn)("py-16 md:py-24",x.className,p),children:(0,s.jsx)("div",{className:"mx-auto max-w-5xl px-6",children:(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)(c.i,{children:(0,s.jsx)("h2",{className:"text-4xl font-semibold text-balance lg:text-5xl",children:x.title})}),(0,s.jsx)(c.i,{delay:.15,children:(0,s.jsx)("p",{className:"mt-4",children:x.description})}),(0,s.jsx)(c.i,{delay:.3,children:(0,s.jsx)("div",{className:"mx-auto mt-10 max-w-xl overflow-hidden lg:mt-12",children:(0,s.jsxs)("div",{className:"bg-background has-[input
1:focus]:ring-muted relative grid grid-cols-[1fr_auto] items-center overflow-hidden rounded-[calc(var(--radius)+0.75rem)] border pr-3 shadow shadow-zinc-950/5 has-[input:focus]:ring-2",children:[(0,s.jsx)(i.A,{className:"text-caption pointer-events-none absolute inset-y-0 left-5 my-auto size-5"}),(0,s.jsx)("input",{placeholder:(null==(r=x.submit)||null==(t=r.input)?void 0:t.placeholder)||"Enter your email",className:"h-14 w-full bg-transparent pl-12 focus:outline-none",type:"email",required:!0,"aria-required":"true","aria-invalid":!h,"aria-describedby":"email-error",value:h,onChange:e=>g(e.target.value)}),(null==(u=x.submit)?void 0:u.button)&&(0,s.jsx)("div",{className:"md:pr-1.5 lg:pr-0",children:(0,s.jsxs)(o.$,{"aria-label":"submit",className:"rounded-(--radius)",onClick:v,disabled:f,type:"submit",children:[f?(0,s.jsx)(l.A,{className:"animate-spin"}):(0,s.jsx)("span",{className:"hidden md:block",children:x.submit.button.title}),(0,s.jsx)(n.A,{className:"relative mx-auto size-5 md:hidden",strokeWidth:2})]})})]})})})]})})})}},77456:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Tabs:()=>m});var s=r(47808),a=r(71500),i=r(96393),l=r(71768),n=r(57169);let d=a.forwardRef((e,t)=>{let{className:r,children:a,...i}=e;return(0,s.jsxs)(l.bL,{ref:t,className:(0,n.cn)("relative overflow-hidden",r),...i,children:[(0,s.jsx)(l.LM,{className:"h-full w-full rounded-[inherit]",children:a}),(0,s.jsx)(o,{}),(0,s.jsx)(l.OK,{})]})});d.displayName=l.bL.displayName;let o=a.forwardRef((e,t)=>{let{className:r,orientation:a="vertical",...i}=e;return(0,s.jsx)(l.VM,{ref:t,orientation:a,className:(0,n.cn)("flex touch-none select-none transition-colors","vertical"===a&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===a&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",r),...i,children:(0,s.jsx)(l.lr,{className:"relative flex-1 rounded-full bg-border"})})});o.displayName=l.VM.displayName;var c=r(29650);function m(e){var t;let{tabs:r,size:l}=e,m=(0,i.rd)(),[u,x]=(0,a.useState)((null==r||null==(t=r.find(e=>e.is_active))?void 0:t.name)||""),[p,h]=(0,a.useState)({});return(0,a.useEffect)(()=>{if(u){let e=(null==r?void 0:r.find(e=>e.name===u))||{};e.url&&m.push(e.url)}},[u]),(0,s.jsx)("div",{className:"relative mb-8",children:(0,s.jsxs)(d,{className:"w-full lg:max-w-none",children:[(0,s.jsx)("div",{className:"flex items-center space-x-2",children:(0,s.jsx)(c.tU,{value:u,onValueChange:x,children:(0,s.jsx)(c.j7,{className:(0,n.cn)("sm"===l&&"h-8"),children:r.map((e,t)=>(0,s.jsx)(c.Xi,{value:e.name||"",children:e.title},t))})})}),(0,s.jsx)(o,{orientation:"horizontal",className:"invisible"})]})})}},78975:(e,t,r)=>{"use strict";r.d(t,{Highlighter:()=>n});var s=r(47808),a=r(71500),i=r(40116),l=r(48276);function n(e){let{children:t,action:r="highlight",color:n="#ffd1dc",strokeWidth:d=1.5,animationDuration:o=600,iterations:c=2,padding:m=2,multiline:u=!0,isView:x=!1}=e,p=(0,a.useRef)(null),h=(0,a.useRef)(null),g=(0,i.W)(p,{once:!0,margin:"-10%"}),f=!x||g;return(0,a.useEffect)(()=>{if(!f)return;let e=p.current;if(!e)return;let t=(0,l.f)(e,{type:r,color:n,strokeWidth:d,animationDuration:o,iterations:c,padding:m,multiline:u});h.current=t,h.current.show();let s=new ResizeObserver(()=>{t.hide(),t.show()});return s.observe(e),s.observe(document.body),()=>{e&&((0,l.f)(e,{type:r}).remove(),s.disconnect())}},[f,r,n,d,o,c,m,u]),(0,s.jsx)("span",{ref:p,className:"relative inline-block bg-transparent",children:t})}},79043:()=>{},82646:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Header:()=>u});var s=r(47808),a=r(71500),i=r(73561),l=r(85170),n=r(96393),d=r(65958),o=r(10780),c=r(87631),m=r(57169);function u(e){let{header:t}=e,[r,u]=(0,a.useState)(!1),[x,p]=(0,a.useState)(!1),h=(0,a.useRef)(!1),g=(0,a.useRef)(null),f=function(e){let[t,r]=(0,a.useState)(!0);return(0,a.useEffect)(()=>{let t=window.matchMedia(e);r(t.matches);let s=()=>r(t.matches);return t.addEventListener("change",s),()=>{t.removeEventListener("change",s)}},[e]),t}("(min-width: 64rem)"),b=(0,n.a8)();function v(e){let{title:t,description:r,children:a,href:i,target:l,...d}=e;return(0,s.jsx)("li",{...d,children:(0,s.jsxs)(n.N_,{href:i,target:l||"_self",className:"hover:bg-background grid grid-cols-[auto_1fr] gap-3.5 rounded-[1rem] px-2 py-2 transition-colors",children:[(0,s.jsx)("div",{className:"border-border/70 bg-background text-primary relative flex size-10 items-center justify-center rounded-full border shadow-sm",children:a}),(0,s.jsxs)("div",{className:"space-y-0.5",children:[(0,s.jsx)("div",{className:"text-foreground text-sm font-semibold tracking-tight",children:t}),(0,s.jsx)("p",{className:"text-muted-foreground line-clamp-1 text-xs",children:r})]})]})})}return(0,a.useEffect)(()=>{let e=()=>{null==g.current&&(g.current=window.requestAnimationFrame(()=>{g.current=null;let e=window.scrollY>50;e!==h.current&&(h.current=e,p(e))}))};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e),null!=g.current&&(window.cancelAnimationFrame(g.current),g.current=null)}},[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("header",{"data-state":r?"active":"inactive",...x&&{"data-scrolled":!0},className:"fixed inset-x-0 top-0 z-50 has-data-[state=open]:h-screen",children:(0,s.jsx)("div",{className:(0,m.cn)("absolute inset-x-0 top-0 z-50 transition-all duration-300","bg-background/72 border-b border-dashed border-transparent backdrop-blur","in-data-scrolled:border-border/80 in-data-scrolled:bg-background/88","has-data-[state=open]:border-border/80 has-data-[state=open]:bg-background/95 has-data-[state=open]:shadow-lg","max-lg:overflow-hidden max-lg:in-data-[state=active]:h-screen"),children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"relative flex flex-wrap items-center justify-between py-3 lg:py-5",children:[(0,s.jsxs)("div",{className:"max-lg:border-border/80 flex justify-between gap-8 max-lg:h-14 max-lg:w-full max-lg:border-b max-lg:border-dashed",children:[t.brand&&(0,s.jsx)(d.FQ,{brand:t.brand}),f&&(0,s.jsx)(()=>{var e,r;return(0,s.jsx)("nav",{className:"hidden items-center gap-2 lg:flex",children:null==(r=t.nav)||null==(e=r.items)?void 0:e.map((e,t)=>{var r;return e.children&&0!==e.children.length?(0,s.jsxs)(c.rI,{modal:!1,children:[(0,s.jsx)(c.ty,{asChild:!0,children:(0,s.jsxs)("button",{type:"button",className:"text-foreground
1/72 hover:bg-card hover:text-foreground flex items-center gap-2 rounded-full px-3 py-2 text-sm font-semibold tracking-[0.04em] whitespace-nowrap transition-colors",children:[e.icon&&(0,s.jsx)(d.LK,{name:e.icon,className:"h-4 w-4"}),e.title,(0,s.jsx)("span",{className:"text-xs",children:"â"})]})}),(0,s.jsx)(c.SQ,{align:"center",sideOffset:10,className:"border-border/80 bg-card/95 min-w-[26rem] rounded-[1.5rem] border p-3 shadow-lg backdrop-blur",children:(0,s.jsx)("ul",{className:"mt-1 space-y-2",children:null==(r=e.children)?void 0:r.map((e,t)=>(0,s.jsx)(v,{href:e.url||"",target:e.target||"_self",title:e.title||"",description:e.description||"",children:e.icon&&(0,s.jsx)(d.LK,{name:e.icon})},t))})})]},t):(0,s.jsxs)(n.N_,{href:e.url||"",target:e.target||"_self",className:"flex flex-row flex-nowrap items-center gap-2 rounded-full px-3 py-2 text-sm font-semibold tracking-[0.04em] whitespace-nowrap [&_svg]:shrink-0 ".concat(e.is_active||b.endsWith(e.url)?"bg-primary/10 text-primary":"text-foreground/72 hover:bg-card hover:text-foreground"),children:[e.icon&&(0,s.jsx)(d.LK,{name:e.icon}),e.title]},t)})})},{}),(0,s.jsxs)("button",{onClick:()=>u(!r),"aria-label":!0==r?"Close Menu":"Open Menu",className:"relative z-20 -m-2.5 -mr-3 block cursor-pointer p-2.5 lg:hidden",children:[(0,s.jsx)(i.A,{className:"m-auto size-5 duration-200 in-data-[state=active]:scale-0 in-data-[state=active]:rotate-180 in-data-[state=active]:opacity-0"}),(0,s.jsx)(l.A,{className:"absolute inset-0 m-auto size-5 scale-0 -rotate-180 opacity-0 duration-200 in-data-[state=active]:scale-100 in-data-[state=active]:rotate-0 in-data-[state=active]:opacity-100"})]})]}),!f&&r&&(0,s.jsx)(e=>{var r,a;let{closeMenu:i}=e;return(0,s.jsx)("nav",{role:"navigation",className:"w-full [--color-border:--alpha(var(--color-foreground)/5%)] [--color-muted:--alpha(var(--color-foreground)/5%)]",children:(0,s.jsx)(o.Accordion,{type:"single",collapsible:!0,className:"-mx-4 mt-0.5 space-y-2 **:hover:no-underline",children:null==(a=t.nav)||null==(r=a.items)?void 0:r.map((e,t)=>{var r;return(0,s.jsx)(o.AccordionItem,{value:e.title||"",className:"group relative border-b-0 before:pointer-events-none before:absolute before:inset-x-4 before:bottom-0 before:border-b",children:e.children&&e.children.length>0?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.AccordionTrigger,{className:"border-border/70 bg-card/80 data-[state=open]:bg-background flex items-center justify-between rounded-[1.25rem] border px-4 py-4 text-base font-semibold tracking-tight **:!font-normal",children:e.title}),(0,s.jsx)(o.AccordionContent,{className:"pb-4",children:(0,s.jsx)("ul",{children:null==(r=e.children)?void 0:r.map((e,t)=>(0,s.jsx)("li",{children:(0,s.jsxs)(n.N_,{href:e.url||"",onClick:i,className:"grid grid-cols-[auto_1fr] items-center gap-2.5 px-4 py-3",children:[(0,s.jsx)("div",{"aria-hidden":!0,className:"flex items-center justify-center *:size-4",children:e.icon&&(0,s.jsx)(d.LK,{name:e.icon})}),(0,s.jsx)("div",{className:"text-base",children:e.title})]})},t))})})]}):(0,s.jsx)(n.N_,{href:e.url||"",onClick:i,className:"border-border/70 bg-card/80 flex items-center justify-between rounded-[1.25rem] border px-4 py-4 text-base font-semibold tracking-tight **:!font-normal",children:e.title})},t)})})})},{closeMenu:()=>u(!1)}),(0,s.jsx)("div",{className:"mb-6 hidden w-full flex-wrap items-center justify-end space-y-8 in-data-[state=active]:flex max-lg:in-data-[state=active]:mt-6 md:flex-nowrap lg:m-0 lg:flex lg:w-fit lg:gap-6 lg:space-y-0 lg:border-transparent lg:bg-transparent lg:p-0 lg:shadow-none dark:shadow-none dark:lg:bg-transparent",children:(0,s.jsxs)("div",{className:"flex w-full flex-row items-center gap-4 sm:flex-row sm:gap-6 sm:space-y-0 md:w-fit",children:[t.buttons&&t.buttons.map((e,t)=>(0,s.jsxs)(n.N_,{href:e.url||"",target:e.target||"_self",className:(0,m.cn)("focus-visible:ring-ring inline-flex items-center justify-center gap-2 rounded-full text-sm font-semibold tracking-[0.04em] whitespace-nowrap transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50","h-10 px-4 ring-0","outline"===e.variant?"border-border bg-card text-foreground hover:bg-background border duration-200":"bg-primary text-primary-foreground hover:bg-primary/90 border-primary/30 shadow-primary/20 border shadow-md"),children:[e.icon&&(0,s.jsx)(d.LK,{name:e.icon,className:"size-4"}),(0,s.jsx)("span",{children:e.title})]},t)),t.show_theme?(0,s.jsx)(d.GC,{}):null,t.show_locale?(0,s.jsx)(d.YC,{}):null,(0,s.jsx)("div",{className:"flex-1 md:hidden"}),t.show_sign?(0,s.jsx)(d.TS,{userNav:t.user_nav}):null]})})]})})})})})}},85227:(e,t,r)=>{"use strict";r.d(t,{E:()=>d});var s=r(47808);r(71500);var a=r(59310),i=r(15921),l=r(57169);let n=(0,i.F)("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 d(e){let{className:t,variant:r,asChild:i=!1,...d}=e,o=i?a.DX:"span";return(0,s.jsx)(o,{"data-slot":"badge",className:(0,l.cn)(n({variant:r}),t),...d})}},87544:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Logos:()=>n});var s=r(47808),a=r(65958),i=r(72100),l=r(57169);function n(e){var t;let{section:r,className:n}=e;return(0,s.jsx)("section",{id:r.id,className:(0,l.cn)("py-16 md:py-24",r.className,n),children:(0,s.jsxs)("div",{className:"mx-auto max-w-5xl px-6",children:[(0,s.jsx)(i.i,{children:(0,s.jsx)("p",{className:"text-md text-center font-medium",children:r.title})}),(0,s.jsx)(i.i,{delay:.2,children:(0,s.jsx)("div",{className:"mx-auto mt-12 flex max-w-4xl flex-wrap items-center justify-center gap-x-12 gap-y-8 sm:gap-x-16 sm:gap-y-12",children:null==(t=r.items)?void 0:t.map((e,t)=>{var r,i,l,n;return(0,s.jsx)(a.oD,{className:"h-8 w-fit dark:invert",src:null!=(l=null==(r=e.image)?void 0:r.src)?l:"",alt:null!=(n=null==(i=e.image)?void 0:i.alt)?n:""},t)})})})]})})}},92938:(e,t,r)=>{"use strict";function s(e){if("undefined"==typeof document)return"";let t="; ".concat(document.cookie).split("; ".concat(e,"="));if(2===t.length){var r;return(null==(r=t.pop())?void 0:r.split(";").shift())||""}return""}function a(e,t,r){if("undefined"==typeof document)return;let s="";if(r){let e=new Date;e.setTime(e.getTime()+24*r*36e5),s="; expires=".concat(e.toUTCString())}document.cookie="".concat(e,"=").concat(t).concat(s,"; path=/")}
1r.d(t,{Ri:()=>s,TV:()=>a})},93968:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FeaturesStep:()=>d});var s=r(47808),a=r(90811),i=r(65958),l=r(72100),n=r(57169);function d(e){var t;let{section:r,className:d}=e;return(0,s.jsx)("section",{id:r.id,className:(0,n.cn)("py-16 md:py-24",r.className,d),children:(0,s.jsx)("div",{className:"m-4 rounded-[2rem]",children:(0,s.jsxs)("div",{className:"@container relative container",children:[(0,s.jsx)(l.i,{children:(0,s.jsxs)("div",{className:"mx-auto max-w-2xl text-center",children:[(0,s.jsx)("span",{className:"text-primary",children:r.label}),(0,s.jsx)("h2",{className:"text-foreground mt-4 text-4xl font-semibold",children:r.title}),(0,s.jsx)("p",{className:"text-muted-foreground mt-4 text-lg text-balance",children:r.description})]})}),(0,s.jsx)(l.i,{delay:.2,children:(0,s.jsx)("div",{className:"mt-20 grid gap-12 @3xl:grid-cols-4",children:null==(t=r.items)?void 0:t.map((e,t)=>{var l,n;return(0,s.jsx)("div",{className:"space-y-6",children:(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("span",{className:"mx-auto flex size-6 items-center justify-center rounded-full bg-zinc-500/15 text-sm font-medium",children:t+1}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"mx-auto my-6 w-fit",children:e.icon&&(0,s.jsx)(i.LK,{name:e.icon,size:24})}),t<(null!=(n=null==(l=r.items)?void 0:l.length)?n:0)-1&&(0,s.jsx)(a.A,{className:"fill-muted stroke-primary absolute inset-y-0 right-0 my-auto mt-1 hidden translate-x-[150%] drop-shadow @3xl:block"})]}),(0,s.jsx)("h3",{className:"text-foreground mb-4 text-lg font-semibold",children:e.title}),(0,s.jsx)("p",{className:"text-muted-foreground text-balance",children:e.description})]})},t)})})})]})})})}}}]);
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.