@tokenoftrust/storefront-runner 2.0.3 → 2.0.5
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/apps/storefront/.astro/content.d.ts +159 -0
- package/apps/storefront/.astro/integrations/_astrojs_cloudflare/cloudflare.d.ts +1 -0
- package/apps/storefront/.astro/types.d.ts +3 -0
- package/apps/storefront/migrations-apps/0011_dt_tracking_tenant_databases.sql +23 -0
- package/apps/storefront/node_modules/.bin/acorn +43 -0
- package/apps/storefront/node_modules/.bin/astro +43 -0
- package/apps/storefront/node_modules/.bin/astro-check +43 -0
- package/apps/storefront/node_modules/.bin/browserslist +43 -0
- package/apps/storefront/node_modules/.bin/cf-wrangler +43 -0
- package/apps/storefront/node_modules/.bin/depcruise +43 -0
- package/apps/storefront/node_modules/.bin/depcruise-baseline +43 -0
- package/apps/storefront/node_modules/.bin/depcruise-fmt +43 -0
- package/apps/storefront/node_modules/.bin/depcruise-wrap-stream-in-html +43 -0
- package/apps/storefront/node_modules/.bin/dependency-cruise +43 -0
- package/apps/storefront/node_modules/.bin/dependency-cruiser +43 -0
- package/apps/storefront/node_modules/.bin/drizzle-kit +43 -0
- package/apps/storefront/node_modules/.bin/esbuild +43 -0
- package/apps/storefront/node_modules/.bin/jiti +43 -0
- package/apps/storefront/node_modules/.bin/playwright +43 -0
- package/apps/storefront/node_modules/.bin/playwright-core +43 -0
- package/apps/storefront/node_modules/.bin/prettier +43 -0
- package/apps/storefront/node_modules/.bin/rollup +43 -0
- package/apps/storefront/node_modules/.bin/tsc +43 -0
- package/apps/storefront/node_modules/.bin/tsserver +43 -0
- package/apps/storefront/node_modules/.bin/tsx +43 -0
- package/apps/storefront/node_modules/.bin/vite +43 -0
- package/apps/storefront/node_modules/.bin/vitest +43 -0
- package/apps/storefront/node_modules/.bin/workerd +43 -0
- package/apps/storefront/node_modules/.bin/wrangler +43 -0
- package/apps/storefront/node_modules/.bin/wrangler2 +43 -0
- package/apps/storefront/node_modules/.bin/yaml +43 -0
- package/apps/storefront/node_modules/.vite/deps/@astrojs_preact_client__js.js +58 -0
- package/apps/storefront/node_modules/.vite/deps/@astrojs_preact_client__js.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/@astrojs_preact_n_@preact_signals.js +741 -0
- package/apps/storefront/node_modules/.vite/deps/@astrojs_preact_n_@preact_signals.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/@astrojs_preact_server__js.js +2549 -0
- package/apps/storefront/node_modules/.vite/deps/@astrojs_preact_server__js.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/_metadata.json +150 -0
- package/apps/storefront/node_modules/.vite/deps/astro-BIHuWFxm.js +434 -0
- package/apps/storefront/node_modules/.vite/deps/astro-BIHuWFxm.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/astro_n_aria-query.js +6390 -0
- package/apps/storefront/node_modules/.vite/deps/astro_n_aria-query.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/astro_n_axobject-query.js +2705 -0
- package/apps/storefront/node_modules/.vite/deps/astro_n_axobject-query.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/astro_n_html-escaper.js +65 -0
- package/apps/storefront/node_modules/.vite/deps/astro_n_html-escaper.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/astro_runtime_client_dev-toolbar_entrypoint__js.js +455 -0
- package/apps/storefront/node_modules/.vite/deps/astro_runtime_client_dev-toolbar_entrypoint__js.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/audit-DKDpcdEI.js +1535 -0
- package/apps/storefront/node_modules/.vite/deps/audit-DKDpcdEI.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/highlight-B9UoX1wa.js +48 -0
- package/apps/storefront/node_modules/.vite/deps/highlight-B9UoX1wa.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/icons-BWi2wI9n.js +42 -0
- package/apps/storefront/node_modules/.vite/deps/icons-BWi2wI9n.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/package.json +3 -0
- package/apps/storefront/node_modules/.vite/deps/preact.js +310 -0
- package/apps/storefront/node_modules/.vite/deps/preact.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/preact_compat.js +420 -0
- package/apps/storefront/node_modules/.vite/deps/preact_compat.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/preact_compat_jsx-runtime.js +4 -0
- package/apps/storefront/node_modules/.vite/deps/preact_debug.js +236 -0
- package/apps/storefront/node_modules/.vite/deps/preact_debug.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/preact_devtools.js +12 -0
- package/apps/storefront/node_modules/.vite/deps/preact_devtools.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/preact_hooks.js +192 -0
- package/apps/storefront/node_modules/.vite/deps/preact_hooks.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/preact_jsx-dev-runtime.js +3 -0
- package/apps/storefront/node_modules/.vite/deps/preact_jsx-runtime.js +92 -0
- package/apps/storefront/node_modules/.vite/deps/preact_jsx-runtime.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/preact_test-utils.js +59 -0
- package/apps/storefront/node_modules/.vite/deps/preact_test-utils.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/rolldown-runtime-BPOCksWG.js +24 -0
- package/apps/storefront/node_modules/.vite/deps/settings-BVDV0Roj.js +189 -0
- package/apps/storefront/node_modules/.vite/deps/settings-BVDV0Roj.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/static-html-DveYqwMo.js +13 -0
- package/apps/storefront/node_modules/.vite/deps/static-html-DveYqwMo.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/toolbar-B3VIHCXg.js +458 -0
- package/apps/storefront/node_modules/.vite/deps/toolbar-B3VIHCXg.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/ui-library-BK6ricUd.js +1016 -0
- package/apps/storefront/node_modules/.vite/deps/ui-library-BK6ricUd.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/window-BvxDenKN.js +32 -0
- package/apps/storefront/node_modules/.vite/deps/window-BvxDenKN.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps/xray-YFiRUU0Z.js +113 -0
- package/apps/storefront/node_modules/.vite/deps/xray-YFiRUU0Z.js.map +1 -0
- package/apps/storefront/node_modules/.vite/deps_ssr/_metadata.json +8 -0
- package/apps/storefront/node_modules/.vite/deps_ssr/package.json +3 -0
- package/apps/storefront/src/components/chrome/MegaMenu.astro +11 -1
- package/apps/storefront/src/components/chrome/NavDropdown.astro +49 -7
- package/apps/storefront/src/components/chrome/SiteFooter.astro +29 -4
- package/apps/storefront/src/components/chrome/SiteHeader.astro +39 -6
- package/apps/storefront/src/components/chrome/UtilityNav.astro +13 -1
- package/apps/storefront/src/components/islands/MobileNav.tsx +42 -2
- package/apps/storefront/src/layouts/Layout.astro +65 -7
- package/apps/storefront/src/lib/apps/registryAccess.ts +45 -0
- package/apps/storefront/src/lib/auth/adminEntry.ts +4 -4
- package/apps/storefront/src/lib/chrome/ctaIdentity.ts +21 -0
- package/apps/storefront/src/lib/chrome/examples/tokenoftrust.chrome.example.json +22 -22
- package/apps/storefront/src/lib/chrome/trackingPlacements.ts +36 -0
- package/apps/storefront/src/lib/d1/schema-apps.ts +57 -0
- package/apps/storefront/src/lib/rawChrome.ts +73 -14
- package/apps/storefront/src/lib/rawMarketingHtml.ts +30 -0
- package/apps/storefront/src/lib/shared/capability.ts +68 -0
- package/apps/storefront/src/lib/shared/developerInvites.ts +1250 -0
- package/apps/storefront/src/lib/shared/invitePreflight.ts +123 -0
- package/apps/storefront/src/lib/storyblok/provider.ts +21 -5
- package/apps/storefront/src/lib/tracking/collectorAllowlist.ts +40 -0
- package/apps/storefront/src/lib/tracking/collectorIngest.ts +188 -0
- package/apps/storefront/src/lib/tracking/d1Control.ts +180 -0
- package/apps/storefront/src/lib/tracking/interactionCollector.ts +202 -0
- package/apps/storefront/src/lib/tracking/interactionHealth.ts +252 -0
- package/apps/storefront/src/lib/tracking/interactionSchema.ts +107 -0
- package/apps/storefront/src/lib/tracking/interactionStore.ts +0 -0
- package/apps/storefront/src/lib/tracking/pruneRollup.ts +260 -0
- package/apps/storefront/src/lib/tracking/publishSafetyNet.ts +162 -0
- package/apps/storefront/src/lib/tracking/tenantD1Registry.ts +214 -0
- package/apps/storefront/src/lib/tracking/tenantReadAccess.ts +138 -0
- package/apps/storefront/src/lib/tracking-writeback/rewriteTrackingIds.ts +175 -0
- package/apps/storefront/src/lib/tracking-writeback/writebackCandidate.ts +110 -0
- package/apps/storefront/src/lib/webhooks/deliveryEngine.ts +38 -4
- package/apps/storefront/src/lib/webhooks/emit.ts +1 -1
- package/apps/storefront/src/lib/webhooks/getDispatcher.ts +1 -1
- package/apps/storefront/src/pages/api/admin/interaction-insights.ts +101 -0
- package/apps/storefront/src/pages/api/auth/magic-exchange.ts +1 -1
- package/apps/storefront/src/pages/api/tracking/interaction.ts +123 -0
- package/apps/storefront/src/pages/index.astro +1 -1
- package/apps/storefront/src/pages/products/[handle].astro +1 -1
- package/apps/storefront/src/pages/style-guide/[tenant]/[theme].astro +33 -14
- package/apps/storefront/src/workers/pruneRollupWorker.ts +120 -0
- package/package.json +1 -1
- package/packages/public-runtime/node_modules/.bin/tsc +43 -0
- package/packages/public-runtime/node_modules/.bin/tsserver +43 -0
- package/packages/public-runtime/node_modules/.bin/vitest +43 -0
- package/packages/public-runtime/src/chrome.ts +18 -7
- package/packages/public-runtime/src/index.ts +10 -0
- package/packages/public-runtime/src/integration/index.ts +1 -0
- package/packages/public-runtime/src/integration/interaction-tracking-gate.ts +142 -0
- package/packages/public-runtime/src/interaction-tracking.ts +364 -0
- package/packages/public-runtime/src/tracking-id-derivation.ts +1008 -0
- package/pnpm-workspace.yaml +3 -0
- package/scripts/tenant/validate.mjs +306 -1
- package/scripts/tot-dev.mjs +59 -3
- package/tenants/home/public/js/storefront.js +6 -87
- package/apps/storefront/src/lib/apps/adminService.ts +0 -116
- package/apps/storefront/src/lib/apps/adminSession.ts +0 -214
- package/apps/storefront/src/lib/apps/apiAuth.ts +0 -91
- package/apps/storefront/src/lib/apps/apiRoute.ts +0 -35
- package/apps/storefront/src/lib/apps/catalogMapper.ts +0 -39
- package/apps/storefront/src/lib/apps/consentConfigStore.ts +0 -228
- package/apps/storefront/src/lib/apps/gtmMigrationInstall.ts +0 -447
- package/apps/storefront/src/lib/apps/gtmMigrationReport.ts +0 -367
- package/apps/storefront/src/lib/apps/gtmMigrationTab.ts +0 -315
- package/apps/storefront/src/lib/apps/healthAggregate.ts +0 -66
- package/apps/storefront/src/lib/apps/integrationLifecycle.ts +0 -614
- package/apps/storefront/src/lib/apps/integrationLifecycleController.ts +0 -125
- package/apps/storefront/src/lib/apps/integrationReadModel.ts +0 -563
- package/apps/storefront/src/lib/apps/integrationsTab.ts +0 -547
- package/apps/storefront/src/lib/apps/integrationsView.ts +0 -106
- package/apps/storefront/src/lib/apps/managedAnalyticsService.ts +0 -599
- package/apps/storefront/src/lib/apps/tenantIntegrationMaterialization.ts +0 -170
- package/apps/storefront/src/lib/apps/tokenIssuer.ts +0 -121
- package/apps/storefront/src/lib/apps/tokenVerifier.ts +0 -148
- package/apps/storefront/src/lib/apps/v84CleanCloneReplayContext.ts +0 -16
- package/apps/storefront/src/lib/apps/v84CloneLifecycleCacheEvidence.ts +0 -105
- package/apps/storefront/src/lib/apps/v84CloneLifecycleEvidence.ts +0 -177
- package/apps/storefront/src/lib/apps/v84CloneLifecycleMaterialization.ts +0 -251
- package/apps/storefront/src/lib/apps/v84CloneLifecycleSemantics.ts +0 -241
- package/apps/storefront/src/lib/apps/v84CloneMigrationEvidence.ts +0 -211
- package/apps/storefront/src/lib/apps/v84CloneNativeInstallEvidence.ts +0 -409
- package/apps/storefront/src/lib/apps/v84NonportableCodeCoaching.ts +0 -368
- package/apps/storefront/src/lib/apps/v84NonportableRouteContract.ts +0 -188
- package/apps/storefront/src/lib/apps/v84NonportableRouteDogfood.ts +0 -291
- package/apps/storefront/src/lib/apps/ws1ManagedAnalyticsClient.ts +0 -95
- package/apps/storefront/src/lib/content-edit/applyDiff.ts +0 -91
- package/apps/storefront/src/lib/content-edit/client.ts +0 -286
- package/apps/storefront/src/lib/content-edit/index.ts +0 -14
- package/apps/storefront/src/lib/content-edit/route.ts +0 -25
- package/apps/storefront/src/lib/content-edit/types.ts +0 -19
- package/apps/storefront/src/pages/api/content-edit/ai-edit.ts +0 -164
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
import { Component as C, Fragment as S, options as l$1 } from "./preact.js";
|
|
2
|
+
import "./preact_devtools.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/preact@10.29.8_preact-render-to-string@6.7.0/node_modules/preact/debug/dist/debug.module.js
|
|
4
|
+
var t = {};
|
|
5
|
+
function r() {
|
|
6
|
+
t = {};
|
|
7
|
+
}
|
|
8
|
+
function a(e) {
|
|
9
|
+
return e.type === S ? "Fragment" : "function" == typeof e.type ? e.type.displayName || e.type.name : "string" == typeof e.type ? e.type : "#text";
|
|
10
|
+
}
|
|
11
|
+
var i = [];
|
|
12
|
+
var s = [];
|
|
13
|
+
function c() {
|
|
14
|
+
return i.length > 0 ? i[i.length - 1] : null;
|
|
15
|
+
}
|
|
16
|
+
var l = !0;
|
|
17
|
+
function u(e) {
|
|
18
|
+
return "function" == typeof e.type && e.type != S;
|
|
19
|
+
}
|
|
20
|
+
function f(n) {
|
|
21
|
+
for (var e = [n], o = n; null != o.__o;) e.push(o.__o), o = o.__o;
|
|
22
|
+
return e.reduce(function(n, e) {
|
|
23
|
+
n += " in " + a(e);
|
|
24
|
+
var o = e.__source;
|
|
25
|
+
return o ? n += " (at " + o.fileName + ":" + o.lineNumber + ")" : l && console.warn("Add @babel/plugin-transform-react-jsx-source to get a more detailed component stack. Note that you should not add it to production builds of your App for bundle size reasons."), l = !1, n + "\n";
|
|
26
|
+
}, "");
|
|
27
|
+
}
|
|
28
|
+
var d = "function" == typeof WeakMap;
|
|
29
|
+
function p(n) {
|
|
30
|
+
var e = [];
|
|
31
|
+
return n.__k ? (n.__k.forEach(function(n) {
|
|
32
|
+
n && "function" == typeof n.type ? e.push.apply(e, p(n)) : n && "string" == typeof n.type && e.push(n.type);
|
|
33
|
+
}), e) : e;
|
|
34
|
+
}
|
|
35
|
+
function h(n) {
|
|
36
|
+
return n ? "function" == typeof n.type ? null == n.__ ? null != n.__e && null != n.__e.parentNode ? n.__e.parentNode.localName : "" : h(n.__) : n.type : "";
|
|
37
|
+
}
|
|
38
|
+
var v = C.prototype.setState;
|
|
39
|
+
function y(n) {
|
|
40
|
+
return "table" === n || "tfoot" === n || "tbody" === n || "thead" === n || "td" === n || "tr" === n || "th" === n;
|
|
41
|
+
}
|
|
42
|
+
C.prototype.setState = function(n, e) {
|
|
43
|
+
return null == this.__v && null == this.state && console.warn("Calling \"this.setState\" inside the constructor of a component is a no-op and might be a bug in your application. Instead, set \"this.state = {}\" directly.\n\n" + f(c())), v.call(this, n, e);
|
|
44
|
+
};
|
|
45
|
+
var m = /^(address|article|aside|blockquote|details|div|dl|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|main|menu|nav|ol|p|pre|search|section|table|ul)$/;
|
|
46
|
+
var b = C.prototype.forceUpdate;
|
|
47
|
+
function w(n) {
|
|
48
|
+
var e = n.props, o = a(n), t = "";
|
|
49
|
+
for (var r in e) if (e.hasOwnProperty(r) && "children" !== r) {
|
|
50
|
+
var i = e[r];
|
|
51
|
+
"function" == typeof i && (i = "function " + (i.displayName || i.name) + "() {}"), i = Object(i) !== i || i.toString ? i + "" : Object.prototype.toString.call(i), t += " " + r + "=" + JSON.stringify(i);
|
|
52
|
+
}
|
|
53
|
+
var s = e.children;
|
|
54
|
+
return "<" + o + t + (s && s.length ? ">..</" + o + ">" : " />");
|
|
55
|
+
}
|
|
56
|
+
C.prototype.forceUpdate = function(n) {
|
|
57
|
+
return null == this.__v ? console.warn("Calling \"this.forceUpdate\" inside the constructor of a component is a no-op and might be a bug in your application.\n\n" + f(c())) : this.__P ?? console.warn("Can't call \"this.forceUpdate\" on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.\n\n" + f(this.__v)), b.call(this, n);
|
|
58
|
+
}, l$1.__m = function(n, e) {
|
|
59
|
+
var o = n.type, t = e.map(function(n) {
|
|
60
|
+
return n && n.localName;
|
|
61
|
+
}).filter(Boolean);
|
|
62
|
+
console.error("Expected a DOM node of type \"" + o + "\" but found \"" + t.join(", ") + "\" as available DOM-node(s), this is caused by the SSR'd HTML containing different DOM-nodes compared to the hydrated one.\n\n" + f(n));
|
|
63
|
+
}, function() {
|
|
64
|
+
(function() {
|
|
65
|
+
var n = l$1.__b, o = l$1.diffed, t = l$1.__, r = l$1.vnode, a = l$1.__r;
|
|
66
|
+
l$1.diffed = function(n) {
|
|
67
|
+
u(n) && s.pop(), i.pop(), o && o(n);
|
|
68
|
+
}, l$1.__b = function(e) {
|
|
69
|
+
u(e) && i.push(e), n && n(e);
|
|
70
|
+
}, l$1.__ = function(n, e) {
|
|
71
|
+
s = [], t && t(n, e);
|
|
72
|
+
}, l$1.vnode = function(n) {
|
|
73
|
+
n.__o = s.length > 0 ? s[s.length - 1] : null, r && r(n);
|
|
74
|
+
}, l$1.__r = function(n) {
|
|
75
|
+
u(n) && s.push(n), a && a(n);
|
|
76
|
+
};
|
|
77
|
+
})();
|
|
78
|
+
var n = !1, o = l$1.__b, r = l$1.diffed, c = l$1.vnode, l = l$1.__r, v = l$1.__e, b = l$1.__, g = l$1.__h, E = d ? {
|
|
79
|
+
useEffect: /* @__PURE__ */ new WeakMap(),
|
|
80
|
+
useLayoutEffect: /* @__PURE__ */ new WeakMap(),
|
|
81
|
+
lazyPropTypes: /* @__PURE__ */ new WeakMap()
|
|
82
|
+
} : null, k = [];
|
|
83
|
+
l$1.__e = function(n, e, o, t) {
|
|
84
|
+
if (e && e.__c && "function" == typeof n.then) {
|
|
85
|
+
var r = n;
|
|
86
|
+
n = /* @__PURE__ */ new Error("Missing Suspense. The throwing component was: " + a(e));
|
|
87
|
+
for (var i = e; i; i = i.__) if (i.__c && i.__c.__c) {
|
|
88
|
+
n = r;
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
if (n instanceof Error) throw n;
|
|
92
|
+
}
|
|
93
|
+
try {
|
|
94
|
+
(t = t || {}).componentStack = f(e), v(n, e, o, t), "function" != typeof n.then && setTimeout(function() {
|
|
95
|
+
throw n;
|
|
96
|
+
});
|
|
97
|
+
} catch (n) {
|
|
98
|
+
throw n;
|
|
99
|
+
}
|
|
100
|
+
}, l$1.__ = function(n, e) {
|
|
101
|
+
if (!e) throw new Error("Undefined parent passed to render(), this is the second argument.\nCheck if the element is available in the DOM/has the correct id.");
|
|
102
|
+
var o;
|
|
103
|
+
switch (e.nodeType) {
|
|
104
|
+
case 1:
|
|
105
|
+
case 11:
|
|
106
|
+
case 9:
|
|
107
|
+
o = !0;
|
|
108
|
+
break;
|
|
109
|
+
default: o = !1;
|
|
110
|
+
}
|
|
111
|
+
if (!o) {
|
|
112
|
+
var t = a(n);
|
|
113
|
+
throw new Error("Expected a valid HTML node as a second argument to render. Received " + e + " instead: render(<" + t + " />, " + e + ");");
|
|
114
|
+
}
|
|
115
|
+
b && b(n, e);
|
|
116
|
+
}, l$1.__b = function(e) {
|
|
117
|
+
var r = e.type;
|
|
118
|
+
if (n = !0, void 0 === r) throw new Error("Undefined component passed to createElement()\n\nYou likely forgot to export your component or might have mixed up default and named imports" + w(e) + "\n\n" + f(e));
|
|
119
|
+
if (null != r && "object" == typeof r) {
|
|
120
|
+
if (void 0 !== r.__k && void 0 !== r.__e) throw new Error("Invalid type passed to createElement(): " + r + "\n\nDid you accidentally pass a JSX literal as JSX twice?\n\n let My" + a(e) + " = " + w(r) + ";\n let vnode = <My" + a(e) + " />;\n\nThis usually happens when you export a JSX literal and not the component.\n\n" + f(e));
|
|
121
|
+
throw new Error("Invalid type passed to createElement(): " + (Array.isArray(r) ? "array" : r));
|
|
122
|
+
}
|
|
123
|
+
if (void 0 !== e.ref && "function" != typeof e.ref && "object" != typeof e.ref && !("$$typeof" in e)) throw new Error("Component's \"ref\" property should be a function, or an object created by createRef(), but got [" + typeof e.ref + "] instead\n" + w(e) + "\n\n" + f(e));
|
|
124
|
+
if ("string" == typeof e.type) {
|
|
125
|
+
for (var i in e.props) if ("o" === i[0] && "n" === i[1] && "function" != typeof e.props[i] && null != e.props[i]) throw new Error("Component's \"" + i + "\" property should be a function, but got [" + typeof e.props[i] + "] instead\n" + w(e) + "\n\n" + f(e));
|
|
126
|
+
}
|
|
127
|
+
if ("function" == typeof e.type && e.type.propTypes) {
|
|
128
|
+
if ("Lazy" === e.type.displayName && E && !E.lazyPropTypes.has(e.type)) {
|
|
129
|
+
var s = "PropTypes are not supported on lazy(). Use propTypes on the wrapped component itself. ";
|
|
130
|
+
try {
|
|
131
|
+
var c = e.type();
|
|
132
|
+
E.lazyPropTypes.set(e.type, !0), console.warn(s + "Component wrapped in lazy() is " + a(c));
|
|
133
|
+
} catch (n) {
|
|
134
|
+
console.warn(s + "We will log the wrapped component's name once it is loaded.");
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
var l = e.props;
|
|
138
|
+
e.type.__f && delete (l = function(n, e) {
|
|
139
|
+
for (var o in e) n[o] = e[o];
|
|
140
|
+
return n;
|
|
141
|
+
}({}, l)).ref, function(n, e, o, r, a) {
|
|
142
|
+
Object.keys(n).forEach(function(o) {
|
|
143
|
+
var i;
|
|
144
|
+
try {
|
|
145
|
+
i = n[o](e, o, r, "prop", null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
146
|
+
} catch (n) {
|
|
147
|
+
i = n;
|
|
148
|
+
}
|
|
149
|
+
i && !(i.message in t) && (t[i.message] = !0, console.error("Failed prop type: " + i.message + (a && "\n" + a() || "")));
|
|
150
|
+
});
|
|
151
|
+
}(e.type.propTypes, l, 0, a(e), function() {
|
|
152
|
+
return f(e);
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
o && o(e);
|
|
156
|
+
};
|
|
157
|
+
var T, _ = 0;
|
|
158
|
+
l$1.__r = function(e) {
|
|
159
|
+
l && l(e), n = !0;
|
|
160
|
+
var o = e.__c;
|
|
161
|
+
if (o === T ? _++ : _ = 1, _ >= 25) throw new Error("Too many re-renders. This is limited to prevent an infinite loop which may lock up your browser. The component causing this is: " + a(e));
|
|
162
|
+
T = o;
|
|
163
|
+
}, l$1.__h = function(e, o, t) {
|
|
164
|
+
if (!e || !n) throw new Error("Hook can only be invoked from render methods.");
|
|
165
|
+
g && g(e, o, t);
|
|
166
|
+
};
|
|
167
|
+
var O = function(n, e) {
|
|
168
|
+
return {
|
|
169
|
+
get: function() {
|
|
170
|
+
var o = "get" + n + e;
|
|
171
|
+
k && k.indexOf(o) < 0 && (k.push(o), console.warn("getting vnode." + n + " is deprecated, " + e));
|
|
172
|
+
},
|
|
173
|
+
set: function() {
|
|
174
|
+
var o = "set" + n + e;
|
|
175
|
+
k && k.indexOf(o) < 0 && (k.push(o), console.warn("setting vnode." + n + " is not allowed, " + e));
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
}, I = {
|
|
179
|
+
nodeName: O("nodeName", "use vnode.type"),
|
|
180
|
+
attributes: O("attributes", "use vnode.props"),
|
|
181
|
+
children: O("children", "use vnode.props.children")
|
|
182
|
+
}, M = Object.create({}, I);
|
|
183
|
+
l$1.vnode = function(n) {
|
|
184
|
+
var e = n.props;
|
|
185
|
+
if (null !== n.type && null != e && ("__source" in e || "__self" in e)) {
|
|
186
|
+
var o = n.props = {};
|
|
187
|
+
for (var t in e) {
|
|
188
|
+
var r = e[t];
|
|
189
|
+
"__source" === t ? n.__source = r : "__self" === t ? n.__self = r : o[t] = r;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
n.__proto__ = M, c && c(n);
|
|
193
|
+
}, l$1.diffed = function(e) {
|
|
194
|
+
var o, t = e.type, i = e.__;
|
|
195
|
+
if (e.__k && e.__k.forEach(function(n) {
|
|
196
|
+
if ("object" == typeof n && n && void 0 === n.type) {
|
|
197
|
+
var o = Object.keys(n).join(",");
|
|
198
|
+
throw new Error("Objects are not valid as a child. Encountered an object with the keys {" + o + "}.\n\n" + f(e));
|
|
199
|
+
}
|
|
200
|
+
}), e.__c === T && (_ = 0), "string" == typeof t && (y(t) || "p" === t || "a" === t || "button" === t)) {
|
|
201
|
+
var s = h(i);
|
|
202
|
+
if ("" !== s && y(t)) "table" === t && "td" !== s && y(s) ? console.error("Improper nesting of table. Your <table> should not have a table-node parent." + w(e) + "\n\n" + f(e)) : "thead" !== t && "tfoot" !== t && "tbody" !== t || "table" === s ? "tr" === t && "thead" !== s && "tfoot" !== s && "tbody" !== s ? console.error("Improper nesting of table. Your <tr> should have a <thead/tbody/tfoot> parent." + w(e) + "\n\n" + f(e)) : "td" === t && "tr" !== s ? console.error("Improper nesting of table. Your <td> should have a <tr> parent." + w(e) + "\n\n" + f(e)) : "th" === t && "tr" !== s && console.error("Improper nesting of table. Your <th> should have a <tr>." + w(e) + "\n\n" + f(e)) : console.error("Improper nesting of table. Your <thead/tbody/tfoot> should have a <table> parent." + w(e) + "\n\n" + f(e));
|
|
203
|
+
else if ("p" === t) {
|
|
204
|
+
var c = p(e).filter(function(n) {
|
|
205
|
+
return m.test(n);
|
|
206
|
+
});
|
|
207
|
+
c.length && console.error("Improper nesting of paragraph. Your <p> should not have " + c.join(", ") + " as child-elements." + w(e) + "\n\n" + f(e));
|
|
208
|
+
} else "a" !== t && "button" !== t || -1 !== p(e).indexOf(t) && console.error("Improper nesting of interactive content. Your <" + t + "> should not have other " + ("a" === t ? "anchor" : "button") + " tags as child-elements." + w(e) + "\n\n" + f(e));
|
|
209
|
+
}
|
|
210
|
+
if (n = !1, r && r(e), null != e.__k) for (var l = [], u = 0; u < e.__k.length; u++) {
|
|
211
|
+
var d = e.__k[u];
|
|
212
|
+
if (d && null != d.key) {
|
|
213
|
+
var v = d.key;
|
|
214
|
+
if (-1 !== l.indexOf(v)) {
|
|
215
|
+
console.error("Following component has two or more children with the same key attribute: \"" + v + "\". This may cause glitches and misbehavior in rendering process. Component: \n\n" + w(e) + "\n\n" + f(e));
|
|
216
|
+
break;
|
|
217
|
+
}
|
|
218
|
+
l.push(v);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
if (null != e.__c && null != e.__c.__H) {
|
|
222
|
+
var b = e.__c.__H.__;
|
|
223
|
+
if (b) for (var g = 0; g < b.length; g += 1) {
|
|
224
|
+
var E = b[g];
|
|
225
|
+
if (E.__H) {
|
|
226
|
+
for (var k = 0; k < E.__H.length; k++) if ((o = E.__H[k]) != o) {
|
|
227
|
+
var O = a(e);
|
|
228
|
+
console.warn("Invalid argument passed to hook. Hooks should not be called with NaN in the dependency array. Hook index " + g + " in component " + O + " was called with NaN.");
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
}();
|
|
235
|
+
//#endregion
|
|
236
|
+
export { c as getCurrentVNode, a as getDisplayName, f as getOwnerStack, r as resetPropWarnings };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preact_debug.js","names":["n","o","e"],"sources":["../../../../../node_modules/.pnpm/preact@10.29.8_preact-render-to-string@6.7.0/node_modules/preact/debug/dist/debug.module.js"],"sourcesContent":["import{Fragment as n,options as e,Component as o}from\"preact\";import\"preact/devtools\";var t={};function r(){t={}}function a(e){return e.type===n?\"Fragment\":\"function\"==typeof e.type?e.type.displayName||e.type.name:\"string\"==typeof e.type?e.type:\"#text\"}var i=[],s=[];function c(){return i.length>0?i[i.length-1]:null}var l=!0;function u(e){return\"function\"==typeof e.type&&e.type!=n}function f(n){for(var e=[n],o=n;null!=o.__o;)e.push(o.__o),o=o.__o;return e.reduce(function(n,e){n+=\" in \"+a(e);var o=e.__source;return o?n+=\" (at \"+o.fileName+\":\"+o.lineNumber+\")\":l&&console.warn(\"Add @babel/plugin-transform-react-jsx-source to get a more detailed component stack. Note that you should not add it to production builds of your App for bundle size reasons.\"),l=!1,n+\"\\n\"},\"\")}var d=\"function\"==typeof WeakMap;function p(n){var e=[];return n.__k?(n.__k.forEach(function(n){n&&\"function\"==typeof n.type?e.push.apply(e,p(n)):n&&\"string\"==typeof n.type&&e.push(n.type)}),e):e}function h(n){return n?\"function\"==typeof n.type?null==n.__?null!=n.__e&&null!=n.__e.parentNode?n.__e.parentNode.localName:\"\":h(n.__):n.type:\"\"}var v=o.prototype.setState;function y(n){return\"table\"===n||\"tfoot\"===n||\"tbody\"===n||\"thead\"===n||\"td\"===n||\"tr\"===n||\"th\"===n}o.prototype.setState=function(n,e){return null==this.__v&&null==this.state&&console.warn('Calling \"this.setState\" inside the constructor of a component is a no-op and might be a bug in your application. Instead, set \"this.state = {}\" directly.\\n\\n'+f(c())),v.call(this,n,e)};var m=/^(address|article|aside|blockquote|details|div|dl|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|main|menu|nav|ol|p|pre|search|section|table|ul)$/,b=o.prototype.forceUpdate;function w(n){var e=n.props,o=a(n),t=\"\";for(var r in e)if(e.hasOwnProperty(r)&&\"children\"!==r){var i=e[r];\"function\"==typeof i&&(i=\"function \"+(i.displayName||i.name)+\"() {}\"),i=Object(i)!==i||i.toString?i+\"\":Object.prototype.toString.call(i),t+=\" \"+r+\"=\"+JSON.stringify(i)}var s=e.children;return\"<\"+o+t+(s&&s.length?\">..</\"+o+\">\":\" />\")}o.prototype.forceUpdate=function(n){return null==this.__v?console.warn('Calling \"this.forceUpdate\" inside the constructor of a component is a no-op and might be a bug in your application.\\n\\n'+f(c())):null==this.__P&&console.warn('Can\\'t call \"this.forceUpdate\" on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.\\n\\n'+f(this.__v)),b.call(this,n)},e.__m=function(n,e){var o=n.type,t=e.map(function(n){return n&&n.localName}).filter(Boolean);console.error('Expected a DOM node of type \"'+o+'\" but found \"'+t.join(\", \")+\"\\\" as available DOM-node(s), this is caused by the SSR'd HTML containing different DOM-nodes compared to the hydrated one.\\n\\n\"+f(n))},function(){!function(){var n=e.__b,o=e.diffed,t=e.__,r=e.vnode,a=e.__r;e.diffed=function(n){u(n)&&s.pop(),i.pop(),o&&o(n)},e.__b=function(e){u(e)&&i.push(e),n&&n(e)},e.__=function(n,e){s=[],t&&t(n,e)},e.vnode=function(n){n.__o=s.length>0?s[s.length-1]:null,r&&r(n)},e.__r=function(n){u(n)&&s.push(n),a&&a(n)}}();var n=!1,o=e.__b,r=e.diffed,c=e.vnode,l=e.__r,v=e.__e,b=e.__,g=e.__h,E=d?{useEffect:new WeakMap,useLayoutEffect:new WeakMap,lazyPropTypes:new WeakMap}:null,k=[];e.__e=function(n,e,o,t){if(e&&e.__c&&\"function\"==typeof n.then){var r=n;n=new Error(\"Missing Suspense. The throwing component was: \"+a(e));for(var i=e;i;i=i.__)if(i.__c&&i.__c.__c){n=r;break}if(n instanceof Error)throw n}try{(t=t||{}).componentStack=f(e),v(n,e,o,t),\"function\"!=typeof n.then&&setTimeout(function(){throw n})}catch(n){throw n}},e.__=function(n,e){if(!e)throw new Error(\"Undefined parent passed to render(), this is the second argument.\\nCheck if the element is available in the DOM/has the correct id.\");var o;switch(e.nodeType){case 1:case 11:case 9:o=!0;break;default:o=!1}if(!o){var t=a(n);throw new Error(\"Expected a valid HTML node as a second argument to render.\\tReceived \"+e+\" instead: render(<\"+t+\" />, \"+e+\");\")}b&&b(n,e)},e.__b=function(e){var r=e.type;if(n=!0,void 0===r)throw new Error(\"Undefined component passed to createElement()\\n\\nYou likely forgot to export your component or might have mixed up default and named imports\"+w(e)+\"\\n\\n\"+f(e));if(null!=r&&\"object\"==typeof r){if(void 0!==r.__k&&void 0!==r.__e)throw new Error(\"Invalid type passed to createElement(): \"+r+\"\\n\\nDid you accidentally pass a JSX literal as JSX twice?\\n\\n let My\"+a(e)+\" = \"+w(r)+\";\\n let vnode = <My\"+a(e)+\" />;\\n\\nThis usually happens when you export a JSX literal and not the component.\\n\\n\"+f(e));throw new Error(\"Invalid type passed to createElement(): \"+(Array.isArray(r)?\"array\":r))}if(void 0!==e.ref&&\"function\"!=typeof e.ref&&\"object\"!=typeof e.ref&&!(\"$$typeof\"in e))throw new Error('Component\\'s \"ref\" property should be a function, or an object created by createRef(), but got ['+typeof e.ref+\"] instead\\n\"+w(e)+\"\\n\\n\"+f(e));if(\"string\"==typeof e.type)for(var i in e.props)if(\"o\"===i[0]&&\"n\"===i[1]&&\"function\"!=typeof e.props[i]&&null!=e.props[i])throw new Error(\"Component's \\\"\"+i+'\" property should be a function, but got ['+typeof e.props[i]+\"] instead\\n\"+w(e)+\"\\n\\n\"+f(e));if(\"function\"==typeof e.type&&e.type.propTypes){if(\"Lazy\"===e.type.displayName&&E&&!E.lazyPropTypes.has(e.type)){var s=\"PropTypes are not supported on lazy(). Use propTypes on the wrapped component itself. \";try{var c=e.type();E.lazyPropTypes.set(e.type,!0),console.warn(s+\"Component wrapped in lazy() is \"+a(c))}catch(n){console.warn(s+\"We will log the wrapped component's name once it is loaded.\")}}var l=e.props;e.type.__f&&delete(l=function(n,e){for(var o in e)n[o]=e[o];return n}({},l)).ref,function(n,e,o,r,a){Object.keys(n).forEach(function(o){var i;try{i=n[o](e,o,r,\"prop\",null,\"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\")}catch(n){i=n}i&&!(i.message in t)&&(t[i.message]=!0,console.error(\"Failed prop type: \"+i.message+(a&&\"\\n\"+a()||\"\")))})}(e.type.propTypes,l,0,a(e),function(){return f(e)})}o&&o(e)};var T,_=0;e.__r=function(e){l&&l(e),n=!0;var o=e.__c;if(o===T?_++:_=1,_>=25)throw new Error(\"Too many re-renders. This is limited to prevent an infinite loop which may lock up your browser. The component causing this is: \"+a(e));T=o},e.__h=function(e,o,t){if(!e||!n)throw new Error(\"Hook can only be invoked from render methods.\");g&&g(e,o,t)};var O=function(n,e){return{get:function(){var o=\"get\"+n+e;k&&k.indexOf(o)<0&&(k.push(o),console.warn(\"getting vnode.\"+n+\" is deprecated, \"+e))},set:function(){var o=\"set\"+n+e;k&&k.indexOf(o)<0&&(k.push(o),console.warn(\"setting vnode.\"+n+\" is not allowed, \"+e))}}},I={nodeName:O(\"nodeName\",\"use vnode.type\"),attributes:O(\"attributes\",\"use vnode.props\"),children:O(\"children\",\"use vnode.props.children\")},M=Object.create({},I);e.vnode=function(n){var e=n.props;if(null!==n.type&&null!=e&&(\"__source\"in e||\"__self\"in e)){var o=n.props={};for(var t in e){var r=e[t];\"__source\"===t?n.__source=r:\"__self\"===t?n.__self=r:o[t]=r}}n.__proto__=M,c&&c(n)},e.diffed=function(e){var o,t=e.type,i=e.__;if(e.__k&&e.__k.forEach(function(n){if(\"object\"==typeof n&&n&&void 0===n.type){var o=Object.keys(n).join(\",\");throw new Error(\"Objects are not valid as a child. Encountered an object with the keys {\"+o+\"}.\\n\\n\"+f(e))}}),e.__c===T&&(_=0),\"string\"==typeof t&&(y(t)||\"p\"===t||\"a\"===t||\"button\"===t)){var s=h(i);if(\"\"!==s&&y(t))\"table\"===t&&\"td\"!==s&&y(s)?console.error(\"Improper nesting of table. Your <table> should not have a table-node parent.\"+w(e)+\"\\n\\n\"+f(e)):\"thead\"!==t&&\"tfoot\"!==t&&\"tbody\"!==t||\"table\"===s?\"tr\"===t&&\"thead\"!==s&&\"tfoot\"!==s&&\"tbody\"!==s?console.error(\"Improper nesting of table. Your <tr> should have a <thead/tbody/tfoot> parent.\"+w(e)+\"\\n\\n\"+f(e)):\"td\"===t&&\"tr\"!==s?console.error(\"Improper nesting of table. Your <td> should have a <tr> parent.\"+w(e)+\"\\n\\n\"+f(e)):\"th\"===t&&\"tr\"!==s&&console.error(\"Improper nesting of table. Your <th> should have a <tr>.\"+w(e)+\"\\n\\n\"+f(e)):console.error(\"Improper nesting of table. Your <thead/tbody/tfoot> should have a <table> parent.\"+w(e)+\"\\n\\n\"+f(e));else if(\"p\"===t){var c=p(e).filter(function(n){return m.test(n)});c.length&&console.error(\"Improper nesting of paragraph. Your <p> should not have \"+c.join(\", \")+\" as child-elements.\"+w(e)+\"\\n\\n\"+f(e))}else\"a\"!==t&&\"button\"!==t||-1!==p(e).indexOf(t)&&console.error(\"Improper nesting of interactive content. Your <\"+t+\"> should not have other \"+(\"a\"===t?\"anchor\":\"button\")+\" tags as child-elements.\"+w(e)+\"\\n\\n\"+f(e))}if(n=!1,r&&r(e),null!=e.__k)for(var l=[],u=0;u<e.__k.length;u++){var d=e.__k[u];if(d&&null!=d.key){var v=d.key;if(-1!==l.indexOf(v)){console.error('Following component has two or more children with the same key attribute: \"'+v+'\". This may cause glitches and misbehavior in rendering process. Component: \\n\\n'+w(e)+\"\\n\\n\"+f(e));break}l.push(v)}}if(null!=e.__c&&null!=e.__c.__H){var b=e.__c.__H.__;if(b)for(var g=0;g<b.length;g+=1){var E=b[g];if(E.__H)for(var k=0;k<E.__H.length;k++)if((o=E.__H[k])!=o){var O=a(e);console.warn(\"Invalid argument passed to hook. Hooks should not be called with NaN in the dependency array. Hook index \"+g+\" in component \"+O+\" was called with NaN.\")}}}}}();export{c as getCurrentVNode,a as getDisplayName,f as getOwnerStack,r as resetPropWarnings};\n//# sourceMappingURL=debug.module.js.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAAsF,IAAI,IAAE,CAAC;AAAE,SAAS,IAAG;CAAC,IAAE,CAAC;AAAC;AAAC,SAAS,EAAE,GAAE;CAAC,OAAO,EAAE,SAAOA,IAAE,aAAW,cAAY,OAAO,EAAE,OAAK,EAAE,KAAK,eAAa,EAAE,KAAK,OAAK,YAAU,OAAO,EAAE,OAAK,EAAE,OAAK;AAAO;AAAC,IAAI,IAAE,CAAC;AAAE,IAAA,IAAE,CAAC;AAAE,SAAS,IAAG;CAAC,OAAO,EAAE,SAAO,IAAE,EAAE,EAAE,SAAO,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1,12 @@
|
|
|
1
|
+
import { Component as C, Fragment as S, options as l } from "./preact.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/preact@10.29.8_preact-render-to-string@6.7.0/node_modules/preact/devtools/dist/devtools.module.js
|
|
3
|
+
var i;
|
|
4
|
+
function t(o, e) {
|
|
5
|
+
return l.__a && l.__a(e), o;
|
|
6
|
+
}
|
|
7
|
+
null != (i = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : void 0) && i.__PREACT_DEVTOOLS__ && i.__PREACT_DEVTOOLS__.attachPreact("10.29.8", l, {
|
|
8
|
+
Fragment: S,
|
|
9
|
+
Component: C
|
|
10
|
+
});
|
|
11
|
+
//#endregion
|
|
12
|
+
export { t as addHookName };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preact_devtools.js","names":["n","o","e"],"sources":["../../../../../node_modules/.pnpm/preact@10.29.8_preact-render-to-string@6.7.0/node_modules/preact/devtools/dist/devtools.module.js"],"sourcesContent":["import{options as n,Fragment as o,Component as e}from\"preact\";var i;function t(o,e){return n.__a&&n.__a(e),o}null!=(i=\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof window?window:void 0)&&i.__PREACT_DEVTOOLS__&&i.__PREACT_DEVTOOLS__.attachPreact(\"10.29.8\",n,{Fragment:o,Component:e});export{t as addHookName};\n//# sourceMappingURL=devtools.module.js.map\n"],"x_google_ignoreList":[0],"mappings":";;AAA8D,IAAI;AAAE,SAAS,EAAE,GAAE,GAAE;CAAC,OAAOA,EAAE,OAAKA,EAAE,IAAI,CAAC,GAAE;AAAC;AAAC,SAAO,IAAE,eAAa,OAAO,aAAW,aAAW,eAAa,OAAO,SAAO,SAAO,KAAK,MAAI,EAAE,uBAAqB,EAAE,oBAAoB,aAAa,WAAUA,GAAE;CAAC,UAASC;CAAE,WAAUC;AAAC,CAAC"}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { options as l$1 } from "./preact.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/preact@10.29.8_preact-render-to-string@6.7.0/node_modules/preact/hooks/dist/hooks.module.js
|
|
3
|
+
var t;
|
|
4
|
+
var r;
|
|
5
|
+
var u;
|
|
6
|
+
var i;
|
|
7
|
+
var o = 0;
|
|
8
|
+
var f = [];
|
|
9
|
+
var c = l$1;
|
|
10
|
+
var e = c.__b;
|
|
11
|
+
var a = c.__r;
|
|
12
|
+
var v = c.diffed;
|
|
13
|
+
var l = c.__c;
|
|
14
|
+
var m = c.unmount;
|
|
15
|
+
var p = c.__;
|
|
16
|
+
function s(n, t) {
|
|
17
|
+
c.__h && c.__h(r, n, o || t), o = 0;
|
|
18
|
+
var u = r.__H || (r.__H = {
|
|
19
|
+
__: [],
|
|
20
|
+
__h: []
|
|
21
|
+
});
|
|
22
|
+
return n >= u.__.length && u.__.push({}), u.__[n];
|
|
23
|
+
}
|
|
24
|
+
function d(n) {
|
|
25
|
+
return o = 1, y(D, n);
|
|
26
|
+
}
|
|
27
|
+
function y(n, u, i) {
|
|
28
|
+
var o = s(t++, 2);
|
|
29
|
+
if (o.t = n, !o.__c && (o.__ = [i ? i(u) : D(void 0, u), function(n) {
|
|
30
|
+
var t = o.__N ? o.__N[0] : o.__[0], r = o.t(t, n);
|
|
31
|
+
t !== r && (o.__N = [r, o.__[1]], o.__c.setState({}));
|
|
32
|
+
}], o.__c = r, !r.__f)) {
|
|
33
|
+
var f = function(n, t, r) {
|
|
34
|
+
if (!o.__c.__H) return !0;
|
|
35
|
+
var u = !1, i = o.__c.props !== n;
|
|
36
|
+
if (o.__c.__H.__.some(function(n) {
|
|
37
|
+
if (n.__N) {
|
|
38
|
+
u = !0;
|
|
39
|
+
var t = n.__[0];
|
|
40
|
+
n.__ = n.__N, n.__N = void 0, t !== n.__[0] && (i = !0);
|
|
41
|
+
}
|
|
42
|
+
}), c) {
|
|
43
|
+
var f = c.call(this, n, t, r);
|
|
44
|
+
return u ? f || i : f;
|
|
45
|
+
}
|
|
46
|
+
return !u || i;
|
|
47
|
+
};
|
|
48
|
+
r.__f = !0;
|
|
49
|
+
var c = r.shouldComponentUpdate, e = r.componentWillUpdate;
|
|
50
|
+
r.componentWillUpdate = function(n, t, r) {
|
|
51
|
+
if (this.__e) {
|
|
52
|
+
var u = c;
|
|
53
|
+
c = void 0, f(n, t, r), c = u;
|
|
54
|
+
}
|
|
55
|
+
e && e.call(this, n, t, r);
|
|
56
|
+
}, r.shouldComponentUpdate = f;
|
|
57
|
+
}
|
|
58
|
+
return o.__N || o.__;
|
|
59
|
+
}
|
|
60
|
+
function h(n, u) {
|
|
61
|
+
var i = s(t++, 3);
|
|
62
|
+
!c.__s && C(i.__H, u) && (i.__ = n, i.u = u, r.__H.__h.push(i));
|
|
63
|
+
}
|
|
64
|
+
function _(n, u) {
|
|
65
|
+
var i = s(t++, 4);
|
|
66
|
+
!c.__s && C(i.__H, u) && (i.__ = n, i.u = u, r.__h.push(i));
|
|
67
|
+
}
|
|
68
|
+
function A(n) {
|
|
69
|
+
return o = 5, T(function() {
|
|
70
|
+
return { current: n };
|
|
71
|
+
}, []);
|
|
72
|
+
}
|
|
73
|
+
function F(n, t, r) {
|
|
74
|
+
o = 6, _(function() {
|
|
75
|
+
if ("function" == typeof n) {
|
|
76
|
+
var r = n(t());
|
|
77
|
+
return function() {
|
|
78
|
+
n(null), r && "function" == typeof r && r();
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
if (n) return n.current = t(), function() {
|
|
82
|
+
return n.current = null;
|
|
83
|
+
};
|
|
84
|
+
}, null == r ? r : r.concat(n));
|
|
85
|
+
}
|
|
86
|
+
function T(n, r) {
|
|
87
|
+
var u = s(t++, 7);
|
|
88
|
+
return C(u.__H, r) && (u.__ = n(), u.__H = r, u.__h = n), u.__;
|
|
89
|
+
}
|
|
90
|
+
function q(n, t) {
|
|
91
|
+
return o = 8, T(function() {
|
|
92
|
+
return n;
|
|
93
|
+
}, t);
|
|
94
|
+
}
|
|
95
|
+
function x(n) {
|
|
96
|
+
var u = r.context[n.__c], i = s(t++, 9);
|
|
97
|
+
return i.c = n, u ? (i.__ ?? (i.__ = !0, u.sub(r)), u.props.value) : n.__;
|
|
98
|
+
}
|
|
99
|
+
function P(n, t) {
|
|
100
|
+
c.useDebugValue && c.useDebugValue(t ? t(n) : n);
|
|
101
|
+
}
|
|
102
|
+
function b(n) {
|
|
103
|
+
var u = s(t++, 10), i = d();
|
|
104
|
+
return u.__ = n, r.componentDidCatch || (r.componentDidCatch = function(n, t) {
|
|
105
|
+
u.__ && u.__(n, t), i[1](n);
|
|
106
|
+
}), [i[0], function() {
|
|
107
|
+
i[1](void 0);
|
|
108
|
+
}];
|
|
109
|
+
}
|
|
110
|
+
function g() {
|
|
111
|
+
var n = s(t++, 11);
|
|
112
|
+
if (!n.__) {
|
|
113
|
+
for (var u = r.__v; null !== u && !u.__m && null !== u.__;) u = u.__;
|
|
114
|
+
var i = u.__m || (u.__m = [0, 0]);
|
|
115
|
+
n.__ = "P" + i[0] + "-" + i[1]++;
|
|
116
|
+
}
|
|
117
|
+
return n.__;
|
|
118
|
+
}
|
|
119
|
+
function j() {
|
|
120
|
+
for (var n; n = f.shift();) {
|
|
121
|
+
var t = n.__H;
|
|
122
|
+
if (n.__P && t) try {
|
|
123
|
+
t.__h.some(z), t.__h.some(B), t.__h = [];
|
|
124
|
+
} catch (r) {
|
|
125
|
+
t.__h = [], c.__e(r, n.__v);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
c.__b = function(n) {
|
|
130
|
+
r = null, e && e(n);
|
|
131
|
+
}, c.__ = function(n, t) {
|
|
132
|
+
n && t.__k && t.__k.__m && (n.__m = t.__k.__m), p && p(n, t);
|
|
133
|
+
}, c.__r = function(n) {
|
|
134
|
+
a && a(n), t = 0;
|
|
135
|
+
var i = (r = n.__c).__H;
|
|
136
|
+
i && (u === r ? (i.__h = [], r.__h = [], i.__.some(function(n) {
|
|
137
|
+
n.__N && (n.__ = n.__N), n.u = n.__N = void 0;
|
|
138
|
+
})) : (i.__h.some(z), i.__h.some(B), i.__h = [], t = 0)), u = r;
|
|
139
|
+
}, c.diffed = function(n) {
|
|
140
|
+
v && v(n);
|
|
141
|
+
var t = n.__c;
|
|
142
|
+
t && t.__H && (t.__H.__h.length && (1 !== f.push(t) && i === c.requestAnimationFrame || ((i = c.requestAnimationFrame) || w)(j)), t.__H.__.some(function(n) {
|
|
143
|
+
n.u && (n.__H = n.u, n.u = void 0);
|
|
144
|
+
})), u = r = null;
|
|
145
|
+
}, c.__c = function(n, t) {
|
|
146
|
+
t.some(function(n) {
|
|
147
|
+
try {
|
|
148
|
+
n.__h.some(z), n.__h = n.__h.filter(function(n) {
|
|
149
|
+
return !n.__ || B(n);
|
|
150
|
+
});
|
|
151
|
+
} catch (r) {
|
|
152
|
+
t.some(function(n) {
|
|
153
|
+
n.__h && (n.__h = []);
|
|
154
|
+
}), t = [], c.__e(r, n.__v);
|
|
155
|
+
}
|
|
156
|
+
}), l && l(n, t);
|
|
157
|
+
}, c.unmount = function(n) {
|
|
158
|
+
m && m(n);
|
|
159
|
+
var t, r = n.__c;
|
|
160
|
+
r && r.__H && (r.__H.__.some(function(n) {
|
|
161
|
+
try {
|
|
162
|
+
z(n);
|
|
163
|
+
} catch (n) {
|
|
164
|
+
t = n;
|
|
165
|
+
}
|
|
166
|
+
}), r.__H = void 0, t && c.__e(t, r.__v));
|
|
167
|
+
};
|
|
168
|
+
var k = "function" == typeof requestAnimationFrame;
|
|
169
|
+
function w(n) {
|
|
170
|
+
var t, r = function() {
|
|
171
|
+
clearTimeout(u), k && cancelAnimationFrame(t), setTimeout(n);
|
|
172
|
+
}, u = setTimeout(r, 35);
|
|
173
|
+
k && (t = requestAnimationFrame(r));
|
|
174
|
+
}
|
|
175
|
+
function z(n) {
|
|
176
|
+
var t = r, u = n.__c;
|
|
177
|
+
"function" == typeof u && (n.__c = void 0, u()), r = t;
|
|
178
|
+
}
|
|
179
|
+
function B(n) {
|
|
180
|
+
var t = r;
|
|
181
|
+
n.__c = n.__(), r = t;
|
|
182
|
+
}
|
|
183
|
+
function C(n, t) {
|
|
184
|
+
return !n || n.length !== t.length || t.some(function(t, r) {
|
|
185
|
+
return t !== n[r];
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
function D(n, t) {
|
|
189
|
+
return "function" == typeof t ? t(n) : t;
|
|
190
|
+
}
|
|
191
|
+
//#endregion
|
|
192
|
+
export { q as useCallback, x as useContext, P as useDebugValue, h as useEffect, b as useErrorBoundary, g as useId, F as useImperativeHandle, _ as useLayoutEffect, T as useMemo, y as useReducer, A as useRef, d as useState };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preact_hooks.js","names":["n"],"sources":["../../../../../node_modules/.pnpm/preact@10.29.8_preact-render-to-string@6.7.0/node_modules/preact/hooks/dist/hooks.module.js"],"sourcesContent":["import{options as n}from\"preact\";var t,r,u,i,o=0,f=[],c=n,e=c.__b,a=c.__r,v=c.diffed,l=c.__c,m=c.unmount,p=c.__;function s(n,t){c.__h&&c.__h(r,n,o||t),o=0;var u=r.__H||(r.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({}),u.__[n]}function d(n){return o=1,y(D,n)}function y(n,u,i){var o=s(t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):D(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}))}],o.__c=r,!r.__f)){var f=function(n,t,r){if(!o.__c.__H)return!0;var u=!1,i=o.__c.props!==n;if(o.__c.__H.__.some(function(n){if(n.__N){u=!0;var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0)}}),c){var f=c.call(this,n,t,r);return u?f||i:f}return!u||i};r.__f=!0;var c=r.shouldComponentUpdate,e=r.componentWillUpdate;r.componentWillUpdate=function(n,t,r){if(this.__e){var u=c;c=void 0,f(n,t,r),c=u}e&&e.call(this,n,t,r)},r.shouldComponentUpdate=f}return o.__N||o.__}function h(n,u){var i=s(t++,3);!c.__s&&C(i.__H,u)&&(i.__=n,i.u=u,r.__H.__h.push(i))}function _(n,u){var i=s(t++,4);!c.__s&&C(i.__H,u)&&(i.__=n,i.u=u,r.__h.push(i))}function A(n){return o=5,T(function(){return{current:n}},[])}function F(n,t,r){o=6,_(function(){if(\"function\"==typeof n){var r=n(t());return function(){n(null),r&&\"function\"==typeof r&&r()}}if(n)return n.current=t(),function(){return n.current=null}},null==r?r:r.concat(n))}function T(n,r){var u=s(t++,7);return C(u.__H,r)&&(u.__=n(),u.__H=r,u.__h=n),u.__}function q(n,t){return o=8,T(function(){return n},t)}function x(n){var u=r.context[n.__c],i=s(t++,9);return i.c=n,u?(null==i.__&&(i.__=!0,u.sub(r)),u.props.value):n.__}function P(n,t){c.useDebugValue&&c.useDebugValue(t?t(n):n)}function b(n){var u=s(t++,10),i=d();return u.__=n,r.componentDidCatch||(r.componentDidCatch=function(n,t){u.__&&u.__(n,t),i[1](n)}),[i[0],function(){i[1](void 0)}]}function g(){var n=s(t++,11);if(!n.__){for(var u=r.__v;null!==u&&!u.__m&&null!==u.__;)u=u.__;var i=u.__m||(u.__m=[0,0]);n.__=\"P\"+i[0]+\"-\"+i[1]++}return n.__}function j(){for(var n;n=f.shift();){var t=n.__H;if(n.__P&&t)try{t.__h.some(z),t.__h.some(B),t.__h=[]}catch(r){t.__h=[],c.__e(r,n.__v)}}}c.__b=function(n){r=null,e&&e(n)},c.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),p&&p(n,t)},c.__r=function(n){a&&a(n),t=0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.some(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(i.__h.some(z),i.__h.some(B),i.__h=[],t=0)),u=r},c.diffed=function(n){v&&v(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==f.push(t)&&i===c.requestAnimationFrame||((i=c.requestAnimationFrame)||w)(j)),t.__H.__.some(function(n){n.u&&(n.__H=n.u,n.u=void 0)})),u=r=null},c.__c=function(n,t){t.some(function(n){try{n.__h.some(z),n.__h=n.__h.filter(function(n){return!n.__||B(n)})}catch(r){t.some(function(n){n.__h&&(n.__h=[])}),t=[],c.__e(r,n.__v)}}),l&&l(n,t)},c.unmount=function(n){m&&m(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.some(function(n){try{z(n)}catch(n){t=n}}),r.__H=void 0,t&&c.__e(t,r.__v))};var k=\"function\"==typeof requestAnimationFrame;function w(n){var t,r=function(){clearTimeout(u),k&&cancelAnimationFrame(t),setTimeout(n)},u=setTimeout(r,35);k&&(t=requestAnimationFrame(r))}function z(n){var t=r,u=n.__c;\"function\"==typeof u&&(n.__c=void 0,u()),r=t}function B(n){var t=r;n.__c=n.__(),r=t}function C(n,t){return!n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function D(n,t){return\"function\"==typeof t?t(n):t}export{q as useCallback,x as useContext,P as useDebugValue,h as useEffect,b as useErrorBoundary,g as useId,F as useImperativeHandle,_ as useLayoutEffect,T as useMemo,y as useReducer,A as useRef,d as useState};\n//# sourceMappingURL=hooks.module.js.map\n"],"x_google_ignoreList":[0],"mappings":";;AAAiC,IAAI;AAAE,IAAA;AAAE,IAAA;AAAE,IAAA;AAAE,IAAA,IAAE;AAAE,IAAA,IAAE,CAAC;AAAE,IAAA,IAAEA;AAAE,IAAA,IAAE,EAAE;AAAI,IAAA,IAAE,EAAE;AAAI,IAAA,IAAE,EAAE;AAAO,IAAA,IAAE,EAAE;AAAI,IAAA,IAAE,EAAE;AAAQ,IAAA,IAAE,EAAE;AAAG,SAAS,EAAE,GAAE,GAAE;CAAC,EAAE,OAAK,EAAE,IAAI,GAAE,GAAE,KAAG,CAAC,GAAE,IAAE;CAAE,IAAI,IAAE,EAAE,QAAM,EAAE,MAAI;EAAC,IAAG,CAAC;EAAE,KAAI,CAAC;CAAC;CAAG,OAAO,KAAG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GAAE,GAAE;CAAC,OAAM,cAAY,OAAO,IAAE,EAAE,CAAC,IAAE;AAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Fragment as S, options as l$1 } from "./preact.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/preact@10.29.8_preact-render-to-string@6.7.0/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js
|
|
3
|
+
var t = /["&<]/;
|
|
4
|
+
function n(r) {
|
|
5
|
+
if (0 === r.length || !1 === t.test(r)) return r;
|
|
6
|
+
for (var e = 0, n = 0, o = "", f = ""; n < r.length; n++) {
|
|
7
|
+
switch (r.charCodeAt(n)) {
|
|
8
|
+
case 34:
|
|
9
|
+
f = """;
|
|
10
|
+
break;
|
|
11
|
+
case 38:
|
|
12
|
+
f = "&";
|
|
13
|
+
break;
|
|
14
|
+
case 60:
|
|
15
|
+
f = "<";
|
|
16
|
+
break;
|
|
17
|
+
default: continue;
|
|
18
|
+
}
|
|
19
|
+
n !== e && (o += r.slice(e, n)), o += f, e = n + 1;
|
|
20
|
+
}
|
|
21
|
+
return n !== e && (o += r.slice(e, n)), o;
|
|
22
|
+
}
|
|
23
|
+
var o = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
|
|
24
|
+
var f = 0;
|
|
25
|
+
var i = Array.isArray;
|
|
26
|
+
function u(e, t, n, o, i, u) {
|
|
27
|
+
t || (t = {});
|
|
28
|
+
var a, c, p = t;
|
|
29
|
+
if ("ref" in p) for (c in p = {}, t) "ref" == c ? a = t[c] : p[c] = t[c];
|
|
30
|
+
var l = {
|
|
31
|
+
type: e,
|
|
32
|
+
props: p,
|
|
33
|
+
key: n,
|
|
34
|
+
ref: a,
|
|
35
|
+
__k: null,
|
|
36
|
+
__: null,
|
|
37
|
+
__b: 0,
|
|
38
|
+
__e: null,
|
|
39
|
+
__c: null,
|
|
40
|
+
constructor: void 0,
|
|
41
|
+
__v: --f,
|
|
42
|
+
__i: -1,
|
|
43
|
+
__u: 0,
|
|
44
|
+
__source: i,
|
|
45
|
+
__self: u
|
|
46
|
+
};
|
|
47
|
+
if ("function" == typeof e && (a = e.defaultProps)) for (c in a) void 0 === p[c] && (p[c] = a[c]);
|
|
48
|
+
return l$1.vnode && l$1.vnode(l), l;
|
|
49
|
+
}
|
|
50
|
+
function a(r) {
|
|
51
|
+
var t = u(S, {
|
|
52
|
+
tpl: r,
|
|
53
|
+
exprs: [].slice.call(arguments, 1)
|
|
54
|
+
});
|
|
55
|
+
return t.key = t.__v, t;
|
|
56
|
+
}
|
|
57
|
+
var c = {};
|
|
58
|
+
var p = /[A-Z]/g;
|
|
59
|
+
function l(e, t) {
|
|
60
|
+
if (l$1.attr) {
|
|
61
|
+
var f = l$1.attr(e, t);
|
|
62
|
+
if ("string" == typeof f) return f;
|
|
63
|
+
}
|
|
64
|
+
if (t = function(r) {
|
|
65
|
+
return null !== r && "object" == typeof r && "function" == typeof r.valueOf ? r.valueOf() : r;
|
|
66
|
+
}(t), "ref" === e || "key" === e) return "";
|
|
67
|
+
if ("style" === e && "object" == typeof t) {
|
|
68
|
+
var i = "";
|
|
69
|
+
for (var u in t) {
|
|
70
|
+
var a = t[u];
|
|
71
|
+
if (null != a && "" !== a) {
|
|
72
|
+
var l = "-" == u[0] ? u : c[u] || (c[u] = u.replace(p, "-$&").toLowerCase()), s = ";";
|
|
73
|
+
"number" != typeof a || l.startsWith("--") || o.test(l) || (s = "px;"), i = i + l + ":" + a + s;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return e + "=\"" + n(i) + "\"";
|
|
77
|
+
}
|
|
78
|
+
return null == t || !1 === t || "function" == typeof t || "object" == typeof t ? "" : !0 === t ? e : e + "=\"" + n("" + t) + "\"";
|
|
79
|
+
}
|
|
80
|
+
function s(r) {
|
|
81
|
+
if (null == r || "boolean" == typeof r || "function" == typeof r) return null;
|
|
82
|
+
if ("object" == typeof r) {
|
|
83
|
+
if (void 0 === r.constructor) return r;
|
|
84
|
+
if (i(r)) {
|
|
85
|
+
for (var e = 0; e < r.length; e++) r[e] = s(r[e]);
|
|
86
|
+
return r;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
return n("" + r);
|
|
90
|
+
}
|
|
91
|
+
//#endregion
|
|
92
|
+
export { S as Fragment, u as jsx, u as jsxDEV, u as jsxs, l as jsxAttr, s as jsxEscape, a as jsxTemplate };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preact_jsx-runtime.js","names":["r","e"],"sources":["../../../../../node_modules/.pnpm/preact@10.29.8_preact-render-to-string@6.7.0/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js"],"sourcesContent":["import{options as r,Fragment as e}from\"preact\";export{Fragment}from\"preact\";var t=/[\"&<]/;function n(r){if(0===r.length||!1===t.test(r))return r;for(var e=0,n=0,o=\"\",f=\"\";n<r.length;n++){switch(r.charCodeAt(n)){case 34:f=\""\";break;case 38:f=\"&\";break;case 60:f=\"<\";break;default:continue}n!==e&&(o+=r.slice(e,n)),o+=f,e=n+1}return n!==e&&(o+=r.slice(e,n)),o}var o=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,f=0,i=Array.isArray;function u(e,t,n,o,i,u){t||(t={});var a,c,p=t;if(\"ref\"in p)for(c in p={},t)\"ref\"==c?a=t[c]:p[c]=t[c];var l={type:e,props:p,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--f,__i:-1,__u:0,__source:i,__self:u};if(\"function\"==typeof e&&(a=e.defaultProps))for(c in a)void 0===p[c]&&(p[c]=a[c]);return r.vnode&&r.vnode(l),l}function a(r){var t=u(e,{tpl:r,exprs:[].slice.call(arguments,1)});return t.key=t.__v,t}var c={},p=/[A-Z]/g;function l(e,t){if(r.attr){var f=r.attr(e,t);if(\"string\"==typeof f)return f}if(t=function(r){return null!==r&&\"object\"==typeof r&&\"function\"==typeof r.valueOf?r.valueOf():r}(t),\"ref\"===e||\"key\"===e)return\"\";if(\"style\"===e&&\"object\"==typeof t){var i=\"\";for(var u in t){var a=t[u];if(null!=a&&\"\"!==a){var l=\"-\"==u[0]?u:c[u]||(c[u]=u.replace(p,\"-$&\").toLowerCase()),s=\";\";\"number\"!=typeof a||l.startsWith(\"--\")||o.test(l)||(s=\"px;\"),i=i+l+\":\"+a+s}}return e+'=\"'+n(i)+'\"'}return null==t||!1===t||\"function\"==typeof t||\"object\"==typeof t?\"\":!0===t?e:e+'=\"'+n(\"\"+t)+'\"'}function s(r){if(null==r||\"boolean\"==typeof r||\"function\"==typeof r)return null;if(\"object\"==typeof r){if(void 0===r.constructor)return r;if(i(r)){for(var e=0;e<r.length;e++)r[e]=s(r[e]);return r}}return n(\"\"+r)}export{u as jsx,l as jsxAttr,u as jsxDEV,s as jsxEscape,a as jsxTemplate,u as jsxs};\n//# sourceMappingURL=jsxRuntime.module.js.map\n"],"x_google_ignoreList":[0],"mappings":";;AAA4E,IAAI,IAAE;AAAQ,SAAS,EAAE,GAAE;CAAC,IAAG,MAAI,EAAE,UAAQ,CAAC,MAAI,EAAE,KAAK,CAAC,GAAE,OAAO;CAAE,KAAI,IAAI,IAAE,GAAE,IAAE,GAAE,IAAE,IAAG,IAAE,IAAG,IAAE,EAAE,QAAO,KAAI;EAAC,QAAO,EAAE,WAAW,CAAC,GAArB;GAAwB,KAAK;IAAG,IAAE;IAAS;GAAM,KAAK;IAAG,IAAE;IAAQ;GAAM,KAAK;IAAG,IAAE;IAAO;GAAM,SAAQ;EAAQ;EAAC,MAAI,MAAI,KAAG,EAAE,MAAM,GAAE,CAAC,IAAG,KAAG,GAAE,IAAE,IAAE;CAAC;CAAC,OAAO,MAAI,MAAI,KAAG,EAAE,MAAM,GAAE,CAAC,IAAG;AAAC;AAAC,IAAI,IAAE;AAAoE,IAAA,IAAE;AAAE,IAAA,IAAE,MAAM;AAAQ,SAAS,EAAE,GAAE,GAAE,GAAE,GAAE,GAA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