PageSourceSearch

https://aicat.video/_next/static/chunks/app/%5Blocale%5D/(default)…?dpl=dpl_DTLfsh4DpThvUg3rmD4SK4TQrz4Z

js aicat.video collected 2026-10-04 15:07:25 UTC 39,764 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[54598],{6128:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(4024).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},6845:(e,t,l)=>{"use strict";l.d(t,{default:()=>f});var r=l(68812),s=l(51456),a=l(13910),n=l(94210),i=l(29007);let o=(0,l(4024).A)("Ratio",[["rect",{width:"12",height:"20",x:"6",y:"2",rx:"2",key:"1oxtiu"}],["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}]]);var c=l(88964),d=l(71563),u=l(93546),m=l(54135),x=l(71040);let h=e=>{let{tpl:t,texts:l,onRecreate:n}=e,d=(0,s.useRef)(null),u=(0,s.useRef)(null);return(0,s.useEffect)(()=>{if(!u.current)return;let e=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&d.current?d.current.play().catch(()=>{}):!e.isIntersecting&&d.current&&d.current.pause()})},{threshold:.5,rootMargin:"50px"});return e.observe(u.current),()=>e.disconnect()},[]),(0,r.jsx)("div",{ref:u,className:"relative rounded-lg overflow-hidden shadow-lg group",style:{backgroundColor:"hsl(var(--card))"},children:(0,r.jsxs)("div",{className:"relative w-full",style:{aspectRatio:"9/16"},children:[(0,r.jsx)("video",{ref:d,src:t.finalVideo,className:"absolute inset-0 w-full h-full object-cover",loop:!0,muted:!0,playsInline:!0,preload:"metadata"}),(0,r.jsxs)("div",{className:"absolute top-2 left-2 flex flex-col gap-1",children:[t.duration&&(0,r.jsxs)("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 rounded-full bg-black/60 backdrop-blur text-[11px] text-white",children:[(0,r.jsx)(i.A,{className:"w-3 h-3"}),t.duration,"s"]}),t.aspectratio&&(0,r.jsxs)("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 rounded-full bg-black/60 backdrop-blur text-[11px] text-white",children:[(0,r.jsx)(o,{className:"w-3 h-3"}),t.aspectratio]})]}),(0,r.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 p-2 md:p-3",style:{background:"linear-gradient(to top, rgba(0,0,0,0.8), transparent)"},children:[t.priname&&(0,r.jsx)("p",{className:"text-white text-xs md:text-sm font-semibold text-center tracking-wide mb-2 truncate",children:t.priname}),(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsxs)(a.$,{onClick:()=>n(t),className:"px-2.5 py-1 sm:px-4 sm:py-1.5 h-auto rounded-full font-medium text-[11px] sm:text-sm whitespace-nowrap transition-all duration-300 hover:scale-105 shadow-md bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 text-white",children:[(0,r.jsx)(c.A,{className:"w-3.5 h-3.5 mr-1"}),(null==l?void 0:l.recreateButton)||"Recreate"]})})]})]})})};function f(e){let{texts:t,projectype:l="ads"}=e,{data:a}=(0,u.wV)(),[i,o]=(0,s.useState)([]),[c,f]=(0,s.useState)(!0),[p,v]=(0,s.useState)(null);if((0,s.useEffect)(()=>{let e=!1;return(async()=>
1{try{let t=await fetch("/api/ai-ads-video/templates?projectype=".concat(encodeURIComponent(l))),r=await t.json();if(!e&&r.success){let e=(r.data||[]).filter(e=>!!e.fullvideo_url).map(e=>({...e,finalVideo:e.fullvideo_url}));o(e)}}catch(e){console.error("Failed to load templates:",e)}finally{e||f(!1)}})(),()=>{e=!0}},[l]),!c&&0===i.length)return null;let g=e=>{if(!(null==a?void 0:a.user)){d.oR.error("Please sign in to recreate templates"),(0,u.Jv)();return}v(e)},b=(null==t?void 0:t.templateShowNumInLine)||(null==t?void 0:t.showNumInLine)||6,j=(null==t?void 0:t.templateGalleryTitle)||(null==t?void 0:t.title),N=(null==t?void 0:t.templateGalleryDescription)||(null==t?void 0:t.description);return(0,r.jsxs)("section",{className:"w-full px-[10px] py-5 md:py-[50px]",children:[j&&(0,r.jsx)("h2",{className:"text-3xl sm:text-4xl font-bold text-center mb-3",style:{color:"hsl(var(--foreground))"},children:j}),N&&(0,r.jsx)("p",{className:"text-center text-lg sm:text-xl mb-8 md:mb-12",style:{color:"hsl(var(--muted-foreground))"},children:N}),c?(0,r.jsx)("div",{className:"text-center py-20",children:(0,r.jsx)("p",{className:"text-xl",style:{color:"hsl(var(--muted-foreground))"},children:"Loading..."})}):(0,r.jsx)(m.A,{breakpointCols:{default:b,1024:Math.max(2,b-1),768:2},className:"flex -ml-2 md:-ml-3 w-auto",columnClassName:"pl-2 md:pl-3 bg-clip-padding",children:i.map(e=>(0,r.jsx)("div",{className:"mb-2 md:mb-3",children:(0,r.jsx)(h,{tpl:e,texts:t,onRecreate:g})},e.id))}),(0,r.jsx)(n.lG,{open:!!p,onOpenChange:e=>{e||v(null)},children:(0,r.jsxs)(n.Cf,{className:"max-w-3xl max-h-[90vh] overflow-y-auto",children:[(0,r.jsx)(n.L3,{className:"sr-only",children:(null==t?void 0:t.recreateDialogTitle)||"Recreate from Template"}),p&&(0,r.jsx)("div",{className:"min-w-0 w-full",children:(0,r.jsx)(x.default,{templateProject:p,projectype:l,onCreated:()=>v(null)})})]})})]})}},12588:(e,t,l)=>{"use strict";l.d(t,{default:()=>f});var r=l(68812),s=l(51456),a=l(80893),n=l.n(a),i=l(11538),o=l(33142),c=l(32952),d=l(48089);let u=e=>e&&({HiOutlineSparkles:i.tZt,HiOutlineHome:i.pNx,HiOutlineVideoCamera:i.Kkz,HiOutlinePhoto:i.kv,HiOutlineCog:i.Xqn,HiOutlineUser:i.H_r,HiOutlineHeart:i.uoh,HiOutlineStar:i.sdO,HiOutlineLightBulb:i.fKM,HiOutlineCube:i.XVA,HiOutlinePause:i.oI6,HiOutlineBeaker:i.qRK,MdOutlineWallpaper:o.kNc,MdOutlineVideoLibrary:o.wHW,MdOutlineImage:o.pjp,MdOutlineAutoAwesome:o.aIL,MdOutlineBrush:o.qzg,MdOutlinePalette:o.FSC,MdOutlineFilterAlt:o.Dqr,MdOutlineTransform:o.YQ5,MdOutlineCrop:o.Ujo,MdOutlineAdjust:o.NQk,MdOutlineBlurOn:o.woM,MdOutlineFace:o.P8C})[e]||i.tZt,m=e=>{var t,l,a,i,o;let{item:c,index:d,isShowAll:m=!1}=e,x=u(c.icon),h=c.title||c.name||"Untitled",f=null===(t=c.image)||void 0===t?void 0:t.src,p=f&&/\.(mp4|webm|ogg|mov)$/i.test((null===(l=c.image)||void 0===l?void 0:l.src)||""),v=(0,s.useRef)(null);return(0,r.jsxs)(n(),{href:c.url||"#",target:c.target||"_self",className:"\n        group relative overflow-hidden rounded-xl border border-border \n        transition-all duration-300 ease-in-out \n        min-h-[180px] md:min-h-[200px]\n        bg-secondary hover:bg-accent\n        hover:shadow-lg hover:scale-105 hover:border-primary/30\n        focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\n      ",onMouseEnter:()=>{p&&v.current&&v.current.play()},onMouseLeave:()=>{p&&v.current&&(v.current.pause(),v.current.currentTime=0)},children:[(0,r.jsxs)("div",{className:"flex flex-col h-full",children:[(0,r.jsx)("div",{className:"flex-shrink-0 w-full",children:(0,r.jsx)("div",{className:"overflow-hidden ".concat("w-full h-24 md:h-32"," flex items-center justify-center transition-colors duration-200"),children:f?p?(0,r.jsx)("video",{ref:v,src:null===(a=c.image)||void 0===a?void 0:a.src,className:"w-full h-full object-cover",loop:!0,muted:!0,playsInline:!0,draggable:!1}):(0,r.jsx)("img",{src:null===(i=c.image)||void 0===i?void 0:i.src,alt:(null===(o=c.image)||void 0===o?void 0:o.alt)||h,className:"w-full h-full object-cover-nouse",draggable:!1}):(0,r.jsx)(x,{className:"w-12 h-12 md:w-16 md:h-16 text-muted-foreground group-hover:text-primary  transition-colors duration-200"})})}
1),(0,r.jsxs)("div",{className:"flex-1 min-w-0 w-full flex flex-col justify-center text-center p-3 md:p-4",children:[(0,r.jsx)("h3",{className:"text-xs md:text-base font-semibold text-foreground group-hover:text-primary  transition-colors duration-200 line-clamp-2",title:h,children:h}),c.description&&(0,r.jsx)("p",{className:"text-xs md:text-sm text-muted-foreground mt-1 md:mt-2 line-clamp-2",title:c.description,children:c.description})]})]}),(0,r.jsx)("div",{className:"absolute inset-0 rounded-xl border-2 border-transparent  group-hover:border-primary/20 transition-colors duration-200 pointer-events-none"})]})},x=e=>{let t=[];for(let r of e){if(!0===r.isHighLight)continue;if("/"===r.url||r.url&&r.url.includes("/#")){var l;(null==r?void 0:null===(l=r.image)||void 0===l?void 0:l.src)&&t.push({...r});continue}let e={...r};if(e.group&&(e.group=e.group.trim()||void 0),e.children){e.children=x(e.children),e.children.length>0&&t.push(e);continue}t.push(e)}return t},h=e=>{let t=[];return e.forEach(e=>{e.children&&e.children.length>0?t.push(...e.children):t.push(e)}),t},f=e=>{let{navItems:t,tools_navigation:l,className:a="",isShowAll:o=!1}=e,u=(null==l?void 0:l.group_all_name)||"All",f=(null==l?void 0:l.group_others_name)||"Others",p=(null==l?void 0:l.view_all_button_name)||"View All Tools",v=(null==l?void 0:l.viewAllToolsUrl)||"/all-tools-more",[g,b]=(0,s.useState)(u),[j,N]=(0,s.useState)(!1),[w,y]=(0,s.useState)(!1),[k,A]=(0,s.useState)(0),[C,M]=(0,s.useState)(0),[S,z]=(0,s.useState)(!1),P=(0,s.useRef)(null),T=h(x(t)),I=(0,s.useMemo)(()=>{let e=null==l?void 0:l.showGroups;if(!e||0===e.length)return T;let t=new Set(e.map(e=>(e||"").trim()).filter(Boolean));return T.filter(e=>!!e.group&&t.has(e.group.trim()))},[T,null==l?void 0:l.showGroups]),{groups:O,hasGroups:E}=(0,s.useMemo)(()=>{let e=new Set,t=!1;return(I.forEach(l=>{l.group&&(e.add(l.group),t=!0)}),t)?(I.some(e=>!e.group)&&e.add(f),{groups:[u,...Array.from(e)],hasGroups:!0}):{groups:[],hasGroups:!1}},[I,u,f]),L=(0,s.useMemo)(()=>E&&g!==u?g===f?I.filter(e=>!e.group):I.filter(e=>e.group===g):I,[g,I,E,u,f]),R=(0,s.useMemo)(()=>o?L:L.slice(0,8),[L,o]),H=!o&&L.length>8;s.useEffect(()=>{let e=()=>{P.current&&N(P.current.scrollWidth>P.current.clientWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[O]);let _=(null==l?void 0:l.title)||"AI Tools",D=(null==l?void 0:l.description)||"Explore our comprehensive suite of AI-powered tools",U=e=>{P.current&&(y(!0),A(e),M(P.current.scrollLeft),z(!1))},$=e=>{if(!w||!P.current)return;let t=k-e;P.current.scrollLeft=C+t,Math.abs(t)>5&&z(!0)},V=()=>{y(!1)},W=(e,t)=>{if(S){e.preventDefault();return}e.preventDefault(),e.stopPropagation(),b(t)};return(0,r.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8 ".concat(a),children:[(0,r.jsxs)("div",{className:"text-center mb-8",children:[(0,r.jsx)("h2",{className:"text-3xl font-bold text-foreground mb-2",children:_}),(0,r.jsx)("p",{className:"text-muted-foreground text-lg",children:D})]}),E&&o&&(0,r.jsxs)("div",{className:"relative mb-6",children:[j&&(0,r.jsx)("button",{type:"button",onClick:()=>{P.current&&P.current.scrollBy({left:-200,behavior:"smooth"})},className:"absolute left-0 top-1/2 -translate-y-1/2 z-10 bg-card/95 hover:bg-muted border border-border rounded-full p-2 shadow-lg backdrop-blur-sm transition-colors","aria-label":"Scroll left",children:(0,r.jsx)(c.A,{className:"w-4 h-4 text-foreground"})}),(0,r.jsx)("div",{ref:P,className:"flex gap-2 overflow-x-auto scrollbar-hide ".concat(j?"px-10":""),style:{scrollbarWidth:"none",msOverflowStyle:"none",cursor:w?"grabbing":"grab"},onMouseDown:e=>{e.target===e.currentTarget&&U(e.clientX)},onMouseMove:e=>{w&&$(e.clientX)},onMouseUp:V,onMouseLeave:V,onTouchStart:e=>U(e.touches[0].clientX),onTouchMove:e=>{w&&$(e.touches[0].clientX)},onTouchEnd:V,children:O.map(e=>(0,r.jsx)("button",{type:"button",onMouseDown:e=>{U(e.clientX)},onClick:t=>W(t,e),className:"px-4 py-2 rounded-lg text-sm font-medium transition-all duration-200 whitespace-nowrap flex-shrink-0 cursor-pointer ".concat(g===e?"bg-primary text-primary-foreground shadow-md":"bg-muted text-foreground hover:bg-accent border border-border"),children:e},e))}),j&&(0,r.jsx)("button",{type:"button",onClick:()=>{P.current&&P.current.scrollBy({left:200,behavior:"smooth"})},className:"absolute right-0 top-1/2 -translate-y-1/2 z-10 bg-card/95 hover:bg-muted border border-border rounded-full p-2 shadow-lg backdrop-blur-sm transition-colors","aria-label":"Scroll right",children:(0,r.jsx)(d.A,{className:"w-4 h-4 text-foreground"})})]}),H&&(0,r.jsx)("div",{className:"flex justify-end mb-4",children:(0,r.jsxs)(n(),{href:v,className:"inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground transition-colors",children:[p,(0,r.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})}),(0,r.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:R.map((e,t)=>(0,r.jsx)(m,{item:e,index:t,isShowAll:o},"".concat(e.title||e.name||"tool","-").concat(t)))}),H&&(0,r.jsx)("div",{className:"mt-8 flex justify-center",children:(0,r.jsx)(n(),{href:v,className:"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 bg-primary text-primary-foreground hover:bg-primary/90 h-10 px-4 py-2",children:p})}),0===R.length&&(0,r.jsxs)("div",{className:"text-center py-12",children:[(0,r.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-muted flex items-center justify-center",children:(0,r.jsx)(i.tZt,{className:"w-8 h-8 text-muted-foreground"})}),(0,r.jsx)("h3",{className:"text-lg font-medium text-foreground mb-2",children:"No tools available"}),(0,r.jsx)("p",{className:"text-muted-foreground",children:"Check back later for new AI tools and features."})]})]})}},15160:(e,t,l)=>{"use strict";l.d(t,{default:()=>x});var r=l(68812),s=l(63810),a=l(91987),n=l(40296),i=l(51456),o=l(80487),c=l(13910),d=l(80893),u=l.n(d),m=l(95147);function x(e){var t;let{section:l}=e;if(l.disabled)return null;let[d,x]=(0,i.useState)(),[h,f]=(0,i.useState)(!1),[p,v]=(0,i.useState)(!1);return(0,i.useEffect)(()=>
1{if(!d)return;let e=()=>{f(d.canScrollPrev()),v(d.canScrollNext())};return e(),d.on("select",e),()=>{d.off("select",e)}},[d]),(0,r.jsxs)("section",{id:l.name,className:"py-16",children:[(0,r.jsx)("div",{className:"container",children:(0,r.jsxs)("div",{className:"mb-8 flex items-end justify-between md:mb-14 lg:mb-16",children:[(0,r.jsx)("h2",{className:"mb-2 text-pretty text-3xl font-bold lg:text-4xl",children:l.title}),(0,r.jsxs)("div",{className:"shrink-0 gap-2 md:flex",children:[(0,r.jsx)(c.$,{size:"icon",variant:"ghost",onClick:()=>{null==d||d.scrollPrev()},disabled:!h,className:"disabled:pointer-events-auto",children:(0,r.jsx)(s.A,{className:"size-5"})}),(0,r.jsx)(c.$,{size:"icon",variant:"ghost",onClick:()=>{null==d||d.scrollNext()},disabled:!p,className:"disabled:pointer-events-auto",children:(0,r.jsx)(a.A,{className:"size-5"})})]})]})}),(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)(n.FN,{setApi:x,opts:{breakpoints:{"(max-width: 768px)":{dragFree:!0}}},children:(0,r.jsx)(n.Wk,{className:"container ml-[calc(theme(container.padding)-20px)] mr-[calc(theme(container.padding))] 2xl:ml-[calc(50vw-700px+theme(container.padding)-20px)] 2xl:mr-[calc(50vw-700px+theme(container.padding))]",children:null===(t=l.items)||void 0===t?void 0:t.map((e,t)=>{var l,s;return(0,r.jsx)(n.A7,{className:"max-w-[320px] pl-[20px] lg:max-w-[360px]",children:(0,r.jsxs)("a",{href:e.url,target:e.target,className:"group flex flex-col justify-between rounded-xl border border-border bg-card p-6",children:[(0,r.jsx)("div",{children:(0,r.jsx)("div",{className:"flex aspect-[3/2] overflow-clip rounded-xl",children:(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsx)("div",{className:"relative h-full w-full origin-bottom transition duration-300 group-hover:scale-105",children:(0,r.jsx)("img",{src:null===(l=e.image)||void 0===l?void 0:l.src,alt:(null===(s=e.image)||void 0===s?void 0:s.alt)||e.title,className:"h-full w-full object-cover object-center"})})})})}),e.label&&(0,r.jsx)("div",{className:"mt-6",children:(0,r.jsx)(o.E,{children:e.label})}),(0,r.jsx)("div",{className:"mb-2 line-clamp-3 break-words pt-4 text-lg font-medium md:mb-3 md:pt-4 md:text-xl lg:pt-4 lg:text-2xl",children:e.title}),(0,r.jsx)("div",{className:"mb-2 line-clamp-2 text-sm text-muted-foreground md:mb-2 md:text-base lg:mb-2",children:e.description})]})},t)})})})}),l.buttons&&(0,r.jsx)("div",{className:"mt-8 flex flex-col justify-center gap-4 sm:flex-row",children:l.buttons.map((e,t)=>(0,r.jsx)(c.$,{variant:e.variant||"default",children:(0,r.jsxs)(u(),{href:e.url||"",target:e.target,className:"flex items-center justify-center gap-1",children:[e.title,e.icon&&(0,r.jsx)(m.default,{name:e.icon,className:"size-6"})]})},t))})]})}},25569:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(4024).A)("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]])},29007:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(4024).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},40296:(e,t,l)=>{"use strict";l.d(t,{A7:()=>h,FN:()=>m,Wk:()=>x});var r=l(68812),s=l(51456),a=l(36413),n=l(63810),i=l(91987),o=l(58981),c=l(13910);let d=s.createContext(null);function u(){let e=s.useContext(d);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let m=s.forwardRef((e,t)=>{let{orientation:l="horizontal",opts:n,setApi:i,plugins:c,className:u,children:m,...x}=e,[h,f]=(0,a.A)({...n,axis:"horizontal"===l?"x":"y"},c),[p,v]=s.useState(!1),[g,b]=s.useState(!1),j=s.useCallback(e=>{e&&(v(e.canScrollPrev()),b(e.canScrollNext()))},[]),N=s.useCallback(()=>{null==f||f.scrollPrev()},[f]),w=s.useCallback(()=>{null==f||f.scrollNext()},[f]),y=s.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),N()):"ArrowRight"===e.key&&(e.preventDefault(),w())},[N,w]);return s.useEffect(()=>{f&&i&&i(f)},[f,i]),s.useEffect(()=>{if(f)return j(f),f.on("reInit",j),f.on("select",j),()=>{null==f||f.off("select",j)}},[f,j]),(0,r.jsx)(d.Provider,{value:{carouselRef:h,api:f,opts:n,orientation:l||((null==n?void 0:n.axis)==="y"?"vertical":"horizontal"),scrollPrev:N,scrollNext:w,canScrollPrev:p,canScrollNext:g},children:(0,r.jsx)("div",{ref:t,onKeyDownCapture:y,className:(0,o.cn)("relative",u),role:"region","aria-roledescription":"carousel",...x,children:m})})});
1m.displayName="Carousel";let x=s.forwardRef((e,t)=>{let{className:l,...s}=e,{carouselRef:a,orientation:n}=u();return(0,r.jsx)("div",{ref:a,className:"overflow-hidden",children:(0,r.jsx)("div",{ref:t,className:(0,o.cn)("flex","horizontal"===n?"-ml-4":"-mt-4 flex-col",l),...s})})});x.displayName="CarouselContent";let h=s.forwardRef((e,t)=>{let{className:l,...s}=e,{orientation:a}=u();return(0,r.jsx)("div",{ref:t,role:"group","aria-roledescription":"slide",className:(0,o.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===a?"pl-4":"pt-4",l),...s})});h.displayName="CarouselItem",s.forwardRef((e,t)=>{let{className:l,variant:s="outline",size:a="icon",...i}=e,{orientation:d,scrollPrev:m,canScrollPrev:x}=u();return(0,r.jsxs)(c.$,{ref:t,variant:s,size:a,className:(0,o.cn)("absolute  h-8 w-8 rounded-full","horizontal"===d?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",l),disabled:!x,onClick:m,...i,children:[(0,r.jsx)(n.A,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}).displayName="CarouselPrevious",s.forwardRef((e,t)=>{let{className:l,variant:s="outline",size:a="icon",...n}=e,{orientation:d,scrollNext:m,canScrollNext:x}=u();return(0,r.jsxs)(c.$,{ref:t,variant:s,size:a,className:(0,o.cn)("absolute h-8 w-8 rounded-full","horizontal"===d?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",l),disabled:!x,onClick:m,...n,children:[(0,r.jsx)(i.A,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Next slide"})]})}).displayName="CarouselNext"},44343:(e,t,l)=>{"use strict";l.d(t,{default:()=>o});var r=l(68812),s=l(51456),a=l(33493),n=l(32952),i=l(48089);function o(e){var t,l,o,c;let{example:d,delayMs:u=3e3,autoPlayMs:m=3e3}
1=e,[x,h]=(0,s.useState)(!1),[f,p]=(0,s.useState)(0),[v,g]=(0,s.useState)(!1),b=(null==d?void 0:d.examples)||[];if((0,s.useEffect)(()=>{if(!b.length)return;let e=setTimeout(()=>h(!0),u);return()=>clearTimeout(e)},[]),(0,s.useEffect)(()=>{if(!x||!m||b.length<=1||v)return;let e=setInterval(()=>{p(e=>e===b.length-1?0:e+1)},m);return()=>clearInterval(e)},[x,m,b.length,v]),(0,s.useEffect)(()=>{if(!v)return;let e=setTimeout(()=>g(!1),m||4e3);return()=>clearTimeout(e)},[v,m]),!x||!b.length)return null;let j=b[f],N=b.length,w=e=>e&&/\.(mp4|webm|ogg|mov)$/i.test(e),y=(null===(t=j.editedImage)||void 0===t?void 0:t.src)||(null===(l=j.image)||void 0===l?void 0:l.src)||"";return(0,r.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",style:{backgroundColor:"rgba(0,0,0,0.65)"},onClick:()=>h(!1),children:(0,r.jsxs)("div",{className:"relative text-white rounded-2xl shadow-2xl overflow-hidden",onClick:e=>e.stopPropagation(),style:{width:"min(92vw, 980px)",background:"linear-gradient(180deg, hsl(var(--popover)), hsl(var(--card)))",color:"hsl(var(--popover-foreground))"},children:[(0,r.jsx)("button",{onClick:()=>h(!1),className:"absolute top-3 right-3 z-10 text-white/60 hover:text-white transition-colors","aria-label":"Close",children:(0,r.jsx)(a.A,{className:"w-5 h-5"})}),(0,r.jsxs)("div",{className:"px-6 pt-8 pb-4 text-center sm:px-10",children:[(null==d?void 0:d.title)&&(0,r.jsx)("div",{className:"text-sm text-white/60 mb-1",children:d.title}),j.title&&(0,r.jsx)("h2",{className:"text-2xl sm:text-3xl font-extrabold text-[hsl(var(--primary-foreground))] mb-2",children:j.title}),j.description&&(0,r.jsx)("p",{className:"text-sm text-white/70 leading-relaxed max-w-3xl mx-auto",children:j.description}),j.clickToUrl&&(0,r.jsx)("a",{href:j.clickToUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-block mt-4 px-6 py-2 bg-gradient-to-r from-[hsl(var(--primary))] to-rose-500 text-[hsl(var(--primary-foreground))] font-semibold rounded-full transition-all shadow-lg",onClick:()=>h(!1),children:j.editedLabel||"Try Now"})]}),(0,r.jsxs)("div",{className:"relative flex items-center px-4 pb-6 sm:px-8",children:[(0,r.jsx)("button",{onClick:()=>{g(!0),p(e=>0===e?N-1:e-1)},disabled:N<=1,className:"shrink-0 z-10 bg-white/10 hover:bg-white/20 disabled:opacity-30 rounded-full p-2 transition-all mr-3","aria-label":"Previous",children:(0,r.jsx)(n.A,{className:"w-6 h-6"})}),(0,r.jsxs)("div",{className:"flex-1 rounded-xl overflow-hidden bg-black",style:{aspectRatio:"16/9",minHeight:220},children:[y?j.clickToUrl?(0,r.jsx)("a",{href:j.clickToUrl,target:"_blank",rel:"noopener noreferrer",onClick:()=>h(!1),className:"block w-full h-full",children:w(y)?(0,r.jsx)("video",{src:y,className:"w-full h-full object-cover cursor-pointer",autoPlay:!0,loop:!0,muted:!0,playsInline:!0},y):(0,r.jsx)("img",{src:y,alt:j.title||"",className:"w-full h-full object-cover cursor-pointer"},y)}):w(y)?(0,r.jsx)("video",{src:y,className:"w-full h-full object-cover",autoPlay:!0,loop:!0,muted:!0,playsInline:!0},y):(0,r.jsx)("img",{src:y,alt:j.title||"",className:"w-full h-full object-cover"},y):(0,r.jsx)("div",{className:"w-full h-full flex items-center justify-center text-white/30 text-sm",children:"No preview"}),j.imageTopTitle&&(0,r.jsx)("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 text-center pointer-events-none",children:(0,r.jsx)("span",{className:"text-white text-2xl font-extrabold drop-shadow-lg tracking-wide",children:j.imageTopTitle})})]}),(0,r.jsx)("button",{onClick:()=>{g(!0),p(e=>e===N-1?0:e+1)},disabled:N<=1,className:"shrink-0 z-10 bg-white/10 hover:bg-white/20 disabled:opacity-30 rounded-full p-2 transition-all ml-3","aria-label":"Next",children:(0,r.jsx)(i.A,{className:"w-6 h-6"})})]}),N>1&&(0,r.jsx)("div",{className:"flex justify-center gap-1.5 pb-5",children:b.map((e,t)=>(0,r.jsx)("button",{onClick:()=>{g(!0),p(t)},className:"w-2 h-2 rounded-full transition-all ".concat(t===f?"bg-[hsl(var(--primary))] w-4":"bg-white/30"),"aria-label":"Go to slide ".concat(t+1)},t))}),(null==d?void 0:null===(c=d.buttons)||void 0===c?void 0:null===(o=c[0])||void 0===o?void 0:o.url)&&(0,r.jsx)("div",{className:"text-center pb-5 text-sm text-white/50 hover:text-white/80 transition-colors",children:(0,r.jsxs)("a",{href:d.buttons[0].url,onClick:()=>h(!1),children:[d.buttons[0].title||"See previous updates"," ›"]}
1)})]})})}},50529:(e,t,l)=>{"use strict";l.d(t,{Avatar:()=>i,AvatarImage:()=>o,q:()=>c});var r=l(68812),s=l(51456),a=l(87027),n=l(58981);let i=s.forwardRef((e,t)=>{let{className:l,...s}=e;return(0,r.jsx)(a.bL,{ref:t,className:(0,n.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",l),...s})});i.displayName=a.bL.displayName;let o=s.forwardRef((e,t)=>{let{className:l,...s}=e;return(0,r.jsx)(a._V,{ref:t,className:(0,n.cn)("aspect-square h-full w-full",l),...s})});o.displayName=a._V.displayName;let c=s.forwardRef((e,t)=>{let{className:l,...s}=e;return(0,r.jsx)(a.H4,{ref:t,className:(0,n.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",l),...s})});c.displayName=a.H4.displayName},52652:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(4024).A)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},54432:(e,t,l)=>{"use strict";l.d(t,{$m:()=>d,As:()=>c,nD:()=>o,ub:()=>u});var r=l(68812),s=l(51456),a=l(50274),n=l(66281),i=l(58981);let o=a.bL,c=s.forwardRef((e,t)=>{let{className:l,...s}=e;return(0,r.jsx)(a.q7,{ref:t,className:(0,i.cn)("border-b",l),...s})});c.displayName="AccordionItem";let d=s.forwardRef((e,t)=>{let{className:l,children:s,...o}=e;return(0,r.jsx)(a.Y9,{className:"flex",children:(0,r.jsxs)(a.l9,{ref:t,className:(0,i.cn)("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",l),...o,children:[s,(0,r.jsx)(n.A,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})})});d.displayName=a.l9.displayName;let u=s.forwardRef((e,t)=>{let{className:l,children:s,...n}=e;return(0,r.jsx)(a.UC,{ref:t,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:(0,r.jsx)("div",{className:(0,i.cn)("pb-4 pt-0",l),children:s})})});u.displayName=a.UC.displayName},61190:(e,t,l)=>{"use strict";l.d(t,{default:()=>h});var r=l(68812),s=l(50529),a=l(40296),n=l(97618),i=l(87004),o=l(95147),c=l(51931),d=l(51456),u=l(13910),m=l(80893),x=l.n(m);function h(e){var t;let{section:l}=e;if(l.disabled)return null;let m=(0,d.useRef)((0,n.A)({startDelay:500,speed:.7}));return(0,r.jsxs)("section",{id:l.name,className:"py-16",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[l.label&&(0,r.jsxs)("div",{className:"flex items-center gap-1 text-sm font-semibold text-primary",children:[l.icon&&(0,r.jsx)(o.default,{name:l.icon,className:"h-6 w-auto border-primary"}),l.label]}),(0,r.jsx)("h2",{className:"text-center text-3xl font-semibold lg:text-4xl",children:l.title}),(0,r.jsx)("p",{className:"text-center text-muted-foreground lg:text-lg",children:l.description})]}),(0,r.jsx)("div",{className:"lg:container",children:(0,r.jsx)("div",{className:"mt-16 space-y-4",children:(0,r.jsx)(a.FN,{opts:{loop:!0},plugins:[m.current],onMouseLeave:()=>m.current.play(),className:"relative before:absolute before:bottom-0 before:left-0 before:top-0 before:z-10 before:w-36 before:bg-gradient-to-r before:from-background before:to-transparent after:absolute after:bottom-0 after:right-0 after:top-0 after:z-10 after:w-36 after:bg-gradient-to-l after:from-background after:to-transparent",children:(0,r.jsx)(a.Wk,{children:null===(t=l.items)||void 0===t?void 0:t.map((e,t)=>{var l,n;return(0,r.jsx)(a.A7,{className:"basis-auto",children:(0,r.jsxs)(i.Zp,{className:"max-w-96 select-none p-6",children:[(0,r.jsxs)("div",{className:"flex justify-between",children:[(0,r.jsxs)("div",{className:"mb-4 flex gap-4",children:[(0,r.jsx)(s.Avatar,{className:"size-14 rounded-full ring-1 ring-input",children:(0,r.jsx)(s.AvatarImage,{src:null===(l=e.image)||void 0===l?void 0:l.src,alt:(null===(n=e.image)||void 0===n?void 0:n.alt)||e.title})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"font-medium",children:e.title}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:e.label})]})]}),(0,r.jsx)("div",{className:"flex gap-1",children:Array.from({length:5}).map((e,t)=>(0,r.jsx)(c.A,{className:"size-5 fill-amber-500 text-amber-500"},t))})]}),(0,r.jsx)("q",{className:"leading-7 text-muted-foreground",children:e.description})]})},t)})})})})}),l.buttons&&(0,r.jsx)("div",{className:"mt-8 flex flex-col justify-center gap-4 sm:flex-row",children:l.buttons.map((e,t)=>(0,r.jsx)(u.$,{variant:e.variant||"default",children:(0,r.jsxs)(x(),{href:e.url||"",target:e.target,className:"flex items-center justify-center gap-1",children:[e.title,e.icon&&(0,r.jsx)(o.default,{name:e.icon,className:"size-6"})]})},t))})]})}},61214:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(4024).A)("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},65554:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(4024).A)("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l
1-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]])},66763:(e,t,l)=>{"use strict";l.d(t,{default:()=>x});var r=l(68812),s=l(54432),a=l(40296),n=l(51456),i=l(80487),o=l(76089),c=l(95147),d=l(13910),u=l(80893),m=l.n(u);function x(e){var t,l;let{section:u}=e;if(u.disabled)return null;let[x,h]=(0,n.useState)(),[f,p]=(0,n.useState)("1");return(0,n.useEffect)(()=>{null==x||x.scrollTo(+f-1);let e=setInterval(()=>{p(e=>{let t=parseInt(e)+1;return t>3?"1":t.toString()})},5e3);return()=>clearInterval(e)},[x,f]),(0,r.jsx)("section",{id:u.name,className:"py-32",children:(0,r.jsx)("div",{className:"container",children:(0,r.jsxs)("div",{className:"mx-auto grid gap-20 lg:grid-cols-2",children:[(0,r.jsxs)("div",{children:[u.label&&(0,r.jsx)(i.E,{variant:"outline",className:"mb-4",children:u.label}),(0,r.jsx)("h2",{className:"mb-6 text-pretty text-3xl font-bold lg:text-4xl",children:u.title}),(0,r.jsx)("p",{className:"mb-4 max-w-xl text-muted-foreground lg:max-w-none lg:text-lg",children:u.description}),(0,r.jsx)(s.nD,{type:"single",value:f,onValueChange:e=>{p(e),console.log(e),null==x||x.scrollTo(+e-1)},children:null===(t=u.items)||void 0===t?void 0:t.map((e,t)=>(0,r.jsxs)(s.As,{value:(t+1).toString(),className:"border-b-0 border-secondary",children:[(0,r.jsx)(s.$m,{className:"text-left data-[state=closed]:text-muted-foreground",children:(0,r.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[e.icon&&(0,r.jsx)("p",{className:"flex size-9 items-center justify-center rounded-lg bg-muted",children:(0,r.jsx)(c.default,{name:e.icon,className:"size-5 shrink-0 lg:size-6"})}),(0,r.jsx)("span",{className:"font-medium lg:text-lg",children:e.title})]})}),(0,r.jsxs)(s.ub,{className:"text-muted-foreground lg:text-base",children:[e.description,(0,r.jsx)("div",{className:"mt-8 h-px bg-muted",children:(0,r.jsx)("div",{className:"h-px animate-progress bg-primary",style:{animationDuration:"".concat(5e3,"ms")}})})]})]},t))})]}),(0,r.jsx)("div",{children:(0,r.jsx)(a.FN,{opts:{duration:50},setApi:h,plugins:[(0,o.A)()],children:(0,r.jsx)(a.Wk,{children:null===(l=u.items)||void 0===l?void 0:l.map((e,t)=>{var l;return(0,r.jsx)(a.A7,{children:(0,r.jsx)("div",{children:(null===(l=e.image)||void 0===l?void 0:l.src)&&(e.image.src.toLowerCase().endsWith(".mp4")?(0,r.jsx)("video",{src:e.image.src,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"max-h-auto w-full rounded-md object-cover lg:max-h-none"}):(0,r.jsx)("img",{src:e.image.src,alt:e.image.alt||e.title,className:"max-h-auto w-full rounded-md object-cover lg:max-h-none"}))})},t)})})})}),u.buttons&&(0,r.jsx)("div",{className:"mt-8 flex flex-col justify-center gap-4 sm:flex-row",children:u.buttons.map((e,t)=>(0,r.jsx)(d.$,{variant:e.variant||"default",children:(0,r.jsxs)(m(),{href:e.url||"",target:e.target,className:"flex items-center justify-center gap-1",children:[e.title,e.icon&&(0,r.jsx)(c.default,{name:e.icon,className:"size-6"})]})},t))})]})})})}},70549:(e,t,l)=>{Promise.resolve().then(l.bind(l,6845)),Promise.resolve().then(l.bind(l,61029)),Promise.resolve().then(l.bind(l,92203)),Promise.resolve().then(l.bind(l,72498)),Promise.resolve().then(l.bind(l,62120)),Promise.resolve().then(l.bind(l,75413)),Promise.resolve().then(l.bind(l,66763)),Promise.resolve().then(l.bind(l,65289)),Promise.resolve().then(l.bind(l,15160)),Promise.resolve().then(l.bind(l,61190)),Promise.resolve().then(l.bind(l,4337)),Promise.resolve().then(l.bind(l,88587)),Promise.resolve().then(l.bind(l,45599)),Promise.resolve().then(l.bind(l,95147)),Promise.resolve().then(l.bind(l,75494)),Promise.resolve().then(l.bind(l,12588)),Promise.resolve().then(l.bind(l,50529)),Promise.resolve().then(l.bind(l,44343)),Promise.resolve().then(l.bind(l,74525)),Promise.resolve().then(l.t.bind(l,80893,23)),Promise.resolve().then(l.t.bind(l,94130,23))},75413:(e,t,l)=>{"use strict";l.d(t,{default:()=>c});var r=l(68812),s=l(13910),a=l(95147),n=l(80893),i=l.n(n),o=l(51456);function c(e){let{section:t,redirectDelayMs:l=2e3}=e;return((0,o.useEffect)(()=>{var e;let r=null===(e=t.redirectUrl)||void 0===e?void 0:e.trim();if(!r)return;let s=setTimeout(()=>{window.location.href=r},l);return()=>clearTimeout(s)},[t.redirectUrl,l]),t.disabled)?null:(0,r.jsx)("section",{id:t.name,className:"py-16",children:(0,r.jsx)("div",{className:"px-8",children:(0,r.jsx)("div",{className:'flex items-center justify-center rounded-2xl  bg-[url("/imgs/masks/circle.svg")] bg-cover bg-center px-8 py-12 text-center md:p-16',children:(0,r.jsxs)("div",{className:"mx-auto max-w-screen-md",children:[(0,r.jsx)("h2",{className:"mb-4 text-balance text-3xl font-semibold md:text-5xl",children:t.title}),(0,r.jsx)("p",{className:"text-muted-foreground md:text-lg",children:t.description}),t.buttons&&(0,r.jsx)("div",{className:"mt-8 flex flex-col justify-center gap-4 sm:flex-row",children:t.buttons.map((e,t)=>(0,r.jsx)(s.$,{variant:e.variant||"default",children:(0,r.jsxs)(i(),{href:e.url||"",target:e.target,className:"flex items-center justify-center gap-1",children:[e.title,e.icon&&(0,r.jsx)(a.default,{name:e.icon,className:"size-6"})]})},t))})]})})})})}},88392:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(4024).A)("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]])},88587:(e,t,l)=>{"use strict";l.d(t,{default:()=>o});var r=l(68812),s=l(51456),a=l(32952),n=l(48089),i=l(91987);
1function o(e){let{example:t,desktopItemsPerView:l=3}=e,[o,c]=(0,s.useState)(0),[d,u]=(0,s.useState)(null),[m,x]=(0,s.useState)(!1),[h,f]=(0,s.useState)(0),[p,v]=(0,s.useState)(0),[g,b]=(0,s.useState)(!1),[j,N]=(0,s.useState)(l),w=(0,s.useRef)(null),y=(0,s.useRef)(null),k=(null==t?void 0:t.examples)||[];(0,s.useEffect)(()=>{let e=()=>{N(window.innerWidth>=768?l:2)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[l]),(0,s.useEffect)(()=>(y.current&&clearInterval(y.current),y.current=setInterval(()=>{C()},4e3),()=>{y.current&&clearInterval(y.current)}),[o,k.length]);let A=()=>{c(e=>0===e?k.length-j:e-1)},C=()=>{c(e=>e>=k.length-j?0:e+1)},M=e=>{x(!0),f(e),b(!1),y.current&&clearInterval(y.current)},S=e=>{if(!m)return;let t=e-h;v(t),Math.abs(t)>5&&b(!0)},z=()=>{m&&(x(!1),p>50?A():p<-50&&C(),v(0))},P=e=>{!g&&e&&window.open(e,"_blank")},T=e=>/\.(mp4|webm|ogg|mov)$/i.test(e),I=j>=4?"text-white text-sm md:text-xl lg:text-3xl":3===j?"text-white text-base md:text-2xl lg:text-4xl":"text-white text-sm md:text-3xl lg:text-5xl";return k&&0!==k.length?(0,r.jsx)("div",{className:"w-full py-8 md:py-12",children:(0,r.jsxs)("div",{className:"container mx-auto px-4",children:[(null==t?void 0:t.title)&&(0,r.jsxs)("div",{className:"mb-6 text-center",children:[(0,r.jsx)("h2",{className:"text-2xl md:text-4xl font-bold text-foreground mb-1",children:t.title}),(null==t?void 0:t.description)&&(0,r.jsx)("p",{className:"text-muted-foreground text-base",children:t.description})]}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("button",{onClick:A,className:"absolute left-0 md:-left-12 top-1/2 -translate-y-1/2 z-10 bg-muted hover:bg-accent text-foreground rounded-full p-2 md:p-3 transition-all shadow-lg","aria-label":"Previous",children:(0,r.jsx)(a.A,{className:"w-5 h-5 md:w-6 md:h-6"})}),(0,r.jsx)("button",{onClick:C,className:"absolute right-0 md:-right-12 top-1/2 -translate-y-1/2 z-10 bg-muted hover:bg-accent text-foreground rounded-full p-2 md:p-3 transition-all shadow-lg","aria-label":"Next",children:(0,r.jsx)(n.A,{className:"w-5 h-5 md:w-6 md:h-6"})}),(0,r.jsx)("div",{ref:w,className:"overflow-hidden select-none",onMouseDown:e=>M(e.clientX),onMouseMove:e=>S(e.clientX),onMouseUp:z,onMouseLeave:z,onTouchStart:e=>M(e.touches[0].clientX),onTouchMove:e=>S(e.touches[0].clientX),onTouchEnd:z,children:(0,r.jsx)("div",{className:"flex transition-transform duration-300 ease-out",style:{transform:"translateX(calc(-".concat(100/j*o,"% + ").concat(p,"px))")},children:k.map((e,t)=>{var l,s,a;return(0,r.jsx)("div",{className:"flex-shrink-0 px-2 md:px-4",style:{width:"".concat(100/j,"%")},onMouseEnter:()=>u(t),onMouseLeave:()=>u(null),children:(0,r.jsxs)("div",{className:"relative rounded-lg overflow-hidden bg-transparent shadow-lg transition-all duration-300 ".concat(e.clickToUrl?"cursor-pointer hover:shadow-xl":""," ").concat(d===t?"ring-2 ring-primary":""),onClick:()=>P(e.clickToUrl),children:[(0,r.jsxs)("div",{className:"relative aspect-video w-full",children:[(null===(l=e.image)||void 0===l?void 0:l.src)&&T(e.image.src)?(0,r.jsx)("video",{src:e.image.src,className:"w-full h-full object-cover",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,draggable:!1,onDragStart:e=>e.preventDefault()}):(0,r.jsx)("img",{src:(null===(s=e.image)||void 0===s?void 0:s.src)||"",alt:(null===(a=e.image)||void 0===a?void 0:a.alt)||e.title||"Slide ".concat(t+1),className:"w-full h-full object-cover",draggable:!1,onDragStart:e=>e.preventDefault()}),e.imageTopTitle&&(0,r.jsx)("div",{className:"absolute inset-0 flex flex-col items-center justify-center pt-16 md:pt-20 lg:pt-24 p-6 md:p-8 bg-black/30",children:(0,r.jsx)("h3",{className:"".concat(I," font-bold text-center leading-tight"),style:{textShadow:"0 4px 12px rgba(0,0,0,0.8), 0 2px 4px rgba(0,0,0,0.6), 0 8px 24px rgba(0,0,0,0.5)"},children:e.imageTopTitle})})]}),e.title&&(0,r.jsxs)("div",{className:"p-4 md:p-6",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold text-base md:text-lg transition-all duration-300 ".concat(d===t?"text-primary":"text-foreground"),children:e.title}),d===t&&(0,r.jsx)(i.A,{className:"w-5 h-5 md:w-6 md:h-6 text-primary animate-pulse flex-shrink-0 ml-2"})]}),e.description&&(0,r.jsx)("p",{className:"text-muted-foreground text-xs md:text-sm mt-2 line-clamp-2",children:e.description})]})]})},t)})})}),(0,r.jsx)("div",{className:"flex justify-center gap-2 mt-6",children:Array.from({length:Math.ceil(k.length/j)}).map((e,t)=>(0,r.jsx)("button",{onClick:()=>c(t*j),className:"h-2 rounded-full transition-all duration-300 ".concat(Math.floor(o/j)===t?"bg-primary w-8":"bg-muted w-2 hover:bg-primary/50"),"aria-label":"Go to slide ".concat(t+1)},t))})]})]})}):null}},95654:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(4024).A)("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]])}},e=>{var t=t=>e(e.s=t);e.O(0,[85719,88548,96452,43777,29528,66420,71563,52798,24169,80893,97030,7603,57463,21975,93546,42246,36698,74608,72027,65685,63192,12969,44485,57219,65289,19134,41380,61029,17635,85783,97775,7
17358],()=>t(70549)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.