UNPKG

@sheetxl/studio-vanilla

Version:

SheetXL Studio - Vanilla entry point for integrating SheetXL UI.

91 lines (90 loc) 4.82 kB
import { r as m } from "./BjZFsdRm_rFuN4hm.js"; /** * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.4 * * (C) 2025-present SheetXL Inc. & Michael T. Ford * License: The license can be found at https://www.sheetxl.com/license. */ var l, _, p = { exports: {} }, i = {}; function O() { if (l) return i; l = 1; var y = m(); function c(e) { var r = "https://react.dev/errors/" + e; if (1 < arguments.length) { r += "?args[]=" + encodeURIComponent(arguments[1]); for (var n = 2; n < arguments.length; n++) r += "&args[]=" + encodeURIComponent(arguments[n]); } return "Minified React error #" + e + "; visit " + r + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } function t() { } var o = { d: { f: t, r: function() { throw Error(c(522)); }, D: t, C: t, L: t, m: t, X: t, S: t, M: t }, p: 0, findDOMNode: null }, v = Symbol.for("react.portal"), f = y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; function a(e, r) { return e === "font" ? "" : typeof r == "string" ? r === "use-credentials" ? r : "" : void 0; } return i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = o, i.createPortal = function(e, r) { var n = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null; if (!r || r.nodeType !== 1 && r.nodeType !== 9 && r.nodeType !== 11) throw Error(c(299)); return function(s, g, u) { var d = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null; return { $$typeof: v, key: d == null ? null : "" + d, children: s, containerInfo: g, implementation: u }; }(e, r, null, n); }, i.flushSync = function(e) { var r = f.T, n = o.p; try { if (f.T = null, o.p = 2, e) return e(); } finally { f.T = r, o.p = n, o.d.f(); } }, i.preconnect = function(e, r) { typeof e == "string" && (r ? r = typeof (r = r.crossOrigin) == "string" ? r === "use-credentials" ? r : "" : void 0 : r = null, o.d.C(e, r)); }, i.prefetchDNS = function(e) { typeof e == "string" && o.d.D(e); }, i.preinit = function(e, r) { if (typeof e == "string" && r && typeof r.as == "string") { var n = r.as, s = a(n, r.crossOrigin), g = typeof r.integrity == "string" ? r.integrity : void 0, u = typeof r.fetchPriority == "string" ? r.fetchPriority : void 0; n === "style" ? o.d.S(e, typeof r.precedence == "string" ? r.precedence : void 0, { crossOrigin: s, integrity: g, fetchPriority: u }) : n === "script" && o.d.X(e, { crossOrigin: s, integrity: g, fetchPriority: u, nonce: typeof r.nonce == "string" ? r.nonce : void 0 }); } }, i.preinitModule = function(e, r) { if (typeof e == "string") if (typeof r == "object" && r !== null) { if (r.as == null || r.as === "script") { var n = a(r.as, r.crossOrigin); o.d.M(e, { crossOrigin: n, integrity: typeof r.integrity == "string" ? r.integrity : void 0, nonce: typeof r.nonce == "string" ? r.nonce : void 0 }); } } else r == null && o.d.M(e); }, i.preload = function(e, r) { if (typeof e == "string" && typeof r == "object" && r !== null && typeof r.as == "string") { var n = r.as, s = a(n, r.crossOrigin); o.d.L(e, n, { crossOrigin: s, integrity: typeof r.integrity == "string" ? r.integrity : void 0, nonce: typeof r.nonce == "string" ? r.nonce : void 0, type: typeof r.type == "string" ? r.type : void 0, fetchPriority: typeof r.fetchPriority == "string" ? r.fetchPriority : void 0, referrerPolicy: typeof r.referrerPolicy == "string" ? r.referrerPolicy : void 0, imageSrcSet: typeof r.imageSrcSet == "string" ? r.imageSrcSet : void 0, imageSizes: typeof r.imageSizes == "string" ? r.imageSizes : void 0, media: typeof r.media == "string" ? r.media : void 0 }); } }, i.preloadModule = function(e, r) { if (typeof e == "string") if (r) { var n = a(r.as, r.crossOrigin); o.d.m(e, { as: typeof r.as == "string" && r.as !== "script" ? r.as : void 0, crossOrigin: n, integrity: typeof r.integrity == "string" ? r.integrity : void 0 }); } else o.d.m(e); }, i.requestFormReset = function(e) { o.d.r(e); }, i.unstable_batchedUpdates = function(e, r) { return e(r); }, i.useFormState = function(e, r, n) { return f.H.useFormState(e, r, n); }, i.useFormStatus = function() { return f.H.useHostTransitionStatus(); }, i.version = "19.1.0", i; } function h() { return _ || (_ = 1, function y() { if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE == "function") try { __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(y); } catch (c) { console.error(c); } }(), p.exports = O()), p.exports; } export { h as r };