useblocks 1.1.45 → 1.1.49
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/iframe/js/amp.BP7EklKo.js +1 -0
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.4N5s3OV-.js +1 -1
- package/monacoeditorwork/css.worker.bundle.js +40524 -40442
- package/monacoeditorwork/editor.worker.bundle.js +9740 -9697
- package/monacoeditorwork/html.worker.bundle.js +50513 -50431
- package/monacoeditorwork/json.worker.bundle.js +14570 -14527
- package/monacoeditorwork/ts.worker.bundle.js +119593 -119455
- package/npm-publish.manifest.json +7 -7
- package/package.json +1 -1
- package/runtime/@ant-design/cssinjs/index.js +1 -1
- package/runtime/@ant-design/icons/index.js +2 -2
- package/runtime/README.md +1 -1
- package/runtime/THIRD_PARTY_LICENSES.txt +70 -42
- package/runtime/antd/index.js +1 -1
- package/runtime/react/index.js +3 -3
- package/runtime/react/jsx-runtime/index.js +1 -1
- package/runtime/react-dom/client/index.js +4 -4
- package/runtime/react-dom/index.js +3 -3
- package/runtime/react-router-dom/index.js +2 -2
- package/singlepage_headless_plugin.html +1 -1
- package/static/core/{cb72ea5e.js → 11296a18.js} +51 -51
- package/static/core/{7d884291.js → 13d197af.js} +20 -20
- package/static/core/13f581cc.js +924 -0
- package/static/core/{6450546e2.js → 1ca5f3772.js} +184 -155
- package/static/core/{af153381.js → 339377b8.js} +15657 -15202
- package/static/core/{94f2c0df.js → 386cf7b3.js} +9673 -9544
- package/static/core/{b7a9d262.js → 3b4845f7.js} +353 -334
- package/static/core/{d14cb6e2.js → 3dea3b87.js} +7 -7
- package/static/core/59023866.js +2090 -0
- package/static/core/{bc098620.js → 7a229b90.js} +3 -3
- package/static/core/{48b80eec.js → 8c81db36.js} +3 -3
- package/static/core/{8c84cc76.js → 8e110c69.js} +24 -24
- package/static/core/{2f2019c1.js → a11c28c2.js} +258 -240
- package/static/core/{fd4fa049.js → aacf134d.js} +745 -664
- package/static/core/{5e0828e3.js → acb049cb.js} +1349 -1297
- package/static/core/{bb774fb9.js → c59f9731.js} +7724 -6646
- package/static/core/{ed0ecf0a.js → de79e0c5.js} +3947 -3705
- package/static/core/e7c24fe9.js +649 -0
- package/static/esm/{dab4cdfd.js → 448d4bb0.js} +70 -70
- package/static/esm/{7c5227f0.js → d180c108.js} +50 -47
- package/static/runtime/{DownloadOutlined-CgJ8OpH_.js → DownloadOutlined-Dg_G2xO7.js} +4 -4
- package/static/runtime/client-CfXgU5Vo.js +7580 -0
- package/static/runtime/{defineProperty-B-FyVNQF.js → defineProperty-C_9hhJHt.js} +1 -1
- package/static/runtime/dom-export-CHgQ7Ws9.js +8069 -0
- package/static/runtime/{es-DnZp8dh1.js → es-BPfImJ0x.js} +5 -5
- package/static/runtime/{es-B2DS-PLP.js → es-DcH6fwd6.js} +2 -2
- package/static/runtime/{es-deqzngIL.js → es-_OY-D9g1.js} +2 -2
- package/static/runtime/{jsx-dev-runtime-Wj1_6O79.js → jsx-dev-runtime-DDukXY54.js} +2 -2
- package/static/runtime/jsx-runtime-BodCQYDg.js +22 -0
- package/static/runtime/react-BHNx_xzv.js +290 -0
- package/static/runtime/react-dom-CyByzibb.js +127 -0
- package/two_step_headless_plugin.html +1 -1
- package/{useblocks-core.ecd1a3b0.js → useblocks-core.15a9129c.js} +82 -76
- package/useblocks-esm.js +628 -3197
- package/useblocks.d.ts +190 -52
- package/useblocks.js +818 -12587
- package/vite/index.cjs +46 -21
- package/vite/index.d.ts +0 -1
- package/vite/index.js +46 -21
- package/vite/pluginDev/index.d.ts +0 -1
- package/webpack/index.cjs +46 -21
- package/webpack/index.d.ts +0 -1
- package/webpack/index.js +46 -21
- package/webpack/pluginDev/index.d.ts +0 -1
- package/iframe/js/amp.CVC2Iq48.js +0 -1
- package/static/core/632d894f.js +0 -869
- package/static/core/c28bc42e.js +0 -46
- package/static/core/ff830d19.js +0 -2046
- package/static/esm/2fb07398.js +0 -3480
- package/static/esm/352121c5.js +0 -55
- package/static/esm/64966e1c.js +0 -18
- package/static/runtime/client-CM3WFcip.js +0 -7
- package/static/runtime/dist-DUS42Hru.js +0 -3421
- package/static/runtime/jsx-runtime-DmPQfqtr.js +0 -28
- package/static/runtime/react-DIf5CLST.js +0 -258
- package/static/runtime/react-dom-Cc3IcUkg.js +0 -5604
- /package/iframe/{iframe-eblock.ecd1a3b0.html → iframe-eblock.15a9129c.html} +0 -0
- /package/iframe/{iframe.ecd1a3b0.html → iframe.15a9129c.html} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as cR, r as Lr, t as go } from "./rolldown-runtime-Bklm4c_g.js";
|
|
2
|
-
import { t as uR } from "./react-
|
|
3
|
-
import { t as dR } from "./react-dom-
|
|
4
|
-
import { A as fR, At as mR, B as pR, C as fv, Ct as Vl, D as gR, Dt as VS, E as hR, Et as Br, F as vR, Ft as pt, G as mu, H as KS, I as XS, It as Fi, J as pu, K as Zn, L as bR, Lt as ke, M as GS, Mt as An, N as yR, Nt as gt, O as mv, Ot as qr, P as CR, Pt as mg, Q as ia, R as qS, S as pv, St as pg, T as SR, Tt as gv, U as gu, V as ur, W as Qa, X as Wn, Y as ho, Z as Qr, _ as US, _t as Bt, a as $R, at as xR, b as wR, bt as ER, c as YS, ct as xd, d as IR, dt as Ot, f as NR, ft as D, g as PR, gt as dt, h as RR, ht as Kt, i as MR, j as TR, jt as QS, k as OR, kt as tr, l as DR, lt as La, m as AR, mt as ZS, n as zR, o as LR, ot as hv, p as BR, pt as hu, q as Jn, r as kR, s as HR, st as FR, t as _R, u as WR, ut as vu, v as jR, vt as VR, w as JS, wt as rn, x as KR, xt as gg, y as XR, yt as kf, z as hg } from "./DownloadOutlined-
|
|
5
|
-
import { a as Hf, c as Ur, i as Vt, l as br, n as Nn, o as e$, s as vv, t as Ie } from "./defineProperty-
|
|
6
|
-
import { _ as $c, a as Mt, b as qR, c as Ff, g as j, h as wd, m as UR, p as YR, s as QR } from "./es-
|
|
2
|
+
import { t as uR } from "./react-BHNx_xzv.js";
|
|
3
|
+
import { t as dR } from "./react-dom-CyByzibb.js";
|
|
4
|
+
import { A as fR, At as mR, B as pR, C as fv, Ct as Vl, D as gR, Dt as VS, E as hR, Et as Br, F as vR, Ft as pt, G as mu, H as KS, I as XS, It as Fi, J as pu, K as Zn, L as bR, Lt as ke, M as GS, Mt as An, N as yR, Nt as gt, O as mv, Ot as qr, P as CR, Pt as mg, Q as ia, R as qS, S as pv, St as pg, T as SR, Tt as gv, U as gu, V as ur, W as Qa, X as Wn, Y as ho, Z as Qr, _ as US, _t as Bt, a as $R, at as xR, b as wR, bt as ER, c as YS, ct as xd, d as IR, dt as Ot, f as NR, ft as D, g as PR, gt as dt, h as RR, ht as Kt, i as MR, j as TR, jt as QS, k as OR, kt as tr, l as DR, lt as La, m as AR, mt as ZS, n as zR, o as LR, ot as hv, p as BR, pt as hu, q as Jn, r as kR, s as HR, st as FR, t as _R, u as WR, ut as vu, v as jR, vt as VR, w as JS, wt as rn, x as KR, xt as gg, y as XR, yt as kf, z as hg } from "./DownloadOutlined-Dg_G2xO7.js";
|
|
5
|
+
import { a as Hf, c as Ur, i as Vt, l as br, n as Nn, o as e$, s as vv, t as Ie } from "./defineProperty-C_9hhJHt.js";
|
|
6
|
+
import { _ as $c, a as Mt, b as qR, c as Ff, g as j, h as wd, m as UR, p as YR, s as QR } from "./es-_OY-D9g1.js";
|
|
7
7
|
import { t as ZR } from "./dayjs.min-CVzHlYit.js";
|
|
8
8
|
var o = Lr(uR());
|
|
9
9
|
function _a(e) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as rl, r as l, t as c } from "./rolldown-runtime-Bklm4c_g.js";
|
|
2
|
-
import { t as nl } from "./react-
|
|
3
|
-
import { $ as i, A as ll, B as cl, C as il, D as ol, E as ul, F as sl, G as dl, H as vl, I as fl, J as hl, K as ml, L as gl, M as pl, N as Ol, O as bl, P as _l, Q as wl, R as zl, S as jl, T as Ml, U as Hl, V as Pl, W as yl, X as Vl, Y as Rl, Z as Tl, _ as $l, a as Fl, at as Q7, b as Cl, c as Ll, d as ql, et as Bl, f as Il, ft as G7, g as xl, h as Sl, i as El, it as N7, j as Al, k as Dl, kt as Ul, l as Wl, m as Gl, n as Nl, nt as Ql, o as Zl, p as Yl, q as Jl, r as Kl, rt as Xl, s as kl, t as ec, tt as tc, u as ac, v as rc, w as nc, x as lc, y as cc, z as ic } from "./DownloadOutlined-
|
|
2
|
+
import { t as nl } from "./react-BHNx_xzv.js";
|
|
3
|
+
import { $ as i, A as ll, B as cl, C as il, D as ol, E as ul, F as sl, G as dl, H as vl, I as fl, J as hl, K as ml, L as gl, M as pl, N as Ol, O as bl, P as _l, Q as wl, R as zl, S as jl, T as Ml, U as Hl, V as Pl, W as yl, X as Vl, Y as Rl, Z as Tl, _ as $l, a as Fl, at as Q7, b as Cl, c as Ll, d as ql, et as Bl, f as Il, ft as G7, g as xl, h as Sl, i as El, it as N7, j as Al, k as Dl, kt as Ul, l as Wl, m as Gl, n as Nl, nt as Ql, o as Zl, p as Yl, q as Jl, r as Kl, rt as Xl, s as kl, t as ec, tt as tc, u as ac, v as rc, w as nc, x as lc, y as cc, z as ic } from "./DownloadOutlined-Dg_G2xO7.js";
|
|
4
4
|
var oc = c(((t) => {
|
|
5
5
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
6
6
|
t.default = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as Ct, r as wt } from "./rolldown-runtime-Bklm4c_g.js";
|
|
2
|
-
import { t as xt } from "./react-
|
|
3
|
-
import { a as je, c as Tt, i as Et, l as pe, n as Ue, o as X, t as I } from "./defineProperty-
|
|
2
|
+
import { t as xt } from "./react-BHNx_xzv.js";
|
|
3
|
+
import { a as je, c as Tt, i as Et, l as pe, n as Ue, o as X, t as I } from "./defineProperty-C_9hhJHt.js";
|
|
4
4
|
function ie(e) {
|
|
5
5
|
for (var t = 0, r, s = 0, n = e.length; n >= 4; ++s, n -= 4) r = e.charCodeAt(s) & 255 | (e.charCodeAt(++s) & 255) << 8 | (e.charCodeAt(++s) & 255) << 16 | (e.charCodeAt(++s) & 255) << 24, r = (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= r >>> 24, t = (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
6
6
|
switch (n) {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { t as n } from "./rolldown-runtime-Bklm4c_g.js";
|
|
2
|
+
var i = n(((e) => {
|
|
3
|
+
var _ = Symbol.for("react.transitional.element"), u = Symbol.for("react.fragment");
|
|
4
|
+
function l(v, r, t) {
|
|
5
|
+
var s = null;
|
|
6
|
+
if (t !== void 0 && (s = "" + t), r.key !== void 0 && (s = "" + r.key), "key" in r) {
|
|
7
|
+
t = {};
|
|
8
|
+
for (var o in r) o !== "key" && (t[o] = r[o]);
|
|
9
|
+
} else t = r;
|
|
10
|
+
return r = t.ref, {
|
|
11
|
+
$$typeof: _,
|
|
12
|
+
type: v,
|
|
13
|
+
key: s,
|
|
14
|
+
ref: r !== void 0 ? r : null,
|
|
15
|
+
props: t
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
e.Fragment = u, e.jsx = l, e.jsxs = l;
|
|
19
|
+
})), a = n(((e, _) => {
|
|
20
|
+
_.exports = i();
|
|
21
|
+
}));
|
|
22
|
+
export { a as t };
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
import { t as $ } from "./rolldown-runtime-Bklm4c_g.js";
|
|
2
|
+
var X = $(((n) => {
|
|
3
|
+
var E = Symbol.for("react.transitional.element"), N = Symbol.for("react.portal"), Y = Symbol.for("react.fragment"), M = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), L = Symbol.for("react.consumer"), U = Symbol.for("react.context"), k = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), D = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), q = Symbol.for("react.activity"), S = Symbol.iterator;
|
|
4
|
+
function z(t) {
|
|
5
|
+
return t === null || typeof t != "object" ? null : (t = S && t[S] || t["@@iterator"], typeof t == "function" ? t : null);
|
|
6
|
+
}
|
|
7
|
+
var w = {
|
|
8
|
+
isMounted: function() {
|
|
9
|
+
return !1;
|
|
10
|
+
},
|
|
11
|
+
enqueueForceUpdate: function() {},
|
|
12
|
+
enqueueReplaceState: function() {},
|
|
13
|
+
enqueueSetState: function() {}
|
|
14
|
+
}, g = Object.assign, d = {};
|
|
15
|
+
function _(t, e, u) {
|
|
16
|
+
this.props = t, this.context = e, this.refs = d, this.updater = u || w;
|
|
17
|
+
}
|
|
18
|
+
_.prototype.isReactComponent = {}, _.prototype.setState = function(t, e) {
|
|
19
|
+
if (typeof t != "object" && typeof t != "function" && t != null) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
|
|
20
|
+
this.updater.enqueueSetState(this, t, e, "setState");
|
|
21
|
+
}, _.prototype.forceUpdate = function(t) {
|
|
22
|
+
this.updater.enqueueForceUpdate(this, t, "forceUpdate");
|
|
23
|
+
};
|
|
24
|
+
function h() {}
|
|
25
|
+
h.prototype = _.prototype;
|
|
26
|
+
function y(t, e, u) {
|
|
27
|
+
this.props = t, this.context = e, this.refs = d, this.updater = u || w;
|
|
28
|
+
}
|
|
29
|
+
var p = y.prototype = new h();
|
|
30
|
+
p.constructor = y, g(p, _.prototype), p.isPureReactComponent = !0;
|
|
31
|
+
var H = Array.isArray;
|
|
32
|
+
function T() {}
|
|
33
|
+
var s = {
|
|
34
|
+
H: null,
|
|
35
|
+
A: null,
|
|
36
|
+
T: null,
|
|
37
|
+
S: null
|
|
38
|
+
}, O = Object.prototype.hasOwnProperty;
|
|
39
|
+
function R(t, e, u) {
|
|
40
|
+
var r = u.ref;
|
|
41
|
+
return {
|
|
42
|
+
$$typeof: E,
|
|
43
|
+
type: t,
|
|
44
|
+
key: e,
|
|
45
|
+
ref: r !== void 0 ? r : null,
|
|
46
|
+
props: u
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function G(t, e) {
|
|
50
|
+
return R(t.type, e, t.props);
|
|
51
|
+
}
|
|
52
|
+
function m(t) {
|
|
53
|
+
return typeof t == "object" && t !== null && t.$$typeof === E;
|
|
54
|
+
}
|
|
55
|
+
function K(t) {
|
|
56
|
+
var e = {
|
|
57
|
+
"=": "=0",
|
|
58
|
+
":": "=2"
|
|
59
|
+
};
|
|
60
|
+
return "$" + t.replace(/[=:]/g, function(u) {
|
|
61
|
+
return e[u];
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
var P = /\/+/g;
|
|
65
|
+
function C(t, e) {
|
|
66
|
+
return typeof t == "object" && t !== null && t.key != null ? K("" + t.key) : e.toString(36);
|
|
67
|
+
}
|
|
68
|
+
function B(t) {
|
|
69
|
+
switch (t.status) {
|
|
70
|
+
case "fulfilled": return t.value;
|
|
71
|
+
case "rejected": throw t.reason;
|
|
72
|
+
default: switch (typeof t.status == "string" ? t.then(T, T) : (t.status = "pending", t.then(function(e) {
|
|
73
|
+
t.status === "pending" && (t.status = "fulfilled", t.value = e);
|
|
74
|
+
}, function(e) {
|
|
75
|
+
t.status === "pending" && (t.status = "rejected", t.reason = e);
|
|
76
|
+
})), t.status) {
|
|
77
|
+
case "fulfilled": return t.value;
|
|
78
|
+
case "rejected": throw t.reason;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
throw t;
|
|
82
|
+
}
|
|
83
|
+
function l(t, e, u, r, o) {
|
|
84
|
+
var f = typeof t;
|
|
85
|
+
(f === "undefined" || f === "boolean") && (t = null);
|
|
86
|
+
var i = !1;
|
|
87
|
+
if (t === null) i = !0;
|
|
88
|
+
else switch (f) {
|
|
89
|
+
case "bigint":
|
|
90
|
+
case "string":
|
|
91
|
+
case "number":
|
|
92
|
+
i = !0;
|
|
93
|
+
break;
|
|
94
|
+
case "object": switch (t.$$typeof) {
|
|
95
|
+
case E:
|
|
96
|
+
case N:
|
|
97
|
+
i = !0;
|
|
98
|
+
break;
|
|
99
|
+
case A: return i = t._init, l(i(t._payload), e, u, r, o);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
if (i) return o = o(t), i = r === "" ? "." + C(t, 0) : r, H(o) ? (u = "", i != null && (u = i.replace(P, "$&/") + "/"), l(o, e, u, "", function(Q) {
|
|
103
|
+
return Q;
|
|
104
|
+
})) : o != null && (m(o) && (o = G(o, u + (o.key == null || t && t.key === o.key ? "" : ("" + o.key).replace(P, "$&/") + "/") + i)), e.push(o)), 1;
|
|
105
|
+
i = 0;
|
|
106
|
+
var a = r === "" ? "." : r + ":";
|
|
107
|
+
if (H(t)) for (var c = 0; c < t.length; c++) r = t[c], f = a + C(r, c), i += l(r, e, u, f, o);
|
|
108
|
+
else if (c = z(t), typeof c == "function") for (t = c.call(t), c = 0; !(r = t.next()).done;) r = r.value, f = a + C(r, c++), i += l(r, e, u, f, o);
|
|
109
|
+
else if (f === "object") {
|
|
110
|
+
if (typeof t.then == "function") return l(B(t), e, u, r, o);
|
|
111
|
+
throw e = String(t), Error("Objects are not valid as a React child (found: " + (e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e) + "). If you meant to render a collection of children, use an array instead.");
|
|
112
|
+
}
|
|
113
|
+
return i;
|
|
114
|
+
}
|
|
115
|
+
function v(t, e, u) {
|
|
116
|
+
if (t == null) return t;
|
|
117
|
+
var r = [], o = 0;
|
|
118
|
+
return l(t, r, "", "", function(f) {
|
|
119
|
+
return e.call(u, f, o++);
|
|
120
|
+
}), r;
|
|
121
|
+
}
|
|
122
|
+
function W(t) {
|
|
123
|
+
if (t._status === -1) {
|
|
124
|
+
var e = t._result;
|
|
125
|
+
e = e(), e.then(function(u) {
|
|
126
|
+
(t._status === 0 || t._status === -1) && (t._status = 1, t._result = u);
|
|
127
|
+
}, function(u) {
|
|
128
|
+
(t._status === 0 || t._status === -1) && (t._status = 2, t._result = u);
|
|
129
|
+
}), t._status === -1 && (t._status = 0, t._result = e);
|
|
130
|
+
}
|
|
131
|
+
if (t._status === 1) return t._result.default;
|
|
132
|
+
throw t._result;
|
|
133
|
+
}
|
|
134
|
+
var j = typeof reportError == "function" ? reportError : function(t) {
|
|
135
|
+
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
|
|
136
|
+
var e = new window.ErrorEvent("error", {
|
|
137
|
+
bubbles: !0,
|
|
138
|
+
cancelable: !0,
|
|
139
|
+
message: typeof t == "object" && t !== null && typeof t.message == "string" ? String(t.message) : String(t),
|
|
140
|
+
error: t
|
|
141
|
+
});
|
|
142
|
+
if (!window.dispatchEvent(e)) return;
|
|
143
|
+
} else if (typeof process == "object" && typeof process.emit == "function") {
|
|
144
|
+
process.emit("uncaughtException", t);
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
}, J = {
|
|
148
|
+
map: v,
|
|
149
|
+
forEach: function(t, e, u) {
|
|
150
|
+
v(t, function() {
|
|
151
|
+
e.apply(this, arguments);
|
|
152
|
+
}, u);
|
|
153
|
+
},
|
|
154
|
+
count: function(t) {
|
|
155
|
+
var e = 0;
|
|
156
|
+
return v(t, function() {
|
|
157
|
+
e++;
|
|
158
|
+
}), e;
|
|
159
|
+
},
|
|
160
|
+
toArray: function(t) {
|
|
161
|
+
return v(t, function(e) {
|
|
162
|
+
return e;
|
|
163
|
+
}) || [];
|
|
164
|
+
},
|
|
165
|
+
only: function(t) {
|
|
166
|
+
if (!m(t)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
167
|
+
return t;
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
n.Activity = q, n.Children = J, n.Component = _, n.Fragment = Y, n.Profiler = I, n.PureComponent = y, n.StrictMode = M, n.Suspense = b, n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = s, n.__COMPILER_RUNTIME = {
|
|
171
|
+
__proto__: null,
|
|
172
|
+
c: function(t) {
|
|
173
|
+
return s.H.useMemoCache(t);
|
|
174
|
+
}
|
|
175
|
+
}, n.cache = function(t) {
|
|
176
|
+
return function() {
|
|
177
|
+
return t.apply(null, arguments);
|
|
178
|
+
};
|
|
179
|
+
}, n.cacheSignal = function() {
|
|
180
|
+
return null;
|
|
181
|
+
}, n.cloneElement = function(t, e, u) {
|
|
182
|
+
if (t == null) throw Error("The argument must be a React element, but you passed " + t + ".");
|
|
183
|
+
var r = g({}, t.props), o = t.key;
|
|
184
|
+
if (e != null) for (f in e.key !== void 0 && (o = "" + e.key), e) !O.call(e, f) || f === "key" || f === "__self" || f === "__source" || f === "ref" && e.ref === void 0 || (r[f] = e[f]);
|
|
185
|
+
var f = arguments.length - 2;
|
|
186
|
+
if (f === 1) r.children = u;
|
|
187
|
+
else if (1 < f) {
|
|
188
|
+
for (var i = Array(f), a = 0; a < f; a++) i[a] = arguments[a + 2];
|
|
189
|
+
r.children = i;
|
|
190
|
+
}
|
|
191
|
+
return R(t.type, o, r);
|
|
192
|
+
}, n.createContext = function(t) {
|
|
193
|
+
return t = {
|
|
194
|
+
$$typeof: U,
|
|
195
|
+
_currentValue: t,
|
|
196
|
+
_currentValue2: t,
|
|
197
|
+
_threadCount: 0,
|
|
198
|
+
Provider: null,
|
|
199
|
+
Consumer: null
|
|
200
|
+
}, t.Provider = t, t.Consumer = {
|
|
201
|
+
$$typeof: L,
|
|
202
|
+
_context: t
|
|
203
|
+
}, t;
|
|
204
|
+
}, n.createElement = function(t, e, u) {
|
|
205
|
+
var r, o = {}, f = null;
|
|
206
|
+
if (e != null) for (r in e.key !== void 0 && (f = "" + e.key), e) O.call(e, r) && r !== "key" && r !== "__self" && r !== "__source" && (o[r] = e[r]);
|
|
207
|
+
var i = arguments.length - 2;
|
|
208
|
+
if (i === 1) o.children = u;
|
|
209
|
+
else if (1 < i) {
|
|
210
|
+
for (var a = Array(i), c = 0; c < i; c++) a[c] = arguments[c + 2];
|
|
211
|
+
o.children = a;
|
|
212
|
+
}
|
|
213
|
+
if (t && t.defaultProps) for (r in i = t.defaultProps, i) o[r] === void 0 && (o[r] = i[r]);
|
|
214
|
+
return R(t, f, o);
|
|
215
|
+
}, n.createRef = function() {
|
|
216
|
+
return { current: null };
|
|
217
|
+
}, n.forwardRef = function(t) {
|
|
218
|
+
return {
|
|
219
|
+
$$typeof: k,
|
|
220
|
+
render: t
|
|
221
|
+
};
|
|
222
|
+
}, n.isValidElement = m, n.lazy = function(t) {
|
|
223
|
+
return {
|
|
224
|
+
$$typeof: A,
|
|
225
|
+
_payload: {
|
|
226
|
+
_status: -1,
|
|
227
|
+
_result: t
|
|
228
|
+
},
|
|
229
|
+
_init: W
|
|
230
|
+
};
|
|
231
|
+
}, n.memo = function(t, e) {
|
|
232
|
+
return {
|
|
233
|
+
$$typeof: D,
|
|
234
|
+
type: t,
|
|
235
|
+
compare: e === void 0 ? null : e
|
|
236
|
+
};
|
|
237
|
+
}, n.startTransition = function(t) {
|
|
238
|
+
var e = s.T, u = {};
|
|
239
|
+
s.T = u;
|
|
240
|
+
try {
|
|
241
|
+
var r = t(), o = s.S;
|
|
242
|
+
o !== null && o(u, r), typeof r == "object" && r !== null && typeof r.then == "function" && r.then(T, j);
|
|
243
|
+
} catch (f) {
|
|
244
|
+
j(f);
|
|
245
|
+
} finally {
|
|
246
|
+
e !== null && u.types !== null && (e.types = u.types), s.T = e;
|
|
247
|
+
}
|
|
248
|
+
}, n.unstable_useCacheRefresh = function() {
|
|
249
|
+
return s.H.useCacheRefresh();
|
|
250
|
+
}, n.use = function(t) {
|
|
251
|
+
return s.H.use(t);
|
|
252
|
+
}, n.useActionState = function(t, e, u) {
|
|
253
|
+
return s.H.useActionState(t, e, u);
|
|
254
|
+
}, n.useCallback = function(t, e) {
|
|
255
|
+
return s.H.useCallback(t, e);
|
|
256
|
+
}, n.useContext = function(t) {
|
|
257
|
+
return s.H.useContext(t);
|
|
258
|
+
}, n.useDebugValue = function() {}, n.useDeferredValue = function(t, e) {
|
|
259
|
+
return s.H.useDeferredValue(t, e);
|
|
260
|
+
}, n.useEffect = function(t, e) {
|
|
261
|
+
return s.H.useEffect(t, e);
|
|
262
|
+
}, n.useEffectEvent = function(t) {
|
|
263
|
+
return s.H.useEffectEvent(t);
|
|
264
|
+
}, n.useId = function() {
|
|
265
|
+
return s.H.useId();
|
|
266
|
+
}, n.useImperativeHandle = function(t, e, u) {
|
|
267
|
+
return s.H.useImperativeHandle(t, e, u);
|
|
268
|
+
}, n.useInsertionEffect = function(t, e) {
|
|
269
|
+
return s.H.useInsertionEffect(t, e);
|
|
270
|
+
}, n.useLayoutEffect = function(t, e) {
|
|
271
|
+
return s.H.useLayoutEffect(t, e);
|
|
272
|
+
}, n.useMemo = function(t, e) {
|
|
273
|
+
return s.H.useMemo(t, e);
|
|
274
|
+
}, n.useOptimistic = function(t, e) {
|
|
275
|
+
return s.H.useOptimistic(t, e);
|
|
276
|
+
}, n.useReducer = function(t, e, u) {
|
|
277
|
+
return s.H.useReducer(t, e, u);
|
|
278
|
+
}, n.useRef = function(t) {
|
|
279
|
+
return s.H.useRef(t);
|
|
280
|
+
}, n.useState = function(t) {
|
|
281
|
+
return s.H.useState(t);
|
|
282
|
+
}, n.useSyncExternalStore = function(t, e, u) {
|
|
283
|
+
return s.H.useSyncExternalStore(t, e, u);
|
|
284
|
+
}, n.useTransition = function() {
|
|
285
|
+
return s.H.useTransition();
|
|
286
|
+
}, n.version = "19.2.7";
|
|
287
|
+
})), V = $(((n, E) => {
|
|
288
|
+
E.exports = X();
|
|
289
|
+
}));
|
|
290
|
+
export { V as t };
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { t as _ } from "./rolldown-runtime-Bklm4c_g.js";
|
|
2
|
+
import { t as s } from "./react-BHNx_xzv.js";
|
|
3
|
+
var S = _(((n) => {
|
|
4
|
+
var d = s();
|
|
5
|
+
function c(r) {
|
|
6
|
+
var e = "https://react.dev/errors/" + r;
|
|
7
|
+
if (1 < arguments.length) {
|
|
8
|
+
e += "?args[]=" + encodeURIComponent(arguments[1]);
|
|
9
|
+
for (var t = 2; t < arguments.length; t++) e += "&args[]=" + encodeURIComponent(arguments[t]);
|
|
10
|
+
}
|
|
11
|
+
return "Minified React error #" + r + "; visit " + e + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
12
|
+
}
|
|
13
|
+
function a() {}
|
|
14
|
+
var i = {
|
|
15
|
+
d: {
|
|
16
|
+
f: a,
|
|
17
|
+
r: function() {
|
|
18
|
+
throw Error(c(522));
|
|
19
|
+
},
|
|
20
|
+
D: a,
|
|
21
|
+
C: a,
|
|
22
|
+
L: a,
|
|
23
|
+
m: a,
|
|
24
|
+
X: a,
|
|
25
|
+
S: a,
|
|
26
|
+
M: a
|
|
27
|
+
},
|
|
28
|
+
p: 0,
|
|
29
|
+
findDOMNode: null
|
|
30
|
+
}, m = Symbol.for("react.portal");
|
|
31
|
+
function v(r, e, t) {
|
|
32
|
+
var f = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
33
|
+
return {
|
|
34
|
+
$$typeof: m,
|
|
35
|
+
key: f == null ? null : "" + f,
|
|
36
|
+
children: r,
|
|
37
|
+
containerInfo: e,
|
|
38
|
+
implementation: t
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
var u = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
42
|
+
function g(r, e) {
|
|
43
|
+
if (r === "font") return "";
|
|
44
|
+
if (typeof e == "string") return e === "use-credentials" ? e : "";
|
|
45
|
+
}
|
|
46
|
+
n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = i, n.createPortal = function(r, e) {
|
|
47
|
+
var t = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
48
|
+
if (!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11) throw Error(c(299));
|
|
49
|
+
return v(r, e, null, t);
|
|
50
|
+
}, n.flushSync = function(r) {
|
|
51
|
+
var e = u.T, t = i.p;
|
|
52
|
+
try {
|
|
53
|
+
if (u.T = null, i.p = 2, r) return r();
|
|
54
|
+
} finally {
|
|
55
|
+
u.T = e, i.p = t, i.d.f();
|
|
56
|
+
}
|
|
57
|
+
}, n.preconnect = function(r, e) {
|
|
58
|
+
typeof r == "string" && (e ? (e = e.crossOrigin, e = typeof e == "string" ? e === "use-credentials" ? e : "" : void 0) : e = null, i.d.C(r, e));
|
|
59
|
+
}, n.prefetchDNS = function(r) {
|
|
60
|
+
typeof r == "string" && i.d.D(r);
|
|
61
|
+
}, n.preinit = function(r, e) {
|
|
62
|
+
if (typeof r == "string" && e && typeof e.as == "string") {
|
|
63
|
+
var t = e.as, f = g(t, e.crossOrigin), y = typeof e.integrity == "string" ? e.integrity : void 0, l = typeof e.fetchPriority == "string" ? e.fetchPriority : void 0;
|
|
64
|
+
t === "style" ? i.d.S(r, typeof e.precedence == "string" ? e.precedence : void 0, {
|
|
65
|
+
crossOrigin: f,
|
|
66
|
+
integrity: y,
|
|
67
|
+
fetchPriority: l
|
|
68
|
+
}) : t === "script" && i.d.X(r, {
|
|
69
|
+
crossOrigin: f,
|
|
70
|
+
integrity: y,
|
|
71
|
+
fetchPriority: l,
|
|
72
|
+
nonce: typeof e.nonce == "string" ? e.nonce : void 0
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
}, n.preinitModule = function(r, e) {
|
|
76
|
+
if (typeof r == "string") if (typeof e == "object" && e !== null) {
|
|
77
|
+
if (e.as == null || e.as === "script") {
|
|
78
|
+
var t = g(e.as, e.crossOrigin);
|
|
79
|
+
i.d.M(r, {
|
|
80
|
+
crossOrigin: t,
|
|
81
|
+
integrity: typeof e.integrity == "string" ? e.integrity : void 0,
|
|
82
|
+
nonce: typeof e.nonce == "string" ? e.nonce : void 0
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
} else e ?? i.d.M(r);
|
|
86
|
+
}, n.preload = function(r, e) {
|
|
87
|
+
if (typeof r == "string" && typeof e == "object" && e !== null && typeof e.as == "string") {
|
|
88
|
+
var t = e.as, f = g(t, e.crossOrigin);
|
|
89
|
+
i.d.L(r, t, {
|
|
90
|
+
crossOrigin: f,
|
|
91
|
+
integrity: typeof e.integrity == "string" ? e.integrity : void 0,
|
|
92
|
+
nonce: typeof e.nonce == "string" ? e.nonce : void 0,
|
|
93
|
+
type: typeof e.type == "string" ? e.type : void 0,
|
|
94
|
+
fetchPriority: typeof e.fetchPriority == "string" ? e.fetchPriority : void 0,
|
|
95
|
+
referrerPolicy: typeof e.referrerPolicy == "string" ? e.referrerPolicy : void 0,
|
|
96
|
+
imageSrcSet: typeof e.imageSrcSet == "string" ? e.imageSrcSet : void 0,
|
|
97
|
+
imageSizes: typeof e.imageSizes == "string" ? e.imageSizes : void 0,
|
|
98
|
+
media: typeof e.media == "string" ? e.media : void 0
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
}, n.preloadModule = function(r, e) {
|
|
102
|
+
if (typeof r == "string") if (e) {
|
|
103
|
+
var t = g(e.as, e.crossOrigin);
|
|
104
|
+
i.d.m(r, {
|
|
105
|
+
as: typeof e.as == "string" && e.as !== "script" ? e.as : void 0,
|
|
106
|
+
crossOrigin: t,
|
|
107
|
+
integrity: typeof e.integrity == "string" ? e.integrity : void 0
|
|
108
|
+
});
|
|
109
|
+
} else i.d.m(r);
|
|
110
|
+
}, n.requestFormReset = function(r) {
|
|
111
|
+
i.d.r(r);
|
|
112
|
+
}, n.unstable_batchedUpdates = function(r, e) {
|
|
113
|
+
return r(e);
|
|
114
|
+
}, n.useFormState = function(r, e, t) {
|
|
115
|
+
return u.H.useFormState(r, e, t);
|
|
116
|
+
}, n.useFormStatus = function() {
|
|
117
|
+
return u.H.useHostTransitionStatus();
|
|
118
|
+
}, n.version = "19.2.7";
|
|
119
|
+
})), T = _(((n, d) => {
|
|
120
|
+
function c() {
|
|
121
|
+
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
|
|
122
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c);
|
|
123
|
+
} catch {}
|
|
124
|
+
}
|
|
125
|
+
c(), d.exports = S();
|
|
126
|
+
}));
|
|
127
|
+
export { T as t };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<title>Two-step flow: design → subject/preheader (headless)</title>
|
|
6
|
-
<script id="plugin-script" type="text/javascript" src="useblocks.js?
|
|
6
|
+
<script id="plugin-script" type="text/javascript" src="useblocks.js?15a9129c"></script>
|
|
7
7
|
<style>
|
|
8
8
|
body {
|
|
9
9
|
margin: 0;
|