1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="653143fa-cbba-4f8b-a7e2-a0495b9c7302",e._sentryDebugIdIdentifier="sentry-dbid-653143fa-cbba-4f8b-a7e2-a0495b9c7302")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6045],{588:(e,t,i)=>{"use strict";i.d(t,{M:()=>l,W:()=>s});var o=i(66352),r=i(95132);let a=(0,r.createContext)({$tl:()=>""}),l=function({children:e,$tl:t}){return(0,o.jsx)(a.Provider,{value:{$tl:(...e)=>t instanceof Function?t(...e):(console.log("[Error]ï¼ToolBox lock $tl porperty is not a function."),"")},children:e})},s=()=>(0,r.useContext)(a)},21247:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSG:()=>eS,default:()=>eT});var o,r,a,l,s,n,c,p,d,u,m,h,b,g,f,x,w=i(66352),v=i(26662),C=i(47289),j=i(42473),y=i(56664),k=i(13554),N=i.n(k),_=i(95132),L=i(2786),E=i(98569),A=i.n(E),M=i(76852),$=i(91472),I=i(35473);let P=({position:e,children:t,link:i,type:o,className:r})=>{let a=(0,_.useRef)(null),l=(0,M.A)(),s=l?"download_exposure":"download_exposure_store",n=l?"download_click":"download_click_store",c=(0,_.useCallback)(()=>{(0,I.z8)(s,{position:e,type:o})},[s,e,o]);(0,$.A)({ref:a,callback:c});let p=(0,_.useCallback)(()=>{(0,I.z8)(n,{position:e,type:o})},[n,e,o]);return(0,w.jsx)(A(),{ref:a,onClick:p,href:i,target:"_blank",rel:"noreferrer",className:r,children:t})},B=({title:e,desc:t,xCenter:i,yCenter:o,className:r="",hiddenDownload:a=!1})=>{let l=(0,j.A)({});return(0,w.jsxs)("div",{className:(0,L.cn)("flex shrink-0 flex-col gap-10 self-stretch mobile:w-full mobile:gap-6",i?" items-center text-center":"",o?" justify-center":"",r),children:[(0,w.jsxs)("div",{className:"flex flex-col gap-6 mobile:gap-3",children:[(0,w.jsx)("h2",{className:"m-0 font-PoppinsBold text-4xl font-bold leading-normal text-[#222] mobile:text-[28px]",children:e}),(0,w.jsx)("p",{className:"m-0 font-Poppins text-base leading-normal text-[rgba(0,0,0,0.6)]",children:t})]}),!a&&(0,w.jsx)(P,{className:"flex h-[54px] w-fit items-center justify-center rounded-full bg-black px-6 font-Poppins text-lg font-semibold text-white hover:bg-black/80 mobile:w-full",position:"app-info",type:"inline",link:"https://app.adjust.com/1b2ooro2",children:l("app.dl.download.button")})]})},R=[{pc:"md:col-start-1 md:row-start-1 md:row-span-2",mobile:"mobile:h-[716px]"},{pc:"md:col-start-4 md:row-start-1",mobile:"mobile:aspect-square"},{pc:"md:col-start-2 md:row-start-1 md:col-span-2",mobile:"mobile:h-[179px]"},{pc:"md:col-start-2 md:row-start-2",mobile:"mobile:aspect-square"},{pc:"md:col-start-3 md:row-start-2 md:col-span-2 md:row-span-2",mobile:"mobile:aspect-square"},{pc:"md:col-start-1 md:row-start-3 md:col-span-2",mobile:"mobile:h-[179px]"}],O=({isPressing:e,...t})=>(0,w.jsx)("div",{className:(0,L.cn)("flex size-[42px] items-center justify-center rounded-full bg-white/20 backdrop-blur-[8px]",t.className),...t,children:(0,w.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"42",viewBox:"0 0 42 42",fill:"#00000040",children:[(0,w.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 42C9.40202 42 0 32.598 0 21C0 9.40202 9.40202 0 21 0C32.598 0 42 9.40202 42 21C42 32.598 32.598 42 21 42Z",fill:"black",fillOpacity:e?"0.25":"0.15",className:"transition-all duration-500"}),(0,w.jsx)("path",{d:"M17.9181 27.7888H12.1593C10.4015 27.7888 9.01758 26.0769 9.01758 23.8993V18.1012C9.01758 15.9236 10.4015 14.2183 12.1593 14.2183H17.9181C18.1791 14.2183 18.4293 14.3219 18.6138 14.5064C18.7983 14.6909 18.902 14.9412 18.902 15.2021C18.902 15.463 18.7983 15.7133 18.6138 15.8978C18.4293 16.0823 18.1791 16.186 17.9181 16.186H12.1593C11.6084 16.186 10.9853 16.973 10.9853 18.1012V23.8993C10.9853 25.034 11.6412 25.8211 12.1593 25.8211H17.9181C18.1791 25.8211 18.4293 25.9248 18.6138 26.1093C18.7983 26.2938 18.902 26.544 18.902 26.805C18.902 27.0659 18.7983 27.3162 18.6138 27.5007C18.4293 27.6852 18.1791 27.7888 17.9181 27.7888Z",fill:"white"}),(0,w.jsx)("path",{d:"M21.0796 30.4253C20.8186 30.4253 20.5684 30.3216 20.3839 30.1371C20.1994 29.9526 20.0957 29.7024 20.0957 29.4414V12.5586C20.0957 12.2976 20.1994 12.0474 20.3839 11.8629C20.5684 11.6784 20.8186 11.5747 21.0796 11.5747C21.3405 11.5747 21.5907 11.6784 21.7752 11.8629C21.9597 12.0474 22.0634 12.2976 22.0634 12.5586V29.4414C22.0634 29.7024 21.9597 29.9526 21.7752 30.1371C21.5907 30.3216 21.3405 30.4253 21.0796 30.4253Z",fill:"white"}
1),(0,w.jsx)("path",{d:"M29.2908 27.6245H28.2348C28.0173 27.6245 27.8088 27.5381 27.655 27.3843C27.5013 27.2306 27.4149 27.022 27.4149 26.8046C27.4149 26.5871 27.5013 26.3786 27.655 26.2248C27.8088 26.0711 28.0173 25.9847 28.2348 25.9847H29.2908C29.5082 25.9847 29.7168 26.0711 29.8705 26.2248C30.0243 26.3786 30.1107 26.5871 30.1107 26.8046C30.1107 27.022 30.0243 27.2306 29.8705 27.3843C29.7168 27.5381 29.5082 27.6245 29.2908 27.6245ZM25.8604 27.6245H24.811C24.5935 27.6245 24.385 27.5381 24.2312 27.3843C24.0775 27.2306 23.9911 27.022 23.9911 26.8046C23.9911 26.5871 24.0775 26.3786 24.2312 26.2248C24.385 26.0711 24.5935 25.9847 24.811 25.9847H25.8604C26.0779 25.9847 26.2864 26.0711 26.4402 26.2248C26.5939 26.3786 26.6803 26.5871 26.6803 26.8046C26.6803 27.022 26.5939 27.2306 26.4402 27.3843C26.2864 27.5381 26.0779 27.6245 25.8604 27.6245ZM31.5077 27.0276C31.2857 27.0258 31.0735 26.9362 30.9174 26.7783C30.837 26.7018 30.7731 26.6097 30.7293 26.5076C30.6856 26.4056 30.6631 26.2958 30.6631 26.1848C30.6631 26.0737 30.6856 25.9639 30.7293 25.8619C30.7731 25.7598 30.837 25.6677 30.9174 25.5912C31.07 25.4409 31.1846 25.2566 31.2519 25.0533C31.277 24.9431 31.3245 24.8392 31.3917 24.7482C31.4588 24.6573 31.544 24.5811 31.6419 24.5247C31.7399 24.4682 31.8484 24.4326 31.9608 24.4201C32.0732 24.4076 32.1869 24.4185 32.2948 24.4521C32.4028 24.4856 32.5026 24.5412 32.5881 24.6152C32.6736 24.6892 32.7428 24.78 32.7915 24.8821C32.8401 24.9841 32.8672 25.0952 32.8709 25.2081C32.8746 25.3211 32.8548 25.4337 32.813 25.5387C32.6705 26.0087 32.4083 26.4336 32.0521 26.7718C31.9112 26.9252 31.7157 27.017 31.5077 27.0276ZM32.1636 23.7809C32.056 23.7817 31.9492 23.7614 31.8494 23.721C31.7496 23.6806 31.6587 23.6209 31.582 23.5454C31.5052 23.4699 31.4441 23.38 31.4021 23.2808C31.3601 23.1817 31.338 23.0752 31.3372 22.9676V21.905C31.3372 21.6876 31.4236 21.479 31.5773 21.3253C31.7311 21.1715 31.9396 21.0851 32.1571 21.0851C32.3745 21.0851 32.583 21.1715 32.7368 21.3253C32.8906 21.479 32.9769 21.6876 32.9769 21.905V22.9676C32.9752 23.1839 32.8881 23.3907 32.7345 23.5431C32.5809 23.6954 32.3734 23.7809 32.1571 23.7809H32.1636ZM32.1636 20.3505C31.9462 20.3505 31.7376 20.2641 31.5839 20.1104C31.4301 19.9566 31.3437 19.7481 31.3437 19.5306V18.4747C31.3437 18.2572 31.4301 18.0487 31.5839 17.8949C31.7376 17.7412 31.9462 17.6548 32.1636 17.6548C32.3811 17.6548 32.5896 17.7412 32.7434 17.8949C32.8971 18.0487 32.9835 18.2572 32.9835 18.4747V19.5306C32.9826 19.6383 32.9606 19.7448 32.9186 19.8439C32.8766 19.9431 32.8155 20.033 32.7387 20.1085C32.662 20.184 32.5711 20.2437 32.4713 20.2841C32.3715 20.3245 32.2647 20.3448 32.1571 20.344L32.1636 20.3505ZM31.8291 16.9858C31.6922 16.9859 31.5575 16.9517 31.4372 16.8864C31.3169 16.8211 31.2149 16.7267 31.1404 16.6119C31.0234 16.4289 30.8606 16.2797 30.6682 16.179C30.4768 16.0746 30.3348 15.8985 30.2733 15.6894C30.2118 15.4803 30.2358 15.2553 30.3402 15.064C30.4446 14.8726 30.6207 14.7306 30.8298 14.6691C31.0389 14.6076 31.2639 14.6316 31.4552 14.736C31.886 14.9823 32.2488 15.3316 32.5112 15.7527C32.6274 15.9366 32.6663 16.1588 32.6196 16.3712C32.573 16.5836 32.4445 16.7691 32.262 16.8874C32.1284 16.9626 31.9755 16.9969 31.8226 16.9858H31.8291ZM28.7333 16.0216H27.6707C27.4533 16.0216 27.2447 15.9352 27.091 15.7815C26.9372 15.6277 26.8508 15.4192 26.8508 15.2017C26.8508 14.9843 26.9372 14.7757 27.091 14.622C27.2447 14.4682 27.4533 14.3818 27.6707 14.3818H28.7267C28.9441 14.3818 29.1527 14.4682 29.3064 14.622C29.4602 14.7757 29.5466 14.9843 29.5466 15.2017C29.5466 15.4192 29.4602 15.6277 29.3064 15.7815C29.1527 15.9352 28.9441 16.0216 28.7267 16.0216H28.7333ZM25.3029 16.0216H24.2535C24.036 16.0216 23.8275 15.9352 23.6737 15.7815C23.52 15.6277 23.4336 15.4192 23.4336 15.2017C23.4336 14.9843 23.52 14.7757 23.6737 14.622C23.8275 14.4682 24.036 14.3818 24.2535 14.3818H25.3029C25.5204 14.3818 25.7289 14.4682 25.8826 14.622C26.0364 14.7757 26.1228 14.9843 26.1228 15.2017C26.1228 15.4192 26.0364 15.6277 25.8826 15.7815C25.7289 15.9352 25.5204 16.0216 25.3029 16.0216Z",fill:"white"})]})}),z=({tool:e,className:t})=>{let[i,o]=(0,_.useState)(!1),r=(0,M.A)(),a=()=>{r||o(!0)},l=()=>{r||o(!1)},s=()=>{r&&o(!0)},n=()=>{r&&o(!1)};return(0,w.jsxs)("div",{className:(0,L.cn)("relative flex cursor-pointer select-none flex-col justify-end overflow-hidden rounded-3xl bg-gray-200 shadow-[0px_4px_16px_0px_rgba(205,211,238,0.25)] [webkit-touch-callout:none]",t),onContextMenu:e=>e.preventDefault(),onMouseEnter:a,onMouseLeave:l,onPointerDown:s,onPointerUp:n,onPointerCancel:n,children:[e.beforeImg&&(0,w.jsx)(N(),{src:e.beforeImg,alt:e.title,fill:!0,quality:100,draggable:!1,
1className:"pointer-events-none rounded-3xl object-cover transition-opacity duration-500"}),e.afterImg&&(0,w.jsx)(N(),{src:e.afterImg,alt:e.title,fill:!0,quality:100,draggable:!1,className:(0,L.cn)("pointer-events-none rounded-3xl object-cover transition-opacity duration-500",i?"opacity-100":"opacity-0")}),(0,w.jsx)("div",{className:"absolute right-3 top-3",children:(0,w.jsx)(O,{isPressing:i,onMouseEnter:a,onMouseLeave:l,onPointerDown:s,onPointerUp:n})}),(0,w.jsxs)("div",{className:"relative flex flex-col gap-2 p-5",children:[(0,w.jsx)("div",{className:(0,L.cn)("absolute inset-0 rounded-b-3xl [background:linear-gradient(180deg,rgba(0,0,0,0.00)_0%,rgba(0,0,0,0.40)_100%)] [mask-image:linear-gradient(to_bottom,transparent,black)]",!r&&"backdrop-blur-[10px]")}),(0,w.jsx)("h3",{className:"relative font-PoppinsBold text-xl text-white",children:e.title}),(0,w.jsx)("p",{className:"relative font-PoppinsMedium text-sm text-white/80",children:e.desc})]})]})},V=()=>{let e=(0,j.A)({}),t=[{title:e("app.dl.tools.feature.intro.1"),desc:e("app.dl.tools.feature.content.1"),beforeImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/tools/AI_Replace_Before.jpg",afterImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/tools/AI_Replace_After.jpg"},{title:e("app.dl.tools.feature.intro.6"),desc:e("app.dl.tools.feature.content.6"),beforeImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/tools/Prism_Before.jpg",afterImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/tools/Prism_After.jpg"},{title:e("app.dl.tools.feature.intro.2"),desc:e("app.dl.tools.feature.content.2"),beforeImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/tools/AI_Expand_Before.jpg",afterImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/tools/AI_Expand_After.jpg"},{title:e("app.dl.tools.feature.intro.5"),desc:e("app.dl.tools.feature.content.5"),beforeImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/tools/Bokeh_Before.jpg",afterImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/tools/Bokeh_After.jpg"},{title:e("app.dl.tools.feature.intro.3"),desc:e("app.dl.tools.feature.content.3"),beforeImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/tools/AI_Repair_Before.jpg",afterImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/tools/AI_Repair_After.jpg"},{title:e("app.dl.tools.feature.intro.4"),desc:e("app.dl.tools.feature.content.4"),beforeImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/tools/Eraser_Before.jpg",afterImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/tools/Eraser_After.jpg"}];return(0,w.jsxs)("section",{className:"mx-auto flex w-full max-w-[1120px] flex-col items-center gap-10 px-4 py-20 mobile:py-10",children:[(0,w.jsx)(B,{title:e("app.dl.tools.intro"),desc:e("app.dl.tools.content"),xCenter:!0}),(0,w.jsx)("div",{className:"flex w-full flex-col gap-4 md:grid md:aspect-[1120/835] md:grid-cols-4 md:grid-rows-3 md:gap-5",children:t.map((e,t)=>(0,w.jsx)(z,{tool:e,className:(0,L.cn)(R[t].pc,R[t].mobile)},e.title))})]})};var H=i(73488),F=i(14113);i(44475);var S=i(16048),T=i(79156),Z=i(1843),q=i(68948);function W(e){let t=(0,q.M)(()=>(0,T.O)(e)),{isStatic:i}=(0,_.useContext)(Z.Q);if(i){let[,i]=(0,_.useState)(e);(0,_.useEffect)(()=>t.on("change",i),[])}return t}var D=i(71772),U=i(19441);function G(e,t,i,o){let r="function"==typeof t?t:function(...e){var t;let i,o=!Array.isArray(e[0]),r=o?0:-1,a=e[0+r],l=e[1+r],s=e[2+r],n=e[3+r],c=(0,S.G)(l,s,{mixer:"object"==typeof(i=t=s[0])&&i.mix?t.mix:void 0,...n});return o?c(a):c}(t,i,o);return Array.isArray(e)?Y(e,r):Y([e],([e])=>r(e))}function Y(e,t){var i;let o,r,a=(0,q.M)(()=>[]);return o=W((i=()=>{a.length=0;let i=e.length;for(let t=0;t<i;t++)a[t]=e[t].get();return t(a)})()),(r=()=>o.set(i()))(),(0,U.E)(()=>{let t=()=>D.OH.update(r,!1,!0),i=e.map(e=>e.on("change",t));return()=>{i.forEach(e=>e()),D.eO.update(r)}}),o}var J=i(70436),Q=i(80823),X=i(45460),K=i(60591);let ee=()=>{let e=(0,j.A)({}),t="app-info",i="https://app.adjust.com/1b2ooro2",o=(0,M.A)();return(0,w.jsxs)("div",{className:"flex flex-col items-center gap-6 mobile:w-full mobile:gap-5",children:[(0,w.jsxs)("div",{className:"flex gap-6 mobile:w-full mobile:flex-col mobile:gap-5",children:[(0,w.jsxs)(P,{position:t,link:o?i:Q.Ay.ios,t
1ype:"major",className:"flex h-[54px] items-center justify-center gap-2 rounded-full bg-black px-6 py-4 text-white hover:bg-black/80 mobile:w-full",children:[(0,w.jsx)(X.A,{className:"h-8 w-8"}),(0,w.jsx)("span",{className:"font-Poppins text-lg font-semibold leading-normal",children:"App Store"})]}),(0,w.jsxs)(P,{position:t,type:"major",link:o?i:Q.Ay.android,className:"flex h-[54px] items-center justify-center gap-2 rounded-full border border-black px-6 py-4 text-black hover:bg-[rgba(0,0,0,0.08)] mobile:w-full",children:[(0,w.jsx)(K.A,{className:"h-8 w-8"}),(0,w.jsx)("span",{className:"font-Poppins text-lg font-semibold leading-normal",children:"Google Play"})]})]}),(0,w.jsxs)(P,{position:t,link:Q.qr,type:"major",className:"font-Poppins text-sm leading-normal text-black/80 underline hover:text-black/60",children:[e("app.dl.button.apk"),">"]})]})};var et=i(46720),ei=i.n(et);let eo=[{title:"app.dl.intro.image.1",img:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/intro/Magic.jpg"},{title:"app.dl.intro.image.2",img:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/intro/Eraser.jpg"},{title:"app.dl.intro.image.3",img:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/intro/Body.jpg"},{title:"app.dl.intro.image.4",img:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/intro/Relight.jpg"},{title:"app.dl.intro.image.5",img:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/intro/AI_Image.jpg"},{title:"app.dl.intro.image.6",img:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/intro/Hair.jpg"},{title:"app.dl.intro.image.7",img:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/intro/Presets.jpg"}],er=2*eo.length,ea={0:{direction:0,amplitude:0},1:{direction:1,amplitude:30},2:{direction:-1,amplitude:80},3:{direction:-1,amplitude:46}},el=({distance:e,scrollY:t,children:i})=>{let o=ea[e]??ea[3],r=G(t,[0,600],[0,o.direction*o.amplitude]);return(0,w.jsx)(J.P.div,{style:{y:r,width:"100%",height:"100%",transition:"transform 0.4s"},children:i})},es=({scrollY:e})=>{let[t,i]=(0,_.useState)(0),o=(0,_.useRef)(null),r=(0,j.A)({}),a=e=>{o.current=e,i(e.realIndex),e.update?.()};return(0,w.jsxs)("div",{className:ei().container,children:[(0,w.jsx)("div",{className:ei().bgFrame,children:(0,w.jsx)(N(),{src:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/intro/action_mode.png",alt:"",fill:!0,style:{objectFit:"cover"}})}),(0,w.jsx)(H.RC,{className:ei().swiper,slidesPerView:"auto",centeredSlides:!0,loop:!0,autoplay:{delay:2500,disableOnInteraction:!1},modules:[F.Ij],spaceBetween:0,onSwiper:a,onRealIndexChange:a,children:[...eo,...eo].map((a,l)=>{let s=Math.abs(l-t),n="";return 1===(s=Math.min(s,er-s))?n=ei().dist1:2===s&&(n=ei().dist2),(0,w.jsx)(H.qr,{className:(0,L.cn)(ei().swiperSlide,n),onClick:()=>{let e;(e=o.current)&&(i(l),e.slideToLoop(l))},children:(0,w.jsx)(el,{distance:s,scrollY:e,children:(0,w.jsxs)("div",{className:ei().slideCard,children:[(0,w.jsx)("p",{className:ei().slideCardTitle,dangerouslySetInnerHTML:{__html:r(a.title)}}),(0,w.jsx)(N(),{quality:100,src:a.img,alt:a.title,unoptimized:!0,priority:!0,style:{objectFit:"cover"},width:240,height:496})]})})},l)})})]})},en=()=>{let e=(0,j.A)({}),t=W(0);return(0,_.useEffect)(()=>{let e=()=>t.set(window.scrollY);return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[t]),(0,w.jsxs)("section",{className:"flex flex-col items-center py-20 md:m-auto mobile:py-10",children:[(0,w.jsxs)("div",{className:"mb-10 flex flex-col gap-10 mobile:px-4",children:[(0,w.jsxs)("div",{className:"flex flex-col items-center justify-center gap-6 text-center md:max-w-[1120px] mobile:gap-3",children:[(0,w.jsx)("h1",{className:"m-0 font-PoppinsBold text-[40px] font-bold leading-normal text-[#222] mobile:text-[28px] ",children:e("app.dl.intro")}),(0,w.jsx)("p",{className:"m-0 font-Poppins text-xl leading-normal text-[rgba(0,0,0,0.6)] mobile:hidden",children:e("app.dl.intro.content")})]}),(0,w.jsx)(ee,{})]}),(0,w.jsx)(es,{scrollY:t}),(0,w.jsx)("p",{className:"m-0 hidden px-4 text-center font-Poppins text-xl leading-normal text-[rgba(0,0,0,0.6)] mobile:block",children:e("app.dl.intro.content")})]})};var ec=i(89643);function ep(){return(ep=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)({}).hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(null,arguments)}let ed=function(e){return _.createElement("svg",ep({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 40 40",fill:"currentColor"},e),o||(o=_.createElement("path",{d:"M13.5728 10.6956L10.5723 13.6961C9.07745 15.191 9.07745 17.6146 10.5723 19.1095L23.4655 32.0027C24.9604 33.4976 27.3841 33.4976 28.8789 32.0027L31.8794 29.0022C33.3743 27.5074 33.3743 25.0837 31.8794 23.5888L18.9862 10.6956C17.4913 9.20075 15.0677 9.20074 13.5728 10.6956Z",stroke:"currentColor",strokeOpacity:.8,strokeWidth:2,strokeLinejoin:"round"})),_.createElement("path",{d:"M23.5829 28.2755C23.1586 27.8512 23.168 27.3577 23.6144 26.9113L26.9117 23.614C27.3581 23.1676 27.8516 23.1582 28.2759 23.5825C28.7003 24.0069 28.6908 24.5004 28.2445 24.9468L24.9471 28.2441C24.5008 28.6905 24.0073 28.6999 23.5829 28.2755Z",style:{fill:"currentColor"},fillOpacity:.8}),_.createElement("path",{d:"M18.6793 23.3719C18.255 22.9476 18.2424 22.4509 18.6448 22.0486C18.7611 21.9323 18.9654 21.7971 19.1854 21.6966L23.0045 19.908C23.7495 19.5528 24.3279 19.6345 24.8591 20.1658C25.4281 20.7347 25.5161 21.3005 25.1609 22.0643L23.3817 25.8929C23.2717 26.1286 23.1711 26.2795 23.0266 26.4241C22.6494 26.8013 22.0993 26.7919 21.7126 26.4053C21.3197 26.0123 21.2946 25.6289 21.6215 25.0756L21.8509 24.689L20.3736 23.2116L20.009 23.4191C19.4274 23.7491 19.0408 23.7334 18.6793 23.3719ZM21.6183 22.4698L22.5645 23.416L23.7401 21.2973L23.7149 21.2722L21.6183 22.4698Z",style:{fill:"currentColor"},fillOpacity:.8}),r||(r=_.createElement("path",{d:"M21.5096 13.2189L13.0957 21.6328",stroke:"currentColor",strokeOpacity:.8,strokeWidth:2,strokeLinejoin:"round"})),a||(a=_.createElement("path",{d:"M26.1719 6L27.5587 6.69339C28.6848 7.25645 30.0103 7.25645 31.1364 6.69339L32.5231 6L31.8298 7.38678C31.2667 8.51289 31.2667 9.83838 31.8298 10.9645L32.5231 12.3513L31.1364 11.6579C30.0103 11.0948 28.6848 11.0948 27.5587 11.6579L26.1719
112.3513L26.8653 10.9645C27.4283 9.83838 27.4283 8.51289 26.8653 7.38678L26.1719 6Z",stroke:"currentColor",strokeOpacity:.8,strokeWidth:2,strokeLinejoin:"round"})),l||(l=_.createElement("path",{d:"M5 28.2295L5.34815 28.1134C6.54257 27.7153 7.47983 26.778 7.87797 25.5836L7.99402 25.2355L8.11007 25.5836C8.50821 26.778 9.44547 27.7153 10.6399 28.1134L10.988 28.2295L10.6399 28.3455C9.44547 28.7437 8.50821 29.6809 8.11007 30.8754L7.99402 31.2235L7.87797 30.8754C7.47983 29.6809 6.54257 28.7437 5.34815 28.3455L5 28.2295Z",stroke:"currentColor",strokeOpacity:.8,strokeWidth:2,strokeLinejoin:"round"})))};function eu(){return(eu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)({}).hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(null,arguments)}let em=function(e){return _.createElement("svg",eu({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 40 40",fill:"currentColor"},e),s||(s=_.createElement("path",{d:"M10.8791 14.9228L10.6857 14.2011C10.2508 12.5782 10.0334 11.7668 10.1832 11.0623C10.3149 10.4426 10.6394 9.88049 11.1102 9.45657C11.6455 8.97464 12.4569 8.75722 14.0798 8.32236L14.7516 8.14237C16.3745 7.70751 17.1859 7.49008 17.8904 7.63982C18.5101 7.77154 19.0722 8.09606 19.4961 8.56687C19.978 9.10211 20.1955 9.91357 20.6303 11.5365L21.67 15.4167",stroke:"currentColor",strokeOpacity:.8,strokeWidth:2,strokeLinecap:"round"})),n||(n=_.createElement("path",{d:"M30.4173 19.6191V25.7192C30.4173 27.9594 30.4173 29.0795 29.9813 29.9351C29.5979 30.6878 28.9859 31.2997 28.2333 31.6832C27.3776 32.1192 26.2575 32.1192 24.0173 32.1192H15.984C13.7438 32.1192 12.6237 32.1192 11.768 31.6832C11.0154 31.2997 10.4035 30.6878 10.02 29.9351C9.58398 29.0795 9.58398 27.9594 9.58398 25.7192V19.6191",stroke:"currentColor",strokeOpacity:.8,strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),c||(c=_.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30.4167 15.4526C30.494 15.4526 30.5327 15.4526 30.5654 15.4537C31.6187 15.4882 32.4644 16.334 32.4989 17.3872C32.5 17.4199 32.5 17.4586 32.5 17.536C32.5 17.6134 32.5 17.652 32.4989 17.6848C32.4644 18.738 31.6187 19.5838 30.5654 19.6182C30.5327 19.6193 30.494 19.6193 30.4167 19.6193H9.58334C9.50596 19.6193 9.46727 19.6193 9.43456 19.6182C8.38134 19.5838 7.53555 18.738 7.50107 17.6848C7.5 17.652 7.5 17.6134 7.5 17.536C7.5 17.4586 7.5 17.4199 7.50107 17.3872C7.53555 16.334 8.38134 15.4882 9.43456 15.4537C9.46727 15.4526 9.50596 15.4526 9.58334 15.4526L30.4167 15.4526Z",stroke:"currentColor",strokeOpacity:.8,strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),p||(p=_.createElement("path",{d:"M29.8959 15.4523C29.8959 13.1511 28.0304 11.2856 25.7292 11.2856C23.428 11.2856 21.5625 13.1511 21.5625 15.4523",stroke:"currentColor",strokeOpacity:.8,strokeWidth:2,strokeLinecap:"round"})))};function eh(){return(eh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)({}).hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(null,arguments)}let eb=function(e){return _.createElement("svg",eh({width:"1em",height:"1em",viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor"},e),d||(d=_.createElement("path",{d:"M24.6738 15.2976L27.5171 17.932C28.0848 18.4579 28.1887 19.3173 27.7627 19.9634C27.2524 20.7373 26.1889 20.9086 25.4613 20.334L24.6738 19.7121",stroke:"currentColor",strokeOpacity:.8,strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),u||(u=_.createElement("path",{d:"M15.9304 21.6437L17.897 16.4022V21.3089C17.897 22.4203 18.3244 23.4891 19.0907 24.2941L21.7509 27.0884C22.0389 27.3909 22.2449 27.7619 22.3494 28.1663L23.7334 33.5211C23.9867 34.5015 24.9678 35.1081 25.9581 34.8965C27.0157 34.6707 27.6685 33.6052 27.3894 32.5604L25.6326 25.983C25.5276 25.5896 25.3342 25.2253 25.0672 24.9179L22.671 22.1587C22.1747 21.5871 21.9014 20.8556 21.9014 20.0987V17.3574C21.9014 15.784 21.2377 14.2836 20.0734 13.2252C19.0664 12.3097 17.546 12.2536 16.4742 13.0924L14.6332 14.5332C14.3389 14.7635 14.1221 15.0784 14.0121 15.4355L12.4635 20.4603C12.1003 21.6388 12.9814 22.8324 14.2147 22.8324C14.9784 22.8324 15.6621 22.3587 15.9304 21.6437Z",stroke:"currentColor",strokeOpacity:.8,strokeWidth:2,strokeLinejoin:"round"})),m||(m=_.createElement("circle",{cx:21.7174,cy:7.95573,r:2.95573,stroke:"currentColor",strokeOpacity:.8,strokeWidth:2})),h||(h=_.createElement("path",{d:"M16.5059 25.6157L12.5228 31.3041C11.9587 32.1098 12.1545 33.2203 12.9602 33.7845C13.7659 34.3486 14.8764 34.1528 15.4405 33.3471L18.8248 28.5139",stroke:"currentColor",strokeOpacity:.8,strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};function eg(){return(eg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)({}).hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(null,arguments)}let ef=function(e){return _.createElement("svg",eg({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 40 40",fill:"currentColor"},e),b||(b=_.createElement("path",{d:"M22.5 20.5L18.5 24.5",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),g||(g=_.createElement("path",{d:"M22 16L18 20",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),f||(f=_.createElement("path",{d:"M19 9.0851C19.3276 9.02893 19.6613 9 20 9C24.4183 9 28 13.9249 28 20C28 26.0751 24.4183 31 20 31C15.5817 31 12 26.0751 12 20C12 18.6546 12.1757 17.3655 12.4972 16.1739",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"})),x||(x=_.createElement("path",{d:"M17 6.52699C17.9537 6.1837 18.96 6 20 6C26.0751 6 31 12.268 31 20C31 27.732 26.0751 34 20 34C13.9249 34 9 27.732 9 20C9 18.1204 9.29105 16.3272 9.81891 14.6897",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"})),_.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5115 6.2002C12.7989 6.19925 13.0534 6.38229 13.1434 6.6546L13.4264 7.51127C13.6238 8.10866 14.0915 8.5764 14.6889 8.77377L15.5456 9.05681C15.8179 9.14679 16.0009 9.40129 16 9.68865C15.999 9.97601 15.8143 10.2317 15.5414 10.3235L14.6829 10.6122C14.0842 10.8135 13.6133 11.2844 13.412 11.8831L13.1233 12.7416C13.0315 13.0145 12.7758 13.1992 12.4885 13.2002C12.2011 13.2011 11.9466 13.0181 11.8566 12.7458L11.5736 11.8891C11.3762 11.2917 10.9085 10.824 10.3111 10.6266L9.4544 10.3436C9.18209 10.2536 8.99906 9.9991 9 9.71174C9.00095 9.42438 9.18567 9.16866 9.45858 9.07689L10.3171 8.78819C10.9158 8.58687 11.3867 8.11603 11.588 7.51733L11.8767 6.65878C11.9685 6.38587 12.2242 6.20115 12.5115 6.2002Z",style:{fill:"currentColor"}}))},ex=()=>{let e=(0,j.A)({}),[t,i]=(0,_.useState)(0),o=[{label:e("app.dl.eraser.feature.1"),icon:ef,beforeImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/eraser/Mirror_Before.jpg",afterImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/eraser/Mirror_After.jpg"},{label:e("app.dl.eraser.feature.2"),icon:ed,beforeImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/eraser/Erase_Before.jpg",afterImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/eraser/Erase_After.jpg"},{label:e("app.dl.eraser.feature.3"),icon:em,beforeImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/eraser/Object_Removal_Before.jpg",afterImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/eraser/Object_Removal_After.jpg"},{label:e("app.dl.eraser.feature.4"),icon:eb,beforeImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/eraser/Passerby_Before.jpg",afterImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/eraser/Passerby_After.jpg"}];return(0,w.jsx)("section",{className:"bg-white px-4 py-20 mobile:py-10",children:(0,w.jsxs)("div",{className:"mx-auto flex w-full max-w-[1120px] items-center justify-center gap-20 mobile:flex-col mobile:gap-10",children:[(0,w.jsx)(B,{yCenter:!0,className:"min-w-0 flex-1 mobile:w-full",title:e("app.dl.eraser.intro"),desc:e("app.dl.eraser.content")}),(0,w.jsxs)("div",{className:"flex w-[47%] min-w-0 flex-col gap-3 mobile:w-full mobile:gap-2",children:[(0,w.jsx)("div",{className:"relative w-full pb-[56.25%]",children:o.map(({beforeImg:e,afterImg:i,label:o},r)=>(0,w.jsx)("div",{className:(0,L.cn)("absolute inset-0 transition-opacity duration-500",t===r?"opacity-100":"pointer-events-none opacity-0"),children:(0,w.jsx)(ec.yS,{className:"h-full w-full rounded-3xl",sourceUrl:e,afterUrl:i,hideDiffTag:!0,nativeImg:!0})},o))}),(0,w.jsx)("div",{className:"flex justify-center gap-3 mobile:gap-2",children:o.map(({label:e,icon:o},r)=>(0,w.jsxs)("button",{type:"button",onClick:()=>i(r),className:(0,L.cn)("flex aspect-square min-w-0 flex-1 flex-col items-center justify-center gap-1 rounded-[20px] border-2 border-solid px-0.5 py-2.5 transition-all duration-200",t===r?"border-[#ff6a3b] bg-[rgba(255,106,59,0.08)]":"border-white bg-[#f2f5f9]"),children:[(0,w.jsx)("div",{className:"relative size-10 shrink-0 mobile:size-8",children:(0,w.jsx)(o,{width:40,height:40,className:(0,L.cn)("h-full w-full",t===r?"text-[#ff6a3b]":null),fill:"none"})}),(0,w.jsx)("span",{className:(0,L.cn)("w-full text-center font-PoppinsMedium text-[13px] leading-[1.2] mobile:text-[10px]",t===r?"text-[#ff6a3b]":"text-[rgba(0,0,0,0.8)]"),children:e})]},e))})]})]})})},ew=({label:e,video:t})=>{let i=(0,_.useRef)(null),o=(0,_.useRef)(null);return(0,_.useEffect)(()=>{let e=i.current,t=o.current;if(!e||!t)return;let r=()=>{t.play().catch(()=>{setTimeout(()=>{t.play().catch(()=>{})},100)})},a=new IntersectionObserver(([e])=>{e.isIntersecting?t.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA?r():t.addEventListener("canplay",r,{once:!0}):(t.removeEventListener("canplay",r),t.pause(),t.currentTime=0)},{threshold:.6});return a.observe(e),()=>{a.disconnect(),t.removeEventListener("canplay",r)}},[]),(0,w.jsxs)("div",{ref:i,className:"relative h-80 w-60 shrink-0 overflow-hidden rounded-3xl bg-white",children:[(0,w.jsx)("video",{ref:o,className:"pointer-events-none absolute inset-0 h-full w-full object-cover",src:t,loop:!0,muted:!0,playsInl
1ine:!0,autoPlay:!0,preload:"metadata","webkit-playsinline":"true","aria-label":e}),(0,w.jsx)("div",{className:"absolute left-3 top-3 whitespace-nowrap rounded-xl bg-white px-3 py-1.5 font-PoppinsSemiBold text-base text-black shadow-[0px_4px_20px_0px_rgba(0,0,0,0.15)]",children:e})]})},ev=()=>{let e=(0,j.A)({}),t=[{label:e("app.dl.protrait.feature.1"),video:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/retouch/1.mp4"},{label:e("app.dl.protrait.feature.2"),video:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/retouch/2.mp4"},{label:e("app.dl.protrait.feature.3"),video:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/retouch/3.mp4"}];return(0,w.jsxs)("section",{className:"flex w-full flex-col items-center gap-10 bg-[#f5f7fa] py-10 lg:flex-row lg:items-start lg:justify-center lg:px-5 lg:py-20",children:[(0,w.jsx)(B,{title:e("app.dl.protrait.intro"),desc:e("app.dl.protrait.content"),className:"w-full px-4 lg:w-80 lg:px-0",hiddenDownload:!0}),(0,w.jsx)("div",{className:"flex shrink-0 mobile:w-full",children:(0,w.jsx)("div",{className:"flex items-start gap-5 mobile:w-full mobile:overflow-x-auto mobile:px-4 mobile:[scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:t.map(({label:e,video:t})=>(0,w.jsx)(ew,{label:e,video:t},e))})})]})},eC=()=>(0,w.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",children:[(0,w.jsx)("g",{clipPath:"url(#clip0_254_99)",children:(0,w.jsx)("path",{d:"M14 0C21.732 4.44913e-06 28 6.26802 28 14L27.9951 14.3613C27.8035 21.9263 21.6112 28 14 28L13.6387 27.9951C6.07369 27.8035 2.33662e-06 21.6112 0 14L0.00488281 13.6387C0.193494 6.19376 6.19376 0.193497 13.6387 0.00488281L14 0ZM6.25293 23.1602C8.34367 24.9301 11.0461 26 14 26C20.6274 26 26 20.6274 26 14C26 11.0461 24.9301 8.34367 23.1602 6.25293L6.25293 23.1602ZM2 14C2 16.9534 3.06941 19.6555 4.83887 21.7461L21.7461 4.83887C19.6555 3.06941 16.9534 2 14 2C7.37259 2 2 7.37259 2 14Z",fill:"black",fillOpacity:"0.6"})}),(0,w.jsx)("defs",{children:(0,w.jsx)("clipPath",{id:"clip0_254_99",children:(0,w.jsx)("rect",{width:"28",height:"28",fill:"white"})})})]}),ej=()=>(0,w.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",children:(0,w.jsx)("path",{d:"M4.375 13.9534L11.0464 21.3891C11.2738 21.6425 11.6749 21.6291 11.8848 21.361L24.5 5.25",stroke:"white",strokeWidth:"2",strokeLinecap:"round"})}),ey=()=>{let e=(0,j.A)({}),[t,i]=(0,_.useState)(1),o=[{label:e("app.dl.relight.feature.1"),isNone:!0,img:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/relight/Before.jpg",thumbImg:""},{label:e("app.dl.relight.feature.2"),img:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/relight/Sunsoft.jpg",thumbImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/relight/Sunsoft_icon.jpg"},{label:e("app.dl.relight.feature.3"),img:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/relight/g7x.jpg",thumbImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/relight/g7x_icon.jpg"},{label:e("app.dl.relight.feature.4"),img:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/relight/Flash.jpg",thumbImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/relight/Flash_icon.jpg"},{label:e("app.dl.relight.feature.5"),img:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/relight/Digicam.jpg",thumbImg:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/relight/Digicam_icon.jpg"}],r=o[t].img;return(0,w.jsx)("section",{className:"bg-white px-4 py-20 mobile:py-10",children:(0,w.jsxs)("div",{className:"mx-auto flex w-full max-w-[1120px] items-center justify-center gap-20 mobile:flex-col mobile:gap-10 ",children:[(0,w.jsx)(B,{yCenter:!0,className:"order-2 flex-1 mobile:order-1 mobile:w-full",title:e("app.dl.relight.intro"),desc:e("app.dl.relight.content")}),(0,w.jsxs)("div",{className:"order-1 flex w-[47%] flex-col gap-3 mobile:order-2 mobile:w-full mobile:gap-2",children:[(0,w.jsx)("div",{className:"relative aspect-video w-full overflow-hidden rounded-[24px] mobile:h-auto",children:(0,w.jsx)("img",{src:r,alt:"Relight preview",className:"pointer-events-none absolute inset-0 h-full w-full object-cover"})}),(0,w.jsx)("div",{className:"flex gap-3 mobile:gap-2",children:o.map(({label:e,isNone:o,thumbImg:r},a)=>(0,w.jsx)(w.Fragment,{children:o?(0,w.jsxs)("div",{className:(0,L.cn)("relative aspect-square flex-1 cursor-pointer overflow-hidden rounded-[20px] border-2 border-solid bg-[#F2F5F9] transition-all duration-200",t===a?"border-[#ff6a3b]":"border-white"),onClick:()=>i(a),children:[(0,w.jsx)("div",{className:"absolute inset-0 flex items-center justify-center pb-5",children:(0,w.jsx)(eC,{})}),(0,w.jsx)("div",{className:"absolute bottom-0 left-0 right-0 z-10 flex items-center justify-center bg-[rgba(0,0,0,0.2)] px-2 py-1 backdrop-blur-[4px] mobile:py-0.5",children:(0,w.jsx)("span",{className:"text-center font-PoppinsMedium text-xs text-black/80 [text-shadow:0px_2px_8px_rgba(0,0,0,0.2)] mobile:text-[8px]",children:e})})]},e):(0,w.jsxs)("div",{className:"relative aspect-square flex-1 cursor-pointer overflow-hidden rounded-[20px]",onClick:()=>
1i(a),children:[r&&(0,w.jsx)(N(),{quality:100,src:r,alt:e,width:96,height:96,className:"pointer-events-none absolute inset-0 h-full w-full rounded-[16px] object-cover"}),(0,w.jsx)("div",{className:(0,L.cn)("absolute inset-0 flex items-center justify-center bg-[rgba(0,0,0,0.6)] pb-5 transition-all duration-200",t===a?"opacity-100":"opacity-0"),children:(0,w.jsx)(ej,{})}),(0,w.jsx)("div",{className:"absolute bottom-0 left-0 right-0 z-10 flex items-center justify-center bg-[rgba(0,0,0,0.2)] px-2 py-1 backdrop-blur-[4px] mobile:py-0.5",children:(0,w.jsx)("span",{className:"text-center font-PoppinsMedium text-xs text-white [text-shadow:0px_2px_8px_rgba(0,0,0,0.2)] mobile:text-[8px]",children:e})})]},e)}))})]})]})})};var ek=i(20052),eN=i(98679);let e_=e=>new Promise(t=>{"requestVideoFrameCallback"in e?e.requestVideoFrameCallback(()=>t()):requestAnimationFrame(()=>t())}),eL=async(e,t)=>{let i=Number.isFinite(e.duration)?e.duration:t,o=Math.min(Math.max(t,0),i);await e.play().catch(()=>{}),(Math.abs(e.currentTime-o)>=.05||e.readyState<HTMLMediaElement.HAVE_CURRENT_DATA)&&await new Promise(t=>{let i=0,r=!1,a=()=>{r||(r=!0,window.clearTimeout(i),t())};i=window.setTimeout(a,500),e.addEventListener("seeked",a,{once:!0}),e.currentTime=o}),await e_(e)},eE=()=>{let e=(0,j.A)({}),t=(0,eN.Ay)(),{platform:i}=(0,ek.A)(),o="Android"===i,[r,a]=(0,_.useState)(0),[l,s]=(0,_.useState)("after"),n=(0,_.useRef)({}),c=(0,_.useRef)(0),p=(0,_.useRef)(null),[d,u]=(0,_.useState)(!1),m=(0,_.useRef)(null),h=(0,_.useRef)(null),b=W(2),g=W(0),[f,x]=(0,_.useState)(0),[v,C]=(0,_.useState)(0),[y,k]=(0,_.useState)(0),N=(0,_.useRef)(0),L=G([g,b],([e,t])=>1+(t-1)*Math.min(Math.max(e/.75,0),1)),E=G(g,e=>16*(1-Math.min(Math.max(e/.5,0),1))),A=G(g,[.97,1],[0,1]),M=G(g,[.75,.78],[0,1]),$=(0,_.useCallback)(()=>{let e=window.innerWidth,i=window.innerHeight,o=t?358:800,r=t?775:450,a=m.current?.offsetHeight??0,l=Math.max(0,(i-r)/2);x(a),C(l),N.current=l,k(2*i),b.set(Math.max(e/o,i/r))},[t,b]);(0,_.useEffect)(()=>($(),window.addEventListener("resize",$),()=>window.removeEventListener("resize",$)),[$]),(0,_.useEffect)(()=>{let e=h.current;if(!e)return;let t=0,i=()=>{cancelAnimationFrame(t),t=requestAnimationFrame(()=>{let t=e.getBoundingClientRect(),i=.8*window.innerHeight,o=Math.max(0,i-t.top),r=i+e.offsetHeight-window.innerHeight,a=r>0?Math.min(o/r,1):0;g.set(a)})};return window.addEventListener("scroll",i,{passive:!0}),i(),()=>{window.removeEventListener("scroll",i),cancelAnimationFrame(t)}},[g]);let I=[{title:e("app.dl.video.retouch.feature.1"),before:{video:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/video/Face_B.mp4",cover:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/video/Face_B.jpg"},after:{video:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/video/Face_A.mp4",cover:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/video/Face_A.jpg"},mobileBefore:{video:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/video/Face_B_m.mp4",cover:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/video/Face_B_m.jpg"},mobileAfter:{video:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/video/Face_A_m.mp4",cover:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/video/Face_A_m.jpg"}},{title:e("app.dl.video.retouch.feature.2"),before:{video:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/video/Body_B.mp4",cover:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/video/Body_B.jpg"},after:{video:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/video/Body_A.mp4",cover:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/video/Body_A.jpg"},mobileBefore:{video:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/video/Body_B_m.mp4",cover:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/video/Body_B_m.jpg"},mobileAfter:{video:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/video/Body_A_m.mp4",cover:"https://public.static.meitudata.com/pixocial/airbrush-web/tools-app/video/Body_A_m.jpg"}}],P=e=>{if(e===l)return;let t=n.current[`${r}-${l}`],i=n.current[`${r}-${e}`];if(!t||!i)return void s(e);let o=++c.current;eL(i,t.currentTime).then(()=>{c.current===o&&s(e)}).catch(()=>{})};(0,_.useEffect)(()=>{let e=p.current;if(!e)return;let t=new IntersectionObserver(([e])=>{u(e.isIntersecting)},{threshold:.1});return t.observe(e),()=>t.disconnect()},[]),(0,_.useEffect)(()=>{Object.entries(n.current).forEach(([e,t])=>{t&&((o?e===`${r}-${l}`&&d:Number(e.split("-")[0])===r&&d)?t.play().catch(()=>{}):t.pause())})},[r,l,d,o]);let R=t?358:800,O=t?775:450,z=O/2,V=`calc(${z}px - 50vh + ${t?160:130}px)`,H=`calc(${z}px - 50vh + ${t?56:80}px)`,F=t?24:80,S=f+y+v;return(0,w.jsxs)("section",{style:S>0?{position:"relative",height:S,overflow:"clip"}:{position:"relative",overflow:"clip"},children:[(0,w.jsx)("div",{ref:m,className:"mx-auto flex w-full flex-col items-center gap-10 pb-10 pt-20 md:max-w-[1120px] mobile:px-4 mobile:py-10",children:(0,w.jsx)(B,{title:e("app.dl.video.retouch.intro"),desc:e("app.dl.video.retouch.content"),xCenter:!0})}),(0,w.jsx)("div",{ref:h,style:{position:"absolute",top:f,left:0,right:0,height:y,zIndex:99}
1,children:(0,w.jsxs)("div",{style:{position:"sticky",top:v,display:"flex",justifyContent:"center"},children:[(0,w.jsx)(J.P.div,{style:{scale:L,borderRadius:E},className:"overflow-hidden",children:(0,w.jsx)("div",{ref:p,className:"relative overflow-hidden bg-black",style:{width:R,height:O},children:I.map((e,i)=>["before","after"].map(o=>{let a=i===r&&o===l;return(0,w.jsx)("video",{ref:e=>{n.current[`${i}-${o}`]=e},className:`absolute inset-0 h-full w-full object-cover ${a?"opacity-100":"opacity-0"}`,src:t?"before"===o?e.mobileBefore.video:e.mobileAfter.video:e[o].video,loop:!0,muted:!0,playsInline:!0},`${i}-${o}-${t?"m":"d"}`)}))})}),(0,w.jsxs)(J.P.div,{style:{opacity:M},children:[(0,w.jsx)("div",{className:"absolute flex flex-col gap-4",style:{left:F,bottom:V},children:I.map((e,t)=>(0,w.jsxs)("button",{type:"button",onClick:()=>{t!==r&&a(t)},className:`flex items-center gap-2 whitespace-nowrap text-left font-PoppinsBold leading-[1.1] transition-all duration-300 [text-shadow:0px_2px_8px_rgba(0,0,0,0.5)] ${r===t?"text-[28px] text-white mobile:text-2xl":"text-2xl text-white/50 hover:text-white/70 mobile:text-xl"}`,children:[(0,w.jsx)("span",{className:`inline-block h-0 w-0 shrink-0 border-y-[7px] border-l-[10px] border-y-transparent border-l-[#FF6A3B] transition-opacity duration-300 ${r===t?"opacity-100":"opacity-0"}`}),e.title]},t))}),(0,w.jsx)("div",{className:"absolute left-1/2 -translate-x-1/2",style:{bottom:H},children:(0,w.jsxs)("div",{className:"relative h-8 w-[148px] overflow-hidden rounded-[21px] bg-black/60 backdrop-blur",children:[(0,w.jsx)("div",{className:`absolute top-0.5 h-7 w-[68px] rounded-full bg-white/10 transition-all duration-300 ${"before"===l?"left-[2px]":"left-[78px]"}`}),(0,w.jsxs)("div",{className:"relative flex h-full",children:[(0,w.jsx)("button",{type:"button",onClick:()=>P("before"),className:`z-10 flex flex-1 items-center justify-center text-xs capitalize transition-colors duration-200 ${"before"===l?"font-PoppinsSemiBold text-white":"font-PoppinsMedium text-white/60"}`,children:"Before"}),(0,w.jsx)("button",{type:"button",onClick:()=>P("after"),className:`z-10 flex flex-1 items-center justify-center text-xs capitalize transition-colors duration-200 ${"after"===l?"font-PoppinsSemiBold text-white":"font-PoppinsMedium text-white/60"}`,children:"After"})]})]})})]})]})}),(0,w.jsx)(J.P.div,{style:{position:"absolute",bottom:-4,left:0,right:0,height:360,background:"linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%)",opacity:A,pointerEvents:"none",zIndex:99}})]})};var eA=i(37636);let eM="app.dl",e$=({className:e})=>(0,w.jsxs)("svg",{className:e,width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,w.jsx)("path",{d:"M11.4233 0.503653V7.4396C11.0774 7.46774 10.7397 7.49118 10.4021 7.52284C9.03624 7.6518 8.15928 8.42559 7.62584 9.64372C7.20026 10.6156 7.04081 11.6497 7.00095 12.6943C6.95874 13.8151 6.99157 14.9383 6.99157 16.1001H12.9896V29.0927H0.000521069V28.7832C0.000521069 23.7724 -0.000651336 18.7627 0.000521069 13.7518C0.000521069 11.611 0.232657 9.50303 0.991203 7.48298C2.31133 3.97397 4.76752 1.72295 8.42425 0.828409C9.40086 0.589239 10.3986 0.48724 11.4233 0.503653Z",fill:"currentColor"}),(0,w.jsx)("path",{d:"M24.0167 16.1141H29.9995V29.0938H17.0081V28.7831C17.0081 23.7922 17.0046 18.8012 17.0093 13.8103C17.0116 11.6507 17.2402 9.52165 18.0023 7.48167C19.163 4.3748 21.2628 2.20116 24.4224 1.112C25.678 0.68055 26.9829 0.507034 28.3101 0.5C28.3476 0.5 28.3839 0.510552 28.4355 0.517586V7.43946C28.0838 7.4676 27.745 7.49105 27.4073 7.52388C26.0532 7.65284 25.1786 8.41725 24.6475 9.62365C24.2278 10.5756 24.0566 11.5874 24.0249 12.6145C23.9886 13.7634 24.0167 14.9147 24.0167 16.1141Z",fill:"currentColor"})]}),eI=({className:e})=>(0,w.jsx)("svg",{className:e,width:"22",height:"20",viewBox:"0 0 22 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,w.jsx)("path",{d:"M11 0L13.4697 7.60081H21.4616L14.996 12.2984L17.4656 19.8992L11 15.2016L4.53436 19.8992L7.00402 12.2984L0.538379 7.60081H8.53035L11 0Z"})}),eP=({content:e})=>(0,w.jsxs)("div",{className:(0,L.cn)("flex w-full shrink-0 gap-5 rounded-2xl bg-white px-5 py-[30px] shadow-[0px_4px_8px_rgba(205,211,238,0.25)]","h-auto"),children:[(0,w.jsx)(e$,{className:"relative h-[29px] w-[30px] shrink-0 text-[#ff813c]"}),(0,w.jsxs)("div",{className:(0,L.cn)("flex min-w-0 flex-1 flex-col justify-between","min-h-[170px]"),children:[(0,w.jsx)("p",{className:"m-0 font-Poppins text-sm leading-[1.5] text-[#222]",children:e.content}),(0,w.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,w.jsx)("div",{className:"flex [&>*:last-of-type]:mr-0 [&>*]:mr-1.5",children:[,,,,,].fill(0).map((e,t)=>(0,w.jsx)(eI,{className:"h-5 w-[22px] text-[#fbba10]"},t))}),(0,w.jsxs)("p",{className:"m-0 whitespace-nowrap font-Poppins text-base font-semibold leading-[1.5] text-[#222]",children:["- ",e.name]})]})]})]}),eB=()=>{let e=(0,j.A)({}),t=e(`${eM}.review.h2`),i=(0,eA.mu)(e,`${eM}.review`),o=i?.map((t,i)=>({content:t,name:e(`${eM}.review.name.${i+1}`)}))??[];return(0,w.jsx)("section",{className:"w-full bg-[#f5f7fa] py-10 md:py-20 mobile:px-4",children:(0,w.jsxs)("div",{className:"mx-auto flex w-full max-w-[1200px] flex-col gap-10 md:px-10 mobile:gap-10 mobile:px-0",children:[!!t&&(0,w.jsx)("h2",{className:"m-0 w-full text-center font-PoppinsBold text-[36px] font-bold leading-normal text-[#222] mobile:text-[28px]",children:t}),(0,w.jsx)("div",{className:"hidden grid-cols-3 gap-5 md:grid",children:o.map(e=>(0,w.jsx)(eP,{content:e},e.name))}),(0,w.jsx)("div",{className:"flex w-full flex-col gap-4 md:hidden",children:o.map(e=>(0,w.jsx)(eP,{content:e},e.name))})]})})};var eR=i(54273),eO=i(49104),ez=i.n(eO);let eV="tools/app",eH="app.dl";function eF(){let e=(0,j.A)(),{locale:t,locales:i,defaultLocale:o}=(0,y.useRouter)(),r=(0,v.ID)(e,eH,eV,{locale:t}),a=(0,v.TV)(e,eH,eV,{currentLocale:t,locales:i,defaultLocale:o});return(0,w.jsxs)("div",{className:(0,C.A)(ez()?.["ab-root"]),children:[r,a,(0,w.jsx)(en,{}),(0,w.jsx)(ev,{}),(0,w.jsx)(ey,{}),(0,w.jsx)(ex,{}),(0,w.jsx)(eE,{}),(0,w.jsx)(V,{}),(0,w.jsx)(eB,{})]})}eF.LocaleRoot=eR.A;var eS=!0;let eT=eF},26662:(e,t,i)=>{"use strict";i.d(t,{TV:()=>u,ID:()=>d,V1:()=>c});var o=i(66352),r=i(86843),a=i.n(r),l=i(28811),s=i(53240),n=i(23110);let c=JSON.parse('[{"slug":"remove-object-from-photo","moduleName":"ObjectRemover","prefix":"remove.object.from.photo","target":"/object-remover/upload","type":"remove-object-from-photo"},{"slug":"logo-background-remover","moduleName":"removeBG","prefix":"logo.bg.remover","target":"/editor/background-remover","type":"logo-background-remover","template":"editorV2","landingV2":{"order":["what:what1","how:how4","moreTools","reviewsFaq","cta"]}}
1,{"slug":"white-background","moduleName":"BackgroundChanger","prefix":"white.bg","target":"/editor/background-changer","type":"white-background","template":"editorV2","landingV2":{"order":["what:what1","what:what5","how:how4","moreTools","reviewsFaq","cta"]}},{"slug":"transparent-background","moduleName":"BackgroundChanger","prefix":"transparent.bg","target":"/editor/background-remover","type":"transparent-background","template":"editorV2","landingV2":{"order":["what:what1","what:what5","how:how1","moreTools","reviewsFaq","cta"]}},{"slug":"png-maker","moduleName":"BackgroundChanger","prefix":"png.mk","target":"/editor/background-remover","type":"png-maker","template":"editorV2","landingV2":{"order":["what:what1","what:what5","how:how4","moreTools","reviewsFaq","cta"]}},{"slug":"photo-to-3d-cartoon","moduleName":"Anime","prefix":"photo.to.3d.cartoon","target":"/ai-anime-generator/result","type":"photo-to-3d-cartoon"},{"slug":"unblur-image","moduleName":"ImageUpscaler","prefix":"unblur.image","target":"/image-upscaler/result","type":"unblur-image"},{"slug":"unpixelate-image","moduleName":"ImageUpscaler","prefix":"unpixelate.image","target":"/image-upscaler/result","type":"unpixelate-image"},{"slug":"ai-hair-color-changer","moduleName":"AiHairstyle","prefix":"hair.color","target":"/ai-hairstyle/result","type":"ai-hair-color-changer"},{"slug":"blonde-hair-filter","moduleName":"AiHairstyle","prefix":"blonde.hair","target":"/ai-hairstyle/result","type":"blonde-hair-filter"},{"slug":"buzz-cut-filter","moduleName":"AiHairstyle","prefix":"buzzcut.filter","target":"/ai-hairstyle/result","type":"buzz-cut-filter"},{"slug":"short-hair-filter","moduleName":"AiHairstyle","prefix":"short.hair.filter","target":"/ai-hairstyle/result","type":"short-hair-filter"},{"slug":"bald-filter","moduleName":"AiHairstyle","prefix":"bald.filter","target":"/ai-hairstyle/result","type":"bald-filter"},{"slug":"ai-long-hair-filter","moduleName":"AiHairstyle","prefix":"long.hair.filter","target":"/ai-hairstyle/result","type":"ai-long-hair-filter"},{"slug":"bangs-filter","moduleName":"AiHairstyle","prefix":"bangs.filter","target":"/ai-hairstyle/result","type":"bangs-filter"},{"slug":"which-hairstyle-suits-me","moduleName":"AiHairstyle","prefix":"men.hairstyle","target":"/ai-hairstyle/result","type":"which-hairstyle-suits-me"},{"slug":"pretty-scale","moduleName":"FaceSharpDetector","prefix":"pretty.scale","target":"/face-shape-detector/result","type":"pretty-scale"},{"slug":"bulk-image-enhancer","moduleName":"ImageEnhancer","prefix":"bulk.image.enhancer","target":"/image-enhancer/batch-edit","type":"bulk-image-enhancer"},{"slug":"ai-clothes-wrinkle-remover","moduleName":"ObjectRemover","prefix":"remove.wrinkles.from.clothes","target":"/object-remover/upload","type":"ai-clothes-wrinkle-remover"},{"slug":"sharpen-images","moduleName":"ImageUpscaler","prefix":"image.sharpener","target":"/image-upscaler/result","type":"sharpen-images"},{"slug":"ai-unblur-text","moduleName":"ImageUpscaler","prefix":"ai.unblur.text","target":"/image-upscaler/result","type":"ai-unblur-text"},{"slug":"ai-video-upscaler","moduleName":"VideoEnhancer","prefix":"ai.video.upscalar","target":"/ai-video-enhancer/upload","type":"ai-video-upscaler","template":"video"},{"slug":"unblur-video","moduleName":"VideoEnhancer","prefix":"unblur.video","target":"/editor/video-enhancer","type":"unblur-video","template":"editorV2","landingV2":{"order":["what:what1","how:how4","moreTools","reviewsFaq","cta"]}},{"slug":"no-beard-filter","moduleName":"AiBeardFilter","prefix":"no.beard","target":"/ai-beard-filter/result","type":"no-beard-filter"},{"slug":"remove-glare-from-photo","moduleName":"ObjectRemover","prefix":"remove.glare.from.photo","target":"/object-remover/upload","type":"remove-glare-from-photo"},{"slug":"ai-breast-expansion","moduleName":"BodyEditor","prefix":"ai.breast.expansion","target":"/body-editor/result","type":"ai-breast-expansion"},{"slug":"tiktok-watermark-remover","moduleName":"RmoveWatermarkVideo","prefix":"tt.wtm.remover","target":"/editor/video-watermark-remover","type":"tiktok-watermark-remover","template":"editorV2","landingV2":{"order":["what:what1","what:what5","how:how2","moreTools","reviewsFaq","cta","socialShare"]}},{"slug":"image-brightener","moduleName":"Relighter","prefix":"image.brightener","target":"/relighter/upload","type":"image-brightener","template":"imageV2","landingV2":{"order":["what:what1","how:how4","moreTools","reviewsFaq"]}},{"slug":"crop-image","moduleName":"CropImage","prefix":"crop.image","target":"/editor/crop","type":"crop-image","template":"editorV2","landingV2":{"order":["what:what1","what:what5","how:how4","moreTools","reviewsFaq","cta"]}}]').map(e=>({slug:e.slug,moduleName:s.i0[e.moduleName],prefix:e.prefix,target:e.target,type:e.type,template:e.template??"image",locales:e.locales??n.ne.LIST,landingV2:function(e){if(e)return{order:e.order,disabledSections:e.disabledSections,showHeroRating:e.showHeroRating,heroRatingValue:e.heroRatingValue,heroRatingCount:e.heroRatingCount}}(e.landingV2)})),p={"remove-object-from-photo":"object-remover"},d=(e,t,i,{locale:r,indexAbility:s=!0})=>{let n=(0,l.FB)();return(0,o.jsxs)(a(),{children:[(0,o.jsx)("title",{children:e(`${t}.title`)}),(0,o.jsx)("meta",{name:"description",content:e(`${t}.description`)}),(0,o.jsx)("meta",{name:"keywords",content:e(`${t}.kw`)}),(0,o.jsx)("meta",{property:"og:title",content:e(`${t}.og.title`)}),(0,o.jsx)("meta",{property:"og:description",content:e(`${t}.og.description`)}),(0,o.jsx)("meta",{property:"og:type",content:"website"}),(0,o.jsx)("meta",{property:"og:url",content:`https://${n}/${"en"===r?"":`${r}/`}${i}`}),e(`${t}.img.url`)!==`${t}.img.url`&&(0,o.jsx)("meta",{property:"og:image",content:e(`${t}.img.url`)}),(0,o.jsx)("meta",{property:"og:image:alt",content:e(`${t}.og.img.alt`)}),(0,o.jsx)("meta",{property:"twitter:title",content:e(`${t}.twitter.title`)}),e(`${t}.img.url`)!==`${t}.img.url`&&(0,o.jsx)("meta",{property:"twitter:image",content:e(`${t}.img.url`)}),(0,o.jsx)("meta",{property:"twitter:description",content:e(`${t}.twitter.description`)}),(0,o.jsx)("meta",{name:"robots",content:s?"index":"noindex"})]})},u=(e,t,i,{currentLocale:r,locales:s,defaultLocale:n,indexAbility:c=!0})=>{let d=(0,l.FB)(),u=`https://${d}`,m=r===n,h=m&&p[i]?p[i]:i,b=[{"@context":"https://schema.org/","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:"1",name:"Home",item:u},{"@type":"ListItem",position:"2",name:e(`${t}.structure.breadcrumblist.name`),item:`${u}/${i}`}]},{"@context":"https://schema.org/","@type":"Organization",url:u,logo:"https://public.static.meitudata.com/pixocial/airbrush-web/mig/Airbrush-logo-150150-size.png",name:"Airbrush",image:"https://public.static.meitudata.com/pixocial/airbrush-web/mig/Cover_Airbrush-Homepage.jpg",brand:{"@type":"Organization"},aggregateRating:{"@type":"AggregateRating",ratingValue:4.8,ratingCount:"1727952",reviewCount:1727952,bestRating:5,worstRating:1},legalName:"Pixocial Technology (Singapore) Ltd. Pte"},{"@context":"https://schema.org/","@type":"WebSite",name:e(`${t}.structure.website.name`),url:`${u}/${i}`,sameAs:["https://www.facebook.com/airbrushappofficial","https://twitter.com/AirBrushApp","https://www.pinterest.com/airbrushofficial/","https://www.tiktok.com/@airbrushofficial","https://www.instagram.com/airbrushofficial/"],headline:e(`${t}.structure.website.headline`),description:e(`${t}.structure.website.description`),image:e(`${t}.structure.website.image`)!==`${t}.structure.website.image`?e(`${t}.structure.website.image`):""}];return(0,o.jsxs)(a(),{children:[b.map((e,t)=>(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e)}},`schema-${t}`)),(0,o.jsx)("meta",{name:"robots",content:c?"index":"noindex"}),(0,o.jsx)("link",{rel:"canonical",href:`${u}${m?"":`/${r}`}/${h}`}),s.map(e=>(0,o.jsx)("link",{rel:"alternate",hrefLang:e,href:`${u}${e===n?"":`/${e}`}/${i}`},e)),(0,o.jsx)("link",{rel:"alternate",hrefLang:"x-default",href:`${u}${s?.includes?.("en")?"":`/${r}`}/${i}`})]})}},28811:(e,t,i)=>{"use strict";i.d(t,{FB:()=>a,H1:()=>n,iy:()=>l,nh:()=>s});var o=i(35473),r=i(67909);function a(){let e="airbrush.com";return e=location.hostname.includes("airbrush.io")?"airbrush.io":"airbrush.com",e}function l(){return"airbrush.com"}function s(){let e=a();return`https://${e}/airbrush-api`}async function n(e="mac"){let t=e.toLowerCase();["mac","win"].includes(t)||(t="mac");let i=(0,r.Ix)(),a=await (0,o.u_)(),l=encodeURIComponent(window.location.href||""),s=window?.Tracer?.getStatsMarker(),c=`https://pcapi-abs.pixocial.com/common/get_install_package.json?platform=${t}&client_id=1300000012&gnum=${a}&page_url=${l}&wgid=${s}`;return a?`${c}&utm_info=${i?`${i}@${a}`:`@@@@${a}`}`:c}},36706:(e,t,i)=>{"use strict";i.d(t,{N:()=>b});var o=i(95132),r=i(71772),a=i(19441);function l(){let e=(0,o.useRef)(!1);return(0,a.E)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var s=i(40318),n=i(68948);class c extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function p({children:e,isPresent:t}){let i=(0,o.useId)(),r=(0,o.useRef)(null),a=(0,o.useRef)({width:0,height:0,top:0,left:0});return(0,o.useInsertionEffect)(()=>{let{width:e,height:o,top:l,left:s}=a.current;if(t||!r.current||!e||!o)return;r.current.dataset.motionPopId=i;let n=document.createElement("style");return document.head.appendChild(n),n.sheet&&n.sheet.insertRule(` 2 [data-motion-pop-id="${i}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${o}px !important; 6 top: ${l}px !important; 7 left: ${s}px !important; 8 } 9 `),()=>{document.head.removeChild(n)}},[t]),o.createElement(c,{isPresent:t,childRef:r,sizeRef:a},o.cloneElement(e,{ref:r}))}let d=({children:e,initial:t,isPresent:i,onExitComplete:r,custom:a,presenceAffectsLayout:l,mode:c})=>{let d=(0,n.M)(u),m=(0,o.useId)(),h=(0,o.useMemo)(()=>({id:m,initial:t,isPresent:i,custom:a,onExitComplete:e=>
9{for(let t of(d.set(e,!0),d.values()))if(!t)return;r&&r()},register:e=>(d.set(e,!1),()=>d.delete(e))}),l?void 0:[i]);return(0,o.useMemo)(()=>{d.forEach((e,t)=>d.set(t,!1))},[i]),o.useEffect(()=>{i||d.size||!r||r()},[i]),"popLayout"===c&&(e=o.createElement(p,{isPresent:i},e)),o.createElement(s.t.Provider,{value:h},e)};function u(){return new Map}var m=i(15228);let h=e=>e.key||"",b=({children:e,custom:t,initial:i=!0,onExitComplete:s,exitBeforeEnter:n,presenceAffectsLayout:c=!0,mode:p="sync"})=>{var u;let b;n&&(p="wait");let[g]=function(){let e=l(),[t,i]=(0,o.useState)(0),a=(0,o.useCallback)(()=>{e.current&&i(t+1)},[t]);return[(0,o.useCallback)(()=>r.OH.postRender(a),[a]),t]}(),f=(0,o.useContext)(m.L).forceRender;f&&(g=f);let x=l(),w=(b=[],o.Children.forEach(e,e=>{(0,o.isValidElement)(e)&&b.push(e)}),b),v=w,C=new Set,j=(0,o.useRef)(v),y=(0,o.useRef)(new Map).current,k=(0,o.useRef)(!0);if((0,a.E)(()=>{k.current=!1,w.forEach(e=>{let t=h(e);y.set(t,e)}),j.current=v}),u=()=>{k.current=!0,y.clear(),C.clear()},(0,o.useEffect)(()=>()=>u(),[]),k.current)return o.createElement(o.Fragment,null,v.map(e=>o.createElement(d,{key:h(e),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:c,mode:p},e)));v=[...v];let N=j.current.map(h),_=w.map(h),L=N.length;for(let e=0;e<L;e++){let t=N[e];-1===_.indexOf(t)&&C.add(t)}return"wait"===p&&C.size&&(v=[]),C.forEach(e=>{if(-1!==_.indexOf(e))return;let i=y.get(e);if(!i)return;let r=N.indexOf(e);v.splice(r,0,o.createElement(d,{key:h(i),isPresent:!1,onExitComplete:()=>{y.delete(e),C.delete(e);let t=j.current.findIndex(t=>t.key===e);if(j.current.splice(t,1),!C.size){if(j.current=w,!1===x.current)return;g(),s&&s()}},custom:t,presenceAffectsLayout:c,mode:p},i))}),v=v.map(e=>{let t=e.key;return C.has(t)?e:o.createElement(d,{key:h(e),isPresent:!0,presenceAffectsLayout:c,mode:p},e)}),o.createElement(o.Fragment,null,C.size?v:v.map(e=>(0,o.cloneElement)(e)))}},37636:(e,t,i)=>{"use strict";i.d(t,{F7:()=>m,ML:()=>s,Nt:()=>d,UM:()=>r,Uu:()=>a,VA:()=>u,WS:()=>l,cK:()=>h,hf:()=>c,mu:()=>p,ry:()=>n});var o=i(53240);let r=0xa00000,a=4096,l="temporary_preview_info",s=["ja","ko","id","vi","th","zh-Hant","hi"];o.b1.ab;let n={[o.b1.ab]:"https://public.static.meitudata.com/pixocial/airbrush-web/mig/Airbrush-logo-150150-size.png"};o.b1.ab;let c={[o.b1.ab]:"[email protected]"};function p(e,t,i=100){let o=[],r=1;for(;r<=i;)if("string"==typeof t){let i=`${t}.${r}`,a=e(i);if(a!==i)o.push(a),r++;else break}else{let i={},a=!0;for(let[o,l]of Object.entries(t)){let t=`${l}.${r}`,s=e(t);s!==t?i[o]=s:a=!1}if(a)o.push(i),r++;else break}return o}let d=(e,t,i="")=>{let r={[o.b1.ab]:{}};return t===o.b1.ab?r[o.b1.ab][i]??[]:[]},u=e=>({[o.b1.ab]:[{url:"https://gcs-airbrush.mr.pixocial.com/587f5548c87c713fcb5fd8cad53b18f2.png",title:e("img.enhncr.tools.h3.1"),content:e("img.enhncr.tools.content.1"),link:"/image-enhancer"},{url:"https://gcs-airbrush.mr.pixocial.com/05459cf7aab9751b4e0f2577ed8f90f0.jpeg",title:e("video.enhancer.tools.h3.1"),content:e("video.enhancer.tools.content.1"),link:"/ai-video-enhancer"},{url:"https://gcs-airbrush.mr.pixocial.com/2723bdad939451537b07cda2fee85eaf.png",title:e("vid.wtm.tools.h3.1"),content:e("vid.wtm.tools.content.1"),link:"/video-watermark-remover"},{url:"https://gcs-airbrush.mr.pixocial.com/d439199c970e413df21a18002c4d7e8b.png",title:e("ai.anime.tools.h3.1"),content:e("ai.anime.tools.content.1"),link:"/ai-anime-generator"},{url:"https://object.pixocial.com/pixocial/z69ed2vzw6awasxnotzu2s2o.png",title:e("img.removebg.tools.h3.1"),content:e("img.removebg.tools.content.1"),link:"/background-remover"},{url:"https://object.pixocial.com/pixocial/ztqt8g5bmhlwpo2p1k6jnhz7.png",title:e("vid.removebg.tools.h3.1"),content:e("vid.removebg.tools.content.1"),link:"/video-background-remover"},{url:"https://object.pixocial.com/pixocial/v12q4h5kovcreddy6zip7np9.jpg",title:e("img.expand.tools.h3.1"),content:e("img.expand.tools.content.1"),link:"/image-extender"},{url:"https://object.pixocial.com/pixocial/5c4ufrv12zur70oemummjnw8.jpg",title:e("object.remover.tools.h3.1"),content:e("object.remover.tools.content.1"),link:"/object-remover"},{url:e("ai.replacer.tools.image"),title:e("ai.replacer.tools.h3.1"),content:e("ai.replacer.tools.content.1"),link:"/ai-replacer"},{url:"https://object.pixocial.com/pixocial/apkv2qtbdd0ghag2by0yv4qh.jpg",title:e("face.swap.tools.h3.1"),content:e("face.swap.tools.content.1"),link:"/face-swap"},{url:e("image.wtm.tools.image"),title:e("image.wtm.tools.h3.1"),content:e("image.wtm.tools.content.1"),link:"/image-watermark-remover"},{url:"https://object.pixocial.com/pixocial/jbadi774ac270gnsqfaijpr7.jpg",title:e("photo.restore.tools.h3.1"),content:e("photo.restore.tools.content.1"),link:"/photo-restoration"},{url:"https://object.pixocial.com/pixocial/0x90k9rlo17st8mp0s8iaplb.jpg",title:e("multi.face.swap.tools.h3.1"),content:e("multi.face.swap.tools.content.1"),link:"/multiple-face-swap"},{url:"https://object.pixocial.com/pixocial/gfdt7puco7d1szbv6kz4mvyi.jpg",title:e("face.shape.tools.h3.1"),content:e("face.shape.tools.content.1"),link:"/face-shape-detector"},{url:"https://object.pixocial.com/pixocial/dgh4aic4rh9q5g9mffsi4wjw.jpg",title:e("collage.tools.h3.1"),content:e("collage.tools.content.1"),link:"/photo-collage-maker"},{url:"https://object.pixocial.com/pixocial/bcafai40t2hicgqfoezw6v42.jpg",title:e("photo.to.cartoon.tools.h3.1"),content:e("photo.to.cartoon.tools.content.1"),link:"/photo-to-cartoon"},{url:"https://object.pixocial.com/pixocial/qbqj533fo0ai16dbbtszu60u.jpg",title:e("sketch.tools.h3.1"),content:e("sketch.tools.content.1"),link:"/photo-to-sketch"},{url:"https://public.static.meitudata.com/pixocial/airbrush-web/camera-online/cover.jpg",title:e("photo.booth.tools.h3.1"),content:e("photo.booth.tools.content.1"),link:"/camera-online"},{url:e("bg.changer.tools.image"),title:e("bg.changer.header"),content:e("bg.changer.description"),link:"/background-changer"},{url:"https://public.static.meitudata.com/pixocial/airbrush-web/AI-Action-Figure/cover.png",title:e("ai.action.figure.header"),content:e("ai.action.figure.description"),link:"/ai-action-figure-generator"},{url:e("blur.background.tools.image"),title:e("blur.background.header"),content:e("blur.background.description"),link:"/blur-background"},{url:"https://object.pixocial.com/pixocial/9zajc7mrrd3e7ppdzvtolm06.jpg",title:e("ai.clothes.changer.tools.h3.1"),content:e("ai.clothes.changer.tools.content.1"),link:"/ai-clothes-changer"},{url:"https://object.pixocial.com/pixocial/rqzk9ih670306i8frxrcp360.jpg",title:e("ai.filters.tools.h3.1"),content:e("ai.filters.tools.content.1"),link:"/ai-filters"},{url:e("image.upscaler.tools.image"),title:e("image.upscaler.header"),content:e("image.upscaler.description"),link:"/image-upscaler"},{url:"https://object.pixocial.com/pixocial/rvs4d8olbt5ogxnfdy5kp32n.jpg",title:e("ai.hairstyle.tools.h3.1"),content:e("ai.hairstyle.tools.content.1"),link:"/ai-hairstyle"},{url:"https://object.pixocial.com/pixocial/zquscxko2njaiqqssv4xcmkl.png",title:e("body.editor.tools.h3.1"),content:e("body.editor.tools.content.1"),link:"/body-editor"},{url:"https://object.pixocial.com/pixocial/s5epizzklfbjzgc38sk5gxho.jpg",title:e("open.eyes.tools.h3.1"),content:e("open.eyes.tools.content.1"),link:"/open-eyes-in-photo"},{url:"https://object.pixocial.com/pixocial/i7r48en80622li6m8v0df262.jpg",title:e("muscle.tools.h3.1"),content:e("muscle.tools.content.1"),link:"/ai-muscle-generator"},{url:e("beard.filter.tools.image"),title:e("beard.filter.tools.h3.1"),content:e("beard.filter.tools.content.1"),link:"/ai-beard-filter"},{url:e("b.w.tools.image"),title:e("b.w.tools.h3.1"),content:e("b.w.tools.content.1"),link:"/black-and-white-filter"},{url:e("facial.expression.changer.tools.image"),title:e("facial.expression.changer.tools.h3.1"),content:e("facial.expression.changer.tools.content.1"),link:"/facial-expression-changer"},{url:"https://public.static.meitudata.com/pixocial/airbrush-web/ai-headshot/all-tools.jpg",title:e("headshot.generator.tools.h3.1"),content:e("headshot.generator.tools.content.1"),link:"/ai-headshot-generator"}]}),m=(e,t,i,o)=>{let r=[...u(e)[t],...p(e,{url:"variant.tools.module.img",link:"variant.tools.module.link",title:"variant.tools.module.title",content:"variant.tools.module.content"}).filter(e=>"/"!==e.link)??[],...p(e,{link:"editor.tool.link",title:"editor.tool.title",content:"editor.tool.content"}).filter(e=>"/"!==e.link)??[]],a=new Map((o?[...r,...d(e,t,o)]:r).map(e=>[e.link,e]));return i.map(e=>
9a.get(e)).filter(Boolean)},h=/\/[^/]+\/([a-zA-Z0-9]+)\.[a-zA-Z0-9]+/},44475:()=>{},45460:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var o,r,a=i(95132);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)({}).hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(null,arguments)}let s=function(e){return a.createElement("svg",l({width:"1em",height:"1em",viewBox:"0 0 46 46",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor"},e),o||(o=a.createElement("path",{d:"M32.5221 23.4612C32.5394 22.123 32.8948 20.8109 33.5554 19.647C34.216 18.4831 35.1603 17.5052 36.3003 16.8043C35.5761 15.7699 34.6206 14.9187 33.5098 14.3182C32.399 13.7177 31.1635 13.3844 29.9014 13.3449C27.2091 13.0624 24.599 14.956 23.2271 14.956C21.8286 14.956 19.7163 13.373 17.4416 13.4198C15.9704 13.4673 14.5365 13.8952 13.2797 14.6616C12.0229 15.4281 10.9861 16.507 10.2703 17.7933C7.16955 23.1617 9.48242 31.0515 12.4527 35.3909C13.9388 37.5158 15.6756 39.8894 17.9481 39.8052C20.172 39.713 21.0026 38.3872 23.6869 38.3872C26.3464 38.3872 27.1256 39.8052 29.4443 39.7517C31.8306 39.713 33.3341 37.6174 34.768 35.4724C35.8358 33.9583 36.6574 32.2849 37.2025 30.5142C35.8161 29.9279 34.633 28.9464 33.8007 27.6921C32.9684 26.4379 32.5237 24.9664 32.5221 23.4612Z"})),r||(r=a.createElement("path",{d:"M28.1436 10.4909C29.4447 8.92902 30.0857 6.92144 29.9305 4.89453C27.9427 5.10331 26.1065 6.05334 24.7879 7.55534C24.1431 8.2891 23.6493 9.14274 23.3347 10.0675C23.02 10.9922 22.8907 11.9698 22.9542 12.9446C23.9484 12.9548 24.932 12.7393 25.8309 12.3143C26.7298 11.8893 27.5206 11.2658 28.1436 10.4909Z"})))}},46720:e=>{e.exports={container:"slides_container__dlB59",bgFrame:"slides_bgFrame__ZQZUw",swiperSlide:"slides_swiperSlide__vT5oC",slideCard:"slides_slideCard__Au7EE",slideCardTitle:"slides_slideCardTitle__xNd2V",dist2:"slides_dist2__LCPkn",dist1:"slides_dist1__YYY6k"}},54273:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var o=i(66352),r=i(72290),a=i.n(r);function l({error:e,retry:t}){return(0,o.jsx)("main",{className:"flex min-h-screen items-center justify-center px-6 text-center",children:(0,o.jsxs)("div",{role:e?"alert":"status",children:[(0,o.jsx)("p",{children:e?"Language resources could not be loaded.":"Loading language resourcesâ¦"}),e&&(0,o.jsx)("button",{className:"mt-4 rounded bg-black px-4 py-2 text-white",type:"button",onClick:()=>{t?t():window.location.reload()},children:"Retry"})]})})}let s={en:a()(()=>Promise.all([i.e(2312),i.e(781)]).then(i.bind(i,50781)),{loadableGenerated:{webpack:()=>[50781]},ssr:!0,loading:l}),es:a()(()=>Promise.all([i.e(2312),i.e(7081)]).then(i.bind(i,57081)),{loadableGenerated:{webpack:()=>[57081]},ssr:!0,loading:l}),pt:a()(()=>Promise.all([i.e(2312),i.e(3367)]).then(i.bind(i,3367)),{loadableGenerated:{webpack:()=>[3367]},ssr:!0,loading:l}),ru:a()(()=>Promise.all([i.e(2312),i.e(6418)]).then(i.bind(i,26418)),{loadableGenerated:{webpack:()=>[26418]},ssr:!0,loading:l}),de:a()(()=>Promise.all([i.e(2312),i.e(8619)]).then(i.bind(i,68619)),{loadableGenerated:{webpack:()=>[68619]},ssr:!0,loading:l}),fr:a()(()=>Promise.all([i.e(2312),i.e(5684)]).then(i.bind(i,25684)),{loadableGenerated:{webpack:()=>[25684]},ssr:!0,loading:l}),it:a()(()=>Promise.all([i.e(2312),i.e(6156)]).then(i.bind(i,36156)),{loadableGenerated:{webpack:()=>[36156]},ssr:!0,loading:l})};function n({locale:e,messages:t,children:i}){let r=s[e];return(0,o.jsx)(r,{messages:t,children:i})}},55836:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var o=i(95132);let r=o.forwardRef(function({title:e,titleId:t,...i},r){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},i),e?o.createElement("title",{id:t},e):null,o.createElement("path",{fillRule:"evenodd",d:"M11.47 4.72a.75.75 0 0 1 1.06 0l3.75 3.75a.75.75 0 0 1-1.06 1.06L12 6.31 8.78 9.53a.75.75 0 0 1-1.06-1.06l3.75-3.75Zm-3.75 9.75a.75.75 0 0 1 1.06 0L12 17.69l3.22-3.22a.75.75 0 1 1 1.06 1.06l-3.75 3.75a.75.75 0 0 1-1.06 0l-3.75-3.75a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))})},60591:(e,t,i)=>{"use strict";i.d(t,{A:()=>c});var o,r,a,l,s=i(95132);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)({}).hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(null,arguments)}let c=function(e){return s.createElement("svg",n({width:"1em",height:"1em",viewBox:"0 0 47 46",xmlns:"http://www.w3.org/2000/svg",fill:"
9currentColor"},e),o||(o=s.createElement("path",{d:"M9.12498 23.0157C9.12498 18.1388 9.12498 13.2619 9.12498 8.38492C9.12498 8.32436 9.1228 8.26307 9.12788 8.20324C9.13732 8.09817 9.0981 7.95735 9.20996 7.90482C9.35232 7.83842 9.41841 7.99165 9.49613 8.06972C14.3764 12.9656 19.2515 17.8652 24.1332 22.7567C24.3446 22.9683 24.3148 23.0872 24.1216 23.2813C20.2655 27.1455 16.4166 31.0162 12.5634 34.8826C11.5386 35.9114 10.5043 36.93 9.47216 37.9515C9.39953 38.023 9.34433 38.1645 9.22085 38.1193C9.09883 38.0741 9.13442 37.9318 9.13151 37.8282C9.12498 37.5976 9.12861 37.367 9.12861 37.1365C9.12861 32.4295 9.12861 27.7226 9.12861 23.0157H9.12498Z"})),r||(r=s.createElement("path",{d:"M10.3521 39.1548C10.4937 39.0045 10.5816 38.9067 10.6745 38.814C15.4422 34.0276 20.212 29.2433 24.9717 24.4496C25.2295 24.1898 25.3595 24.1825 25.6203 24.4525C26.8311 25.7067 28.068 26.9355 29.2948 28.1744C29.5846 28.467 29.581 28.4801 29.2229 28.6844C23.3331 32.0451 17.4418 35.4051 11.5541 38.7703C11.2011 38.9716 10.8808 39.2394 10.3521 39.1555V39.1548Z"})),a||(a=s.createElement("path",{d:"M10.439 6.82825C10.8297 6.85233 11.1522 7.01285 11.4624 7.19015C16.6368 10.1423 21.8083 13.0981 26.9812 16.0531C27.7366 16.4843 28.4891 16.9214 29.251 17.3417C29.4863 17.4715 29.5546 17.5627 29.3338 17.786C28.0729 19.0578 26.8199 20.3376 25.5736 21.6232C25.3796 21.8231 25.2554 21.8377 25.0499 21.6305C20.2386 16.7886 15.4216 11.9525 10.6075 7.11427C10.5421 7.0486 10.4506 6.99606 10.439 6.82825Z"})),l||(l=s.createElement("path",{d:"M37.8735 23.0024C37.867 23.4876 37.5859 23.8159 37.222 24.0757C36.6003 24.5186 35.9146 24.8557 35.2544 25.2351C33.9441 25.9881 32.6265 26.7279 31.3235 27.4926C31.017 27.6721 30.8288 27.6385 30.5804 27.3853C29.2345 26.0092 27.8741 24.6463 26.5072 23.2913C26.2914 23.0775 26.2936 22.952 26.5072 22.7404C27.8995 21.3592 29.2825 19.9685 30.6589 18.5705C30.8535 18.3728 30.9974 18.3421 31.2443 18.4852C33.1081 19.5606 34.9813 20.6194 36.8487 21.6883C37.1639 21.8685 37.4646 22.0743 37.668 22.3909C37.7871 22.577 37.8844 22.7703 37.8735 23.0031V23.0024Z"})))}},66383:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/tools/app",function(){return i(21247)}])},98679:(e,t,i)=>{"use strict";i.d(t,{Ay:()=>a,Lf:()=>s,Nm:()=>l,fZ:()=>r});var o=i(95132);let r=()=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator?.userAgent)||window.innerWidth<811,a=(e=!1)=>{let[t,i]=(0,o.useState)(e),a=(0,o.useCallback)(()=>{i(r())},[]);return(0,o.useEffect)(()=>(window.addEventListener("load",a),window.addEventListener("resize",a),a(),()=>window.removeEventListener("resize",a)),[a]),t},l=()=>window.innerWidth<811,s=()=>{let[e,t]=(0,o.useState)(l()),i=(0,o.useCallback)(()=>{t(l())},[]);return(0,o.useEffect)(()=>(window.addEventListener("load",i),window.addEventListener("resize",i),i(),()=>window.removeEventListener("resize",i)),[i]),e}}},e=>{e.O(0,[3488,4113,9643,636,6593,8792],()=>e(e.s=66383)),_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.