PageSourceSearch

https://www.viverse.com/_next/static/chunks/262kap7_6me51.js?dpl=cad6596

js viverse.com collected 2026-09-24 08:54:10 UTC 14,624 bytes, 5 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]="cef87deb-13ed-d8c6-e9a5-fb18e640fa86")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,193127,e=>{e.v(t=>Promise.all(["static/chunks/1fc12f3sdi7gc.js"].map(t=>e.l(t))).then(()=>t(559975)))},172457,e=>{"use strict";var t=e.i(703520),r=e.i(471138),i=e.i(976264);e.s(["default",0,function(e){let s,n,o=(0,t.c)(5),{flagKey:u,flagValue:a}=e,l=(0,i.usePostHog)();return o[0]!==u||o[1]!==a||o[2]!==l?(s=()=>{l&&l.capture("$feature_flag_called",{$feature_flag:u,$feature_flag_response:a})},n=[u,a,l],o[0]=u,o[1]=a,o[2]=l,o[3]=s,o[4]=n):(s=o[3],n=o[4]),(0,r.useEffect)(s,n),null}])},742043,e=>{"use strict";var t=e.i(47125),r=e.i(703520),i=e.i(634503),s=e.i(471138),n=e.i(284040),o=e.i(456904),u=e.i(338847);let a=(0,u.createServerReference)("4028df134f78894b7a028ec2e52cfac45b420fb6b4",u.callServer,void 0,u.findSourceMapURL,"setUserLocale"),l=(0,s.createContext)(null);e.s(["VSCSdkProvider",0,e=>{let u,c,d,h=(0,r.c)(13),{children:f}=e,p=(0,o.useRouter)(),m=(0,i.useParams)(),v=(0,o.usePathname)(),_=(0,i.useSearchParams)(),{setIsRouteLoading:S}=(0,n.useRouteChangeContext)(),[y,g]=(0,s.useState)(!1),[C,R]=(0,s.useState)(!1);h[0]!==m||h[1]!==v||h[2]!==p||h[3]!==_||h[4]!==S?(u=async e=>{S(!0),await a(e);let t=Object.fromEntries(_);(0,s.startTransition)(()=>{p.replace({pathname:v,params:m,query:t},{locale:e})})},h[0]=m,h[1]=v,h[2]=p,h[3]=_,h[4]=S,h[5]=u):u=h[5];let w=u;return h[6]!==w||h[7]!==C||h[8]!==y?(c={viverseShareComponent:null,isMountedHeader:y,setIsMountedHeader:g,changeLocale:w,isMountedFooter:C,setIsMountedFooter:R},h[6]=w,h[7]=C,h[8]=y,h[9]=c):c=h[9],h[10]!==f||h[11]!==c?(d=(0,t.jsx)(l.Provider,{value:c,children:f}),h[10]=f,h[11]=c,h[12]=d):d=h[12],d},"useVSCSdkContext",0,()=>{let e=(0,s.useContext)(l);if(null==e)throw Error("useVSCSdkContext cannot be used outside of VSCSdkProvider");return e}],742043)},646618,471246,e=>{"use strict";var t=e.i(703520),r=e.i(414073),i=e.i(817422);let s=i.z.string().transform(e=>"true"===e||""===e),n=i.z.looseObject({full3d:s.optional(),noScrolllock:s.optional(),view:s.optional(),preview:s.optional(),random_code:i.z.string().min(1).optional(),token:i.z.string().optional()});i.z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i),e.s(["queryParametersSchema",0,n],471246);var o=e.i(634503);e.s(["useEnableFull3d",0,()=>{let e,i=(0,t.c)(2),s=(0,o.useParams)(),u=s?.roomId,a=s?.sceneId,l=(0,o.useSearchParams)();if(a)return!0;if(i[0]!==l){let t=l?.get(r.IFRAME_SEARCH_PARAM_KEYS.FULL3D);e=n.safeParse({full3d:t}),i[0]=l,i[1]=e}else e=i[1];let c=e;return!!(u&&c.success&&c.data.full3d)}],646618)},887168,e=>{"use strict";var t=e.i(703520),r=e.i(471138);e.s(["useIsEmbedded",0,function(e){let i,s,n=(0,t.c)(2),[o,u]=(0,r.useState)(void 0!==e&&e);return n[0]===Symbol.for("react.memo_cache_sentinel")?(i=()=>{u(window.self!==window.top)},s=[],n[0]=i,n[1]=s):(i=n[0],s=n[1]),(0,r.useEffect)(i,s),o}])},117838,e=>{"use strict";var t=e.i(703520),r=e.i(621664),i=e.i(634503),s=e.i(431953),n=e.i(697815),o=e.i(912236),u=e.i(99700),a=e.i(742043),l=e.i(646223),c=e.i(676173),d=e.i(408498);e.s(["useShareComponentBaseConfig",0,function(e){let h,f,p,m,v,_=(0,t.c)(17),{previewMode:S,profile:y}=e,g=void 0!==S&&S,C=(0,i.useParams)(),R=(0,r.useLocale)(),w=C.locale??R,{handleLogin:b,handleLogout:F}=(0,n.useAuthContext)(),{appConfig:z}=(0,o.useConfigsContext)(),{deviceTypeWithAndroidAndIOS:j}=(0,u.useUAContext)(),{changeLocale:x}=(0,a.useVSCSdkContext)();_[0]!==b||_[1]!==g?(h=e=>{b({callback:void 0===e?"":e,loginParams:g?{[s.SEARCH_PARAM_KEYS.PREVIEW]:""}:void 0})},_[0]=b,_[1]=g,_[2]=h):h=_[2],_[3]!==F||_[4]!==y||_[5]!==h?(f={onLogin:h,onLogout:F,profile:y},_[3]=F,_[4]=y,_[5]=h,_[6]=f):f=_[6];let P=f;_[7]!==x||_[8]!==w?(p={changeLocale:x,locale:w},_[7]=x,_[8]=w,_[9]=p):p=_[9];let A=p,k=z?.links;return _[10]!==k?(m=function(e){let{viverse_landing:t,viverse_market:r,viverse_avatar:i}=e||{};return{viverse:t?.replace(/\/$/,"")??c.LOCAL_ORIGIN,world:`https://${(0,d.getWorldsDomain)()}`,market:r?.replace(/\/$/,"")||"https://market.viverse.com",avatar:i?.replace(/\/$/,"")||"https://avatar.viverse.com",create:`https://${(0,d.getCreateDomain)()}`,document:"https://docs.viverse.com",viveport:"https://www.viveport.com",beatday:"https://beatday.com",lab:"https://www.viverse.com",studio:(0,l.env)("NEXT_PUBLIC_CREATOR_STUDIO_URL")||"https://studio.viverse.com",persona:"https://persona.viverse.com",blog:"https://news.viverse.com"}}(k),_[10]=k,_[11]=m):m=_[11],_[12]!==P||_[13]!==j||_[14]!==A||_[15]!==m?(v={authConfig:P,device:j,localeConfig:A,originConfig:m},_[12]=P,_[13]=j,_[14]=A,_[15]=m,_[16]=v):v=_[16],v}],117838)},53509,e=>{"use strict";var t=e.i(703520),r=e.i(631063),i=e.i(32677),s=e.i(697815),n=e.i(912236),o=e.i(646618),u=e.i(538036),a=e.i(856434);function l(e){return e?.results?.data}e.s(["useShareComponentProfile",0,()=>{let e,c,d=(0,t.c)(16),{store:h,accountId:f}=(0,n.useConfigsContext)(),{isSignedIn:p}=(0,s.useAuthContext)(),m=(0,i.useIsClient)(),v=h?.profile,_=h?.credentials?.htcToken,S=(0,o.useEnableFull3d)();d[0]!==_?(e=()=>(0,a.getPointBalance)(_).then(l),d[0]=_,d[1]=e):e=d[1];let{data:y}=(0,r.default)(!_||S?null:"pointBalance",e),g=y?.pointBalance||0,C=v?.displayName,R=v?.avatarId,w=v?.avatarSnapshot,b=v?.avatarGlb,F=v?.avatarGenderKey,z=v?.avatarDataType,j=v?.userId,x=v?.isGamePlus,P=m&&"#logout"===window.location.hash;return d[2]!==f||d[3]!==z||d[4]!==F||d[5]!==b||d[6]!==R||d[7]!==w||d[8]!==C||d[9]!==_||d[10]!==x||d[11]!==P||d[12]!==p||d[13]!==g||d[14]!==j?(c=!P&&p?(0,u.createShareComponentProfile)({displayName:C,avatarId:R,avatarSnapshot:w,avatarGlb:b,avatarGenderKey:F,avatarDataType:z,userId:j,isGamePlus:x,accountId:f,htcToken:_},g):{},d[2]=f,d[3]=z,d[4]=F,d[5]=b,d[6]=R,d[7]=w,d[8]=C,d[9]=_,d[10]=x,d[11]=P,d[12]=p,d[13]=g,d[14]=j,d[15]=c):c=d[15],c}])},298398,e=>{"use strict";var t=e.i(976264);e.s(["useFeatureFlag",()=>t.useFeatureFlagResult])},60742,e=>{e.v(t=>Promise.all(["static/chunks/2q4hf-ufj9-j7.js","static/chunks/0cizpw_48i_si.js"].map(t=>e.l(t))).then(()=>t(861553)))},14080,(e,t,r)=>{},922558,(e,t,r)=>{var i=e.i(884172);e.r(14080);var s=e.r(471138),n=s&&"object"==typeof s&&"default"in s?s:{default:s},o=void 0!==i.default&&i.default.env&&!0,u=function(e){return"[object String]"===Object.prototype.toString.call(e)},a=function(){function e(e){var t=void 0===e?{}:e,r=t.name,i=void 0===r?"stylesheet":r,s=t.optimizeForSpeed,n=void 0===s?o:s;l(u(i),"`name` must be a string"),this._name=i,this._deletedRulePlaceholder="#"+i+"-deleted-rule____{}",l("boolean"==typeof n,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=n,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var a="u">typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=a?a.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){l("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),l(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},r.isOptimizeForSpeed=function(){return this._optimizeForSpeed},r.inject=function(){var e=this;if(l(!this._injected,"sheet already injected"),this._injected=!0,"u">typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.get
2Sheet(),this._optimizeForSpeed||(o||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},r.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},r.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},r.insertRule=function(e,t){if(l(u(e),"`insertRule` accepts only strings"),"u"<typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return o||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var i=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,i))}return this._rulesCount++},r.replaceRule=function(e,t){if(this._optimizeForSpeed||"u"<typeof window){var r="u">typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(i){o||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var i=this._tags[e];l(i,"old rule at index `"+e+"` not found"),i.textContent=t}return e},r.deleteRule=function(e){if("u"<typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];l(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},r.flush=function(){this._injected=!1,this._rulesCount=0,"u">
2typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},r.cssRules=function(){var e=this;return"u"<typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},r.makeStyleTag=function(e,t,r){t&&l(u(t),"makeStyleTag accepts only strings as second parameter");var i=document.createElement("style");this._nonce&&i.setAttribute("nonce",this._nonce),i.type="text/css",i.setAttribute("data-"+e,""),t&&i.appendChild(document.createTextNode(t));var s=document.head||document.getElementsByTagName("head")[0];return r?s.insertBefore(i,r):s.appendChild(i),i},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),e}();function l(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var c=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},d={};function h(e,t){if(!t)return"jsx-"+e;var r=String(t),i=e+r;return d[i]||(d[i]="jsx-"+c(e+"-"+r)),d[i]}function f(e,t){"u"<typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var r=e+t;return d[r]||(d[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),d[r]}var p=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,i=void 0===r?null:r,s=t.optimizeForSpeed,n=void 0!==s&&s;this._sheet=i||new a({name:"styled-jsx",optimizeForSpeed:n}),this._sheet.inject(),i&&"boolean"==typeof n&&(this._sheet.setOptimizeForSpeed(n),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"u">typeof window&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),i=r.styleId,s=r.rules;if(i in this._instancesCounts){this._instancesCounts[i]+=1;return}var n=s.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[i]=n,this._instancesCounts[i]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var i=this._fromServer&&this._fromServer[r];i?(i.parentNode.removeChild(i),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],i=e[1];return n.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:i}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,i=e.id;if(r){var s=h(i,r);return{styleId:s,rules:Array.isArray(t)?t.map(function(e){return f(s,e)}):[f(s,t)]}}return{styleId:h(i),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),m=s.createContext(null);function v(){return new p}function _(){return s.useContext(m)}m.displayName="StyleSheetContext";var S=n.default.useInsertionEffect||n.default.useLayoutEffect,y="u">typeof window?v():void 0;function g(e){var t=y||_();return t&&("u"<typeof window?t.add(e):S(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}g.dynamic=function(e){return e.map(function(e){return h(e[0],e[1])}).join(" ")},r.StyleRegistry=function(e){var t=e.registry,r=e.children,i=s.useContext(m),o=s.useState(function(){return i||t||v()})[0];return n.default.createElement(m.Provider,{value:o},r)},r.createStyleRegistry=v,r.style=g,r.useStyleRegistry=_},870330,(e,t,r)=>{t.exports=e.r(922558).style}]);
3
4//# debugId=cef87deb-13ed-d8c6-e9a5-fb18e640fa86
5//# sourceMappingURL=2ffmfc6iih54r.js.map

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.