PageSourceSearch

https://vimmerse.ai/_next/static/immutable/chunks/3yu_2urra1wa-.js

js vimmerse.ai collected 2026-10-05 15:58:14 UTC 32,081 bytes, 7 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="337c2816-158a-4238-a42b-a188ed429c55")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,62727,e=>{"use strict";var t=e.i(91398),i=e.i(91788);function o(){return"u">typeof window}function n(){return"production"}function r(){return"development"===((o()?window.vam:n())||"production")}function s(e){return(0,i.useEffect)(()=>{!function(e={debug:!0}){var t;if(!o())return;!function(e="auto"){if("auto"===e){window.vam=n();return}window.vam=e}(e.mode),window.va||(window.va=function(...e){(window.vaq=window.vaq||[]).push(e)}),e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend));let i=e.scriptSrc||(r()?"https://va.vercel-scripts.com/v1/script.debug.js":"/_vercel/insights/script.js");if(document.head.querySelector(`script[src*="${i}"]`))return;let s=document.createElement("script");s.src=i,s.defer=!0,s.dataset.sdkn="@vercel/analytics"+(e.framework?`/${e.framework}`:""),s.dataset.sdkv="1.3.1",e.disableAutoTrack&&(s.dataset.disableAutoTrack="1"),e.endpoint&&(s.dataset.endpoint=e.endpoint),e.dsn&&(s.dataset.dsn=e.dsn),s.onerror=()=>{let e=r()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${i}. ${e}`)},r()&&!1===e.debug&&(s.dataset.debug="false"),document.head.appendChild(s)}({framework:e.framework||"react",...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),(0,i.useEffect)(()=>{e.route&&e.path&&function({route:e,path:t}){var i;null==(i=window.va)||i.call(window,"pageview",{route:e,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null}var a=e.i(71465),d=e.i(3828),l=e.i(90375);let c=(0,i.createContext)({notification:null,notificationText:null,success:()=>{},error:()=>{}}),u=e=>{let[o,n]=(0,i.useState)(null),[r,s]=(0,i.useState)(null);return(0,t.jsx)(c.Provider,{value:{success:e=>{window.scroll(0,0),s(e),n("success")},error:e=>{window.scroll(0,0),s(e),n("error")},clear:()=>{s(null),n(null)},notification:o,notificationText:r},children:e.children})};var p=e.i(57396);function h(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)e[o]=i[o]}return e}var m=function e(t,i){function o(e,o,n){if("u">typeof document){"number"==typeof(n=h({},i,n)).expires&&(n.expires=new Date(Date.now()+864e5*n.expires)),n.expires&&(n.expires=n.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var r="";for(var s in n)n[s]&&(r+="; "+s,!0!==n[s]&&(r+="="+n[s].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+r}}return Object.create({set:o,get:function(e){if("u">typeof document&&(!arguments.length||e)){for(var i=document.cookie?document.cookie.split("; "):[],o={},n=0;n<i.length;n++){var r=i[n].split("="),s=r.slice(1).join("=");try{var a=decodeURIComponent(r[0]);if(o[a]=t.read(s,a),e===a)break}catch(e){}}return e?o[e]:o}},remove:function(e,t){o(e,"",h({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,h({},this.attributes,t))},withConverter:function(t){return e(h({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(i)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});class g{constructor(e={}){const{path:t,domain:i,expires:o,sameSite:n,secure:r}=e;if(this.domain=i,this.path=t||"/",this.expires=Object.prototype.hasOwnProperty.call(e,"expires")?o:365,this.secure=!Object.prototype.hasOwnProperty.call(e,"secure")||r,Object.prototype.hasOwnProperty.call(e,"sameSite")){if(!n||!["strict","lax","none"].includes(n))throw Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if("none"===n&&!this.secure)throw Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=n}}async setItem(e,t){m.set(e,t,this.getData())}async getItem(e){return m.get(e)??null}async removeItem(e){m.remove(e,this.getData())}async clear(){let e=Object.keys(m.get()).map(e=>this.removeItem(e));await Promise.all(e)}getData(){return{path:this.path,expires:this.expires,domain:this.domain,secure:this.secure,...this.sameSite&&{sameSite:this.sameSite}}}}var y=e.i(38815),v=e.i(52145),w=e.i(96388),_=e.i(91448),f=e.i(26377),b=e.i(25896);let I={identityId:"identityId"},x=new _.ConsoleLogger("DefaultIdentityIdStore");e.i(41947),e.i(23504);
2var k=e.i(44715),C=e.i(46384),S=e.i(20936),A=e.i(73170),T=e.i(72073),j=e.i(47211),P=e.i(26365),N=e.i(62242),E=e.i(53721),M=e.i(26205),O=e.i(4038);let R=(0,E.composeTransferHandler)(T.unauthenticatedHandler,[()=>e=>async function(t){return t.headers["cache-control"]="no-store",e(t)}]),L={service:"cognito-identity",endpointResolver:({region:e})=>({url:new N.AmplifyUrl(`https://cognito-identity.${e}.${(0,A.getDnsSuffix)(e)}`)}),retryDecider:(0,P.getRetryDecider)(C.parseJsonError),computeDelay:j.jitteredBackoff,userAgentValue:(0,M.getAmplifyUserAgent)(),cache:"no-store"};(0,O.observeFrameworkChanges)(()=>{L.userAgentValue=(0,M.getAmplifyUserAgent)()});let F=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityService.${e}`}),U=({url:e},t,i)=>({headers:t,url:e,body:i,method:"POST"}),D=async e=>{if(e.statusCode>=300)throw await (0,C.parseJsonError)(e);{let t=await (0,C.parseJsonBody)(e);return{IdentityId:t.IdentityId,Credentials:K(t.Credentials),$metadata:(0,k.parseMetadata)(e)}}},K=({AccessKeyId:e,SecretKey:t,SessionToken:i,Expiration:o}={})=>({AccessKeyId:e,SecretKey:t,SessionToken:i,Expiration:o&&new Date(1e3*o)}),B=(0,S.composeServiceApi)(R,(e,t)=>U(t,F("GetCredentialsForIdentity"),JSON.stringify(e)),D,L);var V=e.i(55634),G=e.i(22140),Y=e.i(65941);let q=async e=>{if(!(e.statusCode>=300))return{IdentityId:(await (0,C.parseJsonBody)(e)).IdentityId,$metadata:(0,k.parseMetadata)(e)};throw await (0,C.parseJsonError)(e)},W=(0,S.composeServiceApi)(R,(e,t)=>U(t,F("GetId"),JSON.stringify(e)),q,L);function $(e){let t=(0,f.decodeJWT)(e).payload.iss,i={};if(!t)throw new V.AuthError({name:"InvalidIdTokenException",message:"Invalid Idtoken."});return i[t.replace(/(^\w+:|^)\/\//,"")]=e,i}let H=new _.ConsoleLogger("CognitoIdentityIdProvider");async function z({tokens:e,authConfig:t,identityIdStore:i}){i.setAuthConfig({Cognito:t});let o=await i.loadIdentityId();if(e)if(o&&"primary"===o.type)return o.id;else{let i=e.idToken?$(e.idToken.toString()):{},n=await Q(i,t);o&&o.id===n&&H.debug(`The guest identity ${o.id} has become the primary identity.`),o={id:n,type:"primary"}}else{if(o&&"guest"===o.type)return o.id;o={id:await Q({},t),type:"guest"}}return i.storeIdentityId(o),o.id}async function Q(e,t){let i=t?.identityPoolId,o=(0,G.getRegionFromIdentityPoolId)(i),n=(await W({region:o},{IdentityPoolId:i,Logins:e})).IdentityId;if(!n)throw new V.AuthError({name:"GetIdResponseException",message:"Received undefined response from getId operation",recoverySuggestion:"Make sure to pass a valid identityPoolId in the configuration."});return n}let X=new _.ConsoleLogger("CognitoCredentialsProvider"),J=new class{constructor(e){this._nextCredentialsRefresh=0,this._identityIdStore=e}async clearCredentialsAndIdentityId(){X.debug("Clearing out credentials and identityId"),this._credentialsAndIdentityId=void 0,await this._identityIdStore.clearIdentityId()}async clearCredentials(){X.debug("Clearing out in-memory credentials"),this._credentialsAndIdentityId=void 0}async getCredentialsAndIdentityId(e){let t=e.authenticated,{tokens:i}=e,{authConfig:o}=e;try{(0,f.assertIdentityPoolIdConfig)(o?.Cognito)}catch{return}if(!t&&!o.Cognito.allowGuestAccess)return;let{forceRefresh:n}=e,r=this.hasTokenChanged(i),s=await z({tokens:i,authConfig:o.Cognito,identityIdStore:this._identityIdStore});return((n||r)&&this.clearCredentials(),t)?((0,Y.assertIdTokenInAuthTokens)(i),this.credsForOIDCTokens(o.Cognito,i,s)):this.getGuestCredentials(s,o.Cognito)}async getGuestCredentials(e,t){if(this._credentialsAndIdentityId&&!this.isPastTTL()&&!1===this._credentialsAndIdentityId.isAuthenticatedCreds)return X.info("returning stored credentials as they neither past TTL nor expired."),this._credentialsAndIdentityId;this.clearCredentials();let i=(0,G.getRegionFromIdentityPoolId)(t.identityPoolId),o=await B({region:i},{IdentityId:e});if(o.Credentials&&o.Credentials.AccessKeyId&&o.Credentials.SecretKey){this._nextCredentialsRefresh=new Date().getTime()+3e6;let t={credentials:{accessKeyId:o.Credentials.AccessKeyId,secretAccessKey:o.Credentials.SecretKey,sessionToken:o.Credentials.SessionToken,expiration:o.Credentials.Expiration},identityId:e},i=o.IdentityId;return i&&(t.identityId=i,this._identityIdStore.storeIdentityId({id:i,type:"guest"})),this._credentialsAndIdentityId={...t,isAuthenticatedCreds:!1},t}throw new V.AuthError({name:"CredentialsNotFoundException",message:"Cognito did not respond with either Credentials, AccessKeyId or SecretKey."})}async credsForOIDCTokens(e,t,i){if(this._credentialsAndIdentityId&&!this.isPastTTL()&&!0===this._credentialsAndIdentityId.isAuthenticatedCreds)return X.debug("returning stored credentials as they neither past TTL n
2or expired."),this._credentialsAndIdentityId;this.clearCredentials();let o=t.idToken?$(t.idToken.toString()):{},n=(0,G.getRegionFromIdentityPoolId)(e.identityPoolId),r=await B({region:n},{IdentityId:i,Logins:o});if(r.Credentials&&r.Credentials.AccessKeyId&&r.Credentials.SecretKey){let e={credentials:{accessKeyId:r.Credentials.AccessKeyId,secretAccessKey:r.Credentials.SecretKey,sessionToken:r.Credentials.SessionToken,expiration:r.Credentials.Expiration},identityId:i};this._credentialsAndIdentityId={...e,isAuthenticatedCreds:!0,associatedIdToken:t.idToken?.toString()},this._nextCredentialsRefresh=new Date().getTime()+3e6;let o=r.IdentityId;return o&&(e.identityId=o,this._identityIdStore.storeIdentityId({id:o,type:"primary"})),e}throw new V.AuthError({name:"CredentialsException",message:"Cognito did not respond with either Credentials, AccessKeyId or SecretKey."})}isPastTTL(){return void 0===this._nextCredentialsRefresh||this._nextCredentialsRefresh<=Date.now()}hasTokenChanged(e){return!!e&&!!this._credentialsAndIdentityId?.associatedIdToken&&e.idToken?.toString()!==this._credentialsAndIdentityId.associatedIdToken}}(new class{setAuthConfig(e){let t;(0,f.assertIdentityPoolIdConfig)(e.Cognito),this.authConfig=e,this._authKeys=(t=e.Cognito.identityPoolId,(0,b.getAuthStorageKeys)(I)("com.amplify.Cognito",t))}constructor(e){this._authKeys={},this.keyValueStorage=e}async loadIdentityId(){(0,f.assertIdentityPoolIdConfig)(this.authConfig?.Cognito);try{if(this._primaryIdentityId)return{id:this._primaryIdentityId,type:"primary"};{let e=await this.keyValueStorage.getItem(this._authKeys.identityId);if(e)return{id:e,type:"guest"};return null}}catch(e){return x.log("Error getting stored IdentityId.",e),null}}async storeIdentityId(e){(0,f.assertIdentityPoolIdConfig)(this.authConfig?.Cognito),"guest"===e.type?(this.keyValueStorage.setItem(this._authKeys.identityId,e.id),this._primaryIdentityId=void 0):(this._primaryIdentityId=e.id,this.keyValueStorage.removeItem(this._authKeys.identityId))}async clearIdentityId(){this._primaryIdentityId=void 0,await this.keyValueStorage.removeItem(this._authKeys.identityId)}}(y.defaultStorage));var Z=e.i(36861),ee=e.i(58768),et=e.i(14505),ei=e.i(32435),eo=e.i(71333);let en={aws_project_region:"us-west-2",aws_cognito_region:"us-west-2",aws_user_pools_id:"us-west-2_OBYIWqcU0",aws_user_pools_web_client_id:"7ngtodd4e8mqmgal2iunbhshg",oauth:{domain:"oauth.vimmerse.net",scope:["aws.cognito.signin.user.admin","email","openid","phone","profile"],redirectSignIn:"https://www.vimmerse.co,https://www.vimmerse.net,net.vimmerse.ios://Vimmerse",redirectSignOut:"https://www.vimmerse.co,https://www.vimmerse.net",responseType:"code"},federationTarget:"COGNITO_USER_POOLS",aws_cognito_username_attributes:[],aws_cognito_social_providers:["FACEBOOK","GOOGLE","APPLE"],aws_cognito_signup_attributes:[],aws_cognito_mfa_configuration:"OPTIONAL",aws_cognito_mfa_types:["SMS","TOTP"],aws_cognito_password_protection_settings:{passwordPolicyMinLength:6,passwordPolicyCharacters:[]},aws_cognito_verification_mechanisms:["EMAIL"]},er=()=>{let e=(0,i.useContext)(c);return null!==e.notification&&(0,t.jsx)("div",{className:e.notification,children:(0,t.jsxs)("p",{children:[" ",e.notificationText," "]})})};var es=i;class ea extends es.default.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){console.log({error:e,errorInfo:t})}render(){return this.state.hasError?(0,t.jsxs)("div",{style:{width:200,margin:"0 auto",textAlign:"center"},children:[(0,t.jsx)("h2",{className:"text-danger text-center",children:"Oops, there is an error!"}),(0,t.jsx)("button",{type:"button",className:"btn btn-danger",onClick:()=>this.setState({hasError:!1}),children:"Try again?"})]}):this.props.children}}var ed=e.i(44434),el=e.i(72102),ec=e.i(95427),eu=e.i(34251),ep=e.i(17777),eh=e.i(36822),em=e.i(41109),eg=e.i(95952),ey=e.i(72205);async function ev(e){let t=p.Amplify.getConfig().Auth?.Cognito;(0,f.assertTokenProviderConfig)(t);let{confirmationCode:i,userAttributeKey:o}=e;(0,em.assertValidationError)(!!i,eh.AuthValidationErrorCode.EmptyConfirmUserAttributeCode);let{tokens:n}=await (0,ee.fetchAuthSession)({forceRefresh:!1});(0,Y.assertAuthTokens)(n),await (0,eg.verifyUserAttribute)({region:(0,G.getRegion)(t.userPoolId),userAgentValue:(0,ey.getAuthUserAgentValue)(ep.AuthAction.ConfirmUserAttribute)}
2,{AccessToken:n.accessToken.toString(),AttributeName:o,Code:i})}let ew=async e=>{let{userAttributeKey:t,options:i}=e,o=p.Amplify.getConfig().Auth?.Cognito,n=i?.clientMetadata;(0,f.assertTokenProviderConfig)(o);let{tokens:r}=await (0,ee.fetchAuthSession)({forceRefresh:!1});(0,Y.assertAuthTokens)(r);let{CodeDeliveryDetails:s}=await (0,eg.getUserAttributeVerificationCode)({region:(0,G.getRegion)(o.userPoolId),userAgentValue:(0,ey.getAuthUserAgentValue)(ep.AuthAction.SendUserAttributeVerificationCode)},{AccessToken:r.accessToken.toString(),ClientMetadata:n,AttributeName:t}),{DeliveryMedium:a,AttributeName:d,Destination:l}={...s};return{destination:l,deliveryMedium:a,attributeName:d}},e_=function({onCancel:e,confirmText:o="Verify",cancelText:n="Cancel"}){let[r,s]=(0,i.useState)(""),a=async()=>{try{await ev({userAttributeKey:"email",confirmationCode:r}),(0,eu.showNotification)("Verified","Thank you for verifying your email.","success"),e()}catch(e){(0,eu.showNotification)("Invalid Code",e.message,"danger")}},d=async()=>{ew("email")};return(0,t.jsxs)(ed.Modal,{onHide:e,show:!0,children:[(0,t.jsx)(ed.Modal.Header,{closeButton:!0,children:(0,t.jsx)(ed.Modal.Title,{children:"Verify Email"})}),(0,t.jsxs)(ed.Modal.Body,{children:[(0,t.jsx)("p",{children:"Please confirm your email address"}),(0,t.jsx)(ec.Form.Control,{type:"text",placeholder:"Please input email confirmation code.",value:r,onChange:e=>{s(e.target.value)}})]}),(0,t.jsxs)(ed.Modal.Footer,{children:[(0,t.jsx)(el.Button,{className:"w-25",style:{marginRight:"auto"},variant:"primary",onClick:d,children:"Resend"}),(0,t.jsx)(el.Button,{className:"w-25",variant:"danger",onClick:a,children:o}),(0,t.jsx)(el.Button,{className:"w-25",variant:"secondary",onClick:e,children:n})]})]})},ef=function({onCancel:e}){return(0,t.jsxs)(ed.Modal,{onHide:e,show:!0,backdrop:"true",children:[(0,t.jsx)(ed.Modal.Header,{closeButton:!0,children:(0,t.jsx)(ed.Modal.Title,{children:"Welcome our dear guest!"})}),(0,t.jsxs)(ed.Modal.Body,{children:[(0,t.jsx)("p",{children:"Things to keep in mind; By using the guest account, all submitted content will be visible to other guests and the content get deleted on weekly basis. Also, all generated videos will have vimmerse logo on."}),(0,t.jsx)("p",{children:"The guest account should be used for exploration purposes rather than for heavy orders. You can always sign up for your own account to get privacy and logo-free videos."})]}),(0,t.jsx)(ed.Modal.Footer,{children:(0,t.jsx)(el.Button,{className:"w-25",variant:"secondary",onClick:e,children:"Confirm"})})]})};var eb=e.i(46147),eI=e.i(25184),ex=e.i(63353);let ek=[{index:0,title:"Parallax Motion",video_desktop:"help_video_parallax_motion.mp4",video_mobile:"help_video_parallax_motion_mobile.mp4",youtube_link:"https://www.youtube.com/embed/Nnz-D77SSBk?list=PLN0Ml6OG_gL3T1wYIaSDhlMSnjeWdNuNw",description:"Select a parallax motion to give your video a 3d effect. Each selected motion will create one video."},{index:1,title:"AI Motion",video_desktop:"help_video_ai_motion.mp4",video_mobile:"help_video_ai_motion_mobile.mp4",youtube_link:"https://www.youtube.com/embed/4Cnpo3AEKh8?list=PLN0Ml6OG_gL3T1wYIaSDhlMSnjeWdNuNw",description:"Animate your video based on either the selected picture or a text description. Set the the strength of which one has more power over the final result."},{index:2,title:"Transition to End Frame",video_desktop:"help_video_transition.mp4",video_mobile:"help_video_transition.mp4",description:"Upload or drag and drop an already uploaded End Frame that your video will transition to."},{index:3,title:"OUTPUT SETTINGS",video_desktop:"help_video_output_setting.mp4",video_mobile:"help_video_output_setting.mp4",description:"Set the duration and how how much motion you would like applied to each video."},{index:4,title:"Share",video_desktop:"",video_mobile:"",description:"Share your videos to our examples page with a title, description, and a select a visibility option."},{index:5,title:"Share Options",video_desktop:"",video_mobile:"",description:"Download or share your video to other platforms."},{index:6,title:"Prepare Image",video_desktop:"",video_mobile:"",description:"Upload an image from your local device or generate an image from an AI Text Prompt to create your video."},{index:7,title:"Preview",video_desktop:"",video_mobile:"",description:"View images uploaded or generated from an AI text prompt, and select an image to create your video."},{index:8,title:"Quantity",video_desktop:"",video_mobile:"",description:"Set the count of video to generate"},{index:9,title:"Result Type",video_desktop:"",video_mobile:"",description:"Set the type of video to generate"},{index:10,title:"Aspect Ratio",video_desktop:"",video_mobile:"",description:"Set the aspect ratio of image or video to generate"},{index:11,title:"Image To Image",video_desktop:"help_video_image_to_image.mp4",video_mobile:"help_video_image_to_image_mobile.mp4",youtube_link:"https://www.youtube.com/embed/Pipxd9MzRKQ",description:""},{index:12,title:"Reimagine",video_desktop:"help_video_reimagine.mp4",video_mobile:"help_video_reimagine_mobile.mp4",youtube_link:"https://www.youtube.com/embed/Pipxd9MzRKQ?list=PLN0Ml6OG_gL3T1wYIaSDhlMSnjeWdNuNw",description:""}
2,{index:13,title:"Replace Background",video_desktop:"help_video_replace_background.mp4",video_mobile:"help_video_replace_background_mobile.mp4",youtube_link:"https://www.youtube.com/embed/Q2aYv5TGREQ?list=PLN0Ml6OG_gL3T1wYIaSDhlMSnjeWdNuNw",description:""},{index:14,title:"Text To Image",video_desktop:"help_video_text_to_image.mp4",video_mobile:"help_video_text_to_image_mobile.mp4",youtube_link:"https://www.youtube.com/embed/YuNm3sXXf14?list=PLN0Ml6OG_gL3T1wYIaSDhlMSnjeWdNuNw",description:""},{index:15,title:"Try On",video_desktop:"help_video_try_on.mp4",video_mobile:"help_video_try_on_mobile.mp4",youtube_link:"https://www.youtube.com/embed/ctFNKTRMk84?list=PLN0Ml6OG_gL3T1wYIaSDhlMSnjeWdNuNw",description:""},{index:16,title:"Video Settings",video_desktop:"",video_mobile:"",description:"Set quality and maximum size of a video to generate"},{index:17,title:"Transition",video_desktop:"",video_mobile:"",description:"Set a transition between images in video"},{index:18,title:"Video Composer",video_desktop:"",video_mobile:"",description:"Concatnate videos to generate a video with a story"},{index:19,title:"Edit Image",video_desktop:"",video_mobile:"",youtube_link:"https://www.youtube.com/embed/ctZnuNBuwxo?list=PLN0Ml6OG_gL3T1wYIaSDhlMSnjeWdNuNw",description:"Edit the image to remove text and more"},{index:20,title:"Character Animate",video_desktop:"",video_mobile:"",youtube_link:"https://www.youtube.com/embed/fbwiA0PHn_Q?list=PLN0Ml6OG_gL3T1wYIaSDhlMSnjeWdNuNw",description:"Animate your character image"},{index:21,title:"Audio",video_desktop:"",video_mobile:"",description:"Set on to add audio to your video based on your images and prompt"},{index:22,title:"Idea for Story",video_desktop:"",video_mobile:"",description:"Describe your idea to generate a storyboard"},{index:23,title:"Duration",video_desktop:"",video_mobile:"",description:"Set the duration and how how much seconds you would like applied to sound effects."},{index:24,title:"Edit Video",video_desktop:"",video_mobile:"",youtube_link:"https://www.youtube.com/embed/Fph-hQTZ1dQ?list=PLN0Ml6OG_gL3T1wYIaSDhlMSnjeWdNuNw",description:"Crop, enhance, and add sound effects to your video"},{index:25,title:"AI Batch",video_desktop:"",video_mobile:"",youtube_link:"https://www.youtube.com/embed/9ICzn1NLIeA?list=PLN0Ml6OG_gL3T1wYIaSDhlMSnjeWdNuNw",description:"Upload an album of photos to turn them all into videos. Then compile them into a story"},{index:26,title:"Lip Sync",video_desktop:"",video_mobile:"",youtube_link:"https://www.youtube.com/embed/r0tQVlezFdo",description:"Generate a lip sync video from an audio file, an image and a video"},{index:27,title:"Text To Speech",video_desktop:"",video_mobile:"",youtube_link:"https://www.youtube.com/embed/zTRgccPgPbI",description:"Describe your idea and description to generate a speech audio"},{index:28,title:"AI Story",video_desktop:"",video_mobile:"",youtube_link:"https://www.youtube.com/embed/LN_1cZy5Drg",description:"Starting from an idea, you can set your characters and scenes and generate a story"},{index:29,title:"Sound Effects",video_desktop:"",video_mobile:"",youtube_link:"https://www.youtube.com/embed/fQbt3mFSYlE",description:"Generate a sound effect from your prompt"},{index:30,title:"Parallax Batch",video_desktop:"",video_mobile:"",youtube_link:"https://www.youtube.com/embed/pA86kLTG1K8",description:"Upload an album of photos to turn them all into videos. Then compile them into a story"},{index:31,title:"Image Elements",video_desktop:"",video_mobile:"",youtube_link:"https://www.youtube.com/embed/AQhkXlBXurU",description:"Upload images to merge them into one image seamlessly"},{index:32,title:"FineTune Options",video_desktop:"",video_mobile:"",youtube_link:"",description:`
3          <div><strong>FluxFintune</strong>: Submit 5-20 relevant images for the same character or object covering various angles and poses. Make sure your images are of high quality and do not have complex backgrounds. Training takes ~2min. Inference can be done by inserting the trigger word in the prompt using Text2image app with FluxFintuned tool. Better for characters and general cases.</div>
4          <div><strong>FluxProFintune</strong>: Submit 1-10 relevant images for the same character or object c
4overing various angles and poses. Make sure your images are of high quality and donot have complex backgrounds. Training takes ~20 min. Inference can be done by inserting the trigger word in the prompt using Text2image app with FluxFintuned tool. Use it to train for product images.</div>
5          <div><strong>FluxKontextFinetune</strong>: Submit 1-20 image pairs, each should have the input image and the desired output image ordered as input1, output1, input2, output2, ... + prompt explaining the change from the input to output in words. Training takes ~30 min. Inference can be done by inserting the trigger word in the prompt using image2image apps with FluxKontextFintuned tool. Use it to control inferring an image from another image.</div>`},{index:33,title:"Face Order Index",video_desktop:"",video_mobile:"",youtube_link:"",description:"Indices of the faces in the target image to be swapped. If target image has three people standing next two each other then are indexed 0, 1, 2 from left to right."},{index:34,title:"Text To Music",video_desktop:"",video_mobile:"",youtube_link:"https://www.youtube.com/embed/RfYVHDAveSI",description:"Generate a music from your prompt"},{index:35,title:"Restyle Image",video_desktop:"",video_mobile:"",youtube_link:"https://www.youtube.com/embed/7sxrn8ThxzM",description:"Recreate your image with different styles"},{index:36,title:"Video to Video",video_desktop:"",video_mobile:"",youtube_link:"https://www.youtube.com/embed/XPZwNa-nY9w",description:"Modify a video with image and prompt-based editing"},{index:37,title:"Face Swap",video_desktop:"",video_mobile:"",youtube_link:"",description:"Swap a face or  head on an image"},{index:38,title:"Extend Video",video_desktop:"",video_mobile:"",youtube_link:"",description:"Extend a video with another video or an image"},{index:39,title:"Video Effects",video_desktop:"",video_mobile:"",youtube_link:"",description:"Add multiple effects to your image to generate a video"},{index:40,title:"LoRA Finetune",video_desktop:"",video_mobile:"",youtube_link:"",description:"Train a LoRA model for characters, objects, and styles to improve likeness, consistency, and control"},{index:41,title:"Reference To Video",video_desktop:"",video_mobile:"",youtube_link:"https://www.youtube.com/embed/mExSCGOg4LM",description:"Generate videos by animating multiple element images with prompts"}],eC=()=>{let{isHelpOpen:e,selected:o,targetRef:n,closeHelp:r}=(0,eb.useHelp)(),s=(0,ex.default)(),[a,d]=(0,i.useState)(0),[l,c]=(0,i.useState)(ek[o]),[u,p]=(0,i.useState)({top:0,left:0}),h=()=>{if(e&&n?.current){let e=n.current.getBoundingClientRect(),t=window.innerWidth,i=window.innerHeight;o<0?d(0):o>ek.length-1?d(ek.length-1):d(o);let r=ek[o],s=r.youtube_link||r.video_desktop&&""!==r.video_desktop||r.video_mobile&&""!==r.video_mobile?400:200,a=e.bottom+15,l=e.left;a+s>i&&(a=e.top-s-15),l<15?l=15:l+500>t-15&&(l=t-500-15),p({top:a,left:l})}};return((0,i.useEffect)(()=>{if(e){let e=setTimeout(()=>{h()},10);return()=>clearTimeout(e)}},[e,n,o]),(0,i.useEffect)(()=>{let t=()=>{e&&h()};return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[e]),(0,i.useEffect)(()=>{c(ek[a])},[a]),e)?(0,t.jsxs)("div",{className:"help-view-modal",style:{top:`${u.top}px`,left:`${u.left}px`},children:[(0,t.jsxs)("div",{className:"modal-title",children:[(0,t.jsx)("h3",{children:l.title}),(0,t.jsx)("button",{className:"close-btn",onClick:r,children:"X"})]}),(l.youtube_link||l.video_desktop&&""!==l.video_desktop)&&(0,t.jsx)("div",{className:"video-container",children:l.youtube_link?(0,t.jsx)("iframe",{style:{width:"100%",height:"100%"},src:l.youtube_link,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0}):(0,t.jsx)("video",{src:`https://distribution.vimmerse.net/tutorial/${"mobile"===s?l.video_mobile:l.video_desktop}`,muted:!0,playsInline:!0,autoPlay:!0,controls:!0,children:"This browser does not support HTML video."})}),(0,t.jsxs)("div",{className:"help-footer d-flex",children:[(0,t.jsx)("button",{disabled:a<=0,onClick:()=>d(a-1),children:(0,t.jsx)("i",{className:"fa fa-chevron-left"})}),(0,t.jsx)("div",{className:"flex-fill",children:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:l.description}})}),(0,t.jsx)("button",{disabled:a>=ek.length-1,onClick:()=>d(a+1),children:(0,t.jsx)("i",{className:"fa fa-chevron-right"})})]})]}):null},eS=function({credits:e,onCancel:i}){return(0,t.jsxs)(ed.Modal,{onHide:i,show:!0,backdrop:"true",children:[(0,t.jsx)(ed.Modal.Header,{closeButton:!0,children:(0,t.jsx)(ed.Modal.Title,{children:"Congratulations!"})}),(0,t.jsx)(ed.Modal.Body,{children:(0,t.jsxs)("p",{children:["You got ",e," credits from this coupon. Please check your credits."]})}),(0,t.jsx)(ed.Modal.Footer,{children:(0,t.jsx)(el.Button,{className:"w-25",variant:"secondary",onClick:i,children:"Confirm"})})]})},eA={...en,oauth:{...en.oauth,redirectSignIn:"https://www.vimmerse.net,https://www.vimmerse.ai",redirectSignOut:"https://www.vimmerse.net,https://www.vimmerse.ai"},ssr:!0};({configure(e,t){let i=(0,v.parseAmplifyConfig)(e);if(!i.Auth||t?.Auth)return void p.Amplify.configure(i,t);if(!p.Amplify.libraryOptions.Auth){w.cognitoUserPoolsTokenProvider.setAuthConfig(i.Auth),w.cognitoUserPoolsTokenProvider.setKeyValueStorage(t?.ssr?new g({sameSite:"lax"}):y.defaultStorage),p.Amplify.configure(i,{...t,Auth:{tokenProvider:w.cognitoUserPoolsTokenProvider,credentialsProvider:J}});return}if(t){void 0!==t.ssr&&w.cognitoUserPoolsTokenProvider.setKeyValueStorage(t.ssr?new g({sameSite:"lax"}):y.defaultStorage),p.Amplify.configure(i,{Auth:p.Amplify.libraryOptions.Auth,...t});return}p.Amplify.configure(i)},getConfig:()=>p.Amplify.getConfig()}).configure(eA),e.s(["default",0,function(e){let{Component:o,pageProps:n}=e,[r,c]=(0,i.useState)(null),[p,h]=(0,i.useState)(null),[m,g]=(0,i.useState)(!1),[y,v]=(0,i.useState)(!1),[w,_]=(0,i.useState)(!1),[f,b]=(0,i.useState)(0),I=(0,d.useRouter)(),{query:x}=I;(0,i.useEffect)(()=>{I.query.coupon_code&&localStorage.setItem("coupon_code",I.query.coupon_code)},[x]);let k=async(e,t)=>{let i=(await (0,ee.fetchAuthSession)()).tokens.accessToken.toString(),o=(0,eu.generateAuthorizationCode)(i),n=`${e}?code=${o}&state=${t}`;window.location.href=n},C=async e=>{try{let t=await (0,eo.redeemCoupon)(e);A(),b(t.credits),_(!0)}catch(e){}},S=e=>{switch(e.payload.event){case"signedIn":A();break;case"signUp":case"signIn_failure":case"tokenRefresh":case"tokenRefresh_failure":case"configured":case"customOAuthState":break;case"signedOut":A(),I.push("/")}};(0,i.useEffect)(()=>{let e=e=>{ei.pageview(e)};return I.events.on("routeChangeComplete",e),()=>{I.events.off("routeChangeComplete",e)}},[I.events]),(0,i.useEffect)(()=>(A(),et.Hub.listen("auth",S)),[]),(0,i.useEffect)(()=>
5{if(r){let e=localStorage.getItem("redirect_uri"),t=localStorage.getItem("redirect_state");if(e)localStorage.removeItem("redirect_uri"),localStorage.removeItem("redirect_state"),k(e,t);else if(I.query.redirect_uri)k(I.query.redirect_uri,I.query.state);else{"guest"===r.username&&v(!0);let e=localStorage.getItem("coupon_code");e?(localStorage.removeItem("coupon_code"),C(e)):I.query.coupon_code&&C(I.query.coupon_code),("/"===I.pathname||"/authentication"===I.pathname)&&(r.attributes&&r.attributes.preferred_username?I.push(`/@${r.attributes.preferred_username}`):I.push("/account"))}}},[r,I]);let A=(0,i.useCallback)(async(e=!1)=>{try{let t=await (0,Z.getCurrentUser)();t.attributes=(await (0,ee.fetchAuthSession)({forceRefresh:e})).tokens.idToken.payload||{},T(),c(t)}catch(e){c(null)}},[c]),T=(0,i.useCallback)(async()=>{try{let e=await (0,eu.retryAPICall)(eo.getUserCredit);h(e)}catch(e){console.log("getUserCredits error",e)}},[h]),j=(0,i.useMemo)(()=>({getCurrentUserInfo:A,getUserCredits:T}),[A,T]);return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(l.UserDataContext.Provider,{value:[{currentUser:r,userCredits:p},j],children:[(0,t.jsx)(a.ReactNotifications,{}),(0,t.jsxs)(u,{children:[(0,t.jsx)(er,{}),(0,t.jsx)(eI.AppConfigProvider,{children:(0,t.jsx)(eb.HelpProvider,{children:(0,t.jsxs)(ea,{children:[(0,t.jsx)(o,{...n}),m&&(0,t.jsx)(e_,{onCancel:()=>g(!1)}),y&&(0,t.jsx)(ef,{onCancel:()=>v(!1)}),w&&(0,t.jsx)(eS,{credits:f,onCancel:()=>_(!1)}),(0,t.jsx)(s,{}),(0,t.jsx)(eC,{})]})})})]})]})})}],62727)},56703,(e,t,i)=>{let o="/_app";(window.__NEXT_P=window.__NEXT_P||[]).push([o,()=>e.r(62727)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([o])})}]);
6
7//# debugId=337c2816-158a-4238-a42b-a188ed429c55

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.