@qwik-custom-elements/adapter-stencil 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +420 -0
- package/dist/bundle-graph.json +1 -0
- package/dist/client/client-setup.d.ts +9 -0
- package/dist/client/client-setup.d.ts.map +1 -0
- package/dist/client/client-setup.test.d.ts +2 -0
- package/dist/client/client-setup.test.d.ts.map +1 -0
- package/dist/client/index.cjs +1 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +6 -0
- package/dist/client/stencil-csr-props.d.ts +2 -0
- package/dist/client/stencil-csr-props.d.ts.map +1 -0
- package/dist/client/stencil-csr-props.test.d.ts +2 -0
- package/dist/client/stencil-csr-props.test.d.ts.map +1 -0
- package/dist/client/stencil-csr.d.ts +10 -0
- package/dist/client/stencil-csr.d.ts.map +1 -0
- package/dist/client-setup-C_qW_ZSR.cjs +1 -0
- package/dist/client-setup-D-ffVtNL.js +53 -0
- package/dist/client-setup.ts_createStencilClientSetup_runSetup_6wDTmOSdSbc-CPKK-h2J.js +11 -0
- package/dist/client-setup.ts_createStencilClientSetup_runSetup_6wDTmOSdSbc-Dz0z3zer.cjs +1 -0
- package/dist/core.min-Qm7Mxv6F.js +1846 -0
- package/dist/core.min-vJ4M2jcU.cjs +2 -0
- package/dist/index.d.ts +84 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.qwik.cjs +8 -0
- package/dist/index.qwik.mjs +364 -0
- package/dist/index.test.d.ts +2 -0
- package/dist/index.test.d.ts.map +1 -0
- package/dist/preloader-Bietv0BS.js +118 -0
- package/dist/preloader-Cqc--uBU.cjs +1 -0
- package/dist/q-manifest.json +381 -0
- package/dist/qwikloader-C01zMTOC.js +102 -0
- package/dist/qwikloader-vFGnpgvG.cjs +2 -0
- package/dist/ssr/element-props-utils.d.ts +10 -0
- package/dist/ssr/element-props-utils.d.ts.map +1 -0
- package/dist/ssr/element-props-utils.test.d.ts +2 -0
- package/dist/ssr/element-props-utils.test.d.ts.map +1 -0
- package/dist/ssr/index.cjs +1 -0
- package/dist/ssr/index.d.ts +5 -0
- package/dist/ssr/index.d.ts.map +1 -0
- package/dist/ssr/index.js +29 -0
- package/dist/ssr/model.d.ts +49 -0
- package/dist/ssr/model.d.ts.map +1 -0
- package/dist/ssr/stencil-ssr.d.ts +14 -0
- package/dist/ssr/stencil-ssr.d.ts.map +1 -0
- package/dist/ssr/styles-core.d.ts +29 -0
- package/dist/ssr/styles-core.d.ts.map +1 -0
- package/dist/ssr/styles-core.test.d.ts +2 -0
- package/dist/ssr/styles-core.test.d.ts.map +1 -0
- package/dist/stencil-csr-B1U9s3VQ.js +24 -0
- package/dist/stencil-csr-D6zt1Am9.cjs +1 -0
- package/dist/stencil-csr.tsx_createStencilCSRComponent_component_pD3ekIZcUT0-ChAZ0hL3.js +37 -0
- package/dist/stencil-csr.tsx_createStencilCSRComponent_component_pD3ekIZcUT0-cGN__hqm.cjs +1 -0
- package/dist/stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_1_dqWPXf9eNnk-BYiBxXW-.js +34 -0
- package/dist/stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_1_dqWPXf9eNnk-sFN0uMI_.cjs +1 -0
- package/dist/stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_y00qkhhKua8-BSsN2V78.cjs +1 -0
- package/dist/stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_y00qkhhKua8-CF00O7hf.js +19 -0
- package/dist/stencil-ssr-BHjT94rd.js +118 -0
- package/dist/stencil-ssr-UlYtcG0-.cjs +1 -0
- package/dist/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_IlVdOHKZfN0-46y8eTjO.cjs +1 -0
- package/dist/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_IlVdOHKZfN0-BfqXBofh.js +42 -0
- package/dist/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useOnDocument_bvALMlewx7Q-DA73DRke.cjs +1 -0
- package/dist/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useOnDocument_bvALMlewx7Q-DdcskN1z.js +10 -0
- package/dist/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_1_aXg7AuatGTc-61dSP-JG.cjs +1 -0
- package/dist/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_1_aXg7AuatGTc-Byrz3fUp.js +34 -0
- package/dist/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_IH8I3eLdwI0-BtIygb8E.js +12 -0
- package/dist/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_IH8I3eLdwI0-DNQBT8Vc.cjs +1 -0
- package/package.json +53 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
const f = document, I = "modulepreload", _ = "preload", u = { t: 0, o: 25, l: 0.65 }, x = f.createElement("link").relList.supports(I) ? I : _, k = Date.now(), v = /\.[mc]?js$/, B = 0, L = 1, m = 2, Q = 3, j = 4, h = /* @__PURE__ */ new Map();
|
|
2
|
+
let g, p = 0;
|
|
3
|
+
const i = [], d = (...t) => {
|
|
4
|
+
console.log(`Preloader ${Date.now() - k}ms ${p}/${i.length} queued>`, ...t);
|
|
5
|
+
}, A = () => {
|
|
6
|
+
g && (i.sort((t, n) => t.u - n.u), g = 0);
|
|
7
|
+
}, S = () => {
|
|
8
|
+
if (i.length) {
|
|
9
|
+
for (A(); i.length; ) {
|
|
10
|
+
const t = i[0], e = 1 - t.u, o = c ? u.o : (
|
|
11
|
+
// While the graph is not available, we limit to 5 preloads
|
|
12
|
+
5
|
|
13
|
+
);
|
|
14
|
+
if (e >= 0.99 || p < o)
|
|
15
|
+
i.shift(), C(t);
|
|
16
|
+
else break;
|
|
17
|
+
}
|
|
18
|
+
if (u.t && !i.length) {
|
|
19
|
+
const t = [...h.values()].filter((o) => o.i > B), n = t.reduce((o, s) => o + s.p, 0), e = t.reduce((o, s) => o + s.$, 0);
|
|
20
|
+
d(`>>>> done ${t.length}/${h.size} total: ${n}ms waited, ${e}ms loaded`);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}, C = (t) => {
|
|
24
|
+
if (t.i >= m) return;
|
|
25
|
+
p++;
|
|
26
|
+
const n = Date.now();
|
|
27
|
+
t.p = n - t.m, t.i = m, u.t && d(`<< load ${Math.round((1 - t.u) * 100)}% after ${`${t.p}ms`}`, t.B);
|
|
28
|
+
const e = f.createElement("link");
|
|
29
|
+
e.href = new URL(`${b}${t.B}`, f.baseURI).toString(), e.rel = x, e.as = "script", e.onload = e.onerror = () => {
|
|
30
|
+
p--;
|
|
31
|
+
const o = Date.now();
|
|
32
|
+
t.$ = o - n, t.i = j, u.t && d(`>> done after ${t.$}ms`, t.B), e.remove(), S();
|
|
33
|
+
}, f.head.appendChild(e);
|
|
34
|
+
}, w = (t, n, e) => {
|
|
35
|
+
if (e?.has(t)) return;
|
|
36
|
+
const o = t.u;
|
|
37
|
+
if (t.u = n, !(o - t.u < 0.01) && // don't queue until we have initialized the preloader
|
|
38
|
+
(b != null && t.i < m && (t.i === B && (t.i = L, i.push(t), u.t && d(`queued ${Math.round((1 - t.u) * 100)}%`, t.B)), g = 1), t.h)) {
|
|
39
|
+
e || (e = /* @__PURE__ */ new Set()), e.add(t);
|
|
40
|
+
const s = 1 - t.u;
|
|
41
|
+
for (const l of t.h) {
|
|
42
|
+
const r = q(l.B);
|
|
43
|
+
if (r.u === 0) continue;
|
|
44
|
+
let a;
|
|
45
|
+
if (s === 1 || s >= 0.99 && $ < 100)
|
|
46
|
+
$++, a = Math.min(0.01, 1 - l.S);
|
|
47
|
+
else {
|
|
48
|
+
const M = 1 - l.S * s, P = l.q, y = M / P;
|
|
49
|
+
a = Math.max(0.02, r.u * y), l.q = y;
|
|
50
|
+
}
|
|
51
|
+
w(r, a, e);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}, D = (t, n) => {
|
|
55
|
+
const e = q(t);
|
|
56
|
+
e && e.u > n && w(e, n);
|
|
57
|
+
};
|
|
58
|
+
let $;
|
|
59
|
+
const E = (t, n) => {
|
|
60
|
+
if (!t?.length) return;
|
|
61
|
+
$ = 0;
|
|
62
|
+
let e = n ? 1 - n : 0.4;
|
|
63
|
+
if (Array.isArray(t)) for (let o = t.length - 1; o >= 0; o--) {
|
|
64
|
+
const s = t[o];
|
|
65
|
+
typeof s == "number" ? e = 1 - s / 10 : D(s, e);
|
|
66
|
+
}
|
|
67
|
+
else D(t, e);
|
|
68
|
+
S();
|
|
69
|
+
};
|
|
70
|
+
document.addEventListener("qsymbol", (t) => {
|
|
71
|
+
const { symbol: n, href: e } = t.detail;
|
|
72
|
+
if (e) {
|
|
73
|
+
const o = n.slice(n.lastIndexOf("_") + 1);
|
|
74
|
+
E(o, 1);
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
let b, c;
|
|
78
|
+
const G = (t, n) => ({ B: t, i: v.test(t) ? B : Q, h: n, u: 1, m: Date.now(), p: 0, $: 0 }), O = (t) => {
|
|
79
|
+
const n = /* @__PURE__ */ new Map();
|
|
80
|
+
let e = 0;
|
|
81
|
+
for (; e < t.length; ) {
|
|
82
|
+
const o = t[e++], s = [];
|
|
83
|
+
let l, r = 1;
|
|
84
|
+
for (; l = t[e], typeof l == "number"; )
|
|
85
|
+
l < 0 ? r = -l / 10 : s.push({ B: t[l], S: r, q: 1 }), e++;
|
|
86
|
+
n.set(o, s);
|
|
87
|
+
}
|
|
88
|
+
return n;
|
|
89
|
+
}, q = (t) => {
|
|
90
|
+
let n = h.get(t);
|
|
91
|
+
if (!n) {
|
|
92
|
+
let e;
|
|
93
|
+
if (c) {
|
|
94
|
+
if (e = c.get(t), !e) return;
|
|
95
|
+
e.length || (e = void 0);
|
|
96
|
+
}
|
|
97
|
+
n = G(t, e), h.set(t, n);
|
|
98
|
+
}
|
|
99
|
+
return n;
|
|
100
|
+
}, R = (t, n, e) => {
|
|
101
|
+
e && ("d" in e && (u.t = !!e.d), "P" in e && (u.o = e.P), "Q" in e && (u.l = 1 - e.Q)), t != null && (b = t, n && n.then((o) => o.text()).then((o) => {
|
|
102
|
+
c = O(JSON.parse(o));
|
|
103
|
+
const s = [];
|
|
104
|
+
for (const [l, r] of c.entries()) {
|
|
105
|
+
const a = q(l);
|
|
106
|
+
a.h = r, a.u < 1 && (s.push([a, a.u]), a.u = 1);
|
|
107
|
+
}
|
|
108
|
+
u.t && d(`parseBundleGraph got ${c.size} bundles, adjusting ${s.length}`);
|
|
109
|
+
for (const [l, r] of s) w(l, r);
|
|
110
|
+
S();
|
|
111
|
+
}).catch(console.warn));
|
|
112
|
+
};
|
|
113
|
+
export {
|
|
114
|
+
O as g,
|
|
115
|
+
D as h,
|
|
116
|
+
R as l,
|
|
117
|
+
E as p
|
|
118
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=document,M="modulepreload",j="preload",i={t:0,o:25,l:.65},k=f.createElement("link").relList.supports(M)?M:j,x=Date.now(),L=/\.[mc]?js$/,S=0,O=1,m=2,Q=3,A=4,h=new Map;let g,p=0;const c=[],d=(...t)=>{console.log(`Preloader ${Date.now()-x}ms ${p}/${c.length} queued>`,...t)},C=()=>{g&&(c.sort((t,n)=>t.u-n.u),g=0)},w=()=>{if(c.length){for(C();c.length;){const t=c[0],e=1-t.u,o=a?i.o:5;if(e>=.99||p<o)c.shift(),E(t);else break}if(i.t&&!c.length){const t=[...h.values()].filter(o=>o.i>S),n=t.reduce((o,s)=>o+s.p,0),e=t.reduce((o,s)=>o+s.$,0);d(`>>>> done ${t.length}/${h.size} total: ${n}ms waited, ${e}ms loaded`)}}},E=t=>{if(t.i>=m)return;p++;const n=Date.now();t.p=n-t.m,t.i=m,i.t&&d(`<< load ${Math.round((1-t.u)*100)}% after ${`${t.p}ms`}`,t.B);const e=f.createElement("link");e.href=new URL(`${y}${t.B}`,f.baseURI).toString(),e.rel=k,e.as="script",e.onload=e.onerror=()=>{p--;const o=Date.now();t.$=o-n,t.i=A,i.t&&d(`>> done after ${t.$}ms`,t.B),e.remove(),w()},f.head.appendChild(e)},b=(t,n,e)=>{if(e?.has(t))return;const o=t.u;if(t.u=n,!(o-t.u<.01)&&(y!=null&&t.i<m&&(t.i===S&&(t.i=O,c.push(t),i.t&&d(`queued ${Math.round((1-t.u)*100)}%`,t.B)),g=1),t.h)){e||(e=new Set),e.add(t);const s=1-t.u;for(const l of t.h){const r=q(l.B);if(r.u===0)continue;let u;if(s===1||s>=.99&&B<100)B++,u=Math.min(.01,1-l.S);else{const _=1-l.S*s,v=l.q,I=_/v;u=Math.max(.02,r.u*I),l.q=I}b(r,u,e)}}},$=(t,n)=>{const e=q(t);e&&e.u>n&&b(e,n)};let B;const P=(t,n)=>{if(!t?.length)return;B=0;let e=n?1-n:.4;if(Array.isArray(t))for(let o=t.length-1;o>=0;o--){const s=t[o];typeof s=="number"?e=1-s/10:$(s,e)}else $(t,e);w()};document.addEventListener("qsymbol",t=>{const{symbol:n,href:e}=t.detail;if(e){const o=n.slice(n.lastIndexOf("_")+1);P(o,1)}});let y,a;const G=(t,n)=>({B:t,i:L.test(t)?S:Q,h:n,u:1,m:Date.now(),p:0,$:0}),D=t=>{const n=new Map;let e=0;for(;e<t.length;){const o=t[e++],s=[];let l,r=1;for(;l=t[e],typeof l=="number";)l<0?r=-l/10:s.push({B:t[l],S:r,q:1}),e++;n.set(o,s)}return n},q=t=>{let n=h.get(t);if(!n){let e;if(a){if(e=a.get(t),!e)return;e.length||(e=void 0)}n=G(t,e),h.set(t,n)}return n},R=(t,n,e)=>{e&&("d"in e&&(i.t=!!e.d),"P"in e&&(i.o=e.P),"Q"in e&&(i.l=1-e.Q)),t!=null&&(y=t,n&&n.then(o=>o.text()).then(o=>{a=D(JSON.parse(o));const s=[];for(const[l,r]of a.entries()){const u=q(l);u.h=r,u.u<1&&(s.push([u,u.u]),u.u=1)}i.t&&d(`parseBundleGraph got ${a.size} bundles, adjusting ${s.length}`);for(const[l,r]of s)b(l,r);w()}).catch(console.warn))};exports.g=D;exports.h=$;exports.l=R;exports.p=P;
|
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1",
|
|
3
|
+
"manifestHash": "1jtivu",
|
|
4
|
+
"options": {
|
|
5
|
+
"target": "client",
|
|
6
|
+
"buildMode": "production",
|
|
7
|
+
"entryStrategy": {
|
|
8
|
+
"type": "smart"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"core": "../core.min-vJ4M2jcU.cjs",
|
|
12
|
+
"preloader": "../preloader-Cqc--uBU.cjs",
|
|
13
|
+
"bundleGraphAsset": "bundle-graph.json",
|
|
14
|
+
"injections": [],
|
|
15
|
+
"mapping": {
|
|
16
|
+
"s_IH8I3eLdwI0": "../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_IH8I3eLdwI0-DNQBT8Vc.cjs",
|
|
17
|
+
"s_aXg7AuatGTc": "../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_1_aXg7AuatGTc-61dSP-JG.cjs",
|
|
18
|
+
"s_dqWPXf9eNnk": "../stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_1_dqWPXf9eNnk-sFN0uMI_.cjs",
|
|
19
|
+
"s_y00qkhhKua8": "../stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_y00qkhhKua8-BSsN2V78.cjs",
|
|
20
|
+
"s_IlVdOHKZfN0": "../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_IlVdOHKZfN0-46y8eTjO.cjs",
|
|
21
|
+
"s_pD3ekIZcUT0": "../stencil-csr.tsx_createStencilCSRComponent_component_pD3ekIZcUT0-cGN__hqm.cjs",
|
|
22
|
+
"s_6wDTmOSdSbc": "../client-setup.ts_createStencilClientSetup_runSetup_6wDTmOSdSbc-Dz0z3zer.cjs",
|
|
23
|
+
"s_bvALMlewx7Q": "../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useOnDocument_bvALMlewx7Q-DA73DRke.cjs"
|
|
24
|
+
},
|
|
25
|
+
"bundles": {
|
|
26
|
+
"../client-setup-C_qW_ZSR.cjs": {
|
|
27
|
+
"size": 1305,
|
|
28
|
+
"total": 48933,
|
|
29
|
+
"imports": [
|
|
30
|
+
"../core.min-vJ4M2jcU.cjs"
|
|
31
|
+
],
|
|
32
|
+
"dynamicImports": [
|
|
33
|
+
"../client-setup.ts_createStencilClientSetup_runSetup_6wDTmOSdSbc-Dz0z3zer.cjs"
|
|
34
|
+
],
|
|
35
|
+
"origins": [
|
|
36
|
+
"src/client/client-setup.ts"
|
|
37
|
+
],
|
|
38
|
+
"interactivity": 0
|
|
39
|
+
},
|
|
40
|
+
"../client-setup.ts_createStencilClientSetup_runSetup_6wDTmOSdSbc-Dz0z3zer.cjs": {
|
|
41
|
+
"size": 276,
|
|
42
|
+
"total": 96837,
|
|
43
|
+
"imports": [
|
|
44
|
+
"../client-setup-C_qW_ZSR.cjs",
|
|
45
|
+
"../core.min-vJ4M2jcU.cjs"
|
|
46
|
+
],
|
|
47
|
+
"origins": [
|
|
48
|
+
"src/client/client-setup.ts_createStencilClientSetup_runSetup_6wDTmOSdSbc.js"
|
|
49
|
+
],
|
|
50
|
+
"symbols": [
|
|
51
|
+
"s_6wDTmOSdSbc"
|
|
52
|
+
],
|
|
53
|
+
"interactivity": 1
|
|
54
|
+
},
|
|
55
|
+
"../client/index.cjs": {
|
|
56
|
+
"size": 292,
|
|
57
|
+
"total": 97490,
|
|
58
|
+
"imports": [
|
|
59
|
+
"../client-setup-C_qW_ZSR.cjs",
|
|
60
|
+
"../stencil-csr-D6zt1Am9.cjs"
|
|
61
|
+
],
|
|
62
|
+
"origins": [
|
|
63
|
+
"src/client/index.ts"
|
|
64
|
+
],
|
|
65
|
+
"interactivity": 0
|
|
66
|
+
},
|
|
67
|
+
"../core.min-vJ4M2jcU.cjs": {
|
|
68
|
+
"size": 47628,
|
|
69
|
+
"total": 47628,
|
|
70
|
+
"origins": [
|
|
71
|
+
"../../node_modules/.pnpm/@builder.io+qwik@1.19.2_vite@7.3.1_@types+node@24.12.2_jiti@2.6.1_less@4.6.4_sass-embed_54598029890757b54ef2be1db2d0e489/node_modules/@builder.io/qwik/dist/core.min.mjs"
|
|
72
|
+
],
|
|
73
|
+
"interactivity": 0
|
|
74
|
+
},
|
|
75
|
+
"../index.qwik.cjs": {
|
|
76
|
+
"size": 10042,
|
|
77
|
+
"total": 10042,
|
|
78
|
+
"origins": [
|
|
79
|
+
"src/index.ts"
|
|
80
|
+
],
|
|
81
|
+
"interactivity": 0
|
|
82
|
+
},
|
|
83
|
+
"../preloader-Cqc--uBU.cjs": {
|
|
84
|
+
"size": 2585,
|
|
85
|
+
"total": 2585,
|
|
86
|
+
"origins": [
|
|
87
|
+
"../../node_modules/.pnpm/@builder.io+qwik@1.19.2_vite@7.3.1_@types+node@24.12.2_jiti@2.6.1_less@4.6.4_sass-embed_54598029890757b54ef2be1db2d0e489/node_modules/@builder.io/qwik/dist/preloader.mjs"
|
|
88
|
+
],
|
|
89
|
+
"interactivity": 0
|
|
90
|
+
},
|
|
91
|
+
"../qwikloader-vFGnpgvG.cjs": {
|
|
92
|
+
"size": 3113,
|
|
93
|
+
"total": 3113,
|
|
94
|
+
"origins": [
|
|
95
|
+
"../../node_modules/.pnpm/@builder.io+qwik@1.19.2_vite@7.3.1_@types+node@24.12.2_jiti@2.6.1_less@4.6.4_sass-embed_54598029890757b54ef2be1db2d0e489/node_modules/@builder.io/qwik/dist/qwikloader.js"
|
|
96
|
+
],
|
|
97
|
+
"interactivity": 0
|
|
98
|
+
},
|
|
99
|
+
"../ssr/index.cjs": {
|
|
100
|
+
"size": 1127,
|
|
101
|
+
"total": 51273,
|
|
102
|
+
"imports": [
|
|
103
|
+
"../stencil-ssr-UlYtcG0-.cjs"
|
|
104
|
+
],
|
|
105
|
+
"origins": [
|
|
106
|
+
"src/ssr/element-props-utils.ts",
|
|
107
|
+
"src/ssr/index.ts"
|
|
108
|
+
],
|
|
109
|
+
"interactivity": 0
|
|
110
|
+
},
|
|
111
|
+
"../stencil-csr-D6zt1Am9.cjs": {
|
|
112
|
+
"size": 637,
|
|
113
|
+
"total": 48265,
|
|
114
|
+
"imports": [
|
|
115
|
+
"../core.min-vJ4M2jcU.cjs"
|
|
116
|
+
],
|
|
117
|
+
"dynamicImports": [
|
|
118
|
+
"../stencil-csr.tsx_createStencilCSRComponent_component_pD3ekIZcUT0-cGN__hqm.cjs"
|
|
119
|
+
],
|
|
120
|
+
"origins": [
|
|
121
|
+
"src/client/stencil-csr.tsx"
|
|
122
|
+
],
|
|
123
|
+
"interactivity": 0
|
|
124
|
+
},
|
|
125
|
+
"../stencil-csr.tsx_createStencilCSRComponent_component_pD3ekIZcUT0-cGN__hqm.cjs": {
|
|
126
|
+
"size": 768,
|
|
127
|
+
"total": 48396,
|
|
128
|
+
"imports": [
|
|
129
|
+
"../core.min-vJ4M2jcU.cjs"
|
|
130
|
+
],
|
|
131
|
+
"dynamicImports": [
|
|
132
|
+
"../stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_1_dqWPXf9eNnk-sFN0uMI_.cjs",
|
|
133
|
+
"../stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_y00qkhhKua8-BSsN2V78.cjs"
|
|
134
|
+
],
|
|
135
|
+
"origins": [
|
|
136
|
+
"src/client/stencil-csr.tsx_createStencilCSRComponent_component_pD3ekIZcUT0.js"
|
|
137
|
+
],
|
|
138
|
+
"symbols": [
|
|
139
|
+
"s_pD3ekIZcUT0"
|
|
140
|
+
],
|
|
141
|
+
"interactivity": 2
|
|
142
|
+
},
|
|
143
|
+
"../stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_1_dqWPXf9eNnk-sFN0uMI_.cjs": {
|
|
144
|
+
"size": 728,
|
|
145
|
+
"total": 96621,
|
|
146
|
+
"imports": [
|
|
147
|
+
"../core.min-vJ4M2jcU.cjs",
|
|
148
|
+
"../stencil-csr-D6zt1Am9.cjs"
|
|
149
|
+
],
|
|
150
|
+
"origins": [
|
|
151
|
+
"src/client/stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_1_dqWPXf9eNnk.js"
|
|
152
|
+
],
|
|
153
|
+
"symbols": [
|
|
154
|
+
"s_dqWPXf9eNnk"
|
|
155
|
+
],
|
|
156
|
+
"interactivity": 3
|
|
157
|
+
},
|
|
158
|
+
"../stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_y00qkhhKua8-BSsN2V78.cjs": {
|
|
159
|
+
"size": 393,
|
|
160
|
+
"total": 48021,
|
|
161
|
+
"imports": [
|
|
162
|
+
"../core.min-vJ4M2jcU.cjs"
|
|
163
|
+
],
|
|
164
|
+
"origins": [
|
|
165
|
+
"src/client/stencil-csr-props.ts",
|
|
166
|
+
"src/client/stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_y00qkhhKua8.js"
|
|
167
|
+
],
|
|
168
|
+
"symbols": [
|
|
169
|
+
"s_y00qkhhKua8"
|
|
170
|
+
],
|
|
171
|
+
"interactivity": 3
|
|
172
|
+
},
|
|
173
|
+
"../stencil-ssr-UlYtcG0-.cjs": {
|
|
174
|
+
"size": 2518,
|
|
175
|
+
"total": 50146,
|
|
176
|
+
"imports": [
|
|
177
|
+
"../core.min-vJ4M2jcU.cjs"
|
|
178
|
+
],
|
|
179
|
+
"dynamicImports": [
|
|
180
|
+
"../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_IlVdOHKZfN0-46y8eTjO.cjs"
|
|
181
|
+
],
|
|
182
|
+
"origins": [
|
|
183
|
+
"src/ssr/stencil-ssr.tsx",
|
|
184
|
+
"src/ssr/styles-core.ts"
|
|
185
|
+
],
|
|
186
|
+
"interactivity": 0
|
|
187
|
+
},
|
|
188
|
+
"../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_IlVdOHKZfN0-46y8eTjO.cjs": {
|
|
189
|
+
"size": 1022,
|
|
190
|
+
"total": 48650,
|
|
191
|
+
"imports": [
|
|
192
|
+
"../core.min-vJ4M2jcU.cjs"
|
|
193
|
+
],
|
|
194
|
+
"dynamicImports": [
|
|
195
|
+
"../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useOnDocument_bvALMlewx7Q-DA73DRke.cjs",
|
|
196
|
+
"../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_1_aXg7AuatGTc-61dSP-JG.cjs",
|
|
197
|
+
"../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_IH8I3eLdwI0-DNQBT8Vc.cjs"
|
|
198
|
+
],
|
|
199
|
+
"origins": [
|
|
200
|
+
"src/ssr/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_IlVdOHKZfN0.js"
|
|
201
|
+
],
|
|
202
|
+
"symbols": [
|
|
203
|
+
"s_IlVdOHKZfN0"
|
|
204
|
+
],
|
|
205
|
+
"interactivity": 2
|
|
206
|
+
},
|
|
207
|
+
"../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useOnDocument_bvALMlewx7Q-DA73DRke.cjs": {
|
|
208
|
+
"size": 200,
|
|
209
|
+
"total": 47828,
|
|
210
|
+
"imports": [
|
|
211
|
+
"../core.min-vJ4M2jcU.cjs"
|
|
212
|
+
],
|
|
213
|
+
"origins": [
|
|
214
|
+
"src/ssr/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useOnDocument_bvALMlewx7Q.js"
|
|
215
|
+
],
|
|
216
|
+
"symbols": [
|
|
217
|
+
"s_bvALMlewx7Q"
|
|
218
|
+
],
|
|
219
|
+
"interactivity": 1
|
|
220
|
+
},
|
|
221
|
+
"../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_1_aXg7AuatGTc-61dSP-JG.cjs": {
|
|
222
|
+
"size": 805,
|
|
223
|
+
"total": 98579,
|
|
224
|
+
"imports": [
|
|
225
|
+
"../core.min-vJ4M2jcU.cjs",
|
|
226
|
+
"../stencil-ssr-UlYtcG0-.cjs"
|
|
227
|
+
],
|
|
228
|
+
"origins": [
|
|
229
|
+
"src/ssr/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_1_aXg7AuatGTc.js"
|
|
230
|
+
],
|
|
231
|
+
"symbols": [
|
|
232
|
+
"s_aXg7AuatGTc"
|
|
233
|
+
],
|
|
234
|
+
"interactivity": 3
|
|
235
|
+
},
|
|
236
|
+
"../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_IH8I3eLdwI0-DNQBT8Vc.cjs": {
|
|
237
|
+
"size": 390,
|
|
238
|
+
"total": 149437,
|
|
239
|
+
"imports": [
|
|
240
|
+
"../core.min-vJ4M2jcU.cjs",
|
|
241
|
+
"../ssr/index.cjs",
|
|
242
|
+
"../stencil-ssr-UlYtcG0-.cjs"
|
|
243
|
+
],
|
|
244
|
+
"origins": [
|
|
245
|
+
"src/ssr/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_IH8I3eLdwI0.js"
|
|
246
|
+
],
|
|
247
|
+
"symbols": [
|
|
248
|
+
"s_IH8I3eLdwI0"
|
|
249
|
+
],
|
|
250
|
+
"interactivity": 3
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"assets": {
|
|
254
|
+
"bundle-graph.json": {
|
|
255
|
+
"name": "bundle-graph.json",
|
|
256
|
+
"size": 66
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"symbols": {
|
|
260
|
+
"s_IH8I3eLdwI0": {
|
|
261
|
+
"displayName": "stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask",
|
|
262
|
+
"hash": "IH8I3eLdwI0",
|
|
263
|
+
"ctxKind": "function",
|
|
264
|
+
"ctxName": "useTask$",
|
|
265
|
+
"captures": true,
|
|
266
|
+
"canonicalFilename": "stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_IH8I3eLdwI0",
|
|
267
|
+
"parent": "s_IlVdOHKZfN0",
|
|
268
|
+
"origin": "ssr/stencil-ssr.tsx",
|
|
269
|
+
"loc": [
|
|
270
|
+
6564,
|
|
271
|
+
6866
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
"s_aXg7AuatGTc": {
|
|
275
|
+
"displayName": "stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_1",
|
|
276
|
+
"hash": "aXg7AuatGTc",
|
|
277
|
+
"ctxKind": "function",
|
|
278
|
+
"ctxName": "useTask$",
|
|
279
|
+
"captures": true,
|
|
280
|
+
"canonicalFilename": "stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_1_aXg7AuatGTc",
|
|
281
|
+
"parent": "s_IlVdOHKZfN0",
|
|
282
|
+
"origin": "ssr/stencil-ssr.tsx",
|
|
283
|
+
"loc": [
|
|
284
|
+
6885,
|
|
285
|
+
8472
|
|
286
|
+
]
|
|
287
|
+
},
|
|
288
|
+
"s_dqWPXf9eNnk": {
|
|
289
|
+
"displayName": "stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_1",
|
|
290
|
+
"hash": "dqWPXf9eNnk",
|
|
291
|
+
"ctxKind": "function",
|
|
292
|
+
"ctxName": "useVisibleTask$",
|
|
293
|
+
"captures": true,
|
|
294
|
+
"canonicalFilename": "stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_1_dqWPXf9eNnk",
|
|
295
|
+
"parent": "s_pD3ekIZcUT0",
|
|
296
|
+
"origin": "client/stencil-csr.tsx",
|
|
297
|
+
"loc": [
|
|
298
|
+
1790,
|
|
299
|
+
3165
|
|
300
|
+
]
|
|
301
|
+
},
|
|
302
|
+
"s_y00qkhhKua8": {
|
|
303
|
+
"displayName": "stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask",
|
|
304
|
+
"hash": "y00qkhhKua8",
|
|
305
|
+
"ctxKind": "function",
|
|
306
|
+
"ctxName": "useVisibleTask$",
|
|
307
|
+
"captures": true,
|
|
308
|
+
"canonicalFilename": "stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_y00qkhhKua8",
|
|
309
|
+
"parent": "s_pD3ekIZcUT0",
|
|
310
|
+
"origin": "client/stencil-csr.tsx",
|
|
311
|
+
"loc": [
|
|
312
|
+
1588,
|
|
313
|
+
1764
|
|
314
|
+
]
|
|
315
|
+
},
|
|
316
|
+
"s_IlVdOHKZfN0": {
|
|
317
|
+
"displayName": "stencil-ssr.tsx_createStencilSSRBridgeComponent_component",
|
|
318
|
+
"hash": "IlVdOHKZfN0",
|
|
319
|
+
"ctxKind": "function",
|
|
320
|
+
"ctxName": "component$",
|
|
321
|
+
"captures": true,
|
|
322
|
+
"canonicalFilename": "stencil-ssr.tsx_createStencilSSRBridgeComponent_component_IlVdOHKZfN0",
|
|
323
|
+
"parent": null,
|
|
324
|
+
"origin": "ssr/stencil-ssr.tsx",
|
|
325
|
+
"loc": [
|
|
326
|
+
6021,
|
|
327
|
+
11953
|
|
328
|
+
]
|
|
329
|
+
},
|
|
330
|
+
"s_pD3ekIZcUT0": {
|
|
331
|
+
"displayName": "stencil-csr.tsx_createStencilCSRComponent_component",
|
|
332
|
+
"hash": "pD3ekIZcUT0",
|
|
333
|
+
"ctxKind": "function",
|
|
334
|
+
"ctxName": "component$",
|
|
335
|
+
"captures": false,
|
|
336
|
+
"canonicalFilename": "stencil-csr.tsx_createStencilCSRComponent_component_pD3ekIZcUT0",
|
|
337
|
+
"parent": null,
|
|
338
|
+
"origin": "client/stencil-csr.tsx",
|
|
339
|
+
"loc": [
|
|
340
|
+
1424,
|
|
341
|
+
3512
|
|
342
|
+
]
|
|
343
|
+
},
|
|
344
|
+
"s_6wDTmOSdSbc": {
|
|
345
|
+
"displayName": "client-setup.ts_createStencilClientSetup_runSetup",
|
|
346
|
+
"hash": "6wDTmOSdSbc",
|
|
347
|
+
"ctxKind": "function",
|
|
348
|
+
"ctxName": "$",
|
|
349
|
+
"captures": true,
|
|
350
|
+
"canonicalFilename": "client-setup.ts_createStencilClientSetup_runSetup_6wDTmOSdSbc",
|
|
351
|
+
"parent": null,
|
|
352
|
+
"origin": "client/client-setup.ts",
|
|
353
|
+
"loc": [
|
|
354
|
+
4466,
|
|
355
|
+
4586
|
|
356
|
+
]
|
|
357
|
+
},
|
|
358
|
+
"s_bvALMlewx7Q": {
|
|
359
|
+
"displayName": "stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useOnDocument",
|
|
360
|
+
"hash": "bvALMlewx7Q",
|
|
361
|
+
"ctxKind": "function",
|
|
362
|
+
"ctxName": "$",
|
|
363
|
+
"captures": true,
|
|
364
|
+
"canonicalFilename": "stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useOnDocument_bvALMlewx7Q",
|
|
365
|
+
"parent": "s_IlVdOHKZfN0",
|
|
366
|
+
"origin": "ssr/stencil-ssr.tsx",
|
|
367
|
+
"loc": [
|
|
368
|
+
6315,
|
|
369
|
+
6368
|
|
370
|
+
]
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"qwikLoader": "../qwikloader-vFGnpgvG.cjs",
|
|
374
|
+
"platform": {
|
|
375
|
+
"vite": "",
|
|
376
|
+
"rollup": "4.60.1",
|
|
377
|
+
"env": "node",
|
|
378
|
+
"os": "linux",
|
|
379
|
+
"node": "22.21.1"
|
|
380
|
+
}
|
|
381
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
const o = document, l = window, q = /* @__PURE__ */ new Set(), f = /* @__PURE__ */ new Set([o]);
|
|
2
|
+
let I;
|
|
3
|
+
const B = (t, e) => Array.from(t.querySelectorAll(e)), L = (t) => {
|
|
4
|
+
const e = [];
|
|
5
|
+
return f.forEach((n) => e.push(...B(n, t))), e;
|
|
6
|
+
}, j = (t) => {
|
|
7
|
+
w(t), B(t, "[q\\:shadowroot]").forEach((e) => {
|
|
8
|
+
const n = e.shadowRoot;
|
|
9
|
+
n && j(n);
|
|
10
|
+
});
|
|
11
|
+
}, A = (t) => t && typeof t.then == "function", N = (t, e, n = e.type) => {
|
|
12
|
+
L("[on" + t + "\\:" + n + "]").forEach((r) => {
|
|
13
|
+
k(r, t, e, n);
|
|
14
|
+
});
|
|
15
|
+
}, V = (t) => {
|
|
16
|
+
if (t._qwikjson_ === void 0) {
|
|
17
|
+
let e = (t === o.documentElement ? o.body : t).lastElementChild;
|
|
18
|
+
for (; e; ) {
|
|
19
|
+
if (e.tagName === "SCRIPT" && e.getAttribute("type") === "qwik/json") {
|
|
20
|
+
t._qwikjson_ = JSON.parse(e.textContent.replace(/\\x3C(\/?script)/gi, "<$1"));
|
|
21
|
+
break;
|
|
22
|
+
}
|
|
23
|
+
e = e.previousElementSibling;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}, P = (t, e) => new CustomEvent(t, { detail: e }), k = async (t, e, n, r = n.type) => {
|
|
27
|
+
const s = "on" + e + ":" + r;
|
|
28
|
+
t.hasAttribute("preventdefault:" + r) && n.preventDefault(), t.hasAttribute("stoppropagation:" + r) && n.stopPropagation();
|
|
29
|
+
const C = t._qc_, g = C && C.li.filter((a) => a[0] === s);
|
|
30
|
+
if (g && g.length > 0) {
|
|
31
|
+
for (const a of g) {
|
|
32
|
+
const p = a[1].getFn([t, n], () => t.isConnected)(n, t), m = n.cancelBubble;
|
|
33
|
+
A(p) && await p, m && n.stopPropagation();
|
|
34
|
+
}
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
const x = t.getAttribute(s);
|
|
38
|
+
if (x) {
|
|
39
|
+
const a = t.closest("[q\\:container]"), p = a.getAttribute("q:base"), m = a.getAttribute("q:version") || "unknown", U = a.getAttribute("q:manifest-hash") || "dev", F = new URL(p, o.baseURI);
|
|
40
|
+
for (const S of x.split(`
|
|
41
|
+
`)) {
|
|
42
|
+
const d = new URL(S, F), O = d.href, u = d.hash.replace(/^#?([^?[|]*).*$/, "$1") || "default", D = performance.now();
|
|
43
|
+
let c, b, h;
|
|
44
|
+
const J = S.startsWith("#"), v = { qBase: p, qManifest: U, qVersion: m, href: O, symbol: u, element: t, reqTime: D };
|
|
45
|
+
if (J) {
|
|
46
|
+
const i = a.getAttribute("q:instance");
|
|
47
|
+
c = (o["qFuncs_" + i] || [])[Number.parseInt(u)], c || (b = "sync", h = Error("sym:" + u));
|
|
48
|
+
} else {
|
|
49
|
+
_("qsymbol", v);
|
|
50
|
+
const i = d.href.split("#")[0];
|
|
51
|
+
try {
|
|
52
|
+
const E = import(i);
|
|
53
|
+
V(a), c = (await E)[u], c || (b = "no-symbol", h = Error(`${u} not in ${i}`));
|
|
54
|
+
} catch (E) {
|
|
55
|
+
b || (b = "async"), h = E;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
if (!c) {
|
|
59
|
+
_("qerror", { importError: b, error: h, ...v }), console.error(h);
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
const M = o.__q_context__;
|
|
63
|
+
if (t.isConnected) try {
|
|
64
|
+
o.__q_context__ = [t, n, d];
|
|
65
|
+
const i = c(n, t);
|
|
66
|
+
A(i) && await i;
|
|
67
|
+
} catch (i) {
|
|
68
|
+
_("qerror", { error: i, ...v });
|
|
69
|
+
} finally {
|
|
70
|
+
o.__q_context__ = M;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}, _ = (t, e) => {
|
|
75
|
+
o.dispatchEvent(P(t, e));
|
|
76
|
+
}, T = (t) => t.replace(/([A-Z])/g, (e) => "-" + e.toLowerCase()), R = async (t) => {
|
|
77
|
+
let e = T(t.type), n = t.target;
|
|
78
|
+
for (N("-document", t, e); n && n.getAttribute; ) {
|
|
79
|
+
const r = k(n, "", t, e);
|
|
80
|
+
let s = t.cancelBubble;
|
|
81
|
+
A(r) && await r, s || (s = s || t.cancelBubble || n.hasAttribute("stoppropagation:" + t.type)), n = t.bubbles && s !== !0 ? n.parentElement : null;
|
|
82
|
+
}
|
|
83
|
+
}, W = (t) => {
|
|
84
|
+
N("-window", t, T(t.type));
|
|
85
|
+
}, $ = () => {
|
|
86
|
+
const t = o.readyState;
|
|
87
|
+
if (!I && (t == "interactive" || t == "complete") && (f.forEach(j), I = 1, _("qinit"), (l.requestIdleCallback ?? l.setTimeout).bind(l)(() => _("qidle")), q.has("qvisible"))) {
|
|
88
|
+
const e = L("[on\\:qvisible]"), n = new IntersectionObserver((r) => {
|
|
89
|
+
for (const s of r) s.isIntersecting && (n.unobserve(s.target), k(s.target, "", P("qvisible", s)));
|
|
90
|
+
});
|
|
91
|
+
e.forEach((r) => n.observe(r));
|
|
92
|
+
}
|
|
93
|
+
}, y = (t, e, n, r = !1) => {
|
|
94
|
+
t.addEventListener(e, n, { capture: r, passive: !1 });
|
|
95
|
+
}, w = (...t) => {
|
|
96
|
+
for (const e of t) typeof e == "string" ? q.has(e) || (f.forEach((n) => y(n, e, R, !0)), y(l, e, W, !0), q.add(e)) : f.has(e) || (q.forEach((n) => y(e, n, R, !0)), f.add(e));
|
|
97
|
+
};
|
|
98
|
+
if (!("__q_context__" in o)) {
|
|
99
|
+
o.__q_context__ = 0;
|
|
100
|
+
const t = l.qwikevents;
|
|
101
|
+
t && (Array.isArray(t) ? w(...t) : w("click", "input")), l.qwikevents = { events: q, roots: f, push: w }, y(o, "readystatechange", $), $();
|
|
102
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const o=document,l=window,q=new Set,f=new Set([o]);let I;const B=(t,e)=>Array.from(t.querySelectorAll(e)),L=t=>{const e=[];return f.forEach(n=>e.push(...B(n,t))),e},j=t=>{w(t),B(t,"[q\\:shadowroot]").forEach(e=>{const n=e.shadowRoot;n&&j(n)})},A=t=>t&&typeof t.then=="function",N=(t,e,n=e.type)=>{L("[on"+t+"\\:"+n+"]").forEach(r=>{k(r,t,e,n)})},V=t=>{if(t._qwikjson_===void 0){let e=(t===o.documentElement?o.body:t).lastElementChild;for(;e;){if(e.tagName==="SCRIPT"&&e.getAttribute("type")==="qwik/json"){t._qwikjson_=JSON.parse(e.textContent.replace(/\\x3C(\/?script)/gi,"<$1"));break}e=e.previousElementSibling}}},P=(t,e)=>new CustomEvent(t,{detail:e}),k=async(t,e,n,r=n.type)=>{const s="on"+e+":"+r;t.hasAttribute("preventdefault:"+r)&&n.preventDefault(),t.hasAttribute("stoppropagation:"+r)&&n.stopPropagation();const C=t._qc_,g=C&&C.li.filter(a=>a[0]===s);if(g&&g.length>0){for(const a of g){const u=a[1].getFn([t,n],()=>t.isConnected)(n,t),m=n.cancelBubble;A(u)&&await u,m&&n.stopPropagation()}return}const x=t.getAttribute(s);if(x){const a=t.closest("[q\\:container]"),u=a.getAttribute("q:base"),m=a.getAttribute("q:version")||"unknown",U=a.getAttribute("q:manifest-hash")||"dev",F=new URL(u,o.baseURI);for(const S of x.split(`
|
|
2
|
+
`)){const d=new URL(S,F),O=d.href,p=d.hash.replace(/^#?([^?[|]*).*$/,"$1")||"default",D=performance.now();let c,b,h;const J=S.startsWith("#"),v={qBase:u,qManifest:U,qVersion:m,href:O,symbol:p,element:t,reqTime:D};if(J){const i=a.getAttribute("q:instance");c=(o["qFuncs_"+i]||[])[Number.parseInt(p)],c||(b="sync",h=Error("sym:"+p))}else{_("qsymbol",v);const i=d.href.split("#")[0];try{const E=import(i);V(a),c=(await E)[p],c||(b="no-symbol",h=Error(`${p} not in ${i}`))}catch(E){b||(b="async"),h=E}}if(!c){_("qerror",{importError:b,error:h,...v}),console.error(h);break}const M=o.__q_context__;if(t.isConnected)try{o.__q_context__=[t,n,d];const i=c(n,t);A(i)&&await i}catch(i){_("qerror",{error:i,...v})}finally{o.__q_context__=M}}}},_=(t,e)=>{o.dispatchEvent(P(t,e))},T=t=>t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase()),R=async t=>{let e=T(t.type),n=t.target;for(N("-document",t,e);n&&n.getAttribute;){const r=k(n,"",t,e);let s=t.cancelBubble;A(r)&&await r,s||(s=s||t.cancelBubble||n.hasAttribute("stoppropagation:"+t.type)),n=t.bubbles&&s!==!0?n.parentElement:null}},W=t=>{N("-window",t,T(t.type))},$=()=>{const t=o.readyState;if(!I&&(t=="interactive"||t=="complete")&&(f.forEach(j),I=1,_("qinit"),(l.requestIdleCallback??l.setTimeout).bind(l)(()=>_("qidle")),q.has("qvisible"))){const e=L("[on\\:qvisible]"),n=new IntersectionObserver(r=>{for(const s of r)s.isIntersecting&&(n.unobserve(s.target),k(s.target,"",P("qvisible",s)))});e.forEach(r=>n.observe(r))}},y=(t,e,n,r=!1)=>{t.addEventListener(e,n,{capture:r,passive:!1})},w=(...t)=>{for(const e of t)typeof e=="string"?q.has(e)||(f.forEach(n=>y(n,e,R,!0)),y(l,e,W,!0),q.add(e)):f.has(e)||(q.forEach(n=>y(e,n,R,!0)),f.add(e))};if(!("__q_context__"in o)){o.__q_context__=0;const t=l.qwikevents;t&&(Array.isArray(t)?w(...t):w("click","input")),l.qwikevents={events:q,roots:f,push:w},y(o,"readystatechange",$),$()}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Updates a Stencil custom element's properties and attributes.
|
|
3
|
+
* Serializable primitives are set as attributes; complex objects are set as properties.
|
|
4
|
+
* Event handlers (keys starting with 'on' or '$') are skipped.
|
|
5
|
+
*
|
|
6
|
+
* @param el - The DOM element to update (usually a Stencil custom element)
|
|
7
|
+
* @param props - Record of property names and values to apply
|
|
8
|
+
*/
|
|
9
|
+
export declare function updateStencilElementProps(el: Element | undefined | null, props: Record<string, unknown> | undefined): void;
|
|
10
|
+
//# sourceMappingURL=element-props-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"element-props-utils.d.ts","sourceRoot":"","sources":["../../src/ssr/element-props-utils.ts"],"names":[],"mappings":"AAUA;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CACvC,EAAE,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI,EAC9B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,QAmB3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"element-props-utils.test.d.ts","sourceRoot":"","sources":["../../src/ssr/element-props-utils.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../stencil-ssr-UlYtcG0-.cjs");function o(n){const t=typeof n;return n==null||t==="string"||t==="number"||t==="boolean"}function s(n,t){if(!n||!t)return;const r=Object.keys(t);for(const l of r){const i=t[l];if(l.startsWith("on")||l.startsWith("$"))continue;o(i)?n.setAttribute(l,String(i)):n[l]=i}}exports._auto_buildInlineStylesHtml=e.buildInlineStylesHtml;exports._auto_buildInputHtml=e.buildInputHtml;exports._auto_collectSlotEntries=e.collectSlotEntries;exports._auto_getEventEntries=e.getEventEntries;exports._auto_getEventsDependencyKey=e.getEventsDependencyKey;exports._auto_getStencilElement=e.getStencilElement;exports._auto_getWrapperElement=e.getWrapperElement;exports.collectStencilSsrStyles=e.collectStencilSsrStyles;exports.createStencilSSRBridgeComponent=e.createStencilSSRBridgeComponent;exports.createStencilSsrStyleStore=e.createStencilSsrStyleStore;exports.getOrCreateStencilSsrStyleStore=e.getOrCreateStencilSsrStyleStore;exports.toDocumentHeadStyles=e.toDocumentHeadStyles;exports.updateStencilElementProps=s;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './element-props-utils';
|
|
2
|
+
export * from './model';
|
|
3
|
+
export * from './stencil-ssr';
|
|
4
|
+
export { collectStencilSsrStyles, createStencilSsrStyleStore, getOrCreateStencilSsrStyleStore, toDocumentHeadStyles, type StencilSsrHeadStyleOptions, type StencilSsrStyleStore, } from './styles-core';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ssr/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,OAAO,EACL,uBAAuB,EACvB,0BAA0B,EAC1B,+BAA+B,EAC/B,oBAAoB,EACpB,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,GAC1B,MAAM,eAAe,CAAC"}
|