PageSourceSearch

https://youraihunt.com/_next/static/chunks/35874-0007dbbba1015a5b.js

js youraihunt.com collected 2026-10-05 22:44:19 UTC 116,972 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[35874],{5784:(e,t,r)=>{"use strict";r.d(t,{BT:()=>o,Wu:()=>c,X9:()=>d,ZB:()=>n,Zp:()=>l,aR:()=>i,wL:()=>m});var s=r(47808);r(71500);var a=r(57169);function l(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 i(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 o(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 d(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),l=r(72100),i=r(57169);function n(e){var t;let{section:r,className:n}=e;return(0,s.jsx)("section",{id:r.id,className:(0,i.cn)("py-16 md:py-24",r.className,n),children:(0,s.jsxs)("div",{className:"container space-y-8 md:space-y-16",children:[(0,s.jsx)(l.i,{children:(0,s.jsxs)("div",{className:"mx-auto max-w-4xl 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)(l.i,{delay:.2,children:(0,s.jsx)("div",{className:"relative mx-auto grid divide-x divide-y border *:p-12 sm:grid-cols-2 lg:grid-cols-3",children:null==(t=r.items)?void 0:t.map((e,t)=>(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(a.L,{name:e.icon,size:24}),(0,s.jsx)("h3",{className:"text-sm font-medium",children:e.title})]}),(0,s.jsx)("p",{className:"text-sm",children:e.description})]},t))})})]})})}},6804:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Testimonials:()=>i});var s=r(47808),a=r(65958),l=r(72100);function i(e){var t;let{section:r,className:i}=e,n=e=>{var t,r,l,i;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==(l=n.image)?void 0:l.alt)||(null==(i=n.avatar)?void 0:i.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(i),children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsx)(l.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)(l.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:()=>i});var s=r(47808),a=r(10780),l=r(72100);function i(e){var t;let{section:r,className:i}=e;return(0,s.jsx)("section",{id:r.id,className:"py-16 md:py-24 ".concat(i),children:(0,s.jsxs)("div",{className:"mx-auto max-w-full px-4 md:max-w-3xl md:px-8",children:[(0,s.jsx)(l.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)(l.i,{delay:.2,children:(0,s.jsxs)("div",{className:"mx-auto mt-12 max-w-full",children:[(0,s.jsx)(a.Accordion,{type:"single",collapsible:!0,className:"bg-muted dark:bg-muted/50 w-full rounded-2xl p-1",children:null==(t=r.items)?void 0:t.map((e,t)=>(0,s.jsxs)("div",{className:"group",children:[(0,s.jsxs)(a.AccordionItem,{value:e.question||e.title||"",className:"data-[state=open]:bg-card dark:data-[state=open]:bg-muted peer rounded-xl border-none px-7 py-1 data-[state=open]:border-none data-[state=open]:shadow-sm",children:[(0,s.jsx)(a.AccordionTrigger,{className:"cursor-pointer text-base hover:no-underline",children:e.question||e.title||""}),(0,s.jsx)(a.AccordionContent,{children:(0,s.jsx)("p",{className:"text-base",children:e.answer||e.description||""})})]}),(0,s.jsx)("hr",{className:"mx-7 border-dashed group-last:hidden peer-data-[state=open]:opacity-0"})]},t))}),(0,s.jsx)("p",{className:"text-muted-foreground mt-6 px-8",dangerouslySetInnerHTML:{__html:r.tip||""}})]})})]})})}},13613:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AIToolsHero:()=>o});
1var s=r(47808),a=r(26706),l=r(18355),i=r(96393),n=r(57169);function o(e){let{className:t,totalTools:r=500,totalCategories:o=8}=e,d=(0,l.c3)("ai-tools.hero");return(0,s.jsx)("section",{className:(0,n.cn)("bg-background relative py-6 md:py-8",t),children:(0,s.jsx)("div",{className:"relative mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"mb-4 inline-flex",children:(0,s.jsxs)("div",{className:"border-primary/30 bg-primary/10 text-primary relative inline-flex items-center gap-2 rounded-full border px-3 py-1.5 text-xs backdrop-blur-sm",children:[(0,s.jsxs)("span",{className:"relative flex h-2 w-2",children:[(0,s.jsx)("span",{className:"bg-primary absolute inline-flex h-full w-full animate-ping rounded-full opacity-75"}),(0,s.jsx)("span",{className:"bg-primary relative inline-flex h-2 w-2 rounded-full"})]}),(0,s.jsx)("span",{className:"font-medium",children:d("badge",{totalTools:r})})]})}),(0,s.jsxs)("h1",{className:"text-foreground mb-3 text-3xl font-bold tracking-tight sm:text-4xl md:text-5xl",children:[d("title"),
1(0,s.jsxs)("span",{className:"text-primary",children:[" ",d("title_highlight")]})]}),(0,s.jsx)("p",{className:"text-muted-foreground mx-auto mb-6 max-w-2xl text-center text-base md:text-lg",children:d("subtitle",{totalCategories:o})}),(0,s.jsx)("div",{className:"mt-4 flex justify-center",children:(0,s.jsxs)(i.N_,{href:"/ai-tools/submit",className:(0,n.cn)("group inline-flex items-center gap-2","rounded-full border px-5 py-2.5 text-sm font-semibold","bg-primary text-primary-foreground","shadow-lg","hover:scale-105 hover:shadow-xl","transition-all duration-300"),children:[(0,s.jsx)(a.A,{className:"h-4 w-4"}),(0,s.jsx)("span",{children:"Submit Your Tool"})]})}),(0,s.jsxs)("div",{className:"mt-6 flex flex-wrap items-center justify-center gap-6 text-xs",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("div",{className:"bg-accent flex h-2 w-2 rounded-full"}),(0,s.jsx)("span",{className:"text-muted-foreground",children:d("stats.tools",{count:r})})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("div",{className:"bg-primary flex h-2 w-2 rounded-full"}),(0,s.jsx)("span",{className:"text-muted-foreground",children:d("stats.categories",{count:o})})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("div",{className:"bg-primary flex h-2 w-2 rounded-full"}),(0,s.jsx)("span",{className:"text-muted-foreground",children:(0,s.jsx)("span",{className:"text-foreground font-semibold",children:d("stats.daily_update")})})]})]})]})})})}},15846:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Pricing:()=>A});var s=r(47808),a=r(71500),l=r(21008),i=r(47706),n=r(97326),o=r(18355),d=r(31963),c=r(96393),m=r(65958),x=r(67202),u=r(47974),h=r(83817),p=r(89602),g=r(26924),f=r(43040),b=r(74748),v=r(57169);function j(e){let{configs:t,callbackUrl:r,loading:i,setLoading:m,pricingItem:u,onCheckout:h,className:g}=e;(0,o.c3)("common.payment"),(0,c.rd)();let{setIsShowPaymentModal:j}=(0,p.U)(),[N,y]=(0,a.useState)(null);if(r){let e=(0,n.Ym)();e!==b.q&&r.startsWith("/")&&!r.startsWith("/".concat(e))&&(r="/".concat(e).concat(r))}let w=async e=>{let{provider:t}=e;return t?u?void h(u,t):void d.oR.error("please select a pricing item"):void d.oR.error("please select payment method")},k=null==u?void 0:u.payment_providers,_=e=>!k||0===k.length||k.includes(e),C=[];return"true"===t.stripe_enabled&&_("stripe")&&C.push({name:"stripe",title:"Stripe",icon_url:"/imgs/icons/stripe.png",onClick:()=>w({provider:"stripe"})}),"true"===t.creem_enabled&&_("creem")&&C.push({name:"creem",title:"Creem",icon_url:"/imgs/icons/creem.png",onClick:()=>w({provider:"creem"})}),"true"===t.paypal_enabled&&_("paypal")&&C.push({name:"paypal",title:"Paypal",icon_url:"/imgs/icons/paypal.svg",onClick:()=>w({provider:"paypal"})}),(0,s.jsx)("div",{className:(0,v.cn)("flex w-full items-center gap-2","flex-col justify-between",g),children:C.map(e=>(0,s.jsxs)(x.$,{variant:"outline",className:(0,v.cn)("w-full gap-2"),disabled:i,onClick:()=>{if(!e.onClick||!e.name)return void d.oR.error("invalid payment method");y(e.name),e.onClick()},children:[e.icon_url&&(0,s.jsx)(f.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&&i&&(0,s.jsx)(l.A,{className:"size-4 animate-spin"})]},e.name))})}function N(e){let{isLoading:t,pricingItem:r,onCheckout:a}=e,l=(0,o.c3)("common.payment"),{isShowPaymentModal:i,setIsShowPaymentModal:n}=(0,p.U)(),{configs:d}=(0,p.U)();return(0,g.U)("(min-width: 768px)")?(0,s.jsx)(u.lG,{open:i,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:l("choose_payment_method")}),(0,s.jsx)(u.rr,{children:l("choose_payment_method_description")})]}),(0,s.jsx)(j,{callbackUrl:"/",configs:d,loading:t,setLoading:()=>{},pricingItem:r,onCheckout:a})]})}):(0,s.jsx)(h._s,{open:i,onOpenChange:n,children:(0,s.jsxs)(h.zj,{children:[(0,s.jsxs)(h.BE,{className:"text-left",children:[(0,s.jsx)(h.gk,{children:l("choose_payment_method")}),(0,s.jsx)(h.I6,{children:l("choose_payment_method_description")})]}),(0,s.jsx)(j,{callbackUrl:"/",configs:d,loading:t,setLoading:()=>{},pricingItem:r,onCheckout:a,className:"px-4"}),(0,s.jsx)(h.tb,{className:"pt-4",children:(0,s.jsx)(h.cp,{asChild:!0,children:(0,s.jsx)(x.$,{variant:"outline",children:l("cancel_title")})})})]})})}var y=r(85227),w=r(5784),k=r(51022),_=r(29650),C=r(92938);function z(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 A(e){var t,r,u;let{section:h,className:g}=e,f=(0,n.Ym)(),b=(0,o.c3)("pages.pricing.messages"),{user:j,isShowPaymentModal:A,setIsShowSignModal:L,setIsShowPaymentModal:S,configs:T}=(0,p.U)(),[P,U]=(0,a.useState)(()=>{var e,t,r;let s=null==(e=h.items)?void 0:e[0];return(null==s?void 0:s.group)||(null==(r=h.groups)||null==(t=r[0])?void 0:t.name)||""}),[I,F]=(0,a.useState)(null),[E,R]=(0,a.useState)(!1),[M,V]=(0,a.useState)(null),[D,$]=(0,a.useState)({});(0,a.useEffect)(()=>
1{if(h.items&&h.items.length>0){let e={};h.items.forEach(t=>{let r=z(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()),l=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:l}}),$(e)}},[h.items,f]);let W=async e=>{var t;if(!j)return void L(!0);let r=(null==(t=D[e.product_id])?void 0:t.displayedItem)||e;"true"===T.select_payment_enabled?(F(r),S(!0)):q(r,T.default_payment_provider)},q=async(e,t)=>{try{if(!j)return void L(!0);let r=(e=>{let{paymentProvider:t}=e,r={};return"true"===T.promotekit_enabled&&["stripe"].includes(t)&&(r.promotekit_referral=window.promotekit_referral?window.promotekit_referral:(0,C.Ri)("promotekit_referral")||""),r})({paymentProvider:t||""}),s={product_id:e.product_id,currency:e.currency,locale:f||"en",payment_provider:t||"",metadata:r};R(!0),V(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){R(!1),V(null),F(null),L(!0);return}if(!a.ok)throw Error("request failed with status ".concat(a.status));let{code:l,message:i,data:n}=await a.json();if(0!==l)throw Error(i);let{checkoutUrl:o}=n;if(!o)throw Error("checkout url not found");window.open(o,"_blank","noopener,noreferrer")}catch(e){console.log("checkout failed: ",e),d.oR.error("checkout failed: "+e.message),R(!1),V(null)}};return(0,a.useEffect)(()=>{if(h.items){var e;let t=h.items.find(e=>e.is_featured);V((null==t?void 0:t.product_id)||(null==(e=h.items[0])?void 0:e.product_id)),R(!1)}},[h.items]),(0,s.jsxs)("section",{id:h.id,className:(0,v.cn)("py-24 md:py-36",h.className,g),children:[(0,s.jsxs)("div",{className:"mx-auto mb-12 px-4 text-center md:px-8",children:[h.sr_only_title&&(0,s.jsx)("h1",{className:"sr-only",children:h.sr_only_title}),(0,s.jsx)("h2",{className:"mb-6 text-3xl font-bold text-pretty lg:text-4xl",children:h.title}),(0,s.jsx)("p",{className:"text-muted-foreground mx-auto mb-4 max-w-xl lg:max-w-none lg:text-lg",children:h.description})]}),(0,s.jsxs)("div",{className:"container",children:[h.groups&&h.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)(_.tU,{value:P,onValueChange:U,className:"",children:(0,s.jsx)(_.j7,{children:h.groups.map((e,t)=>(0,s.jsxs)(_.Xi,{value:e.name||"",children:[e.title,e.label&&(0,s.jsx)(y.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=h.items)||null==(t=r.filter(e=>!e.group||e.group===P))?void 0:t.length),children:null==(u=h.items)?void 0:u.map((e,t)=>{var r,a,n,o,d,u,p,g;if(e.group&&e.group!==P)return null;let f=D[e.product_id],j=(null==f?void 0:f.displayedItem)||e,N=(null==f?void 0:f.selectedCurrency)||e.currency,y=z(e);return(0,s.jsxs)(w.Zp,{className:"relative",children:[e.label&&(0,s.jsx)("span",{className:"bg-primary text-primary-foreground absolute inset-x-0 -top-3 mx-auto flex h-6 w-fit items-center rounded-full px-3 py-1 text-xs font-medium 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:[j.original_price&&(0,s.jsx)("span",{className:"text-muted-foreground text-sm line-through",children:j.original_price}),(0,s.jsxs)("div",{className:"my-3 block text-2xl font-semibold",children:[(0,s.jsx)("span",{className:"text-primary",children:j.price})," ",j.unit?(0,s.jsx)("span",{className:"text-muted-foreground text-sm font-normal",children:j.unit}):""]}),y.length>1&&(0,s.jsxs)(k.l6,{value:N,onValueChange:t=>((e,t)=>{var r;let s=null==(r=h.items)?void 0:r.find(t=>t.product_id===e);if(!s)return;let a=z(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};$(s=>({...s,[e]:{selectedCurrency:t,displayedItem:r}}))}})(e.product_id,t),children:[(0,s.jsx)(k.bq,{size:"sm",className:"border-muted-foreground
1/30 bg-background/50 h-6 min-w-[60px] px-2 text-xs",children:(0,s.jsx)(k.yv,{placeholder:"Currency"})}),(0,s.jsx)(k.gC,{children:y.map(e=>(0,s.jsx)(k.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}),(null==(r=e.button)?void 0:r.url)?(0,s.jsx)(x.$,{asChild:!0,disabled:E,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:(0,s.jsxs)(c.N_,{href:e.button.url,children:[(null==(a=e.button)?void 0:a.icon)&&(0,s.jsx)(m.LK,{name:null==(n=e.button)?void 0:n.icon,className:"size-4"}),(0,s.jsx)("span",{className:"block",children:null==(o=e.button)?void 0:o.title})]})}):(0,s.jsx)(x.$,{onClick:()=>W(e),disabled:E,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:E&&e.product_id===M?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.A,{className:"size-4 animate-spin"}),(0,s.jsx)("span",{className:"block",children:b("processing")})]}):(0,s.jsxs)(s.Fragment,{children:[(null==(d=e.button)?void 0:d.icon)&&(0,s.jsx)(m.LK,{name:null==(u=e.button)?void 0:u.icon,className:"size-4"}),(0,s.jsx)("span",{className:"block",children:null==(p=e.button)?void 0:p.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==(g=e.features)?void 0:g.map((e,t)=>(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)(i.A,{className:"size-3"}),e]},t))})]})]},t)})})]}),(0,s.jsx)(N,{isLoading:E,pricingItem:I,onCheckout:(e,t)=>q(e,t)})]})}},15889:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Stats:()=>l});var s=r(47808),a=r(72100);function l(e){var t;let{section:r,className:l}=e;return(0,s.jsx)("section",{id:r.id,className:"py-12 md:py-24 ".concat(r.className," ").concat(l),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:()=>d});var s=r(47808),a=r(96393),l=r(18512),i=r(67202),n=r(72100),o=r(57169);function d(e){var t,r;let{section:d,className:c}=e;return(0,s.jsx)("section",{id:d.id,className:(0,o.cn)("py-16 md:py-24",d.className,c),children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)(n.i,{children:(0,s.jsx)("h2",{className:"text-4xl font-semibold text-balance lg:text-5xl",children:d.title})}),(0,s.jsx)(n.i,{delay:.15,children:(0,s.jsx)("p",{className:"mt-4",dangerouslySetInnerHTML:{__html:null!=(r=d.description)?r:""}})}),(0,s.jsx)(n.i,{delay:.3,children:(0,s.jsx)("div",{className:"mt-12 flex flex-wrap justify-center gap-4",children:null==(t=d.buttons)?void 0:t.map((e,t)=>(0,s.jsx)(i.$,{asChild:!0,size:e.size||"default",variant:e.variant||"default",children:(0,s.jsxs)(a.N_,{href:e.url||"",target:e.target||"_self",children:[e.icon&&(0,s.jsx)(l.L,{name:e.icon}),(0,s.jsx)("span",{children:e.title})]})},t))})})]})})})}},25597:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AIToolModal:()=>I});var s=r(47808),a=r(71500),l=r(54845),i=r(85170),n=r(12271),o=r(24309),d=r(95784),c=r.n(d),m=r(43774),x=r(68442),u=r(63452),h=r(76879),p=r(28301),g=r(2667),f=r(84612),b=r(38726),v=r(56602),j=r(23770),N=r(79568),y=r(62665),w=r(65958),k=r(80161),_=r(57169),C=r(76226),z=r(32145),A=r(51173),L=r(32091),S=r(96393);async function T(e){let{categoryName:t,className:r,locale:a}=e,l=(await (0,y.$)({locale:a,namespace:"ai-tools.detail"}))("back_to_tools");return(0,s.jsx)("div",{className:(0,_.cn)("flex items-center",r),children:(0,s.jsxs)(S.N_,{href:"/",className:"text-muted-foreground hover:text-foreground hover:bg-muted/50 -mx-3 inline-flex items-center gap-2 rounded-md px-3 py-2 text-sm transition-colors",children:[(0,s.jsx)(L.A,{className:"h-4 w-4"}),(0,s.jsx)("span",{children:l})]})})}function P(e){let{className:t}=e;return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1200 1227",fill:"none",className:t,children:(0,s.jsx)("path",{fill:"currentColor",d:"M714.163 519.284 1160.89 0h-105.86L667.137 450.887 357.328 0H0l468.492 681.821L0 1226.37h105.866l409.625-476.152 327.181 476.152H1200L714.137 519.284zM569.165 687.828l-47.468-67.894-377.686-540.24h162.604l304.797 435.991 47.468 67.894 396.2 566.721H892.476L569.165 687.854z"})})}async function U(e){var t,r;let{tool:a,similarTools:l=[],locale:i,adSidebar:n,adBannerMobile:o,nativeBanner:d}=e,L=await (0,y.$)({locale:i,namespace:"ai-tools.modal"}
1),S={free:{label:L("pricing_types.free"),color:"bg-accent/10 text-accent border-accent/20"},freemium:{label:L("pricing_types.freemium"),color:"bg-primary/10 text-primary border-primary/20"},paid:{label:L("pricing_types.paid"),color:"bg-primary/10 text-primary border-primary/20"},paid_free_trial:{label:L("pricing_types.paid_free_trial"),color:"bg-chart-4/10 text-chart-4 border-chart-4/20"}},U=e=>("string"==typeof e?new Date(e):e).toLocaleDateString("en-US",{year:"numeric",month:"2-digit",day:"2-digit"}).replace(/\//g,"/");return(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsxs)("nav",{className:"mb-6 flex items-center gap-2 text-sm",children:[(0,s.jsx)(c(),{href:"/",className:"text-muted-foreground hover:text-foreground inline-flex items-center gap-1 transition-colors",children:(0,s.jsx)(m.A,{className:"h-4 w-4"})}),(0,s.jsx)(x.A,{className:"text-muted-foreground h-4 w-4"}),a.category&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c(),{href:"/category/".concat(a.categorySlug||a.category),className:"text-muted-foreground hover:text-foreground transition-colors",children:a.category}),(0,s.jsx)(x.A,{className:"text-muted-foreground h-4 w-4"})]}),(0,s.jsx)("span",{className:"text-foreground truncate font-medium",children:a.name})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,s.jsxs)("div",{className:"space-y-8 lg:col-span-2",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"mb-4 flex gap-5",children:[(0,s.jsx)("div",{className:"shrink-0",children:(0,s.jsx)(A.ToolLogo,{src:a.logo,alt:a.name,website:a.website,slug:a.slug,size:64,className:"rounded-lg"})}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsxs)("div",{className:"mb-2 flex flex-wrap items-center gap-3",children:[(0,s.jsx)("h1",{className:"text-foreground text-3xl font-semibold",children:a.name}),a.featured&&(0,s.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-gradient-to-r from-amber-500 to-orange-400 px-3 py-1 text-xs font-bold text-white shadow-md",children:[(0,s.jsx)("svg",{className:"h-3 w-3",fill:"currentColor",viewBox:"0 0 20 20",children:(0,s.jsx)("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),"Featured"]})]}),(0,s.jsx)("p",{className:"text-muted-foreground text-base leading-relaxed",children:a.description})]})]}),(0,s.jsx)("div",{className:"mb-4 flex flex-wrap items-center gap-3 text-sm",children:(0,s.jsx)("span",{className:(0,_.cn)("inline-flex items-center rounded-md border px-2 py-0.5 text-xs font-medium",null==(t=S[a.pricing])?void 0:t.color),children:null==(r=S[a.pricing])?void 0:r.label})}),(0,s.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,s.jsxs)("a",{href:"".concat(a.website,"?utm_source=your_ai_hunt"),target:"_blank",rel:"noopener noreferrer",className:"border-primary/50 bg-primary/5 text-primary hover:bg-primary/10 hover:border-primary/60 inline-flex cursor-pointer items-center gap-2 rounded-md border px-4 py-2 text-sm font-medium transition-colors",children:[(0,s.jsx)(u.A,{className:"h-4 w-4"}),L("visit_website")]}),(0,s.jsx)(z.ShareButton,{toolName:a.name,toolDescription:a.description})]})]}),a.screenshots&&a.screenshots.length>0&&(0,s.jsx)("div",{className:"lg:hidden",children:(0,s.jsx)(k.HeroCarousel,{screenshots:a.screenshots.map(e=>({url:e}))})}),a.youtubeUrl&&(0,s.jsxs)("div",{className:"border-border/50 bg-muted/30 rounded-2xl border p-6",children:[(0,s.jsxs)("h3",{className:"text-foreground mb-4 flex items-center gap-2 text-sm font-semibold",children:[(0,s.jsx)(h.A,{className:"h-5 w-5"}),L("details.video")]}),(0,s.jsx)("div",{className:"relative w-full",style:{paddingBottom:"56.25%"},children:(()=>{let e=function(e){try{let t=new URL(e);if("www.youtube.com"===t.hostname||"youtube.com"===t.hostname){let e=t.searchParams.get("v");if(e)return"https://www.youtube.com/embed/".concat(e)}else if("youtu.be"===t.hostname){let e=t.pathname.slice(1);if(e)return"https://www.youtube.com/embed/".concat(e)}return null}catch(e){return null}}(a.youtubeUrl);return e?(0,s.jsx)("iframe",{src:e,title:"".concat(a.name," 演示视频"),allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"absolute top-0 left-0 h-full w-full rounded-lg"}):(0,s.jsx)("div",{className:"bg-muted absolute top-0 left-0 flex h-full w-full items-center justify-center rounded-lg",children:(0,s.jsx)("p",{className:"text-muted-foreground",children:"视频加载失败"})})})()})]}),a.longDescription&&(0,s.jsx)("div",{className:"border-border/50 bg-muted/30 rounded-2xl border p-6",children:(0,s.jsx)("div",{className:"prose prose-sm dark:prose-invert max-w-none",children:(0,s.jsx)(w.G8,{content:a.longDescription})})}),d,(0,s.jsx)(T,{categoryName:a.category,className:"mb-4",locale:i}),(0,s.jsxs)("div",{className:"space-y-6 lg:hidden",children:[(0,s.jsxs)("div",{className:"border-border/50 bg-muted/30 space-y-4 rounded-2xl border p-6",children:[(0,s.jsx)("h3",{className:"text-foreground text-sm font-semibold",children:L("details.information")}),(a.publisher||a.publisherAvatar)&&(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[a.publisherAvatar?(0,s.jsx)("div",{className:"bg-muted mt-0.5 h-5 w-5 shrink-0 overflow-hidden rounded-full",children:(0,s.jsx)("img",{src:a.publisherAvatar,alt:a.publisher||"Publisher",className:"h-full w-full object-cover"})}):(0,s.jsx)(p.A,{className:"text-muted-foreground mt-0.5 h-5 w-5 shrink-0"}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("p",{className:"text-muted-foreground text-xs",children:L("details.publisher")}),(0,s.jsx)("p",{className:"text-foreground truncate text-sm font-medium",children:a.publisher||"Unknown"})]})]}),(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)(g.A,{className:"text-muted-foreground mt-0.5 h-5 w-5 shrink-0"}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("p",{className:"text-muted-foreground text-xs",children:L("details.website")}),(0,s.jsx)("a",{href:"".concat(a.website,"?utm_source=your_ai_hunt"),target:"_blank",rel:"noopener noreferrer",className:"text-primary block truncate text-sm font-medium hover:underline",children:a.website.replace(/^https?:\/\//,"").replace(/\/$/,"")})]})]}),a.createdAt&&(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)(f.A,{className:"text-muted-foreground mt-0.5 h-5 w-5 shrink-0"}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("p",{className:"text-muted-foreground text-xs",children:L("details.published_date")}),(0,s.jsx)("p",{className:"text-foreground text-sm font-medium",children:U(a.createdAt)})]})]})]}),a.category&&(0,s.jsxs)("div",{className:"border-border/50 bg-muted/30 rounded-2xl border p-6",children:[(0,s.jsx)("h3",{className:"text-foreground mb-3 text-sm font-semibold",children:L("details.categories")}),(0,s.jsxs)(c(),{href:"/category/".concat(a.categorySlug||a.category),className:"text-primary inline-flex items-center gap-1.5 text-sm hover:underline",children:[(0,s.jsx)(b.A,{className:"h-4 w-4"}),a.category]})]}),a.tags&&a.tags.length>0&&(0,s.jsxs)("div",{className:"border-border/50 bg-muted/30 rounded-2xl border p-6",children:[(0,s.jsxs)("h3",{className:"text-foreground mb-3 flex items-center gap-2 text-sm font-semibold",children:[(0,s.jsx)(v.A,{className:"h-4 w-4"}),L("details.tags")]}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:a.tags.map((e,t)=>(0,s.jsxs)("span",{className:"border-border bg-background text-muted-foreground hover:border-primary/50 hover:bg-primary/5 hover:text-primary inline-flex cursor-default items-center rounded-full border px-3 py-1 text-sm transition-colors",children:["#",e]},t))})]}),(a.xUsername||a.linkedinUrl)&&(0,s.jsxs)("div",{className:"border-border/50 bg-muted/30 rounded-2xl border p-6",children:[(0,s.jsxs)("h3",{className:"text-foreground mb-4 flex items-center gap-2 text-sm font-semibold",children:[(0,s.jsx)(j.A,{className:"h-5 w-5"}),L("details.social")]}),(0,s.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row",children:[a.xUsername&&(0,s.jsxs)("a",{href:"https://x.com/".concat(a.xUsername.startsWith("@")?a.xUsername.slice(1):a.xUsername),target:"_blank",rel:"noopener noreferrer",className:"border-border/50 bg-background hover:border-primary/50 hover:bg-primary/5 flex items-center gap-2 rounded-lg border p-3 transition-all",children:[(0,s.jsx)(P,{className:"text-foreground h-5 w-5"}),(0,s.jsx)("span",{className:"text-foreground text-sm font-medium",children:a.xUsername})]}),a.linkedinUrl&&(0,s.jsxs)("a",{href:a.linkedinUrl,target:"_blank",rel:"noopener noreferrer",className:"border-border/50 bg-background hover:border-primary/50 hover:bg-primary/5 flex items-center gap-2 rounded-lg border p-3 transition-all",children:[(0,s.jsx)(N.A,{className:"text-foreground h-5 w-5"}),(0,s.jsx)("span",{className:"text-foreground text-sm font-medium",children:"LinkedIn"})]})]})]})]}),(0,s.jsx)("div",{className:"lg:hidden",children:o}),l.length>0&&(0,s.jsxs)("section",{className:"border-border border-t pt-8",children:[(0,s.jsx)("h2",{className:"text-foreground mb-4 text-lg font-semibold",children:L("details.similar_tools")}),(0,s.jsx)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-3 xl:grid-cols-3",children:l.map((e,t)=>(0,s.jsx)(C.J,{tool:e,index:t},e.id))})]})]}),(0,s.jsxs)("aside",{className:"space-y-6 lg:col-span-1",children:[a.screenshots&&a.screenshots.length>0&&(0,s.jsx)("div",{className:"hidden lg:block",children:(0,s.jsx)(k.HeroCarousel,{screenshots:a.screenshots.map(e=>({url:e}))})}),(0,s.jsxs)("div",{className:"border-border/50 bg-muted/30 hidden space-y-4 rounded-2xl border p-6 lg:block",children:[(0,s.jsx)("h3",{className:"text-foreground text-sm font-semibold",children:L("details.information")}),(a.publisher||a.publisherAvatar)&&(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[a.publisherAvatar?(0,s.jsx)("div",{className:"bg-muted mt-0.5 h-5 w-5 shrink-0 overflow-hidden rounded-full",children:(0,s.jsx)("img",{src:a.publisherAvatar,alt:a.publisher||"Publisher",className:"h-full w-full object-cover"})}):(0,s.jsx)(p.A,{className:"text-muted-foreground mt-0.5 h-5 w-5 shrink-0"}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("p",{className:"text-muted-foreground text-xs",children:L("details.publisher")}),(0,s.jsx)("p",{className:"text-foreground truncate text-sm font-medium",children:a.publisher||"Unknown"})]})]}),(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)(g.A,{className:"text-muted-foreground mt-0.5 h-5 w-5 shrink-0"}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("p",{className:"text-muted-foreground text-xs",children:L("details.website")}),(0,s.jsx)("a",{href:"".concat(a.website,"?utm_source=your_ai_hunt"),target:"_blank",rel:"noopener noreferrer",className:"text-primary block truncate text-sm font-medium hover:underline",children:a.website.replace(/^https?:\/\//,"").replace(/\/$/,"")})]})]}),a.createdAt&&(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)(f.A,{className:"text-muted-foreground mt-0.5 h-5 w-5 shrink-0"}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("p",{className:"text-muted-foreground text-xs",children:L("details.published_date")}),(0,s.jsx)("p",{className:"text-foreground text-sm font-medium",children:U(a.createdAt)})]})]})]}),a.category&&(0,s.jsxs)("div",{className:"border-border/50 bg-muted/30 hidden rounded-2xl border p-6 lg:block",children:[(0,s.jsx)("h3",{className:"text-foreground mb-3 text-sm font-semibold",children:L("details.categories")}),(0,s.jsxs)(c(),{href:"/category/".concat(a.categorySlug||a.category),className:"text-primary inline-flex items-center gap-1.5 text-sm hover:underline",children:[(0,s.jsx)(b.A,{className:"h-4 w-4"}),a.category]})]}),a.tags&&a.tags.length>0&&(0,s.jsxs)("div",{className:"border-border/50 bg-muted/30 hidden rounded-2xl border p-6 lg:block",children:[(0,s.jsxs)("h3",{className:"text-foreground mb-3 flex items-center gap-2 text-sm font-semibold",children:[(0,s.jsx)(v.A,{className:"h-4 w-4"}),L("details.tags")]}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:a.tags.map((e,t)=>(0,s.jsxs)("span",{className:"border-border bg-background text-muted-foreground hover:border-primary/50 hover:bg-primary/5 hover:text-primary inline-flex cursor-default items-center rounded-full border px-3 py-1 text-sm transition-colors",children:["#",e]},t))})]}),(a.xUsername||a.linkedinUrl)&&(0,s.jsxs)("div",{className:"border-border/50 bg-muted/30 hidden rounded-2xl border p-6 lg:block",children:[(0,s.jsxs)("h3",{className:"text-foreground mb-4 flex items-center gap-2 text-sm font-semibold",children:[(0,s.jsx)(j.A,{className:"h-5 w-5"}),L("details.social")]}),(0,s.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row",children:[a.xUsername&&(0,s.jsxs)("a",{href:"https://x.com/".concat(a.xUsername.startsWith("@")?a.xUsername.slice(1):a.xUsername),target:"_blank",rel:"noopener noreferrer",className:"border-border/50 bg-background hover:border-primary/50 hover:bg-primary/5 flex items-center gap-2 rounded-lg border p-3 transition-all",children:[(0,s.jsx)(P,{className:"text-foreground h-5 w-5"}),(0,s.jsx)("span",{className:"text-foreground text-sm font-medium",children:a.xUsername})]}),a.linkedinUrl&&(0,s.jsxs)("a",{href:a.linkedinUrl,target:"_blank",rel:"noopener noreferrer",className:"border-border/50 bg-background hover:border-primary/50 hover:bg-primary/5 flex items-center gap-2 rounded-lg border p-3 transition-all",children:[(0,s.jsx)(N.A,{className:"text-foreground h-5 w-5"}),(0,s.jsx)("span",{className:"text-foreground text-sm font-medium",children:"LinkedIn"})]})]})]}),(0,s.jsx)("div",{className:"hidden lg:block",children:n})]})]})]})}function I(e){let{tool:t,isOpen:r,onClose:d}=e,c=(0,l.useParams)(),m=(null==c?void 0:c.locale)||"en",[x,u]=(0,a.useState)(t),[h,p]=(0,a.useState)([]);return((0,a.useEffect)(()=>{r&&(null==t?void 0:t.slug)&&(async()=>{try{let e=await fetch("/api/ai-tools/detail",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({slug:t.slug})}),r=await e.json();r.success&&(u(r.data.tool),p(r.data.relatedTools||[]))}catch(e){console.error("Failed to fetch tool details:",e),u(t)}})()},[r,t]),x)?(0,s.jsx)(n.N,{children:r&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},onClick:d,className:"bg-background/80 fixed inset-0 z-50 backdrop-blur-sm"}),(0,s.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:(0,s.jsxs)(o.P.div,{initial:{opacity:0,scale:.95,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:20},transition:{type:"spring",duration:.4,bounce:.3},className:"border-border bg-background relative max-h-[90vh] w-full max-w-3xl overflow-hidden rounded-lg border shadow-lg",children:[(0,s.jsx)("button",{onClick:d,className:"text-muted-foreground hover:bg-muted hover:text-foreground absolute top-4 right-4 z-20 rounded-md p-1.5 transition-colors",children:(0,s.jsx)(i.A,{className:"h-5 w-5"})}),(0,s.jsx)("div",{className:"scrollbar-thin h-[90vh] overflow-y-auto px-6 pt-14 pb-6",children:(0,s.jsx)(U,{tool:x,similarTools:h,locale:m})})]})})]})}):null}},28032:(e,t,r)=>{"use strict";r.d(t,{C:()=>s.TagSelector});var s=r(81402)},29650:(e,t,r)=>{"use strict";r.d(t,{Xi:()=>d,j7:()=>o,tU:()=>n});var s=r(47808),a=r(71500),l=r(87039),i=r(57169);let n=l.bL,o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(l.B8,{ref:t,className:(0,i.cn)("border inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",r),...a})});o.displayName=l.B8.displayName;let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(l.l9,{ref:t,className:(0,i.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})});d.displayName=l.l9.displayName,a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(l.UC,{ref:t,className:(0,i.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=l.UC.displayName},32442:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FeaturesList:()=>d});var s=r(47808),a=r(96393),l=r(65958),i=r(67202),n=r(72100),o=r(57169);function d(e){var t,r,d,c,m,x;let{section:u,className:h}=e;return(0,s.jsx)("section",{className:(0,o.cn)("overflow-x-hidden py-16 md:py-24",u.className,h),children:(0,s.jsxs)("div",{className:"container overflow-x-hidden",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-8 pb-12 md:gap-24",children:[(0,s.jsx)(n.i,{direction:"left",children:(0,s.jsx)("div",{className:"mx-auto w-full max-w-[500px] flex-shrink-0 md:mx-0",children:(0,s.jsx)(l.oD,{src:null!=(m=null==(t=u.image)?void 0:t.src)?m:"",alt:null!=(x=null==(r=u.image)?void 0:r.alt)?x:"",className:"h-auto w-full rounded-lg object-cover"})})}),(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:"text-foreground text-4xl font-semibold text-balance break-words",children:u.title})}),(0,s.jsx)(n.i,{delay:.2,children:(0,s.jsx)("p",{className:"text-md text-muted-foreground my-6 text-balance break-words",children:u.description})}),u.buttons&&u.buttons.length>0&&(0,s.jsx)(n.i,{delay:.3,children:(0,s.jsx)("div",{className:"flex flex-wrap items-center justify-start gap-2",children:null==(d=u.buttons)?void 0:d.map((e,t)=>{var r,n;return(0,s.jsx)(i.$,{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,o.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","h-9 px-4 py-2","bg-background ring-foreground/10 hover:bg-muted/50 dark:ring-foreground/15 dark:hover:bg-muted/50 border border-transparent shadow-sm ring-1 shadow-black/15 duration-200"),children:[e.icon&&(0,s.jsx)(l.LK,{name:e.icon,size:24}),e.title]})},t)})})})]})]}),(0,s.jsx)(n.i,{delay:.1,children:(0,s.jsx)("div",{className:"relative grid min-w-0 grid-cols-1 gap-x-3 gap-y-6 border-t pt-12 break-words sm:grid-cols-2 sm:gap-6 lg:grid-cols-4",children:null==(c=u.items)?void 0:c.map((e,t)=>{var r;return(0,s.jsxs)("div",{className:"min-w-0 space-y-3 break-words",children:[(0,s.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[e.icon&&(0,s.jsx)(l.LK,{name:e.icon,size:16}),(0,s.jsx)("h3",{className:"min-w-0 text-sm font-medium break-words",children:e.title})]}),(0,s.jsx)("p",{className:"text-muted-foreground min-w-0 text-sm break-words",children:null!=(r=e.description)?r:""})]},t)})})})]})})}},32736:(e,t,r)=>{"use strict";
1r.r(t),r.d(t,{ToolDetail:()=>p});var s=r(47808),a=r(71500),l=r(43040),i=r(47706),n=r(23770),o=r(84612),d=r(85170),c=r(79568),m=r(63452),x=r(10827),u=r(67202),h=r(57169);function p(e){let{tool:t}=e,[r,p]=(0,a.useState)(!1),g=async()=>{let e=window.location.href;navigator.share?await navigator.share({title:t.name,url:e}):(await navigator.clipboard.writeText(e),p(!0),setTimeout(()=>p(!1),2e3))};return(0,s.jsx)("div",{className:"container py-12",children:(0,s.jsxs)("div",{className:"mx-auto max-w-4xl",children:[(0,s.jsxs)("div",{className:"mb-8 flex items-start justify-between gap-4",children:[(0,s.jsxs)("div",{className:"flex items-start gap-4",children:[(0,s.jsx)("div",{className:"border-border/50 bg-card relative h-20 w-20 shrink-0 overflow-hidden rounded-2xl border",children:(0,s.jsx)(l.default,{src:t.logo||"/placeholder.svg",alt:t.name,fill:!0,className:"object-contain p-3",unoptimized:!0,onError:e=>{e.currentTarget.src="https://api.dicebear.com/7.x/shapes/svg?seed=".concat(t.slug)}})}),(0,s.jsx)("div",{children:(0,s.jsx)("h1",{className:"text-foreground mb-2 text-3xl font-bold",children:t.name})})]}),(0,s.jsx)("div",{className:"flex gap-2",children:(0,s.jsx)(u.$,{variant:"outline",size:"icon",onClick:g,children:r?(0,s.jsx)(i.A,{className:"h-5 w-5 text-green-500"}):(0,s.jsx)(n.A,{className:"h-5 w-5"})})})]}),(0,s.jsx)("div",{className:"mb-8 flex flex-wrap items-center gap-3",children:(0,s.jsx)("span",{className:(0,h.cn)("inline-flex items-center rounded-full border px-3 py-1 text-sm font-medium",(e=>{switch(e){case"free":return"bg-green-500/10 text-green-400 border-green-500/20";case"freemium":return"bg-blue-500/10 text-blue-400 border-blue-500/20";case"paid":return"bg-primary/10 text-primary border-primary/20";case"paid_free_trial":return"bg-orange-500/10 text-orange-400 border-orange-500/20";default:return"bg-gray-500/10 text-gray-400 border-gray-500/20"}})(t.pricing)),children:(e=>{switch(e){case"free":return"免费";case"freemium":return"免费增值";case"paid":return"付费";case"paid_free_trial":return"试用";default:return e}})(t.pricing)})}),(0,s.jsxs)("div",{className:"border-border/50 bg-card mb-8 rounded-2xl border p-6",children:[(0,s.jsx)("h2",{className:"text-foreground mb-4 text-xl font-semibold",children:"工具简介"}),(0,s.jsx)("p",{className:"text-muted-foreground leading-relaxed",children:t.description})]}),t.youtubeUrl&&(0,s.jsxs)("div",{className:"border-border/50 bg-card mb-8 rounded-2xl border p-6",children:[(0,s.jsx)("h2",{className:"text-foreground mb-4 text-xl font-semibold",children:"产品演示视频"}),(0,s.jsx)("div",{className:"relative w-full",style:{paddingBottom:"56.25%"},children:(()=>{let e=function(e){try{let t=new URL(e);if("www.youtube.com"===t.hostname||"youtube.com"===t.hostname){let e=t.searchParams.get("v");if(e)return"https://www.youtube.com/embed/".concat(e)}else if("youtu.be"===t.hostname){let e=t.pathname.slice(1);if(e)return"https://www.youtube.com/embed/".concat(e)}return null}catch(e){return null}}(t.youtubeUrl);return e?(0,s.jsx)("iframe",{src:e,title:"".concat(t.name," 演示视频"),allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"absolute top-0 left-0 h-full w-full rounded-lg"}):(0,s.jsx)("div",{className:"bg-muted absolute top-0 left-0 flex h-full w-full items-center justify-center rounded-lg",children:(0,s.jsx)("p",{className:"text-muted-foreground",children:"视频加载失败"})})})()})]}),t.longDescription&&(0,s.jsxs)("div",{className:"border-border/50 bg-card mb-8 rounded-2xl border p-6",children:[(0,s.jsx)("h2",{className:"text-foreground mb-4 text-xl font-semibold",children:"详细介绍"}),(0,s.jsx)("p",{className:"text-muted-foreground leading-relaxed",children:t.longDescription})]}),(0,s.jsx)("div",{className:"mb-8 grid gap-6 sm:grid-cols-2",children:(0,s.jsxs)("div",{className:"border-border/50 bg-card rounded-2xl border p-6",children:[(0,s.jsxs)("h3",{className:"text-foreground mb-4 flex items-center gap-2 text-lg font-semibold",children:[(0,s.jsx)(o.A,{className:"h-5 w-5"}),"基本信息"]}),(0,s.jsx)("div",{className:"space-y-3",children:(0,s.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,s.jsx)("span",{className:"text-muted-foreground",children:"添加时间"}),(0,s.jsx)("span",{className:"text-foreground",children:new Date(t.createdAt).toLocaleDateString("zh-CN",{year:"numeric",month:"long",day:"numeric"})})]})})]})}
1),(t.xUsername||t.linkedinUrl)&&(0,s.jsxs)("div",{className:"border-border/50 bg-card mb-8 rounded-2xl border p-6",children:[(0,s.jsxs)("h3",{className:"text-foreground mb-4 flex items-center gap-2 text-lg font-semibold",children:[(0,s.jsx)(n.A,{className:"h-5 w-5"}),"社交媒体"]}),(0,s.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row",children:[t.xUsername&&(0,s.jsxs)("a",{href:"https://x.com/".concat(t.xUsername.startsWith("@")?t.xUsername.slice(1):t.xUsername),target:"_blank",rel:"noopener noreferrer",className:"border-border/50 bg-muted hover:border-primary/50 hover:bg-primary/5 flex items-center gap-2 rounded-lg border p-3 transition-all",children:[(0,s.jsx)(d.A,{className:"text-foreground h-5 w-5"}),(0,s.jsx)("span",{className:"text-foreground text-sm font-medium",children:t.xUsername})]}),t.linkedinUrl&&(0,s.jsxs)("a",{href:t.linkedinUrl,target:"_blank",rel:"noopener noreferrer",className:"border-border/50 bg-muted hover:border-primary/50 hover:bg-primary/5 flex items-center gap-2 rounded-lg border p-3 transition-all",children:[(0,s.jsx)(c.A,{className:"text-foreground h-5 w-5"}),(0,s.jsx)("span",{className:"text-foreground text-sm font-medium",children:"LinkedIn"})]})]})]}),Array.isArray(t.tags)&&t.tags.length>0&&(0,s.jsxs)("div",{className:"border-border/50 bg-card mb-8 rounded-2xl border p-6",children:[(0,s.jsx)("h3",{className:"text-foreground mb-4 flex items-center gap-2 text-lg font-semibold",children:"标签"}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:t.tags.map((e,t)=>(0,s.jsx)("span",{className:"border-border/50 bg-muted hover:bg-primary/5 hover:border-primary/30 inline-flex items-center rounded-full border px-3 py-1.5 text-sm transition-all",children:e},t))})]}),(0,s.jsxs)("div",{className:"mb-8 flex gap-4",children:[(0,s.jsx)(u.$,{asChild:!0,size:"lg",className:"flex-1",children:(0,s.jsxs)("a",{href:t.website,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2",children:["访问官网",(0,s.jsx)(m.A,{className:"h-4 w-4"})]})}),(0,s.jsxs)(u.$,{variant:"outline",size:"lg",onClick:g,className:"flex items-center gap-2",children:[r?(0,s.jsx)(i.A,{className:"h-4 w-4 text-green-500"}):(0,s.jsx)(x.A,{className:"h-4 w-4"}),"分享"]})]})]})})}},35822:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AIToolsDirectoryClient:()=>c});var s=r(47808),a=r(71500),l=r(18355),i=r(57169),n=r(71721),o=r(13613),d=r(76226);function c(e){var t;let{initialTools:r,categories:c,tags:m,totalTools:x,locale:u,className:h,adSidebar:p,adBannerMobile:g,nativeBanner:f}=e,b=(0,l.c3)("ai-tools.directory"),[v,j]=(0,a.useState)(r),[N,y]=(0,a.useState)(!1),[w,k]=(0,a.useState)(!1),[_,C]=(0,a.useState)(1),[z,A]=(0,a.useState)(x),L=(0,a.useRef)(0),[S,T]=(0,a.useState)({searchQuery:"",category:"all",tags:[],pricing:"all",sort:"newest"}),P=v.length<z,U=(0,a.useCallback)((e,t)=>{let r=c.find(e=>e.slug===S.category);return{categoryId:"all"===S.category||null==r?void 0:r.id,searchQuery:S.searchQuery||void 0,tags:S.tags.length>0?S.tags:void 0,pricing:"all"===S.pricing?void 0:S.pricing,sortBy:S.sort,sortOrder:"desc",page:e,limit:t}},[S,c]),I=(0,a.useCallback)(async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];L.current+=1,k(!1),e&&y(!0);try{let e=await fetch("/api/ai-tools/list",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(U(1,48))}),t=await e.json();0===t.code&&(j(t.data.tools),A(t.data.total),C(1))}catch(e){console.error("Failed to fetch tools:",e)}finally{e&&y(!1)}},[U]),F=(0,a.useCallback)(async()=>{if(w||!P)return;let e=L.current;k(!0);try{let t=_+1,r=await fetch("/api/ai-tools/list",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(U(t,48))}),s=await r.json();0===s.code&&e===L.current&&(j(e=>[...e,...s.data.tools]),A(s.data.total),C(t))}catch(e){console.error("Failed to load more tools:",e)}finally{e===L.current&&k(!1)}},[_,w,P,U]),E=(0,a.useCallback)(e=>{T(t=>({...t,...e}))},[]);return(0,a.useEffect)(()=>{""!==S.searchQuery||"all"!==S.category||S.tags.length>0||"all"!==S.pricing||"newest"!==S.sort?I(!1):(j(r),A(x),C(1),L.current+=1,k(!1))},[S,I,r,x]),(0,s.jsxs)("div",{className:(0,i.cn)("bg-background min-h-screen",h),children:[(0,s.jsx)("section",{className:"mx-auto max-w-7xl px-4 py-8 sm:px-6 lg:px-8",children:(0,s.jsxs)("div",{className:"flex gap-6 lg:gap-8",children:[(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)(o.AIToolsHero,{totalTools:x,totalCategories:c.length})}),p&&(0,s.jsx)("div",{className:"hidden lg:block",children:p})]})}),g&&(0,s.jsx)("section",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:hidden lg:px-8",children:g}),(0,s.jsx)(n.AIToolsFilterToolbar,{filters:S,onFiltersChange:E,categories:c}),(0,s.jsxs)("section",{className:"mx-auto max-w-7xl px-4 py-12 sm:px-6 lg:px-8",children:[(0,s.jsxs)("div",{className:"mb-6",children:[(0,s.jsx)("h2",{className:"text-foreground text-2xl font-bold",children:"all"===S.category?b("all_tools"):(null==(t=c.find(e=>e.slug===S.category))?void 0:t.name)||b("search_results")}),(0,s.jsx)("p",{className:"text-muted-foreground mt-1",children:b("found_tools",{count:z})})]}),N?(0,s.jsx)("div",{className:"flex min-h-[400px] items-center justify-center",children:(0,s.jsx)("div",{className:"border-muted border-t-foreground h-10 w-10 animate-spin rounded-full border-4"})}):v.length>0?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",children:[v.slice(0,8).map(e=>(0,s.jsx)(d.J,{tool:e},e.id)),v.length>8&&f?(0,s.jsx)("div",{className:"col-span-full",children:f}):null,v.length>8?v.slice(8).map(e=>(0,s.jsx)(d.J,{tool:e},e.id)):null]}),(0,s.jsx)("div",{className:"mt-10 flex justify-center",children:P?(0,s.jsxs)("button",{type:"button",onClick:F,disabled:w,className:"bg-muted hover:bg-muted/80 text-foreground border-border/50 inline-flex items-center gap-2 rounded-xl border px-8 py-3 text-base font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50",children:[w&&(0,s.jsx)("div",{className:"border-muted border-t-foreground h-4 w-4 animate-spin rounded-full border-2"}),b(w?"loading":"load_more")]}):(0,s.jsx)("p",{className:"text-muted-foreground text-sm",children:b("all_loaded",{count:z})})})]}):(0,s.jsxs)("div",{className:"flex min-h-[400px] flex-col items-center justify-center text-center",children:[(0,s.jsx)("div",{className:"bg-muted/50 mb-4 flex h-20 w-20 items-center justify-center rounded-full",children:(0,s.jsx)("svg",{className:"text-muted-foreground h-10 w-10",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9.172 16.172a4 4 0 015.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}),(0,s.jsx)("h3",{className:"text-foreground mb-2 text-xl font-semibold",children:b("no_tools_title")}),(0,s.jsx)("p",{className:"text-muted-foreground max-w-md",children:b("no_tools_description")})]})]})]})}},41654:(e,t,r)=>{"use strict";r.d(t,{i:()=>s.CategorySelector});var s=r(53476)},48834:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Header:()=>k});var s=r(47808),a=r(71500),l=r(73561),i=r(85170),n=r(18355),o=r(96393),d=r(65958),c=r(10780),m=r(69366),x=r
1(15921),u=r(21696),h=r(57169);let p=a.forwardRef((e,t)=>{let{className:r,children:a,viewport:l=!0,...i}=e;return(0,s.jsxs)(m.bL,{ref:t,"data-slot":"navigation-menu","data-viewport":l,role:"navigation",className:(0,h.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",r),...i,children:[a,l&&(0,s.jsx)(N,{})]})});function g(e){let{className:t,...r}=e;return(0,s.jsx)(m.B8,{"data-slot":"navigation-menu-list",className:(0,h.cn)("group flex flex-1 list-none items-center justify-center gap-1",t),...r})}function f(e){let{className:t,...r}=e;return(0,s.jsx)(m.q7,{"data-slot":"navigation-menu-item",className:(0,h.cn)("relative",t),...r})}p.displayName=m.bL.displayName;let b=(0,x.F)("group inline-flex h-8 w-max items-center justify-center rounded-md px-4 py-1 text-sm text-muted-foreground font-medium hover:bg-foreground/5 hover:text-foreground focus:bg-foreground/5 focus:text-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-foreground/5 data-[state=open]:text-foreground data-[state=open]:focus:bg-foreground
1/5 data-[state=open]:bg-foreground/5 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1");function v(e){let{className:t,children:r,...a}=e;return(0,s.jsxs)(m.l9,{"data-slot":"navigation-menu-trigger",className:(0,h.cn)(b(),"group",t),...a,children:[r," ",(0,s.jsx)(u.A,{className:"relative top-[1px] ml-1.5 size-3 opacity-75 transition duration-300 group-data-[state=open]:translate-y-px","aria-hidden":"true",strokeWidth:2.5})]})}function j(e){let{className:t,...r}=e;return(0,s.jsx)(m.UC,{"data-slot":"navigation-menu-content",className:(0,h.cn)("left-0 top-0 w-full p-2 pr-2.5 md:absolute md:w-auto","data-[motion=from-end]:animate-enter-from-right data-[motion=from-start]:animate-enter-from-left data-[motion=to-end]:animate-exit-to-right data-[motion=to-start]:animate-exit-to-left","group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none group-data-[viewport=false]/navigation-menu:ring-foreground/10 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:rounded-(--radius) group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:-translate-x-1/3 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:border-transparent group-data-[viewport=false]/navigation-menu:shadow-lg group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-200",t),...r})}function N(e){let{className:t,...r}=e;return(0,s.jsx)("div",{className:(0,h.cn)("px-(--viewport-outer-px) fixed inset-x-0 top-12 isolate z-50 mx-auto flex max-w-6xl"),children:(0,s.jsx)(m.LM,{"data-slot":"navigation-menu-viewport",className:(0,h.cn)("bg-popover text-popover-foreground h-(--radix-navigation-menu-viewport-height) ring-foreground/10 rounded-(--radius) md:w-(--radix-navigation-menu-viewport-width) relative mt-1.5 w-full origin-top overflow-hidden border border-transparent p-0.5 shadow-xl shadow-black/10 ring-1 transition-[width,height] duration-200","data-[state=closed]:animate-scale-out data-[state=open]:animate-scale-in",t),...r})})}function y(e){let{className:t,...r}=e;return(0,s.jsx)(m.N_,{"data-slot":"navigation-menu-link",className:(0,h.cn)("data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 data-[active=true]:text-foreground hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-md p-2 text-sm outline-none transition-all focus-visible:outline-1 focus-visible:ring-[3px] [&_svg:not([class*='size-'])]:size-4",t),...r})}function w(e){let[t,r]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{r(!0)},[]),t)?(0,s.jsx)(v,{...e}):null}function k(e){let{header:t,categories:r=[]}=e,m=(0,n.c3)("landing"),[x,u]=(0,a.useState)(!1),[b,v]=(0,a.useState)(!1),N=(0,a.useRef)(!1),k=(0,a.useRef)(null),_=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)"),C=(0,o.a8)();function z(e){let{title:t,description:r,children:a,href:l,target:i,...n}=e;return(0,s.jsx)("li",{...n,children:(0,s.jsx)(y,{asChild:!0,children:(0,s.jsxs)(o.N_,{href:l,target:i||"_self",className:"grid grid-cols-[auto_1fr] gap-3.5",children:[(0,s.jsx)("div",{className:"bg-background ring-foreground
1/10 relative flex size-9 items-center justify-center rounded border border-transparent shadow-sm ring-1",children:a}),(0,s.jsxs)("div",{className:"space-y-0.5",children:[(0,s.jsx)("div",{className:"text-foreground text-sm font-medium",children:t}),(0,s.jsx)("p",{className:"text-muted-foreground line-clamp-1 text-xs",children:r})]})]})})})}return(0,a.useEffect)(()=>{let e=()=>{null==k.current&&(k.current=window.requestAnimationFrame(()=>{k.current=null;let e=window.scrollY>50;e!==N.current&&(N.current=e,v(e))}))};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e),null!=k.current&&(window.cancelAnimationFrame(k.current),k.current=null)}},[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("header",{"data-state":x?"active":"inactive",...b&&{"data-scrolled":!0},className:"has-data-[state=open]:bg-background/50 fixed inset-x-0 top-0 z-50 has-data-[state=open]:h-screen has-data-[state=open]:backdrop-blur",children:(0,s.jsx)("div",{className:(0,h.cn)("absolute inset-x-0 top-0 z-50 h-18 border-transparent ring-1 ring-transparent transition-all duration-300","in-data-scrolled:border-foreground
1/5 in-data-scrolled:bg-background/75 in-data-scrolled:border-b in-data-scrolled:backdrop-blur","has-data-[state=open]:ring-foreground/5 has-data-[state=open]:bg-card/75 has-data-[state=open]:h-[calc(var(--navigation-menu-viewport-height)+3.4rem)] has-data-[state=open]:border-b has-data-[state=open]:shadow-lg has-data-[state=open]:shadow-black/10 has-data-[state=open]:backdrop-blur","max-lg:in-data-[state=active]:bg-background/75 max-lg:h-14 max-lg:overflow-hidden max-lg:border-b max-lg:in-data-[state=active]:h-screen max-lg:in-data-[state=active]:backdrop-blur"),children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"relative flex flex-wrap items-center justify-between lg:py-5",children:[(0,s.jsxs)("div",{className:"flex justify-between gap-8 max-lg:h-14 max-lg:w-full max-lg:border-b",children:[t.brand&&(0,s.jsx)(d.FQ,{brand:t.brand}),_&&(0,s.jsx)(()=>{var e,r;return(0,s.jsx)(p,{viewport:!1,className:"**:data-[slot=navigation-menu-content]:top-10 max-lg:hidden",children:(0,s.jsxs)(g,{className:"gap-2",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)(f,{children:[(0,s.jsxs)(w,{className:"flex flex-row items-center gap-2 text-sm",children:[e.icon&&(0,s.jsx)(d.LK,{name:e.icon,className:"h-4 w-4"}),e.title]}),(0,s.jsx)(j,{className:"min-w-2xs origin-top p-0.5",children:(0,s.jsx)("div",{className:"border-foreground
1/5 bg-card ring-foreground/5 rounded-[calc(var(--radius)-2px)] border border-transparent p-2 shadow ring-1",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)(z,{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.jsx)(y,{asChild:!0,children:(0,s.jsxs)(o.N_,{href:e.url||"",target:e.target||"_self",className:"flex flex-row items-center gap-2 px-4 py-1.5 text-sm ".concat(e.is_active||C.endsWith(e.url)?"bg-muted/40 text-muted-foreground":""),children:[e.icon&&(0,s.jsx)(d.LK,{name:e.icon}),e.title]})},t)}),(0,s.jsx)(y,{asChild:!0,children:(0,s.jsxs)(o.N_,{href:"/category/all",className:"flex flex-row items-center gap-2 text-sm",children:[(0,s.jsx)(d.LK,{name:"Folder",className:"h-4 w-4"}),m("header.nav.categories")]})})]})})},{}),(0,s.jsxs)("button",{onClick:()=>u(!x),"aria-label":!0==x?"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)(l.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)(i.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"})]})]}),!_&&x&&(0,s.jsx)(e=>{var a,l;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.jsxs)(c.Accordion,{type:"single",collapsible:!0,className:"-mx-4 mt-0.5 space-y-0.5 **:hover:no-underline",children:[null==(l=t.nav)||null==(a=l.items)?void 0:a.map((e,t)=>{var r;return(0,s.jsx)(c.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)(c.AccordionTrigger,{className:"data-[state=open]:bg-muted flex items-center justify-between px-4 py-3 text-lg **:!font-normal",children:e.title}),(0,s.jsx)(c.AccordionContent,{className:"pb-5",children:(0,s.jsx)("ul",{children:null==(r=e.children)?void 0:r.map((e,t)=>(0,s.jsx)("li",{children:(0,s.jsxs)(o.N_,{href:e.url||"",onClick:i,className:"grid grid-cols-[auto_1fr] items-center gap-2.5 px-4 py-2",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)(o.N_,{href:e.url||"",onClick:i,className:"data-[state=open]:bg-muted flex items-center justify-between px-4 py-3 text-lg **:!font-normal",children:e.title})},t)}),r.length>0&&(0,s.jsxs)(o.N_,{href:"/category/all",onClick:i,className:"hover:bg-muted/50 flex items-center gap-2 px-4 py-3 text-lg",children:[(0,s.jsx)(d.LK,{name:"Folder",className:"h-4 w-4"}),(0,s.jsx)("div",{className:"text-base",children:m("header.nav.categories")})]})]})})},{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.show_theme?(0,s.jsx)(d.GC,{}):null,(0,s.jsx)("div",{className:"flex-1 md:hidden"}),t.buttons&&t.buttons.map((e,t)=>(0,s.jsxs)(o.N_,{href:e.url||"",target:e.target||"_self",className:(0,h.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","h-7 px-3 ring-0","outline"===e.variant?"bg-background border-primary ring-foreground
1/10 hover:bg-muted/50 dark:ring-foreground/15 dark:hover:bg-muted/50 border border-transparent shadow-sm ring-1 shadow-black/15 duration-200":"bg-primary text-primary-foreground hover:bg-primary/90 border-[0.5px] border-white/25 shadow-md ring-1 shadow-black/20 ring-(--ring-color) [--ring-color:color-mix(in_oklab,var(--color-foreground)15%,var(--color-primary))]"),children:[e.icon&&(0,s.jsx)(d.LK,{name:e.icon,className:"size-4"}),(0,s.jsx)("span",{children:e.title})]},t)),t.show_sign?(0,s.jsx)(d.TS,{userNav:t.user_nav}):null]})})]})})})})})}},51022:(e,t,r)=>{"use strict";r.d(t,{TR:()=>h,bq:()=>x,eb:()=>p,gC:()=>u,l6:()=>d,s3:()=>c,yv:()=>m});var s=r(47808);r(71500);var a=r(52141),l=r(21696),i=r(47706),n=r(70041),o=r(57169);function d(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 x(e){let{className:t,size:r="default",children:i,...n}=e;return(0,s.jsxs)(a.l9,{"data-slot":"select-trigger","data-size":r,className:(0,o.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:[i,(0,s.jsx)(a.In,{asChild:!0,children:(0,s.jsx)(l.A,{className:"size-4 opacity-50"})})]})}function u(e){let{className:t,children:r,position:l="popper",...i}=e;return(0,s.jsx)(a.ZL,{children:(0,s.jsxs)(a.UC,{"data-slot":"select-content",className:(0,o.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"===l&&"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:l,...i,children:[(0,s.jsx)(g,{}),(0,s.jsx)(a.LM,{className:(0,o.cn)("p-1","popper"===l&&"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 h(e){let{className:t,...r}=e;return(0,s.jsx)(a.JU,{"data-slot":"select-label",className:(0,o.cn)("text-muted-foreground px-2 py-1.5 text-xs",t),...r})}function p(e){let{className:t,children:r,...l}=e;return(0,s.jsxs)(a.q7,{"data-slot":"select-item",className:(0,o.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),...l,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)(i.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,o.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,o.cn)("flex cursor-default items-center justify-center py-1",t),...r,children:(0,s.jsx)(l.A,{className:"size-4"})})}},55573:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BlogDetail:()=>x});var s=r(47808),a=r(14569),l=r(84612),i=r(95626),n=r(18355),o=r(65958),d=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)(o.LK,{name:e.icon,className:"size-4"}),e.title]}
1),!r&&(0,s.jsx)(d.A,{className:"text-muted-foreground/40 mx-2 h-4 w-4"})]},t)})})}function x(e){let{post:t}=e,r=(0,n.c3)("pages.blog.messages"),d=[{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,x=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:d}),(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)(l.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)(i.A,{className:"size-4"})," ",r("toc")]}),(0,s.jsx)(a.TOCItems,{})]})})}),(0,s.jsx)("div",{className:c&&x?"lg:col-span-6":c||x?"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)(o.G8,{content:t.content})})})}),x&&(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)},62869:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AIToolsCategoryNav:()=>c});var s=r(47808),a=r(71500),l=r(95784),i=r.n(l),n=r(54845),o=r(18355),d=r(57169);function c(e){let{categories:t,className:r}=e,l=(0,o.c3)("ai-tools.category_nav"),c=(0,n.usePathname)(),m=(0,a.useCallback)(()=>{if("/"===c||"/category/all"===c)return"all";let e=c.match(/^\/category\/([^/]+)$/);return e?e[1]:"all"},[c]),x=(0,a.useRef)(null),u=(0,a.useRef)(new Map);(0,a.useEffect)(()=>{let e=m(),t=u.current.get(e);if(t&&x.current){let e=x.current,r=e.offsetWidth,s=t.offsetLeft,a=t.offsetWidth;e.scrollTo({left:s-r/2+a/2,behavior:"smooth"})}},[c,m]);let h=(0,a.useCallback)((e,t)=>{t?u.current.set(e,t):u.current.delete(e)},[]);return(0,s.jsx)("section",{className:(0,d.cn)("bg-background/80 sticky top-0 z-40 w-full border-b backdrop-blur-xl",r),children:(0,s.jsx)("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:(0,s.jsxs)("div",{ref:x,className:"scrollbar-hide flex gap-2 overflow-x-auto py-4",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:[(0,s.jsx)(i(),{ref:e=>h("all",e),href:"/category/all",className:(0,d.cn)("relative inline-flex shrink-0 items-center rounded-full border px-4 py-2 text-sm font-medium transition-all duration-300","whitespace-nowrap","all"===m()?"border-primary/50 bg-primary/10 text-primary shadow-[0_0_20px_-5px_rgba(99,102,241,0.3)]":"border-border bg-background/50 text-muted-foreground hover:border-primary/30 hover:bg-primary/5 hover:text-primary"),children:(0,s.jsx)("span",{children:l("all")})},"all"),t.map(e=>(0,s.jsx)(i(),{ref:t=>h(e.slug,t),href:"/category/".concat(e.slug),className:(0,d.cn)("relative inline-flex shrink-0 items-center rounded-full border px-4 py-2 text-sm font-medium transition-all duration-300","whitespace-nowrap",m()===e.slug?"border-primary/50 bg-primary/10 text-primary shadow-[0_0_20px_-5px_rgba(99,102,241,0.3)]":"border-border bg-background/50 text-muted-foreground hover:border-primary/30 hover:bg-primary/5 hover:text-primary"),children:(0,s.jsx)("span",{children:e.name})},e.id))]})})})}},63326:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FeaturesMedia:()=>n});var s=r(47808),a=r(24309),l=r(65958),i=r(57169);function n(e){var t,r,n,o,d;let{section:c}=e,m="right"===(c.image_position||"left");return(0,s.jsx)("section",{id:c.id||c.name,className:(0,i.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,i.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)(l.oD,{src:null!=(o=null==(t=c.image)?void 0:t.src)?o:"",className:"rounded-2xl",alt:null!=(d=null==(r=c.image)?void 0:r.alt)?d:""})}),(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)(l.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:()=>p});var s=r(47808),a=r(71500),l=r(24309),i=r(12271),n=r(85170),o=r(20017),d=r(68442),c=r(96393),m=r(65958),x=r(18512),u=r(67202),h=r(57169);function p(e){var t,r,p,g;let{section:f,className:b}=e,v=f.groups||[],[j,N]=(0,a.useState)(v.length>0?v[0].name:""),[y,w]=(0,a.useState)(null),k=(0,a.useMemo)(()=>f.items?j&&v.length&&"all"!==j?f.items.filter(e=>e.group===j):f.items:[],[f.items,j,v.length]),_=(0,a.useCallback)(()=>{w(e=>{var t;return null!==e?0===e?(null!=(t=k.length)?t:1)-1:e-1:null})},[k.length]),C=(0,a.useCallback)(()=>{w(e=>{var t;return null!==e?e===(null!=(t=k.length)?t:1)-1?0:e+1:null})},[k.length]);return(0,a.useEffect)(()=>{let e=e=>{null!==y&&("Escape"===e.key&&w(null),"ArrowLeft"===e.key&&_(),"ArrowRight"===e.key&&C())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[y,_,C]),(0,s.jsxs)("section",{id:f.id||f.name,className:(0,h.cn)("py-24 md:py-36",f.className,b),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:[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)(u.$,{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)(x.L,{name:e.icon}),e.title]})},e.title))})]}),v.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:v.map((e,t)=>{let r=j===e.name;return(0,s.jsx)(l.P.button,{onClick:()=>N(e.name),className:(0,h.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)})}),k.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:k.map((e,t)=>{var r,a,i,n;return(0,s.jsxs)(l.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!=(i=null==(r=e.image)?void 0:r.src)?i:"",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)(u.$,{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)(x.L,{name:e.button.icon}),e.button.title]})})})]})]},t)})}):(0,s.jsx)(l.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)(i.N,{children:null!==y&&k&&k.length>0&&(0,s.jsxs)(l.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(),_()},children:(0,s.jsx)(o.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(),C()},children:(0,s.jsx)(d.A,{className:"size-8 md:size-12"})}),(0,s.jsx)(l.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!=(p=null==(t=k[y].image)?void 0:t.src)?p:"",alt:null!=(g=null==(r=k[y].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:k[y].title}),k[y].description&&(0,s.jsx)("p",{className:"line-clamp-3 text-base text-white/90",children:k[y].description}),k[y].button&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(u.$,{asChild:!0,variant:k[y].button.variant||"default",size:k[y].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:k[y].button.url||"",target:k[y].button.target||"_self",children:[k[y].button.icon&&(0,s.jsx)(x.L,{name:k[y].button.icon,className:"text-white"}),k[y].button.title]})})})]})]})},y)]})})]})}},65958:(e,t,r)=>{"use strict";r.d(t,{FQ:()=>o,GA:()=>x.ImageUploader,oD:()=>m.LazyImage,$B:()=>d.LocaleDetector,nt:()=>p.MarkdownEditor,G8:()=>u.MarkdownPreview,dK:()=>a.Pagination,TS:()=>g.SignUser,LK:()=>s.L,GC:()=>c.ThemeToggler});var s=r(18512),a=r(60632),l=r(47808),i=r(43040),n=r(96393);function o(e){let{brand:t}=e;return(0,l.jsxs)(n.N_,{href:t.url||"",target:t.target||"_self",className:"flex items-center space-x-3 ".concat(t.className),children:[t.logo&&(0,l.jsx)(i.default,{src:t.logo.src,alt:t.title?"":t.logo.alt||"",width:t.logo.width||80,height:t.logo.height||80,className:"h-10 w-auto rounded-lg",unoptimized:!0}),t.title&&(0,l.jsx)("span",{className:"text-lg font-medium",children:t.title})]})}var d=r(71724);r(24411);var c=r(36153);r(9106),r(95784),r(67202),r(24218);var m=r(73489),x=r(8997),u=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 l=e[t];if(l.attrIndex("href")>=0){let e=l.attrGet("href");l.attrSet("rel","nofollow"),e&&(e.startsWith("http://")||e.startsWith("https://"))&&l.attrSet("target","_blank")}return a.renderToken(e,t,r)};var p=r(72358);r(71500),r(39470),r(10780),r(78984);var g=r(45e3);r(85819),r(28032),r(41654),r(55690)},69706:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Showcases:()=>x});var s=r(47808),a=r(71500),l=r(43040),i=r(24309),n=r(96393),o=r(18512),d=r(67202),c=r(5784),m=r(57169);function x(e){let{section:t,className:r}=e,x=t.groups||[],[u,h]=(0,a.useState)(x.length>0?x[0].name:""),p=(0,a.useMemo)(()=>t.items?u&&x.length&&"all"!==u?t.items.filter(e=>e.group===u):t.items:[],[t.items,u,x.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)(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:[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})]}),x.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:x.map((e,t)=>{let r=u===e.name;return(0,s.jsx)(i.P.button,{onClick:()=>h(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:p.length>0?p.map((e,t)=>{var r,a,m,x,u;let h=!!e.button,p=(0,s.jsx)(i.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]}
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)(i.P.div,{className:"relative aspect-16/10 w-full overflow-hidden",whileHover:{scale:1.05},transition:{duration:.3},children:(0,s.jsx)(l.default,{src:null!=(m=null==(r=e.image)?void 0:r.src)?m:"",alt:null!=(x=null==(a=e.image)?void 0:a.alt)?x:"",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!=(u=e.description)?u:""}}),h&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(d.$,{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)(o.L,{name:e.button.icon,className:"text-white"}),e.button.title]})})})]})]})})});return h?(0,s.jsx)("div",{children:p},t):(0,s.jsx)(n.N_,{href:e.url||"",target:e.target,children:p},t)}):(0,s.jsx)(i.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."})})]})}},71721:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AIToolsFilterToolbar:()=>c});var s=r(47808),a=r(13590),l=r(45959),i=r(18355),n=r(67202),o=r(51022),d=r(57169);function c(e){let{filters:t,onFiltersChange:r,categories:c,className:m}=e,x=(0,i.c3)("ai-tools.filter_toolbar"),u="all"!==t.category||"all"!==t.pricing;return(0,s.jsx)("section",{className:(0,d.cn)("bg-background/95 sticky top-16 z-30 w-full border-b backdrop-blur-xl",m),children:(0,s.jsx)("div",{className:"mx-auto max-w-7xl px-4 py-4 sm:px-6 lg:px-8",children:(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,s.jsxs)("div",{className:"mr-2 hidden items-center gap-2 md:flex",children:[(0,s.jsx)(a.A,{className:"text-primary h-5 w-5"}),(0,s.jsx)("span",{className:"text-foreground text-sm font-semibold",children:x("title")})]}),(0,s.jsxs)(o.l6,{value:t.category,onValueChange:e=>r({category:e}),children:[(0,s.jsx)(o.bq,{className:"w-full sm:w-[180px]",children:(0,s.jsx)(o.yv,{placeholder:(()=>{if("all"===t.category)return x("categories.all");let e=c.find(e=>e.slug===t.category);return(null==e?void 0:e.name)||x("categories.all")})()})}),(0,s.jsxs)(o.gC,{children:[(0,s.jsx)(o.eb,{value:"all",children:x("categories.all")}),c.map(e=>(0,s.jsx)(o.eb,{value:e.slug,children:e.name},e.id))]})]}),(0,s.jsxs)(o.l6,{value:t.pricing,onValueChange:e=>r({pricing:e}),children:[(0,s.jsx)(o.bq,{className:"w-full sm:w-[140px]",children:(0,s.jsx)(o.yv,{placeholder:{all:x("pricing.all"),free:x("pricing.free"),freemium:x("pricing.freemium"),paid:x("pricing.paid")}[t.pricing]})}),(0,s.jsxs)(o.gC,{children:[(0,s.jsx)(o.eb,{value:"all",children:x("pricing.all")}),(0,s.jsx)(o.eb,{value:"free",children:x("pricing.free")}),(0,s.jsx)(o.eb,{value:"freemium",children:x("pricing.freemium")}),(0,s.jsx)(o.eb,{value:"paid",children:x("pricing.paid")})]})]}),u&&(0,s.jsxs)(n.$,{variant:"ghost",size:"sm",onClick:()=>{r({searchQuery:"",category:"all",tags:[],pricing:"all",sort:"newest"})},className:"gap-1.5",children:[(0,s.jsx)(l.A,{className:"h-3.5 w-3.5"}),(0,s.jsx)("span",{children:x("reset")})]})]})})})}},72100:(e,t,r)=>{"use strict";r.d(t,{i:()=>o});var s=r(47808),a=r(71500),l=r(40116),i=r(22977),n=r(24309);function o(e){let{children:t,className:r="",delay:o=0,direction:d="up",stagger:c=!1}=e,m=(0,a.useRef)(null),x=(0,l.W)(m,{once:!0,margin:"-50px"});if((0,i.I)())return(0,s.jsx)("div",{ref:m,className:r,children:t});let u=()=>{switch(d){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}}},h={hidden:{opacity:0,...u(),filter:"blur(4px)"},visible:{opacity:1,x:0,y:0,filter:"blur(0px)",transition:{duration:.6,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,delayChildren:o}}},initial:"hidden",animate:x?"visible":"hidden",className:r,children:a.Children.map(t,e=>(0,s.jsx)(n.P.div,{variants:h,children:e}))}):(0,s.jsx)(n.P.div,{ref:m,initial:{opacity:0,...u(),filter:"blur(4px)"},animate:x?{opacity:1,x:0,y:0,filter:"blur(0px)"}:{opacity:0,...u(),filter:"blur(4px)"},transition:{duration:.6,delay:o,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),l=r(65958),i=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,i.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,o,d;let c="right"===e.image_position;return(0,s.jsxs)(a.P.div,{className:(0,i.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)(l.oD,{src:null!=(o=null==(r=e.image)?void 0:r.src)?o:"",className:"rounded-2xl",alt:null!=(d=null==(n=e.image)?void 0:n.alt)?d:""})}),(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}},76226:(e,t,r)=>{"use strict";r.d(t,{J:()=>x});var s=r(47808),a=r(71500),l=r(43040),i=r(95784),n=r.n(i),o=r(63452),d=r(38726),c=r(57169),m=r(51173);let x=(0,a.memo)(function(e){var t;let{tool:r,className:a}=e,i=r.categorySlug||(null==(t=r.category)?void 0:t.toLowerCase().replace(/\s+/g,"-"))||"",x="".concat(r.website,"?utm_source=your_ai_hunt");
1return(0,s.jsx)("div",{className:(0,c.cn)("group/card relative",a),children:(0,s.jsxs)("div",{className:(0,c.cn)("relative h-full rounded-2xl border transition-all duration-300","bg-[#f9f7f2]","border-[#e6c99d]","hover:border-[#d4b88c] hover:shadow-md","flex flex-col overflow-hidden"),children:[(0,s.jsxs)("div",{className:"group/preview bg-muted/30 relative h-[140px] w-full overflow-hidden border-b border-[#e6c99d] transition-colors duration-300 group-hover/card:border-[#d4b88c] sm:h-40",children:[r.screenshots&&r.screenshots.length>0?(0,s.jsx)("div",{className:"absolute inset-0",children:(0,s.jsxs)("div",{className:"relative h-full w-full",children:[(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-gradient-to-t from-black/20 via-transparent to-transparent"}),(0,s.jsx)(l.default,{src:r.screenshots[0],alt:"".concat(r.name," screenshot - Tool preview image showing as ").concat(r.name," interface"),fill:!0,className:"object-cover transition-transform duration-500 ease-out group-hover/preview:scale-105",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw",loading:"lazy",unoptimized:!0})]})}):(0,s.jsx)("div",{className:"flex h-full w-full items-center justify-center bg-gradient-to-br from-[#f5f0eb] to-[#e8e0d5]",children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"absolute inset-0 opacity-30 blur-xl",children:(0,s.jsx)(m.ToolLogo,{src:r.logo,alt:r.name,website:r.website,slug:r.slug,size:80,className:"rounded-lg"})}),(0,s.jsx)(m.ToolLogo,{src:r.logo,alt:r.name,website:r.website,slug:r.slug,size:80,className:"relative z-10 rounded-lg"})]})}),(0,s.jsx)("div",{className:"pointer-events-none absolute top-3 right-3 z-10 flex flex-col gap-1.5",children:r.featured&&(0,s.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-gradient-to-r from-amber-500 to-orange-400 px-2.5 py-1 text-xs font-bold text-white shadow-md",children:[(0,s.jsx)("svg",{className:"h-3 w-3",fill:"currentColor",viewBox:"0 0 20 20",children:(0,s.jsx)("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),"Featured"]})}),(0,s.jsx)("a",{href:x,target:"_blank",rel:"noopener noreferrer",className:"absolute inset-0 z-20 lg:hidden","aria-label":"Visit ".concat(r.name," website")}),(0,s.jsx)("a",{href:x,target:"_blank",rel:"noopener noreferrer",className:(0,c.cn)("pointer-events-auto absolute inset-0 z-20 hidden","lg:flex lg:items-center lg:justify-center","bg-black/50 opacity-0 transition-opacity duration-300","group-hover/preview:lg:opacity-100"),"aria-label":"Visit ".concat(r.name," website"),children:(0,s.jsxs)("span",{className:"inline-flex items-center gap-2 rounded-lg bg-white px-4 py-2 text-sm font-medium text-gray-900 shadow-lg transition-transform duration-200 hover:scale-105",children:[(0,s.jsx)(o.A,{className:"h-4 w-4"}),"Visit Website"]})})]}),(0,s.jsxs)(n(),{href:"/ai-tools/".concat(r.slug),className:"flex flex-1 flex-col p-4 sm:p-5",children:[(0,s.jsxs)("div",{className:"mb-3 flex items-center gap-2 sm:gap-3",children:[(0,s.jsx)("div",{className:"flex-shrink-0",children:(0,s.jsx)(m.ToolLogo,{src:r.logo,alt:r.name,website:r.website,slug:r.slug,size:40,className:"rounded-lg"})}),(0,s.jsx)("h3",{className:"line-clamp-1 min-w-0 flex-1 text-sm font-semibold text-[#4caf7c] sm:text-base",children:r.name})]}),r.category&&i&&(0,s.jsx)("div",{className:"mb-3",children:(0,s.jsxs)(n(),{href:"/category/".concat(i),className:(0,c.cn)("inline-flex items-center gap-1.5 rounded-full px-3 py-1 text-xs font-semibold text-white","bg-gradient-to-r from-[#4caf7c] to-[#45a06a]","shadow-sm transition-all duration-200","hover:scale-105 hover:from-[#45a06a] hover:to-[#3d9660] hover:shadow-md"),children:[(0,s.jsx)(d.A,{className:"h-3 w-3"}),r.category]})}),(0,s.jsx)("p",{className:"mb-3 line-clamp-3 text-xs leading-relaxed text-[#333333] sm:mb-4 sm:text-sm",children:r.description}),(0,s.jsx)("div",{className:"flex-1"}),(0,s.jsx)("div",{className:"mt-auto flex flex-wrap items-center justify-end gap-1.5 sm:gap-2",children:r.tags&&r.tags.length>0&&(0,s.jsx)(s.Fragment,{children:r.tags.map(e=>(0,s.jsxs)("span",{className:"text-[10px] text-[#888888] sm:text-xs",children:["#",e]},e))})})]})]})})},(e,t)=>e.tool.id===t.tool.id&&e.tool.slug===t.tool.slug&&e.className===t.className)},77452:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Subscribe:()=>x});var s=r(47808),a=r(71500),l=r(73801),i=r(21008),n=r(14715),o=r(31963),d=r(67202),c=r(72100),m=r(57169);function x(e){var t,r,x;let{section:u,className:h}=e,[p,g]=(0,a.useState)(""),[f,b]=(0,a.useState)(!1),v=async()=>{var e;if(p&&(null==(e=u.submit)?void 0:e.action))try{b(!0);let e=await fetch(u.submit.action,{method:"POST",body:JSON.stringify({email:p})});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&&o.oR.success(r)}catch(e){b(!1),o.oR.error(e.message||"subscribe failed")}};return(0,s.jsx)("section",{id:u.id,className:(0,m.cn)("py-16 md:py-24",u.className,h),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:u.title})}),(0,s.jsx)(c.i,{delay:.15,children:(0,s.jsx)("p",{className:"mt-4",children:u.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)(l.A,{className:"text-caption pointer-events-none absolute inset-y-0 left-5 my-auto size-5"}),(0,s.jsx)("input",{placeholder:(null==(r=u.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":!p,"aria-describedby":"email-error",value:p,onChange:e=>g(e.target.value)}),(null==(x=u.submit)?void 0:x.button)&&(0,s.jsx)("div",{className:"md:pr-1.5 lg:pr-0",children:(0,s.jsxs)(d.$,{"aria-label":"submit",className:"rounded-(--radius)",onClick:v,disabled:f,type:"submit",children:[f?(0,s.jsx)(i.A,{className:"animate-spin"}):(0,s.jsx)("span",{className:"hidden md:block",children:u.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),l=r(96393),i=r(71768),n=r(57169);let o=a.forwardRef((e,t)=>{let{className:r,children:a,...l}=e;return(0,s.jsxs)(i.bL,{ref:t,className:(0,n.cn)("relative overflow-hidden",r),...l,children:[(0,s.jsx)(i.LM,{className:"h-full w-full rounded-[inherit]",children:a}),(0,s.jsx)(d,{}),(0,s.jsx)(i.OK,{})]})});o.displayName=i.bL.displayName;let d=a.forwardRef((e,t)=>{let{className:r,orientation:a="vertical",...l}=e;return(0,s.jsx)(i.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),...l,children:(0,s.jsx)(i.lr,{className:"relative flex-1 rounded-full bg-border"})})});d.displayName=i.VM.displayName;var c=r(29650);function m(e){var t;let{tabs:r,size:i}=e,m=(0,l.rd)(),[x,u]=(0,a.useState)((null==r||null==(t=r.find(e=>e.is_active))?void 0:t.name)||""),[h,p]=(0,a.useState)({});return(0,a.useEffect)(()=>{if(x){let e=(null==r?void 0:r.find(e=>e.name===x))||{};e.url&&m.push(e.url)}},[x]),(0,s.jsx)("div",{className:"relative mb-8",children:(0,s.jsxs)(o,{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:x,onValueChange:u,children:(0,s.jsx)(c.j7,{className:(0,n.cn)("sm"===i&&"h-8"),children:r.map((e,t)=>(0,s.jsx)(c.Xi,{value:e.name||"",children:e.title},t))})})}),(0,s.jsx)(d,{orientation:"horizontal",className:"invisible"})]})})}},78975:(e,t,r)=>{"use strict";r.d(t,{Highlighter:()=>n});var s=r(47808),a=r(71500),l=r(40116),i=r(48276);function n(e){let{children:t,action:r="highlight",color:n="#ffd1dc",strokeWidth:o=1.5,animationDuration:d=600,iterations:c=2,padding:m=2,multiline:x=!0,isView:u=!1}=e,h=(0,a.useRef)(null),p=(0,a.useRef)(null),g=(0,l.W)(h,{once:!0,margin:"-10%"}),f=!u||g;return(0,a.useEffect)(()=>{if(!f)return;let e=h.current;if(!e)return;let t=(0,i.f)(e,{type:r,color:n,strokeWidth:o,animationDuration:d,iterations:c,padding:m,multiline:x});p.current=t,p.current.show();let s=new ResizeObserver(()=>{t.hide(),t.show()});return s.observe(e),s.observe(document.body),()=>{e&&((0,i.f)(e,{type:r}).remove(),s.disconnect())}},[f,r,n,o,d,c,m,x]),(0,s.jsx)("span",{ref:h,className:"relative inline-block bg-transparent",children:t})}},79043:()=>{},87544:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Logos:()=>n});var s=r(47808),a=r(65958),l=r(72100),i=r(57169);function n(e){var t;let{section:r,className:n}=e;return(0,s.jsx)("section",{id:r.id,className:(0,i.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)(l.i,{children:(0,s.jsx)("p",{className:"text-md text-center font-medium",children:r.title})}),(0,s.jsx)(l.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,l,i,n;return(0,s.jsx)(a.oD,{className:"h-8 w-fit dark:invert",src:null!=(i=null==(r=e.image)?void 0:r.src)?i:"",alt:null!=(n=null==(l=e.image)?void 0:l.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:()=>o});var s=r(47808),a=r(90811),l=r(65958),i=r(72100),n=r(57169);function o(e){var t;let{section:r,className:o}=e;return(0,s.jsx)("section",{id:r.id,className:(0,n.cn)("py-16 md:py-24",r.className,o),children:(0,s.jsx)("div",{className:"m-4 rounded-[2rem]",children:(0,s.jsxs)("div",{className:"@container relative container",children:[(0,s.jsx)(i.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)(i.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 i,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)(l.LK,{name:e.icon,size:24})}),t<(null!=(n=null==(i=r.items)?void 0:i.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)})})})]})})})}},95169:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AIToolsCategoryPageClient:()=>u});var s=r(47808),a=r(71500),l=r(54845),i=r(20017),n=r(68442),o=r(24309),d=r(18355),c=r(57169),m=r(62869),x=r(76226);function u(e){let{category:t,tools:r,categories:u,className:h}=e,p=(0,d.c3)("ai-tools.category"),g=(0,l.useRouter)(),f=(0,l.usePathname)(),b=new URLSearchParams(window.location.search),[v,j]=(0,a.useState)(()=>b.get("sort")||"rating"),[N,y]=(0,a.useState)(()=>parseInt(b.get("page")||"1",10)),w=(0,a.useRef)(!0);(0,a.useEffect)(()=>{if(w.current){w.current=!1;return}let e=new URLSearchParams;"rating"!==v&&e.set("sort",v),N>1&&e.set("page",N.toString());let t=e.toString(),r=t?"".concat(f,"?").concat(t):f;g.push(r)},[v,N,f,g]);let k=(0,a.useCallback)(()=>{let e=[...r];return"newest"===v?e.sort((e,t)=>{let r=new Date(e.createdAt||0).getTime();return new Date(t.createdAt||0).getTime()-r}):e},[r,v]),_=Math.ceil(k().length/50),C=k().slice((N-1)*50,50*N);return(0,s.jsxs)("div",{className:(0,c.cn)("space-y-6",h),children:[(0,s.jsx)(m.AIToolsCategoryNav,{categories:u}),(0,s.jsxs)("div",{className:"border-border/50 bg-card relative overflow-hidden rounded-2xl border p-6 sm:p-8",children:[(0,s.jsx)("div",{className:"from-primary/5 absolute inset-0 bg-[radial-gradient(ellipse_at_top,_var(--tw-gradient-stops))] via-transparent to-transparent"}),(0,s.jsx)("div",{className:"relative z-10",children:(0,s.jsxs)("div",{className:"flex items-start gap-4",children:[(0,s.jsx)("div",{className:"border-border/50 bg-background/50 flex h-16 w-16 shrink-0 items-center justify-center rounded-2xl border text-4xl shadow-lg",children:t.icon}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("h1",{className:"text-foreground mb-2 text-3xl font-bold sm:text-4xl",children:t.name}),t.description&&(0,s.jsx)("p",{className:"text-muted-foreground mb-3 text-sm sm:text-base",children:t.description})]})]})})]}),(0,s.jsx)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-4 xl:grid-cols-4",children:C.map((e,t)=>(0,s.jsx)(x.J,{tool:e,index:t},e.id))}),0===C.length&&(0,s.jsxs)("div",{className:"flex min-h-[400px] flex-col items-center justify-center text-center",children:[(0,s.jsx)("div",{className:"bg-muted/50 mb-4 flex h-20 w-20 items-center justify-center rounded-full",children:(0,s.jsx)("span",{className:"text-4xl",children:t.icon})}),(0,s.jsx)("h3",{className:"text-foreground mb-2 text-xl font-semibold",children:p("no_results.title")}),(0,s.jsx)("p",{className:"text-muted-foreground max-w-md",children:p("no_results.description")})]}),_>1&&(0,s.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[(0,s.jsxs)(o.P.button,{whileHover:{scale:N>1?1.05:1},whileTap:{scale:N>1?.95:1},onClick:()=>y(e=>
1Math.max(1,e-1)),disabled:1===N,className:(0,c.cn)("border-border/50 bg-background/50 flex items-center gap-1 rounded-xl border px-4 py-2 text-sm transition-all duration-200",1===N?"text-muted-foreground/50 cursor-not-allowed":"text-foreground hover:border-primary/30 hover:bg-primary/5"),children:[(0,s.jsx)(i.A,{className:"h-4 w-4"}),p("pagination.previous")]}),(0,s.jsx)("div",{className:"flex items-center gap-1",children:Array.from({length:Math.min(5,_)},(e,t)=>{let r;return r=_<=5||N<=3?t+1:N>=_-2?_-4+t:N-2+t,(0,s.jsx)(o.P.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>y(r),className:(0,c.cn)("h-10 w-10 rounded-xl text-sm transition-all duration-200",N===r?"bg-primary font-semibold text-white":"border-border/50 bg-background/50 text-foreground hover:border-primary/30 hover:bg-primary/5 border"),children:r},r)})}),(0,s.jsxs)(o.P.button,{whileHover:{scale:N<_?1.05:1},whileTap:{scale:N<_?.95:1},onClick:()=>y(e=>Math.min(_,e+1)),disabled:N===_,className:(0,c.cn)("border-border/50 bg-background/50 flex items-center gap-1 rounded-xl border px-4 py-2 text-sm transition-all duration-200",N===_?"text-muted-foreground/50 cursor-not-allowed":"text-foreground hover:border-primary/30 hover:bg-primary/5"),children:[p("pagination.next"),(0,s.jsx)(n.A,{className:"h-4 w-4"})]})]}),(0,s.jsx)("div",{className:"text-center",children:(0,s.jsx)("p",{className:"text-muted-foreground text-sm",children:p("showing_results",{start:(N-1)*50+1,end:Math.min(50*N,k().length),total:k().length})})})]})}},98909:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FeaturesAccordion:()=>x});var s=r(47808),a=r(71500),l=r(12271),i=r(24309),n=r(65958),o=r(57169);let d=e=>{let{className:t,size:r=50,delay:a=0,duration:l=6,colorFrom:n="#ffaa40",colorTo:d="#9c40ff",transition:c,style:m,reverse:x=!1,initialOffset:u=0,borderWidth:h=1}=e;return(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 rounded-[inherit] border-transparent [mask-clip:padding-box,border-box] [mask-composite:intersect] [mask-image:linear-gradient(transparent,transparent),linear-gradient(#000,#000)] border-(length:--border-beam-width)",style:{"--border-beam-width":"".concat(h,"px")},children:(0,s.jsx)(i.P.div,{className:(0,o.cn)("absolute aspect-square","bg-gradient-to-l from-[var(--color-from)] via-[var(--color-to)] to-transparent",t),style:{width:r,offsetPath:"rect(0 auto auto 0 round ".concat(r,"px)"),"--color-from":n,"--color-to":d,...m},initial:{offsetDistance:"".concat(u,"%")},animate:{offsetDistance:x?["".concat(100-u,"%"),"".concat(-u,"%")]:["".concat(u,"%"),"".concat(100+u,"%")]},transition:{repeat:1/0,ease:"linear",duration:l,delay:-a,...c}})})};var c=r(10780),m=r(72100);function x(e){var t,r;let{section:x,className:u}=e,[h,p]=(0,a.useState)("item-1"),g={};return null==(t=x.items)||t.forEach((e,t)=>{var r,s,a;g["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,o.cn)("overflow-x-hidden py-16 md:py-24",x.className,u),children:(0,s.jsxs)("div",{className:"container space-y-8 overflow-x-hidden px-2 sm:px-6 md:space-y-16 lg:space-y-20 dark:[--color-border:color-mix(in_oklab,var(--color-white)_10%,transparent)]",children:[(0,s.jsx)(m.i,{children:(0,s.jsxs)("div",{className:"mx-auto max-w-4xl text-center text-balance",children:[(0,s.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:x.title}),(0,s.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:x.description})]})}),(0,s.jsxs)("div",{className:"grid min-w-0 gap-12 sm:px-6 md:grid-cols-2 lg:gap-20 lg:px-0",children:[(0,s.jsx)(m.i,{delay:.1,direction:"left",children:(0,s.jsx)(c.Accordion,{type:"single",value:h,onValueChange:e=>p(e),className:"w-full",children:null==(r=x.items)?void 0:r.map((e,t)=>(0,s.jsxs)(c.AccordionItem,{value:"item-".concat(t+1),children:[(0,s.jsx)(c.AccordionTrigger,{children:(0,s.jsxs)("div",{className:"flex items-center gap-2 text-base",children:[e.icon&&(0,s.jsx)(n.LK,{name:e.icon,size:24}),e.title]})}),(0,s.jsx)(c.AccordionContent,{children:e.description})]},t))})}),(0,s.jsx)(m.i,{delay:.2,direction:"right",children:(0,s.jsxs)("div",{className:"bg-background relative flex min-w-0 flex-shrink overflow-hidden rounded-3xl border p-2",children:[(0,s.jsx)("div",{className:"absolute inset-0 right-0 ml-auto w-15 border-l bg-[repeating-linear-gradient(-45deg,var(--color-border),var(--color-border)_1px,transparent_1px,transparent_8px)]"}),(0,s.jsx)("div",{className:"bg-background relative aspect-76/59 w-full min-w-0 rounded-2xl sm:w-[calc(3/4*100%+3rem)]",children:(0,s.jsx)(l.N,{mode:"wait",children:(0,s.jsx)(i.P.div,{initial:{opacity:0,y:6,scale:.98}
1,animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:6,scale:.98},transition:{duration:.2},className:"size-full overflow-hidden rounded-2xl border shadow-md",children:(0,s.jsx)(n.oD,{src:g[h].image,className:"size-full object-cover object-left-top dark:mix-blend-lighten",alt:g[h].alt})},"".concat(h,"-id"))})}),(0,s.jsx)(d,{duration:6,size:200,className:"from-transparent via-yellow-700 to-transparent dark:via-white/50"})]})})]})]})})}}}]);

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.