@attraccess/plugin-wago 0.1.0-nightly.996.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +13571 -60554
- package/dist/migrations.js +87 -5
- package/frontend/__federation_expose_Plugin-CWwloVtB.js +11595 -0
- package/frontend/host-shared-placeholder-BvRk9kiK.js +0 -0
- package/frontend/remoteEntry.js +68 -2
- package/frontend/style.css +194 -113
- package/package.json +11 -7
- package/dist/signing-public-key.pub +0 -1
- package/frontend/__federation_expose_Plugin-BoHSTQq7.js +0 -7543
- package/frontend/jsx-runtime-DFPsoQIN.js +0 -42
- package/frontend/preload-helper-DxWiKyOd.js +0 -68
- package/frontend/react-Cr_hTkIJ.js +0 -383
- package/frontend/rolldown-runtime-DC62tzP2.js +0 -33
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { t as __commonJSMin } from "./rolldown-runtime-DC62tzP2.js";
|
|
2
|
-
//#region ../../../node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react-jsx-runtime.production.js
|
|
3
|
-
/**
|
|
4
|
-
* @license React
|
|
5
|
-
* react-jsx-runtime.production.js
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the MIT license found in the
|
|
10
|
-
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/
|
|
12
|
-
var require_react_jsx_runtime_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13
|
-
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
|
|
14
|
-
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
15
|
-
function jsxProd(type, config, maybeKey) {
|
|
16
|
-
var key = null;
|
|
17
|
-
void 0 !== maybeKey && (key = "" + maybeKey);
|
|
18
|
-
void 0 !== config.key && (key = "" + config.key);
|
|
19
|
-
if ("key" in config) {
|
|
20
|
-
maybeKey = {};
|
|
21
|
-
for (var propName in config) "key" !== propName && (maybeKey[propName] = config[propName]);
|
|
22
|
-
} else maybeKey = config;
|
|
23
|
-
config = maybeKey.ref;
|
|
24
|
-
return {
|
|
25
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
26
|
-
type,
|
|
27
|
-
key,
|
|
28
|
-
ref: void 0 !== config ? config : null,
|
|
29
|
-
props: maybeKey
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
33
|
-
exports.jsx = jsxProd;
|
|
34
|
-
exports.jsxs = jsxProd;
|
|
35
|
-
}));
|
|
36
|
-
//#endregion
|
|
37
|
-
//#region ../../../node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js
|
|
38
|
-
var require_jsx_runtime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
39
|
-
module.exports = require_react_jsx_runtime_production();
|
|
40
|
-
}));
|
|
41
|
-
//#endregion
|
|
42
|
-
export { require_jsx_runtime as t };
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
//#region \0vite/preload-helper.js
|
|
2
|
-
var scriptRel = "modulepreload";
|
|
3
|
-
var assetsURL = function(dep) {
|
|
4
|
-
return "/" + dep;
|
|
5
|
-
};
|
|
6
|
-
var seen = {};
|
|
7
|
-
var __vitePreload = function preload(baseModule, deps, importerUrl) {
|
|
8
|
-
let promise = Promise.resolve();
|
|
9
|
-
if (deps && deps.length > 0) {
|
|
10
|
-
const links = document.getElementsByTagName("link");
|
|
11
|
-
const cspNonceMeta = document.querySelector("meta[property=csp-nonce]");
|
|
12
|
-
const cspNonce = cspNonceMeta?.nonce || cspNonceMeta?.getAttribute("nonce");
|
|
13
|
-
function allSettled(promises) {
|
|
14
|
-
return Promise.all(promises.map((p) => Promise.resolve(p).then((value) => ({
|
|
15
|
-
status: "fulfilled",
|
|
16
|
-
value
|
|
17
|
-
}), (reason) => ({
|
|
18
|
-
status: "rejected",
|
|
19
|
-
reason
|
|
20
|
-
}))));
|
|
21
|
-
}
|
|
22
|
-
function importMetaResolve(specifier) {
|
|
23
|
-
if (import.meta.resolve) return import.meta.resolve(specifier);
|
|
24
|
-
return new URL(
|
|
25
|
-
specifier,
|
|
26
|
-
/** #__KEEP__ */
|
|
27
|
-
import.meta.url
|
|
28
|
-
).href;
|
|
29
|
-
}
|
|
30
|
-
promise = allSettled(deps.map((dep) => {
|
|
31
|
-
dep = assetsURL(dep, importerUrl);
|
|
32
|
-
dep = importMetaResolve(dep);
|
|
33
|
-
if (dep in seen) return;
|
|
34
|
-
seen[dep] = true;
|
|
35
|
-
const isCss = dep.endsWith(".css");
|
|
36
|
-
for (let i = links.length - 1; i >= 0; i--) {
|
|
37
|
-
const link = links[i];
|
|
38
|
-
if (link.href === dep && (!isCss || link.rel === "stylesheet")) return;
|
|
39
|
-
}
|
|
40
|
-
const link = document.createElement("link");
|
|
41
|
-
link.rel = isCss ? "stylesheet" : scriptRel;
|
|
42
|
-
if (!isCss) link.as = "script";
|
|
43
|
-
link.crossOrigin = "";
|
|
44
|
-
link.href = dep;
|
|
45
|
-
if (cspNonce) link.setAttribute("nonce", cspNonce);
|
|
46
|
-
document.head.appendChild(link);
|
|
47
|
-
if (isCss) return new Promise((res, rej) => {
|
|
48
|
-
link.addEventListener("load", res);
|
|
49
|
-
link.addEventListener("error", () => rej(/* @__PURE__ */ new Error(`Unable to preload CSS for ${dep}`)));
|
|
50
|
-
});
|
|
51
|
-
}));
|
|
52
|
-
}
|
|
53
|
-
function handlePreloadError(err) {
|
|
54
|
-
const e = new Event("vite:preloadError", { cancelable: true });
|
|
55
|
-
e.payload = err;
|
|
56
|
-
window.dispatchEvent(e);
|
|
57
|
-
if (!e.defaultPrevented) throw err;
|
|
58
|
-
}
|
|
59
|
-
return promise.then((res) => {
|
|
60
|
-
for (const item of res || []) {
|
|
61
|
-
if (item.status !== "rejected") continue;
|
|
62
|
-
handlePreloadError(item.reason);
|
|
63
|
-
}
|
|
64
|
-
return baseModule().catch(handlePreloadError);
|
|
65
|
-
});
|
|
66
|
-
};
|
|
67
|
-
//#endregion
|
|
68
|
-
export { __vitePreload as t };
|
|
@@ -1,383 +0,0 @@
|
|
|
1
|
-
import { t as __commonJSMin } from "./rolldown-runtime-DC62tzP2.js";
|
|
2
|
-
//#region ../../../node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react.production.js
|
|
3
|
-
/**
|
|
4
|
-
* @license React
|
|
5
|
-
* react.production.js
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the MIT license found in the
|
|
10
|
-
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/
|
|
12
|
-
var require_react_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13
|
-
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
|
|
14
|
-
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
15
|
-
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
16
|
-
var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
|
|
17
|
-
var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
18
|
-
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer");
|
|
19
|
-
var REACT_CONTEXT_TYPE = Symbol.for("react.context");
|
|
20
|
-
var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
|
|
21
|
-
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
|
22
|
-
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
23
|
-
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
24
|
-
var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
|
|
25
|
-
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
26
|
-
function getIteratorFn(maybeIterable) {
|
|
27
|
-
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
28
|
-
maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
|
|
29
|
-
return "function" === typeof maybeIterable ? maybeIterable : null;
|
|
30
|
-
}
|
|
31
|
-
var ReactNoopUpdateQueue = {
|
|
32
|
-
isMounted: function() {
|
|
33
|
-
return !1;
|
|
34
|
-
},
|
|
35
|
-
enqueueForceUpdate: function() {},
|
|
36
|
-
enqueueReplaceState: function() {},
|
|
37
|
-
enqueueSetState: function() {}
|
|
38
|
-
};
|
|
39
|
-
var assign = Object.assign;
|
|
40
|
-
var emptyObject = {};
|
|
41
|
-
function Component(props, context, updater) {
|
|
42
|
-
this.props = props;
|
|
43
|
-
this.context = context;
|
|
44
|
-
this.refs = emptyObject;
|
|
45
|
-
this.updater = updater || ReactNoopUpdateQueue;
|
|
46
|
-
}
|
|
47
|
-
Component.prototype.isReactComponent = {};
|
|
48
|
-
Component.prototype.setState = function(partialState, callback) {
|
|
49
|
-
if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
|
|
50
|
-
this.updater.enqueueSetState(this, partialState, callback, "setState");
|
|
51
|
-
};
|
|
52
|
-
Component.prototype.forceUpdate = function(callback) {
|
|
53
|
-
this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
|
|
54
|
-
};
|
|
55
|
-
function ComponentDummy() {}
|
|
56
|
-
ComponentDummy.prototype = Component.prototype;
|
|
57
|
-
function PureComponent(props, context, updater) {
|
|
58
|
-
this.props = props;
|
|
59
|
-
this.context = context;
|
|
60
|
-
this.refs = emptyObject;
|
|
61
|
-
this.updater = updater || ReactNoopUpdateQueue;
|
|
62
|
-
}
|
|
63
|
-
var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
|
|
64
|
-
pureComponentPrototype.constructor = PureComponent;
|
|
65
|
-
assign(pureComponentPrototype, Component.prototype);
|
|
66
|
-
pureComponentPrototype.isPureReactComponent = !0;
|
|
67
|
-
var isArrayImpl = Array.isArray;
|
|
68
|
-
function noop() {}
|
|
69
|
-
var ReactSharedInternals = {
|
|
70
|
-
H: null,
|
|
71
|
-
A: null,
|
|
72
|
-
T: null,
|
|
73
|
-
S: null
|
|
74
|
-
};
|
|
75
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
76
|
-
function ReactElement(type, key, props) {
|
|
77
|
-
var refProp = props.ref;
|
|
78
|
-
return {
|
|
79
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
80
|
-
type,
|
|
81
|
-
key,
|
|
82
|
-
ref: void 0 !== refProp ? refProp : null,
|
|
83
|
-
props
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
function cloneAndReplaceKey(oldElement, newKey) {
|
|
87
|
-
return ReactElement(oldElement.type, newKey, oldElement.props);
|
|
88
|
-
}
|
|
89
|
-
function isValidElement(object) {
|
|
90
|
-
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
91
|
-
}
|
|
92
|
-
function escape(key) {
|
|
93
|
-
var escaperLookup = {
|
|
94
|
-
"=": "=0",
|
|
95
|
-
":": "=2"
|
|
96
|
-
};
|
|
97
|
-
return "$" + key.replace(/[=:]/g, function(match) {
|
|
98
|
-
return escaperLookup[match];
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
var userProvidedKeyEscapeRegex = /\/+/g;
|
|
102
|
-
function getElementKey(element, index) {
|
|
103
|
-
return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index.toString(36);
|
|
104
|
-
}
|
|
105
|
-
function resolveThenable(thenable) {
|
|
106
|
-
switch (thenable.status) {
|
|
107
|
-
case "fulfilled": return thenable.value;
|
|
108
|
-
case "rejected": throw thenable.reason;
|
|
109
|
-
default: switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(function(fulfilledValue) {
|
|
110
|
-
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
111
|
-
}, function(error) {
|
|
112
|
-
"pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
|
|
113
|
-
})), thenable.status) {
|
|
114
|
-
case "fulfilled": return thenable.value;
|
|
115
|
-
case "rejected": throw thenable.reason;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
throw thenable;
|
|
119
|
-
}
|
|
120
|
-
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
|
121
|
-
var type = typeof children;
|
|
122
|
-
if ("undefined" === type || "boolean" === type) children = null;
|
|
123
|
-
var invokeCallback = !1;
|
|
124
|
-
if (null === children) invokeCallback = !0;
|
|
125
|
-
else switch (type) {
|
|
126
|
-
case "bigint":
|
|
127
|
-
case "string":
|
|
128
|
-
case "number":
|
|
129
|
-
invokeCallback = !0;
|
|
130
|
-
break;
|
|
131
|
-
case "object": switch (children.$$typeof) {
|
|
132
|
-
case REACT_ELEMENT_TYPE:
|
|
133
|
-
case REACT_PORTAL_TYPE:
|
|
134
|
-
invokeCallback = !0;
|
|
135
|
-
break;
|
|
136
|
-
case REACT_LAZY_TYPE: return invokeCallback = children._init, mapIntoArray(invokeCallback(children._payload), array, escapedPrefix, nameSoFar, callback);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
if (invokeCallback) return callback = callback(children), invokeCallback = "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = "", null != invokeCallback && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
|
|
140
|
-
return c;
|
|
141
|
-
})) : null != callback && (isValidElement(callback) && (callback = cloneAndReplaceKey(callback, escapedPrefix + (null == callback.key || children && children.key === callback.key ? "" : ("" + callback.key).replace(userProvidedKeyEscapeRegex, "$&/") + "/") + invokeCallback)), array.push(callback)), 1;
|
|
142
|
-
invokeCallback = 0;
|
|
143
|
-
var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
|
|
144
|
-
if (isArrayImpl(children)) for (var i = 0; i < children.length; i++) nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);
|
|
145
|
-
else if (i = getIteratorFn(children), "function" === typeof i) for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done;) nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);
|
|
146
|
-
else if ("object" === type) {
|
|
147
|
-
if ("function" === typeof children.then) return mapIntoArray(resolveThenable(children), array, escapedPrefix, nameSoFar, callback);
|
|
148
|
-
array = String(children);
|
|
149
|
-
throw Error("Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead.");
|
|
150
|
-
}
|
|
151
|
-
return invokeCallback;
|
|
152
|
-
}
|
|
153
|
-
function mapChildren(children, func, context) {
|
|
154
|
-
if (null == children) return children;
|
|
155
|
-
var result = [], count = 0;
|
|
156
|
-
mapIntoArray(children, result, "", "", function(child) {
|
|
157
|
-
return func.call(context, child, count++);
|
|
158
|
-
});
|
|
159
|
-
return result;
|
|
160
|
-
}
|
|
161
|
-
function lazyInitializer(payload) {
|
|
162
|
-
if (-1 === payload._status) {
|
|
163
|
-
var ctor = payload._result;
|
|
164
|
-
ctor = ctor();
|
|
165
|
-
ctor.then(function(moduleObject) {
|
|
166
|
-
if (0 === payload._status || -1 === payload._status) payload._status = 1, payload._result = moduleObject;
|
|
167
|
-
}, function(error) {
|
|
168
|
-
if (0 === payload._status || -1 === payload._status) payload._status = 2, payload._result = error;
|
|
169
|
-
});
|
|
170
|
-
-1 === payload._status && (payload._status = 0, payload._result = ctor);
|
|
171
|
-
}
|
|
172
|
-
if (1 === payload._status) return payload._result.default;
|
|
173
|
-
throw payload._result;
|
|
174
|
-
}
|
|
175
|
-
var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
|
|
176
|
-
if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
|
|
177
|
-
var event = new window.ErrorEvent("error", {
|
|
178
|
-
bubbles: !0,
|
|
179
|
-
cancelable: !0,
|
|
180
|
-
message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
|
|
181
|
-
error
|
|
182
|
-
});
|
|
183
|
-
if (!window.dispatchEvent(event)) return;
|
|
184
|
-
} else if ("object" === typeof process && "function" === typeof process.emit) {
|
|
185
|
-
process.emit("uncaughtException", error);
|
|
186
|
-
return;
|
|
187
|
-
}
|
|
188
|
-
console.error(error);
|
|
189
|
-
};
|
|
190
|
-
var Children = {
|
|
191
|
-
map: mapChildren,
|
|
192
|
-
forEach: function(children, forEachFunc, forEachContext) {
|
|
193
|
-
mapChildren(children, function() {
|
|
194
|
-
forEachFunc.apply(this, arguments);
|
|
195
|
-
}, forEachContext);
|
|
196
|
-
},
|
|
197
|
-
count: function(children) {
|
|
198
|
-
var n = 0;
|
|
199
|
-
mapChildren(children, function() {
|
|
200
|
-
n++;
|
|
201
|
-
});
|
|
202
|
-
return n;
|
|
203
|
-
},
|
|
204
|
-
toArray: function(children) {
|
|
205
|
-
return mapChildren(children, function(child) {
|
|
206
|
-
return child;
|
|
207
|
-
}) || [];
|
|
208
|
-
},
|
|
209
|
-
only: function(children) {
|
|
210
|
-
if (!isValidElement(children)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
211
|
-
return children;
|
|
212
|
-
}
|
|
213
|
-
};
|
|
214
|
-
exports.Activity = REACT_ACTIVITY_TYPE;
|
|
215
|
-
exports.Children = Children;
|
|
216
|
-
exports.Component = Component;
|
|
217
|
-
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
218
|
-
exports.Profiler = REACT_PROFILER_TYPE;
|
|
219
|
-
exports.PureComponent = PureComponent;
|
|
220
|
-
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
221
|
-
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
222
|
-
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
|
|
223
|
-
exports.__COMPILER_RUNTIME = {
|
|
224
|
-
__proto__: null,
|
|
225
|
-
c: function(size) {
|
|
226
|
-
return ReactSharedInternals.H.useMemoCache(size);
|
|
227
|
-
}
|
|
228
|
-
};
|
|
229
|
-
exports.cache = function(fn) {
|
|
230
|
-
return function() {
|
|
231
|
-
return fn.apply(null, arguments);
|
|
232
|
-
};
|
|
233
|
-
};
|
|
234
|
-
exports.cacheSignal = function() {
|
|
235
|
-
return null;
|
|
236
|
-
};
|
|
237
|
-
exports.cloneElement = function(element, config, children) {
|
|
238
|
-
if (null === element || void 0 === element) throw Error("The argument must be a React element, but you passed " + element + ".");
|
|
239
|
-
var props = assign({}, element.props), key = element.key;
|
|
240
|
-
if (null != config) for (propName in void 0 !== config.key && (key = "" + config.key), config) !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
|
|
241
|
-
var propName = arguments.length - 2;
|
|
242
|
-
if (1 === propName) props.children = children;
|
|
243
|
-
else if (1 < propName) {
|
|
244
|
-
for (var childArray = Array(propName), i = 0; i < propName; i++) childArray[i] = arguments[i + 2];
|
|
245
|
-
props.children = childArray;
|
|
246
|
-
}
|
|
247
|
-
return ReactElement(element.type, key, props);
|
|
248
|
-
};
|
|
249
|
-
exports.createContext = function(defaultValue) {
|
|
250
|
-
defaultValue = {
|
|
251
|
-
$$typeof: REACT_CONTEXT_TYPE,
|
|
252
|
-
_currentValue: defaultValue,
|
|
253
|
-
_currentValue2: defaultValue,
|
|
254
|
-
_threadCount: 0,
|
|
255
|
-
Provider: null,
|
|
256
|
-
Consumer: null
|
|
257
|
-
};
|
|
258
|
-
defaultValue.Provider = defaultValue;
|
|
259
|
-
defaultValue.Consumer = {
|
|
260
|
-
$$typeof: REACT_CONSUMER_TYPE,
|
|
261
|
-
_context: defaultValue
|
|
262
|
-
};
|
|
263
|
-
return defaultValue;
|
|
264
|
-
};
|
|
265
|
-
exports.createElement = function(type, config, children) {
|
|
266
|
-
var propName, props = {}, key = null;
|
|
267
|
-
if (null != config) for (propName in void 0 !== config.key && (key = "" + config.key), config) hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config[propName]);
|
|
268
|
-
var childrenLength = arguments.length - 2;
|
|
269
|
-
if (1 === childrenLength) props.children = children;
|
|
270
|
-
else if (1 < childrenLength) {
|
|
271
|
-
for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++) childArray[i] = arguments[i + 2];
|
|
272
|
-
props.children = childArray;
|
|
273
|
-
}
|
|
274
|
-
if (type && type.defaultProps) for (propName in childrenLength = type.defaultProps, childrenLength) void 0 === props[propName] && (props[propName] = childrenLength[propName]);
|
|
275
|
-
return ReactElement(type, key, props);
|
|
276
|
-
};
|
|
277
|
-
exports.createRef = function() {
|
|
278
|
-
return { current: null };
|
|
279
|
-
};
|
|
280
|
-
exports.forwardRef = function(render) {
|
|
281
|
-
return {
|
|
282
|
-
$$typeof: REACT_FORWARD_REF_TYPE,
|
|
283
|
-
render
|
|
284
|
-
};
|
|
285
|
-
};
|
|
286
|
-
exports.isValidElement = isValidElement;
|
|
287
|
-
exports.lazy = function(ctor) {
|
|
288
|
-
return {
|
|
289
|
-
$$typeof: REACT_LAZY_TYPE,
|
|
290
|
-
_payload: {
|
|
291
|
-
_status: -1,
|
|
292
|
-
_result: ctor
|
|
293
|
-
},
|
|
294
|
-
_init: lazyInitializer
|
|
295
|
-
};
|
|
296
|
-
};
|
|
297
|
-
exports.memo = function(type, compare) {
|
|
298
|
-
return {
|
|
299
|
-
$$typeof: REACT_MEMO_TYPE,
|
|
300
|
-
type,
|
|
301
|
-
compare: void 0 === compare ? null : compare
|
|
302
|
-
};
|
|
303
|
-
};
|
|
304
|
-
exports.startTransition = function(scope) {
|
|
305
|
-
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
306
|
-
ReactSharedInternals.T = currentTransition;
|
|
307
|
-
try {
|
|
308
|
-
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
309
|
-
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
310
|
-
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
|
|
311
|
-
} catch (error) {
|
|
312
|
-
reportGlobalError(error);
|
|
313
|
-
} finally {
|
|
314
|
-
null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
315
|
-
}
|
|
316
|
-
};
|
|
317
|
-
exports.unstable_useCacheRefresh = function() {
|
|
318
|
-
return ReactSharedInternals.H.useCacheRefresh();
|
|
319
|
-
};
|
|
320
|
-
exports.use = function(usable) {
|
|
321
|
-
return ReactSharedInternals.H.use(usable);
|
|
322
|
-
};
|
|
323
|
-
exports.useActionState = function(action, initialState, permalink) {
|
|
324
|
-
return ReactSharedInternals.H.useActionState(action, initialState, permalink);
|
|
325
|
-
};
|
|
326
|
-
exports.useCallback = function(callback, deps) {
|
|
327
|
-
return ReactSharedInternals.H.useCallback(callback, deps);
|
|
328
|
-
};
|
|
329
|
-
exports.useContext = function(Context) {
|
|
330
|
-
return ReactSharedInternals.H.useContext(Context);
|
|
331
|
-
};
|
|
332
|
-
exports.useDebugValue = function() {};
|
|
333
|
-
exports.useDeferredValue = function(value, initialValue) {
|
|
334
|
-
return ReactSharedInternals.H.useDeferredValue(value, initialValue);
|
|
335
|
-
};
|
|
336
|
-
exports.useEffect = function(create, deps) {
|
|
337
|
-
return ReactSharedInternals.H.useEffect(create, deps);
|
|
338
|
-
};
|
|
339
|
-
exports.useEffectEvent = function(callback) {
|
|
340
|
-
return ReactSharedInternals.H.useEffectEvent(callback);
|
|
341
|
-
};
|
|
342
|
-
exports.useId = function() {
|
|
343
|
-
return ReactSharedInternals.H.useId();
|
|
344
|
-
};
|
|
345
|
-
exports.useImperativeHandle = function(ref, create, deps) {
|
|
346
|
-
return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
|
|
347
|
-
};
|
|
348
|
-
exports.useInsertionEffect = function(create, deps) {
|
|
349
|
-
return ReactSharedInternals.H.useInsertionEffect(create, deps);
|
|
350
|
-
};
|
|
351
|
-
exports.useLayoutEffect = function(create, deps) {
|
|
352
|
-
return ReactSharedInternals.H.useLayoutEffect(create, deps);
|
|
353
|
-
};
|
|
354
|
-
exports.useMemo = function(create, deps) {
|
|
355
|
-
return ReactSharedInternals.H.useMemo(create, deps);
|
|
356
|
-
};
|
|
357
|
-
exports.useOptimistic = function(passthrough, reducer) {
|
|
358
|
-
return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
|
|
359
|
-
};
|
|
360
|
-
exports.useReducer = function(reducer, initialArg, init) {
|
|
361
|
-
return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
|
|
362
|
-
};
|
|
363
|
-
exports.useRef = function(initialValue) {
|
|
364
|
-
return ReactSharedInternals.H.useRef(initialValue);
|
|
365
|
-
};
|
|
366
|
-
exports.useState = function(initialState) {
|
|
367
|
-
return ReactSharedInternals.H.useState(initialState);
|
|
368
|
-
};
|
|
369
|
-
exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
|
|
370
|
-
return ReactSharedInternals.H.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
|
|
371
|
-
};
|
|
372
|
-
exports.useTransition = function() {
|
|
373
|
-
return ReactSharedInternals.H.useTransition();
|
|
374
|
-
};
|
|
375
|
-
exports.version = "19.2.8";
|
|
376
|
-
}));
|
|
377
|
-
//#endregion
|
|
378
|
-
//#region ../../../node_modules/.pnpm/react@19.2.8/node_modules/react/index.js
|
|
379
|
-
var require_react = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
380
|
-
module.exports = require_react_production();
|
|
381
|
-
}));
|
|
382
|
-
//#endregion
|
|
383
|
-
export { require_react as t };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
9
|
-
var __exportAll = (all, no_symbols) => {
|
|
10
|
-
let target = {};
|
|
11
|
-
for (var name in all) __defProp(target, name, {
|
|
12
|
-
get: all[name],
|
|
13
|
-
enumerable: true
|
|
14
|
-
});
|
|
15
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
16
|
-
return target;
|
|
17
|
-
};
|
|
18
|
-
var __copyProps = (to, from, except, desc) => {
|
|
19
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
20
|
-
key = keys[i];
|
|
21
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
22
|
-
get: ((k) => from[k]).bind(null, key),
|
|
23
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
return to;
|
|
27
|
-
};
|
|
28
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
29
|
-
value: mod,
|
|
30
|
-
enumerable: true
|
|
31
|
-
}) : target, mod));
|
|
32
|
-
//#endregion
|
|
33
|
-
export { __exportAll as n, __toESM as r, __commonJSMin as t };
|