UNPKG

@stlite/browser

Version:
49 lines (48 loc) 1.94 kB
import { Jt as e, aa as t, qt as n } from "./index-Dl4ETd_L-D2oMd1k2.js"; import { t as r } from "./assertThisInitialized-C1dAyb4j-jFURGdZo.js"; //#region ../react/build/possibleConstructorReturn-BHiKHPYz.js function i(e, t) { (t == null || t > e.length) && (t = e.length); for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n]; return r; } function a(e, t) { if (e) { if (typeof e == "string") return i(e, t); var n = {}.toString.call(e).slice(8, -1); return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? i(e, t) : void 0; } } function o(e, t) { if (!(e instanceof t)) throw TypeError("Cannot call a class as a function"); } function s(e, n) { for (var r = 0; r < n.length; r++) { var i = n[r]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, t(i.key), i); } } function c(e, t, n) { return t && s(e.prototype, t), n && s(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e; } function l(e, t) { if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && n(e, t); } function u(e) { return u = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) { return e.__proto__ || Object.getPrototypeOf(e); }, u(e); } function d(t, n) { if (n && (e(n) == "object" || typeof n == "function")) return n; if (n !== void 0) throw TypeError("Derived constructors may only return object or undefined"); return r(t); } //#endregion export { u as a, l as i, c as n, i as o, o as r, a as s, d as t }; //# sourceMappingURL=possibleConstructorReturn-BHiKHPYz-Bnf-j7Fb.js.map