Created
December 13, 2023 00:56
-
-
Save PatrickJS/5fde6a44172946c034fd3cac0cf04448 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { o as ol, P as Pn, h as jn, g as gs, X as Xi, L as Ln, _ as __vitePreload, f as fe, v as ve } from "./q-gg-S9lY2QP2.js"; | |
const s_akSovCvkdhw = () => alert("hi!"); | |
const s_B0lqk5IDDy4 = () => { | |
const yo = ol("hi"); | |
return /* @__PURE__ */ Pn(Ln, { | |
children: [ | |
/* @__PURE__ */ jn("h1", null, null, "Hi 👋", 3, null), | |
/* @__PURE__ */ jn("div", null, null, [ | |
"Can't wait to see what you build with qwik!", | |
/* @__PURE__ */ jn("br", null, null, null, 3, null), | |
"Happy coding.", | |
/* @__PURE__ */ jn("div", null, { | |
style: { | |
height: "2000px" | |
} | |
}, "hi", 3, null), | |
/* @__PURE__ */ jn("button", { | |
onClick$: /* @__PURE__ */ gs(() => __vitePreload(() => Promise.resolve().then(() => entry_routes), true ? void 0 : void 0), "s_ZwC9YFmwAL4"), | |
// prettier-ignore | |
onKeyDown$: Xi(async (e) => { | |
if ("ArrowDown" === e.key) | |
e.preventDefault(); | |
}, 'async e=>{if("ArrowDown"===e.key){e.preventDefault();}}') | |
}, { | |
style: { | |
display: "block", | |
margin: "auto" | |
} | |
}, "I say hi!", 2, null), | |
/* @__PURE__ */ jn("button", { | |
onClick$: /* @__PURE__ */ gs(() => __vitePreload(() => Promise.resolve().then(() => entry_routes), true ? void 0 : void 0), "s_DoyrSvJDPUc"), | |
// prettier-ignore | |
onKeyDown$: Xi((e) => { | |
"ArrowDown" === e.key && e.preventDefault(); | |
}, 'e=>{"ArrowDown"===e.key&&e.preventDefault();}') | |
}, { | |
style: { | |
display: "block", | |
margin: "auto" | |
} | |
}, "I say hi!", 2, null), | |
/* @__PURE__ */ jn("button", { | |
onClick$: /* @__PURE__ */ gs(() => __vitePreload(() => Promise.resolve().then(() => entry_routes), true ? void 0 : void 0), "s_2jR3xvZsLIM"), | |
// prettier-ignore | |
onKeyDown$: Xi(() => console.log("hi"), '()=>console.log("hi")') | |
}, { | |
style: { | |
display: "block", | |
margin: "auto" | |
} | |
}, "I say hi!", 2, null), | |
/* @__PURE__ */ jn("button", { | |
onClick$: /* @__PURE__ */ gs(() => __vitePreload(() => Promise.resolve().then(() => entry_routes), true ? void 0 : void 0), "s_gM84p4NJQVg"), | |
// prettier-ignore | |
onKeyDown$: [ | |
Xi((e, el) => { | |
console.log("hu", e, el); | |
if ("ArrowDown" === e.key) | |
e.preventDefault(); | |
try { | |
yo.value = "yolo"; | |
} catch (e2) { | |
console.log(e2); | |
} | |
return "hi"; | |
}, '(e,el)=>{console.log("hu",e,el);if("ArrowDown"===e.key){e.preventDefault();}try{yo.value="yolo";}catch(e){console.log(e);}return"hi";}'), | |
/* @__PURE__ */ gs(() => __vitePreload(() => Promise.resolve().then(() => entry_routes), true ? void 0 : void 0), "s_Pm7ke8shgH8", [ | |
yo | |
]), | |
/* @__PURE__ */ gs(() => __vitePreload(() => Promise.resolve().then(() => entry_routes), true ? void 0 : void 0), "s_bi0QE7IdqkY") | |
] | |
}, { | |
style: { | |
display: "block", | |
margin: "auto" | |
} | |
}, "I say hi!", 2, null), | |
/* @__PURE__ */ jn("button", { | |
onClick$: /* @__PURE__ */ gs(() => __vitePreload(() => Promise.resolve().then(() => entry_routes), true ? void 0 : void 0), "s_IB4h7L2eejs"), | |
// prettier-ignore | |
onKeyDown$: Xi((e) => { | |
"ArrowDown" === e.key && e.preventDefault(); | |
}, 'e=>{"ArrowDown"===e.key&&e.preventDefault();}') | |
}, { | |
style: { | |
display: "block", | |
margin: "auto" | |
} | |
}, "I say hi!", 2, null), | |
/* @__PURE__ */ jn("button", { | |
onClick$: /* @__PURE__ */ gs(() => __vitePreload(() => Promise.resolve().then(() => entry_routes), true ? void 0 : void 0), "s_Q7hlTc7o1I0"), | |
// prettier-ignore | |
onKeyDown$: Xi((e) => { | |
console.log("hu"), "ArrowDown" === e.key && e.preventDefault(); | |
}, 'e=>{console.log("hu"),"ArrowDown"===e.key&&e.preventDefault();}') | |
}, { | |
style: { | |
display: "block", | |
margin: "auto" | |
} | |
}, "I say hi!", 2, null), | |
/* @__PURE__ */ jn("button", { | |
onClick$: /* @__PURE__ */ gs(() => __vitePreload(() => Promise.resolve().then(() => entry_routes), true ? void 0 : void 0), "s_0o0wk9Ay6ME"), | |
// prettier-ignore | |
onKeyDown$: Xi((e) => { | |
console.log("hu"), "ArrowDown" === e.key && e.preventDefault(); | |
}, 'e=>{console.log("hu"),"ArrowDown"===e.key&&e.preventDefault();}') | |
}, { | |
style: { | |
display: "block", | |
margin: "auto" | |
} | |
}, "I say hi!", 2, null), | |
/* @__PURE__ */ jn("button", { | |
onClick$: /* @__PURE__ */ gs(() => __vitePreload(() => Promise.resolve().then(() => entry_routes), true ? void 0 : void 0), "s_akSovCvkdhw"), | |
// prettier-ignore | |
onKeyDown$: Xi((e) => { | |
"ArrowDown" === e.key && e.preventDefault(); | |
}, 'e=>{"ArrowDown"===e.key&&e.preventDefault();}') | |
}, { | |
style: { | |
display: "block", | |
margin: "auto" | |
} | |
}, "I say hi!", 2, null), | |
/* @__PURE__ */ jn("div", null, { | |
style: { | |
height: "1500px" | |
} | |
}, null, 3, null) | |
], 1, null) | |
] | |
}, 1, "i8_0"); | |
}; | |
const s_IB4h7L2eejs = () => alert("hi!"); | |
const s_bi0QE7IdqkY = async (_evt, _el, _prevState) => { | |
console.log(_prevState); | |
return; | |
}; | |
const s_DoyrSvJDPUc = () => alert("hi!"); | |
const s_gM84p4NJQVg = () => alert("hi!"); | |
const s_Pm7ke8shgH8 = async (_evt, _el, _prevState) => { | |
const [yo] = fe(); | |
console.log(_prevState, yo.value); | |
yo.value = "yolo2"; | |
await new Promise((resolve) => setTimeout(resolve, 1e3)); | |
console.log(yo.value); | |
return "hi 2"; | |
}; | |
const s_2jR3xvZsLIM = () => alert("hi!"); | |
const s_Q7hlTc7o1I0 = () => alert("hi!"); | |
const s_ZwC9YFmwAL4 = () => alert("hi!"); | |
const s_0o0wk9Ay6ME = () => alert("hi!"); | |
const entry_routes = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | |
__proto__: null, | |
_hW: ve, | |
s_0o0wk9Ay6ME, | |
s_2jR3xvZsLIM, | |
s_B0lqk5IDDy4, | |
s_DoyrSvJDPUc, | |
s_IB4h7L2eejs, | |
s_Pm7ke8shgH8, | |
s_Q7hlTc7o1I0, | |
s_ZwC9YFmwAL4, | |
s_akSovCvkdhw, | |
s_bi0QE7IdqkY, | |
s_gM84p4NJQVg | |
}, Symbol.toStringTag, { value: "Module" })); | |
export { | |
ve as _hW, | |
s_0o0wk9Ay6ME, | |
s_2jR3xvZsLIM, | |
s_B0lqk5IDDy4, | |
s_DoyrSvJDPUc, | |
s_IB4h7L2eejs, | |
s_Pm7ke8shgH8, | |
s_Q7hlTc7o1I0, | |
s_ZwC9YFmwAL4, | |
s_akSovCvkdhw, | |
s_bi0QE7IdqkY, | |
s_gM84p4NJQVg | |
}; | |
function __vite__mapDeps(indexes) { | |
if (!__vite__mapDeps.viteFileDeps) { | |
__vite__mapDeps.viteFileDeps = [] | |
} | |
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment