"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[26091],{30525:(e,t,n)=>{n.r(t),n.d(t,{ANGULAR_TEMPLATE:()=>eU,ASTRO_TEMPLATE:()=>eM,BackwardIcon:()=>q,CleanIcon:()=>K,CloseIcon:()=>er,CodeEditor:()=>tB,ConsoleIcon:()=>eo,DependenciesProgress:()=>np,DirectoryIconClosed:()=>et,DirectoryIconOpen:()=>ee,ErrorOverlay:()=>t3,ExportIcon:()=>Q,FADE_ANIMATION_DURATION:()=>tJ,FileIcon:()=>en,FileTabs:()=>tx,ForwardIcon:()=>G,LoadingOverlay:()=>nl,Navigator:()=>nC,OpenInCodeSandboxButton:()=>nn,REACT_TEMPLATE:()=>eW,REACT_TYPESCRIPT_TEMPLATE:()=>eZ,RefreshIcon:()=>X,RestartIcon:()=>V,RoundedButton:()=>ty,RunButton:()=>tj,RunIcon:()=>Y,SANDBOX_TEMPLATES:()=>eQ,SANDPACK_THEMES:()=>ea,SOLID_TEMPLATE:()=>eJ,SVELTE_TEMPLATE:()=>eV,Sandpack:()=>rP,SandpackCodeEditor:()=>t_,SandpackCodeViewer:()=>tz,SandpackConsole:()=>rD,SandpackConsumer:()=>tn,SandpackFileExplorer:()=>ny,SandpackLayout:()=>tW,SandpackPreview:()=>nE,SandpackProvider:()=>tt,SandpackReactContext:()=>te,SandpackStack:()=>tC,SandpackTests:()=>rh,SandpackThemeConsumer:()=>eO,SandpackThemeContext:()=>eN,SandpackThemeProvider:()=>eE,SandpackTranspiledCode:()=>nA,SignInIcon:()=>Z,SignOutIcon:()=>J,TEST_TYPESCRIPT_TEMPLATE:()=>eY,UnstyledOpenInCodeSandboxButton:()=>t9,VANILLA_TEMPLATE:()=>eq,VANILLA_TYPESCRIPT_TEMPLATE:()=>eG,VUE_TEMPLATE:()=>eX,defaultDark:()=>es,defaultLight:()=>ei,getSandpackCssText:()=>ev,layoutClassName:()=>tU,stackClassName:()=>t$,tabButton:()=>tb,useActiveCode:()=>to,useClassNames:()=>eC,useErrorMessage:()=>tZ,useLoadingOverlayState:()=>tV,useSandpack:()=>tr,useSandpackClient:()=>tG,useSandpackConsole:()=>rR,useSandpackNavigation:()=>tY,useSandpackPreviewProgress:()=>tQ,useSandpackShell:()=>tX,useSandpackShellStdout:()=>t0,useSandpackTheme:()=>tk,useTranspiledCode:()=>tq});var r,o,i,s,a,c,l,d,u,p,f,m,v,h,g,b,x=n(87687),y=n(52751),w=n(58530),j=n(17024),$=n(25505),C=n(47955),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),I=n(53225),T=n(86685),R=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"},eL={files:H(H({},eA),{"/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"},eF={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({},eA),{"/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