@zhin.js/console 1.0.48 → 1.0.50

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/dist/react-dom.js CHANGED
@@ -1,171 +1,141 @@
1
- import v from "./react.js";
2
- function R(a) {
3
- return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
4
- }
5
- var l = { exports: {} }, n = {};
6
- var y;
7
- function E() {
8
- if (y) return n;
9
- y = 1;
10
- var a = v;
11
- function f(r) {
12
- var e = "https://react.dev/errors/" + r;
13
- if (1 < arguments.length) {
14
- e += "?args[]=" + encodeURIComponent(arguments[1]);
15
- for (var t = 2; t < arguments.length; t++)
16
- e += "&args[]=" + encodeURIComponent(arguments[t]);
17
- }
18
- 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.";
19
- }
20
- function u() {
21
- }
22
- var c = {
23
- d: {
24
- f: u,
25
- r: function() {
26
- throw Error(f(522));
27
- },
28
- D: u,
29
- C: u,
30
- L: u,
31
- m: u,
32
- X: u,
33
- S: u,
34
- M: u
35
- },
36
- p: 0,
37
- findDOMNode: null
38
- }, O = /* @__PURE__ */ Symbol.for("react.portal");
39
- function S(r, e, t) {
40
- var o = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
41
- return {
42
- $$typeof: O,
43
- key: o == null ? null : "" + o,
44
- children: r,
45
- containerInfo: e,
46
- implementation: t
47
- };
48
- }
49
- var s = a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
50
- function d(r, e) {
51
- if (r === "font") return "";
52
- if (typeof e == "string")
53
- return e === "use-credentials" ? e : "";
54
- }
55
- return n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = c, n.createPortal = function(r, e) {
56
- var t = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
57
- if (!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)
58
- throw Error(f(299));
59
- return S(r, e, null, t);
60
- }, n.flushSync = function(r) {
61
- var e = s.T, t = c.p;
62
- try {
63
- if (s.T = null, c.p = 2, r) return r();
64
- } finally {
65
- s.T = e, c.p = t, c.d.f();
66
- }
67
- }, n.preconnect = function(r, e) {
68
- typeof r == "string" && (e ? (e = e.crossOrigin, e = typeof e == "string" ? e === "use-credentials" ? e : "" : void 0) : e = null, c.d.C(r, e));
69
- }, n.prefetchDNS = function(r) {
70
- typeof r == "string" && c.d.D(r);
71
- }, n.preinit = function(r, e) {
72
- if (typeof r == "string" && e && typeof e.as == "string") {
73
- var t = e.as, o = d(t, e.crossOrigin), _ = typeof e.integrity == "string" ? e.integrity : void 0, g = typeof e.fetchPriority == "string" ? e.fetchPriority : void 0;
74
- t === "style" ? c.d.S(
75
- r,
76
- typeof e.precedence == "string" ? e.precedence : void 0,
77
- {
78
- crossOrigin: o,
79
- integrity: _,
80
- fetchPriority: g
81
- }
82
- ) : t === "script" && c.d.X(r, {
83
- crossOrigin: o,
84
- integrity: _,
85
- fetchPriority: g,
86
- nonce: typeof e.nonce == "string" ? e.nonce : void 0
87
- });
88
- }
89
- }, n.preinitModule = function(r, e) {
90
- if (typeof r == "string")
91
- if (typeof e == "object" && e !== null) {
92
- if (e.as == null || e.as === "script") {
93
- var t = d(
94
- e.as,
95
- e.crossOrigin
96
- );
97
- c.d.M(r, {
98
- crossOrigin: t,
99
- integrity: typeof e.integrity == "string" ? e.integrity : void 0,
100
- nonce: typeof e.nonce == "string" ? e.nonce : void 0
101
- });
102
- }
103
- } else e == null && c.d.M(r);
104
- }, n.preload = function(r, e) {
105
- if (typeof r == "string" && typeof e == "object" && e !== null && typeof e.as == "string") {
106
- var t = e.as, o = d(t, e.crossOrigin);
107
- c.d.L(r, t, {
108
- crossOrigin: o,
109
- integrity: typeof e.integrity == "string" ? e.integrity : void 0,
110
- nonce: typeof e.nonce == "string" ? e.nonce : void 0,
111
- type: typeof e.type == "string" ? e.type : void 0,
112
- fetchPriority: typeof e.fetchPriority == "string" ? e.fetchPriority : void 0,
113
- referrerPolicy: typeof e.referrerPolicy == "string" ? e.referrerPolicy : void 0,
114
- imageSrcSet: typeof e.imageSrcSet == "string" ? e.imageSrcSet : void 0,
115
- imageSizes: typeof e.imageSizes == "string" ? e.imageSizes : void 0,
116
- media: typeof e.media == "string" ? e.media : void 0
117
- });
118
- }
119
- }, n.preloadModule = function(r, e) {
120
- if (typeof r == "string")
121
- if (e) {
122
- var t = d(e.as, e.crossOrigin);
123
- c.d.m(r, {
124
- as: typeof e.as == "string" && e.as !== "script" ? e.as : void 0,
125
- crossOrigin: t,
126
- integrity: typeof e.integrity == "string" ? e.integrity : void 0
127
- });
128
- } else c.d.m(r);
129
- }, n.requestFormReset = function(r) {
130
- c.d.r(r);
131
- }, n.unstable_batchedUpdates = function(r, e) {
132
- return r(e);
133
- }, n.useFormState = function(r, e, t) {
134
- return s.H.useFormState(r, e, t);
135
- }, n.useFormStatus = function() {
136
- return s.H.useHostTransitionStatus();
137
- }, n.version = "19.2.0", n;
138
- }
139
- var m;
140
- function T() {
141
- if (m) return l.exports;
142
- m = 1;
143
- function a() {
144
- if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"))
145
- try {
146
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a);
147
- } catch (f) {
148
- console.error(f);
149
- }
150
- }
151
- return a(), l.exports = E(), l.exports;
152
- }
153
- var p = T();
154
- const i = /* @__PURE__ */ R(p), N = i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, h = i.createPortal, A = i.flushSync, P = i.preconnect, C = i.prefetchDNS, U = i.preinit, L = i.preinitModule, M = i.preload, F = i.preloadModule, b = i.requestFormReset, H = i.unstable_batchedUpdates, I = i.useFormState, q = i.useFormStatus, G = i.version, k = i.default || i;
155
- export {
156
- N as __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
157
- h as createPortal,
158
- k as default,
159
- A as flushSync,
160
- P as preconnect,
161
- C as prefetchDNS,
162
- U as preinit,
163
- L as preinitModule,
164
- M as preload,
165
- F as preloadModule,
166
- b as requestFormReset,
167
- H as unstable_batchedUpdates,
168
- I as useFormState,
169
- q as useFormStatus,
170
- G as version
171
- };
1
+ //#region \0rolldown/runtime.js
2
+ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), s = (e, i, o, s) => {
3
+ if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
4
+ get: ((e) => i[e]).bind(null, d),
5
+ enumerable: !(s = n(i, d)) || s.enumerable
6
+ });
7
+ return e;
8
+ }, c = (n, r, a) => (a = n == null ? {} : e(i(n)), s(r || !n || !n.__esModule ? t(a, "default", {
9
+ value: n,
10
+ enumerable: !0
11
+ }) : a, n)), l = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(e) {
12
+ if (typeof require < "u") return require.apply(this, arguments);
13
+ throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
14
+ }), u = /* @__PURE__ */ o(((e) => {
15
+ var t = l("./react.js");
16
+ function n(e) {
17
+ var t = "https://react.dev/errors/" + e;
18
+ if (1 < arguments.length) {
19
+ t += "?args[]=" + encodeURIComponent(arguments[1]);
20
+ for (var n = 2; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
21
+ }
22
+ return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
23
+ }
24
+ function r() {}
25
+ var i = {
26
+ d: {
27
+ f: r,
28
+ r: function() {
29
+ throw Error(n(522));
30
+ },
31
+ D: r,
32
+ C: r,
33
+ L: r,
34
+ m: r,
35
+ X: r,
36
+ S: r,
37
+ M: r
38
+ },
39
+ p: 0,
40
+ findDOMNode: null
41
+ }, a = Symbol.for("react.portal");
42
+ function o(e, t, n) {
43
+ var r = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
44
+ return {
45
+ $$typeof: a,
46
+ key: r == null ? null : "" + r,
47
+ children: e,
48
+ containerInfo: t,
49
+ implementation: n
50
+ };
51
+ }
52
+ var s = t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
53
+ function c(e, t) {
54
+ if (e === "font") return "";
55
+ if (typeof t == "string") return t === "use-credentials" ? t : "";
56
+ }
57
+ e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = i, e.createPortal = function(e, t) {
58
+ var r = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
59
+ if (!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11) throw Error(n(299));
60
+ return o(e, t, null, r);
61
+ }, e.flushSync = function(e) {
62
+ var t = s.T, n = i.p;
63
+ try {
64
+ if (s.T = null, i.p = 2, e) return e();
65
+ } finally {
66
+ s.T = t, i.p = n, i.d.f();
67
+ }
68
+ }, e.preconnect = function(e, t) {
69
+ typeof e == "string" && (t ? (t = t.crossOrigin, t = typeof t == "string" ? t === "use-credentials" ? t : "" : void 0) : t = null, i.d.C(e, t));
70
+ }, e.prefetchDNS = function(e) {
71
+ typeof e == "string" && i.d.D(e);
72
+ }, e.preinit = function(e, t) {
73
+ if (typeof e == "string" && t && typeof t.as == "string") {
74
+ var n = t.as, r = c(n, t.crossOrigin), a = typeof t.integrity == "string" ? t.integrity : void 0, o = typeof t.fetchPriority == "string" ? t.fetchPriority : void 0;
75
+ n === "style" ? i.d.S(e, typeof t.precedence == "string" ? t.precedence : void 0, {
76
+ crossOrigin: r,
77
+ integrity: a,
78
+ fetchPriority: o
79
+ }) : n === "script" && i.d.X(e, {
80
+ crossOrigin: r,
81
+ integrity: a,
82
+ fetchPriority: o,
83
+ nonce: typeof t.nonce == "string" ? t.nonce : void 0
84
+ });
85
+ }
86
+ }, e.preinitModule = function(e, t) {
87
+ if (typeof e == "string") if (typeof t == "object" && t) {
88
+ if (t.as == null || t.as === "script") {
89
+ var n = c(t.as, t.crossOrigin);
90
+ i.d.M(e, {
91
+ crossOrigin: n,
92
+ integrity: typeof t.integrity == "string" ? t.integrity : void 0,
93
+ nonce: typeof t.nonce == "string" ? t.nonce : void 0
94
+ });
95
+ }
96
+ } else t ?? i.d.M(e);
97
+ }, e.preload = function(e, t) {
98
+ if (typeof e == "string" && typeof t == "object" && t && typeof t.as == "string") {
99
+ var n = t.as, r = c(n, t.crossOrigin);
100
+ i.d.L(e, n, {
101
+ crossOrigin: r,
102
+ integrity: typeof t.integrity == "string" ? t.integrity : void 0,
103
+ nonce: typeof t.nonce == "string" ? t.nonce : void 0,
104
+ type: typeof t.type == "string" ? t.type : void 0,
105
+ fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0,
106
+ referrerPolicy: typeof t.referrerPolicy == "string" ? t.referrerPolicy : void 0,
107
+ imageSrcSet: typeof t.imageSrcSet == "string" ? t.imageSrcSet : void 0,
108
+ imageSizes: typeof t.imageSizes == "string" ? t.imageSizes : void 0,
109
+ media: typeof t.media == "string" ? t.media : void 0
110
+ });
111
+ }
112
+ }, e.preloadModule = function(e, t) {
113
+ if (typeof e == "string") if (t) {
114
+ var n = c(t.as, t.crossOrigin);
115
+ i.d.m(e, {
116
+ as: typeof t.as == "string" && t.as !== "script" ? t.as : void 0,
117
+ crossOrigin: n,
118
+ integrity: typeof t.integrity == "string" ? t.integrity : void 0
119
+ });
120
+ } else i.d.m(e);
121
+ }, e.requestFormReset = function(e) {
122
+ i.d.r(e);
123
+ }, e.unstable_batchedUpdates = function(e, t) {
124
+ return e(t);
125
+ }, e.useFormState = function(e, t, n) {
126
+ return s.H.useFormState(e, t, n);
127
+ }, e.useFormStatus = function() {
128
+ return s.H.useHostTransitionStatus();
129
+ }, e.version = "19.2.0";
130
+ })), d = /* @__PURE__ */ c((/* @__PURE__ */ o(((e, t) => {
131
+ function n() {
132
+ if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
133
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);
134
+ } catch (e) {
135
+ console.error(e);
136
+ }
137
+ }
138
+ n(), t.exports = u();
139
+ })))(), 1), f = d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, p = d.createPortal, m = d.flushSync, h = d.preconnect, g = d.prefetchDNS, _ = d.preinit, v = d.preinitModule, y = d.preload, b = d.preloadModule, x = d.requestFormReset, S = d.unstable_batchedUpdates, C = d.useFormState, w = d.useFormStatus, T = "19.2.0", E = d.default.default || d.default;
140
+ //#endregion
141
+ export { f as __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, p as createPortal, E as default, m as flushSync, h as preconnect, g as prefetchDNS, _ as preinit, v as preinitModule, y as preload, b as preloadModule, x as requestFormReset, S as unstable_batchedUpdates, C as useFormState, w as useFormStatus, T as version };
@@ -1,42 +1,9 @@
1
- import { g as m } from "./_commonjsHelpers-C6fGbg64.js";
2
- function p(e, s) {
3
- for (var o = 0; o < s.length; o++) {
4
- const t = s[o];
5
- if (typeof t != "string" && !Array.isArray(t)) {
6
- for (const r in t)
7
- if (r !== "default" && !(r in e)) {
8
- const u = Object.getOwnPropertyDescriptor(t, r);
9
- u && Object.defineProperty(e, r, u.get ? u : {
10
- enumerable: !0,
11
- get: () => t[r]
12
- });
13
- }
14
- }
15
- }
16
- return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
17
- }
18
- var i = { exports: {} }, n = {};
19
- var a;
20
- function v() {
21
- if (a) return n;
22
- a = 1;
23
- var e = /* @__PURE__ */ Symbol.for("react.fragment");
24
- return n.Fragment = e, n.jsxDEV = void 0, n;
25
- }
26
- var c;
27
- function x() {
28
- return c || (c = 1, i.exports = v()), i.exports;
29
- }
30
- var f = x();
31
- const R = /* @__PURE__ */ m(f), d = /* @__PURE__ */ p({
32
- __proto__: null,
33
- default: R
34
- }, [f]), {
35
- jsxDEV: D,
36
- Fragment: l
37
- } = d;
38
- export {
39
- l as Fragment,
40
- d as default,
41
- D as jsxDEV
42
- };
1
+ import { n as e, t } from "./chunk-efA98nb6.js";
2
+ //#region ../../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-dev-runtime.production.js
3
+ var n = /* @__PURE__ */ t(((e) => {
4
+ e.Fragment = Symbol.for("react.fragment"), e.jsxDEV = void 0;
5
+ })), r = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
6
+ t.exports = n();
7
+ })))(), 1), { jsxDEV: i, Fragment: a } = r, o = r;
8
+ //#endregion
9
+ export { a as Fragment, o as default, i as jsxDEV };
@@ -1,59 +1,22 @@
1
- import { g as c } from "./_commonjsHelpers-C6fGbg64.js";
2
- function d(o, u) {
3
- for (var n = 0; n < u.length; n++) {
4
- const t = u[n];
5
- if (typeof t != "string" && !Array.isArray(t)) {
6
- for (const e in t)
7
- if (e !== "default" && !(e in o)) {
8
- const r = Object.getOwnPropertyDescriptor(t, e);
9
- r && Object.defineProperty(o, e, r.get ? r : {
10
- enumerable: !0,
11
- get: () => t[e]
12
- });
13
- }
14
- }
15
- }
16
- return Object.freeze(Object.defineProperty(o, Symbol.toStringTag, { value: "Module" }));
17
- }
18
- var f = { exports: {} }, s = {};
19
- var l;
20
- function R() {
21
- if (l) return s;
22
- l = 1;
23
- var o = /* @__PURE__ */ Symbol.for("react.transitional.element"), u = /* @__PURE__ */ Symbol.for("react.fragment");
24
- function n(t, e, r) {
25
- var i = null;
26
- if (r !== void 0 && (i = "" + r), e.key !== void 0 && (i = "" + e.key), "key" in e) {
27
- r = {};
28
- for (var a in e)
29
- a !== "key" && (r[a] = e[a]);
30
- } else r = e;
31
- return e = r.ref, {
32
- $$typeof: o,
33
- type: t,
34
- key: i,
35
- ref: e !== void 0 ? e : null,
36
- props: r
37
- };
38
- }
39
- return s.Fragment = u, s.jsx = n, s.jsxs = n, s;
40
- }
41
- var x;
42
- function j() {
43
- return x || (x = 1, f.exports = R()), f.exports;
44
- }
45
- var p = j();
46
- const m = /* @__PURE__ */ c(p), v = /* @__PURE__ */ d({
47
- __proto__: null,
48
- default: m
49
- }, [p]), {
50
- jsx: E,
51
- jsxs: k,
52
- Fragment: T
53
- } = v;
54
- export {
55
- T as Fragment,
56
- v as default,
57
- E as jsx,
58
- k as jsxs
59
- };
1
+ import { n as e, t } from "./chunk-efA98nb6.js";
2
+ //#region ../../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-runtime.production.js
3
+ var n = /* @__PURE__ */ t(((e) => {
4
+ var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
5
+ function r(e, n, r) {
6
+ var i = null;
7
+ if (r !== void 0 && (i = "" + r), n.key !== void 0 && (i = "" + n.key), "key" in n) for (var a in r = {}, n) a !== "key" && (r[a] = n[a]);
8
+ else r = n;
9
+ return n = r.ref, {
10
+ $$typeof: t,
11
+ type: e,
12
+ key: i,
13
+ ref: n === void 0 ? null : n,
14
+ props: r
15
+ };
16
+ }
17
+ e.Fragment = n, e.jsx = r, e.jsxs = r;
18
+ })), r = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
19
+ t.exports = n();
20
+ })))(), 1), { jsx: i, jsxs: a, Fragment: o } = r, s = r;
21
+ //#endregion
22
+ export { o as Fragment, s as default, i as jsx, a as jsxs };