1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7659],{6214:function(n,e,t){t.r(e),t.d(e,{default:function(){return s}});var o=t(7294),r=t(9477),i=t(7293),c=t(734),u=t(5893),a=new r.Vector3(0,1,0);function s(n){var e=n.enabled,t=void 0===e||e,s=n.children,l=(0,o.useRef)(null),d=(0,c.useLimiter)(50),f=(0,o.useMemo)(function(){return new r.Vector2},[]),p=(0,o.useMemo)(function(){return new r.Vector2},[]),x=(0,o.useMemo)(function(){return new r.Vector3},[]),g=(0,o.useMemo)(function(){return new r.Quaternion().setFromAxisAngle(a,0)},[]);return(0,i.A)(function(n,e){var o=n.clock,r=n.camera;if(d.isReady(o)&&l.current){var i=0;t&&(l.current.getWorldPosition(x),f.set(x.x,x.z),p.set(r.position.x,r.position.z),f.sub(p),(i=-f.normalize().angle())<0&&(i+=2*Math.PI)),g.setFromAxisAngle(a,i),l.current.quaternion.slerp(g,10*e)}}),(0,u.jsx)("group",{ref:l,children:s})}},6679:function(n,e,t){t.r(e),t.d(e,{default:function(){return c}});var o=t(5959),r=t(1222),i=t(5893);function c(n){n.dev;var e=[{text:"Build Your Own World",action:function(){r.c.capture("pausemenu-cta",{text:"Build Your Own World"}),window.location.href="https://www.muse.place/signup?utm_source=pause_menu&utm_campaign=".concat(encodeURIComponent("pause_menu"))},colored:!0}];return(0,i.jsx)(o.default,{logoUrl:"https://d27rt3a60hh1lx.cloudfront.net/images/muse-logo-wordmark.png",continueColor:"linear-gradient(45deg, #d849ed, #2af1e3)",continueTextColor:"black",pauseMenuItems:e})}},8872:function(n,e,t){t.r(e),t.d(e,{Actions:function(){return O},ClickContainer:function(){return m},Container:function(){return b},Continue:function(){return v},Description:function(){return C},Footer:function(){return Z},Instructions:function(){return k},Logo:function(){return P},MenuButton:function(){return w},MenuLink:function(){return y},Title:function(){return j},Window:function(){return h}});var o,r,i,c,u,a,s,l,d,f,p,x=t(1383),g=t(6829),b=g.Z.div(o||(o=(0,x.Z)(["\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 100;\n transition: opacity 0.25s ease;\n background: rgba(0, 0, 0, ",");\n display: flex;\n justify-content: center;\n flex-direction: column;\n align-items: center;\n opacity: ",";\n pointer-events: ",";\n"])),function(n){return n.dev?0:.25},function(n){return n.paused?1:0},function(n){return n.paused?"all":"none"}),m=g.Z.div(r||(r=(0,x.Z)(["\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n"]))),h=g.Z.div(i||(i=(0,x.Z)(["\n width: 90%;\n max-width: 400px;\n padding: 20px 20px;\n color: ",";\n display: flex;\n flex-direction: column;\n\n align-items: center;\n justify-content: center;\n position: relative;\n border-radius: 10px;\n background-color: ",';\n background-position: center;\n background-size: cover;\n box-sizing: border-box;\n background-image: url("',' ");\n font-family: PauseMenu, "Quicksand", sans-serif;\n box-shadow: ',";\n"])),function(n){return n.color},function(n){return n.transparent?"rgba(0, 0, 0, 0)":n.backgroundColor},function(n){return n.backgroundImage},function(n){return n.transparent?void 0:"12px 12px 16px 0 rgba(0, 0, 0, 0.25),-8px -8px 12px 0 rgba(255, 255, 255, 0.3);"}),v=g.Z.div(c||(c=(0,x.Z)(['\n width: 90%;\n max-width: 400px;\n height: auto;\n cursor: pointer;\n text-align: center;\n font-size: 1.4em;\n font-family: "PauseMenuFont", "Quicksand", sans-serif;\n transition: opacity 0.15s linear;\n margin-top: 20px;\n background: ',";\n color: ",";\n border: 3px solid black;\n ","\n\n line-height: 1em;\n padding: 16px 0;\n border-radius: 10px;\n :hover {\n opacity: 0.5;\n }\n\n box-shadow: 12px 12px 16px 0 rgba(0, 0, 0, 0.25),\n -8px -8px 12px 0 rgba(255, 255, 255, 0.3);\n"])),function(n){return n.color},function(n){return n.continueTextColor},function(n){return n.continueBorderColor?"border: 2px solid "+n.continueBorderColor+";":""}),k=g.Z.div(u||(u=(0,x.Z)(['\n width: 100%;\n height: auto;\n margin: 30px 0;\n font-size: 0.7em;\n text-align: center;\n display: flex;\n flex-direction: column;\n justify-content: center;\n font-family: "PauseMenuFont", "Quicksand", sans-serif;\n\n & > p {\n margin: 0.2em;\n }
1\n']))),w=g.Z.div(a||(a=(0,x.Z)(["\n border: 1px solid ",";\n border-radius: 10px;\n\n background: ",";\n background-color: ",";\n padding: 5px 10px;\n margin: 8px 4px;\n transition: background-position 0.15s linear, background 0.15s linear;\n font-size: 0.5em;\n cursor: pointer;\n background-size: 200% 200%;\n\n background-position: 25% 50%;\n\n text-decoration: none;\n color: ",";\n\n &:hover {\n ",";\n }\n"])),function(n){return n.buttonBorderColor},function(n){return n.colored?"linear-gradient(45deg, #d849edb0, #2af1e3b0)":n.color},function(n){return n.buttonBackgroundColor},function(n){return n.buttonTextColor},function(n){return n.colored?"background-position: 75% 50%;":"background: rgba(0, 0, 0, 0.15);"}),y=w.withComponent("a"),j=g.Z.h1(s||(s=(0,x.Z)(["\n margin: 0;\n text-align: center;\n"]))),C=g.Z.p(l||(l=(0,x.Z)(["\n margin: 5px;\n text-align: center;\n white-space: pre-line;\n font-size: 14px;\n"]))),O=g.Z.div(d||(d=(0,x.Z)(["\n width: 100%;\n display: flex;\n justify-content: space-evenly;\n flex-wrap: wrap;\n"]))),Z=g.Z.div(f||(f=(0,x.Z)(['\n margin-top: 15px;\n width: 100%;\n text-align: center;\n font-size: 0.75rem;\n font-family: "PauseMenuFont", "Quicksand", sans-serif;\n color: ',";\n\n & > a {\n color: #333;\n line-height: 1em;\n transition: opacity 0.15s linear;\n\n :hover {\n opacity: 0.5;\n }\n }\n"])),function(n){return n.footerTransparent?"rgba(0, 0, 0, 0)":""}),P=g.Z.img(p||(p=(0,x.Z)(["\n width: 100%;\n"])))},5959:function(n,e,t){t.r(e),t.d(e,{default:function(){return b}});var o,r=t(9499),i=t(1383),c=t(7812),u=t(7294),a=t(8872),s=t(734),l=t(816),d=t(1222),f=t(917),p=t(5893);function x(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})),t.push.apply(t,o)}return t}function g(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?x(Object(t),!0).forEach(function(e){(0,r.Z)(n,e,t[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):x(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))})}return n}function b(n){var e=n.title,t=n.logoUrl,r=n.pauseMenuItems,x=n.dev,g=void 0!==x&&x,b=n.color,h=n.backgroundColor,v=n.continueColor,k=n.continueTextColor,w=n.continueBorderColor,y=n.continueText,j=n.backgroundImage,C=n.buttonTextColor,O=void 0===C?"black":C,Z=n.buttonBorderColor,P=void 0===Z?"black":Z,B=n.transparent,z=n.footerTransparent,M=n.link,T=n.secondLink,_=n.termsAndConditionsText,S=n.secondLogoURL,D=n.privacyPolicyText,F=n.font,I=n.privacyPolicy,L=n.termsOfService,E=n.buttonBackgroundColor,A=void 0===E?"rgba(255, 255, 255, 0)":E,Q=n.description,R=n.instructionsDesktopImage,W=(0,s.useEnvironment)(),H=W.paused,U=W.setPaused,V=W.menuItems,Y=W.device,N=(0,u.useCallback)(function(){var n=V.find(function(n){return"Enter VR"===n.text});n&&n.action?n.action():U(!1),d.c.capture("pausemenu-continue")},[V,U]),q=(0,u.useMemo)(function(){return new l.Bi().setFromCreation(Math.random(),.7,.85).getHex()},[]),G=[].concat((0,c.Z)(void 0===r?[]:r),(0,c.Z)(m(V)));return(0,p.jsxs)(a.Container,{paused:H,dev:g,children:[(0,p.jsx)(a.ClickContainer,{onClick:N}),(0,p.jsx)(f.xB,{styles:(0,f.iv)(o||(o=(0,i.Z)(["\n @font-face {\n font-family: PauseMenuFont;\n src: url(",");\n }\n "])),void 0===F?"https://d27rt3a60hh1lx.cloudfront.net/fonts/Quicksand_Bold.otf":F)}),!g&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(a.Window,{backgroundColor:void 0===h?"white":h,color:void 0===b?"black":b,transparent:void 0!==B&&B,backgroundImage:void 0===j?"":j,children:[t?(0,p.jsx)(a.Logo,{src:t,onClick:M?function(){return window.open(M,"_blank")}:void 0}):(0,p.jsx)(a.Title,{children:void 0===e?"spacesvr":e}),(0,p.jsx)(a.Description,{children:Q}),R&&Y.desktop&&(0,p.jsx)(a.Logo,{src:R}),(0,p.jsx)(a.Actions,{children:G.map(function(n){return n.link?(0,p.jsx)(a.MenuLink,{href:n.link,colored:n.colored,onClick:n.action,buttonTextColor:O,buttonBorderColor:P,buttonBackgroun
1dColor:A,children:n.text},n.text):(0,p.jsx)(a.MenuButton,{onClick:n.action,colored:n.colored,color:n.color,buttonTextColor:O,buttonBorderColor:P,buttonBackgroundColor:A,children:n.text},n.text)})}),S?(0,p.jsx)(a.Logo,{src:S,onClick:T?function(){return window.open(T,"_blank")}:void 0}):void 0,(0,p.jsxs)(a.Footer,{footerTransparent:void 0!==z&&z,children:[(0,p.jsx)("a",{href:void 0===L?"https://spaces-gallery-assets.s3.us-west-1.amazonaws.com/legal/musetermsofservice.pdf":L,target:"_blank",rel:"noreferrer",children:void 0===_?"terms and conditions":_}),"\xa0\xa0â¢\xa0\xa0",(0,p.jsx)("a",{href:void 0===I?"https://spaces-gallery-assets.s3.us-west-1.amazonaws.com/legal/museprivacypolicy.pdf":I,target:"_blank",rel:"noreferrer",children:void 0===D?"privacy policy":D})]})]}),(0,p.jsx)(a.Continue,{onClick:N,color:v||q,continueBorderColor:w,continueTextColor:void 0===k?"white":k,children:void 0===y?"Begin":y})]})]})}var m=function(n){return n.map(function(n){return g(g({},n),{},{action:function(){d.c.capture("pausemenu-".concat(n.text.toLowerCase().replace(" ",""))),n.action&&n.action(),n.link&&window.open(n.link,"_blank")}})})}},7456:function(n,e,t){t.r(e),t.d(e,{default:function(){return x}});var o=t(9499),r=t(4730),i=t(2473),c=t(5449),u=t(7294),a=t(734),s=t(816),l=t(5893),d=["children","textStyles","onClick","width","size","idea","font","color","raycaster"];function f(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})),t.push.apply(t,o)}return t}function p(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?f(Object(t),!0).forEach(function(e){(0,o.Z)(n,e,t[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))})}return n}function x(n){var e=n.children,t=n.textStyles,o=n.onClick,f=n.width,x=n.size,g=n.idea,b=n.font,m=n.color,h=n.raycaster,v=(0,r.Z)(n,d),k=.1*(void 0===f?1:f),w=p({color:"black",font:b||"https://d27rt3a60hh1lx.cloudfront.net/fonts/Quicksand_Bold.otf",fontSize:.05,outlineWidth:.004,outlineColor:"white",anchorY:"middle"},t),y=(0,u.useState)(!1),j=y[0],C=y[1],O=(0,u.useState)(!1),Z=O[0],P=O[1],B=m||(g?g.getHex():"#aaa"),z=g?new s.Bi().setFromCreation(g.mediation,1.3*g.specificity,1.3*g.utility).getHex():"#fff",M=(0,c.useSpring)(p({color:j?B:z,scale:Z?.75:1},c.config.stiff)),T=M.color,_=M.scale;return(0,u.useEffect)(function(){Z&&setTimeout(function(){return P(!1)},150)},[Z]),(0,l.jsx)("group",p(p({name:"button-".concat(e)},v),{},{children:(0,l.jsx)("group",{name:"button-wrapper",scale:void 0===x?1:x,children:(0,l.jsxs)(c.animated.group,{scale:_,children:[e&&(0,l.jsx)(i.x,p(p({},w),{},{"position-z":.025+.001,renderOrder:10,children:e})),(0,l.jsx)(a.Interactable,{onClick:function(){o&&o(),P(!0)},onHover:function(){return C(!0)},onUnHover:function(){return C(!1)},raycaster:h,children:(0,l.jsx)("mesh",{visible:!1,children:(0,l.jsx)("boxBufferGeometry",{args:[k,.1,.05]})})}),(0,l.jsx)(a.RoundedBox,{args:[k,.1,.05],children:(0,l.jsx)(c.animated.meshStandardMaterial,{color:T})})]})})}))}}}]);
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.