PageSourceSearch

https://www.facemagic.ai/_next/static/chunks/pages/vr-faceswap-c15abd15f529b84e.js

js facemagic.ai collected 2026-10-04 11:31:26 UTC 3,759 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6914,3812],{99868:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/vr-faceswap",function(){return l(69678)}])},69678:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSP:function(){return w},default:function(){return N}});var s=l(52676),i=l(96949),r=l(75271),a=l(54922),n=l(40912),o=l(83940),c=l(59939),d=l(67093),x=l(52994),u=l(72812),m=l(73817),f=l(60474);let p=()=>{let{settings:e}=(0,d.useUploadMaterial)(),t=(0,i.useTranslations)("FaceSwap"),l=(0,i.useTranslations)("Public"),r={title:t("upload_vr_material_title"),description:(0,s.jsxs)(s.Fragment,{children:[t("vr_supports"),(0,s.jsx)("br",{}),t("vr_upload_file_size_limit",{duration:"".concat(Math.floor(e.uploadVideoLimit.maxDuration/60)," minutes"),size:u.iK.formatBytes(e.uploadVideoLimit.maxFileSize)}),(0,s.jsx)("br",{}),t("vr_upload_file_format_limit")]}),uploadButton:t("upload_material_vr")};return(0,s.jsx)("div",{className:"flex h-full w-full items-center justify-center",children:(0,s.jsx)("div",{className:"group h-full w-full rounded-xl p-2 bg-white-12",children:(0,s.jsxs)("div",{className:"flex h-full w-full flex-col items-center justify-center rounded-lg border-[1px] border-dashed border-white/20 px-4 py-10",children:[(0,s.jsx)(f.Z,{className:"h-14 w-14 xl:h-18 xl:w-18"}),(0,s.jsx)("h1",{className:"mt-1 text-center text-lg font-bold leading-[1.56] text-white/90 xl:mt-2 xl:text-xl",children:r.title}),(0,s.jsx)("p",{className:"mx-4 mt-2 text-center text-xs leading-[1.333] text-white/50",children:r.description}),(0,s.jsxs)("div",{className:"mt-4 flex flex-col items-center",children:[(0,s.jsxs)(x.aR,{children:[(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)(x.vW,{asChild:!0,children:(0,s.jsx)("div",{className:"flex cursor-pointer flex-col items-center justify-center rounded-2xl bg-primary px-6 py-2 font-medium text-black hover:bg-primary/90",children:(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(m.Z,{className:"h-5 w-5 text-black"}),r.uploadButton]})})})}),(0,s.jsxs)(x._T,{className:"w-[calc(100vw-2rem)] max-w-[calc(100vw-2rem)] sm:w-auto sm:max-w-lg rounded-2xl",children:[(0,s.jsxs)(x.fY,{children:[(0,s.jsx)(x.f$,{children:r.title}),(0,s.jsx)(x.yT,{children:t("upload_vr_to_desktop")})]}),(0,s.jsx)(x.xo,{children:(0,s.jsx)(x.OL,{children:l("got_it")})})]})]}),(0,s.jsx)("p",{className:"mt-4 text-center text-xs leading-[1.333] text-white/50",children:t("upload_vr_to_desktop")})]})]})})})};var h=()=>(0,s.jsxs)("div",{className:"no-scrollbar h-full overflow-y-auto",children:[(0,s.jsx)(c.Z,{activatedKey:c._.VR_FACE_SWAP}),(0,s.jsx)(p,{})]}),_=l(87999),j=l(89291),v=l(53572),w=!0;function N(e){let{isH5:t}=e,{isH5:l}=(0,j.oR)((0,a.N)(e=>({isH5:e.isH5}))),c=(0,i.useTranslations)("Seo"),x=(0,d.useFaceswapModeStore)((0,a.N)(e=>e.isVr)),{reset:u}=(0,d.useMyUploadsStore)((0,a.N)(e=>({reset:e.reset}))),{reset:m}=(0,d.useMyCreationsStore)((0,a.N)(e=>({reset:e.reset})));return(0,d.useFaceswapInit)(),(0,r.useEffect)(()=>(d.vrMaterialPollingService.stopPolling(),()=>{d.vrMaterialPollingService.startPolling();let{data:e}=d.useMyUploadsStore.getState();for(let t of e.filter(e=>{var t;return(null===(t=e.uploadMaterial)||void 0===t?void 0:t.isVr)&&e.status===v.gn.ANALYZING}))d.vrMaterialPollingService.addAnalyzingMaterial(t.id);u(),m()}),[u,m]),(0,s.jsxs)(_.Z,{footer:!1,children:[(0,s.jsx)(n.Z,{title:c("faceswap.title"),description:c("faceswap.description"),og:{imageAlt:c("faceswap.imageAlt")}}),(0,s.jsx)("h1",{className:"hidden",children:c("faceswap.h1")}),x&&(0,s.jsx)(s.Fragment,{children:t||l?(0,s.jsx)(h,{}):(0,s.jsx)(o.Z,{})})]})}}},function(e){e.O(0,[6791,9024,6084,3751,6648,7999,7778,410,2888,9774,179],function(){return e(e.s=99868)}),_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.