PageSourceSearch

https://funnyai.org/_next/static/chunks/47337-470190a9dbda861c.js?dpl=dpl_FFybzrMEaxyuTPFTS68xFruhRzWw

js funnyai.org collected 2026-10-09 01:49:56 UTC 16,579 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[47337],{12588:(e,t,r)=>{"use strict";r.d(t,{default:()=>x});var l=r(68812),n=r(51456),o=r(80893),i=r.n(o),s=r(11538),a=r(33142),u=r(32952),d=r(48089);let c=e=>e&&({HiOutlineSparkles:s.tZt,HiOutlineHome:s.pNx,HiOutlineVideoCamera:s.Kkz,HiOutlinePhoto:s.kv,HiOutlineCog:s.Xqn,HiOutlineUser:s.H_r,HiOutlineHeart:s.uoh,HiOutlineStar:s.sdO,HiOutlineLightBulb:s.fKM,HiOutlineCube:s.XVA,HiOutlinePause:s.oI6,HiOutlineBeaker:s.qRK,MdOutlineWallpaper:a.kNc,MdOutlineVideoLibrary:a.wHW,MdOutlineImage:a.pjp,MdOutlineAutoAwesome:a.aIL,MdOutlineBrush:a.qzg,MdOutlinePalette:a.FSC,MdOutlineFilterAlt:a.Dqr,MdOutlineTransform:a.YQ5,MdOutlineCrop:a.Ujo,MdOutlineAdjust:a.NQk,MdOutlineBlurOn:a.woM,MdOutlineFace:a.P8C})[e]||s.tZt,m=e=>{var t,r,o,s,a;let{item:u,index:d,isShowAll:m=!1}=e,h=c(u.icon),f=u.title||u.name||"Untitled",x=null===(t=u.image)||void 0===t?void 0:t.src,g=x&&/\.(mp4|webm|ogg|mov)$/i.test((null===(r=u.image)||void 0===r?void 0:r.src)||""),p=(0,n.useRef)(null);return(0,l.jsxs)(i(),{href:u.url||"#",target:u.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:()=>{g&&p.current&&p.current.play()},onMouseLeave:()=>{g&&p.current&&(p.current.pause(),p.current.currentTime=0)},children:[(0,l.jsxs)("div",{className:"flex flex-col h-full",children:[(0,l.jsx)("div",{className:"flex-shrink-0 w-full",children:(0,l.jsx)("div",{className:"overflow-hidden ".concat("w-full h-24 md:h-32"," flex items-center justify-center transition-colors duration-200"),children:x?g?(0,l.jsx)("video",{ref:p,src:null===(o=u.image)||void 0===o?void 0:o.src,className:"w-full h-full object-cover",loop:!0,muted:!0,playsInline:!0,draggable:!1}):(0,l.jsx)("img",{src:null===(s=u.image)||void 0===s?void 0:s.src,alt:(null===(a=u.image)||void 0===a?void 0:a.alt)||f,className:"w-full h-full object-cover-nouse",draggable:!1}):(0,l.jsx)(h,{className:"w-12 h-12 md:w-16 md:h-16 text-muted-foreground group-hover:text-primary  transition-colors duration-200"})})}
1),(0,l.jsxs)("div",{className:"flex-1 min-w-0 w-full flex flex-col justify-center text-center p-3 md:p-4",children:[(0,l.jsx)("h3",{className:"text-xs md:text-base font-semibold text-foreground group-hover:text-primary  transition-colors duration-200 line-clamp-2",title:f,children:f}),u.description&&(0,l.jsx)("p",{className:"text-xs md:text-sm text-muted-foreground mt-1 md:mt-2 line-clamp-2",title:u.description,children:u.description})]})]}),(0,l.jsx)("div",{className:"absolute inset-0 rounded-xl border-2 border-transparent  group-hover:border-primary/20 transition-colors duration-200 pointer-events-none"})]})},h=e=>{let t=[];for(let l of e){if(!0===l.isHighLight)continue;if("/"===l.url||l.url&&l.url.includes("/#")){var r;(null==l?void 0:null===(r=l.image)||void 0===r?void 0:r.src)&&t.push({...l});continue}let e={...l};if(e.group&&(e.group=e.group.trim()||void 0),e.children){e.children=h(e.children),e.children.length>0&&t.push(e);continue}t.push(e)}return t},f=e=>{let t=[];return e.forEach(e=>{e.children&&e.children.length>0?t.push(...e.children):t.push(e)}),t},x=e=>{let{navItems:t,tools_navigation:r,className:o="",isShowAll:a=!1}=e,c=(null==r?void 0:r.group_all_name)||"All",x=(null==r?void 0:r.group_others_name)||"Others",g=(null==r?void 0:r.view_all_button_name)||"View All Tools",p=(null==r?void 0:r.viewAllToolsUrl)||"/all-tools-more",[v,b]=(0,n.useState)(c),[w,j]=(0,n.useState)(!1),[y,N]=(0,n.useState)(!1),[k,M]=(0,n.useState)(0),[A,S]=(0,n.useState)(0),[O,T]=(0,n.useState)(!1),C=(0,n.useRef)(null),H=f(h(t)),L=(0,n.useMemo)(()=>{let e=null==r?void 0:r.showGroups;if(!e||0===e.length)return H;let t=new Set(e.map(e=>(e||"").trim()).filter(Boolean));return H.filter(e=>!!e.group&&t.has(e.group.trim()))},[H,null==r?void 0:r.showGroups]),{groups:E,hasGroups:z}=(0,n.useMemo)(()=>{let e=new Set,t=!1;return(L.forEach(r=>{r.group&&(e.add(r.group),t=!0)}),t)?(L.some(e=>!e.group)&&e.add(x),{groups:[c,...Array.from(e)],hasGroups:!0}):{groups:[],hasGroups:!1}},[L,c,x]),I=(0,n.useMemo)(()=>z&&v!==c?v===x?L.filter(e=>!e.group):L.filter(e=>e.group===v):L,[v,L,z,c,x]),_=(0,n.useMemo)(()=>a?I:I.slice(0,8),[I,a]),P=!a&&I.length>8;n.useEffect(()=>{let e=()=>{C.current&&j(C.current.scrollWidth>C.current.clientWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[E]);let X=(null==r?void 0:r.title)||"AI Tools",B=(null==r?void 0:r.description)||"Explore our comprehensive suite of AI-powered tools",R=e=>{C.current&&(N(!0),M(e),S(C.current.scrollLeft),T(!1))},D=e=>{if(!y||!C.current)return;let t=k-e;C.current.scrollLeft=A+t,Math.abs(t)>5&&T(!0)},U=()=>{N(!1)},W=(e,t)=>{if(O){e.preventDefault();return}e.preventDefault(),e.stopPropagation(),b(t)};return(0,l.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8 ".concat(o),children:[(0,l.jsxs)("div",{className:"text-center mb-8",children:[(0,l.jsx)("h2",{className:"text-3xl font-bold text-foreground mb-2",children:X}),(0,l.jsx)("p",{className:"text-muted-foreground text-lg",children:B})]}),z&&a&&(0,l.jsxs)("div",{className:"relative mb-6",children:[w&&(0,l.jsx)("button",{type:"button",onClick:()=>{C.current&&C.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,l.jsx)(u.A,{className:"w-4 h-4 text-foreground"})}),(0,l.jsx)("div",{ref:C,className:"flex gap-2 overflow-x-auto scrollbar-hide ".concat(w?"px-10":""),style:{scrollbarWidth:"none",msOverflowStyle:"none",cursor:y?"grabbing":"grab"},onMouseDown:e=>{e.target===e.currentTarget&&R(e.clientX)},onMouseMove:e=>{y&&D(e.clientX)},onMouseUp:U,onMouseLeave:U,onTouchStart:e=>R(e.touches[0].clientX),onTouchMove:e=>{y&&D(e.touches[0].clientX)},onTouchEnd:U,children:E.map(e=>(0,l.jsx)("button",{type:"button",onMouseDown:e=>{R(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(v===e?"bg-primary text-primary-foreground shadow-md":"bg-muted text-foreground hover:bg-accent border border-border"),children:e},e))}),w&&(0,l.jsx)("button",{type:"button",onClick:()=>{C.current&&C.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,l.jsx)(d.A,{className:"w-4 h-4 text-foreground"})})]}),P&&(0,l.jsx)("div",{className:"flex justify-end mb-4",children:(0,l.jsxs)(i(),{href:p,className:"inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground transition-colors",children:[g,(0,l.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})}),(0,l.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:_.map((e,t)=>(0,l.jsx)(m,{item:e,index:t,isShowAll:a},"".concat(e.title||e.name||"tool","-").concat(t)))}),P&&(0,l.jsx)("div",{className:"mt-8 flex justify-center",children:(0,l.jsx)(i(),{href:p,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:g})}),0===_.length&&(0,l.jsxs)("div",{className:"text-center py-12",children:[(0,l.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-muted flex items-center justify-center",children:(0,l.jsx)(s.tZt,{className:"w-8 h-8 text-muted-foreground"})}),(0,l.jsx)("h3",{className:"text-lg font-medium text-foreground mb-2",children:"No tools available"}),(0,l.jsx)("p",{className:"text-muted-foreground",children:"Check back later for new AI tools and features."})]})]})}},18422:(e,t,r)=>{Promise.resolve().then(r.bind(r,62120)),Promise.resolve().then(r.bind(r,65289)),Promise.resolve().then(r.bind(r,88587)),Promise.resolve().then(r.bind(r,12588))},32952:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});let l=(0,r(4024).A)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},37685:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});let l=(0,r(4024).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},43798:(e,t,r)=>{"use strict";r.d(t,{F:()=>i});var l=r(97780);let n=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,o=l.$,i=(e,t)=>r=>{var l;if((null==t?void 0:t.variants)==null)return o(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:i,defaultVariants:s}=t,a=Object.keys(i).map(e=>{let t=null==r?void 0:r[e],l=null==s?void 0:s[e];if(null===t)return null;let o=n(t)||n(l);return i[e][o]}),u=r&&Object.entries(r).reduce((e,t)=>
1{let[r,l]=t;return void 0===l||(e[r]=l),e},{});return o(e,a,null==t?void 0:null===(l=t.compoundVariants)||void 0===l?void 0:l.reduce((e,t)=>{let{class:r,className:l,...n}=t;return Object.entries(n).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...s,...u}[t]):({...s,...u})[t]===r})?[...e,r,l]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},44402:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var l=r(51456);function n(e){let t=l.useRef({value:e,previous:e});return l.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},48089:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});let l=(0,r(4024).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},53522:(e,t,r)=>{"use strict";r.d(t,{X:()=>o});var l=r(51456),n=r(73850);function o(e){let[t,r]=l.useState(void 0);return(0,n.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let l,n;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;l=t.inlineSize,n=t.blockSize}else l=e.offsetWidth,n=e.offsetHeight;r({width:l,height:n})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}},62120:(e,t,r)=>{"use strict";r.d(t,{default:()=>n});var l=r(51456);function n(e){let{pageName:t}=e;return(0,l.useEffect)(()=>{let e=()=>{let e=window.location.search;e&&"".concat(t).concat(e);let r=document.referrer,l="",n="direct";if(r)try{n=(l=new URL(r).hostname).includes("google")?"google":l.includes("baidu")?"baidu":l.includes("bing")?"bing":l.includes("yahoo")?"yahoo":l.includes("facebook")?"facebook":l.includes("twitter")||l.includes("t.co")?"twitter":l.includes("linkedin")?"linkedin":l.includes("reddit")?"reddit":l.includes("instagram")?"instagram":"other"}catch(e){console.error("Invalid referrer URL")}return{pageName:t,referrerHostname:l,referrerSource:n,deviceType:/Mobile|Android|iP(hone|od)|IEMobile|BlackBerry/.test(navigator.userAgent)?"mobile":"desktop"}},r=setTimeout(()=>{fetch("/api/track/visit",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e())}).catch(e=>console.error("Track failed:",e))},2e3);return()=>clearTimeout(r)},[t]),null}},88587:(e,t,r)=>{"use strict";r.d(t,{default:()=>a});var l=r(68812),n=r(51456),o=r(32952),i=r(48089),s=r(91987);function a(e){let{example:t,desktopItemsPerView:r=3}
1=e,[a,u]=(0,n.useState)(0),[d,c]=(0,n.useState)(null),[m,h]=(0,n.useState)(!1),[f,x]=(0,n.useState)(0),[g,p]=(0,n.useState)(0),[v,b]=(0,n.useState)(!1),[w,j]=(0,n.useState)(r),y=(0,n.useRef)(null),N=(0,n.useRef)(null),k=(null==t?void 0:t.examples)||[];(0,n.useEffect)(()=>{let e=()=>{j(window.innerWidth>=768?r:2)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[r]),(0,n.useEffect)(()=>(N.current&&clearInterval(N.current),N.current=setInterval(()=>{A()},4e3),()=>{N.current&&clearInterval(N.current)}),[a,k.length]);let M=()=>{u(e=>0===e?k.length-w:e-1)},A=()=>{u(e=>e>=k.length-w?0:e+1)},S=e=>{h(!0),x(e),b(!1),N.current&&clearInterval(N.current)},O=e=>{if(!m)return;let t=e-f;p(t),Math.abs(t)>5&&b(!0)},T=()=>{m&&(h(!1),g>50?M():g<-50&&A(),p(0))},C=e=>{!v&&e&&window.open(e,"_blank")},H=e=>/\.(mp4|webm|ogg|mov)$/i.test(e),L=w>=4?"text-white text-sm md:text-xl lg:text-3xl":3===w?"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,l.jsx)("div",{className:"w-full py-8 md:py-12",children:(0,l.jsxs)("div",{className:"container mx-auto px-4",children:[(null==t?void 0:t.title)&&(0,l.jsxs)("div",{className:"mb-6 text-center",children:[(0,l.jsx)("h2",{className:"text-2xl md:text-4xl font-bold text-foreground mb-1",children:t.title}),(null==t?void 0:t.description)&&(0,l.jsx)("p",{className:"text-muted-foreground text-base",children:t.description})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("button",{onClick:M,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,l.jsx)(o.A,{className:"w-5 h-5 md:w-6 md:h-6"})}),(0,l.jsx)("button",{onClick:A,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,l.jsx)(i.A,{className:"w-5 h-5 md:w-6 md:h-6"})}),(0,l.jsx)("div",{ref:y,className:"overflow-hidden select-none",onMouseDown:e=>S(e.clientX),onMouseMove:e=>O(e.clientX),onMouseUp:T,onMouseLeave:T,onTouchStart:e=>S(e.touches[0].clientX),onTouchMove:e=>O(e.touches[0].clientX),onTouchEnd:T,children:(0,l.jsx)("div",{className:"flex transition-transform duration-300 ease-out",style:{transform:"translateX(calc(-".concat(100/w*a,"% + ").concat(g,"px))")},children:k.map((e,t)=>{var r,n,o;return(0,l.jsx)("div",{className:"flex-shrink-0 px-2 md:px-4",style:{width:"".concat(100/w,"%")},onMouseEnter:()=>c(t),onMouseLeave:()=>c(null),children:(0,l.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:()=>C(e.clickToUrl),children:[(0,l.jsxs)("div",{className:"relative aspect-video w-full",children:[(null===(r=e.image)||void 0===r?void 0:r.src)&&H(e.image.src)?(0,l.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,l.jsx)("img",{src:(null===(n=e.image)||void 0===n?void 0:n.src)||"",alt:(null===(o=e.image)||void 0===o?void 0:o.alt)||e.title||"Slide ".concat(t+1),className:"w-full h-full object-cover",draggable:!1,onDragStart:e=>e.preventDefault()}),e.imageTopTitle&&(0,l.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,l.jsx)("h3",{className:"".concat(L," 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,l.jsxs)("div",{className:"p-4 md:p-6",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.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,l.jsx)(s.A,{className:"w-5 h-5 md:w-6 md:h-6 text-primary animate-pulse flex-shrink-0 ml-2"})]}),e.description&&(0,l.jsx)("p",{className:"text-muted-foreground text-xs md:text-sm mt-2 line-clamp-2",children:e.description})]})]})},t)})})}),(0,l.jsx)("div",{className:"flex justify-center gap-2 mt-6",children:Array.from({length:Math.ceil(k.length/w)}).map((e,t)=>(0,l.jsx)("button",{onClick:()=>u(t*w),className:"h-2 rounded-full transition-all duration-300 ".concat(Math.floor(a/w)===t?"bg-primary w-8":"bg-muted w-2 hover:bg-primary/50"),"aria-label":"Go to slide ".concat(t+1)},t))})]})]})}):null}},91987:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});let l=(0,r(4024).A)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])}}]);

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.