System.register([__v__("/vendors.js")],(function(e,t){"use strict";var n,o,r,a,c,i,l,p,s,d,u,h;return{setters:[function(e){n=e.u,o=e.j,r=e.F,a=e.a,c=e.b,i=e._,l=e.c}],execute:function(){p=new __InlineContent__(".app{text-align:center}.app_logo{pointer-events:none;height:40vmin}@media (prefers-reduced-motion:no-preference){.app_logo{animation:20s linear infinite app_logo_spin}}.app_header{color:#fff;background-color:#282c34;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;font-size:calc(10px + 2vmin);display:flex}.app_link{color:#61dafb}@keyframes app_logo_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}button{font-size:calc(10px + 2vmin)}",{type:"text/css"}),(s=new CSSStyleSheet).replaceSync(p.text),d=()=>{const[e,t]=n(0);return o(r,{children:[a("button",{id:"counter_button",type:"button",onClick:()=>t((e=>e+1)),children:"Click me"}),a("br",{}),"number of click: ",a("span",{id:"counter_output",children:e})]})},u=new URL(__v__("/other/react_logo.svg"),t.meta.url),h=()=>(c((()=>(document.adoptedStyleSheets=[...document.adoptedStyleSheets,s],()=>{document.adoptedStyleSheets=document.adoptedStyleSheets.filter((e=>e!==s))})),[]),a("div",{className:"app",children:o("header",{className:"app_header",children:[a("img",{src:u,className:"app_logo",alt:"logo"}),a("p",{children:"Hello jsenv + React!"}),a("p",{children:a(d,{})}),o("p",{children:["Edit"," ",a("a",{className:"app_link",onClick:e=>{e.preventDefault(),window.fetch("/.internal/open_file/app/app.jsx")},children:"app.jsx"})," ","and save to test HMR updates."]}),a("p",{children:a("a",{className:"app_link",href:"https://github.com/jsenv/core",target:"_blank",rel:"noopener noreferrer",children:"Jsenv documentation"})})]})})),i.createRoot(document.querySelector("#root")).render(a(l.StrictMode,{children:a(h,{})}))}}}));