"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[47814],{68331:(e,t,n)=>{n.r(t),n.d(t,{ANGULAR_TEMPLATE:()=>eJ,ASTRO_TEMPLATE:()=>eF,BackwardIcon:()=>G,CleanIcon:()=>K,CloseIcon:()=>er,CodeEditor:()=>tP,ConsoleIcon:()=>eo,DependenciesProgress:()=>nc,DirectoryIconClosed:()=>et,DirectoryIconOpen:()=>ee,ErrorOverlay:()=>t0,ExportIcon:()=>Q,FADE_ANIMATION_DURATION:()=>tZ,FileIcon:()=>en,FileTabs:()=>tg,ForwardIcon:()=>q,LoadingOverlay:()=>ni,Navigator:()=>ny,OpenInCodeSandboxButton:()=>t7,REACT_TEMPLATE:()=>eV,REACT_TYPESCRIPT_TEMPLATE:()=>eW,RefreshIcon:()=>X,RestartIcon:()=>W,RoundedButton:()=>tx,RunButton:()=>ty,RunIcon:()=>Y,SANDBOX_TEMPLATES:()=>e1,SANDPACK_THEMES:()=>ea,SOLID_TEMPLATE:()=>eY,SVELTE_TEMPLATE:()=>eG,Sandpack:()=>rR,SandpackCodeEditor:()=>tH,SandpackCodeViewer:()=>tB,SandpackConsole:()=>rF,SandpackConsumer:()=>tt,SandpackFileExplorer:()=>nh,SandpackLayout:()=>tz,SandpackPreview:()=>nC,SandpackProvider:()=>te,SandpackReactContext:()=>e9,SandpackStack:()=>tj,SandpackTests:()=>rp,SandpackThemeConsumer:()=>eM,SandpackThemeContext:()=>eO,SandpackThemeProvider:()=>eA,SandpackTranspiledCode:()=>nS,SignInIcon:()=>J,SignOutIcon:()=>V,TEST_TYPESCRIPT_TEMPLATE:()=>eq,UnstyledOpenInCodeSandboxButton:()=>t8,VANILLA_TEMPLATE:()=>eX,VANILLA_TYPESCRIPT_TEMPLATE:()=>eK,VUE_TEMPLATE:()=>eQ,defaultDark:()=>es,defaultLight:()=>ei,getSandpackCssText:()=>eg,layoutClassName:()=>t_,stackClassName:()=>tw,tabButton:()=>th,useActiveCode:()=>tr,useClassNames:()=>eS,useErrorMessage:()=>tU,useLoadingOverlayState:()=>tJ,useSandpack:()=>tn,useSandpackClient:()=>tY,useSandpackConsole:()=>rL,useSandpackNavigation:()=>tV,useSandpackPreviewProgress:()=>tX,useSandpackShell:()=>tG,useSandpackShellStdout:()=>tK,useSandpackTheme:()=>t$,useTranspiledCode:()=>tW});var r,o,i,s,a,c,l,d,u,p,f,m,v,h,g,x,b=n(87687),y=n(52751),w=n(58530),j=n(17024),$=n(15127),C=n(74437),k=n(2908),S=n(22285),N=n(38380),E=n(95151),O=n(66855),A=n(83619),M=n(51407),L=n(47362),F=n(41594),R=n(53225),T=n(86685),I=n(35126),D=n(76696),P=n(51188),H=function(){return(H=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function _(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{c(r.next(e))}catch(e){i(e)}}function a(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(s,a)}c((r=r.apply(e,t||[])).next())})}function z(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]Hello {data}\n\n'},".env":{code:'ASTRO_TELEMETRY_DISABLED="1"'},"/package.json":{code:JSON.stringify({dependencies:{astro:"^1.6.12","esbuild-wasm":"^0.15.16"},scripts:{dev:"astro dev",start:"astro dev",build:"astro build",preview:"astro preview",astro:"astro"}})}},main:"/src/pages/index.astro",environment:"node"},eR={files:H(H({},eL),{"/pages/_app.js":{code:"import '../styles.css'\n\nexport default function MyApp({ Component, pageProps }) {\n return \n}"},"/pages/index.js":{code:'export default function Home({ data }) {\n return (\n
\n

Hello {data}

\n
\n );\n}\n \nexport function getServerSideProps() {\n return {\n props: { data: "world" },\n }\n}\n'},"/next.config.js":{code:"/** @type {import('next').NextConfig} */\nconst nextConfig = {\n reactStrictMode: true,\n swcMinify: true,\n}\n\nmodule.exports = nextConfig\n"},"/package.json":{code:JSON.stringify({name:"my-app",version:"0.1.0",private:!0,scripts:{dev:"NEXT_TELEMETRY_DISABLED=1 next dev",build:"next build",start:"next start",lint:"next lint"},dependencies:{next:"12.1.6",react:"18.2.0","react-dom":"18.2.0","@next/swc-wasm-nodejs":"12.1.6"}})}}),main:"/pages/index.js",environment:"node"},eT={files:{"/index.js":{code:"const http = require('http');\n\nconst hostname = '127.0.0.1';\nconst port = 3000;\n\nconst server = http.createServer((req, res) => {\n res.statusCode = 200;\n res.setHeader('Content-Type', 'text/html');\n res.end('Hello world');\n});\n\nserver.listen(port, hostname, () => {\n console.log(`Server running at http://${hostname}:${port}/`);\n});"},"/package.json":{code:JSON.stringify({dependencies:{},scripts:{start:"node index.js"},main:"index.js"})}},main:"/index.js",environment:"node"},eI={files:H(H({},eL),{"/index.js":{code:'import "./styles.css";\n\ndocument.getElementById("app").innerHTML = `\n

Hello world

\n`;\n'},"/index.html":{code:'\n\n \n \n \n Vite App\n \n \n
\n