1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[315],{40850:function(e,t,a){Promise.resolve().then(a.bind(a,24222)),Promise.resolve().then(a.bind(a,85861)),Promise.resolve().then(a.bind(a,10370)),Promise.resolve().then(a.bind(a,54393)),Promise.resolve().then(a.bind(a,75859)),Promise.resolve().then(a.bind(a,8343)),Promise.resolve().then(a.bind(a,84684)),Promise.resolve().then(a.bind(a,92062)),Promise.resolve().then(a.bind(a,82174)),Promise.resolve().then(a.bind(a,89484))},24222:function(e,t,a){"use strict";a.d(t,{BentoGridExampleThree:function(){return o}});var r=a(57437),l=a(37440);a(2265);var n=a(49977);a(67348);var s=a(58354);function o(){let{translations:e,language:t}=(0,s.Z)();return(0,r.jsxs)("div",{className:"w-full max-w-7xl mx-auto my-20 px-4 md:px-8",children:[(0,r.jsx)(i,{children:(0,r.jsx)("h2",{className:"font-sans text-bold text-xl text-center md:text-4xl w-fit mx-auto font-bold tracking-tight text-neutral-8000 dark:text-neutral-100 text-neutral-800",children:e.bento1.title})}),(0,r.jsx)("p",{className:"max-w-lg text-sm text-neutral-600 text-center mx-auto mt-4 dark:text-neutral-400",children:e.bento1.subtitle}),(0,r.jsxs)("div",{className:"mt-20 grid cols-1 md:grid-cols-5 gap-4 md:auto-rows-[25rem]",children:[(0,r.jsxs)(m,{className:"flex flex-col justify-between md:col-span-3",children:[(0,r.jsx)(c,{children:(0,r.jsx)("div",{className:"w-full h-full p-4 rounded-lg bg-neutral-100 border border-neutral-200 dark:bg-neutral-800 dark:border-neutral-700 ml-6 mt-2",children:(0,r.jsx)("img",{src:"https://storage.yandexcloud.net/colorize/temp/avatars_list_en.jpg",alt:"Dashboard",className:"w-full object-cover rounded-lg "})})}),(0,r.jsxs)(d,{className:"h-40",children:[(0,r.jsx)(u,{children:e.bento1.easy_processing_title}),(0,r.jsx)(x,{children:e.bento1.easy_processing_description})]})]}),(0,r.jsxs)(m,{className:"flex flex-col justify-between md:col-span-2",children:[(0,r.jsxs)(d,{className:"h-40",children:[(0,r.jsx)(u,{children:e.bento1.high_quality_title}),(0,r.jsx)(x,{children:e.bento1.high_quality_description})]}),(0,r.jsx)(c,{children:(0,r.jsx)("div",{className:"w-full h-full p-4 rounded-lg bg-neutral-100 border border-neutral-200 dark:bg-neutral-800 dark:border-neutral-700 ml-6 mt-2",children:(0,r.jsx)("img",{src:"https://storage.yandexcloud.net/aiplatform/ai_platform_v2/output_32d83ca6d4bc60e4740a984580bd7961.jpeg",alt:"Dashboard",className:"w-full object-cover rounded-lg "})})})]}),(0,r.jsxs)(m,{className:"flex flex-col justify-between md:col-span-2",children:[(0,r.jsxs)(d,{className:"h-40",children:[(0,r.jsx)(u,{children:e.bento1.high_resolution_title}),(0,r.jsx)(x,{children:e.bento1.high_resolution_description})]}),(0,r.jsx)(c,{children:(0,r.jsx)("div",{className:"w-full h-full p-4 rounded-lg bg-neutral-100 border border-neutral-200 dark:bg-neutral-800 dark:border-neutral-700 ml-6 mt-2",children:(0,r.jsx)("img",{src:"https://storage.yandexcloud.net/colorize/static/pixelate.jpg",alt:"Dashboard",className:"w-full object-cover rounded-lg "})})})]}),(0,r.jsxs)(m,{className:"flex flex-col justify-between md:col-span-3",children:[(0,r.jsxs)(d,{className:"h-40",children:[(0,r.jsx)(u,{children:e.bento1.stable_quality_title}),(0,r.jsx)(x,{children:e.bento1.stable_quality_description})]}),(0,r.jsx)(c,{children:(0,r.jsx)("div",{className:"w-full h-full p-4 rounded-lg bg-neutral-100 border border-neutral-200 dark:bg-neutral-800 dark:border-neutral-700 ml-6 mt-2",children:(0,r.jsx)("img",{src:"https://storage.yandexcloud.net/colorize/static/badgood2.jpg",alt:"Dashboard",width:500,height:500,className:"w-full object-cover rounded-lg"})})})]})]})]})}let i=e=>{let{children:t}=e;return(0,r.jsxs)("div",{className:"relative w-fit mx-auto p-4 flex items-center justify-center",children:[(0,r.jsxs)(n.E.div,{initial:{width:0,height:0,borderRadius:0},whileInView:{width:"100%",height:"100%"},style:{transformOrigin:"top-left"},transition:{duration:1,ease:"easeInOut"},className:"absolute inset-0 h-full border border-neutral-200 dark:border-neutral-800 w-full",children:[(0,r.jsx)(n.E.div,{initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:1.1,ease:"easeInOut"},className:"absolute -top-1 -left-1 h-2 w-2 dark:bg-neutral-800 bg-neutral-200"}),(0,r.jsx)(n.E.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1.1,ease:"easeInOut"},className:"absolute -top-1 -right-1 h-2 w-2 dark:bg-neutral-800 bg-neutral-200"}),(0,r.jsx)(n.E.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1.1,ease:"easeInOut"},className:"absolute -bottom-1 -left-1 h-2 w-2 dark:bg-neutral-800 bg-neutral-200"}),(0,r.jsx)(n.E.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1.1,ease:"easeInOut"},className:"absolute -bottom-1 -right-1 h-2 w-2 dark:bg-neutral-800 bg-neutral-200"})]}),t]})},c=e=>{let{children:t,className:a}=e;return(0,r.jsx)("div",{className:(0,l.cn)("overflow-hidden relative w-full h-full",a),children:t})},d=e=>{let{children:t,className:a}=e;return(0,r.jsx)("div",{className:(0,l.cn)("p-6",a),children:t})},u=e=>{let{children:t,className:a}=e;return(0,r.jsx)("h3",{className:(0,l.cn)("font-sans text-base font-medium tracking-tight text-neutral-700 dark:text-neutral-100",a),children:t})},x=e=>{let{children:t,className:a}=e;return(0,r.jsx)("p",{className:(0,l.cn)("font-sans max-w-xs text-base font-normal tracking-tight mt-2 text-neutral-500 dark:text-neutral-400",a),children:t})},m=e=>{let{children:t,className:a}=e;return(0,r.jsx)(n.E.div,{whileHover:"animate",className:(0,l.cn)("group isolate flex flex-col rounded-2xl bg-white dark:bg-neutral-900 shadow-[0_1px_1px_rgba(0,0,0,0.05),0_4px_6px_rgba(34,42,53,0.04),0_24px_68px_rgba(47,48,55,0.05),0_2px_3px_rgba(0,0,0,0.04)] overflow-hidden",a),children:t})}},85861:function(e,t,a){"use strict";a.d(t,{ThreeColumnsWithImages:function(){return o}});var r=a(57437),l=a(37440);a(2265);var n=a(49977),s=a(58354);function o(){let{translations:e,language:t}=(0,s.Z)();return(0,r.jsxs)("div",{className:"w-full max-w-7xl mx-auto my-20 px-4 md:px-8",children:[(0,r.jsx)("h2",{className:"font-sans text-bold text-xl text-center md:text-4xl font-bold tracking-tight text-neutral-8000 dark:text-neutral-100",children:e.platform.title}),(0,r.jsx)("p",{className:"max-w-lg text-sm text-neutral-600 text-center mx-auto mt-4 dark:text-neutral-400",children:e.platform.description}),(0,r.jsx)("div",{className:"mt-20 grid cols-1 md:grid-cols-3 gap-4 md:auto-rows-[25rem]",children:i.map((t,a)=>(0,r.jsxs)(m,{className:(0,l.cn)("flex flex-col justify-between",t.className),children:[(0,r.jsxs)(d,{className:"h-40",children:[(0,r.jsx)(u,{children:e.features_avatar[t.translationKey].title}),(0,r.jsx)(x,{children:e.features_avatar[t.translationKey].description})]}),(0,r.jsx)(c,{children:t.header})]},a))})]})}let i=[{translationKey:"dashboard",header:(0,r.jsx)("img",{src:"https://storage.yandexcloud.net/colorize/static/lk2.jpg",alt:"Bento grid 1",width:500,height:500,className:"w-full object-cover rounded-lg ml-6"}),className:"md:col-span-1"},{translationKey:"colorization",header:(0,r.jsx)("img",{src:"https://storage.yandexcloud.net/colorize/static/colorize.jpg",alt:"Bento grid 2"}),className:"md:col-span-1"},{translationKey:"restoration",header:(0,r.jsx)("img",{src:"https://storage.yandexcloud.net/colorize/resto1.jpg",alt:"Bento grid 3",className:"rounded-lg -ml-6 object-cover -mt-4 md:-mt-0"}),className:"md:col-span-1"},{translationKey:"upscaling",header:(0,r.jsx)("div",{className:"flex",children:(0,r.jsx)("img",{src:"https://storage.yandexcloud.net/colorize/static/upscale3.jpg",alt:"Bento grid 4",className:"object-cover rounded-lg ml-6"})}),className:"md:col-span-2"},{translationKey:"animation",header:(0,r.jsx)("img",{src:"https://storage.yandexcloud.net/colorize/sample_showcase.gif",alt:"Bento grid 5",width:500,height:500,className:"w-[calc(100%-3rem)] mx-auto rounded-lg -mb-4"}),className:"md:col-span-1"}],c=e=>{let{children:t,className:a}=e;return(0,r.jsx)("div",{className:(0,l.cn)("overflow-hidden",a),children:t})},d=e=>{let{children:t,className:a}=e;return(0,r.jsx)("div",{className:(0,l.cn)("p-6",a),children:t})},u=e=>{let{children:t,className:a}=e;return(0,r.jsx)(n.E.h3,{variants:{initial:{x:0},animate:{x:10}},transition:{type:"easeOut",duration:.2},className:(0,l.cn)("font-sans text-base font-medium tracking-tight text-neutral-700 dark:text-neutral-100",a),children:t})},x=e=>{let{children:t,className:a}=e;return(0,r.jsx)(n.E.p,{variants:{initial:{x:0},animate:{x:15}},transition:{type:"easeOut",duration:.2},className:(0,l.cn)("font-sans max-w-xs text-base font-normal tracking-tight mt-2 text-neutral-500 dark:text-neutral-400",a),children:t})},m=e=>{let{children:t,className:a}=e;return(0,r.jsx)(n.E.div,{whileHover:"animate",className:(0,l.cn)("group isolate flex flex-col rounded-2xl bg-white dark:bg-neutral-900 shadow-[0_1px_1px_rgba(0,0,0,0.05),0_4px_6px_rgba(34,42,53,0.04),0_24px_68px_rgba(47,48,55,0.05),0_2px_3px_rgba(0,0,0,0.04)] overflow-hidden",a),children:t})}},10370:function(e,t,a){"use strict";a.d(t,{CTAWithDashedGridLines:function(){return o}});var r=a(57437),l=a(37440);a(2265);var n=a(1109),s=a(58354);function o(){let{translations:e}=(0,s.Z)();return(0,r.jsxs)("section",{className:"w-full grid grid-cols-1 md:grid-cols-3 my-20 md:my-40 justify-start relative z-20 max-w-7xl mx-auto bg-gradient-to-br from-gray-100 to-white dark:from-neutral-900 dark:to-neutral-950",children:[(0,r.jsx)(i,{className:"top-0",offset:"200px"}),(0,r.jsx)(i,{className:"bottom-0 top-auto",offset:"200px"}),(0,r.jsx)(c,{className:"left-0",offset:"80px"}),(0,r.jsx)(c,{className:"left-auto right-0",offset:"80px"}),(0,r.jsxs)("div",{className:"md:col-span-2 p-8 md:p-14",children:[(0,r.jsxs)("h2",{className:"text-left text-neutral-500 dark:text-neutral-200 text-xl md:text-3xl font-medium",children:[e.cta_heading_1," ",(0,r.jsx)("span",{className:"font-bold text-black dark:text-white",children:e.cta_heading_2})]}),(0,r.jsx)("p",{className:"text-left text-neutral-500 mt-4 max-w-lg dark:text-neutral-200 text-xl md:text-3xl font-normal",children:e.cta_description}),(0,r.jsxs)("div",{className:"flex items-start sm:items-center flex-col sm:flex-row sm:gap-4",children:[(0,r.jsxs)("a",{href:"https://colorize.cc/login",className:"mt-8 flex space-x-2 items-center group text-base px-4 py-2 rounded-lg bg-gradient-to-b from-blue-500 to-blue-700 text-white shadow-[0px_2px_0px_0px_rgba(255,255,255,0.3)_inset]",children:[(0,r.jsx)("span",{children:e.cta_button_account}),(0,r.jsx)(n.WY3,{className:"text-white group-hover:translate-x-1 stroke-[1px] h-3 w-3 mt-0.5 transition-transform duration-200"})]}),(0,r.jsx)("a",{href:"#prices_avatar",className:"mt-8 flex space-x-2 items-center group text-base px-4 py-2 rounded-lg text-black dark:text-white border border-neutral-200 dark:border-neutral-800 shadow-[0px_2px_0px_0px_rgba(255,255,255,0.3)_inset]",children:(0,r.jsx)("span",{children:e.cta_button_prices})})]})]}),(0,r.jsxs)("div",{className:"border-t md:border-t-0 md:border-l border-dashed p-8 md:p-14",children:[(0,r.jsxs)("p",{className:"text-base text-neutral-700 dark:text-neutral-200",children:['"',e.cta_testimonial,'"']}),(0,r.jsxs)("div",{className:"flex flex-col text-sm items-start mt-4 gap-1",children:[(0,r.jsx)("p",{className:"font-bold text-neutral-800 dark:text-neutral-200",children:e.cta_author_name}),(0,r.jsx)("p",{className:"text-neutral-500 dark:text-neutral-400",children:e.cta_author_company})]})]})]})}let i=e=>{let{className:t,offset:a}=e;return(0,r.jsx)("div",{style:{"--background":"#ffffff","--color":"rgba(0, 0, 0, 0.2)","--height":"1px","--width":"5px","--fade-stop":"9
10%","--offset":a||"200px","--color-dark":"rgba(255, 255, 255, 0.2)",maskComposite:"exclude"},className:(0,l.cn)("absolute w-[calc(100%+var(--offset))] h-[var(--height)] left-[calc(var(--offset)/2*-1)]","bg-[linear-gradient(to_right,var(--color),var(--color)_50%,transparent_0,transparent)]","[background-size:var(--width)_var(--height)]","[mask:linear-gradient(to_left,var(--background)_var(--fade-stop),transparent),_linear-gradient(to_right,var(--background)_var(--fade-stop),transparent),_linear-gradient(black,black)]","[mask-composite:exclude]","z-30","dark:bg-[linear-gradient(to_right,var(--color-dark),var(--color-dark)_50%,transparent_0,transparent)]",t)})},c=e=>{let{className:t,offset:a}=e;return(0,r.jsx)("div",{style:{"--background":"#ffffff","--color":"rgba(0, 0, 0, 0.2)","--height":"5px","--width":"1px","--fade-stop":"90%","--offset":a||"150px","--color-dark":"rgba(255, 255, 255, 0.2)",maskComposite:"exclude"},className:(0,l.cn)("absolute h-[calc(100%+var(--offset))] w-[var(--width)] top-[calc(var(--offset)/2*-1)]","bg-[linear-gradient(to_bottom,var(--color),var(--color)_50%,transparent_0,transparent)]","[background-size:var(--width)_var(--height)]","[mask:linear-gradient(to_top,var(--background)_var(--fade-stop),transparent),_linear-gradient(to_bottom,var(--background)_var(--fade-stop),transparent),_linear-gradient(black,black)]","[mask-composite:exclude]","z-30","dark:bg-[linear-gradient(to_bottom,var(--color-dark),var(--color-dark)_50%,transparent_0,transparent)]",t)})}},54393:function(e,t,a){"use strict";a.d(t,{SimpleFaqsWithBackground:function(){return u}});var r=a(57437),l=a(2265),n=a(34446),s=a(49977),o=a(28041),i=a(48992),c=a(37440),d=a(58354);function u(){let[e,t]=(0,l.useState)(null),{translations:a}=(0,d.Z)();return(0,r.jsxs)("div",{className:"mx-auto grid w-full max-w-7xl gap-4 px-4 py-20 md:px-8 md:py-40",children:[(0,r.jsx)("h2",{className:"text-center text-4xl font-medium tracking-tight text-neutral-600 dar
1k:text-neutral-50 md:text-5xl",children:a.faq_title}),(0,r.jsxs)("p",{className:"mx-auto max-w-lg text-center text-base text-neutral-600 dark:text-neutral-50",children:[a.faq_description," ",(0,r.jsx)("a",{className:"text-blue-500 underline",children:"[email protected]"})]}),(0,r.jsx)("div",{className:"mx-auto mt-10 w-full max-w-3xl",children:a.faqs.map((a,l)=>(0,r.jsx)(x,{question:a.question,answer:a.answer,open:e,setOpen:t},l))})]})}let x=e=>{let{question:t,answer:a,setOpen:l,open:d}=e,u=d===t;return(0,r.jsx)("div",{className:"mb-8 w-full cursor-pointer rounded-lg bg-white p-4 shadow-input dark:bg-neutral-900",onClick:()=>{u?l(null):l(t)},children:(0,r.jsxs)("div",{className:"flex items-start",children:[(0,r.jsxs)("div",{className:"relative mr-4 mt-1 h-6 w-6 flex-shrink-0",children:[(0,r.jsx)(o.Z,{className:(0,c.cn)("absolute inset-0 h-6 w-6 transform text-black transition-all duration-200 dark:text-white",u&&"rotate-90 scale-0")}),(0,r.jsx)(i.Z,{className:(0,c.cn)("absolute inset-0 h-6 w-6 rotate-90 scale-0 transform text-black transition-all duration-200 dark:text-white",u&&"rotate-0 scale-100")})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"text-lg font-medium text-neutral-700 dark:text-neutral-200",children:t}),(0,r.jsx)(n.M,{mode:"wait",children:u&&(0,r.jsx)(s.E.div,{initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.2,ease:"easeOut"},className:"overflow-hidden text-neutral-500 dark:text-neutral-400",children:a.split("").map((e,t)=>(0,r.jsx)(s.E.span,{initial:{opacity:0,filter:"blur(5px)"},animate:{opacity:1,filter:"blur(0px)"},exit:{opacity:0,filter:"blur(0px)"},transition:{duration:.2,ease:"easeOut",delay:.005*t},children:e},t))})})]})]})})}},8343:function(e,t,a){"use strict";a.d(t,{HeroSectionWithBeamsAndGrid:function(){return x}});var r=a(57437),l=a(2265),n=a(49977),s=a(34446),o=a(37440),i=a(15088),c=a(33507),d=a(58354),u=a(87138);function x(){let e=(0,l.useRef)(null),t=(0,l.useRef)(null),{translations:a}=(0,d.Z)();return(0,r.jsxs)("div",{ref:t,className:"relative flex min-h-screen flex-col items-center justify-center overflow-hidden px-4 py-20 md:px-8 md:py-40",children:[(0,r.jsx)(m,{}),(0,r.jsx)(p,{beamOptions:{initialX:-400,translateX:600,duration:7,repeatDelay:3},containerRef:e,parentRef:t}),(0,r.jsx)(p,{beamOptions:{initialX:-200,translateX:800,duration:4,repeatDelay:3},containerRef:e,parentRef:t}),(0,r.jsx)(p,{beamOptions:{initialX:200,translateX:1200,duration:5,repeatDelay:3},containerRef:e,parentRef:t}),(0,r.jsx)(p,{containerRef:e,parentRef:t,beamOptions:{initialX:400,translateX:1400,duration:6,repeatDelay:3}}),(0,r.jsx)("h2",{className:"text-balance relative z-50 mx-auto mb-4 mt-4 max-w-4xl text-center text-3xl font-semibold tracking-tight text-gray-700 dark:text-neutral-300 md:text-7xl",children:(0,r.jsxs)(i.ZP,{children:[a.hero_avatar.title," ",(0,r.jsx)("br",{}),(0,r.jsx)("div",{className:"relative mx-auto inline-block w-max [filter:drop-shadow(0px_1px_3px_rgba(27,_37,_80,_0.14))]",children:(0,r.jsx)("div",{className:"text-black [text-shadow:0_0_rgba(0,0,0,0.1)] dark:text-white",children:(0,r.jsx)("span",{className:"",children:a.hero_avatar.titleHighlight})})})]})}),(0,r.jsx)("p",{className:"relative z-50 mx-auto mt-4 max-w-lg px-4 text-center text-base/6 text-gray-600 dark:text-gray-200",children:a.hero_avatar.description}),(0,r.jsxs)("div",{className:"mb-10 mt-8 flex w-full flex-col items-center justify-center gap-4 px-8 sm:flex-row md:mb-20",children:[(0,r.jsx)(u.default,{href:"#prices_avatar",className:"group relative z-20 flex h-10 w-full cursor-pointer items-center justify-center space-x-2 rounded-lg bg-black p-px px-4 py-2 text-center text-sm font-semibold leading-6 text-white no-underline transition duration-200 dark:bg-white dark:text-black sm:w-52",children:a.hero_avatar.buttons.pricing}),(0,r.jsx)("a",{href:"https://colorize.cc/login",className:"group relative z-20 flex h-10 w-full cursor-pointer items-center justify-center space-x-2 rounded-lg bg-white p-px px-4 py-2 text-sm font-semibold leading-6 text-black no-underline shadow-input transition duration-200 hover:-translate-y-0.5 dark:bg-neutral-800 dark:text-white sm:w-52",children:a.hero_avatar.buttons.login})]}),(0,r.jsx)("div",{ref:e,className:"relative mx-auto max-w-7xl rounded-[32px] border border-neutral-200/50 bg-neutral-100 p-2 backdrop-blur-lg dark:border-neutral-700 dark:bg-neutral-800/50 md:p-4",children:(0,r.jsx)("div",{className:"rounded-[24px] border border-neutral-200 bg-white p-2 dark:border-neutral-700 dark:bg-black",children:(0,r.jsx)(c.X,{firstImage:"https://storage.yandexcloud.net/colorize/restoration/a2bfa526b7f0df5a9323294b56e2c470/7f3c49018aa1c92e956397c5cb758012.jpg",secondImage:"https://storage.yandexcloud.net/aiplatform/ai_platform_v2/output_e88203b220fe0bb8fe472c18d4da82f6.png",firstImageClassName:"object-cover object-left-top",secondImageClassname:"object-cover object-left-top",className:"h-[250px] w-[250px] md:h-[700px] md:w-[700px]",slideMode:"hover"})})})]})}let m=()=>(0,r.jsxs)("div",{className:"pointer-events-none absolute inset-0 z-0 grid h-full w-full -rotate-45 transform select-none grid-cols-2 gap-10 md:grid-cols-4",children:[(0,r.jsxs)("div",{className:"relative h-full w-full",children:[(0,r.jsx)(f,{className:"left-0"}),(0,r.jsx)(f,{className:"left-auto right-0"})]}),(0,r.jsxs)("div",{className:"relative h-full w-full",children:[(0,r.jsx)(f,{className:"left-0"}),(0,r.jsx)(f,{className:"left-auto right-0"})]}),(0,r.jsxs)("div",{className:"relative h-full w-full bg-gradient-to-b from-transparent via-neutral-100 to-transparent dark:via-neutral-800",children:[(0,r.jsx)(f,{className:"left-0"}),(0,r.jsx)(f,{className:"left-auto right-0"})]}),(0,r.jsxs)("div",{className:"relative h-full w-full",children:[(0,r.jsx)(f,{className:"left-0"}),(0,r.jsx)(f,{className:"left-auto right-0"})]})]}),p=l.forwardRef((e,t)=>
1{let{parentRef:a,containerRef:i,beamOptions:c={}}=e,d=(0,l.useRef)(null),[u,x]=(0,l.useState)({detected:!1,coordinates:null}),[m,p]=(0,l.useState)(0),[f,b]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=setInterval(()=>{if(d.current&&i.current&&a.current&&!f){let e=d.current.getBoundingClientRect(),t=i.current.getBoundingClientRect(),r=a.current.getBoundingClientRect();e.bottom>=t.top&&(x({detected:!0,coordinates:{x:e.left-r.left+e.width/2,y:e.bottom-r.top}}),b(!0),d.current&&(d.current.style.opacity="0"))}},50);return()=>clearInterval(e)},[f,i]),(0,l.useEffect)(()=>{u.detected&&u.coordinates&&(setTimeout(()=>{x({detected:!1,coordinates:null}),b(!1),d.current&&(d.current.style.opacity="1")},2e3),setTimeout(()=>{p(e=>e+1)},2e3))},[u]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.E.div,{ref:d,animate:"animate",initial:{translateY:c.initialY||"-200px",translateX:c.initialX||"0px",rotate:c.rotate||-45},variants:{animate:{translateY:c.translateY||"800px",translateX:c.translateX||"700px",rotate:c.rotate||-45}},transition:{duration:c.duration||8,repeat:1/0,repeatType:"loop",ease:"linear",delay:c.delay||0,repeatDelay:c.repeatDelay||0},className:(0,o.cn)("absolute left-96 top-20 m-auto h-14 w-px rounded-full bg-gradient-to-t from-orange-500 via-yellow-500 to-transparent",c.className)},m),(0,r.jsx)(s.M,{children:u.detected&&u.coordinates&&(0,r.jsx)(h,{className:"",style:{left:"".concat(u.coordinates.x+20,"px"),top:"".concat(u.coordinates.y,"px"),transform:"translate(-50%, -50%)"}},"".concat(u.coordinates.x,"-").concat(u.coordinates.y))})]})});p.displayName="CollisionMechanism";let h=e=>{let{...t}=e,a=Array.from({length:20},(e,t)=>({id:t,initialX:0,initialY:0,directionX:Math.floor(80*Math.random()-40),directionY:Math.floor(-50*Math.random()-10)}));return(0,r.jsxs)("div",{...t,className:(0,o.cn)("absolute z-50 h-2 w-2",t.className),children:[(0,r.jsx)(n.E.div,{initial:{opacity:0}
1,animate:{opacity:[0,1,0]},exit:{opacity:0},transition:{duration:1,ease:"easeOut"},className:"absolute -inset-x-10 top-0 m-auto h-[4px] w-10 rounded-full bg-gradient-to-r from-transparent via-orange-500 to-transparent blur-sm"}),a.map(e=>(0,r.jsx)(n.E.span,{initial:{x:e.initialX,y:e.initialY,opacity:1},animate:{x:e.directionX,y:e.directionY,opacity:0},transition:{duration:1.5*Math.random()+.5,ease:"easeOut"},className:"absolute h-1 w-1 rounded-full bg-gradient-to-b from-orange-500 to-yellow-500"},e.id))]})},f=e=>{let{className:t,offset:a}=e;return(0,r.jsx)("div",{style:{"--background":"#ffffff","--color":"rgba(0, 0, 0, 0.2)","--height":"5px","--width":"1px","--fade-stop":"90%","--offset":a||"150px","--color-dark":"rgba(255, 255, 255, 0.3)",maskComposite:"exclude"},className:(0,o.cn)("absolute top-[calc(var(--offset)/2*-1)] h-[calc(100%+var(--offset))] w-[var(--width)]","bg-[linear-gradient(to_bottom,var(--color),var(--color)_50%,transparent_0,transparent)]","[background-size:var(--width)_var(--height)]","[mask:linear-gradient(to_top,var(--background)_var(--fade-stop),transparent),_linear-gradient(to_bottom,var(--background)_var(--fade-stop),transparent),_linear-gradient(black,black)]","[mask-composite:exclude]","z-30","dark:bg-[linear-gradient(to_bottom,var(--color-dark),var(--color-dark)_50%,transparent_0,transparent)]",t)})}},82174:function(e,t,a){"use strict";a.d(t,{CardHoverEffectDemo:function(){return u}});var r=a(57437),l=a(37440),n=a(34446),s=a(49977),o=a(87138),i=a(2265);let c=e=>{let{items:t,className:a}=e,[c,d]=(0,i.useState)(null);return(0,r.jsx)("div",{className:(0,l.cn)("grid grid-cols-1 md:grid-cols-2 md:gap-5 lg:grid-cols-3 gap-10",a),children:t.map((e,t)=>(0,r.jsxs)(o.default,{href:null==e?void 0:e.link,className:"relative group flex justify-center items-center transition-opacity duration-300",style:{opacity:null===c||c===t?1:.4},onMouseEnter:()=>d(t),onMouseLeave:()=>d(null),children:[(0,r.jsx)(n.M,{children:c===t&&(0,r.jsx)(s.E.span,{className:"absolute inset-0 bg-neutral-200 dark:bg-slate-800/[0.8] rounded-3xl",layoutId:"hoverBackground",initial:{opacity:0}
1,animate:{opacity:1,transition:{duration:.15}},exit:{opacity:0,transition:{duration:.15,delay:.2}}})}),(0,r.jsx)("div",{className:"relative z-20 flex justify-center items-center",children:e.component})]},null==e?void 0:e.link))})};var d=a(33507);function u(){return(0,r.jsx)("div",{className:"max-w-5xl mx-auto px-8",children:(0,r.jsx)(c,{items:x})})}let x=[{title:"Before & After 1",description:"See the amazing transformation with our AI technology.",link:"#",component:(0,r.jsx)(d.X,{firstImage:"https://storage.yandexcloud.net/colorize/restoration/a2bfa526b7f0df5a9323294b56e2c470/c9edb4e8297965ee921e2b59f197dc21.jpg",secondImage:"https://storage.yandexcloud.net/colorize/static/avatar/2output_59ae42d2a365adfd4561f719daff7b01.jpg",firstImageClassName:"object-cover object-left-top",secondImageClassname:"object-cover object-left-top",className:"h-[250px] w-[250px] md:h-[300px] md:w-[300px]",slideMode:"hover"})},{title:"Before & After 2",description:"Another stunning example of our AI capabilities.",link:"#",component:(0,r.jsx)(d.X,{firstImage:"https://storage.yandexcloud.net/colorize/restoration/a2bfa526b7f0df5a9323294b56e2c470/4f9bcccc628fffeab1a052a659773207.jpg",secondImage:"https://storage.yandexcloud.net/colorize/static/avatar/output_0e35579ba072224ff2d00f438eeb091c.jpg",firstImageClassName:"object-cover object-left-top",secondImageClassname:"object-cover object-left-top",className:"h-[250px] w-[250px] md:h-[300px] md:w-[300px]",slideMode:"hover"})},{title:"Before & After 3",description:"Transform your photos with cutting-edge AI technology.",link:"#",component:(0,r.jsx)(d.X,{firstImage:"https://storage.yandexcloud.net/colorize/restoration/a2bfa526b7f0df5a9323294b56e2c470/206ded6229c17c56fbcae2c11cb8ae2f.jpg",secondImage:"https://storage.yandexcloud.net/colorize/static/avatar/output_f41a1dc36d73f52b76d3fdbf11090e9b.jpg",firstImageClassName:"object-cover object-left-top",secondImageClassname:"object-cover object-left-top",className:"h-[250px] w-[250px] md:h-[300px] md:w-[300px]",slideMode:"hover"})},{title:"Before & After 1",description:"See the amazing transformation with our AI technology.",link:"#",component:(0,r.jsx)(d.X,{firstImage:"https://storage.yandexcloud.net/colorize/restoration/a2bfa526b7f0df5a9323294b56e2c470/4c6e93aa8ce9418e282122101bb5273b.jpg",secondImage:"https://storage.yandexcloud.net/colorize/static/avatar/lerm.jpg",firstImageClassName:"object-cover object-left-top",secondImageClassname:"object-cover object-left-top",className:"h-[250px] w-[250px] md:h-[300px] md:w-[300px]",slideMode:"hover"})},{title:"Before & After 2",description:"Another stunning example of our AI capabilities.",link:"#",component:(0,r.jsx)(d.X,{firstImage:"https://storage.yandexcloud.net/colorize/restoration/a2bfa526b7f0df5a9323294b56e2c470/7f3c49018aa1c92e956397c5cb758012.jpg",secondImage:"https://storage.yandexcloud.net/aiplatform/ai_platform_v2/output_e88203b220fe0bb8fe472c18d4da82f6.png",firstImageClassName:"object-cover object-left-top",secondImageClassname:"object-cover object-left-top",className:"h-[250px] w-[250px] md:h-[300px] md:w-[300px]",slideMode:"hover"})},{title:"Before & After 3",description:"Transform your photos with cutting-edge AI technology.",link:"#",component:(0,r.jsx)(d.X,{firstImage:"https://storage.yandexcloud.net/colorize/restoration/a2bfa526b7f0df5a9323294b56e2c470/edd9b2fe8f97ea534d46ffceb923cb0b.jpg",secondImage:"https://storage.yandexcloud.net/colorize/static/avatar/granddad.jpg",firstImageClassName:"object-cover object-left-top",secondImageClassname:"object-cover object-left-top",className:"h-[250px] w-[250px] md:h-[300px] md:w-[300px]",slideMode:"hover"})}]},89484:function(e,t,a){"use strict";a.d(t,{StatsWithGridBackground:function(){return d}});var r=a(57437),l=a(37440),n=a(75724),s=a(22579),o=a(57357),i=a(2265),c=a(58354);function d(){let{translations:e}=(0,c.Z)(),t=[{title:e.stats[0].title,description:e.stats[0].description,icon:n.Z,value:"5+"},{title:e.stats[1].title,description:e.stats[1].description,icon:s.Z,value:"2M+"},{title:e.stats[2].title,description:e.stats[2].description,icon:o.Z,value:"500K+"}];return(0,r.jsx)("div",{className:"py-20",children:(0,r.jsx)("div",{className:"mx-auto max-w-7xl border border-neutral-200 dark:border-neutral-800",children:(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3",children:t.map((e,a)=>(0,r.jsxs)("div",{className:(0,l.cn)("group/card relative overflow-hidden p-10",a!==t.length-1&&"border-b border-neutral-200 dark:border-neutral-800 md:border-b-0 md:border-r"),children:[(0,r.jsx)(m,{size:20}),(0,r.jsx)(u,{}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(x,{children:(0,r.jsx)(e.icon,{className:"text-white"})}),(0,r.jsx)("p",{className:"text-3xl font-bold text-neutral-700 dark:text-neutral-200",children:e.value})]}),(0,r.jsx)("p",{className:"text-balance text-balance mt-4 text-base text-neutral-600 dar
1k:text-neutral-300",children:e.description})]},"card"+a))})})})}let u=()=>(0,r.jsx)("div",{className:"absolute right-0 top-0 h-10 w-10 overflow-hidden border-b border-l bg-white shadow-[-3px_4px_9px_0px_rgba(0,0,0,0.14)] transition duration-200 group-hover/card:-translate-y-14 group-hover/card:translate-x-14 dark:border-neutral-800 dark:bg-neutral-900 dark:shadow-[-3px_4px_9px_0px_rgba(255,255,255,0.2)]",children:(0,r.jsx)("div",{className:"absolute left-0 top-0 h-[1px] w-[141%] origin-top-left rotate-45 bg-neutral-100 dark:bg-neutral-800"})}),x=e=>{let{children:t}=e;return(0,r.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-xl bg-gradient-to-b from-neutral-200 to-white to-[50%] p-1 dark:from-neutral-800 dark:to-black",children:(0,r.jsx)("div",{className:"flex h-full w-full items-center justify-center rounded-lg bg-gradient-to-b from-[#5D5D5D] to-black dark:to-neutral-900",children:t})})},m=e=>{let{pattern:t,size:a}=e;return(0,r.jsx)("div",{className:"pointer-events-none absolute left-1/2 top-0 -ml-20 -mt-2 h-full w-full [mask-image:linear-gradient(white,transparent)]",children:(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-zinc-100/30 to-zinc-300/30 opacity-100 [mask-image:radial-gradient(farthest-side_at_top,white,transparent)] dark:from-zinc-900/30 dark:to-zinc-900/30",children:(0,r.jsx)(p,{width:null!=a?a:20,height:null!=a?a:20,x:"-12",y:"4",squares:null!=t?t:[[Math.floor(4*Math.random())+7,Math.floor(6*Math.random())+1],[Math.floor(4*Math.random())+7,Math.floor(6*Math.random())+1],[Math.floor(4*Math.random())+7,Math.floor(6*Math.random())+1],[Math.floor(4*Math.random())+7,Math.floor(6*Math.random())+1],[Math.floor(4*Math.random())+7,Math.floor(6*Math.random())+1]],className:"absolute inset-0 h-full w-full fill-black/10 stroke-black/10 mix-blend-overlay dark:fill-white/10 dark:stroke-white/10"})})})};function p(e){let{width:t,height:a,x:l,y:n,squares:s,...o}=e,c=(0,i.useId)();return(0,r.jsxs)("svg",{"aria-hidden":"true",...o,children:[(0,r.jsx)("defs",{children:(0,r.jsx)("pattern",{id:c,width:t,height:a,patternUnits:"userSpaceOnUse",x:l,y:n,children:(0,r.jsx)("path",{d:"M.5 ".concat(a,"V.5H").concat(t),fill:"none"})})}),(0,r.jsx)("rect",{width:"100%",height:"100%",strokeWidth:0,fill:"url(#".concat(c,")")}),s&&(0,r.jsx)("svg",{x:l,y:n,className:"overflow-visible",children:s.map(e=>{let[l,n]=e;return(0,r.jsx)("rect",{strokeWidth:"0",width:t+1,height:a+1,x:l*t,y:n*a},"".concat(l,"-").concat(n))})})]})}},33507:function(e,t,a){"use strict";a.d(t,{X:function(){return x}});var r=a(57437),l=a(2265),n=a(67287),s=a(85116),o=a(37440),i=a(49805),c=a(49977),d=a(34446),u=a(59419);let x=e=>{let{firstImage:t="",secondImage:a="",className:n,firstImageClassName:s,secondImageClassname:i,initialSliderPercentage:x=50,slideMode:p="hover",showHandlebar:h=!0,autoplay:f=!1,autoplayDuration:b=5e3}=e,[g,v]=(0,l.useState)(x),[j,w]=(0,l.useState)(!1),y=(0,l.useRef)(null),[k,N]=(0,l.useState)(!1),_=(0,l.useRef)(null),z=(0,l.useCallback)(()=>{if(!f)return;let e=Date.now(),t=()=>{let a=(Date.now()-e)%(2*b)/b;v(a<=1?100*a:(2-a)*100),_.current=setTimeout(t,16)};t()},[f,b]),M=(0,l.useCallback)(()=>{_.current&&(clearTimeout(_.current),_.current=null)},[]);(0,l.useEffect)(()=>(z(),()=>M()),[z,M]);let I=(0,l.useCallback)(e=>{"drag"===p&&w(!0)},[p]),C=(0,l.useCallback)(()=>{"drag"===p&&w(!1)},[p]),E=(0,l.useCallback)(e=>{if(y.current&&("hover"===p||"drag"===p&&j)){let t=y.current.getBoundingClientRect(),a=(e-t.left)/t.width*100;requestAnimationFrame(()=>{v(Math.max(0,Math.min(100,a)))})}},[p,j]),X=(0,l.useCallback)(e=>I(e.clientX),[I]),R=(0,l.useCallback)(()=>C(),[C]),S=(0,l.useCallback)(e=>E(e.clientX),[E]),O=(0,l.useCallback)(e=>{f||I(e.touches[0].clientX)},[I,f]),B=(0,l.useCallback)(()=>{f||C()},[C,f]),D=(0,l.useCallback)(e=>{f||E(e.touches[0].clientX)},[E,f]);return(0,r.jsxs)("div",{ref:y,className:(0,o.cn)("w-[400px] h-[400px] overflow-hidden",n),style:{position:"relative",cursor:"drag"===p?"grab":"col-resize"},onMouseMove:S,onMouseLeave:function(){N(!1),"hover"===p&&v(x),"drag"===p&&w(!1),z()},onMouseEnter:function(){N(!0),M()},onMouseDown:X,onMouseUp:R,onTouchStart:O,onTouchEnd:B,onTouchMove:D,children:[(0,r.jsx)(d.M,{initial:!1,children:(0,r.jsxs)(c.E.div,{className:"h-full w-px absolute top-0 m-auto z-30 bg-gradient-to-b from-transparent from-[5%] to-[95%] via-indigo-500 to-transparent",style:{left:"".concat(g,"%"),top:"0",zIndex:40},transition:{duration:0},children:[(0,r.jsx)("div",{className:"w-36 h-full [mask-image:radial-gradient(100px_at_left,white,transparent)] absolute top-1/2 -translate-y-1/2 left-0 bg-gradient-to-r from-indigo-400 via-trans
1parent to-transparent z-20 opacity-50"}),(0,r.jsx)("div",{className:"w-10 h-1/2 [mask-image:radial-gradient(50px_at_left,white,transparent)] absolute top-1/2 -translate-y-1/2 left-0 bg-gradient-to-r from-cyan-400 via-transparent to-transparent z-10 opacity-100"}),(0,r.jsx)("div",{className:"w-10 h-3/4 top-1/2 -translate-y-1/2 absolute -right-10 [mask-image:radial-gradient(100px_at_left,white,transparent)]",children:(0,r.jsx)(m,{background:"transparent",minSize:.4,maxSize:1,particleDensity:1200,className:"w-full h-full",particleColor:"#FFFFFF"})}),h&&(0,r.jsx)("div",{className:"h-5 w-5 rounded-md top-1/2 -translate-y-1/2 bg-white z-30 -right-2.5 absolute flex items-center justify-center shadow-[0px_-1px_0px_0px_#FFFFFF40]",children:(0,r.jsx)(u.Z,{className:"h-4 w-4 text-black"})})]})}),(0,r.jsx)("div",{className:"overflow-hidden w-full h-full relative z-20 pointer-events-none",children:(0,r.jsx)(d.M,{initial:!1,children:t?(0,r.jsx)(c.E.div,{className:(0,o.cn)("absolute inset-0 z-20 rounded-2xl flex-shrink-0 w-full h-full select-none overflow-hidden",s),style:{clipPath:"inset(0 ".concat(100-g,"% 0 0)")},transition:{duration:0},children:(0,r.jsx)("img",{alt:"first image",src:t,className:(0,o.cn)("absolute inset-0 z-20 rounded-2xl flex-shrink-0 w-full h-full select-none",s),draggable:!1})}):null})}),(0,r.jsx)(d.M,{initial:!1,children:a?(0,r.jsx)(c.E.img,{className:(0,o.cn)("absolute top-0 left-0 z-[19] rounded-2xl w-full h-full select-none",i),alt:"second image",src:a,draggable:!1}):null})]})},m=l.memo(e=>{let{id:t,className:a,background:d,minSize:u,maxSize:x,speed:m,particleColor:p,particleDensity:h}=e,[f,b]=(0,l.useState)(!1);(0,l.useEffect)(()=>{(0,n.bP)(async e=>{await (0,s.S)(e)}).then(()=>{b(!0)})},[]);let g=(0,i._)(),v=async e=>{e&&g.start({opacity:1,transition:{duration:1}})},j=(0,l.useId)();return(0,r.jsx)(c.E.div,{animate:g,className:(0,o.cn)("opacity-0",a),children:f&&(0,r.jsx)(n.ZP,{id:t||j,className:(0,o.cn)("h-full w-full"),particlesLoaded:v,options:{background:{color:{value:d||"#0d47a1"}},fullScreen:{enable:!1,zIndex:1},fpsLimit:120,interactivity:{events:{onClick:{enable:!0,mode:"push"},onHover:{enable:!1,mode:"repulse"},resize:!0},modes:{push:{quantity:4},repulse:{distance:200,duration:.4}}},particles:{bounce:{horizontal:{value:1},vertical:{value:1}},collisions:{absorb:{speed:2},bounce:{horizontal:{value:1},vertical:{value:1}},enable:!1,maxSpeed:50,mode:"bounce",overlap:{enable:!0,retries:0}},color:{value:p||"#ffffff",animation:{h:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!0,offset:0},s:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!0,offset:0},l:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!0,offset:0}}},effect:{close:!0,fill:!0,options:{},type:{}},groups:{},move:{angle:{offset:0,value:90},attract:{distance:200,enable:!1,rotate:{x:3e3,y:3e3}},center:{x:50,y:50,mode:"percent",radius:0},decay:0,distance:{},direction:"none",drift:0,enable:!0,gravity:{acceleration:9.81,enable:!1,inverse:!1,maxSpeed:50},path:{clamp:!0,delay:{value:0},enable:!1,options:{}},outModes:{default:"out"},random:!1,size:!1,speed:{min:.1,max:1},spin:{acceleration:0,enable:!1},straight:!1,trail:{enable:!1,length:10,fill:{}},vibrate:!1,warp:!1},number:{density:{enable:!0,width:400,height:400},limit:{mode:"delete",value:0},value:h||120},opacity:{value:{min:.1,max:1},animation:{count:0,enable:!0,speed:m||4,decay:0,delay:0,sync:!1,mode:"auto",startValue:"random",destroy:"none"}},reduceDuplicates:!1,shadow:{blur:0,color:{value:"#000"},enable:!1,offset:{x:0,y:0}},shape:{close:!0,fill:!0,options:{},type:"circle"},size:{value:{min:u||1,max:x||3},animation:{count:0,enable:!1,speed:5,decay:0,delay:0,sync:!1,mode:"auto",startValue:"random",destroy:"none"}},stroke:{width:0},zIndex:{value:0,opacityRate:1,sizeRate:1,velocityRate:1},destroy:{bounds:{},mode:"none",split:{count:1,factor:{value:3},rate:{value:{min:4,max:9}},sizeOffset:!0}}
1,roll:{darken:{enable:!1,value:0},enable:!1,enlighten:{enable:!1,value:0},mode:"vertical",speed:25},tilt:{value:0,animation:{enable:!1,speed:0,decay:0,sync:!1},direction:"clockwise",enable:!1},twinkle:{lines:{enable:!1,frequency:.05,opacity:1},particles:{enable:!1,frequency:.05,opacity:1}},wobble:{distance:5,enable:!1,speed:{angle:50,move:10}},life:{count:0,delay:{value:0,sync:!1},duration:{value:0,sync:!1}},rotate:{value:0,animation:{enable:!1,speed:0,decay:0,sync:!1},direction:"clockwise",path:!1},orbit:{animation:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!1},enable:!1,opacity:1,rotation:{value:45},width:1},links:{blink:!1,color:{value:"#fff"},consent:!1,distance:100,enable:!1,frequency:1,opacity:1,shadow:{blur:5,color:{value:"#000"},enable:!1},triangles:{enable:!1,frequency:1},width:1,warp:!1},repulse:{value:0,enabled:!1,distance:1,duration:1,factor:1,speed:1}},detectRetina:!0}})})})}},function(e){e.O(0,[8310,7699,2516,2126,4062,7080,7821,3454,2090,8354,2062,7661,2971,7023,1744],function(){return e(e.s=40850)}),_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.