!(function (e, t) {
"object" == typeof exports && "object" == typeof module
? (module.exports = t())
: "function" == typeof define && define.amd
? define("html2pdf", [], t)
: "object" == typeof exports
? (exports.html2pdf = t())
: (e.html2pdf = t());
})(self, function () {
return (function () {
var e,
t,
r = {
"./node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js":
function (e, t, r) {
e.exports = r("./node_modules/core-js-pure/stable/array/from.js");
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/array/is-array.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/array/is-array.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/date/now.js":
function (e, t, r) {
e.exports = r("./node_modules/core-js-pure/stable/date/now.js");
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/bind.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/instance/bind.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/instance/concat.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/every.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/instance/every.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/fill.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/instance/fill.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/instance/filter.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/for-each.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/instance/for-each.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/instance/includes.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/index-of.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/instance/index-of.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js":
function (e, t, r) {
e.exports = r("./node_modules/core-js-pure/stable/instance/map.js");
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/reduce.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/instance/reduce.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/reverse.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/instance/reverse.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/instance/slice.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/some.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/instance/some.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/starts-with.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/instance/starts-with.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/instance/trim.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/values.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/instance/values.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/map.js":
function (e, t, r) {
e.exports = r("./node_modules/core-js-pure/stable/map/index.js");
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/object/define-properties.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/object/define-properties.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/object/define-property.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/object/get-own-property-descriptor.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/object/get-own-property-descriptors.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/object/get-own-property-symbols.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js":
function (e, t, r) {
e.exports = r("./node_modules/core-js-pure/stable/object/keys.js");
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/parse-float.js":
function (e, t, r) {
e.exports = r("./node_modules/core-js-pure/stable/parse-float.js");
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/parse-int.js":
function (e, t, r) {
e.exports = r("./node_modules/core-js-pure/stable/parse-int.js");
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/promise.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/promise/index.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/reflect/apply.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/reflect/apply.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/reflect/construct.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/reflect/construct.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/reflect/delete-property.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/reflect/delete-property.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/reflect/get-prototype-of.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/stable/reflect/get-prototype-of.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js-stable/symbol.js":
function (e, t, r) {
e.exports = r("./node_modules/core-js-pure/stable/symbol/index.js");
},
"./node_modules/@babel/runtime-corejs3/core-js/array/from.js":
function (e, t, r) {
e.exports = r("./node_modules/core-js-pure/features/array/from.js");
},
"./node_modules/@babel/runtime-corejs3/core-js/array/is-array.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/features/array/is-array.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js/get-iterator-method.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/features/get-iterator-method.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js/get-iterator.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/features/get-iterator.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js/instance/slice.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/features/instance/slice.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js/object/create.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/features/object/create.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js/object/define-property.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/features/object/define-property.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-descriptor.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/features/object/get-own-property-descriptor.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js/object/get-prototype-of.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/features/object/get-prototype-of.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js/object/set-prototype-of.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/features/object/set-prototype-of.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js/promise.js": function (
e,
t,
r
) {
e.exports = r(
"./node_modules/core-js-pure/features/promise/index.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js/reflect/get.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/features/reflect/get.js"
);
},
"./node_modules/@babel/runtime-corejs3/core-js/symbol.js": function (
e,
t,
r
) {
e.exports = r("./node_modules/core-js-pure/features/symbol/index.js");
},
"./node_modules/@babel/runtime-corejs3/core-js/symbol/iterator.js":
function (e, t, r) {
e.exports = r(
"./node_modules/core-js-pure/features/symbol/iterator.js"
);
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/arrayLikeToArray.js":
function (e, t, r) {
"use strict";
function n(e, t) {
(null == t || t > e.length) && (t = e.length);
for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
return n;
}
r.r(t),
r.d(t, {
default: function () {
return n;
},
});
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/arrayWithHoles.js":
function (e, t, r) {
"use strict";
r.r(t),
r.d(t, {
default: function () {
return o;
},
});
var n = r(
"./node_modules/@babel/runtime-corejs3/core-js/array/is-array.js"
);
function o(e) {
if (n(e)) return e;
}
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/arrayWithoutHoles.js":
function (e, t, r) {
"use strict";
r.r(t),
r.d(t, {
default: function () {
return s;
},
});
var n = r(
"./node_modules/@babel/runtime-corejs3/core-js/array/is-array.js"
),
o = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/arrayLikeToArray.js"
);
function s(e) {
if (n(e)) return (0, o.default)(e);
}
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/assertThisInitialized.js":
function (e, t, r) {
"use strict";
function n(e) {
if (void 0 === e)
throw new ReferenceError(
"this hasn't been initialised - super() hasn't been called"
);
return e;
}
r.r(t),
r.d(t, {
default: function () {
return n;
},
});
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/asyncToGenerator.js":
function (e, t, r) {
"use strict";
r.r(t),
r.d(t, {
default: function () {
return s;
},
});
var n = r(
"./node_modules/@babel/runtime-corejs3/core-js/promise.js"
);
function o(e, t, r, o, s, i, a) {
try {
var A = e[i](a),
u = A.value;
} catch (e) {
return void r(e);
}
A.done ? t(u) : n.resolve(u).then(o, s);
}
function s(e) {
return function () {
var t = this,
r = arguments;
return new n(function (n, s) {
var i = e.apply(t, r);
function a(e) {
o(i, n, s, a, A, "next", e);
}
function A(e) {
o(i, n, s, a, A, "throw", e);
}
a(void 0);
});
};
}
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/classCallCheck.js":
function (e, t, r) {
"use strict";
function n(e, t) {
if (!(e instanceof t))
throw new TypeError("Cannot call a class as a function");
}
r.r(t),
r.d(t, {
default: function () {
return n;
},
});
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/createClass.js":
function (e, t, r) {
"use strict";
r.r(t),
r.d(t, {
default: function () {
return s;
},
});
var n = r(
"./node_modules/@babel/runtime-corejs3/core-js/object/define-property.js"
);
function o(e, t) {
for (var r = 0; r < t.length; r++) {
var o = t[r];
(o.enumerable = o.enumerable || !1),
(o.configurable = !0),
"value" in o && (o.writable = !0),
n(e, o.key, o);
}
}
function s(e, t, r) {
return t && o(e.prototype, t), r && o(e, r), e;
}
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js":
function (e, t, r) {
"use strict";
r.r(t),
r.d(t, {
default: function () {
return o;
},
});
var n = r(
"./node_modules/@babel/runtime-corejs3/core-js/object/define-property.js"
);
function o(e, t, r) {
return (
t in e
? n(e, t, {
value: r,
enumerable: !0,
configurable: !0,
writable: !0,
})
: (e[t] = r),
e
);
}
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/get.js": function (
e,
t,
r
) {
"use strict";
r.r(t),
r.d(t, {
default: function () {
return i;
},
});
var n = r(
"./node_modules/@babel/runtime-corejs3/core-js/reflect/get.js"
),
o = r(
"./node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-descriptor.js"
),
s = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/superPropBase.js"
);
function i(e, t, r) {
return (i =
"undefined" != typeof Reflect && n
? n
: function (e, t, r) {
var n = (0, s.default)(e, t);
if (n) {
var i = o(n, t);
return i.get ? i.get.call(r) : i.value;
}
})(e, t, r || e);
}
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/getPrototypeOf.js":
function (e, t, r) {
"use strict";
r.r(t),
r.d(t, {
default: function () {
return s;
},
});
var n = r(
"./node_modules/@babel/runtime-corejs3/core-js/object/set-prototype-of.js"
),
o = r(
"./node_modules/@babel/runtime-corejs3/core-js/object/get-prototype-of.js"
);
function s(e) {
return (s = n
? o
: function (e) {
return e.__proto__ || o(e);
})(e);
}
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/inherits.js":
function (e, t, r) {
"use strict";
r.r(t),
r.d(t, {
default: function () {
return s;
},
});
var n = r(
"./node_modules/@babel/runtime-corejs3/core-js/object/create.js"
),
o = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/setPrototypeOf.js"
);
function s(e, t) {
if ("function" != typeof t && null !== t)
throw new TypeError(
"Super expression must either be null or a function"
);
(e.prototype = n(t && t.prototype, {
constructor: { value: e, writable: !0, configurable: !0 },
})),
t && (0, o.default)(e, t);
}
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArray.js":
function (e, t, r) {
"use strict";
r.r(t),
r.d(t, {
default: function () {
return i;
},
});
var n = r(
"./node_modules/@babel/runtime-corejs3/core-js/symbol.js"
),
o = r(
"./node_modules/@babel/runtime-corejs3/core-js/get-iterator-method.js"
),
s = r(
"./node_modules/@babel/runtime-corejs3/core-js/array/from.js"
);
function i(e) {
if ((void 0 !== n && null != o(e)) || null != e["@@iterator"])
return s(e);
}
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArrayLimit.js":
function (e, t, r) {
"use strict";
r.r(t),
r.d(t, {
default: function () {
return s;
},
});
var n = r(
"./node_modules/@babel/runtime-corejs3/core-js/symbol.js"
),
o = r(
"./node_modules/@babel/runtime-corejs3/core-js/get-iterator-method.js"
);
function s(e, t) {
var r =
null == e ? null : (void 0 !== n && o(e)) || e["@@iterator"];
if (null != r) {
var s,
i,
a = [],
A = !0,
u = !1;
try {
for (
r = r.call(e);
!(A = (s = r.next()).done) &&
(a.push(s.value), !t || a.length !== t);
A = !0
);
} catch (e) {
(u = !0), (i = e);
} finally {
try {
A || null == r.return || r.return();
} finally {
if (u) throw i;
}
}
return a;
}
}
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/nonIterableRest.js":
function (e, t, r) {
"use strict";
function n() {
throw new TypeError(
"Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
);
}
r.r(t),
r.d(t, {
default: function () {
return n;
},
});
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/nonIterableSpread.js":
function (e, t, r) {
"use strict";
function n() {
throw new TypeError(
"Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
);
}
r.r(t),
r.d(t, {
default: function () {
return n;
},
});
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/possibleConstructorReturn.js":
function (e, t, r) {
"use strict";
r.r(t),
r.d(t, {
default: function () {
return s;
},
});
var n = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js"
),
o = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/assertThisInitialized.js"
);
function s(e, t) {
return !t ||
("object" !== (0, n.default)(t) && "function" != typeof t)
? (0, o.default)(e)
: t;
}
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/setPrototypeOf.js":
function (e, t, r) {
"use strict";
r.r(t),
r.d(t, {
default: function () {
return o;
},
});
var n = r(
"./node_modules/@babel/runtime-corejs3/core-js/object/set-prototype-of.js"
);
function o(e, t) {
return (o =
n ||
function (e, t) {
return (e.__proto__ = t), e;
})(e, t);
}
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js":
function (e, t, r) {
"use strict";
r.r(t),
r.d(t, {
default: function () {
return a;
},
});
var n = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/arrayWithHoles.js"
),
o = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArrayLimit.js"
),
s = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/unsupportedIterableToArray.js"
),
i = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/nonIterableRest.js"
);
function a(e, t) {
return (
(0, n.default)(e) ||
(0, o.default)(e, t) ||
(0, s.default)(e, t) ||
(0, i.default)()
);
}
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/superPropBase.js":
function (e, t, r) {
"use strict";
r.r(t),
r.d(t, {
default: function () {
return o;
},
});
var n = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/getPrototypeOf.js"
);
function o(e, t) {
for (
;
!Object.prototype.hasOwnProperty.call(e, t) &&
null !== (e = (0, n.default)(e));
);
return e;
}
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js":
function (e, t, r) {
"use strict";
r.r(t),
r.d(t, {
default: function () {
return a;
},
});
var n = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/arrayWithoutHoles.js"
),
o = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArray.js"
),
s = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/unsupportedIterableToArray.js"
),
i = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/nonIterableSpread.js"
);
function a(e) {
return (
(0, n.default)(e) ||
(0, o.default)(e) ||
(0, s.default)(e) ||
(0, i.default)()
);
}
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js":
function (e, t, r) {
"use strict";
r.r(t),
r.d(t, {
default: function () {
return s;
},
});
var n = r(
"./node_modules/@babel/runtime-corejs3/core-js/symbol.js"
),
o = r(
"./node_modules/@babel/runtime-corejs3/core-js/symbol/iterator.js"
);
function s(e) {
return (s =
"function" == typeof n && "symbol" == typeof o
? function (e) {
return typeof e;
}
: function (e) {
return e &&
"function" == typeof n &&
e.constructor === n &&
e !== n.prototype
? "symbol"
: typeof e;
})(e);
}
},
"./node_modules/@babel/runtime-corejs3/helpers/esm/unsupportedIterableToArray.js":
function (e, t, r) {
"use strict";
r.r(t),
r.d(t, {
default: function () {
return i;
},
});
var n = r(
"./node_modules/@babel/runtime-corejs3/core-js/instance/slice.js"
),
o = r(
"./node_modules/@babel/runtime-corejs3/core-js/array/from.js"
),
s = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/arrayLikeToArray.js"
);
function i(e, t) {
var r;
if (e) {
if ("string" == typeof e) return (0, s.default)(e, t);
var i = n((r = Object.prototype.toString.call(e))).call(
r,
8,
-1
);
return (
"Object" === i && e.constructor && (i = e.constructor.name),
"Map" === i || "Set" === i
? o(e)
: "Arguments" === i ||
/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)
? (0, s.default)(e, t)
: void 0
);
}
}
},
"./node_modules/@babel/runtime-corejs3/regenerator/index.js": function (
e,
t,
r
) {
e.exports = r("./node_modules/regenerator-runtime/runtime.js");
},
"./src/plugin/hyperlinks.js": function (e, t, r) {
"use strict";
r.r(t),
r("./node_modules/core-js/modules/web.dom-collections.for-each.js"),
r("./node_modules/core-js/modules/es.string.link.js");
var n = r("./src/worker.js"),
o = r("./src/utils.js"),
s = [],
i = {
toContainer: n.default.prototype.toContainer,
toPdf: n.default.prototype.toPdf,
};
(n.default.prototype.toContainer = function () {
return i.toContainer.call(this).then(function () {
if (this.opt.enableLinks) {
var e = this.prop.container,
t = e.querySelectorAll("a"),
r = (0, o.unitConvert)(
e.getBoundingClientRect(),
this.prop.pageSize.k
);
(s = []),
Array.prototype.forEach.call(
t,
function (e) {
for (
var t = e.getClientRects(), n = 0;
n < t.length;
n++
) {
var i = (0, o.unitConvert)(t[n], this.prop.pageSize.k);
(i.left -= r.left), (i.top -= r.top);
var a =
Math.floor(
i.top / this.prop.pageSize.inner.height
) + 1,
A =
this.opt.margin[0] +
(i.top % this.prop.pageSize.inner.height),
u = this.opt.margin[1] + i.left;
s.push({
page: a,
top: A,
left: u,
clientRect: i,
link: e,
});
}
},
this
);
}
});
}),
(n.default.prototype.toPdf = function () {
return i.toPdf.call(this).then(function () {
if (this.opt.enableLinks) {
s.forEach(function (e) {
this.prop.pdf.setPage(e.page),
this.prop.pdf.link(
e.left,
e.top,
e.clientRect.width,
e.clientRect.height,
{ url: e.link.href }
);
}, this);
var e = this.prop.pdf.internal.getNumberOfPages();
this.prop.pdf.setPage(e);
}
});
});
},
"./src/plugin/jspdf-plugin.js": function (e, t, r) {
"use strict";
r.r(t),
r("./node_modules/core-js/modules/es.symbol.js"),
r("./node_modules/core-js/modules/es.symbol.description.js"),
r("./node_modules/core-js/modules/es.object.to-string.js"),
r("./node_modules/core-js/modules/es.symbol.iterator.js"),
r("./node_modules/core-js/modules/es.array.iterator.js"),
r("./node_modules/core-js/modules/es.string.iterator.js"),
r("./node_modules/core-js/modules/web.dom-collections.iterator.js");
var n = r("./node_modules/jspdf/dist/jspdf.es.min.js");
function o(e) {
return (o =
"function" == typeof Symbol && "symbol" == typeof Symbol.iterator
? function (e) {
return typeof e;
}
: function (e) {
return e &&
"function" == typeof Symbol &&
e.constructor === Symbol &&
e !== Symbol.prototype
? "symbol"
: typeof e;
})(e);
}
(n.jsPDF.getPageSize = function (e, t, r) {
if ("object" === o(e)) {
var n = e;
(e = n.orientation), (t = n.unit || t), (r = n.format || r);
}
(t = t || "mm"),
(r = r || "a4"),
(e = ("" + (e || "P")).toLowerCase());
var s = ("" + r).toLowerCase(),
i = {
a0: [2383.94, 3370.39],
a1: [1683.78, 2383.94],
a2: [1190.55, 1683.78],
a3: [841.89, 1190.55],
a4: [595.28, 841.89],
a5: [419.53, 595.28],
a6: [297.64, 419.53],
a7: [209.76, 297.64],
a8: [147.4, 209.76],
a9: [104.88, 147.4],
a10: [73.7, 104.88],
b0: [2834.65, 4008.19],
b1: [2004.09, 2834.65],
b2: [1417.32, 2004.09],
b3: [1000.63, 1417.32],
b4: [708.66, 1000.63],
b5: [498.9, 708.66],
b6: [354.33, 498.9],
b7: [249.45, 354.33],
b8: [175.75, 249.45],
b9: [124.72, 175.75],
b10: [87.87, 124.72],
c0: [2599.37, 3676.54],
c1: [1836.85, 2599.37],
c2: [1298.27, 1836.85],
c3: [918.43, 1298.27],
c4: [649.13, 918.43],
c5: [459.21, 649.13],
c6: [323.15, 459.21],
c7: [229.61, 323.15],
c8: [161.57, 229.61],
c9: [113.39, 161.57],
c10: [79.37, 113.39],
dl: [311.81, 623.62],
letter: [612, 792],
"government-letter": [576, 756],
legal: [612, 1008],
"junior-legal": [576, 360],
ledger: [1224, 792],
tabloid: [792, 1224],
"credit-card": [153, 243],
};
switch (t) {
case "pt":
var a = 1;
break;
case "mm":
a = 72 / 25.4;
break;
case "cm":
a = 72 / 2.54;
break;
case "in":
a = 72;
break;
case "px":
a = 0.75;
break;
case "pc":
case "em":
a = 12;
break;
case "ex":
a = 6;
break;
default:
throw "Invalid unit: " + t;
}
if (i.hasOwnProperty(s))
var A = i[s][1] / a,
u = i[s][0] / a;
else
try {
(A = r[1]), (u = r[0]);
} catch (e) {
throw new Error("Invalid format: " + r);
}
if ("p" === e || "portrait" === e) {
if (((e = "p"), u > A)) {
var c = u;
(u = A), (A = c);
}
} else {
if ("l" !== e && "landscape" !== e)
throw "Invalid orientation: " + e;
(e = "l"), A > u && ((c = u), (u = A), (A = c));
}
return { width: u, height: A, unit: t, k: a };
}),
(t.default = n.jsPDF);
},
"./src/plugin/pagebreaks.js": function (e, t, r) {
"use strict";
r.r(t),
r("./node_modules/core-js/modules/es.array.concat.js"),
r("./node_modules/core-js/modules/es.array.slice.js"),
r("./node_modules/core-js/modules/es.array.join.js"),
r("./node_modules/core-js/modules/web.dom-collections.for-each.js"),
r("./node_modules/core-js/modules/es.object.keys.js");
var n = r("./src/worker.js"),
o = r("./src/utils.js"),
s = { toContainer: n.default.prototype.toContainer };
(n.default.template.opt.pagebreak = {
mode: ["css", "legacy"],
before: [],
after: [],
avoid: [],
}),
(n.default.prototype.toContainer = function () {
return s.toContainer.call(this).then(function () {
var e = this.prop.container,
t = this.prop.pageSize.inner.px.height,
r = [].concat(this.opt.pagebreak.mode),
n = {
avoidAll: -1 !== r.indexOf("avoid-all"),
css: -1 !== r.indexOf("css"),
legacy: -1 !== r.indexOf("legacy"),
},
s = {},
i = this;
["before", "after", "avoid"].forEach(function (t) {
var r = n.avoidAll && "avoid" === t;
(s[t] = r ? [] : [].concat(i.opt.pagebreak[t] || [])),
s[t].length > 0 &&
(s[t] = Array.prototype.slice.call(
e.querySelectorAll(s[t].join(", "))
));
});
var a = e.querySelectorAll(".html2pdf__page-break");
a = Array.prototype.slice.call(a);
var A = e.querySelectorAll("*");
Array.prototype.forEach.call(A, function (e) {
var r = {
before: !1,
after: n.legacy && -1 !== a.indexOf(e),
avoid: n.avoidAll,
};
if (n.css) {
var i = window.getComputedStyle(e),
A = ["always", "page", "left", "right"];
r = {
before:
r.before ||
-1 !== A.indexOf(i.breakBefore || i.pageBreakBefore),
after:
r.after ||
-1 !== A.indexOf(i.breakAfter || i.pageBreakAfter),
avoid:
r.avoid ||
-1 !==
["avoid", "avoid-page"].indexOf(
i.breakInside || i.pageBreakInside
),
};
}
Object.keys(r).forEach(function (t) {
r[t] = r[t] || -1 !== s[t].indexOf(e);
});
var u = e.getBoundingClientRect();
if (r.avoid && !r.before) {
var c = Math.floor(u.top / t),
l = Math.floor(u.bottom / t),
d = Math.abs(u.bottom - u.top) / t;
l !== c && d <= 1 && (r.before = !0);
}
if (r.before) {
var f = (0, o.createElement)("div", {
style: {
display: "block",
height: t - (u.top % t) + "px",
},
});
e.parentNode.insertBefore(f, e);
}
r.after &&
((f = (0, o.createElement)("div", {
style: {
display: "block",
height: t - (u.bottom % t) + "px",
},
})),
e.parentNode.insertBefore(f, e.nextSibling));
});
});
});
},
"./src/utils.js": function (e, t, r) {
"use strict";
function n(e) {
return (n =
"function" == typeof Symbol && "symbol" == typeof Symbol.iterator
? function (e) {
return typeof e;
}
: function (e) {
return e &&
"function" == typeof Symbol &&
e.constructor === Symbol &&
e !== Symbol.prototype
? "symbol"
: typeof e;
})(e);
}
r.r(t),
r.d(t, {
objType: function () {
return o;
},
createElement: function () {
return s;
},
cloneNode: function () {
return i;
},
unitConvert: function () {
return a;
},
toPx: function () {
return A;
},
}),
r("./node_modules/core-js/modules/es.number.constructor.js"),
r("./node_modules/core-js/modules/es.symbol.js"),
r("./node_modules/core-js/modules/es.symbol.description.js"),
r("./node_modules/core-js/modules/es.object.to-string.js"),
r("./node_modules/core-js/modules/es.symbol.iterator.js"),
r("./node_modules/core-js/modules/es.array.iterator.js"),
r("./node_modules/core-js/modules/es.string.iterator.js"),
r("./node_modules/core-js/modules/web.dom-collections.iterator.js");
var o = function (e) {
var t = n(e);
return "undefined" === t
? "undefined"
: "string" === t || e instanceof String
? "string"
: "number" === t || e instanceof Number
? "number"
: "function" === t || e instanceof Function
? "function"
: e && e.constructor === Array
? "array"
: e && 1 === e.nodeType
? "element"
: "object" === t
? "object"
: "unknown";
},
s = function (e, t) {
var r = document.createElement(e);
if ((t.className && (r.className = t.className), t.innerHTML)) {
r.innerHTML = t.innerHTML;
for (
var n = r.getElementsByTagName("script"), o = n.length;
o-- > 0;
null
)
n[o].parentNode.removeChild(n[o]);
}
for (var s in t.style) r.style[s] = t.style[s];
return r;
},
i = function e(t, r) {
for (
var n =
3 === t.nodeType
? document.createTextNode(t.nodeValue)
: t.cloneNode(!1),
o = t.firstChild;
o;
o = o.nextSibling
)
(!0 !== r && 1 === o.nodeType && "SCRIPT" === o.nodeName) ||
n.appendChild(e(o, r));
return (
1 === t.nodeType &&
("CANVAS" === t.nodeName
? ((n.width = t.width),
(n.height = t.height),
n.getContext("2d").drawImage(t, 0, 0))
: ("TEXTAREA" !== t.nodeName && "SELECT" !== t.nodeName) ||
(n.value = t.value),
n.addEventListener(
"load",
function () {
(n.scrollTop = t.scrollTop),
(n.scrollLeft = t.scrollLeft);
},
!0
)),
n
);
},
a = function (e, t) {
if ("number" === o(e)) return (72 * e) / 96 / t;
var r = {};
for (var n in e) r[n] = (72 * e[n]) / 96 / t;
return r;
},
A = function (e, t) {
return Math.floor(((e * t) / 72) * 96);
};
},
"./src/worker.js": function (e, t, r) {
"use strict";
r.r(t),
r("./node_modules/core-js/modules/es.object.assign.js"),
r("./node_modules/core-js/modules/es.array.map.js"),
r("./node_modules/core-js/modules/es.object.keys.js"),
r("./node_modules/core-js/modules/es.array.concat.js"),
r("./node_modules/core-js/modules/es.object.to-string.js"),
r("./node_modules/core-js/modules/es.regexp.to-string.js"),
r("./node_modules/core-js/modules/es.function.name.js"),
r("./node_modules/core-js/modules/web.dom-collections.for-each.js");
var n = r("./node_modules/jspdf/dist/jspdf.es.min.js"),
o = r("./node_modules/html2canvas/dist/html2canvas.js"),
s = r("./src/utils.js"),
i = r("./node_modules/es6-promise/dist/es6-promise.js"),
a = r.n(i)().Promise,
A = function e(t) {
var r = Object.assign(
e.convert(a.resolve()),
JSON.parse(JSON.stringify(e.template))
),
n = e.convert(a.resolve(), r);
return (n = n.setProgress(1, e, 1, [e])).set(t);
};
((A.prototype = Object.create(a.prototype)).constructor = A),
(A.convert = function (e, t) {
return (e.__proto__ = t || A.prototype), e;
}),
(A.template = {
prop: {
src: null,
container: null,
overlay: null,
canvas: null,
img: null,
pdf: null,
pageSize: null,
},
progress: { val: 0, state: null, n: 0, stack: [] },
opt: {
filename: "file.pdf",
margin: [0, 0, 0, 0],
image: { type: "jpeg", quality: 0.95 },
enableLinks: !0,
html2canvas: {},
jsPDF: {},
},
}),
(A.prototype.from = function (e, t) {
return this.then(function () {
switch (
(t =
t ||
(function (e) {
switch ((0, s.objType)(e)) {
case "string":
return "string";
case "element":
return "canvas" === e.nodeName.toLowerCase
? "canvas"
: "element";
default:
return "unknown";
}
})(e))
) {
case "string":
return this.set({
src: (0, s.createElement)("div", { innerHTML: e }),
});
case "element":
return this.set({ src: e });
case "canvas":
return this.set({ canvas: e });
case "img":
return this.set({ img: e });
default:
return this.error("Unknown source type.");
}
});
}),
(A.prototype.to = function (e) {
switch (e) {
case "container":
return this.toContainer();
case "canvas":
return this.toCanvas();
case "img":
return this.toImg();
case "pdf":
return this.toPdf();
default:
return this.error("Invalid target.");
}
}),
(A.prototype.toContainer = function () {
return this.thenList([
function () {
return (
this.prop.src ||
this.error("Cannot duplicate - no source HTML.")
);
},
function () {
return this.prop.pageSize || this.setPageSize();
},
]).then(function () {
var e = {
position: "fixed",
overflow: "hidden",
zIndex: 1e3,
left: 0,
right: 0,
bottom: 0,
top: 0,
backgroundColor: "rgba(0,0,0,0.8)",
},
t = {
position: "absolute",
width:
this.prop.pageSize.inner.width + this.prop.pageSize.unit,
left: 0,
right: 0,
top: 0,
height: "auto",
margin: "auto",
backgroundColor: "white",
};
e.opacity = 0;
var r = (0, s.cloneNode)(
this.prop.src,
this.opt.html2canvas.javascriptEnabled
);
(this.prop.overlay = (0, s.createElement)("div", {
className: "html2pdf__overlay",
style: e,
})),
(this.prop.container = (0, s.createElement)("div", {
className: "html2pdf__container",
style: t,
})),
this.prop.container.appendChild(r),
this.prop.overlay.appendChild(this.prop.container),
document.body.appendChild(this.prop.overlay);
});
}),
(A.prototype.toCanvas = function () {
var e = [
function () {
return (
document.body.contains(this.prop.container) ||
this.toContainer()
);
},
];
return this.thenList(e)
.then(function () {
var e = Object.assign({}, this.opt.html2canvas);
return delete e.onrendered, o(this.prop.container, e);
})
.then(function (e) {
(this.opt.html2canvas.onrendered || function () {})(e),
(this.prop.canvas = e),
document.body.removeChild(this.prop.overlay);
});
}),
(A.prototype.toImg = function () {
return this.thenList([
function () {
return this.prop.canvas || this.toCanvas();
},
]).then(function () {
var e = this.prop.canvas.toDataURL(
"image/" + this.opt.image.type,
this.opt.image.quality
);
(this.prop.img = document.createElement("img")),
(this.prop.img.src = e);
});
}),
(A.prototype.toPdf = function () {
return this.thenList([
function () {
return this.prop.canvas || this.toCanvas();
},
]).then(function () {
var e = this.prop.canvas,
t = this.opt,
r = e.height,
o = Math.floor(e.width * this.prop.pageSize.inner.ratio),
s = Math.ceil(r / o),
i = this.prop.pageSize.inner.height,
a = document.createElement("canvas"),
A = a.getContext("2d");
(a.width = e.width),
(a.height = o),
(this.prop.pdf = this.prop.pdf || new n.jsPDF(t.jsPDF));
for (var u = 0; u < s; u++) {
u === s - 1 &&
r % o != 0 &&
((a.height = r % o),
(i =
(a.height * this.prop.pageSize.inner.width) / a.width));
var c = a.width,
l = a.height;
(A.fillStyle = "white"),
A.fillRect(0, 0, c, l),
A.drawImage(e, 0, u * o, c, l, 0, 0, c, l),
u && this.prop.pdf.addPage();
var d = a.toDataURL("image/" + t.image.type, t.image.quality);
this.prop.pdf.addImage(
d,
t.image.type,
t.margin[1],
t.margin[0],
this.prop.pageSize.inner.width,
i
);
}
});
}),
(A.prototype.output = function (e, t, r) {
return "img" === (r = r || "pdf").toLowerCase() ||
"image" === r.toLowerCase()
? this.outputImg(e, t)
: this.outputPdf(e, t);
}),
(A.prototype.outputPdf = function (e, t) {
return this.thenList([
function () {
return this.prop.pdf || this.toPdf();
},
]).then(function () {
return this.prop.pdf.output(e, t);
});
}),
(A.prototype.outputImg = function (e, t) {
return this.thenList([
function () {
return this.prop.img || this.toImg();
},
]).then(function () {
switch (e) {
case void 0:
case "img":
return this.prop.img;
case "datauristring":
case "dataurlstring":
return this.prop.img.src;
case "datauri":
case "dataurl":
return (document.location.href = this.prop.img.src);
default:
throw 'Image output type "' + e + '" is not supported.';
}
});
}),
(A.prototype.save = function (e) {
return this.thenList([
function () {
return this.prop.pdf || this.toPdf();
},
])
.set(e ? { filename: e } : null)
.then(function () {
this.prop.pdf.save(this.opt.filename);
});
}),
(A.prototype.set = function (e) {
if ("object" !== (0, s.objType)(e)) return this;
var t = Object.keys(e || {}).map(function (t) {
switch (t) {
case "margin":
return this.setMargin.bind(this, e.margin);
case "jsPDF":
return function () {
return (this.opt.jsPDF = e.jsPDF), this.setPageSize();
};
case "pageSize":
return this.setPageSize.bind(this, e.pageSize);
default:
return t in A.template.prop
? function () {
this.prop[t] = e[t];
}
: function () {
this.opt[t] = e[t];
};
}
}, this);
return this.then(function () {
return this.thenList(t);
});
}),
(A.prototype.get = function (e, t) {
return this.then(function () {
var r = e in A.template.prop ? this.prop[e] : this.opt[e];
return t ? t(r) : r;
});
}),
(A.prototype.setMargin = function (e) {
return this.then(function () {
switch ((0, s.objType)(e)) {
case "number":
e = [e, e, e, e];
case "array":
if (
(2 === e.length && (e = [e[0], e[1], e[0], e[1]]),
4 === e.length)
)
break;
default:
return this.error("Invalid margin array.");
}
this.opt.margin = e;
}).then(this.setPageSize);
}),
(A.prototype.setPageSize = function (e) {
return this.then(function () {
(e = e || n.jsPDF.getPageSize(this.opt.jsPDF)).hasOwnProperty(
"inner"
) ||
((e.inner = {
width: e.width - this.opt.margin[1] - this.opt.margin[3],
height: e.height - this.opt.margin[0] - this.opt.margin[2],
}),
(e.inner.px = {
width: (0, s.toPx)(e.inner.width, e.k),
height: (0, s.toPx)(e.inner.height, e.k),
}),
(e.inner.ratio = e.inner.height / e.inner.width)),
(this.prop.pageSize = e);
});
}),
(A.prototype.setProgress = function (e, t, r, n) {
return (
null != e && (this.progress.val = e),
null != t && (this.progress.state = t),
null != r && (this.progress.n = r),
null != n && (this.progress.stack = n),
(this.progress.ratio = this.progress.val / this.progress.state),
this
);
}),
(A.prototype.updateProgress = function (e, t, r, n) {
return this.setProgress(
e ? this.progress.val + e : null,
t || null,
r ? this.progress.n + r : null,
n ? this.progress.stack.concat(n) : null
);
}),
(A.prototype.then = function (e, t) {
var r = this;
return this.thenCore(e, t, function (e, t) {
return (
r.updateProgress(null, null, 1, [e]),
a.prototype.then
.call(this, function (t) {
return r.updateProgress(null, e), t;
})
.then(e, t)
.then(function (e) {
return r.updateProgress(1), e;
})
);
});
}),
(A.prototype.thenCore = function (e, t, r) {
r = r || a.prototype.then;
var n = this;
e && (e = e.bind(n)), t && (t = t.bind(n));
var o =
-1 !== a.toString().indexOf("[native code]") &&
"Promise" === a.name
? n
: A.convert(Object.assign({}, n), a.prototype),
s = r.call(o, e, t);
return A.convert(s, n.__proto__);
}),
(A.prototype.thenExternal = function (e, t) {
return a.prototype.then.call(this, e, t);
}),
(A.prototype.thenList = function (e) {
var t = this;
return (
e.forEach(function (e) {
t = t.thenCore(e);
}),
t
);
}),
(A.prototype.catch = function (e) {
e && (e = e.bind(this));
var t = a.prototype.catch.call(this, e);
return A.convert(t, this);
}),
(A.prototype.catchExternal = function (e) {
return a.prototype.catch.call(this, e);
}),
(A.prototype.error = function (e) {
return this.then(function () {
throw new Error(e);
});
}),
(A.prototype.using = A.prototype.set),
(A.prototype.saveAs = A.prototype.save),
(A.prototype.export = A.prototype.output),
(A.prototype.run = A.prototype.then),
(t.default = A);
},
"./node_modules/canvg/lib/index.es.js": function (e, t, r) {
"use strict";
r.r(t),
r.d(t, {
AElement: function () {
return pr;
},
AnimateColorElement: function () {
return ar;
},
AnimateElement: function () {
return ir;
},
AnimateTransformElement: function () {
return Ar;
},
BoundingBox: function () {
return Ot;
},
CB1: function () {
return at;
},
CB2: function () {
return At;
},
CB3: function () {
return ut;
},
CB4: function () {
return ct;
},
Canvg: function () {
return qr;
},
CircleElement: function () {
return Gt;
},
ClipPathElement: function () {
return Sr;
},
DefsElement: function () {
return er;
},
DescElement: function () {
return kr;
},
Document: function () {
return Kr;
},
Element: function () {
return St;
},
EllipseElement: function () {
return Xt;
},
FeColorMatrixElement: function () {
return Qr;
},
FeCompositeElement: function () {
return Ir;
},
FeDropShadowElement: function () {
return Tr;
},
FeGaussianBlurElement: function () {
return Pr;
},
FeMorphologyElement: function () {
return Hr;
},
FilterElement: function () {
return Lr;
},
Font: function () {
return Pt;
},
FontElement: function () {
return cr;
},
FontFaceElement: function () {
return lr;
},
GElement: function () {
return tr;
},
GlyphElement: function () {
return fr;
},
GradientElement: function () {
return rr;
},
ImageElement: function () {
return wr;
},
LineElement: function () {
return Wt;
},
LinearGradientElement: function () {
return nr;
},
MarkerElement: function () {
return $t;
},
MaskElement: function () {
return Fr;
},
Matrix: function () {
return Et;
},
MissingGlyphElement: function () {
return dr;
},
Mouse: function () {
return gt;
},
PSEUDO_ZERO: function () {
return nt;
},
Parser: function () {
return jt;
},
PathElement: function () {
return zt;
},
PathParser: function () {
return Kt;
},
PatternElement: function () {
return Zt;
},
Point: function () {
return mt;
},
PolygonElement: function () {
return Yt;
},
PolylineElement: function () {
return Jt;
},
Property: function () {
return ht;
},
QB1: function () {
return lt;
},
QB2: function () {
return dt;
},
QB3: function () {
return ft;
},
RadialGradientElement: function () {
return or;
},
RectElement: function () {
return qt;
},
RenderedElement: function () {
return kt;
},
Rotate: function () {
return Ct;
},
SVGElement: function () {
return Vt;
},
SVGFontLoader: function () {
return Br;
},
Scale: function () {
return xt;
},
Screen: function () {
return wt;
},
Skew: function () {
return Nt;
},
SkewX: function () {
return Qt;
},
SkewY: function () {
return Ft;
},
StopElement: function () {
return sr;
},
StyleElement: function () {
return jr;
},
SymbolElement: function () {
return br;
},
TRefElement: function () {
return hr;
},
TSpanElement: function () {
return Mt;
},
TextElement: function () {
return Rt;
},
TextPathElement: function () {
return vr;
},
TitleElement: function () {
return Or;
},
Transform: function () {
return Ut;
},
Translate: function () {
return _t;
},
UnknownElement: function () {
return Lt;
},
UseElement: function () {
return _r;
},
ViewPort: function () {
return pt;
},
compressSpaces: function () {
return Re;
},
getSelectorSpecificity: function () {
return rt;
},
normalizeAttributeName: function () {
return Ve;
},
normalizeColor: function () {
return Ge;
},
parseExternalUrl: function () {
return qe;
},
presets: function () {
return Gr;
},
toNumbers: function () {
return Ke;
},
trimLeft: function () {
return Me;
},
trimRight: function () {
return De;
},
vectorMagnitude: function () {
return ot;
},
vectorsAngle: function () {
return it;
},
vectorsRatio: function () {
return st;
},
});
var n = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/starts-with.js"
),
o = r.n(n),
s = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/parse-float.js"
),
i = r.n(s),
a = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js"
),
A = r.n(a),
u = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js"
),
c = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js"
),
l = r.n(c),
d = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/object/define-properties.js"
),
f = r.n(d),
h = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors.js"
),
p = r.n(h),
m = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/for-each.js"
),
g = r.n(m),
y = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js"
),
v = r.n(y),
w = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js"
),
b = r.n(w),
B = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js"
),
j = r.n(B),
_ = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js"
),
C = r.n(_),
x = r("./node_modules/@babel/runtime-corejs3/regenerator/index.js"),
E = r.n(x),
N = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/asyncToGenerator.js"
),
Q = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js"
),
F = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/classCallCheck.js"
),
U = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/createClass.js"
),
S = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js"
),
L = r.n(S),
T = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/reduce.js"
),
H = r.n(T),
I = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/date/now.js"
),
P = r.n(I),
O = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/every.js"
),
k = r.n(O),
R = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/promise.js"
),
M = r.n(R),
D = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/bind.js"
),
K = r.n(D),
z = r("./node_modules/raf/index.js"),
V = r.n(z),
q = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim.js"
),
G = r.n(q),
X = r("./node_modules/rgbcolor/index.js"),
W = r.n(X),
J = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/reflect/construct.js"
),
Y = r.n(J),
Z = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/inherits.js"
),
$ = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/possibleConstructorReturn.js"
),
ee = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/getPrototypeOf.js"
),
te = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js"
),
re = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/some.js"
),
ne = r.n(re),
oe = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js"
),
se = r.n(oe),
ie = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js"
),
ae = r.n(ie),
Ae = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/reverse.js"
),
ue = r.n(Ae),
ce = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/index-of.js"
),
le = r.n(ce),
de = r("./node_modules/@babel/runtime-corejs3/helpers/esm/get.js"),
fe = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/fill.js"
),
he = r.n(fe),
pe = r("./node_modules/svg-pathdata/lib/SVGPathData.module.js"),
me = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/reflect/delete-property.js"
),
ge = r.n(me),
ye = r(
"./node_modules/@babel/runtime-corejs3/helpers/esm/assertThisInitialized.js"
),
ve = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/values.js"
),
we = r.n(ve),
be = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/parse-int.js"
),
Be = r.n(be),
je = r(
"./node_modules/@babel/runtime-corejs3/core-js/get-iterator.js"
),
_e = r.n(je),
Ce = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/array/is-array.js"
),
xe = r.n(Ce),
Ee = r(
"./node_modules/@babel/runtime-corejs3/core-js/get-iterator-method.js"
),
Ne = r.n(Ee),
Qe = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/symbol.js"
),
Fe = r.n(Qe),
Ue = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js"
),
Se = r.n(Ue),
Le = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/map.js"
),
Te = r.n(Le),
He = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/reflect/apply.js"
),
Ie = r.n(He),
Pe = r(
"./node_modules/@babel/runtime-corejs3/core-js-stable/reflect/get-prototype-of.js"
),
Oe = r.n(Pe),
ke = r("./node_modules/stackblur-canvas/dist/stackblur-es.js");
function Re(e) {
return e.replace(/(?!\u3000)\s+/gm, " ");
}
function Me(e) {
return e.replace(/^[\n \t]+/, "");
}
function De(e) {
return e.replace(/[\n \t]+$/, "");
}
function Ke(e) {
var t =
(e || "").match(
/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm
) || [];
return A()(t).call(t, i());
}
var ze = /^[A-Z-]+$/;
function Ve(e) {
return ze.test(e) ? e.toLowerCase() : e;
}
function qe(e) {
var t = e.match(/url\(('([^']+)'|"([^"]+)"|([^'"\)]+))\)/) || [];
return t[2] || t[3] || t[4];
}
function Ge(e) {
if (!o()(e).call(e, "rgb")) return e;
var t = 3;
return e.replace(/\d+(\.\d+)?/g, function (e, r) {
return t-- && r ? String(Math.round(i()(e))) : e;
});
}
var Xe = /(\[[^\]]+\])/g,
We = /(#[^\s\+>~\.\[:]+)/g,
Je = /(\.[^\s\+>~\.\[:]+)/g,
Ye =
/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,
Ze = /(:[\w-]+\([^\)]*\))/gi,
$e = /(:[^\s\+>~\.\[:]+)/g,
et = /([^\s\+>~\.\[:]+)/g;
function tt(e, t) {
var r = e.match(t);
return r ? [e.replace(t, " "), r.length] : [e, 0];
}
function rt(e) {
var t = [0, 0, 0],
r = e
.replace(/:not\(([^\)]*)\)/g, " $1 ")
.replace(/{[\s\S]*/gm, " "),
n = 0,
o = tt(r, Xe),
s = (0, u.default)(o, 2);
(r = s[0]), (n = s[1]), (t[1] += n);
var i = tt(r, We),
a = (0, u.default)(i, 2);
(r = a[0]), (n = a[1]), (t[0] += n);
var A = tt(r, Je),
c = (0, u.default)(A, 2);
(r = c[0]), (n = c[1]), (t[1] += n);
var l = tt(r, Ye),
d = (0, u.default)(l, 2);
(r = d[0]), (n = d[1]), (t[2] += n);
var f = tt(r, Ze),
h = (0, u.default)(f, 2);
(r = h[0]), (n = h[1]), (t[1] += n);
var p = tt(r, $e),
m = (0, u.default)(p, 2);
(r = m[0]), (n = m[1]), (t[1] += n);
var g = tt(
(r = r.replace(/[\*\s\+>~]/g, " ").replace(/[#\.]/g, " ")),
et
),
y = (0, u.default)(g, 2);
return (r = y[0]), (n = y[1]), (t[2] += n), t.join("");
}
var nt = 1e-8;
function ot(e) {
return Math.sqrt(Math.pow(e[0], 2) + Math.pow(e[1], 2));
}
function st(e, t) {
return (e[0] * t[0] + e[1] * t[1]) / (ot(e) * ot(t));
}
function it(e, t) {
return (e[0] * t[1] < e[1] * t[0] ? -1 : 1) * Math.acos(st(e, t));
}
function at(e) {
return e * e * e;
}
function At(e) {
return 3 * e * e * (1 - e);
}
function ut(e) {
return 3 * e * (1 - e) * (1 - e);
}
function ct(e) {
return (1 - e) * (1 - e) * (1 - e);
}
function lt(e) {
return e * e;
}
function dt(e) {
return 2 * e * (1 - e);
}
function ft(e) {
return (1 - e) * (1 - e);
}
var ht = (function () {
function e(t, r, n) {
(0, F.default)(this, e),
(this.document = t),
(this.name = r),
(this.value = n),
(this.isNormalizedColor = !1);
}
return (
(0, U.default)(
e,
[
{
key: "split",
value: function () {
var t,
r,
n =
arguments.length > 0 && void 0 !== arguments[0]
? arguments[0]
: " ",
o = this.document,
s = this.name;
return A()(
(t = G()((r = Re(this.getString())))
.call(r)
.split(n))
).call(t, function (t) {
return new e(o, s, t);
});
},
},
{
key: "hasValue",
value: function (e) {
var t = this.value;
return (
null !== t && "" !== t && (e || 0 !== t) && void 0 !== t
);
},
},
{
key: "isString",
value: function (e) {
var t = this.value,
r = "string" == typeof t;
return r && e ? e.test(t) : r;
},
},
{
key: "isUrlDefinition",
value: function () {
return this.isString(/^url\(/);
},
},
{
key: "isPixels",
value: function () {
if (!this.hasValue()) return !1;
var e = this.getString();
switch (!0) {
case /px$/.test(e):
case /^[0-9]+$/.test(e):
return !0;
default:
return !1;
}
},
},
{
key: "setValue",
value: function (e) {
return (this.value = e), this;
},
},
{
key: "getValue",
value: function (e) {
return void 0 === e || this.hasValue() ? this.value : e;
},
},
{
key: "getNumber",
value: function (e) {
if (!this.hasValue()) return void 0 === e ? 0 : i()(e);
var t = this.value,
r = i()(t);
return this.isString(/%$/) && (r /= 100), r;
},
},
{
key: "getString",
value: function (e) {
return void 0 === e || this.hasValue()
? void 0 === this.value
? ""
: String(this.value)
: String(e);
},
},
{
key: "getColor",
value: function (e) {
var t = this.getString(e);
return (
this.isNormalizedColor ||
((this.isNormalizedColor = !0),
(t = Ge(t)),
(this.value = t)),
t
);
},
},
{
key: "getDpi",
value: function () {
return 96;
},
},
{
key: "getRem",
value: function () {
return this.document.rootEmSize;
},
},
{
key: "getEm",
value: function () {
return this.document.emSize;
},
},
{
key: "getUnits",
value: function () {
return this.getString().replace(/[0-9\.\-]/g, "");
},
},
{
key: "getPixels",
value: function (e) {
var t =
arguments.length > 1 &&
void 0 !== arguments[1] &&
arguments[1];
if (!this.hasValue()) return 0;
var r = "boolean" == typeof e ? [void 0, e] : [e],
n = (0, u.default)(r, 2),
o = n[0],
s = n[1],
i = this.document.screen.viewPort;
switch (!0) {
case this.isString(/vmin$/):
return (
(this.getNumber() / 100) *
Math.min(i.computeSize("x"), i.computeSize("y"))
);
case this.isString(/vmax$/):
return (
(this.getNumber() / 100) *
Math.max(i.computeSize("x"), i.computeSize("y"))
);
case this.isString(/vw$/):
return (this.getNumber() / 100) * i.computeSize("x");
case this.isString(/vh$/):
return (this.getNumber() / 100) * i.computeSize("y");
case this.isString(/rem$/):
return this.getNumber() * this.getRem();
case this.isString(/em$/):
return this.getNumber() * this.getEm();
case this.isString(/ex$/):
return (this.getNumber() * this.getEm()) / 2;
case this.isString(/px$/):
return this.getNumber();
case this.isString(/pt$/):
return this.getNumber() * this.getDpi() * (1 / 72);
case this.isString(/pc$/):
return 15 * this.getNumber();
case this.isString(/cm$/):
return (this.getNumber() * this.getDpi()) / 2.54;
case this.isString(/mm$/):
return (this.getNumber() * this.getDpi()) / 25.4;
case this.isString(/in$/):
return this.getNumber() * this.getDpi();
case this.isString(/%$/) && s:
return this.getNumber() * this.getEm();
case this.isString(/%$/):
return this.getNumber() * i.computeSize(o);
default:
var a = this.getNumber();
return t && a < 1 ? a * i.computeSize(o) : a;
}
},
},
{
key: "getMilliseconds",
value: function () {
return this.hasValue()
? this.isString(/ms$/)
? this.getNumber()
: 1e3 * this.getNumber()
: 0;
},
},
{
key: "getRadians",
value: function () {
if (!this.hasValue()) return 0;
switch (!0) {
case this.isString(/deg$/):
return this.getNumber() * (Math.PI / 180);
case this.isString(/grad$/):
return this.getNumber() * (Math.PI / 200);
case this.isString(/rad$/):
return this.getNumber();
default:
return this.getNumber() * (Math.PI / 180);
}
},
},
{
key: "getDefinition",
value: function () {
var e = this.getString(),
t = e.match(/#([^\)'"]+)/);
return (
t && (t = t[1]),
t || (t = e),
this.document.definitions[t]
);
},
},
{
key: "getFillStyleDefinition",
value: function (e, t) {
var r = this.getDefinition();
if (!r) return null;
if ("function" == typeof r.createGradient)
return r.createGradient(this.document.ctx, e, t);
if ("function" == typeof r.createPattern) {
if (r.getHrefAttribute().hasValue()) {
var n = r.getAttribute("patternTransform");
(r = r.getHrefAttribute().getDefinition()),
n.hasValue() &&
r
.getAttribute("patternTransform", !0)
.setValue(n.value);
}
return r.createPattern(this.document.ctx, e, t);
}
return null;
},
},
{
key: "getTextBaseline",
value: function () {
return this.hasValue()
? e.textBaselineMapping[this.getString()]
: null;
},
},
{
key: "addOpacity",
value: function (t) {
for (
var r = this.getColor(), n = r.length, o = 0, s = 0;
s < n && ("," === r[s] && o++, 3 !== o);
s++
);
if (t.hasValue() && this.isString() && 3 !== o) {
var i = new (W())(r);
i.ok && ((i.alpha = t.getNumber()), (r = i.toRGBA()));
}
return new e(this.document, this.name, r);
},
},
],
[
{
key: "empty",
value: function (t) {
return new e(t, "EMPTY", "");
},
},
]
),
e
);
})();
ht.textBaselineMapping = {
baseline: "alphabetic",
"before-edge": "top",
"text-before-edge": "top",
middle: "middle",
central: "middle",
"after-edge": "bottom",
"text-after-edge": "bottom",
ideographic: "ideographic",
alphabetic: "alphabetic",
hanging: "hanging",
mathematical: "alphabetic",
};
var pt = (function () {
function e() {
(0, F.default)(this, e), (this.viewPorts = []);
}
return (
(0, U.default)(e, [
{
key: "clear",
value: function () {
this.viewPorts = [];
},
},
{
key: "setCurrent",
value: function (e, t) {
this.viewPorts.push({ width: e, height: t });
},
},
{
key: "removeCurrent",
value: function () {
this.viewPorts.pop();
},
},
{
key: "getCurrent",
value: function () {
var e = this.viewPorts;
return e[e.length - 1];
},
},
{
key: "computeSize",
value: function (e) {
return "number" == typeof e
? e
: "x" === e
? this.width
: "y" === e
? this.height
: Math.sqrt(
Math.pow(this.width, 2) + Math.pow(this.height, 2)
) / Math.sqrt(2);
},
},
{
key: "width",
get: function () {
return this.getCurrent().width;
},
},
{
key: "height",
get: function () {
return this.getCurrent().height;
},
},
]),
e
);
})(),
mt = (function () {
function e(t, r) {
(0, F.default)(this, e), (this.x = t), (this.y = r);
}
return (
(0, U.default)(
e,
[
{
key: "angleTo",
value: function (e) {
return Math.atan2(e.y - this.y, e.x - this.x);
},
},
{
key: "applyTransform",
value: function (e) {
var t = this.x,
r = this.y,
n = t * e[0] + r * e[2] + e[4],
o = t * e[1] + r * e[3] + e[5];
(this.x = n), (this.y = o);
},
},
],
[
{
key: "parse",
value: function (t) {
var r =
arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: 0,
n = Ke(t),
o = (0, u.default)(n, 2),
s = o[0],
i = void 0 === s ? r : s,
a = o[1],
A = void 0 === a ? r : a;
return new e(i, A);
},
},
{
key: "parseScale",
value: function (t) {
var r =
arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: 1,
n = Ke(t),
o = (0, u.default)(n, 2),
s = o[0],
i = void 0 === s ? r : s,
a = o[1],
A = void 0 === a ? i : a;
return new e(i, A);
},
},
{
key: "parsePath",
value: function (t) {
for (
var r = Ke(t), n = r.length, o = [], s = 0;
s < n;
s += 2
)
o.push(new e(r[s], r[s + 1]));
return o;
},
},
]
),
e
);
})(),
gt = (function () {
function e(t) {
var r, n;
(0, F.default)(this, e),
(this.screen = t),
(this.working = !1),
(this.events = []),
(this.eventElements = []),
(this.onClick = K()((r = this.onClick)).call(r, this)),
(this.onMouseMove = K()((n = this.onMouseMove)).call(
n,
this
));
}
return (
(0, U.default)(e, [
{
key: "isWorking",
value: function () {
return this.working;
},
},
{
key: "start",
value: function () {
if (!this.working) {
var e = this.screen,
t = this.onClick,
r = this.onMouseMove,
n = e.ctx.canvas;
(n.onclick = t),
(n.onmousemove = r),
(this.working = !0);
}
},
},
{
key: "stop",
value: function () {
if (this.working) {
var e = this.screen.ctx.canvas;
(this.working = !1),
(e.onclick = null),
(e.onmousemove = null);
}
},
},
{
key: "hasEvents",
value: function () {
return this.working && this.events.length > 0;
},
},
{
key: "runEvents",
value: function () {
if (this.working) {
var e = this.screen,
t = this.events,
r = this.eventElements,
n = e.ctx.canvas.style;
n && (n.cursor = ""),
g()(t).call(t, function (e, t) {
for (var n = e.run, o = r[t]; o; )
n(o), (o = o.parent);
}),
(this.events = []),
(this.eventElements = []);
}
},
},
{
key: "checkPath",
value: function (e, t) {
if (this.working && t) {
var r = this.events,
n = this.eventElements;
g()(r).call(r, function (r, o) {
var s = r.x,
i = r.y;
!n[o] &&
t.isPointInPath &&
t.isPointInPath(s, i) &&
(n[o] = e);
});
}
},
},
{
key: "checkBoundingBox",
value: function (e, t) {
if (this.working && t) {
var r = this.events,
n = this.eventElements;
g()(r).call(r, function (r, o) {
var s = r.x,
i = r.y;
!n[o] && t.isPointInBox(s, i) && (n[o] = e);
});
}
},
},
{
key: "mapXY",
value: function (e, t) {
for (
var r = this.screen,
n = r.window,
o = r.ctx,
s = new mt(e, t),
i = o.canvas;
i;
)
(s.x -= i.offsetLeft),
(s.y -= i.offsetTop),
(i = i.offsetParent);
return (
n.scrollX && (s.x += n.scrollX),
n.scrollY && (s.y += n.scrollY),
s
);
},
},
{
key: "onClick",
value: function (e) {
var t = this.mapXY(
(e || event).clientX,
(e || event).clientY
),
r = t.x,
n = t.y;
this.events.push({
type: "onclick",
x: r,
y: n,
run: function (e) {
e.onClick && e.onClick();
},
});
},
},
{
key: "onMouseMove",
value: function (e) {
var t = this.mapXY(
(e || event).clientX,
(e || event).clientY
),
r = t.x,
n = t.y;
this.events.push({
type: "onmousemove",
x: r,
y: n,
run: function (e) {
e.onMouseMove && e.onMouseMove();
},
});
},
},
]),
e
);
})(),
yt = "undefined" != typeof window ? window : null,
vt =
"undefined" != typeof fetch
? K()(fetch).call(fetch, void 0)
: null,
wt = (function () {
function e(t) {
var r =
arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: {},
n = r.fetch,
o = void 0 === n ? vt : n,
s = r.window,
i = void 0 === s ? yt : s;
(0, F.default)(this, e),
(this.ctx = t),
(this.FRAMERATE = 30),
(this.MAX_VIRTUAL_PIXELS = 3e4),
(this.CLIENT_WIDTH = 800),
(this.CLIENT_HEIGHT = 600),
(this.viewPort = new pt()),
(this.mouse = new gt(this)),
(this.animations = []),
(this.waits = []),
(this.frameDuration = 0),
(this.isReadyLock = !1),
(this.isFirstRender = !0),
(this.intervalId = null),
(this.window = i),
(this.fetch = o);
}
return (
(0, U.default)(e, [
{
key: "wait",
value: function (e) {
this.waits.push(e);
},
},
{
key: "ready",
value: function () {
return this.readyPromise
? this.readyPromise
: M().resolve();
},
},
{
key: "isReady",
value: function () {
var e;
if (this.isReadyLock) return !0;
var t = k()((e = this.waits)).call(e, function (e) {
return e();
});
return (
t &&
((this.waits = []),
this.resolveReady && this.resolveReady()),
(this.isReadyLock = t),
t
);
},
},
{
key: "setDefaults",
value: function (e) {
(e.strokeStyle = "rgba(0,0,0,0)"),
(e.lineCap = "butt"),
(e.lineJoin = "miter"),
(e.miterLimit = 4);
},
},
{
key: "setViewBox",
value: function (e) {
var t = e.document,
r = e.ctx,
n = e.aspectRatio,
o = e.width,
s = e.desiredWidth,
i = e.height,
a = e.desiredHeight,
A = e.minX,
c = void 0 === A ? 0 : A,
l = e.minY,
d = void 0 === l ? 0 : l,
f = e.refX,
h = e.refY,
p = e.clip,
m = void 0 !== p && p,
g = e.clipX,
y = void 0 === g ? 0 : g,
v = e.clipY,
w = void 0 === v ? 0 : v,
b = Re(n)
.replace(/^defer\s/, "")
.split(" "),
B = (0, u.default)(b, 2),
j = B[0] || "xMidYMid",
_ = B[1] || "meet",
C = o / s,
x = i / a,
E = Math.min(C, x),
N = Math.max(C, x),
Q = s,
F = a;
"meet" === _ && ((Q *= E), (F *= E)),
"slice" === _ && ((Q *= N), (F *= N));
var U = new ht(t, "refX", f),
S = new ht(t, "refY", h),
L = U.hasValue() && S.hasValue();
if (
(L &&
r.translate(
-E * U.getPixels("x"),
-E * S.getPixels("y")
),
m)
) {
var T = E * y,
H = E * w;
r.beginPath(),
r.moveTo(T, H),
r.lineTo(o, H),
r.lineTo(o, i),
r.lineTo(T, i),
r.closePath(),
r.clip();
}
if (!L) {
var I = "meet" === _ && E === x,
P = "slice" === _ && N === x,
O = "meet" === _ && E === C,
k = "slice" === _ && N === C;
/^xMid/.test(j) &&
(I || P) &&
r.translate(o / 2 - Q / 2, 0),
/YMid$/.test(j) &&
(O || k) &&
r.translate(0, i / 2 - F / 2),
/^xMax/.test(j) && (I || P) && r.translate(o - Q, 0),
/YMax$/.test(j) && (O || k) && r.translate(0, i - F);
}
switch (!0) {
case "none" === j:
r.scale(C, x);
break;
case "meet" === _:
r.scale(E, E);
break;
case "slice" === _:
r.scale(N, N);
}
r.translate(-c, -d);
},
},
{
key: "start",
value: function (e) {
var t = this,
r =
arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: {},
n = r.enableRedraw,
o = void 0 !== n && n,
s = r.ignoreMouse,
i = void 0 !== s && s,
a = r.ignoreAnimation,
A = void 0 !== a && a,
u = r.ignoreDimensions,
c = void 0 !== u && u,
l = r.ignoreClear,
d = void 0 !== l && l,
f = r.forceRedraw,
h = r.scaleWidth,
p = r.scaleHeight,
m = r.offsetX,
g = r.offsetY,
y = this.FRAMERATE,
v = this.mouse,
w = 1e3 / y;
if (
((this.frameDuration = w),
(this.readyPromise = new (M())(function (e) {
t.resolveReady = e;
})),
this.isReady() && this.render(e, c, d, h, p, m, g),
o)
) {
var b = P()(),
B = b,
j = 0,
_ = function r() {
(b = P()()),
(j = b - B) >= w &&
((B = b - (j % w)),
t.shouldUpdate(A, f) &&
(t.render(e, c, d, h, p, m, g),
v.runEvents())),
(t.intervalId = V()(r));
};
i || v.start(), (this.intervalId = V()(_));
}
},
},
{
key: "stop",
value: function () {
this.intervalId &&
(V().cancel(this.intervalId), (this.intervalId = null)),
this.mouse.stop();
},
},
{
key: "shouldUpdate",
value: function (e, t) {
if (!e) {
var r,
n = this.frameDuration;
if (
H()((r = this.animations)).call(
r,
function (e, t) {
return t.update(n) || e;
},
!1
)
)
return !0;
}
return (
!("function" != typeof t || !t()) ||
!(this.isReadyLock || !this.isReady()) ||
!!this.mouse.hasEvents()
);
},
},
{
key: "render",
value: function (e, t, r, n, o, s, i) {
var a = this.CLIENT_WIDTH,
A = this.CLIENT_HEIGHT,
u = this.viewPort,
c = this.ctx,
l = this.isFirstRender,
d = c.canvas;
u.clear(),
d.width && d.height
? u.setCurrent(d.width, d.height)
: u.setCurrent(a, A);
var f = e.getStyle("width"),
h = e.getStyle("height");
!t &&
(l || ("number" != typeof n && "number" != typeof o)) &&
(f.hasValue() &&
((d.width = f.getPixels("x")),
d.style &&
(d.style.width = "".concat(d.width, "px"))),
h.hasValue() &&
((d.height = h.getPixels("y")),
d.style &&
(d.style.height = "".concat(d.height, "px"))));
var p = d.clientWidth || d.width,
m = d.clientHeight || d.height;
if (
(t &&
f.hasValue() &&
h.hasValue() &&
((p = f.getPixels("x")), (m = h.getPixels("y"))),
u.setCurrent(p, m),
"number" == typeof s &&
e.getAttribute("x", !0).setValue(s),
"number" == typeof i &&
e.getAttribute("y", !0).setValue(i),
"number" == typeof n || "number" == typeof o)
) {
var g,
y,
v = Ke(e.getAttribute("viewBox").getString()),
w = 0,
b = 0;
if ("number" == typeof n) {
var B = e.getStyle("width");
B.hasValue()
? (w = B.getPixels("x") / n)
: isNaN(v[2]) || (w = v[2] / n);
}
if ("number" == typeof o) {
var j = e.getStyle("height");
j.hasValue()
? (b = j.getPixels("y") / o)
: isNaN(v[3]) || (b = v[3] / o);
}
w || (w = b),
b || (b = w),
e.getAttribute("width", !0).setValue(n),
e.getAttribute("height", !0).setValue(o);
var _ = e.getStyle("transform", !0, !0);
_.setValue(
L()(
(g = L()(
(y = "".concat(_.getString(), " scale("))
).call(y, 1 / w, ", "))
).call(g, 1 / b, ")")
);
}
r || c.clearRect(0, 0, p, m),
e.render(c),
l && (this.isFirstRender = !1);
},
},
]),
e
);
})();
(wt.defaultWindow = yt), (wt.defaultFetch = vt);
var bt = wt.defaultFetch,
Bt = "undefined" != typeof DOMParser ? DOMParser : null,
jt = (function () {
function e() {
var t =
arguments.length > 0 && void 0 !== arguments[0]
? arguments[0]
: {},
r = t.fetch,
n = void 0 === r ? bt : r,
o = t.DOMParser,
s = void 0 === o ? Bt : o;
(0, F.default)(this, e), (this.fetch = n), (this.DOMParser = s);
}
var t, r;
return (
(0, U.default)(e, [
{
key: "parse",
value:
((r = (0, N.default)(
E().mark(function e(t) {
return E().wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (!/^= 0;
r--
)
t[r].unapply(e);
},
},
{
key: "applyToPoint",
value: function (e) {
for (
var t = this.transforms, r = t.length, n = 0;
n < r;
n++
)
t[n].applyToPoint(e);
},
},
],
[
{
key: "fromElement",
value: function (t, r) {
var n = r.getStyle("transform", !1, !0),
o = r.getStyle("transform-origin", !1, !0).split(),
s = (0, u.default)(o, 2),
i = s[0],
a = s[1],
A = [i, void 0 === a ? i : a];
return n.hasValue() ? new e(t, n.getString(), A) : null;
},
},
]
),
e
);
})();
Ut.transformTypes = {
translate: _t,
rotate: Ct,
scale: xt,
matrix: Et,
skewX: Qt,
skewY: Ft,
};
var St = (function () {
function e(t, r) {
var n,
o,
s = this,
i =
arguments.length > 2 &&
void 0 !== arguments[2] &&
arguments[2];
if (
((0, F.default)(this, e),
(this.document = t),
(this.node = r),
(this.captureTextNodes = i),
(this.attributes = {}),
(this.styles = {}),
(this.stylesSpecificity = {}),
(this.animationFrozen = !1),
(this.animationFrozenValue = ""),
(this.parent = null),
(this.children = []),
r && 1 === r.nodeType)
) {
if (
(g()((n = ae()(r.attributes))).call(n, function (e) {
var r = Ve(e.nodeName);
s.attributes[r] = new ht(t, r, e.value);
}),
this.addStylesFromStyleDefinition(),
this.getAttribute("style").hasValue())
) {
var a,
c = A()(
(a = this.getAttribute("style").getString().split(";"))
).call(a, function (e) {
return G()(e).call(e);
});
g()(c).call(c, function (e) {
var r;
if (e) {
var n = A()((r = e.split(":"))).call(r, function (e) {
return G()(e).call(e);
}),
o = (0, u.default)(n, 2),
i = o[0],
a = o[1];
s.styles[i] = new ht(t, i, a);
}
});
}
var l = t.definitions,
d = this.getAttribute("id");
d.hasValue() && (l[d.getValue()] || (l[d.getValue()] = this)),
g()((o = ae()(r.childNodes))).call(o, function (e) {
if (1 === e.nodeType) s.addChild(e);
else if (i && (3 === e.nodeType || 4 === e.nodeType)) {
var r = t.createTextNode(e);
r.getText().length > 0 && s.addChild(r);
}
});
}
}
return (
(0, U.default)(e, [
{
key: "getAttribute",
value: function (e) {
var t =
arguments.length > 1 &&
void 0 !== arguments[1] &&
arguments[1],
r = this.attributes[e];
if (!r && t) {
var n = new ht(this.document, e, "");
return (this.attributes[e] = n), n;
}
return r || ht.empty(this.document);
},
},
{
key: "getHrefAttribute",
value: function () {
for (var e in this.attributes)
if ("href" === e || /:href$/.test(e))
return this.attributes[e];
return ht.empty(this.document);
},
},
{
key: "getStyle",
value: function (e) {
var t =
arguments.length > 1 &&
void 0 !== arguments[1] &&
arguments[1],
r =
arguments.length > 2 &&
void 0 !== arguments[2] &&
arguments[2],
n = this.styles[e];
if (n) return n;
var o = this.getAttribute(e);
if (o && o.hasValue()) return (this.styles[e] = o), o;
if (!r) {
var s = this.parent;
if (s) {
var i = s.getStyle(e);
if (i && i.hasValue()) return i;
}
}
if (t) {
var a = new ht(this.document, e, "");
return (this.styles[e] = a), a;
}
return n || ht.empty(this.document);
},
},
{
key: "render",
value: function (e) {
if (
"none" !== this.getStyle("display").getString() &&
"hidden" !== this.getStyle("visibility").getString()
) {
if ((e.save(), this.getStyle("mask").hasValue())) {
var t = this.getStyle("mask").getDefinition();
t && (this.applyEffects(e), t.apply(e, this));
} else if (
"none" !== this.getStyle("filter").getValue("none")
) {
var r = this.getStyle("filter").getDefinition();
r && (this.applyEffects(e), r.apply(e, this));
} else
this.setContext(e),
this.renderChildren(e),
this.clearContext(e);
e.restore();
}
},
},
{ key: "setContext", value: function (e) {} },
{
key: "applyEffects",
value: function (e) {
var t = Ut.fromElement(this.document, this);
t && t.apply(e);
var r = this.getStyle("clip-path", !1, !0);
if (r.hasValue()) {
var n = r.getDefinition();
n && n.apply(e);
}
},
},
{ key: "clearContext", value: function (e) {} },
{
key: "renderChildren",
value: function (e) {
var t;
g()((t = this.children)).call(t, function (t) {
t.render(e);
});
},
},
{
key: "addChild",
value: function (t) {
var r,
n = t instanceof e ? t : this.document.createElement(t);
(n.parent = this),
se()((r = e.ignoreChildTypes)).call(r, n.type) ||
this.children.push(n);
},
},
{
key: "matchesSelector",
value: function (e) {
var t,
r = this.node;
if ("function" == typeof r.matches) return r.matches(e);
var n = r.getAttribute("class");
return (
!(!n || "" === n) &&
ne()((t = n.split(" "))).call(t, function (t) {
if (".".concat(t) === e) return !0;
})
);
},
},
{
key: "addStylesFromStyleDefinition",
value: function () {
var e = this.document,
t = e.styles,
r = e.stylesSpecificity;
for (var n in t)
if ("@" !== n[0] && this.matchesSelector(n)) {
var o = t[n],
s = r[n];
if (o)
for (var i in o) {
var a = this.stylesSpecificity[i];
void 0 === a && (a = "000"),
s >= a &&
((this.styles[i] = o[i]),
(this.stylesSpecificity[i] = s));
}
}
},
},
{
key: "removeStyles",
value: function (e, t) {
return H()(t).call(
t,
function (t, r) {
var n,
o = e.getStyle(r);
if (!o.hasValue()) return t;
var s = o.getString();
return (
o.setValue(""),
L()((n = [])).call(n, (0, te.default)(t), [[r, s]])
);
},
[]
);
},
},
{
key: "restoreStyles",
value: function (e, t) {
g()(t).call(t, function (t) {
var r = (0, u.default)(t, 2),
n = r[0],
o = r[1];
e.getStyle(n, !0).setValue(o);
});
},
},
]),
e
);
})();
St.ignoreChildTypes = ["title"];
var Lt = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
return (0, F.default)(this, o), n.call(this, e, t, r);
}
return o;
})(St);
function Tt(e) {
var t = G()(e).call(e);
return /^('|")/.test(t) ? t : '"'.concat(t, '"');
}
function Ht(e) {
if (!e) return "";
var t = G()(e).call(e).toLowerCase();
switch (t) {
case "normal":
case "italic":
case "oblique":
case "inherit":
case "initial":
case "unset":
return t;
default:
return /^oblique\s+(-|)\d+deg$/.test(t) ? t : "";
}
}
function It(e) {
if (!e) return "";
var t = G()(e).call(e).toLowerCase();
switch (t) {
case "normal":
case "bold":
case "lighter":
case "bolder":
case "inherit":
case "initial":
case "unset":
return t;
default:
return /^[\d.]+$/.test(t) ? t : "";
}
}
var Pt = (function () {
function e(t, r, n, o, s, i) {
(0, F.default)(this, e);
var a = i ? ("string" == typeof i ? e.parse(i) : i) : {};
(this.fontFamily = s || a.fontFamily),
(this.fontSize = o || a.fontSize),
(this.fontStyle = t || a.fontStyle),
(this.fontWeight = n || a.fontWeight),
(this.fontVariant = r || a.fontVariant);
}
return (
(0, U.default)(
e,
[
{
key: "toString",
value: function () {
var e, t, r;
return G()(
(e = [
Ht(this.fontStyle),
this.fontVariant,
It(this.fontWeight),
this.fontSize,
((t = this.fontFamily),
"undefined" == typeof process
? t
: A()((r = G()(t).call(t).split(",")))
.call(r, Tt)
.join(",")),
].join(" "))
).call(e);
},
},
],
[
{
key: "parse",
value: function () {
var t,
r =
arguments.length > 0 && void 0 !== arguments[0]
? arguments[0]
: "",
n = arguments.length > 1 ? arguments[1] : void 0,
o = "",
s = "",
i = "",
a = "",
A = "",
c = G()((t = Re(r)))
.call(t)
.split(" "),
l = {
fontSize: !1,
fontStyle: !1,
fontWeight: !1,
fontVariant: !1,
};
return (
g()(c).call(c, function (t) {
var r, n, c;
switch (!0) {
case !l.fontStyle &&
se()((r = e.styles)).call(r, t):
"inherit" !== t && (o = t), (l.fontStyle = !0);
break;
case !l.fontVariant &&
se()((n = e.variants)).call(n, t):
"inherit" !== t && (s = t),
(l.fontStyle = !0),
(l.fontVariant = !0);
break;
case !l.fontWeight &&
se()((c = e.weights)).call(c, t):
"inherit" !== t && (i = t),
(l.fontStyle = !0),
(l.fontVariant = !0),
(l.fontWeight = !0);
break;
case !l.fontSize:
if ("inherit" !== t) {
var d = t.split("/"),
f = (0, u.default)(d, 1);
a = f[0];
}
(l.fontStyle = !0),
(l.fontVariant = !0),
(l.fontWeight = !0),
(l.fontSize = !0);
break;
default:
"inherit" !== t && (A += t);
}
}),
new e(o, s, i, a, A, n)
);
},
},
]
),
e
);
})();
(Pt.styles = "normal|italic|oblique|inherit"),
(Pt.variants = "normal|small-caps|inherit"),
(Pt.weights =
"normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit");
var Ot = (function () {
function e() {
var t =
arguments.length > 0 && void 0 !== arguments[0]
? arguments[0]
: Number.NaN,
r =
arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: Number.NaN,
n =
arguments.length > 2 && void 0 !== arguments[2]
? arguments[2]
: Number.NaN,
o =
arguments.length > 3 && void 0 !== arguments[3]
? arguments[3]
: Number.NaN;
(0, F.default)(this, e),
(this.x1 = t),
(this.y1 = r),
(this.x2 = n),
(this.y2 = o),
this.addPoint(t, r),
this.addPoint(n, o);
}
return (
(0, U.default)(e, [
{
key: "addPoint",
value: function (e, t) {
void 0 !== e &&
((isNaN(this.x1) || isNaN(this.x2)) &&
((this.x1 = e), (this.x2 = e)),
e < this.x1 && (this.x1 = e),
e > this.x2 && (this.x2 = e)),
void 0 !== t &&
((isNaN(this.y1) || isNaN(this.y2)) &&
((this.y1 = t), (this.y2 = t)),
t < this.y1 && (this.y1 = t),
t > this.y2 && (this.y2 = t));
},
},
{
key: "addX",
value: function (e) {
this.addPoint(e, null);
},
},
{
key: "addY",
value: function (e) {
this.addPoint(null, e);
},
},
{
key: "addBoundingBox",
value: function (e) {
if (e) {
var t = e.x1,
r = e.y1,
n = e.x2,
o = e.y2;
this.addPoint(t, r), this.addPoint(n, o);
}
},
},
{
key: "sumCubic",
value: function (e, t, r, n, o) {
return (
Math.pow(1 - e, 3) * t +
3 * Math.pow(1 - e, 2) * e * r +
3 * (1 - e) * Math.pow(e, 2) * n +
Math.pow(e, 3) * o
);
},
},
{
key: "bezierCurveAdd",
value: function (e, t, r, n, o) {
var s = 6 * t - 12 * r + 6 * n,
i = -3 * t + 9 * r - 9 * n + 3 * o,
a = 3 * r - 3 * t;
if (0 !== i) {
var A = Math.pow(s, 2) - 4 * a * i;
if (!(A < 0)) {
var u = (-s + Math.sqrt(A)) / (2 * i);
0 < u &&
u < 1 &&
(e
? this.addX(this.sumCubic(u, t, r, n, o))
: this.addY(this.sumCubic(u, t, r, n, o)));
var c = (-s - Math.sqrt(A)) / (2 * i);
0 < c &&
c < 1 &&
(e
? this.addX(this.sumCubic(c, t, r, n, o))
: this.addY(this.sumCubic(c, t, r, n, o)));
}
} else {
if (0 === s) return;
var l = -a / s;
0 < l &&
l < 1 &&
(e
? this.addX(this.sumCubic(l, t, r, n, o))
: this.addY(this.sumCubic(l, t, r, n, o)));
}
},
},
{
key: "addBezierCurve",
value: function (e, t, r, n, o, s, i, a) {
this.addPoint(e, t),
this.addPoint(i, a),
this.bezierCurveAdd(!0, e, r, o, i),
this.bezierCurveAdd(!1, t, n, s, a);
},
},
{
key: "addQuadraticCurve",
value: function (e, t, r, n, o, s) {
var i = e + (2 / 3) * (r - e),
a = t + (2 / 3) * (n - t),
A = i + (1 / 3) * (o - e),
u = a + (1 / 3) * (s - t);
this.addBezierCurve(e, t, i, A, a, u, o, s);
},
},
{
key: "isPointInBox",
value: function (e, t) {
var r = this.x1,
n = this.y1,
o = this.x2,
s = this.y2;
return r <= e && e <= o && n <= t && t <= s;
},
},
{
key: "x",
get: function () {
return this.x1;
},
},
{
key: "y",
get: function () {
return this.y1;
},
},
{
key: "width",
get: function () {
return this.x2 - this.x1;
},
},
{
key: "height",
get: function () {
return this.y2 - this.y1;
},
},
]),
e
);
})();
var kt = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).modifiedEmSizeStack = !1),
e
);
}
return (
(0, U.default)(o, [
{
key: "calculateOpacity",
value: function () {
for (var e = 1, t = this; t; ) {
var r = t.getStyle("opacity", !1, !0);
r.hasValue(!0) && (e *= r.getNumber()), (t = t.parent);
}
return e;
},
},
{
key: "setContext",
value: function (e) {
var t =
arguments.length > 1 &&
void 0 !== arguments[1] &&
arguments[1];
if (!t) {
var r = this.getStyle("fill"),
n = this.getStyle("fill-opacity"),
o = this.getStyle("stroke"),
s = this.getStyle("stroke-opacity");
if (r.isUrlDefinition()) {
var i = r.getFillStyleDefinition(this, n);
i && (e.fillStyle = i);
} else if (r.hasValue()) {
"currentColor" === r.getString() &&
r.setValue(this.getStyle("color").getColor());
var a = r.getColor();
"inherit" !== a &&
(e.fillStyle = "none" === a ? "rgba(0,0,0,0)" : a);
}
if (n.hasValue()) {
var A = new ht(this.document, "fill", e.fillStyle)
.addOpacity(n)
.getColor();
e.fillStyle = A;
}
if (o.isUrlDefinition()) {
var u = o.getFillStyleDefinition(this, s);
u && (e.strokeStyle = u);
} else if (o.hasValue()) {
"currentColor" === o.getString() &&
o.setValue(this.getStyle("color").getColor());
var c = o.getString();
"inherit" !== c &&
(e.strokeStyle = "none" === c ? "rgba(0,0,0,0)" : c);
}
if (s.hasValue()) {
var l = new ht(this.document, "stroke", e.strokeStyle)
.addOpacity(s)
.getString();
e.strokeStyle = l;
}
var d = this.getStyle("stroke-width");
if (d.hasValue()) {
var f = d.getPixels();
e.lineWidth = f || nt;
}
var h = this.getStyle("stroke-linecap"),
p = this.getStyle("stroke-linejoin"),
m = this.getStyle("stroke-miterlimit"),
g = this.getStyle("paint-order"),
y = this.getStyle("stroke-dasharray"),
v = this.getStyle("stroke-dashoffset");
if (
(h.hasValue() && (e.lineCap = h.getString()),
p.hasValue() && (e.lineJoin = p.getString()),
m.hasValue() && (e.miterLimit = m.getNumber()),
g.hasValue() && (e.paintOrder = g.getValue()),
y.hasValue() && "none" !== y.getString())
) {
var w = Ke(y.getString());
void 0 !== e.setLineDash
? e.setLineDash(w)
: void 0 !== e.webkitLineDash
? (e.webkitLineDash = w)
: void 0 === e.mozDash ||
(1 === w.length && 0 === w[0]) ||
(e.mozDash = w);
var b = v.getPixels();
void 0 !== e.lineDashOffset
? (e.lineDashOffset = b)
: void 0 !== e.webkitLineDashOffset
? (e.webkitLineDashOffset = b)
: void 0 !== e.mozDashOffset && (e.mozDashOffset = b);
}
}
if (((this.modifiedEmSizeStack = !1), void 0 !== e.font)) {
var B = this.getStyle("font"),
j = this.getStyle("font-style"),
_ = this.getStyle("font-variant"),
C = this.getStyle("font-weight"),
x = this.getStyle("font-size"),
E = this.getStyle("font-family"),
N = new Pt(
j.getString(),
_.getString(),
C.getString(),
x.hasValue() ? "".concat(x.getPixels(!0), "px") : "",
E.getString(),
Pt.parse(B.getString(), e.font)
);
j.setValue(N.fontStyle),
_.setValue(N.fontVariant),
C.setValue(N.fontWeight),
x.setValue(N.fontSize),
E.setValue(N.fontFamily),
(e.font = N.toString()),
x.isPixels() &&
((this.document.emSize = x.getPixels()),
(this.modifiedEmSizeStack = !0));
}
t ||
(this.applyEffects(e),
(e.globalAlpha = this.calculateOpacity()));
},
},
{
key: "clearContext",
value: function (e) {
(0, de.default)(
(0, ee.default)(o.prototype),
"clearContext",
this
).call(this, e),
this.modifiedEmSizeStack && this.document.popEmSize();
},
},
]),
o
);
})(St);
var Rt = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
var s;
return (
(0, F.default)(this, o),
((s = n.call(
this,
e,
t,
(this instanceof o ? this.constructor : void 0) === o || r
)).type = "text"),
(s.x = 0),
(s.y = 0),
(s.measureCache = -1),
s
);
}
return (
(0, U.default)(o, [
{
key: "setContext",
value: function (e) {
var t =
arguments.length > 1 &&
void 0 !== arguments[1] &&
arguments[1];
(0, de.default)(
(0, ee.default)(o.prototype),
"setContext",
this
).call(this, e, t);
var r =
this.getStyle("dominant-baseline").getTextBaseline() ||
this.getStyle("alignment-baseline").getTextBaseline();
r && (e.textBaseline = r);
},
},
{
key: "initializeCoordinates",
value: function (e) {
(this.x = this.getAttribute("x").getPixels("x")),
(this.y = this.getAttribute("y").getPixels("y"));
var t = this.getAttribute("dx"),
r = this.getAttribute("dy");
t.hasValue() && (this.x += t.getPixels("x")),
r.hasValue() && (this.y += r.getPixels("y")),
(this.x += this.getAnchorDelta(e, this, 0));
},
},
{
key: "getBoundingBox",
value: function (e) {
var t,
r = this;
if ("text" !== this.type)
return this.getTElementBoundingBox(e);
this.initializeCoordinates(e);
var n = null;
return (
g()((t = this.children)).call(t, function (t, o) {
var s = r.getChildBoundingBox(e, r, r, o);
n ? n.addBoundingBox(s) : (n = s);
}),
n
);
},
},
{
key: "getFontSize",
value: function () {
var e = this.document,
t = this.parent,
r = Pt.parse(e.ctx.font).fontSize;
return t.getStyle("font-size").getNumber(r);
},
},
{
key: "getTElementBoundingBox",
value: function (e) {
var t = this.getFontSize();
return new Ot(
this.x,
this.y - t,
this.x + this.measureText(e),
this.y
);
},
},
{
key: "getGlyph",
value: function (e, t, r) {
var n = t[r],
o = null;
if (e.isArabic) {
var s = t.length,
i = t[r - 1],
a = t[r + 1],
A = "isolated";
(0 === r || " " === i) &&
r < s - 2 &&
" " !== a &&
(A = "terminal"),
r > 0 &&
" " !== i &&
r < s - 2 &&
" " !== a &&
(A = "medial"),
r > 0 &&
" " !== i &&
(r === s - 1 || " " === a) &&
(A = "initial"),
void 0 !== e.glyphs[n] &&
((o = e.glyphs[n][A]) ||
"glyph" !== e.glyphs[n].type ||
(o = e.glyphs[n]));
} else o = e.glyphs[n];
return o || (o = e.missingGlyph), o;
},
},
{
key: "getText",
value: function () {
return "";
},
},
{
key: "getTextFromNode",
value: function (e) {
var t = e || this.node,
r = ae()(t.parentNode.childNodes),
n = le()(r).call(r, t),
o = r.length - 1,
s = Re(t.value || t.text || t.textContent || "");
return 0 === n && (s = Me(s)), n === o && (s = De(s)), s;
},
},
{
key: "renderChildren",
value: function (e) {
var t,
r = this;
if ("text" === this.type) {
this.initializeCoordinates(e),
g()((t = this.children)).call(t, function (t, n) {
r.renderChild(e, r, r, n);
});
var n = this.document.screen.mouse;
n.isWorking() &&
n.checkBoundingBox(this, this.getBoundingBox(e));
} else this.renderTElementChildren(e);
},
},
{
key: "renderTElementChildren",
value: function (e) {
var t = this.document,
r = this.parent,
n = this.getText(),
o = r.getStyle("font-family").getDefinition();
if (o)
for (
var s,
i = o.fontFace.unitsPerEm,
a = Pt.parse(t.ctx.font),
A = r.getStyle("font-size").getNumber(a.fontSize),
u = r.getStyle("font-style").getString(a.fontStyle),
c = A / i,
l = o.isRTL
? ue()((s = n.split("")))
.call(s)
.join("")
: n,
d = Ke(r.getAttribute("dx").getString()),
f = l.length,
h = 0;
h < f;
h++
) {
var p = this.getGlyph(o, l, h);
e.translate(this.x, this.y), e.scale(c, -c);
var m = e.lineWidth;
(e.lineWidth = (e.lineWidth * i) / A),
"italic" === u && e.transform(1, 0, 0.4, 1, 0, 0),
p.render(e),
"italic" === u && e.transform(1, 0, -0.4, 1, 0, 0),
(e.lineWidth = m),
e.scale(1 / c, -1 / c),
e.translate(-this.x, -this.y),
(this.x += (A * (p.horizAdvX || o.horizAdvX)) / i),
void 0 === d[h] || isNaN(d[h]) || (this.x += d[h]);
}
else {
var g = this.x,
y = this.y;
"stroke" === e.paintOrder
? (e.strokeStyle && e.strokeText(n, g, y),
e.fillStyle && e.fillText(n, g, y))
: (e.fillStyle && e.fillText(n, g, y),
e.strokeStyle && e.strokeText(n, g, y));
}
},
},
{
key: "getAnchorDelta",
value: function (e, t, r) {
var n = this.getStyle("text-anchor").getString("start");
if ("start" !== n) {
for (
var o = t.children,
s = o.length,
i = null,
a = 0,
A = r;
A < s &&
((i = o[A]),
!(
(A > r && i.getAttribute("x").hasValue()) ||
i.getAttribute("text-anchor").hasValue()
));
A++
)
a += i.measureTextRecursive(e);
return -1 * ("end" === n ? a : a / 2);
}
return 0;
},
},
{
key: "adjustChildCoordinates",
value: function (e, t, r, n) {
var o = r.children[n];
if ("function" != typeof o.measureText) return o;
e.save(), o.setContext(e, !0);
var s = o.getAttribute("x"),
i = o.getAttribute("y"),
a = o.getAttribute("dx"),
A = o.getAttribute("dy"),
u = o.getAttribute("text-anchor").getString("start");
if (
(0 === n &&
"textNode" !== o.type &&
(s.hasValue() ||
s.setValue(t.getAttribute("x").getValue("0")),
i.hasValue() ||
i.setValue(t.getAttribute("y").getValue("0")),
a.hasValue() ||
a.setValue(t.getAttribute("dx").getValue("0")),
A.hasValue() ||
A.setValue(t.getAttribute("dy").getValue("0"))),
s.hasValue())
) {
if (
((o.x = s.getPixels("x") + t.getAnchorDelta(e, r, n)),
"start" !== u)
) {
var c = o.measureTextRecursive(e);
o.x += -1 * ("end" === u ? c : c / 2);
}
a.hasValue() && (o.x += a.getPixels("x"));
} else {
if ("start" !== u) {
var l = o.measureTextRecursive(e);
t.x += -1 * ("end" === u ? l : l / 2);
}
a.hasValue() && (t.x += a.getPixels("x")), (o.x = t.x);
}
return (
(t.x = o.x + o.measureText(e)),
i.hasValue()
? ((o.y = i.getPixels("y")),
A.hasValue() && (o.y += A.getPixels("y")))
: (A.hasValue() && (t.y += A.getPixels("y")),
(o.y = t.y)),
(t.y = o.y),
o.clearContext(e),
e.restore(),
o
);
},
},
{
key: "getChildBoundingBox",
value: function (e, t, r, n) {
var o,
s = this.adjustChildCoordinates(e, t, r, n);
if ("function" != typeof s.getBoundingBox) return null;
var i = s.getBoundingBox(e);
return i
? (g()((o = s.children)).call(o, function (r, n) {
var o = t.getChildBoundingBox(e, t, s, n);
i.addBoundingBox(o);
}),
i)
: null;
},
},
{
key: "renderChild",
value: function (e, t, r, n) {
var o,
s = this.adjustChildCoordinates(e, t, r, n);
s.render(e),
g()((o = s.children)).call(o, function (r, n) {
t.renderChild(e, t, s, n);
});
},
},
{
key: "measureTextRecursive",
value: function (e) {
var t;
return H()((t = this.children)).call(
t,
function (t, r) {
return t + r.measureTextRecursive(e);
},
this.measureText(e)
);
},
},
{
key: "measureText",
value: function (e) {
var t = this.measureCache;
if (~t) return t;
var r = this.getText(),
n = this.measureTargetText(e, r);
return (this.measureCache = n), n;
},
},
{
key: "measureTargetText",
value: function (e, t) {
if (!t.length) return 0;
var r = this.parent,
n = r.getStyle("font-family").getDefinition();
if (n) {
for (
var o,
s = this.getFontSize(),
i = n.isRTL
? ue()((o = t.split("")))
.call(o)
.join("")
: t,
a = Ke(r.getAttribute("dx").getString()),
A = i.length,
u = 0,
c = 0;
c < A;
c++
)
(u +=
((this.getGlyph(n, i, c).horizAdvX || n.horizAdvX) *
s) /
n.fontFace.unitsPerEm),
void 0 === a[c] || isNaN(a[c]) || (u += a[c]);
return u;
}
if (!e.measureText) return 10 * t.length;
e.save(), this.setContext(e, !0);
var l = e.measureText(t).width;
return this.clearContext(e), e.restore(), l;
},
},
]),
o
);
})(kt);
var Mt = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
var s;
return (
(0, F.default)(this, o),
((s = n.call(
this,
e,
t,
(this instanceof o ? this.constructor : void 0) === o || r
)).type = "tspan"),
(s.text = s.children.length > 0 ? "" : s.getTextFromNode()),
s
);
}
return (
(0, U.default)(o, [
{
key: "getText",
value: function () {
return this.text;
},
},
]),
o
);
})(Rt);
var Dt = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "textNode"),
e
);
}
return o;
})(Mt);
var Kt = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e) {
var t;
return (
(0, F.default)(this, o),
((t = n.call(
this,
e
.replace(/[+-.]\s+/g, "-")
.replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g, "")
)).control = null),
(t.start = null),
(t.current = null),
(t.command = null),
(t.commands = t.commands),
(t.i = -1),
(t.previousCommand = null),
(t.points = []),
(t.angles = []),
t
);
}
return (
(0, U.default)(o, [
{
key: "reset",
value: function () {
(this.i = -1),
(this.command = null),
(this.previousCommand = null),
(this.start = new mt(0, 0)),
(this.control = new mt(0, 0)),
(this.current = new mt(0, 0)),
(this.points = []),
(this.angles = []);
},
},
{
key: "isEnd",
value: function () {
return this.i >= this.commands.length - 1;
},
},
{
key: "next",
value: function () {
var e = this.commands[++this.i];
return (
(this.previousCommand = this.command),
(this.command = e),
e
);
},
},
{
key: "getPoint",
value: function () {
var e =
arguments.length > 0 && void 0 !== arguments[0]
? arguments[0]
: "x",
t =
arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: "y",
r = new mt(this.command[e], this.command[t]);
return this.makeAbsolute(r);
},
},
{
key: "getAsControlPoint",
value: function (e, t) {
var r = this.getPoint(e, t);
return (this.control = r), r;
},
},
{
key: "getAsCurrentPoint",
value: function (e, t) {
var r = this.getPoint(e, t);
return (this.current = r), r;
},
},
{
key: "getReflectedControlPoint",
value: function () {
var e = this.previousCommand.type;
if (
e !== pe.SVGPathData.CURVE_TO &&
e !== pe.SVGPathData.SMOOTH_CURVE_TO &&
e !== pe.SVGPathData.QUAD_TO &&
e !== pe.SVGPathData.SMOOTH_QUAD_TO
)
return this.current;
var t = this.current,
r = t.x,
n = t.y,
o = this.control,
s = o.x,
i = o.y;
return new mt(2 * r - s, 2 * n - i);
},
},
{
key: "makeAbsolute",
value: function (e) {
if (this.command.relative) {
var t = this.current,
r = t.x,
n = t.y;
(e.x += r), (e.y += n);
}
return e;
},
},
{
key: "addMarker",
value: function (e, t, r) {
var n = this.points,
o = this.angles;
r &&
o.length > 0 &&
!o[o.length - 1] &&
(o[o.length - 1] = n[n.length - 1].angleTo(r)),
this.addMarkerAngle(e, t ? t.angleTo(e) : null);
},
},
{
key: "addMarkerAngle",
value: function (e, t) {
this.points.push(e), this.angles.push(t);
},
},
{
key: "getMarkerPoints",
value: function () {
return this.points;
},
},
{
key: "getMarkerAngles",
value: function () {
for (var e = this.angles, t = e.length, r = 0; r < t; r++)
if (!e[r])
for (var n = r + 1; n < t; n++)
if (e[n]) {
e[r] = e[n];
break;
}
return e;
},
},
]),
o
);
})(pe.SVGPathData);
var zt = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
var s;
return (
(0, F.default)(this, o),
((s = n.call(this, e, t, r)).type = "path"),
(s.pathParser = null),
(s.pathParser = new Kt(s.getAttribute("d").getString())),
s
);
}
return (
(0, U.default)(
o,
[
{
key: "path",
value: function (e) {
var t = this.pathParser,
r = new Ot();
for (t.reset(), e && e.beginPath(); !t.isEnd(); )
switch (t.next().type) {
case Kt.MOVE_TO:
this.pathM(e, r);
break;
case Kt.LINE_TO:
this.pathL(e, r);
break;
case Kt.HORIZ_LINE_TO:
this.pathH(e, r);
break;
case Kt.VERT_LINE_TO:
this.pathV(e, r);
break;
case Kt.CURVE_TO:
this.pathC(e, r);
break;
case Kt.SMOOTH_CURVE_TO:
this.pathS(e, r);
break;
case Kt.QUAD_TO:
this.pathQ(e, r);
break;
case Kt.SMOOTH_QUAD_TO:
this.pathT(e, r);
break;
case Kt.ARC:
this.pathA(e, r);
break;
case Kt.CLOSE_PATH:
this.pathZ(e, r);
}
return r;
},
},
{
key: "getBoundingBox",
value: function (e) {
return this.path();
},
},
{
key: "getMarkers",
value: function () {
var e = this.pathParser,
t = e.getMarkerPoints(),
r = e.getMarkerAngles();
return A()(t).call(t, function (e, t) {
return [e, r[t]];
});
},
},
{
key: "renderChildren",
value: function (e) {
this.path(e),
this.document.screen.mouse.checkPath(this, e);
var t = this.getStyle("fill-rule");
"" !== e.fillStyle &&
("inherit" !== t.getString("inherit")
? he()(e).call(e, t.getString())
: he()(e).call(e)),
"" !== e.strokeStyle && e.stroke();
var r = this.getMarkers();
if (r) {
var n = r.length - 1,
o = this.getStyle("marker-start"),
s = this.getStyle("marker-mid"),
i = this.getStyle("marker-end");
if (o.isUrlDefinition()) {
var a = o.getDefinition(),
A = (0, u.default)(r[0], 2),
c = A[0],
l = A[1];
a.render(e, c, l);
}
if (s.isUrlDefinition())
for (var d = s.getDefinition(), f = 1; f < n; f++) {
var h = (0, u.default)(r[f], 2),
p = h[0],
m = h[1];
d.render(e, p, m);
}
if (i.isUrlDefinition()) {
var g = i.getDefinition(),
y = (0, u.default)(r[n], 2),
v = y[0],
w = y[1];
g.render(e, v, w);
}
}
},
},
{
key: "pathM",
value: function (e, t) {
var r = this.pathParser,
n = o.pathM(r).point,
s = n.x,
i = n.y;
r.addMarker(n), t.addPoint(s, i), e && e.moveTo(s, i);
},
},
{
key: "pathL",
value: function (e, t) {
var r = this.pathParser,
n = o.pathL(r),
s = n.current,
i = n.point,
a = i.x,
A = i.y;
r.addMarker(i, s), t.addPoint(a, A), e && e.lineTo(a, A);
},
},
{
key: "pathH",
value: function (e, t) {
var r = this.pathParser,
n = o.pathH(r),
s = n.current,
i = n.point,
a = i.x,
A = i.y;
r.addMarker(i, s), t.addPoint(a, A), e && e.lineTo(a, A);
},
},
{
key: "pathV",
value: function (e, t) {
var r = this.pathParser,
n = o.pathV(r),
s = n.current,
i = n.point,
a = i.x,
A = i.y;
r.addMarker(i, s), t.addPoint(a, A), e && e.lineTo(a, A);
},
},
{
key: "pathC",
value: function (e, t) {
var r = this.pathParser,
n = o.pathC(r),
s = n.current,
i = n.point,
a = n.controlPoint,
A = n.currentPoint;
r.addMarker(A, a, i),
t.addBezierCurve(
s.x,
s.y,
i.x,
i.y,
a.x,
a.y,
A.x,
A.y
),
e && e.bezierCurveTo(i.x, i.y, a.x, a.y, A.x, A.y);
},
},
{
key: "pathS",
value: function (e, t) {
var r = this.pathParser,
n = o.pathS(r),
s = n.current,
i = n.point,
a = n.controlPoint,
A = n.currentPoint;
r.addMarker(A, a, i),
t.addBezierCurve(
s.x,
s.y,
i.x,
i.y,
a.x,
a.y,
A.x,
A.y
),
e && e.bezierCurveTo(i.x, i.y, a.x, a.y, A.x, A.y);
},
},
{
key: "pathQ",
value: function (e, t) {
var r = this.pathParser,
n = o.pathQ(r),
s = n.current,
i = n.controlPoint,
a = n.currentPoint;
r.addMarker(a, i, i),
t.addQuadraticCurve(s.x, s.y, i.x, i.y, a.x, a.y),
e && e.quadraticCurveTo(i.x, i.y, a.x, a.y);
},
},
{
key: "pathT",
value: function (e, t) {
var r = this.pathParser,
n = o.pathT(r),
s = n.current,
i = n.controlPoint,
a = n.currentPoint;
r.addMarker(a, i, i),
t.addQuadraticCurve(s.x, s.y, i.x, i.y, a.x, a.y),
e && e.quadraticCurveTo(i.x, i.y, a.x, a.y);
},
},
{
key: "pathA",
value: function (e, t) {
var r = this.pathParser,
n = o.pathA(r),
s = n.currentPoint,
i = n.rX,
a = n.rY,
A = n.sweepFlag,
u = n.xAxisRotation,
c = n.centp,
l = n.a1,
d = n.ad,
f = 1 - A ? 1 : -1,
h = l + f * (d / 2),
p = new mt(
c.x + i * Math.cos(h),
c.y + a * Math.sin(h)
);
if (
(r.addMarkerAngle(p, h - (f * Math.PI) / 2),
r.addMarkerAngle(s, h - f * Math.PI),
t.addPoint(s.x, s.y),
e && !isNaN(l) && !isNaN(d))
) {
var m = i > a ? i : a,
g = i > a ? 1 : i / a,
y = i > a ? a / i : 1;
e.translate(c.x, c.y),
e.rotate(u),
e.scale(g, y),
e.arc(0, 0, m, l, l + d, Boolean(1 - A)),
e.scale(1 / g, 1 / y),
e.rotate(-u),
e.translate(-c.x, -c.y);
}
},
},
{
key: "pathZ",
value: function (e, t) {
o.pathZ(this.pathParser),
e && t.x1 !== t.x2 && t.y1 !== t.y2 && e.closePath();
},
},
],
[
{
key: "pathM",
value: function (e) {
var t = e.getAsCurrentPoint();
return (e.start = e.current), { point: t };
},
},
{
key: "pathL",
value: function (e) {
return {
current: e.current,
point: e.getAsCurrentPoint(),
};
},
},
{
key: "pathH",
value: function (e) {
var t = e.current,
r = e.command,
n = new mt((r.relative ? t.x : 0) + r.x, t.y);
return (e.current = n), { current: t, point: n };
},
},
{
key: "pathV",
value: function (e) {
var t = e.current,
r = e.command,
n = new mt(t.x, (r.relative ? t.y : 0) + r.y);
return (e.current = n), { current: t, point: n };
},
},
{
key: "pathC",
value: function (e) {
return {
current: e.current,
point: e.getPoint("x1", "y1"),
controlPoint: e.getAsControlPoint("x2", "y2"),
currentPoint: e.getAsCurrentPoint(),
};
},
},
{
key: "pathS",
value: function (e) {
return {
current: e.current,
point: e.getReflectedControlPoint(),
controlPoint: e.getAsControlPoint("x2", "y2"),
currentPoint: e.getAsCurrentPoint(),
};
},
},
{
key: "pathQ",
value: function (e) {
return {
current: e.current,
controlPoint: e.getAsControlPoint("x1", "y1"),
currentPoint: e.getAsCurrentPoint(),
};
},
},
{
key: "pathT",
value: function (e) {
var t = e.current,
r = e.getReflectedControlPoint();
return (
(e.control = r),
{
current: t,
controlPoint: r,
currentPoint: e.getAsCurrentPoint(),
}
);
},
},
{
key: "pathA",
value: function (e) {
var t = e.current,
r = e.command,
n = r.rX,
o = r.rY,
s = r.xRot,
i = r.lArcFlag,
a = r.sweepFlag,
A = s * (Math.PI / 180),
u = e.getAsCurrentPoint(),
c = new mt(
(Math.cos(A) * (t.x - u.x)) / 2 +
(Math.sin(A) * (t.y - u.y)) / 2,
(-Math.sin(A) * (t.x - u.x)) / 2 +
(Math.cos(A) * (t.y - u.y)) / 2
),
l =
Math.pow(c.x, 2) / Math.pow(n, 2) +
Math.pow(c.y, 2) / Math.pow(o, 2);
l > 1 && ((n *= Math.sqrt(l)), (o *= Math.sqrt(l)));
var d =
(i === a ? -1 : 1) *
Math.sqrt(
(Math.pow(n, 2) * Math.pow(o, 2) -
Math.pow(n, 2) * Math.pow(c.y, 2) -
Math.pow(o, 2) * Math.pow(c.x, 2)) /
(Math.pow(n, 2) * Math.pow(c.y, 2) +
Math.pow(o, 2) * Math.pow(c.x, 2))
);
isNaN(d) && (d = 0);
var f = new mt((d * n * c.y) / o, (d * -o * c.x) / n),
h = new mt(
(t.x + u.x) / 2 +
Math.cos(A) * f.x -
Math.sin(A) * f.y,
(t.y + u.y) / 2 +
Math.sin(A) * f.x +
Math.cos(A) * f.y
),
p = it([1, 0], [(c.x - f.x) / n, (c.y - f.y) / o]),
m = [(c.x - f.x) / n, (c.y - f.y) / o],
g = [(-c.x - f.x) / n, (-c.y - f.y) / o],
y = it(m, g);
return (
st(m, g) <= -1 && (y = Math.PI),
st(m, g) >= 1 && (y = 0),
{
currentPoint: u,
rX: n,
rY: o,
sweepFlag: a,
xAxisRotation: A,
centp: h,
a1: p,
ad: y,
}
);
},
},
{
key: "pathZ",
value: function (e) {
e.current = e.start;
},
},
]
),
o
);
})(kt);
var Vt = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "svg"),
(e.root = !1),
e
);
}
return (
(0, U.default)(o, [
{
key: "setContext",
value: function (e) {
var t = this.document,
r = t.screen,
n = t.window,
s = e.canvas;
if (
(r.setDefaults(e),
s.style &&
void 0 !== e.font &&
n &&
void 0 !== n.getComputedStyle)
) {
e.font = n.getComputedStyle(s).getPropertyValue("font");
var i = new ht(t, "fontSize", Pt.parse(e.font).fontSize);
i.hasValue() &&
((t.rootEmSize = i.getPixels("y")),
(t.emSize = t.rootEmSize));
}
this.getAttribute("x").hasValue() ||
this.getAttribute("x", !0).setValue(0),
this.getAttribute("y").hasValue() ||
this.getAttribute("y", !0).setValue(0);
var a = r.viewPort,
A = a.width,
u = a.height;
this.getStyle("width").hasValue() ||
this.getStyle("width", !0).setValue("100%"),
this.getStyle("height").hasValue() ||
this.getStyle("height", !0).setValue("100%"),
this.getStyle("color").hasValue() ||
this.getStyle("color", !0).setValue("black");
var c = this.getAttribute("refX"),
l = this.getAttribute("refY"),
d = this.getAttribute("viewBox"),
f = d.hasValue() ? Ke(d.getString()) : null,
h =
!this.root &&
"visible" !==
this.getStyle("overflow").getValue("hidden"),
p = 0,
m = 0,
g = 0,
y = 0;
f && ((p = f[0]), (m = f[1])),
this.root ||
((A = this.getStyle("width").getPixels("x")),
(u = this.getStyle("height").getPixels("y")),
"marker" === this.type &&
((g = p), (y = m), (p = 0), (m = 0))),
r.viewPort.setCurrent(A, u),
this.node &&
this.getStyle("transform", !1, !0).hasValue() &&
!this.getStyle("transform-origin", !1, !0).hasValue() &&
this.getStyle("transform-origin", !0, !0).setValue(
"50% 50%"
),
(0, de.default)(
(0, ee.default)(o.prototype),
"setContext",
this
).call(this, e),
e.translate(
this.getAttribute("x").getPixels("x"),
this.getAttribute("y").getPixels("y")
),
f && ((A = f[2]), (u = f[3])),
t.setViewBox({
ctx: e,
aspectRatio: this.getAttribute(
"preserveAspectRatio"
).getString(),
width: r.viewPort.width,
desiredWidth: A,
height: r.viewPort.height,
desiredHeight: u,
minX: p,
minY: m,
refX: c.getValue(),
refY: l.getValue(),
clip: h,
clipX: g,
clipY: y,
}),
f &&
(r.viewPort.removeCurrent(),
r.viewPort.setCurrent(A, u));
},
},
{
key: "clearContext",
value: function (e) {
(0, de.default)(
(0, ee.default)(o.prototype),
"clearContext",
this
).call(this, e),
this.document.screen.viewPort.removeCurrent();
},
},
{
key: "resize",
value: function (e) {
var t,
r =
arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: e,
n =
arguments.length > 2 &&
void 0 !== arguments[2] &&
arguments[2],
o = this.getAttribute("width", !0),
s = this.getAttribute("height", !0),
i = this.getAttribute("viewBox"),
a = this.getAttribute("style"),
A = o.getNumber(0),
u = s.getNumber(0);
if (n)
if ("string" == typeof n)
this.getAttribute("preserveAspectRatio", !0).setValue(
n
);
else {
var c = this.getAttribute("preserveAspectRatio");
c.hasValue() &&
c.setValue(
c.getString().replace(/^\s*(\S.*\S)\s*$/, "$1")
);
}
if (
(o.setValue(e),
s.setValue(r),
i.hasValue() ||
i.setValue(
L()((t = "0 0 ".concat(A || e, " "))).call(t, u || r)
),
a.hasValue())
) {
var l = this.getStyle("width"),
d = this.getStyle("height");
l.hasValue() && l.setValue("".concat(e, "px")),
d.hasValue() && d.setValue("".concat(r, "px"));
}
},
},
]),
o
);
})(kt);
var qt = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "rect"),
e
);
}
return (
(0, U.default)(o, [
{
key: "path",
value: function (e) {
var t = this.getAttribute("x").getPixels("x"),
r = this.getAttribute("y").getPixels("y"),
n = this.getStyle("width", !1, !0).getPixels("x"),
o = this.getStyle("height", !1, !0).getPixels("y"),
s = this.getAttribute("rx"),
i = this.getAttribute("ry"),
a = s.getPixels("x"),
A = i.getPixels("y");
if (
(s.hasValue() && !i.hasValue() && (A = a),
i.hasValue() && !s.hasValue() && (a = A),
(a = Math.min(a, n / 2)),
(A = Math.min(A, o / 2)),
e)
) {
var u = ((Math.sqrt(2) - 1) / 3) * 4;
e.beginPath(),
o > 0 &&
n > 0 &&
(e.moveTo(t + a, r),
e.lineTo(t + n - a, r),
e.bezierCurveTo(
t + n - a + u * a,
r,
t + n,
r + A - u * A,
t + n,
r + A
),
e.lineTo(t + n, r + o - A),
e.bezierCurveTo(
t + n,
r + o - A + u * A,
t + n - a + u * a,
r + o,
t + n - a,
r + o
),
e.lineTo(t + a, r + o),
e.bezierCurveTo(
t + a - u * a,
r + o,
t,
r + o - A + u * A,
t,
r + o - A
),
e.lineTo(t, r + A),
e.bezierCurveTo(
t,
r + A - u * A,
t + a - u * a,
r,
t + a,
r
),
e.closePath());
}
return new Ot(t, r, t + n, r + o);
},
},
{
key: "getMarkers",
value: function () {
return null;
},
},
]),
o
);
})(zt);
var Gt = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "circle"),
e
);
}
return (
(0, U.default)(o, [
{
key: "path",
value: function (e) {
var t = this.getAttribute("cx").getPixels("x"),
r = this.getAttribute("cy").getPixels("y"),
n = this.getAttribute("r").getPixels();
return (
e &&
n > 0 &&
(e.beginPath(),
e.arc(t, r, n, 0, 2 * Math.PI, !1),
e.closePath()),
new Ot(t - n, r - n, t + n, r + n)
);
},
},
{
key: "getMarkers",
value: function () {
return null;
},
},
]),
o
);
})(zt);
var Xt = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "ellipse"),
e
);
}
return (
(0, U.default)(o, [
{
key: "path",
value: function (e) {
var t = ((Math.sqrt(2) - 1) / 3) * 4,
r = this.getAttribute("rx").getPixels("x"),
n = this.getAttribute("ry").getPixels("y"),
o = this.getAttribute("cx").getPixels("x"),
s = this.getAttribute("cy").getPixels("y");
return (
e &&
r > 0 &&
n > 0 &&
(e.beginPath(),
e.moveTo(o + r, s),
e.bezierCurveTo(
o + r,
s + t * n,
o + t * r,
s + n,
o,
s + n
),
e.bezierCurveTo(
o - t * r,
s + n,
o - r,
s + t * n,
o - r,
s
),
e.bezierCurveTo(
o - r,
s - t * n,
o - t * r,
s - n,
o,
s - n
),
e.bezierCurveTo(
o + t * r,
s - n,
o + r,
s - t * n,
o + r,
s
),
e.closePath()),
new Ot(o - r, s - n, o + r, s + n)
);
},
},
{
key: "getMarkers",
value: function () {
return null;
},
},
]),
o
);
})(zt);
var Wt = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "line"),
e
);
}
return (
(0, U.default)(o, [
{
key: "getPoints",
value: function () {
return [
new mt(
this.getAttribute("x1").getPixels("x"),
this.getAttribute("y1").getPixels("y")
),
new mt(
this.getAttribute("x2").getPixels("x"),
this.getAttribute("y2").getPixels("y")
),
];
},
},
{
key: "path",
value: function (e) {
var t = this.getPoints(),
r = (0, u.default)(t, 2),
n = r[0],
o = n.x,
s = n.y,
i = r[1],
a = i.x,
A = i.y;
return (
e && (e.beginPath(), e.moveTo(o, s), e.lineTo(a, A)),
new Ot(o, s, a, A)
);
},
},
{
key: "getMarkers",
value: function () {
var e = this.getPoints(),
t = (0, u.default)(e, 2),
r = t[0],
n = t[1],
o = r.angleTo(n);
return [
[r, o],
[n, o],
];
},
},
]),
o
);
})(zt);
var Jt = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
var s;
return (
(0, F.default)(this, o),
((s = n.call(this, e, t, r)).type = "polyline"),
(s.points = []),
(s.points = mt.parsePath(s.getAttribute("points").getString())),
s
);
}
return (
(0, U.default)(o, [
{
key: "path",
value: function (e) {
var t = this.points,
r = (0, u.default)(t, 1)[0],
n = r.x,
o = r.y,
s = new Ot(n, o);
return (
e && (e.beginPath(), e.moveTo(n, o)),
g()(t).call(t, function (t) {
var r = t.x,
n = t.y;
s.addPoint(r, n), e && e.lineTo(r, n);
}),
s
);
},
},
{
key: "getMarkers",
value: function () {
var e = this.points,
t = e.length - 1,
r = [];
return (
g()(e).call(e, function (n, o) {
o !== t && r.push([n, n.angleTo(e[o + 1])]);
}),
r.length > 0 &&
r.push([e[e.length - 1], r[r.length - 1][1]]),
r
);
},
},
]),
o
);
})(zt);
var Yt = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "polygon"),
e
);
}
return (
(0, U.default)(o, [
{
key: "path",
value: function (e) {
var t = (0, de.default)(
(0, ee.default)(o.prototype),
"path",
this
).call(this, e),
r = (0, u.default)(this.points, 1)[0],
n = r.x,
s = r.y;
return e && (e.lineTo(n, s), e.closePath()), t;
},
},
]),
o
);
})(Jt);
var Zt = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "pattern"),
e
);
}
return (
(0, U.default)(o, [
{
key: "createPattern",
value: function (e, t, r) {
var n = this.getStyle("width").getPixels("x", !0),
o = this.getStyle("height").getPixels("y", !0),
s = new Vt(this.document, null);
(s.attributes.viewBox = new ht(
this.document,
"viewBox",
this.getAttribute("viewBox").getValue()
)),
(s.attributes.width = new ht(
this.document,
"width",
"".concat(n, "px")
)),
(s.attributes.height = new ht(
this.document,
"height",
"".concat(o, "px")
)),
(s.attributes.transform = new ht(
this.document,
"transform",
this.getAttribute("patternTransform").getValue()
)),
(s.children = this.children);
var i = this.document.createCanvas(n, o),
a = i.getContext("2d"),
A = this.getAttribute("x"),
u = this.getAttribute("y");
A.hasValue() &&
u.hasValue() &&
a.translate(A.getPixels("x", !0), u.getPixels("y", !0)),
r.hasValue()
? (this.styles["fill-opacity"] = r)
: ge()(this.styles, "fill-opacity");
for (var c = -1; c <= 1; c++)
for (var l = -1; l <= 1; l++)
a.save(),
(s.attributes.x = new ht(
this.document,
"x",
c * i.width
)),
(s.attributes.y = new ht(
this.document,
"y",
l * i.height
)),
s.render(a),
a.restore();
return e.createPattern(i, "repeat");
},
},
]),
o
);
})(St);
var $t = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "marker"),
e
);
}
return (
(0, U.default)(o, [
{
key: "render",
value: function (e, t, r) {
if (t) {
var n = t.x,
o = t.y,
s = this.getAttribute("orient").getValue("auto"),
i =
this.getAttribute("markerUnits").getValue(
"strokeWidth"
);
e.translate(n, o),
"auto" === s && e.rotate(r),
"strokeWidth" === i &&
e.scale(e.lineWidth, e.lineWidth),
e.save();
var a = new Vt(this.document, null);
(a.type = this.type),
(a.attributes.viewBox = new ht(
this.document,
"viewBox",
this.getAttribute("viewBox").getValue()
)),
(a.attributes.refX = new ht(
this.document,
"refX",
this.getAttribute("refX").getValue()
)),
(a.attributes.refY = new ht(
this.document,
"refY",
this.getAttribute("refY").getValue()
)),
(a.attributes.width = new ht(
this.document,
"width",
this.getAttribute("markerWidth").getValue()
)),
(a.attributes.height = new ht(
this.document,
"height",
this.getAttribute("markerHeight").getValue()
)),
(a.attributes.overflow = new ht(
this.document,
"overflow",
this.getAttribute("overflow").getValue()
)),
(a.attributes.fill = new ht(
this.document,
"fill",
this.getAttribute("fill").getColor("black")
)),
(a.attributes.stroke = new ht(
this.document,
"stroke",
this.getAttribute("stroke").getValue("none")
)),
(a.children = this.children),
a.render(e),
e.restore(),
"strokeWidth" === i &&
e.scale(1 / e.lineWidth, 1 / e.lineWidth),
"auto" === s && e.rotate(-r),
e.translate(-n, -o);
}
},
},
]),
o
);
})(St);
var er = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "defs"),
e
);
}
return (
(0, U.default)(o, [{ key: "render", value: function () {} }]), o
);
})(St);
var tr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "g"),
e
);
}
return (
(0, U.default)(o, [
{
key: "getBoundingBox",
value: function (e) {
var t,
r = new Ot();
return (
g()((t = this.children)).call(t, function (t) {
r.addBoundingBox(t.getBoundingBox(e));
}),
r
);
},
},
]),
o
);
})(kt);
var rr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
var s;
(0, F.default)(this, o),
((s = n.call(this, e, t, r)).attributesToInherit = [
"gradientUnits",
]),
(s.stops = []);
var i = (0, ye.default)(s),
a = i.stops,
A = i.children;
return (
g()(A).call(A, function (e) {
"stop" === e.type && a.push(e);
}),
s
);
}
return (
(0, U.default)(o, [
{
key: "getGradientUnits",
value: function () {
return this.getAttribute("gradientUnits").getString(
"objectBoundingBox"
);
},
},
{
key: "createGradient",
value: function (e, t, r) {
var n = this,
o = this;
this.getHrefAttribute().hasValue() &&
((o = this.getHrefAttribute().getDefinition()),
this.inheritStopContainer(o));
var s = o.stops,
i = this.getGradient(e, t);
if (!i)
return this.addParentOpacity(r, s[s.length - 1].color);
if (
(g()(s).call(s, function (e) {
i.addColorStop(
e.offset,
n.addParentOpacity(r, e.color)
);
}),
this.getAttribute("gradientTransform").hasValue())
) {
var a = this.document,
A = a.screen,
c = A.MAX_VIRTUAL_PIXELS,
l = A.viewPort,
d = (0, u.default)(l.viewPorts, 1)[0],
f = new qt(a, null);
(f.attributes.x = new ht(a, "x", -c / 3)),
(f.attributes.y = new ht(a, "y", -c / 3)),
(f.attributes.width = new ht(a, "width", c)),
(f.attributes.height = new ht(a, "height", c));
var h = new tr(a, null);
(h.attributes.transform = new ht(
a,
"transform",
this.getAttribute("gradientTransform").getValue()
)),
(h.children = [f]);
var p = new Vt(a, null);
(p.attributes.x = new ht(a, "x", 0)),
(p.attributes.y = new ht(a, "y", 0)),
(p.attributes.width = new ht(a, "width", d.width)),
(p.attributes.height = new ht(a, "height", d.height)),
(p.children = [h]);
var m = a.createCanvas(d.width, d.height),
y = m.getContext("2d");
return (
(y.fillStyle = i),
p.render(y),
y.createPattern(m, "no-repeat")
);
}
return i;
},
},
{
key: "inheritStopContainer",
value: function (e) {
var t,
r = this;
g()((t = this.attributesToInherit)).call(t, function (t) {
!r.getAttribute(t).hasValue() &&
e.getAttribute(t).hasValue() &&
r
.getAttribute(t, !0)
.setValue(e.getAttribute(t).getValue());
});
},
},
{
key: "addParentOpacity",
value: function (e, t) {
return e.hasValue()
? new ht(this.document, "color", t)
.addOpacity(e)
.getColor()
: t;
},
},
]),
o
);
})(St);
var nr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
var s;
return (
(0, F.default)(this, o),
((s = n.call(this, e, t, r)).type = "linearGradient"),
s.attributesToInherit.push("x1", "y1", "x2", "y2"),
s
);
}
return (
(0, U.default)(o, [
{
key: "getGradient",
value: function (e, t) {
var r = "objectBoundingBox" === this.getGradientUnits(),
n = r ? t.getBoundingBox(e) : null;
if (r && !n) return null;
this.getAttribute("x1").hasValue() ||
this.getAttribute("y1").hasValue() ||
this.getAttribute("x2").hasValue() ||
this.getAttribute("y2").hasValue() ||
(this.getAttribute("x1", !0).setValue(0),
this.getAttribute("y1", !0).setValue(0),
this.getAttribute("x2", !0).setValue(1),
this.getAttribute("y2", !0).setValue(0));
var o = r
? n.x + n.width * this.getAttribute("x1").getNumber()
: this.getAttribute("x1").getPixels("x"),
s = r
? n.y + n.height * this.getAttribute("y1").getNumber()
: this.getAttribute("y1").getPixels("y"),
i = r
? n.x + n.width * this.getAttribute("x2").getNumber()
: this.getAttribute("x2").getPixels("x"),
a = r
? n.y + n.height * this.getAttribute("y2").getNumber()
: this.getAttribute("y2").getPixels("y");
return o === i && s === a
? null
: e.createLinearGradient(o, s, i, a);
},
},
]),
o
);
})(rr);
var or = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
var s;
return (
(0, F.default)(this, o),
((s = n.call(this, e, t, r)).type = "radialGradient"),
s.attributesToInherit.push("cx", "cy", "r", "fx", "fy", "fr"),
s
);
}
return (
(0, U.default)(o, [
{
key: "getGradient",
value: function (e, t) {
var r = "objectBoundingBox" === this.getGradientUnits(),
n = t.getBoundingBox(e);
if (r && !n) return null;
this.getAttribute("cx").hasValue() ||
this.getAttribute("cx", !0).setValue("50%"),
this.getAttribute("cy").hasValue() ||
this.getAttribute("cy", !0).setValue("50%"),
this.getAttribute("r").hasValue() ||
this.getAttribute("r", !0).setValue("50%");
var o = r
? n.x + n.width * this.getAttribute("cx").getNumber()
: this.getAttribute("cx").getPixels("x"),
s = r
? n.y + n.height * this.getAttribute("cy").getNumber()
: this.getAttribute("cy").getPixels("y"),
i = o,
a = s;
this.getAttribute("fx").hasValue() &&
(i = r
? n.x + n.width * this.getAttribute("fx").getNumber()
: this.getAttribute("fx").getPixels("x")),
this.getAttribute("fy").hasValue() &&
(a = r
? n.y + n.height * this.getAttribute("fy").getNumber()
: this.getAttribute("fy").getPixels("y"));
var A = r
? ((n.width + n.height) / 2) *
this.getAttribute("r").getNumber()
: this.getAttribute("r").getPixels(),
u = this.getAttribute("fr").getPixels();
return e.createRadialGradient(i, a, u, o, s, A);
},
},
]),
o
);
})(rr);
var sr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
var s;
(0, F.default)(this, o),
((s = n.call(this, e, t, r)).type = "stop");
var i = Math.max(
0,
Math.min(1, s.getAttribute("offset").getNumber())
),
a = s.getStyle("stop-opacity"),
A = s.getStyle("stop-color", !0);
return (
"" === A.getString() && A.setValue("#000"),
a.hasValue() && (A = A.addOpacity(a)),
(s.offset = i),
(s.color = A.getColor()),
s
);
}
return o;
})(St);
var ir = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
var s;
return (
(0, F.default)(this, o),
((s = n.call(this, e, t, r)).type = "animate"),
(s.duration = 0),
(s.initialValue = null),
(s.initialUnits = ""),
(s.removed = !1),
(s.frozen = !1),
e.screen.animations.push((0, ye.default)(s)),
(s.begin = s.getAttribute("begin").getMilliseconds()),
(s.maxDuration =
s.begin + s.getAttribute("dur").getMilliseconds()),
(s.from = s.getAttribute("from")),
(s.to = s.getAttribute("to")),
(s.values = s.getAttribute("values")),
we()(s).hasValue() &&
we()(s).setValue(we()(s).getString().split(";")),
s
);
}
return (
(0, U.default)(o, [
{
key: "getProperty",
value: function () {
var e = this.getAttribute("attributeType").getString(),
t = this.getAttribute("attributeName").getString();
return "CSS" === e
? this.parent.getStyle(t, !0)
: this.parent.getAttribute(t, !0);
},
},
{
key: "calcValue",
value: function () {
var e,
t = this.initialUnits,
r = this.getProgress(),
n = r.progress,
o = r.from,
s = r.to,
i = o.getNumber() + (s.getNumber() - o.getNumber()) * n;
return (
"%" === t && (i *= 100),
L()((e = "".concat(i))).call(e, t)
);
},
},
{
key: "update",
value: function (e) {
var t = this.parent,
r = this.getProperty();
if (
(this.initialValue ||
((this.initialValue = r.getString()),
(this.initialUnits = r.getUnits())),
this.duration > this.maxDuration)
) {
var n = this.getAttribute("fill").getString("remove");
if (
"indefinite" ===
this.getAttribute("repeatCount").getString() ||
"indefinite" ===
this.getAttribute("repeatDur").getString()
)
this.duration = 0;
else if ("freeze" !== n || this.frozen) {
if ("remove" === n && !this.removed)
return (
(this.removed = !0),
r.setValue(
t.animationFrozen
? t.animationFrozenValue
: this.initialValue
),
!0
);
} else
(this.frozen = !0),
(t.animationFrozen = !0),
(t.animationFrozenValue = r.getString());
return !1;
}
this.duration += e;
var o = !1;
if (this.begin < this.duration) {
var s = this.calcValue(),
i = this.getAttribute("type");
if (i.hasValue()) {
var a,
A = i.getString();
s = L()((a = "".concat(A, "("))).call(a, s, ")");
}
r.setValue(s), (o = !0);
}
return o;
},
},
{
key: "getProgress",
value: function () {
var e = this.document,
t = we()(this),
r = {
progress:
(this.duration - this.begin) /
(this.maxDuration - this.begin),
};
if (t.hasValue()) {
var n = r.progress * (t.getValue().length - 1),
o = Math.floor(n),
s = Math.ceil(n);
(r.from = new ht(e, "from", i()(t.getValue()[o]))),
(r.to = new ht(e, "to", i()(t.getValue()[s]))),
(r.progress = (n - o) / (s - o));
} else (r.from = this.from), (r.to = this.to);
return r;
},
},
]),
o
);
})(St);
var ar = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "animateColor"),
e
);
}
return (
(0, U.default)(o, [
{
key: "calcValue",
value: function () {
var e = this.getProgress(),
t = e.progress,
r = e.from,
n = e.to,
o = new (W())(r.getColor()),
s = new (W())(n.getColor());
if (o.ok && s.ok) {
var i,
a,
A = o.r + (s.r - o.r) * t,
u = o.g + (s.g - o.g) * t,
c = o.b + (s.b - o.b) * t;
return L()(
(i = L()((a = "rgb(".concat(Be()(A, 10), ", "))).call(
a,
Be()(u, 10),
", "
))
).call(i, Be()(c, 10), ")");
}
return this.getAttribute("from").getColor();
},
},
]),
o
);
})(ir);
var Ar = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "animateTransform"),
e
);
}
return (
(0, U.default)(o, [
{
key: "calcValue",
value: function () {
var e = this.getProgress(),
t = e.progress,
r = e.from,
n = e.to,
o = Ke(r.getString()),
s = Ke(n.getString());
return A()(o)
.call(o, function (e, r) {
return e + (s[r] - e) * t;
})
.join(" ");
},
},
]),
o
);
})(ir);
function ur(e, t) {
(null == t || t > e.length) && (t = e.length);
for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
return n;
}
var cr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
var s;
(0, F.default)(this, o),
((s = n.call(this, e, t, r)).type = "font"),
(s.glyphs = {}),
(s.horizAdvX = s.getAttribute("horiz-adv-x").getNumber());
var i,
a = e.definitions,
A = (function (e, t) {
var r;
if (void 0 === Fe() || null == Ne()(e)) {
if (
xe()(e) ||
(r = (function (e, t) {
var r;
if (e) {
if ("string" == typeof e) return ur(e, t);
var n = Se()(
(r = Object.prototype.toString.call(e))
).call(r, 8, -1);
return (
"Object" === n &&
e.constructor &&
(n = e.constructor.name),
"Map" === n || "Set" === n
? ae()(e)
: "Arguments" === n ||
/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(
n
)
? ur(e, t)
: void 0
);
}
})(e)) ||
(t && e && "number" == typeof e.length)
) {
r && (e = r);
var n = 0,
o = function () {};
return {
s: o,
n: function () {
return n >= e.length
? { done: !0 }
: { done: !1, value: e[n++] };
},
e: function (e) {
throw e;
},
f: o,
};
}
throw new TypeError(
"Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
);
}
var s,
i = !0,
a = !1;
return {
s: function () {
r = _e()(e);
},
n: function () {
var e = r.next();
return (i = e.done), e;
},
e: function (e) {
(a = !0), (s = e);
},
f: function () {
try {
i || null == r.return || r.return();
} finally {
if (a) throw s;
}
},
};
})((0, ye.default)(s).children);
try {
for (A.s(); !(i = A.n()).done; ) {
var u = i.value;
switch (u.type) {
case "font-face":
s.fontFace = u;
var c = u.getStyle("font-family");
c.hasValue() && (a[c.getString()] = (0, ye.default)(s));
break;
case "missing-glyph":
s.missingGlyph = u;
break;
case "glyph":
var l = u;
l.arabicForm
? ((s.isRTL = !0),
(s.isArabic = !0),
void 0 === s.glyphs[l.unicode] &&
(s.glyphs[l.unicode] = {}),
(s.glyphs[l.unicode][l.arabicForm] = l))
: (s.glyphs[l.unicode] = l);
}
}
} catch (e) {
A.e(e);
} finally {
A.f();
}
return s;
}
return (
(0, U.default)(o, [{ key: "render", value: function () {} }]), o
);
})(St);
var lr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
var s;
return (
(0, F.default)(this, o),
((s = n.call(this, e, t, r)).type = "font-face"),
(s.ascent = s.getAttribute("ascent").getNumber()),
(s.descent = s.getAttribute("descent").getNumber()),
(s.unitsPerEm = s.getAttribute("units-per-em").getNumber()),
s
);
}
return o;
})(St);
var dr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "missing-glyph"),
(e.horizAdvX = 0),
e
);
}
return o;
})(zt);
var fr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
var s;
return (
(0, F.default)(this, o),
((s = n.call(this, e, t, r)).type = "glyph"),
(s.horizAdvX = s.getAttribute("horiz-adv-x").getNumber()),
(s.unicode = s.getAttribute("unicode").getString()),
(s.arabicForm = s.getAttribute("arabic-form").getString()),
s
);
}
return o;
})(zt);
var hr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "tref"),
e
);
}
return (
(0, U.default)(o, [
{
key: "getText",
value: function () {
var e = this.getHrefAttribute().getDefinition();
if (e) {
var t = e.children[0];
if (t) return t.getText();
}
return "";
},
},
]),
o
);
})(Rt);
var pr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
var s, i;
(0, F.default)(this, o), ((i = n.call(this, e, t, r)).type = "a");
var a = t.childNodes,
A = a[0],
u =
a.length > 0 &&
k()((s = ae()(a))).call(s, function (e) {
return 3 === e.nodeType;
});
return (
(i.hasText = u), (i.text = u ? i.getTextFromNode(A) : ""), i
);
}
return (
(0, U.default)(o, [
{
key: "getText",
value: function () {
return this.text;
},
},
{
key: "renderChildren",
value: function (e) {
if (this.hasText) {
(0, de.default)(
(0, ee.default)(o.prototype),
"renderChildren",
this
).call(this, e);
var t = this.document,
r = this.x,
n = this.y,
s = t.screen.mouse,
i = new ht(
t,
"fontSize",
Pt.parse(t.ctx.font).fontSize
);
s.isWorking() &&
s.checkBoundingBox(
this,
new Ot(
r,
n - i.getPixels("y"),
r + this.measureText(e),
n
)
);
} else if (this.children.length > 0) {
var a = new tr(this.document, null);
(a.children = this.children),
(a.parent = this),
a.render(e);
}
},
},
{
key: "onClick",
value: function () {
var e = this.document.window;
e && e.open(this.getHrefAttribute().getString());
},
},
{
key: "onMouseMove",
value: function () {
this.document.ctx.canvas.style.cursor = "pointer";
},
},
]),
o
);
})(Rt);
function mr(e, t) {
(null == t || t > e.length) && (t = e.length);
for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
return n;
}
function gr(e, t) {
var r = C()(e);
if (j()) {
var n = j()(e);
t &&
(n = b()(n).call(n, function (t) {
return v()(e, t).enumerable;
})),
r.push.apply(r, n);
}
return r;
}
function yr(e) {
for (var t = 1; t < arguments.length; t++) {
var r,
n = null != arguments[t] ? arguments[t] : {};
if (t % 2)
g()((r = gr(Object(n), !0))).call(r, function (t) {
(0, Q.default)(e, t, n[t]);
});
else if (p()) f()(e, p()(n));
else {
var o;
g()((o = gr(Object(n)))).call(o, function (t) {
l()(e, t, v()(n, t));
});
}
}
return e;
}
var vr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
var s;
(0, F.default)(this, o),
((s = n.call(this, e, t, r)).type = "textPath"),
(s.textWidth = 0),
(s.textHeight = 0),
(s.pathLength = -1),
(s.glyphInfo = null),
(s.letterSpacingCache = []),
(s.measuresCache = new (Te())([["", 0]]));
var i = s.getHrefAttribute().getDefinition();
return (
(s.text = s.getTextFromNode()),
(s.dataArray = s.parsePathData(i)),
s
);
}
return (
(0, U.default)(o, [
{
key: "getText",
value: function () {
return this.text;
},
},
{
key: "path",
value: function (e) {
var t = this.dataArray;
e && e.beginPath(),
g()(t).call(t, function (t) {
var r = t.type,
n = t.points;
switch (r) {
case Kt.LINE_TO:
e && e.lineTo(n[0], n[1]);
break;
case Kt.MOVE_TO:
e && e.moveTo(n[0], n[1]);
break;
case Kt.CURVE_TO:
e &&
e.bezierCurveTo(
n[0],
n[1],
n[2],
n[3],
n[4],
n[5]
);
break;
case Kt.QUAD_TO:
e && e.quadraticCurveTo(n[0], n[1], n[2], n[3]);
break;
case Kt.ARC:
var o = (0, u.default)(n, 8),
s = o[0],
i = o[1],
a = o[2],
A = o[3],
c = o[4],
l = o[5],
d = o[6],
f = o[7],
h = a > A ? a : A,
p = a > A ? 1 : a / A,
m = a > A ? A / a : 1;
e &&
(e.translate(s, i),
e.rotate(d),
e.scale(p, m),
e.arc(0, 0, h, c, c + l, Boolean(1 - f)),
e.scale(1 / p, 1 / m),
e.rotate(-d),
e.translate(-s, -i));
break;
case Kt.CLOSE_PATH:
e && e.closePath();
}
});
},
},
{
key: "renderChildren",
value: function (e) {
this.setTextData(e), e.save();
var t = this.parent.getStyle("text-decoration").getString(),
r = this.getFontSize(),
n = this.glyphInfo,
o = e.fillStyle;
"underline" === t && e.beginPath(),
g()(n).call(n, function (n, o) {
var s = n.p0,
i = n.p1,
a = n.rotation,
A = n.text;
e.save(),
e.translate(s.x, s.y),
e.rotate(a),
e.fillStyle && e.fillText(A, 0, 0),
e.strokeStyle && e.strokeText(A, 0, 0),
e.restore(),
"underline" === t &&
(0 === o && e.moveTo(s.x, s.y + r / 8),
e.lineTo(i.x, i.y + r / 5));
}),
"underline" === t &&
((e.lineWidth = r / 20),
(e.strokeStyle = o),
e.stroke(),
e.closePath()),
e.restore();
},
},
{
key: "getLetterSpacingAt",
value: function () {
var e =
arguments.length > 0 && void 0 !== arguments[0]
? arguments[0]
: 0;
return this.letterSpacingCache[e] || 0;
},
},
{
key: "findSegmentToFitChar",
value: function (e, t, r, n, o, s, i, a, A) {
var u = s,
c = this.measureText(e, a);
" " === a && "justify" === t && r < n && (c += (n - r) / o),
A > -1 && (u += this.getLetterSpacingAt(A));
var l = this.textHeight / 20,
d = this.getEquidistantPointOnPath(u, l, 0),
f = this.getEquidistantPointOnPath(u + c, l, 0),
h = { p0: d, p1: f },
p = d && f ? Math.atan2(f.y - d.y, f.x - d.x) : 0;
if (i) {
var m = Math.cos(Math.PI / 2 + p) * i,
g = Math.cos(-p) * i;
(h.p0 = yr(yr({}, d), {}, { x: d.x + m, y: d.y + g })),
(h.p1 = yr(yr({}, f), {}, { x: f.x + m, y: f.y + g }));
}
return { offset: (u += c), segment: h, rotation: p };
},
},
{
key: "measureText",
value: function (e, t) {
var r = this.measuresCache,
n = t || this.getText();
if (r.has(n)) return r.get(n);
var o = this.measureTargetText(e, n);
return r.set(n, o), o;
},
},
{
key: "setTextData",
value: function (e) {
var t,
r = this;
if (!this.glyphInfo) {
var n = this.getText(),
o = n.split(""),
s = n.split(" ").length - 1,
i = A()(
(t = this.parent.getAttribute("dx").split())
).call(t, function (e) {
return e.getPixels("x");
}),
a = this.parent.getAttribute("dy").getPixels("y"),
u = this.parent
.getStyle("text-anchor")
.getString("start"),
c = this.getStyle("letter-spacing"),
l = this.parent.getStyle("letter-spacing"),
d = 0;
c.hasValue() && "inherit" !== c.getValue()
? c.hasValue() &&
"initial" !== c.getValue() &&
"unset" !== c.getValue() &&
(d = c.getPixels())
: (d = l.getPixels());
var f = [],
h = n.length;
this.letterSpacingCache = f;
for (var p = 0; p < h; p++)
f.push(void 0 !== i[p] ? i[p] : d);
var m = H()(f).call(
f,
function (e, t, r) {
return 0 === r ? 0 : e + t || 0;
},
0
),
y = this.measureText(e),
v = Math.max(y + m, 0);
(this.textWidth = y),
(this.textHeight = this.getFontSize()),
(this.glyphInfo = []);
var w = this.getPathLength(),
b = this.getStyle("startOffset").getNumber(0) * w,
B = 0;
("middle" !== u && "center" !== u) || (B = -v / 2),
("end" !== u && "right" !== u) || (B = -v),
(B += b),
g()(o).call(o, function (t, n) {
var i = r.findSegmentToFitChar(
e,
u,
v,
w,
s,
B,
a,
t,
n
),
A = i.offset,
c = i.segment,
l = i.rotation;
(B = A),
c.p0 &&
c.p1 &&
r.glyphInfo.push({
text: o[n],
p0: c.p0,
p1: c.p1,
rotation: l,
});
});
}
},
},
{
key: "parsePathData",
value: function (e) {
if (((this.pathLength = -1), !e)) return [];
var t = [],
r = e.pathParser;
for (r.reset(); !r.isEnd(); ) {
var n = r.current,
o = n ? n.x : 0,
s = n ? n.y : 0,
i = r.next(),
a = i.type,
A = [];
switch (i.type) {
case Kt.MOVE_TO:
this.pathM(r, A);
break;
case Kt.LINE_TO:
a = this.pathL(r, A);
break;
case Kt.HORIZ_LINE_TO:
a = this.pathH(r, A);
break;
case Kt.VERT_LINE_TO:
a = this.pathV(r, A);
break;
case Kt.CURVE_TO:
this.pathC(r, A);
break;
case Kt.SMOOTH_CURVE_TO:
a = this.pathS(r, A);
break;
case Kt.QUAD_TO:
this.pathQ(r, A);
break;
case Kt.SMOOTH_QUAD_TO:
a = this.pathT(r, A);
break;
case Kt.ARC:
A = this.pathA(r);
break;
case Kt.CLOSE_PATH:
zt.pathZ(r);
}
i.type !== Kt.CLOSE_PATH
? t.push({
type: a,
points: A,
start: { x: o, y: s },
pathLength: this.calcLength(o, s, a, A),
})
: t.push({
type: Kt.CLOSE_PATH,
points: [],
pathLength: 0,
});
}
return t;
},
},
{
key: "pathM",
value: function (e, t) {
var r = zt.pathM(e).point,
n = r.x,
o = r.y;
t.push(n, o);
},
},
{
key: "pathL",
value: function (e, t) {
var r = zt.pathL(e).point,
n = r.x,
o = r.y;
return t.push(n, o), Kt.LINE_TO;
},
},
{
key: "pathH",
value: function (e, t) {
var r = zt.pathH(e).point,
n = r.x,
o = r.y;
return t.push(n, o), Kt.LINE_TO;
},
},
{
key: "pathV",
value: function (e, t) {
var r = zt.pathV(e).point,
n = r.x,
o = r.y;
return t.push(n, o), Kt.LINE_TO;
},
},
{
key: "pathC",
value: function (e, t) {
var r = zt.pathC(e),
n = r.point,
o = r.controlPoint,
s = r.currentPoint;
t.push(n.x, n.y, o.x, o.y, s.x, s.y);
},
},
{
key: "pathS",
value: function (e, t) {
var r = zt.pathS(e),
n = r.point,
o = r.controlPoint,
s = r.currentPoint;
return t.push(n.x, n.y, o.x, o.y, s.x, s.y), Kt.CURVE_TO;
},
},
{
key: "pathQ",
value: function (e, t) {
var r = zt.pathQ(e),
n = r.controlPoint,
o = r.currentPoint;
t.push(n.x, n.y, o.x, o.y);
},
},
{
key: "pathT",
value: function (e, t) {
var r = zt.pathT(e),
n = r.controlPoint,
o = r.currentPoint;
return t.push(n.x, n.y, o.x, o.y), Kt.QUAD_TO;
},
},
{
key: "pathA",
value: function (e) {
var t = zt.pathA(e),
r = t.rX,
n = t.rY,
o = t.sweepFlag,
s = t.xAxisRotation,
i = t.centp,
a = t.a1,
A = t.ad;
return (
0 === o && A > 0 && (A -= 2 * Math.PI),
1 === o && A < 0 && (A += 2 * Math.PI),
[i.x, i.y, r, n, a, A, s, o]
);
},
},
{
key: "calcLength",
value: function (e, t, r, n) {
var o = 0,
s = null,
i = null,
a = 0;
switch (r) {
case Kt.LINE_TO:
return this.getLineLength(e, t, n[0], n[1]);
case Kt.CURVE_TO:
for (
o = 0,
s = this.getPointOnCubicBezier(
0,
e,
t,
n[0],
n[1],
n[2],
n[3],
n[4],
n[5]
),
a = 0.01;
a <= 1;
a += 0.01
)
(i = this.getPointOnCubicBezier(
a,
e,
t,
n[0],
n[1],
n[2],
n[3],
n[4],
n[5]
)),
(o += this.getLineLength(s.x, s.y, i.x, i.y)),
(s = i);
return o;
case Kt.QUAD_TO:
for (
o = 0,
s = this.getPointOnQuadraticBezier(
0,
e,
t,
n[0],
n[1],
n[2],
n[3]
),
a = 0.01;
a <= 1;
a += 0.01
)
(i = this.getPointOnQuadraticBezier(
a,
e,
t,
n[0],
n[1],
n[2],
n[3]
)),
(o += this.getLineLength(s.x, s.y, i.x, i.y)),
(s = i);
return o;
case Kt.ARC:
o = 0;
var A = n[4],
u = n[5],
c = n[4] + u,
l = Math.PI / 180;
if (
(Math.abs(A - c) < l && (l = Math.abs(A - c)),
(s = this.getPointOnEllipticalArc(
n[0],
n[1],
n[2],
n[3],
A,
0
)),
u < 0)
)
for (a = A - l; a > c; a -= l)
(i = this.getPointOnEllipticalArc(
n[0],
n[1],
n[2],
n[3],
a,
0
)),
(o += this.getLineLength(s.x, s.y, i.x, i.y)),
(s = i);
else
for (a = A + l; a < c; a += l)
(i = this.getPointOnEllipticalArc(
n[0],
n[1],
n[2],
n[3],
a,
0
)),
(o += this.getLineLength(s.x, s.y, i.x, i.y)),
(s = i);
return (
(i = this.getPointOnEllipticalArc(
n[0],
n[1],
n[2],
n[3],
c,
0
)),
o + this.getLineLength(s.x, s.y, i.x, i.y)
);
}
return 0;
},
},
{
key: "getPointOnLine",
value: function (e, t, r, n, o) {
var s =
arguments.length > 5 && void 0 !== arguments[5]
? arguments[5]
: t,
i =
arguments.length > 6 && void 0 !== arguments[6]
? arguments[6]
: r,
a = (o - r) / (n - t + nt),
A = Math.sqrt((e * e) / (1 + a * a));
n < t && (A *= -1);
var u = a * A,
c = null;
if (n === t) c = { x: s, y: i + u };
else if ((i - r) / (s - t + nt) === a)
c = { x: s + A, y: i + u };
else {
var l = 0,
d = 0,
f = this.getLineLength(t, r, n, o);
if (f < nt) return null;
var h = (s - t) * (n - t) + (i - r) * (o - r);
(l = t + (h /= f * f) * (n - t)), (d = r + h * (o - r));
var p = this.getLineLength(s, i, l, d),
m = Math.sqrt(e * e - p * p);
(A = Math.sqrt((m * m) / (1 + a * a))),
n < t && (A *= -1),
(c = { x: l + A, y: d + (u = a * A) });
}
return c;
},
},
{
key: "getPointOnPath",
value: function (e) {
var t = this.getPathLength(),
r = 0,
n = null;
if (e < -5e-5 || e - 5e-5 > t) return null;
var o,
s = (function (e, t) {
var r;
if (void 0 === Fe() || null == Ne()(e)) {
if (
xe()(e) ||
(r = (function (e, t) {
var r;
if (e) {
if ("string" == typeof e) return mr(e, t);
var n = Se()(
(r = Object.prototype.toString.call(e))
).call(r, 8, -1);
return (
"Object" === n &&
e.constructor &&
(n = e.constructor.name),
"Map" === n || "Set" === n
? ae()(e)
: "Arguments" === n ||
/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(
n
)
? mr(e, t)
: void 0
);
}
})(e)) ||
(t && e && "number" == typeof e.length)
) {
r && (e = r);
var n = 0,
o = function () {};
return {
s: o,
n: function () {
return n >= e.length
? { done: !0 }
: { done: !1, value: e[n++] };
},
e: function (e) {
throw e;
},
f: o,
};
}
throw new TypeError(
"Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
);
}
var s,
i = !0,
a = !1;
return {
s: function () {
r = _e()(e);
},
n: function () {
var e = r.next();
return (i = e.done), e;
},
e: function (e) {
(a = !0), (s = e);
},
f: function () {
try {
i || null == r.return || r.return();
} finally {
if (a) throw s;
}
},
};
})(this.dataArray);
try {
for (s.s(); !(o = s.n()).done; ) {
var i = o.value;
if (
!i ||
!(i.pathLength < 5e-5 || r + i.pathLength + 5e-5 < e)
) {
var a = e - r,
A = 0;
switch (i.type) {
case Kt.LINE_TO:
n = this.getPointOnLine(
a,
i.start.x,
i.start.y,
i.points[0],
i.points[1],
i.start.x,
i.start.y
);
break;
case Kt.ARC:
var u = i.points[4],
c = i.points[5],
l = i.points[4] + c;
if (
((A = u + (a / i.pathLength) * c),
(c < 0 && A < l) || (c >= 0 && A > l))
)
break;
n = this.getPointOnEllipticalArc(
i.points[0],
i.points[1],
i.points[2],
i.points[3],
A,
i.points[6]
);
break;
case Kt.CURVE_TO:
(A = a / i.pathLength) > 1 && (A = 1),
(n = this.getPointOnCubicBezier(
A,
i.start.x,
i.start.y,
i.points[0],
i.points[1],
i.points[2],
i.points[3],
i.points[4],
i.points[5]
));
break;
case Kt.QUAD_TO:
(A = a / i.pathLength) > 1 && (A = 1),
(n = this.getPointOnQuadraticBezier(
A,
i.start.x,
i.start.y,
i.points[0],
i.points[1],
i.points[2],
i.points[3]
));
}
if (n) return n;
break;
}
r += i.pathLength;
}
} catch (e) {
s.e(e);
} finally {
s.f();
}
return null;
},
},
{
key: "getLineLength",
value: function (e, t, r, n) {
return Math.sqrt((r - e) * (r - e) + (n - t) * (n - t));
},
},
{
key: "getPathLength",
value: function () {
var e;
return (
-1 === this.pathLength &&
(this.pathLength = H()((e = this.dataArray)).call(
e,
function (e, t) {
return t.pathLength > 0 ? e + t.pathLength : e;
},
0
)),
this.pathLength
);
},
},
{
key: "getPointOnCubicBezier",
value: function (e, t, r, n, o, s, i, a, A) {
return {
x: a * at(e) + s * At(e) + n * ut(e) + t * ct(e),
y: A * at(e) + i * At(e) + o * ut(e) + r * ct(e),
};
},
},
{
key: "getPointOnQuadraticBezier",
value: function (e, t, r, n, o, s, i) {
return {
x: s * lt(e) + n * dt(e) + t * ft(e),
y: i * lt(e) + o * dt(e) + r * ft(e),
};
},
},
{
key: "getPointOnEllipticalArc",
value: function (e, t, r, n, o, s) {
var i = Math.cos(s),
a = Math.sin(s),
A = r * Math.cos(o),
u = n * Math.sin(o);
return { x: e + (A * i - u * a), y: t + (A * a + u * i) };
},
},
{
key: "buildEquidistantCache",
value: function (e, t) {
var r = this.getPathLength(),
n = t || 0.25,
o = e || r / 100;
if (
!this.equidistantCache ||
this.equidistantCache.step !== o ||
this.equidistantCache.precision !== n
) {
this.equidistantCache = {
step: o,
precision: n,
points: [],
};
for (var s = 0, i = 0; i <= r; i += n) {
var a = this.getPointOnPath(i),
A = this.getPointOnPath(i + n);
a &&
A &&
(s += this.getLineLength(a.x, a.y, A.x, A.y)) >= o &&
(this.equidistantCache.points.push({
x: a.x,
y: a.y,
distance: i,
}),
(s -= o));
}
}
},
},
{
key: "getEquidistantPointOnPath",
value: function (e, t, r) {
if (
(this.buildEquidistantCache(t, r),
e < 0 || e - this.getPathLength() > 5e-5)
)
return null;
var n = Math.round(
(e / this.getPathLength()) *
(this.equidistantCache.points.length - 1)
);
return this.equidistantCache.points[n] || null;
},
},
]),
o
);
})(Rt);
var wr = (function (e) {
(0, Z.default)(i, e);
var t,
r,
n,
o,
s =
((n = i),
(o = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
t = (0, ee.default)(n);
if (o) {
var r = (0, ee.default)(this).constructor;
e = Y()(t, arguments, r);
} else e = t.apply(this, arguments);
return (0, $.default)(this, e);
});
function i(e, t, r) {
var n;
(0, F.default)(this, i),
((n = s.call(this, e, t, r)).type = "image"),
(n.loaded = !1);
var o = n.getHrefAttribute().getString();
if (!o) return (0, $.default)(n);
var a = /\.svg$/.test(o);
return (
e.images.push((0, ye.default)(n)),
a ? n.loadSvg(o) : n.loadImage(o),
(n.isSvg = a),
n
);
}
return (
(0, U.default)(i, [
{
key: "loadImage",
value:
((r = (0, N.default)(
E().mark(function e(t) {
var r;
return E().wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(e.prev = 0),
(e.next = 3),
this.document.createImage(t)
);
case 3:
(r = e.sent), (this.image = r), (e.next = 10);
break;
case 7:
(e.prev = 7),
(e.t0 = e.catch(0)),
console.error(
'Error while loading image "'.concat(
t,
'":'
),
e.t0
);
case 10:
this.loaded = !0;
case 11:
case "end":
return e.stop();
}
},
e,
this,
[[0, 7]]
);
})
)),
function (e) {
return r.apply(this, arguments);
}),
},
{
key: "loadSvg",
value:
((t = (0, N.default)(
E().mark(function e(t) {
var r, n;
return E().wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(e.prev = 0),
(e.next = 3),
this.document.fetch(t)
);
case 3:
return (r = e.sent), (e.next = 6), r.text();
case 6:
(n = e.sent), (this.image = n), (e.next = 13);
break;
case 10:
(e.prev = 10),
(e.t0 = e.catch(0)),
console.error(
'Error while loading image "'.concat(
t,
'":'
),
e.t0
);
case 13:
this.loaded = !0;
case 14:
case "end":
return e.stop();
}
},
e,
this,
[[0, 10]]
);
})
)),
function (e) {
return t.apply(this, arguments);
}),
},
{
key: "renderChildren",
value: function (e) {
var t = this.document,
r = this.image,
n = this.loaded,
o = this.getAttribute("x").getPixels("x"),
s = this.getAttribute("y").getPixels("y"),
i = this.getStyle("width").getPixels("x"),
a = this.getStyle("height").getPixels("y");
if (n && r && i && a) {
if ((e.save(), this.isSvg))
t.canvg
.forkString(e, this.image, {
ignoreMouse: !0,
ignoreAnimation: !0,
ignoreDimensions: !0,
ignoreClear: !0,
offsetX: o,
offsetY: s,
scaleWidth: i,
scaleHeight: a,
})
.render();
else {
var A = this.image;
e.translate(o, s),
t.setViewBox({
ctx: e,
aspectRatio: this.getAttribute(
"preserveAspectRatio"
).getString(),
width: i,
desiredWidth: A.width,
height: a,
desiredHeight: A.height,
}),
this.loaded &&
(void 0 === A.complete || A.complete) &&
e.drawImage(A, 0, 0);
}
e.restore();
}
},
},
{
key: "getBoundingBox",
value: function () {
var e = this.getAttribute("x").getPixels("x"),
t = this.getAttribute("y").getPixels("y"),
r = this.getStyle("width").getPixels("x"),
n = this.getStyle("height").getPixels("y");
return new Ot(e, t, e + r, t + n);
},
},
]),
i
);
})(kt);
var br = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "symbol"),
e
);
}
return (
(0, U.default)(o, [{ key: "render", value: function (e) {} }]),
o
);
})(kt),
Br = (function () {
function e(t) {
(0, F.default)(this, e),
(this.document = t),
(this.loaded = !1),
t.fonts.push(this);
}
var t;
return (
(0, U.default)(e, [
{
key: "load",
value:
((t = (0, N.default)(
E().mark(function e(t, r) {
var n, o, s, i;
return E().wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(e.prev = 0),
(o = this.document),
(e.next = 4),
o.canvg.parser.load(r)
);
case 4:
(s = e.sent),
(i = s.getElementsByTagName("font")),
g()((n = ae()(i))).call(n, function (e) {
var r = o.createElement(e);
o.definitions[t] = r;
}),
(e.next = 12);
break;
case 9:
(e.prev = 9),
(e.t0 = e.catch(0)),
console.error(
'Error while loading font "'.concat(
r,
'":'
),
e.t0
);
case 12:
this.loaded = !0;
case 13:
case "end":
return e.stop();
}
},
e,
this,
[[0, 9]]
);
})
)),
function (e, r) {
return t.apply(this, arguments);
}),
},
]),
e
);
})();
var jr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
var s, i;
(0, F.default)(this, o),
((i = n.call(this, e, t, r)).type = "style");
var a = Re(
A()((s = ae()(t.childNodes)))
.call(s, function (e) {
return e.data;
})
.join("")
.replace(
/(\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,
""
)
.replace(/@import.*;/g, "")
).split("}");
return (
g()(a).call(a, function (t) {
var r = G()(t).call(t);
if (r) {
var n = r.split("{"),
o = n[0].split(","),
s = n[1].split(";");
g()(o).call(o, function (t) {
var r = G()(t).call(t);
if (r) {
var n = e.styles[r] || {};
if (
(g()(s).call(s, function (t) {
var r,
o,
s = le()(t).call(t, ":"),
i = G()((r = t.substr(0, s))).call(r),
a = G()((o = t.substr(s + 1, t.length - s))).call(
o
);
i && a && (n[i] = new ht(e, i, a));
}),
(e.styles[r] = n),
(e.stylesSpecificity[r] = rt(r)),
"@font-face" === r)
) {
var o = n["font-family"]
.getString()
.replace(/"|'/g, ""),
i = n.src.getString().split(",");
g()(i).call(i, function (t) {
if (le()(t).call(t, 'format("svg")') > 0) {
var r = qe(t);
r && new Br(e).load(o, r);
}
});
}
}
});
}
}),
i
);
}
return o;
})(St);
jr.parseExternalUrl = qe;
var _r = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "use"),
e
);
}
return (
(0, U.default)(o, [
{
key: "setContext",
value: function (e) {
(0, de.default)(
(0, ee.default)(o.prototype),
"setContext",
this
).call(this, e);
var t = this.getAttribute("x"),
r = this.getAttribute("y");
t.hasValue() && e.translate(t.getPixels("x"), 0),
r.hasValue() && e.translate(0, r.getPixels("y"));
},
},
{
key: "path",
value: function (e) {
var t = this.element;
t && t.path(e);
},
},
{
key: "renderChildren",
value: function (e) {
var t = this.document,
r = this.element;
if (r) {
var n = r;
if (
("symbol" === r.type &&
(((n = new Vt(t, null)).attributes.viewBox = new ht(
t,
"viewBox",
r.getAttribute("viewBox").getString()
)),
(n.attributes.preserveAspectRatio = new ht(
t,
"preserveAspectRatio",
r.getAttribute("preserveAspectRatio").getString()
)),
(n.attributes.overflow = new ht(
t,
"overflow",
r.getAttribute("overflow").getString()
)),
(n.children = r.children),
(r.styles.opacity = new ht(
t,
"opacity",
this.calculateOpacity()
))),
"svg" === n.type)
) {
var o = this.getStyle("width", !1, !0),
s = this.getStyle("height", !1, !0);
o.hasValue() &&
(n.attributes.width = new ht(
t,
"width",
o.getString()
)),
s.hasValue() &&
(n.attributes.height = new ht(
t,
"height",
s.getString()
));
}
var i = n.parent;
(n.parent = this), n.render(e), (n.parent = i);
}
},
},
{
key: "getBoundingBox",
value: function (e) {
var t = this.element;
return t ? t.getBoundingBox(e) : null;
},
},
{
key: "elementTransform",
value: function () {
var e = this.document,
t = this.element;
return Ut.fromElement(e, t);
},
},
{
key: "element",
get: function () {
return (
this._element ||
(this._element =
this.getHrefAttribute().getDefinition()),
this._element
);
},
},
]),
o
);
})(kt);
function Cr(e, t, r, n, o, s) {
return e[r * n * 4 + 4 * t + s];
}
function xr(e, t, r, n, o, s, i) {
e[r * n * 4 + 4 * t + s] = i;
}
function Er(e, t, r) {
return e[t] * r;
}
function Nr(e, t, r, n) {
return t + Math.cos(e) * r + Math.sin(e) * n;
}
var Qr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
var s;
(0, F.default)(this, o),
((s = n.call(this, e, t, r)).type = "feColorMatrix");
var i = Ke(s.getAttribute("values").getString());
switch (s.getAttribute("type").getString("matrix")) {
case "saturate":
var a = i[0];
i = [
0.213 + 0.787 * a,
0.715 - 0.715 * a,
0.072 - 0.072 * a,
0,
0,
0.213 - 0.213 * a,
0.715 + 0.285 * a,
0.072 - 0.072 * a,
0,
0,
0.213 - 0.213 * a,
0.715 - 0.715 * a,
0.072 + 0.928 * a,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
1,
];
break;
case "hueRotate":
var A = (i[0] * Math.PI) / 180;
i = [
Nr(A, 0.213, 0.787, -0.213),
Nr(A, 0.715, -0.715, -0.715),
Nr(A, 0.072, -0.072, 0.928),
0,
0,
Nr(A, 0.213, -0.213, 0.143),
Nr(A, 0.715, 0.285, 0.14),
Nr(A, 0.072, -0.072, -0.283),
0,
0,
Nr(A, 0.213, -0.213, -0.787),
Nr(A, 0.715, -0.715, 0.715),
Nr(A, 0.072, 0.928, 0.072),
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
1,
];
break;
case "luminanceToAlpha":
i = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.2125, 0.7154,
0.0721, 0, 0, 0, 0, 0, 0, 1,
];
}
return (
(s.matrix = i),
(s.includeOpacity = s
.getAttribute("includeOpacity")
.hasValue()),
s
);
}
return (
(0, U.default)(o, [
{
key: "apply",
value: function (e, t, r, n, o) {
for (
var s = this.includeOpacity,
i = this.matrix,
a = e.getImageData(0, 0, n, o),
A = 0;
A < o;
A++
)
for (var u = 0; u < n; u++) {
var c = Cr(a.data, u, A, n, 0, 0),
l = Cr(a.data, u, A, n, 0, 1),
d = Cr(a.data, u, A, n, 0, 2),
f = Cr(a.data, u, A, n, 0, 3),
h =
Er(i, 0, c) +
Er(i, 1, l) +
Er(i, 2, d) +
Er(i, 3, f) +
Er(i, 4, 1),
p =
Er(i, 5, c) +
Er(i, 6, l) +
Er(i, 7, d) +
Er(i, 8, f) +
Er(i, 9, 1),
m =
Er(i, 10, c) +
Er(i, 11, l) +
Er(i, 12, d) +
Er(i, 13, f) +
Er(i, 14, 1),
g =
Er(i, 15, c) +
Er(i, 16, l) +
Er(i, 17, d) +
Er(i, 18, f) +
Er(i, 19, 1);
s && ((h = p = m = 0), (g *= f / 255)),
xr(a.data, u, A, n, 0, 0, h),
xr(a.data, u, A, n, 0, 1, p),
xr(a.data, u, A, n, 0, 2, m),
xr(a.data, u, A, n, 0, 3, g);
}
e.clearRect(0, 0, n, o), e.putImageData(a, 0, 0);
},
},
]),
o
);
})(St);
var Fr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "mask"),
e
);
}
return (
(0, U.default)(o, [
{
key: "apply",
value: function (e, t) {
var r = this.document,
n = this.getAttribute("x").getPixels("x"),
s = this.getAttribute("y").getPixels("y"),
i = this.getStyle("width").getPixels("x"),
a = this.getStyle("height").getPixels("y");
if (!i && !a) {
var A,
u = new Ot();
g()((A = this.children)).call(A, function (t) {
u.addBoundingBox(t.getBoundingBox(e));
}),
(n = Math.floor(u.x1)),
(s = Math.floor(u.y1)),
(i = Math.floor(u.width)),
(a = Math.floor(u.height));
}
var c = this.removeStyles(t, o.ignoreStyles),
l = r.createCanvas(n + i, s + a),
d = l.getContext("2d");
r.screen.setDefaults(d),
this.renderChildren(d),
new Qr(r, {
nodeType: 1,
childNodes: [],
attributes: [
{ nodeName: "type", value: "luminanceToAlpha" },
{ nodeName: "includeOpacity", value: "true" },
],
}).apply(d, 0, 0, n + i, s + a);
var f = r.createCanvas(n + i, s + a),
h = f.getContext("2d");
r.screen.setDefaults(h),
t.render(h),
(h.globalCompositeOperation = "destination-in"),
(h.fillStyle = d.createPattern(l, "no-repeat")),
h.fillRect(0, 0, n + i, s + a),
(e.fillStyle = h.createPattern(f, "no-repeat")),
e.fillRect(0, 0, n + i, s + a),
this.restoreStyles(t, c);
},
},
{ key: "render", value: function (e) {} },
]),
o
);
})(St);
Fr.ignoreStyles = ["mask", "transform", "clip-path"];
var Ur = function () {},
Sr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "clipPath"),
e
);
}
return (
(0, U.default)(o, [
{
key: "apply",
value: function (e) {
var t,
r = this.document,
n = Oe()(e),
o = e.beginPath,
s = e.closePath;
n && ((n.beginPath = Ur), (n.closePath = Ur)),
Ie()(o, e, []),
g()((t = this.children)).call(t, function (t) {
if (void 0 !== t.path) {
var o =
void 0 !== t.elementTransform
? t.elementTransform()
: null;
o || (o = Ut.fromElement(r, t)),
o && o.apply(e),
t.path(e),
n && (n.closePath = s),
o && o.unapply(e);
}
}),
Ie()(s, e, []),
e.clip(),
n && ((n.beginPath = o), (n.closePath = s));
},
},
{ key: "render", value: function (e) {} },
]),
o
);
})(St);
var Lr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "filter"),
e
);
}
return (
(0, U.default)(o, [
{
key: "apply",
value: function (e, t) {
var r = this.document,
n = this.children,
s = t.getBoundingBox(e);
if (s) {
var i = 0,
a = 0;
g()(n).call(n, function (e) {
var t = e.extraFilterDistance || 0;
(i = Math.max(i, t)), (a = Math.max(a, t));
});
var A = Math.floor(s.width),
u = Math.floor(s.height),
c = A + 2 * i,
l = u + 2 * a;
if (!(c < 1 || l < 1)) {
var d = Math.floor(s.x),
f = Math.floor(s.y),
h = this.removeStyles(t, o.ignoreStyles),
p = r.createCanvas(c, l),
m = p.getContext("2d");
r.screen.setDefaults(m),
m.translate(-d + i, -f + a),
t.render(m),
g()(n).call(n, function (e) {
"function" == typeof e.apply &&
e.apply(m, 0, 0, c, l);
}),
e.drawImage(p, 0, 0, c, l, d - i, f - a, c, l),
this.restoreStyles(t, h);
}
}
},
},
{ key: "render", value: function (e) {} },
]),
o
);
})(St);
Lr.ignoreStyles = ["filter", "transform", "clip-path"];
var Tr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
var s;
return (
(0, F.default)(this, o),
((s = n.call(this, e, t, r)).type = "feDropShadow"),
s.addStylesFromStyleDefinition(),
s
);
}
return (
(0, U.default)(o, [
{ key: "apply", value: function (e, t, r, n, o) {} },
]),
o
);
})(St);
var Hr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "feMorphology"),
e
);
}
return (
(0, U.default)(o, [
{ key: "apply", value: function (e, t, r, n, o) {} },
]),
o
);
})(St);
var Ir = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "feComposite"),
e
);
}
return (
(0, U.default)(o, [
{ key: "apply", value: function (e, t, r, n, o) {} },
]),
o
);
})(St);
var Pr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o(e, t, r) {
var s;
return (
(0, F.default)(this, o),
((s = n.call(this, e, t, r)).type = "feGaussianBlur"),
(s.blurRadius = Math.floor(
s.getAttribute("stdDeviation").getNumber()
)),
(s.extraFilterDistance = s.blurRadius),
s
);
}
return (
(0, U.default)(o, [
{
key: "apply",
value: function (e, t, r, n, o) {
var s = this.document,
i = this.blurRadius,
a = s.window ? s.window.document.body : null,
A = e.canvas;
(A.id = s.getUniqueId()),
a && ((A.style.display = "none"), a.appendChild(A)),
(0, ke.canvasRGBA)(A, t, r, n, o, i),
a && a.removeChild(A);
},
},
]),
o
);
})(St);
var Or = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "title"),
e
);
}
return o;
})(St);
var kr = (function (e) {
(0, Z.default)(o, e);
var t,
r,
n =
((t = o),
(r = (function () {
if ("undefined" == typeof Reflect || !Y()) return !1;
if (Y().sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return (
Date.prototype.toString.call(
Y()(Date, [], function () {})
),
!0
);
} catch (e) {
return !1;
}
})()),
function () {
var e,
n = (0, ee.default)(t);
if (r) {
var o = (0, ee.default)(this).constructor;
e = Y()(n, arguments, o);
} else e = n.apply(this, arguments);
return (0, $.default)(this, e);
});
function o() {
var e;
return (
(0, F.default)(this, o),
((e = n.apply(this, arguments)).type = "desc"),
e
);
}
return o;
})(St),
Rr = {
svg: Vt,
rect: qt,
circle: Gt,
ellipse: Xt,
line: Wt,
polyline: Jt,
polygon: Yt,
path: zt,
pattern: Zt,
marker: $t,
defs: er,
linearGradient: nr,
radialGradient: or,
stop: sr,
animate: ir,
animateColor: ar,
animateTransform: Ar,
font: cr,
"font-face": lr,
"missing-glyph": dr,
glyph: fr,
text: Rt,
tspan: Mt,
tref: hr,
a: pr,
textPath: vr,
image: wr,
g: tr,
symbol: br,
style: jr,
use: _r,
mask: Fr,
clipPath: Sr,
filter: Lr,
feDropShadow: Tr,
feMorphology: Hr,
feComposite: Ir,
feColorMatrix: Qr,
feGaussianBlur: Pr,
title: Or,
desc: kr,
};
function Mr(e, t) {
var r = C()(e);
if (j()) {
var n = j()(e);
t &&
(n = b()(n).call(n, function (t) {
return v()(e, t).enumerable;
})),
r.push.apply(r, n);
}
return r;
}
function Dr() {
return (Dr = (0, N.default)(
E().mark(function e(t) {
var r,
n,
o = arguments;
return E().wrap(function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(r = o.length > 1 && void 0 !== o[1] && o[1]),
(n = document.createElement("img")),
r && (n.crossOrigin = "Anonymous"),
e.abrupt(
"return",
new (M())(function (e, r) {
(n.onload = function () {
e(n);
}),
(n.onerror = function () {
r();
}),
(n.src = t);
})
)
);
case 4:
case "end":
return e.stop();
}
}, e);
})
)).apply(this, arguments);
}
var Kr = (function () {
function e(t) {
var r,
n,
o =
arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: {},
s = o.rootEmSize,
i = void 0 === s ? 12 : s,
a = o.emSize,
A = void 0 === a ? 12 : a,
u = o.createCanvas,
c = void 0 === u ? e.createCanvas : u,
l = o.createImage,
d = void 0 === l ? e.createImage : l,
f = o.anonymousCrossOrigin;
(0, F.default)(this, e),
(this.canvg = t),
(this.definitions = {}),
(this.styles = {}),
(this.stylesSpecificity = {}),
(this.images = []),
(this.fonts = []),
(this.emSizeStack = []),
(this.uniqueId = 0),
(this.screen = t.screen),
(this.rootEmSize = i),
(this.emSize = A),
(this.createCanvas = c),
(this.createImage = this.bindCreateImage(d, f)),
this.screen.wait(K()((r = this.isImagesLoaded)).call(r, this)),
this.screen.wait(K()((n = this.isFontsLoaded)).call(n, this));
}
return (
(0, U.default)(e, [
{
key: "bindCreateImage",
value: function (e, t) {
return "boolean" == typeof t
? function (r, n) {
return e(r, "boolean" == typeof n ? n : t);
}
: e;
},
},
{
key: "popEmSize",
value: function () {
this.emSizeStack.pop();
},
},
{
key: "getUniqueId",
value: function () {
return "canvg".concat(++this.uniqueId);
},
},
{
key: "isImagesLoaded",
value: function () {
var e;
return k()((e = this.images)).call(e, function (e) {
return e.loaded;
});
},
},
{
key: "isFontsLoaded",
value: function () {
var e;
return k()((e = this.fonts)).call(e, function (e) {
return e.loaded;
});
},
},
{
key: "createDocumentElement",
value: function (e) {
var t = this.createElement(e.documentElement);
return (
(t.root = !0),
t.addStylesFromStyleDefinition(),
(this.documentElement = t),
t
);
},
},
{
key: "createElement",
value: function (t) {
var r = t.nodeName.replace(/^[^:]+:/, ""),
n = e.elementTypes[r];
return void 0 !== n ? new n(this, t) : new Lt(this, t);
},
},
{
key: "createTextNode",
value: function (e) {
return new Dt(this, e);
},
},
{
key: "setViewBox",
value: function (e) {
this.screen.setViewBox(
(function (e) {
for (var t = 1; t < arguments.length; t++) {
var r,
n = null != arguments[t] ? arguments[t] : {};
if (t % 2)
g()((r = Mr(Object(n), !0))).call(r, function (t) {
(0, Q.default)(e, t, n[t]);
});
else if (p()) f()(e, p()(n));
else {
var o;
g()((o = Mr(Object(n)))).call(o, function (t) {
l()(e, t, v()(n, t));
});
}
}
return e;
})({ document: this }, e)
);
},
},
{
key: "window",
get: function () {
return this.screen.window;
},
},
{
key: "fetch",
get: function () {
return this.screen.fetch;
},
},
{
key: "ctx",
get: function () {
return this.screen.ctx;
},
},
{
key: "emSize",
get: function () {
var e = this.emSizeStack;
return e[e.length - 1];
},
set: function (e) {
this.emSizeStack.push(e);
},
},
]),
e
);
})();
function zr(e, t) {
var r = C()(e);
if (j()) {
var n = j()(e);
t &&
(n = b()(n).call(n, function (t) {
return v()(e, t).enumerable;
})),
r.push.apply(r, n);
}
return r;
}
function Vr(e) {
for (var t = 1; t < arguments.length; t++) {
var r,
n = null != arguments[t] ? arguments[t] : {};
if (t % 2)
g()((r = zr(Object(n), !0))).call(r, function (t) {
(0, Q.default)(e, t, n[t]);
});
else if (p()) f()(e, p()(n));
else {
var o;
g()((o = zr(Object(n)))).call(o, function (t) {
l()(e, t, v()(n, t));
});
}
}
return e;
}
(Kr.createCanvas = function (e, t) {
var r = document.createElement("canvas");
return (r.width = e), (r.height = t), r;
}),
(Kr.createImage = function (e) {
return Dr.apply(this, arguments);
}),
(Kr.elementTypes = Rr);
var qr = (function () {
function e(t, r) {
var n =
arguments.length > 2 && void 0 !== arguments[2]
? arguments[2]
: {};
(0, F.default)(this, e),
(this.parser = new jt(n)),
(this.screen = new wt(t, n)),
(this.options = n);
var o = new Kr(this, n),
s = o.createDocumentElement(r);
(this.document = o), (this.documentElement = s);
}
var t, r;
return (
(0, U.default)(
e,
[
{
key: "fork",
value: function (t, r) {
var n =
arguments.length > 2 && void 0 !== arguments[2]
? arguments[2]
: {};
return e.from(t, r, Vr(Vr({}, this.options), n));
},
},
{
key: "forkString",
value: function (t, r) {
var n =
arguments.length > 2 && void 0 !== arguments[2]
? arguments[2]
: {};
return e.fromString(t, r, Vr(Vr({}, this.options), n));
},
},
{
key: "ready",
value: function () {
return this.screen.ready();
},
},
{
key: "isReady",
value: function () {
return this.screen.isReady();
},
},
{
key: "render",
value:
((r = (0, N.default)(
E().mark(function e() {
var t,
r = arguments;
return E().wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(t =
r.length > 0 && void 0 !== r[0]
? r[0]
: {}),
this.start(
Vr(
{
enableRedraw: !0,
ignoreAnimation: !0,
ignoreMouse: !0,
},
t
)
),
(e.next = 4),
this.ready()
);
case 4:
this.stop();
case 5:
case "end":
return e.stop();
}
},
e,
this
);
})
)),
function () {
return r.apply(this, arguments);
}),
},
{
key: "start",
value: function () {
var e =
arguments.length > 0 && void 0 !== arguments[0]
? arguments[0]
: {},
t = this.documentElement,
r = this.screen,
n = this.options;
r.start(t, Vr(Vr({ enableRedraw: !0 }, n), e));
},
},
{
key: "stop",
value: function () {
this.screen.stop();
},
},
{
key: "resize",
value: function (e) {
var t =
arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: e,
r =
arguments.length > 2 &&
void 0 !== arguments[2] &&
arguments[2];
this.documentElement.resize(e, t, r);
},
},
],
[
{
key: "from",
value:
((t = (0, N.default)(
E().mark(function t(r, n) {
var o,
s,
i,
a = arguments;
return E().wrap(function (t) {
for (;;)
switch ((t.prev = t.next)) {
case 0:
return (
(o =
a.length > 2 && void 0 !== a[2]
? a[2]
: {}),
(s = new jt(o)),
(t.next = 4),
s.parse(n)
);
case 4:
return (
(i = t.sent),
t.abrupt("return", new e(r, i, o))
);
case 6:
case "end":
return t.stop();
}
}, t);
})
)),
function (e, r) {
return t.apply(this, arguments);
}),
},
{
key: "fromString",
value: function (t, r) {
var n =
arguments.length > 2 && void 0 !== arguments[2]
? arguments[2]
: {},
o = new jt(n),
s = o.parseFromString(r);
return new e(t, s, n);
},
},
]
),
e
);
})(),
Gr = Object.freeze({
__proto__: null,
offscreen: function () {
var e =
arguments.length > 0 && void 0 !== arguments[0]
? arguments[0]
: {},
t = e.DOMParser,
r = {
window: null,
ignoreAnimation: !0,
ignoreMouse: !0,
DOMParser: t,
createCanvas: function (e, t) {
return new OffscreenCanvas(e, t);
},
createImage: function (e) {
return (0, N.default)(
E().mark(function t() {
var r, n, o;
return E().wrap(function (t) {
for (;;)
switch ((t.prev = t.next)) {
case 0:
return (t.next = 2), fetch(e);
case 2:
return (r = t.sent), (t.next = 5), r.blob();
case 5:
return (
(n = t.sent),
(t.next = 8),
createImageBitmap(n)
);
case 8:
return (o = t.sent), t.abrupt("return", o);
case 10:
case "end":
return t.stop();
}
}, t);
})
)();
},
};
return (
("undefined" == typeof DOMParser && void 0 !== t) ||
ge()(r, "DOMParser"),
r
);
},
node: function (e) {
var t = e.DOMParser,
r = e.canvas;
return {
window: null,
ignoreAnimation: !0,
ignoreMouse: !0,
DOMParser: t,
fetch: e.fetch,
createCanvas: r.createCanvas,
createImage: r.loadImage,
};
},
});
t.default = qr;
},
"./node_modules/core-js-pure/es/array/from.js": function (e, t, r) {
r("./node_modules/core-js-pure/modules/es.string.iterator.js"),
r("./node_modules/core-js-pure/modules/es.array.from.js");
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = n.Array.from;
},
"./node_modules/core-js-pure/es/array/is-array.js": function (e, t, r) {
r("./node_modules/core-js-pure/modules/es.array.is-array.js");
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = n.Array.isArray;
},
"./node_modules/core-js-pure/es/array/virtual/concat.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.array.concat.js");
var n = r("./node_modules/core-js-pure/internals/entry-virtual.js");
e.exports = n("Array").concat;
},
"./node_modules/core-js-pure/es/array/virtual/every.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.array.every.js");
var n = r("./node_modules/core-js-pure/internals/entry-virtual.js");
e.exports = n("Array").every;
},
"./node_modules/core-js-pure/es/array/virtual/fill.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.array.fill.js");
var n = r("./node_modules/core-js-pure/internals/entry-virtual.js");
e.exports = n("Array").fill;
},
"./node_modules/core-js-pure/es/array/virtual/filter.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.array.filter.js");
var n = r("./node_modules/core-js-pure/internals/entry-virtual.js");
e.exports = n("Array").filter;
},
"./node_modules/core-js-pure/es/array/virtual/for-each.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.array.for-each.js");
var n = r("./node_modules/core-js-pure/internals/entry-virtual.js");
e.exports = n("Array").forEach;
},
"./node_modules/core-js-pure/es/array/virtual/includes.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.array.includes.js");
var n = r("./node_modules/core-js-pure/internals/entry-virtual.js");
e.exports = n("Array").includes;
},
"./node_modules/core-js-pure/es/array/virtual/index-of.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.array.index-of.js");
var n = r("./node_modules/core-js-pure/internals/entry-virtual.js");
e.exports = n("Array").indexOf;
},
"./node_modules/core-js-pure/es/array/virtual/map.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.array.map.js");
var n = r("./node_modules/core-js-pure/internals/entry-virtual.js");
e.exports = n("Array").map;
},
"./node_modules/core-js-pure/es/array/virtual/reduce.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.array.reduce.js");
var n = r("./node_modules/core-js-pure/internals/entry-virtual.js");
e.exports = n("Array").reduce;
},
"./node_modules/core-js-pure/es/array/virtual/reverse.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.array.reverse.js");
var n = r("./node_modules/core-js-pure/internals/entry-virtual.js");
e.exports = n("Array").reverse;
},
"./node_modules/core-js-pure/es/array/virtual/slice.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.array.slice.js");
var n = r("./node_modules/core-js-pure/internals/entry-virtual.js");
e.exports = n("Array").slice;
},
"./node_modules/core-js-pure/es/array/virtual/some.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.array.some.js");
var n = r("./node_modules/core-js-pure/internals/entry-virtual.js");
e.exports = n("Array").some;
},
"./node_modules/core-js-pure/es/array/virtual/values.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.array.iterator.js");
var n = r("./node_modules/core-js-pure/internals/entry-virtual.js");
e.exports = n("Array").values;
},
"./node_modules/core-js-pure/es/date/now.js": function (e, t, r) {
r("./node_modules/core-js-pure/modules/es.date.now.js");
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = n.Date.now;
},
"./node_modules/core-js-pure/es/function/virtual/bind.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.function.bind.js");
var n = r("./node_modules/core-js-pure/internals/entry-virtual.js");
e.exports = n("Function").bind;
},
"./node_modules/core-js-pure/es/instance/bind.js": function (e, t, r) {
var n = r("./node_modules/core-js-pure/es/function/virtual/bind.js"),
o = Function.prototype;
e.exports = function (e) {
var t = e.bind;
return e === o || (e instanceof Function && t === o.bind) ? n : t;
};
},
"./node_modules/core-js-pure/es/instance/concat.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/array/virtual/concat.js"),
o = Array.prototype;
e.exports = function (e) {
var t = e.concat;
return e === o || (e instanceof Array && t === o.concat) ? n : t;
};
},
"./node_modules/core-js-pure/es/instance/every.js": function (e, t, r) {
var n = r("./node_modules/core-js-pure/es/array/virtual/every.js"),
o = Array.prototype;
e.exports = function (e) {
var t = e.every;
return e === o || (e instanceof Array && t === o.every) ? n : t;
};
},
"./node_modules/core-js-pure/es/instance/fill.js": function (e, t, r) {
var n = r("./node_modules/core-js-pure/es/array/virtual/fill.js"),
o = Array.prototype;
e.exports = function (e) {
var t = e.fill;
return e === o || (e instanceof Array && t === o.fill) ? n : t;
};
},
"./node_modules/core-js-pure/es/instance/filter.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/array/virtual/filter.js"),
o = Array.prototype;
e.exports = function (e) {
var t = e.filter;
return e === o || (e instanceof Array && t === o.filter) ? n : t;
};
},
"./node_modules/core-js-pure/es/instance/includes.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/array/virtual/includes.js"),
o = r("./node_modules/core-js-pure/es/string/virtual/includes.js"),
s = Array.prototype,
i = String.prototype;
e.exports = function (e) {
var t = e.includes;
return e === s || (e instanceof Array && t === s.includes)
? n
: "string" == typeof e ||
e === i ||
(e instanceof String && t === i.includes)
? o
: t;
};
},
"./node_modules/core-js-pure/es/instance/index-of.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/array/virtual/index-of.js"),
o = Array.prototype;
e.exports = function (e) {
var t = e.indexOf;
return e === o || (e instanceof Array && t === o.indexOf) ? n : t;
};
},
"./node_modules/core-js-pure/es/instance/map.js": function (e, t, r) {
var n = r("./node_modules/core-js-pure/es/array/virtual/map.js"),
o = Array.prototype;
e.exports = function (e) {
var t = e.map;
return e === o || (e instanceof Array && t === o.map) ? n : t;
};
},
"./node_modules/core-js-pure/es/instance/reduce.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/array/virtual/reduce.js"),
o = Array.prototype;
e.exports = function (e) {
var t = e.reduce;
return e === o || (e instanceof Array && t === o.reduce) ? n : t;
};
},
"./node_modules/core-js-pure/es/instance/reverse.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/array/virtual/reverse.js"),
o = Array.prototype;
e.exports = function (e) {
var t = e.reverse;
return e === o || (e instanceof Array && t === o.reverse) ? n : t;
};
},
"./node_modules/core-js-pure/es/instance/slice.js": function (e, t, r) {
var n = r("./node_modules/core-js-pure/es/array/virtual/slice.js"),
o = Array.prototype;
e.exports = function (e) {
var t = e.slice;
return e === o || (e instanceof Array && t === o.slice) ? n : t;
};
},
"./node_modules/core-js-pure/es/instance/some.js": function (e, t, r) {
var n = r("./node_modules/core-js-pure/es/array/virtual/some.js"),
o = Array.prototype;
e.exports = function (e) {
var t = e.some;
return e === o || (e instanceof Array && t === o.some) ? n : t;
};
},
"./node_modules/core-js-pure/es/instance/starts-with.js": function (
e,
t,
r
) {
var n = r(
"./node_modules/core-js-pure/es/string/virtual/starts-with.js"
),
o = String.prototype;
e.exports = function (e) {
var t = e.startsWith;
return "string" == typeof e ||
e === o ||
(e instanceof String && t === o.startsWith)
? n
: t;
};
},
"./node_modules/core-js-pure/es/instance/trim.js": function (e, t, r) {
var n = r("./node_modules/core-js-pure/es/string/virtual/trim.js"),
o = String.prototype;
e.exports = function (e) {
var t = e.trim;
return "string" == typeof e ||
e === o ||
(e instanceof String && t === o.trim)
? n
: t;
};
},
"./node_modules/core-js-pure/es/map/index.js": function (e, t, r) {
r("./node_modules/core-js-pure/modules/es.map.js"),
r("./node_modules/core-js-pure/modules/es.object.to-string.js"),
r("./node_modules/core-js-pure/modules/es.string.iterator.js"),
r(
"./node_modules/core-js-pure/modules/web.dom-collections.iterator.js"
);
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = n.Map;
},
"./node_modules/core-js-pure/es/object/create.js": function (e, t, r) {
r("./node_modules/core-js-pure/modules/es.object.create.js");
var n = r("./node_modules/core-js-pure/internals/path.js").Object;
e.exports = function (e, t) {
return n.create(e, t);
};
},
"./node_modules/core-js-pure/es/object/define-properties.js": function (
e,
t,
r
) {
r(
"./node_modules/core-js-pure/modules/es.object.define-properties.js"
);
var n = r("./node_modules/core-js-pure/internals/path.js").Object,
o = (e.exports = function (e, t) {
return n.defineProperties(e, t);
});
n.defineProperties.sham && (o.sham = !0);
},
"./node_modules/core-js-pure/es/object/define-property.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.object.define-property.js");
var n = r("./node_modules/core-js-pure/internals/path.js").Object,
o = (e.exports = function (e, t, r) {
return n.defineProperty(e, t, r);
});
n.defineProperty.sham && (o.sham = !0);
},
"./node_modules/core-js-pure/es/object/get-own-property-descriptor.js":
function (e, t, r) {
r(
"./node_modules/core-js-pure/modules/es.object.get-own-property-descriptor.js"
);
var n = r("./node_modules/core-js-pure/internals/path.js").Object,
o = (e.exports = function (e, t) {
return n.getOwnPropertyDescriptor(e, t);
});
n.getOwnPropertyDescriptor.sham && (o.sham = !0);
},
"./node_modules/core-js-pure/es/object/get-own-property-descriptors.js":
function (e, t, r) {
r(
"./node_modules/core-js-pure/modules/es.object.get-own-property-descriptors.js"
);
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = n.Object.getOwnPropertyDescriptors;
},
"./node_modules/core-js-pure/es/object/get-own-property-symbols.js":
function (e, t, r) {
r("./node_modules/core-js-pure/modules/es.symbol.js");
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = n.Object.getOwnPropertySymbols;
},
"./node_modules/core-js-pure/es/object/get-prototype-of.js": function (
e,
t,
r
) {
r(
"./node_modules/core-js-pure/modules/es.object.get-prototype-of.js"
);
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = n.Object.getPrototypeOf;
},
"./node_modules/core-js-pure/es/object/keys.js": function (e, t, r) {
r("./node_modules/core-js-pure/modules/es.object.keys.js");
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = n.Object.keys;
},
"./node_modules/core-js-pure/es/object/set-prototype-of.js": function (
e,
t,
r
) {
r(
"./node_modules/core-js-pure/modules/es.object.set-prototype-of.js"
);
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = n.Object.setPrototypeOf;
},
"./node_modules/core-js-pure/es/parse-float.js": function (e, t, r) {
r("./node_modules/core-js-pure/modules/es.parse-float.js");
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = n.parseFloat;
},
"./node_modules/core-js-pure/es/parse-int.js": function (e, t, r) {
r("./node_modules/core-js-pure/modules/es.parse-int.js");
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = n.parseInt;
},
"./node_modules/core-js-pure/es/promise/index.js": function (e, t, r) {
r("./node_modules/core-js-pure/modules/es.aggregate-error.js"),
r("./node_modules/core-js-pure/modules/es.object.to-string.js"),
r("./node_modules/core-js-pure/modules/es.promise.js"),
r("./node_modules/core-js-pure/modules/es.promise.all-settled.js"),
r("./node_modules/core-js-pure/modules/es.promise.any.js"),
r("./node_modules/core-js-pure/modules/es.promise.finally.js"),
r("./node_modules/core-js-pure/modules/es.string.iterator.js"),
r(
"./node_modules/core-js-pure/modules/web.dom-collections.iterator.js"
);
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = n.Promise;
},
"./node_modules/core-js-pure/es/reflect/apply.js": function (e, t, r) {
r("./node_modules/core-js-pure/modules/es.reflect.apply.js");
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = n.Reflect.apply;
},
"./node_modules/core-js-pure/es/reflect/construct.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.reflect.construct.js");
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = n.Reflect.construct;
},
"./node_modules/core-js-pure/es/reflect/delete-property.js": function (
e,
t,
r
) {
r(
"./node_modules/core-js-pure/modules/es.reflect.delete-property.js"
);
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = n.Reflect.deleteProperty;
},
"./node_modules/core-js-pure/es/reflect/get-prototype-of.js": function (
e,
t,
r
) {
r(
"./node_modules/core-js-pure/modules/es.reflect.get-prototype-of.js"
);
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = n.Reflect.getPrototypeOf;
},
"./node_modules/core-js-pure/es/reflect/get.js": function (e, t, r) {
r("./node_modules/core-js-pure/modules/es.reflect.get.js");
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = n.Reflect.get;
},
"./node_modules/core-js-pure/es/string/virtual/includes.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.string.includes.js");
var n = r("./node_modules/core-js-pure/internals/entry-virtual.js");
e.exports = n("String").includes;
},
"./node_modules/core-js-pure/es/string/virtual/starts-with.js":
function (e, t, r) {
r("./node_modules/core-js-pure/modules/es.string.starts-with.js");
var n = r("./node_modules/core-js-pure/internals/entry-virtual.js");
e.exports = n("String").startsWith;
},
"./node_modules/core-js-pure/es/string/virtual/trim.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.string.trim.js");
var n = r("./node_modules/core-js-pure/internals/entry-virtual.js");
e.exports = n("String").trim;
},
"./node_modules/core-js-pure/es/symbol/index.js": function (e, t, r) {
r("./node_modules/core-js-pure/modules/es.array.concat.js"),
r("./node_modules/core-js-pure/modules/es.object.to-string.js"),
r("./node_modules/core-js-pure/modules/es.symbol.js"),
r(
"./node_modules/core-js-pure/modules/es.symbol.async-iterator.js"
),
r("./node_modules/core-js-pure/modules/es.symbol.description.js"),
r("./node_modules/core-js-pure/modules/es.symbol.has-instance.js"),
r(
"./node_modules/core-js-pure/modules/es.symbol.is-concat-spreadable.js"
),
r("./node_modules/core-js-pure/modules/es.symbol.iterator.js"),
r("./node_modules/core-js-pure/modules/es.symbol.match.js"),
r("./node_modules/core-js-pure/modules/es.symbol.match-all.js"),
r("./node_modules/core-js-pure/modules/es.symbol.replace.js"),
r("./node_modules/core-js-pure/modules/es.symbol.search.js"),
r("./node_modules/core-js-pure/modules/es.symbol.species.js"),
r("./node_modules/core-js-pure/modules/es.symbol.split.js"),
r("./node_modules/core-js-pure/modules/es.symbol.to-primitive.js"),
r("./node_modules/core-js-pure/modules/es.symbol.to-string-tag.js"),
r("./node_modules/core-js-pure/modules/es.symbol.unscopables.js"),
r("./node_modules/core-js-pure/modules/es.json.to-string-tag.js"),
r("./node_modules/core-js-pure/modules/es.math.to-string-tag.js"),
r(
"./node_modules/core-js-pure/modules/es.reflect.to-string-tag.js"
);
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = n.Symbol;
},
"./node_modules/core-js-pure/es/symbol/iterator.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.symbol.iterator.js"),
r("./node_modules/core-js-pure/modules/es.string.iterator.js"),
r(
"./node_modules/core-js-pure/modules/web.dom-collections.iterator.js"
);
var n = r(
"./node_modules/core-js-pure/internals/well-known-symbol-wrapped.js"
);
e.exports = n.f("iterator");
},
"./node_modules/core-js-pure/features/array/from.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/array/from.js");
e.exports = n;
},
"./node_modules/core-js-pure/features/array/is-array.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/array/is-array.js");
e.exports = n;
},
"./node_modules/core-js-pure/features/get-iterator-method.js":
function (e, t, r) {
r(
"./node_modules/core-js-pure/modules/web.dom-collections.iterator.js"
),
r("./node_modules/core-js-pure/modules/es.string.iterator.js");
var n = r(
"./node_modules/core-js-pure/internals/get-iterator-method.js"
);
e.exports = n;
},
"./node_modules/core-js-pure/features/get-iterator.js": function (
e,
t,
r
) {
r(
"./node_modules/core-js-pure/modules/web.dom-collections.iterator.js"
),
r("./node_modules/core-js-pure/modules/es.string.iterator.js");
var n = r("./node_modules/core-js-pure/internals/get-iterator.js");
e.exports = n;
},
"./node_modules/core-js-pure/features/instance/slice.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/instance/slice.js");
e.exports = n;
},
"./node_modules/core-js-pure/features/object/create.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/object/create.js");
e.exports = n;
},
"./node_modules/core-js-pure/features/object/define-property.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/es/object/define-property.js"
);
e.exports = n;
},
"./node_modules/core-js-pure/features/object/get-own-property-descriptor.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/es/object/get-own-property-descriptor.js"
);
e.exports = n;
},
"./node_modules/core-js-pure/features/object/get-prototype-of.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/es/object/get-prototype-of.js"
);
e.exports = n;
},
"./node_modules/core-js-pure/features/object/set-prototype-of.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/es/object/set-prototype-of.js"
);
e.exports = n;
},
"./node_modules/core-js-pure/features/promise/index.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/promise/index.js");
r("./node_modules/core-js-pure/modules/esnext.aggregate-error.js"),
r(
"./node_modules/core-js-pure/modules/esnext.promise.all-settled.js"
),
r("./node_modules/core-js-pure/modules/esnext.promise.try.js"),
r("./node_modules/core-js-pure/modules/esnext.promise.any.js"),
(e.exports = n);
},
"./node_modules/core-js-pure/features/reflect/get.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/reflect/get.js");
e.exports = n;
},
"./node_modules/core-js-pure/features/symbol/index.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/symbol/index.js");
r(
"./node_modules/core-js-pure/modules/esnext.symbol.async-dispose.js"
),
r("./node_modules/core-js-pure/modules/esnext.symbol.dispose.js"),
r("./node_modules/core-js-pure/modules/esnext.symbol.matcher.js"),
r("./node_modules/core-js-pure/modules/esnext.symbol.metadata.js"),
r(
"./node_modules/core-js-pure/modules/esnext.symbol.observable.js"
),
r(
"./node_modules/core-js-pure/modules/esnext.symbol.pattern-match.js"
),
r(
"./node_modules/core-js-pure/modules/esnext.symbol.replace-all.js"
),
(e.exports = n);
},
"./node_modules/core-js-pure/features/symbol/iterator.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/symbol/iterator.js");
e.exports = n;
},
"./node_modules/core-js-pure/internals/a-function.js": function (e) {
e.exports = function (e) {
if ("function" != typeof e)
throw TypeError(String(e) + " is not a function");
return e;
};
},
"./node_modules/core-js-pure/internals/a-possible-prototype.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/is-object.js");
e.exports = function (e) {
if (!n(e) && null !== e)
throw TypeError("Can't set " + String(e) + " as a prototype");
return e;
};
},
"./node_modules/core-js-pure/internals/add-to-unscopables.js":
function (e) {
e.exports = function () {};
},
"./node_modules/core-js-pure/internals/an-instance.js": function (e) {
e.exports = function (e, t, r) {
if (!(e instanceof t))
throw TypeError("Incorrect " + (r ? r + " " : "") + "invocation");
return e;
};
},
"./node_modules/core-js-pure/internals/an-object.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/is-object.js");
e.exports = function (e) {
if (!n(e)) throw TypeError(String(e) + " is not an object");
return e;
};
},
"./node_modules/core-js-pure/internals/array-fill.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/to-object.js"),
o = r("./node_modules/core-js-pure/internals/to-absolute-index.js"),
s = r("./node_modules/core-js-pure/internals/to-length.js");
e.exports = function (e) {
for (
var t = n(this),
r = s(t.length),
i = arguments.length,
a = o(i > 1 ? arguments[1] : void 0, r),
A = i > 2 ? arguments[2] : void 0,
u = void 0 === A ? r : o(A, r);
u > a;
)
t[a++] = e;
return t;
};
},
"./node_modules/core-js-pure/internals/array-for-each.js": function (
e,
t,
r
) {
"use strict";
var n = r(
"./node_modules/core-js-pure/internals/array-iteration.js"
).forEach,
o = r(
"./node_modules/core-js-pure/internals/array-method-is-strict.js"
)("forEach");
e.exports = o
? [].forEach
: function (e) {
return n(this, e, arguments.length > 1 ? arguments[1] : void 0);
};
},
"./node_modules/core-js-pure/internals/array-from.js": function (
e,
t,
r
) {
"use strict";
var n = r(
"./node_modules/core-js-pure/internals/function-bind-context.js"
),
o = r("./node_modules/core-js-pure/internals/to-object.js"),
s = r(
"./node_modules/core-js-pure/internals/call-with-safe-iteration-closing.js"
),
i = r(
"./node_modules/core-js-pure/internals/is-array-iterator-method.js"
),
a = r("./node_modules/core-js-pure/internals/to-length.js"),
A = r("./node_modules/core-js-pure/internals/create-property.js"),
u = r(
"./node_modules/core-js-pure/internals/get-iterator-method.js"
);
e.exports = function (e) {
var t,
r,
c,
l,
d,
f,
h = o(e),
p = "function" == typeof this ? this : Array,
m = arguments.length,
g = m > 1 ? arguments[1] : void 0,
y = void 0 !== g,
v = u(h),
w = 0;
if (
(y && (g = n(g, m > 2 ? arguments[2] : void 0, 2)),
null == v || (p == Array && i(v)))
)
for (r = new p((t = a(h.length))); t > w; w++)
(f = y ? g(h[w], w) : h[w]), A(r, w, f);
else
for (
d = (l = v.call(h)).next, r = new p();
!(c = d.call(l)).done;
w++
)
(f = y ? s(l, g, [c.value, w], !0) : c.value), A(r, w, f);
return (r.length = w), r;
};
},
"./node_modules/core-js-pure/internals/array-includes.js": function (
e,
t,
r
) {
var n = r(
"./node_modules/core-js-pure/internals/to-indexed-object.js"
),
o = r("./node_modules/core-js-pure/internals/to-length.js"),
s = r("./node_modules/core-js-pure/internals/to-absolute-index.js"),
i = function (e) {
return function (t, r, i) {
var a,
A = n(t),
u = o(A.length),
c = s(i, u);
if (e && r != r) {
for (; u > c; ) if ((a = A[c++]) != a) return !0;
} else
for (; u > c; c++)
if ((e || c in A) && A[c] === r) return e || c || 0;
return !e && -1;
};
};
e.exports = { includes: i(!0), indexOf: i(!1) };
},
"./node_modules/core-js-pure/internals/array-iteration.js": function (
e,
t,
r
) {
var n = r(
"./node_modules/core-js-pure/internals/function-bind-context.js"
),
o = r("./node_modules/core-js-pure/internals/indexed-object.js"),
s = r("./node_modules/core-js-pure/internals/to-object.js"),
i = r("./node_modules/core-js-pure/internals/to-length.js"),
a = r(
"./node_modules/core-js-pure/internals/array-species-create.js"
),
A = [].push,
u = function (e) {
var t = 1 == e,
r = 2 == e,
u = 3 == e,
c = 4 == e,
l = 6 == e,
d = 7 == e,
f = 5 == e || l;
return function (h, p, m, g) {
for (
var y,
v,
w = s(h),
b = o(w),
B = n(p, m, 3),
j = i(b.length),
_ = 0,
C = g || a,
x = t ? C(h, j) : r || d ? C(h, 0) : void 0;
j > _;
_++
)
if ((f || _ in b) && ((v = B((y = b[_]), _, w)), e))
if (t) x[_] = v;
else if (v)
switch (e) {
case 3:
return !0;
case 5:
return y;
case 6:
return _;
case 2:
A.call(x, y);
}
else
switch (e) {
case 4:
return !1;
case 7:
A.call(x, y);
}
return l ? -1 : u || c ? c : x;
};
};
e.exports = {
forEach: u(0),
map: u(1),
filter: u(2),
some: u(3),
every: u(4),
find: u(5),
findIndex: u(6),
filterOut: u(7),
};
},
"./node_modules/core-js-pure/internals/array-method-has-species-support.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/fails.js"),
o = r(
"./node_modules/core-js-pure/internals/well-known-symbol.js"
),
s = r(
"./node_modules/core-js-pure/internals/engine-v8-version.js"
),
i = o("species");
e.exports = function (e) {
return (
s >= 51 ||
!n(function () {
var t = [];
return (
((t.constructor = {})[i] = function () {
return { foo: 1 };
}),
1 !== t[e](Boolean).foo
);
})
);
};
},
"./node_modules/core-js-pure/internals/array-method-is-strict.js":
function (e, t, r) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/fails.js");
e.exports = function (e, t) {
var r = [][e];
return (
!!r &&
n(function () {
r.call(
null,
t ||
function () {
throw 1;
},
1
);
})
);
};
},
"./node_modules/core-js-pure/internals/array-reduce.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/a-function.js"),
o = r("./node_modules/core-js-pure/internals/to-object.js"),
s = r("./node_modules/core-js-pure/internals/indexed-object.js"),
i = r("./node_modules/core-js-pure/internals/to-length.js"),
a = function (e) {
return function (t, r, a, A) {
n(r);
var u = o(t),
c = s(u),
l = i(u.length),
d = e ? l - 1 : 0,
f = e ? -1 : 1;
if (a < 2)
for (;;) {
if (d in c) {
(A = c[d]), (d += f);
break;
}
if (((d += f), e ? d < 0 : l <= d))
throw TypeError(
"Reduce of empty array with no initial value"
);
}
for (; e ? d >= 0 : l > d; d += f)
d in c && (A = r(A, c[d], d, u));
return A;
};
};
e.exports = { left: a(!1), right: a(!0) };
},
"./node_modules/core-js-pure/internals/array-species-create.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/is-object.js"),
o = r("./node_modules/core-js-pure/internals/is-array.js"),
s = r(
"./node_modules/core-js-pure/internals/well-known-symbol.js"
)("species");
e.exports = function (e, t) {
var r;
return (
o(e) &&
("function" != typeof (r = e.constructor) ||
(r !== Array && !o(r.prototype))
? n(r) && null === (r = r[s]) && (r = void 0)
: (r = void 0)),
new (void 0 === r ? Array : r)(0 === t ? 0 : t)
);
};
},
"./node_modules/core-js-pure/internals/call-with-safe-iteration-closing.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/an-object.js"),
o = r("./node_modules/core-js-pure/internals/iterator-close.js");
e.exports = function (e, t, r, s) {
try {
return s ? t(n(r)[0], r[1]) : t(r);
} catch (t) {
throw (o(e), t);
}
};
},
"./node_modules/core-js-pure/internals/check-correctness-of-iteration.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/internals/well-known-symbol.js"
)("iterator"),
o = !1;
try {
var s = 0,
i = {
next: function () {
return { done: !!s++ };
},
return: function () {
o = !0;
},
};
(i[n] = function () {
return this;
}),
Array.from(i, function () {
throw 2;
});
} catch (e) {}
e.exports = function (e, t) {
if (!t && !o) return !1;
var r = !1;
try {
var s = {};
(s[n] = function () {
return {
next: function () {
return { done: (r = !0) };
},
};
}),
e(s);
} catch (e) {}
return r;
};
},
"./node_modules/core-js-pure/internals/classof-raw.js": function (e) {
var t = {}.toString;
e.exports = function (e) {
return t.call(e).slice(8, -1);
};
},
"./node_modules/core-js-pure/internals/classof.js": function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/internals/to-string-tag-support.js"
),
o = r("./node_modules/core-js-pure/internals/classof-raw.js"),
s = r("./node_modules/core-js-pure/internals/well-known-symbol.js")(
"toStringTag"
),
i =
"Arguments" ==
o(
(function () {
return arguments;
})()
);
e.exports = n
? o
: function (e) {
var t, r, n;
return void 0 === e
? "Undefined"
: null === e
? "Null"
: "string" ==
typeof (r = (function (e, t) {
try {
return e[t];
} catch (e) {}
})((t = Object(e)), s))
? r
: i
? o(t)
: "Object" == (n = o(t)) && "function" == typeof t.callee
? "Arguments"
: n;
};
},
"./node_modules/core-js-pure/internals/collection-strong.js": function (
e,
t,
r
) {
"use strict";
var n = r(
"./node_modules/core-js-pure/internals/object-define-property.js"
).f,
o = r("./node_modules/core-js-pure/internals/object-create.js"),
s = r("./node_modules/core-js-pure/internals/redefine-all.js"),
i = r(
"./node_modules/core-js-pure/internals/function-bind-context.js"
),
a = r("./node_modules/core-js-pure/internals/an-instance.js"),
A = r("./node_modules/core-js-pure/internals/iterate.js"),
u = r("./node_modules/core-js-pure/internals/define-iterator.js"),
c = r("./node_modules/core-js-pure/internals/set-species.js"),
l = r("./node_modules/core-js-pure/internals/descriptors.js"),
d = r(
"./node_modules/core-js-pure/internals/internal-metadata.js"
).fastKey,
f = r("./node_modules/core-js-pure/internals/internal-state.js"),
h = f.set,
p = f.getterFor;
e.exports = {
getConstructor: function (e, t, r, u) {
var c = e(function (e, n) {
a(e, c, t),
h(e, {
type: t,
index: o(null),
first: void 0,
last: void 0,
size: 0,
}),
l || (e.size = 0),
null != n && A(n, e[u], { that: e, AS_ENTRIES: r });
}),
f = p(t),
m = function (e, t, r) {
var n,
o,
s = f(e),
i = g(e, t);
return (
i
? (i.value = r)
: ((s.last = i =
{
index: (o = d(t, !0)),
key: t,
value: r,
previous: (n = s.last),
next: void 0,
removed: !1,
}),
s.first || (s.first = i),
n && (n.next = i),
l ? s.size++ : e.size++,
"F" !== o && (s.index[o] = i)),
e
);
},
g = function (e, t) {
var r,
n = f(e),
o = d(t);
if ("F" !== o) return n.index[o];
for (r = n.first; r; r = r.next) if (r.key == t) return r;
};
return (
s(c.prototype, {
clear: function () {
for (var e = f(this), t = e.index, r = e.first; r; )
(r.removed = !0),
r.previous && (r.previous = r.previous.next = void 0),
delete t[r.index],
(r = r.next);
(e.first = e.last = void 0),
l ? (e.size = 0) : (this.size = 0);
},
delete: function (e) {
var t = this,
r = f(t),
n = g(t, e);
if (n) {
var o = n.next,
s = n.previous;
delete r.index[n.index],
(n.removed = !0),
s && (s.next = o),
o && (o.previous = s),
r.first == n && (r.first = o),
r.last == n && (r.last = s),
l ? r.size-- : t.size--;
}
return !!n;
},
forEach: function (e) {
for (
var t,
r = f(this),
n = i(
e,
arguments.length > 1 ? arguments[1] : void 0,
3
);
(t = t ? t.next : r.first);
)
for (n(t.value, t.key, this); t && t.removed; )
t = t.previous;
},
has: function (e) {
return !!g(this, e);
},
}),
s(
c.prototype,
r
? {
get: function (e) {
var t = g(this, e);
return t && t.value;
},
set: function (e, t) {
return m(this, 0 === e ? 0 : e, t);
},
}
: {
add: function (e) {
return m(this, (e = 0 === e ? 0 : e), e);
},
}
),
l &&
n(c.prototype, "size", {
get: function () {
return f(this).size;
},
}),
c
);
},
setStrong: function (e, t, r) {
var n = t + " Iterator",
o = p(t),
s = p(n);
u(
e,
t,
function (e, t) {
h(this, {
type: n,
target: e,
state: o(e),
kind: t,
last: void 0,
});
},
function () {
for (
var e = s(this), t = e.kind, r = e.last;
r && r.removed;
)
r = r.previous;
return e.target && (e.last = r = r ? r.next : e.state.first)
? "keys" == t
? { value: r.key, done: !1 }
: "values" == t
? { value: r.value, done: !1 }
: { value: [r.key, r.value], done: !1 }
: ((e.target = void 0), { value: void 0, done: !0 });
},
r ? "entries" : "values",
!r,
!0
),
c(t);
},
};
},
"./node_modules/core-js-pure/internals/collection.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/global.js"),
s = r("./node_modules/core-js-pure/internals/internal-metadata.js"),
i = r("./node_modules/core-js-pure/internals/fails.js"),
a = r(
"./node_modules/core-js-pure/internals/create-non-enumerable-property.js"
),
A = r("./node_modules/core-js-pure/internals/iterate.js"),
u = r("./node_modules/core-js-pure/internals/an-instance.js"),
c = r("./node_modules/core-js-pure/internals/is-object.js"),
l = r("./node_modules/core-js-pure/internals/set-to-string-tag.js"),
d = r(
"./node_modules/core-js-pure/internals/object-define-property.js"
).f,
f = r(
"./node_modules/core-js-pure/internals/array-iteration.js"
).forEach,
h = r("./node_modules/core-js-pure/internals/descriptors.js"),
p = r("./node_modules/core-js-pure/internals/internal-state.js"),
m = p.set,
g = p.getterFor;
e.exports = function (e, t, r) {
var p,
y = -1 !== e.indexOf("Map"),
v = -1 !== e.indexOf("Weak"),
w = y ? "set" : "add",
b = o[e],
B = b && b.prototype,
j = {};
if (
h &&
"function" == typeof b &&
(v ||
(B.forEach &&
!i(function () {
new b().entries().next();
})))
) {
p = t(function (t, r) {
m(u(t, p, e), { type: e, collection: new b() }),
null != r && A(r, t[w], { that: t, AS_ENTRIES: y });
});
var _ = g(e);
f(
[
"add",
"clear",
"delete",
"forEach",
"get",
"has",
"set",
"keys",
"values",
"entries",
],
function (e) {
var t = "add" == e || "set" == e;
!(e in B) ||
(v && "clear" == e) ||
a(p.prototype, e, function (r, n) {
var o = _(this).collection;
if (!t && v && !c(r)) return "get" == e && void 0;
var s = o[e](0 === r ? 0 : r, n);
return t ? this : s;
});
}
),
v ||
d(p.prototype, "size", {
configurable: !0,
get: function () {
return _(this).collection.size;
},
});
} else (p = r.getConstructor(t, e, y, w)), (s.REQUIRED = !0);
return (
l(p, e, !1, !0),
(j[e] = p),
n({ global: !0, forced: !0 }, j),
v || r.setStrong(p, e, y),
p
);
};
},
"./node_modules/core-js-pure/internals/correct-is-regexp-logic.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/internals/well-known-symbol.js"
)("match");
e.exports = function (e) {
var t = /./;
try {
"/./"[e](t);
} catch (r) {
try {
return (t[n] = !1), "/./"[e](t);
} catch (e) {}
}
return !1;
};
},
"./node_modules/core-js-pure/internals/correct-prototype-getter.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/fails.js");
e.exports = !n(function () {
function e() {}
return (
(e.prototype.constructor = null),
Object.getPrototypeOf(new e()) !== e.prototype
);
});
},
"./node_modules/core-js-pure/internals/create-iterator-constructor.js":
function (e, t, r) {
"use strict";
var n = r(
"./node_modules/core-js-pure/internals/iterators-core.js"
).IteratorPrototype,
o = r("./node_modules/core-js-pure/internals/object-create.js"),
s = r(
"./node_modules/core-js-pure/internals/create-property-descriptor.js"
),
i = r(
"./node_modules/core-js-pure/internals/set-to-string-tag.js"
),
a = r("./node_modules/core-js-pure/internals/iterators.js"),
A = function () {
return this;
};
e.exports = function (e, t, r) {
var u = t + " Iterator";
return (
(e.prototype = o(n, { next: s(1, r) })),
i(e, u, !1, !0),
(a[u] = A),
e
);
};
},
"./node_modules/core-js-pure/internals/create-non-enumerable-property.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/descriptors.js"),
o = r(
"./node_modules/core-js-pure/internals/object-define-property.js"
),
s = r(
"./node_modules/core-js-pure/internals/create-property-descriptor.js"
);
e.exports = n
? function (e, t, r) {
return o.f(e, t, s(1, r));
}
: function (e, t, r) {
return (e[t] = r), e;
};
},
"./node_modules/core-js-pure/internals/create-property-descriptor.js":
function (e) {
e.exports = function (e, t) {
return {
enumerable: !(1 & e),
configurable: !(2 & e),
writable: !(4 & e),
value: t,
};
};
},
"./node_modules/core-js-pure/internals/create-property.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/to-primitive.js"),
o = r(
"./node_modules/core-js-pure/internals/object-define-property.js"
),
s = r(
"./node_modules/core-js-pure/internals/create-property-descriptor.js"
);
e.exports = function (e, t, r) {
var i = n(t);
i in e ? o.f(e, i, s(0, r)) : (e[i] = r);
};
},
"./node_modules/core-js-pure/internals/define-iterator.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r(
"./node_modules/core-js-pure/internals/create-iterator-constructor.js"
),
s = r(
"./node_modules/core-js-pure/internals/object-get-prototype-of.js"
),
i = r(
"./node_modules/core-js-pure/internals/object-set-prototype-of.js"
),
a = r("./node_modules/core-js-pure/internals/set-to-string-tag.js"),
A = r(
"./node_modules/core-js-pure/internals/create-non-enumerable-property.js"
),
u = r("./node_modules/core-js-pure/internals/redefine.js"),
c = r("./node_modules/core-js-pure/internals/well-known-symbol.js"),
l = r("./node_modules/core-js-pure/internals/is-pure.js"),
d = r("./node_modules/core-js-pure/internals/iterators.js"),
f = r("./node_modules/core-js-pure/internals/iterators-core.js"),
h = f.IteratorPrototype,
p = f.BUGGY_SAFARI_ITERATORS,
m = c("iterator"),
g = "keys",
y = "values",
v = "entries",
w = function () {
return this;
};
e.exports = function (e, t, r, c, f, b, B) {
o(r, t, c);
var j,
_,
C,
x = function (e) {
if (e === f && U) return U;
if (!p && e in Q) return Q[e];
switch (e) {
case g:
case y:
case v:
return function () {
return new r(this, e);
};
}
return function () {
return new r(this);
};
},
E = t + " Iterator",
N = !1,
Q = e.prototype,
F = Q[m] || Q["@@iterator"] || (f && Q[f]),
U = (!p && F) || x(f),
S = ("Array" == t && Q.entries) || F;
if (
(S &&
((j = s(S.call(new e()))),
h !== Object.prototype &&
j.next &&
(l ||
s(j) === h ||
(i ? i(j, h) : "function" != typeof j[m] && A(j, m, w)),
a(j, E, !0, !0),
l && (d[E] = w))),
f == y &&
F &&
F.name !== y &&
((N = !0),
(U = function () {
return F.call(this);
})),
(l && !B) || Q[m] === U || A(Q, m, U),
(d[t] = U),
f)
)
if (
((_ = { values: x(y), keys: b ? U : x(g), entries: x(v) }), B)
)
for (C in _) (p || N || !(C in Q)) && u(Q, C, _[C]);
else n({ target: t, proto: !0, forced: p || N }, _);
return _;
};
},
"./node_modules/core-js-pure/internals/define-well-known-symbol.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/path.js"),
o = r("./node_modules/core-js-pure/internals/has.js"),
s = r(
"./node_modules/core-js-pure/internals/well-known-symbol-wrapped.js"
),
i = r(
"./node_modules/core-js-pure/internals/object-define-property.js"
).f;
e.exports = function (e) {
var t = n.Symbol || (n.Symbol = {});
o(t, e) || i(t, e, { value: s.f(e) });
};
},
"./node_modules/core-js-pure/internals/descriptors.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/fails.js");
e.exports = !n(function () {
return (
7 !=
Object.defineProperty({}, 1, {
get: function () {
return 7;
},
})[1]
);
});
},
"./node_modules/core-js-pure/internals/document-create-element.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/global.js"),
o = r("./node_modules/core-js-pure/internals/is-object.js"),
s = n.document,
i = o(s) && o(s.createElement);
e.exports = function (e) {
return i ? s.createElement(e) : {};
};
},
"./node_modules/core-js-pure/internals/dom-iterables.js": function (e) {
e.exports = {
CSSRuleList: 0,
CSSStyleDeclaration: 0,
CSSValueList: 0,
ClientRectList: 0,
DOMRectList: 0,
DOMStringList: 0,
DOMTokenList: 1,
DataTransferItemList: 0,
FileList: 0,
HTMLAllCollection: 0,
HTMLCollection: 0,
HTMLFormElement: 0,
HTMLSelectElement: 0,
MediaList: 0,
MimeTypeArray: 0,
NamedNodeMap: 0,
NodeList: 1,
PaintRequestList: 0,
Plugin: 0,
PluginArray: 0,
SVGLengthList: 0,
SVGNumberList: 0,
SVGPathSegList: 0,
SVGPointList: 0,
SVGStringList: 0,
SVGTransformList: 0,
SourceBufferList: 0,
StyleSheetList: 0,
TextTrackCueList: 0,
TextTrackList: 0,
TouchList: 0,
};
},
"./node_modules/core-js-pure/internals/engine-is-browser.js": function (
e
) {
e.exports = "object" == typeof window;
},
"./node_modules/core-js-pure/internals/engine-is-ios.js": function (
e,
t,
r
) {
var n = r(
"./node_modules/core-js-pure/internals/engine-user-agent.js"
);
e.exports = /(?:iphone|ipod|ipad).*applewebkit/i.test(n);
},
"./node_modules/core-js-pure/internals/engine-is-node.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/classof-raw.js"),
o = r("./node_modules/core-js-pure/internals/global.js");
e.exports = "process" == n(o.process);
},
"./node_modules/core-js-pure/internals/engine-is-webos-webkit.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/internals/engine-user-agent.js"
);
e.exports = /web0s(?!.*chrome)/i.test(n);
},
"./node_modules/core-js-pure/internals/engine-user-agent.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/get-built-in.js");
e.exports = n("navigator", "userAgent") || "";
},
"./node_modules/core-js-pure/internals/engine-v8-version.js": function (
e,
t,
r
) {
var n,
o,
s = r("./node_modules/core-js-pure/internals/global.js"),
i = r("./node_modules/core-js-pure/internals/engine-user-agent.js"),
a = s.process,
A = a && a.versions,
u = A && A.v8;
u
? (o = (n = u.split("."))[0] < 4 ? 1 : n[0] + n[1])
: i &&
(!(n = i.match(/Edge\/(\d+)/)) || n[1] >= 74) &&
(n = i.match(/Chrome\/(\d+)/)) &&
(o = n[1]),
(e.exports = o && +o);
},
"./node_modules/core-js-pure/internals/entry-virtual.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/path.js");
e.exports = function (e) {
return n[e + "Prototype"];
};
},
"./node_modules/core-js-pure/internals/enum-bug-keys.js": function (e) {
e.exports = [
"constructor",
"hasOwnProperty",
"isPrototypeOf",
"propertyIsEnumerable",
"toLocaleString",
"toString",
"valueOf",
];
},
"./node_modules/core-js-pure/internals/export.js": function (e, t, r) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/global.js"),
o = r(
"./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js"
).f,
s = r("./node_modules/core-js-pure/internals/is-forced.js"),
i = r("./node_modules/core-js-pure/internals/path.js"),
a = r(
"./node_modules/core-js-pure/internals/function-bind-context.js"
),
A = r(
"./node_modules/core-js-pure/internals/create-non-enumerable-property.js"
),
u = r("./node_modules/core-js-pure/internals/has.js"),
c = function (e) {
var t = function (t, r, n) {
if (this instanceof e) {
switch (arguments.length) {
case 0:
return new e();
case 1:
return new e(t);
case 2:
return new e(t, r);
}
return new e(t, r, n);
}
return e.apply(this, arguments);
};
return (t.prototype = e.prototype), t;
};
e.exports = function (e, t) {
var r,
l,
d,
f,
h,
p,
m,
g,
y = e.target,
v = e.global,
w = e.stat,
b = e.proto,
B = v ? n : w ? n[y] : (n[y] || {}).prototype,
j = v ? i : i[y] || (i[y] = {}),
_ = j.prototype;
for (d in t)
(r =
!s(v ? d : y + (w ? "." : "#") + d, e.forced) && B && u(B, d)),
(h = j[d]),
r && (p = e.noTargetGet ? (g = o(B, d)) && g.value : B[d]),
(f = r && p ? p : t[d]),
(r && typeof h == typeof f) ||
((m =
e.bind && r
? a(f, n)
: e.wrap && r
? c(f)
: b && "function" == typeof f
? a(Function.call, f)
: f),
(e.sham || (f && f.sham) || (h && h.sham)) &&
A(m, "sham", !0),
(j[d] = m),
b &&
(u(i, (l = y + "Prototype")) || A(i, l, {}),
(i[l][d] = f),
e.real && _ && !_[d] && A(_, d, f)));
};
},
"./node_modules/core-js-pure/internals/fails.js": function (e) {
e.exports = function (e) {
try {
return !!e();
} catch (e) {
return !0;
}
};
},
"./node_modules/core-js-pure/internals/freezing.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/fails.js");
e.exports = !n(function () {
return Object.isExtensible(Object.preventExtensions({}));
});
},
"./node_modules/core-js-pure/internals/function-bind-context.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/a-function.js");
e.exports = function (e, t, r) {
if ((n(e), void 0 === t)) return e;
switch (r) {
case 0:
return function () {
return e.call(t);
};
case 1:
return function (r) {
return e.call(t, r);
};
case 2:
return function (r, n) {
return e.call(t, r, n);
};
case 3:
return function (r, n, o) {
return e.call(t, r, n, o);
};
}
return function () {
return e.apply(t, arguments);
};
};
},
"./node_modules/core-js-pure/internals/function-bind.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/a-function.js"),
o = r("./node_modules/core-js-pure/internals/is-object.js"),
s = [].slice,
i = {},
a = function (e, t, r) {
if (!(t in i)) {
for (var n = [], o = 0; o < t; o++) n[o] = "a[" + o + "]";
i[t] = Function("C,a", "return new C(" + n.join(",") + ")");
}
return i[t](e, r);
};
e.exports =
Function.bind ||
function (e) {
var t = n(this),
r = s.call(arguments, 1),
i = function () {
var n = r.concat(s.call(arguments));
return this instanceof i ? a(t, n.length, n) : t.apply(e, n);
};
return o(t.prototype) && (i.prototype = t.prototype), i;
};
},
"./node_modules/core-js-pure/internals/get-built-in.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/path.js"),
o = r("./node_modules/core-js-pure/internals/global.js"),
s = function (e) {
return "function" == typeof e ? e : void 0;
};
e.exports = function (e, t) {
return arguments.length < 2
? s(n[e]) || s(o[e])
: (n[e] && n[e][t]) || (o[e] && o[e][t]);
};
},
"./node_modules/core-js-pure/internals/get-iterator-method.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/classof.js"),
o = r("./node_modules/core-js-pure/internals/iterators.js"),
s = r(
"./node_modules/core-js-pure/internals/well-known-symbol.js"
)("iterator");
e.exports = function (e) {
if (null != e) return e[s] || e["@@iterator"] || o[n(e)];
};
},
"./node_modules/core-js-pure/internals/get-iterator.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/an-object.js"),
o = r(
"./node_modules/core-js-pure/internals/get-iterator-method.js"
);
e.exports = function (e) {
var t = o(e);
if ("function" != typeof t)
throw TypeError(String(e) + " is not iterable");
return n(t.call(e));
};
},
"./node_modules/core-js-pure/internals/global.js": function (e) {
var t = function (e) {
return e && e.Math == Math && e;
};
e.exports =
t("object" == typeof globalThis && globalThis) ||
t("object" == typeof window && window) ||
t("object" == typeof self && self) ||
t("object" == typeof global && global) ||
(function () {
return this;
})() ||
Function("return this")();
},
"./node_modules/core-js-pure/internals/has.js": function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/to-object.js"),
o = {}.hasOwnProperty;
e.exports =
Object.hasOwn ||
function (e, t) {
return o.call(n(e), t);
};
},
"./node_modules/core-js-pure/internals/hidden-keys.js": function (e) {
e.exports = {};
},
"./node_modules/core-js-pure/internals/host-report-errors.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/global.js");
e.exports = function (e, t) {
var r = n.console;
r &&
r.error &&
(1 === arguments.length ? r.error(e) : r.error(e, t));
};
},
"./node_modules/core-js-pure/internals/html.js": function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/get-built-in.js");
e.exports = n("document", "documentElement");
},
"./node_modules/core-js-pure/internals/ie8-dom-define.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/descriptors.js"),
o = r("./node_modules/core-js-pure/internals/fails.js"),
s = r(
"./node_modules/core-js-pure/internals/document-create-element.js"
);
e.exports =
!n &&
!o(function () {
return (
7 !=
Object.defineProperty(s("div"), "a", {
get: function () {
return 7;
},
}).a
);
});
},
"./node_modules/core-js-pure/internals/indexed-object.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/fails.js"),
o = r("./node_modules/core-js-pure/internals/classof-raw.js"),
s = "".split;
e.exports = n(function () {
return !Object("z").propertyIsEnumerable(0);
})
? function (e) {
return "String" == o(e) ? s.call(e, "") : Object(e);
}
: Object;
},
"./node_modules/core-js-pure/internals/inspect-source.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/shared-store.js"),
o = Function.toString;
"function" != typeof n.inspectSource &&
(n.inspectSource = function (e) {
return o.call(e);
}),
(e.exports = n.inspectSource);
},
"./node_modules/core-js-pure/internals/internal-metadata.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/hidden-keys.js"),
o = r("./node_modules/core-js-pure/internals/is-object.js"),
s = r("./node_modules/core-js-pure/internals/has.js"),
i = r(
"./node_modules/core-js-pure/internals/object-define-property.js"
).f,
a = r("./node_modules/core-js-pure/internals/uid.js"),
A = r("./node_modules/core-js-pure/internals/freezing.js"),
u = a("meta"),
c = 0,
l =
Object.isExtensible ||
function () {
return !0;
},
d = function (e) {
i(e, u, { value: { objectID: "O" + c++, weakData: {} } });
},
f = (e.exports = {
REQUIRED: !1,
fastKey: function (e, t) {
if (!o(e))
return "symbol" == typeof e
? e
: ("string" == typeof e ? "S" : "P") + e;
if (!s(e, u)) {
if (!l(e)) return "F";
if (!t) return "E";
d(e);
}
return e[u].objectID;
},
getWeakData: function (e, t) {
if (!s(e, u)) {
if (!l(e)) return !0;
if (!t) return !1;
d(e);
}
return e[u].weakData;
},
onFreeze: function (e) {
return A && f.REQUIRED && l(e) && !s(e, u) && d(e), e;
},
});
n[u] = !0;
},
"./node_modules/core-js-pure/internals/internal-state.js": function (
e,
t,
r
) {
var n,
o,
s,
i = r("./node_modules/core-js-pure/internals/native-weak-map.js"),
a = r("./node_modules/core-js-pure/internals/global.js"),
A = r("./node_modules/core-js-pure/internals/is-object.js"),
u = r(
"./node_modules/core-js-pure/internals/create-non-enumerable-property.js"
),
c = r("./node_modules/core-js-pure/internals/has.js"),
l = r("./node_modules/core-js-pure/internals/shared-store.js"),
d = r("./node_modules/core-js-pure/internals/shared-key.js"),
f = r("./node_modules/core-js-pure/internals/hidden-keys.js"),
h = "Object already initialized",
p = a.WeakMap;
if (i || l.state) {
var m = l.state || (l.state = new p()),
g = m.get,
y = m.has,
v = m.set;
(n = function (e, t) {
if (y.call(m, e)) throw new TypeError(h);
return (t.facade = e), v.call(m, e, t), t;
}),
(o = function (e) {
return g.call(m, e) || {};
}),
(s = function (e) {
return y.call(m, e);
});
} else {
var w = d("state");
(f[w] = !0),
(n = function (e, t) {
if (c(e, w)) throw new TypeError(h);
return (t.facade = e), u(e, w, t), t;
}),
(o = function (e) {
return c(e, w) ? e[w] : {};
}),
(s = function (e) {
return c(e, w);
});
}
e.exports = {
set: n,
get: o,
has: s,
enforce: function (e) {
return s(e) ? o(e) : n(e, {});
},
getterFor: function (e) {
return function (t) {
var r;
if (!A(t) || (r = o(t)).type !== e)
throw TypeError("Incompatible receiver, " + e + " required");
return r;
};
},
};
},
"./node_modules/core-js-pure/internals/is-array-iterator-method.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/internals/well-known-symbol.js"
),
o = r("./node_modules/core-js-pure/internals/iterators.js"),
s = n("iterator"),
i = Array.prototype;
e.exports = function (e) {
return void 0 !== e && (o.Array === e || i[s] === e);
};
},
"./node_modules/core-js-pure/internals/is-array.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/classof-raw.js");
e.exports =
Array.isArray ||
function (e) {
return "Array" == n(e);
};
},
"./node_modules/core-js-pure/internals/is-forced.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/fails.js"),
o = /#|\.prototype\./,
s = function (e, t) {
var r = a[i(e)];
return (
r == u || (r != A && ("function" == typeof t ? n(t) : !!t))
);
},
i = (s.normalize = function (e) {
return String(e).replace(o, ".").toLowerCase();
}),
a = (s.data = {}),
A = (s.NATIVE = "N"),
u = (s.POLYFILL = "P");
e.exports = s;
},
"./node_modules/core-js-pure/internals/is-object.js": function (e) {
e.exports = function (e) {
return "object" == typeof e ? null !== e : "function" == typeof e;
};
},
"./node_modules/core-js-pure/internals/is-pure.js": function (e) {
e.exports = !0;
},
"./node_modules/core-js-pure/internals/is-regexp.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/is-object.js"),
o = r("./node_modules/core-js-pure/internals/classof-raw.js"),
s = r("./node_modules/core-js-pure/internals/well-known-symbol.js")(
"match"
);
e.exports = function (e) {
var t;
return n(e) && (void 0 !== (t = e[s]) ? !!t : "RegExp" == o(e));
};
},
"./node_modules/core-js-pure/internals/iterate.js": function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/an-object.js"),
o = r(
"./node_modules/core-js-pure/internals/is-array-iterator-method.js"
),
s = r("./node_modules/core-js-pure/internals/to-length.js"),
i = r(
"./node_modules/core-js-pure/internals/function-bind-context.js"
),
a = r(
"./node_modules/core-js-pure/internals/get-iterator-method.js"
),
A = r("./node_modules/core-js-pure/internals/iterator-close.js"),
u = function (e, t) {
(this.stopped = e), (this.result = t);
};
e.exports = function (e, t, r) {
var c,
l,
d,
f,
h,
p,
m,
g = r && r.that,
y = !(!r || !r.AS_ENTRIES),
v = !(!r || !r.IS_ITERATOR),
w = !(!r || !r.INTERRUPTED),
b = i(t, g, 1 + y + w),
B = function (e) {
return c && A(c), new u(!0, e);
},
j = function (e) {
return y
? (n(e), w ? b(e[0], e[1], B) : b(e[0], e[1]))
: w
? b(e, B)
: b(e);
};
if (v) c = e;
else {
if ("function" != typeof (l = a(e)))
throw TypeError("Target is not iterable");
if (o(l)) {
for (d = 0, f = s(e.length); f > d; d++)
if ((h = j(e[d])) && h instanceof u) return h;
return new u(!1);
}
c = l.call(e);
}
for (p = c.next; !(m = p.call(c)).done; ) {
try {
h = j(m.value);
} catch (e) {
throw (A(c), e);
}
if ("object" == typeof h && h && h instanceof u) return h;
}
return new u(!1);
};
},
"./node_modules/core-js-pure/internals/iterator-close.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/an-object.js");
e.exports = function (e) {
var t = e.return;
if (void 0 !== t) return n(t.call(e)).value;
};
},
"./node_modules/core-js-pure/internals/iterators-core.js": function (
e,
t,
r
) {
"use strict";
var n,
o,
s,
i = r("./node_modules/core-js-pure/internals/fails.js"),
a = r(
"./node_modules/core-js-pure/internals/object-get-prototype-of.js"
),
A = r(
"./node_modules/core-js-pure/internals/create-non-enumerable-property.js"
),
u = r("./node_modules/core-js-pure/internals/has.js"),
c = r("./node_modules/core-js-pure/internals/well-known-symbol.js"),
l = r("./node_modules/core-js-pure/internals/is-pure.js"),
d = c("iterator"),
f = !1;
[].keys &&
("next" in (s = [].keys())
? (o = a(a(s))) !== Object.prototype && (n = o)
: (f = !0));
var h =
null == n ||
i(function () {
var e = {};
return n[d].call(e) !== e;
});
h && (n = {}),
(l && !h) ||
u(n, d) ||
A(n, d, function () {
return this;
}),
(e.exports = { IteratorPrototype: n, BUGGY_SAFARI_ITERATORS: f });
},
"./node_modules/core-js-pure/internals/iterators.js": function (e) {
e.exports = {};
},
"./node_modules/core-js-pure/internals/microtask.js": function (
e,
t,
r
) {
var n,
o,
s,
i,
a,
A,
u,
c,
l = r("./node_modules/core-js-pure/internals/global.js"),
d = r(
"./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js"
).f,
f = r("./node_modules/core-js-pure/internals/task.js").set,
h = r("./node_modules/core-js-pure/internals/engine-is-ios.js"),
p = r(
"./node_modules/core-js-pure/internals/engine-is-webos-webkit.js"
),
m = r("./node_modules/core-js-pure/internals/engine-is-node.js"),
g = l.MutationObserver || l.WebKitMutationObserver,
y = l.document,
v = l.process,
w = l.Promise,
b = d(l, "queueMicrotask"),
B = b && b.value;
B ||
((n = function () {
var e, t;
for (m && (e = v.domain) && e.exit(); o; ) {
(t = o.fn), (o = o.next);
try {
t();
} catch (e) {
throw (o ? i() : (s = void 0), e);
}
}
(s = void 0), e && e.enter();
}),
h || m || p || !g || !y
? w && w.resolve
? (((u = w.resolve(void 0)).constructor = w),
(c = u.then),
(i = function () {
c.call(u, n);
}))
: (i = m
? function () {
v.nextTick(n);
}
: function () {
f.call(l, n);
})
: ((a = !0),
(A = y.createTextNode("")),
new g(n).observe(A, { characterData: !0 }),
(i = function () {
A.data = a = !a;
}))),
(e.exports =
B ||
function (e) {
var t = { fn: e, next: void 0 };
s && (s.next = t), o || ((o = t), i()), (s = t);
});
},
"./node_modules/core-js-pure/internals/native-promise-constructor.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/global.js");
e.exports = n.Promise;
},
"./node_modules/core-js-pure/internals/native-symbol.js": function (
e,
t,
r
) {
var n = r(
"./node_modules/core-js-pure/internals/engine-v8-version.js"
),
o = r("./node_modules/core-js-pure/internals/fails.js");
e.exports =
!!Object.getOwnPropertySymbols &&
!o(function () {
var e = Symbol();
return (
!String(e) ||
!(Object(e) instanceof Symbol) ||
(!Symbol.sham && n && n < 41)
);
});
},
"./node_modules/core-js-pure/internals/native-weak-map.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/global.js"),
o = r("./node_modules/core-js-pure/internals/inspect-source.js"),
s = n.WeakMap;
e.exports = "function" == typeof s && /native code/.test(o(s));
},
"./node_modules/core-js-pure/internals/new-promise-capability.js":
function (e, t, r) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/a-function.js"),
o = function (e) {
var t, r;
(this.promise = new e(function (e, n) {
if (void 0 !== t || void 0 !== r)
throw TypeError("Bad Promise constructor");
(t = e), (r = n);
})),
(this.resolve = n(t)),
(this.reject = n(r));
};
e.exports.f = function (e) {
return new o(e);
};
},
"./node_modules/core-js-pure/internals/not-a-regexp.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/is-regexp.js");
e.exports = function (e) {
if (n(e))
throw TypeError("The method doesn't accept regular expressions");
return e;
};
},
"./node_modules/core-js-pure/internals/number-parse-float.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/global.js"),
o = r(
"./node_modules/core-js-pure/internals/string-trim.js"
).trim,
s = r("./node_modules/core-js-pure/internals/whitespaces.js"),
i = n.parseFloat,
a = 1 / i(s + "-0") != -1 / 0;
e.exports = a
? function (e) {
var t = o(String(e)),
r = i(t);
return 0 === r && "-" == t.charAt(0) ? -0 : r;
}
: i;
},
"./node_modules/core-js-pure/internals/number-parse-int.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/global.js"),
o = r("./node_modules/core-js-pure/internals/string-trim.js").trim,
s = r("./node_modules/core-js-pure/internals/whitespaces.js"),
i = n.parseInt,
a = /^[+-]?0[Xx]/,
A = 8 !== i(s + "08") || 22 !== i(s + "0x16");
e.exports = A
? function (e, t) {
var r = o(String(e));
return i(r, t >>> 0 || (a.test(r) ? 16 : 10));
}
: i;
},
"./node_modules/core-js-pure/internals/object-create.js": function (
e,
t,
r
) {
var n,
o = r("./node_modules/core-js-pure/internals/an-object.js"),
s = r(
"./node_modules/core-js-pure/internals/object-define-properties.js"
),
i = r("./node_modules/core-js-pure/internals/enum-bug-keys.js"),
a = r("./node_modules/core-js-pure/internals/hidden-keys.js"),
A = r("./node_modules/core-js-pure/internals/html.js"),
u = r(
"./node_modules/core-js-pure/internals/document-create-element.js"
),
c = r("./node_modules/core-js-pure/internals/shared-key.js")(
"IE_PROTO"
),
l = function () {},
d = function (e) {
return "";
},
f = function () {
try {
n = document.domain && new ActiveXObject("htmlfile");
} catch (e) {}
var e, t;
f = n
? (function (e) {
e.write(d("")), e.close();
var t = e.parentWindow.Object;
return (e = null), t;
})(n)
: (((t = u("iframe")).style.display = "none"),
A.appendChild(t),
(t.src = String("javascript:")),
(e = t.contentWindow.document).open(),
e.write(d("document.F=Object")),
e.close(),
e.F);
for (var r = i.length; r--; ) delete f.prototype[i[r]];
return f();
};
(a[c] = !0),
(e.exports =
Object.create ||
function (e, t) {
var r;
return (
null !== e
? ((l.prototype = o(e)),
(r = new l()),
(l.prototype = null),
(r[c] = e))
: (r = f()),
void 0 === t ? r : s(r, t)
);
});
},
"./node_modules/core-js-pure/internals/object-define-properties.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/descriptors.js"),
o = r(
"./node_modules/core-js-pure/internals/object-define-property.js"
),
s = r("./node_modules/core-js-pure/internals/an-object.js"),
i = r("./node_modules/core-js-pure/internals/object-keys.js");
e.exports = n
? Object.defineProperties
: function (e, t) {
s(e);
for (var r, n = i(t), a = n.length, A = 0; a > A; )
o.f(e, (r = n[A++]), t[r]);
return e;
};
},
"./node_modules/core-js-pure/internals/object-define-property.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/descriptors.js"),
o = r("./node_modules/core-js-pure/internals/ie8-dom-define.js"),
s = r("./node_modules/core-js-pure/internals/an-object.js"),
i = r("./node_modules/core-js-pure/internals/to-primitive.js"),
a = Object.defineProperty;
t.f = n
? a
: function (e, t, r) {
if ((s(e), (t = i(t, !0)), s(r), o))
try {
return a(e, t, r);
} catch (e) {}
if ("get" in r || "set" in r)
throw TypeError("Accessors not supported");
return "value" in r && (e[t] = r.value), e;
};
},
"./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/descriptors.js"),
o = r(
"./node_modules/core-js-pure/internals/object-property-is-enumerable.js"
),
s = r(
"./node_modules/core-js-pure/internals/create-property-descriptor.js"
),
i = r(
"./node_modules/core-js-pure/internals/to-indexed-object.js"
),
a = r("./node_modules/core-js-pure/internals/to-primitive.js"),
A = r("./node_modules/core-js-pure/internals/has.js"),
u = r("./node_modules/core-js-pure/internals/ie8-dom-define.js"),
c = Object.getOwnPropertyDescriptor;
t.f = n
? c
: function (e, t) {
if (((e = i(e)), (t = a(t, !0)), u))
try {
return c(e, t);
} catch (e) {}
if (A(e, t)) return s(!o.f.call(e, t), e[t]);
};
},
"./node_modules/core-js-pure/internals/object-get-own-property-names-external.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/internals/to-indexed-object.js"
),
o = r(
"./node_modules/core-js-pure/internals/object-get-own-property-names.js"
).f,
s = {}.toString,
i =
"object" == typeof window &&
window &&
Object.getOwnPropertyNames
? Object.getOwnPropertyNames(window)
: [];
e.exports.f = function (e) {
return i && "[object Window]" == s.call(e)
? (function (e) {
try {
return o(e);
} catch (e) {
return i.slice();
}
})(e)
: o(n(e));
};
},
"./node_modules/core-js-pure/internals/object-get-own-property-names.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/internals/object-keys-internal.js"
),
o = r(
"./node_modules/core-js-pure/internals/enum-bug-keys.js"
).concat("length", "prototype");
t.f =
Object.getOwnPropertyNames ||
function (e) {
return n(e, o);
};
},
"./node_modules/core-js-pure/internals/object-get-own-property-symbols.js":
function (e, t) {
t.f = Object.getOwnPropertySymbols;
},
"./node_modules/core-js-pure/internals/object-get-prototype-of.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/has.js"),
o = r("./node_modules/core-js-pure/internals/to-object.js"),
s = r("./node_modules/core-js-pure/internals/shared-key.js"),
i = r(
"./node_modules/core-js-pure/internals/correct-prototype-getter.js"
),
a = s("IE_PROTO"),
A = Object.prototype;
e.exports = i
? Object.getPrototypeOf
: function (e) {
return (
(e = o(e)),
n(e, a)
? e[a]
: "function" == typeof e.constructor &&
e instanceof e.constructor
? e.constructor.prototype
: e instanceof Object
? A
: null
);
};
},
"./node_modules/core-js-pure/internals/object-keys-internal.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/has.js"),
o = r(
"./node_modules/core-js-pure/internals/to-indexed-object.js"
),
s = r(
"./node_modules/core-js-pure/internals/array-includes.js"
).indexOf,
i = r("./node_modules/core-js-pure/internals/hidden-keys.js");
e.exports = function (e, t) {
var r,
a = o(e),
A = 0,
u = [];
for (r in a) !n(i, r) && n(a, r) && u.push(r);
for (; t.length > A; )
n(a, (r = t[A++])) && (~s(u, r) || u.push(r));
return u;
};
},
"./node_modules/core-js-pure/internals/object-keys.js": function (
e,
t,
r
) {
var n = r(
"./node_modules/core-js-pure/internals/object-keys-internal.js"
),
o = r("./node_modules/core-js-pure/internals/enum-bug-keys.js");
e.exports =
Object.keys ||
function (e) {
return n(e, o);
};
},
"./node_modules/core-js-pure/internals/object-property-is-enumerable.js":
function (e, t) {
"use strict";
var r = {}.propertyIsEnumerable,
n = Object.getOwnPropertyDescriptor,
o = n && !r.call({ 1: 2 }, 1);
t.f = o
? function (e) {
var t = n(this, e);
return !!t && t.enumerable;
}
: r;
},
"./node_modules/core-js-pure/internals/object-set-prototype-of.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/an-object.js"),
o = r(
"./node_modules/core-js-pure/internals/a-possible-prototype.js"
);
e.exports =
Object.setPrototypeOf ||
("__proto__" in {}
? (function () {
var e,
t = !1,
r = {};
try {
(e = Object.getOwnPropertyDescriptor(
Object.prototype,
"__proto__"
).set).call(r, []),
(t = r instanceof Array);
} catch (e) {}
return function (r, s) {
return (
n(r), o(s), t ? e.call(r, s) : (r.__proto__ = s), r
);
};
})()
: void 0);
},
"./node_modules/core-js-pure/internals/object-to-string.js": function (
e,
t,
r
) {
"use strict";
var n = r(
"./node_modules/core-js-pure/internals/to-string-tag-support.js"
),
o = r("./node_modules/core-js-pure/internals/classof.js");
e.exports = n
? {}.toString
: function () {
return "[object " + o(this) + "]";
};
},
"./node_modules/core-js-pure/internals/own-keys.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/get-built-in.js"),
o = r(
"./node_modules/core-js-pure/internals/object-get-own-property-names.js"
),
s = r(
"./node_modules/core-js-pure/internals/object-get-own-property-symbols.js"
),
i = r("./node_modules/core-js-pure/internals/an-object.js");
e.exports =
n("Reflect", "ownKeys") ||
function (e) {
var t = o.f(i(e)),
r = s.f;
return r ? t.concat(r(e)) : t;
};
},
"./node_modules/core-js-pure/internals/path.js": function (e) {
e.exports = {};
},
"./node_modules/core-js-pure/internals/perform.js": function (e) {
e.exports = function (e) {
try {
return { error: !1, value: e() };
} catch (e) {
return { error: !0, value: e };
}
};
},
"./node_modules/core-js-pure/internals/promise-resolve.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/an-object.js"),
o = r("./node_modules/core-js-pure/internals/is-object.js"),
s = r(
"./node_modules/core-js-pure/internals/new-promise-capability.js"
);
e.exports = function (e, t) {
if ((n(e), o(t) && t.constructor === e)) return t;
var r = s.f(e);
return (0, r.resolve)(t), r.promise;
};
},
"./node_modules/core-js-pure/internals/redefine-all.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/redefine.js");
e.exports = function (e, t, r) {
for (var o in t)
r && r.unsafe && e[o] ? (e[o] = t[o]) : n(e, o, t[o], r);
return e;
};
},
"./node_modules/core-js-pure/internals/redefine.js": function (
e,
t,
r
) {
var n = r(
"./node_modules/core-js-pure/internals/create-non-enumerable-property.js"
);
e.exports = function (e, t, r, o) {
o && o.enumerable ? (e[t] = r) : n(e, t, r);
};
},
"./node_modules/core-js-pure/internals/require-object-coercible.js":
function (e) {
e.exports = function (e) {
if (null == e) throw TypeError("Can't call method on " + e);
return e;
};
},
"./node_modules/core-js-pure/internals/set-global.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/global.js"),
o = r(
"./node_modules/core-js-pure/internals/create-non-enumerable-property.js"
);
e.exports = function (e, t) {
try {
o(n, e, t);
} catch (r) {
n[e] = t;
}
return t;
};
},
"./node_modules/core-js-pure/internals/set-species.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/get-built-in.js"),
o = r(
"./node_modules/core-js-pure/internals/object-define-property.js"
),
s = r("./node_modules/core-js-pure/internals/well-known-symbol.js"),
i = r("./node_modules/core-js-pure/internals/descriptors.js"),
a = s("species");
e.exports = function (e) {
var t = n(e),
r = o.f;
i &&
t &&
!t[a] &&
r(t, a, {
configurable: !0,
get: function () {
return this;
},
});
};
},
"./node_modules/core-js-pure/internals/set-to-string-tag.js": function (
e,
t,
r
) {
var n = r(
"./node_modules/core-js-pure/internals/to-string-tag-support.js"
),
o = r(
"./node_modules/core-js-pure/internals/object-define-property.js"
).f,
s = r(
"./node_modules/core-js-pure/internals/create-non-enumerable-property.js"
),
i = r("./node_modules/core-js-pure/internals/has.js"),
a = r("./node_modules/core-js-pure/internals/object-to-string.js"),
A = r("./node_modules/core-js-pure/internals/well-known-symbol.js")(
"toStringTag"
);
e.exports = function (e, t, r, u) {
if (e) {
var c = r ? e : e.prototype;
i(c, A) || o(c, A, { configurable: !0, value: t }),
u && !n && s(c, "toString", a);
}
};
},
"./node_modules/core-js-pure/internals/shared-key.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/shared.js"),
o = r("./node_modules/core-js-pure/internals/uid.js"),
s = n("keys");
e.exports = function (e) {
return s[e] || (s[e] = o(e));
};
},
"./node_modules/core-js-pure/internals/shared-store.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/global.js"),
o = r("./node_modules/core-js-pure/internals/set-global.js"),
s = "__core-js_shared__",
i = n[s] || o(s, {});
e.exports = i;
},
"./node_modules/core-js-pure/internals/shared.js": function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/is-pure.js"),
o = r("./node_modules/core-js-pure/internals/shared-store.js");
(e.exports = function (e, t) {
return o[e] || (o[e] = void 0 !== t ? t : {});
})("versions", []).push({
version: "3.15.2",
mode: n ? "pure" : "global",
copyright: "© 2021 Denis Pushkarev (zloirock.ru)",
});
},
"./node_modules/core-js-pure/internals/species-constructor.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/an-object.js"),
o = r("./node_modules/core-js-pure/internals/a-function.js"),
s = r(
"./node_modules/core-js-pure/internals/well-known-symbol.js"
)("species");
e.exports = function (e, t) {
var r,
i = n(e).constructor;
return void 0 === i || null == (r = n(i)[s]) ? t : o(r);
};
},
"./node_modules/core-js-pure/internals/string-multibyte.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/to-integer.js"),
o = r(
"./node_modules/core-js-pure/internals/require-object-coercible.js"
),
s = function (e) {
return function (t, r) {
var s,
i,
a = String(o(t)),
A = n(r),
u = a.length;
return A < 0 || A >= u
? e
? ""
: void 0
: (s = a.charCodeAt(A)) < 55296 ||
s > 56319 ||
A + 1 === u ||
(i = a.charCodeAt(A + 1)) < 56320 ||
i > 57343
? e
? a.charAt(A)
: s
: e
? a.slice(A, A + 2)
: i - 56320 + ((s - 55296) << 10) + 65536;
};
};
e.exports = { codeAt: s(!1), charAt: s(!0) };
},
"./node_modules/core-js-pure/internals/string-trim-forced.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/fails.js"),
o = r("./node_modules/core-js-pure/internals/whitespaces.js");
e.exports = function (e) {
return n(function () {
return !!o[e]() || "
" != "
"[e]() || o[e].name !== e;
});
};
},
"./node_modules/core-js-pure/internals/string-trim.js": function (
e,
t,
r
) {
var n = r(
"./node_modules/core-js-pure/internals/require-object-coercible.js"
),
o =
"[" +
r("./node_modules/core-js-pure/internals/whitespaces.js") +
"]",
s = RegExp("^" + o + o + "*"),
i = RegExp(o + o + "*$"),
a = function (e) {
return function (t) {
var r = String(n(t));
return (
1 & e && (r = r.replace(s, "")),
2 & e && (r = r.replace(i, "")),
r
);
};
};
e.exports = { start: a(1), end: a(2), trim: a(3) };
},
"./node_modules/core-js-pure/internals/task.js": function (e, t, r) {
var n,
o,
s,
i = r("./node_modules/core-js-pure/internals/global.js"),
a = r("./node_modules/core-js-pure/internals/fails.js"),
A = r(
"./node_modules/core-js-pure/internals/function-bind-context.js"
),
u = r("./node_modules/core-js-pure/internals/html.js"),
c = r(
"./node_modules/core-js-pure/internals/document-create-element.js"
),
l = r("./node_modules/core-js-pure/internals/engine-is-ios.js"),
d = r("./node_modules/core-js-pure/internals/engine-is-node.js"),
f = i.location,
h = i.setImmediate,
p = i.clearImmediate,
m = i.process,
g = i.MessageChannel,
y = i.Dispatch,
v = 0,
w = {},
b = function (e) {
if (w.hasOwnProperty(e)) {
var t = w[e];
delete w[e], t();
}
},
B = function (e) {
return function () {
b(e);
};
},
j = function (e) {
b(e.data);
},
_ = function (e) {
i.postMessage(e + "", f.protocol + "//" + f.host);
};
(h && p) ||
((h = function (e) {
for (var t = [], r = 1; arguments.length > r; )
t.push(arguments[r++]);
return (
(w[++v] = function () {
("function" == typeof e ? e : Function(e)).apply(void 0, t);
}),
n(v),
v
);
}),
(p = function (e) {
delete w[e];
}),
d
? (n = function (e) {
m.nextTick(B(e));
})
: y && y.now
? (n = function (e) {
y.now(B(e));
})
: g && !l
? ((s = (o = new g()).port2),
(o.port1.onmessage = j),
(n = A(s.postMessage, s, 1)))
: i.addEventListener &&
"function" == typeof postMessage &&
!i.importScripts &&
f &&
"file:" !== f.protocol &&
!a(_)
? ((n = _), i.addEventListener("message", j, !1))
: (n =
"onreadystatechange" in c("script")
? function (e) {
u.appendChild(c("script")).onreadystatechange =
function () {
u.removeChild(this), b(e);
};
}
: function (e) {
setTimeout(B(e), 0);
})),
(e.exports = { set: h, clear: p });
},
"./node_modules/core-js-pure/internals/to-absolute-index.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/to-integer.js"),
o = Math.max,
s = Math.min;
e.exports = function (e, t) {
var r = n(e);
return r < 0 ? o(r + t, 0) : s(r, t);
};
},
"./node_modules/core-js-pure/internals/to-indexed-object.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/indexed-object.js"),
o = r(
"./node_modules/core-js-pure/internals/require-object-coercible.js"
);
e.exports = function (e) {
return n(o(e));
};
},
"./node_modules/core-js-pure/internals/to-integer.js": function (e) {
var t = Math.ceil,
r = Math.floor;
e.exports = function (e) {
return isNaN((e = +e)) ? 0 : (e > 0 ? r : t)(e);
};
},
"./node_modules/core-js-pure/internals/to-length.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/to-integer.js"),
o = Math.min;
e.exports = function (e) {
return e > 0 ? o(n(e), 9007199254740991) : 0;
};
},
"./node_modules/core-js-pure/internals/to-object.js": function (
e,
t,
r
) {
var n = r(
"./node_modules/core-js-pure/internals/require-object-coercible.js"
);
e.exports = function (e) {
return Object(n(e));
};
},
"./node_modules/core-js-pure/internals/to-primitive.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/is-object.js");
e.exports = function (e, t) {
if (!n(e)) return e;
var r, o;
if (
t &&
"function" == typeof (r = e.toString) &&
!n((o = r.call(e)))
)
return o;
if ("function" == typeof (r = e.valueOf) && !n((o = r.call(e))))
return o;
if (
!t &&
"function" == typeof (r = e.toString) &&
!n((o = r.call(e)))
)
return o;
throw TypeError("Can't convert object to primitive value");
};
},
"./node_modules/core-js-pure/internals/to-string-tag-support.js":
function (e, t, r) {
var n = {};
(n[
r("./node_modules/core-js-pure/internals/well-known-symbol.js")(
"toStringTag"
)
] = "z"),
(e.exports = "[object z]" === String(n));
},
"./node_modules/core-js-pure/internals/uid.js": function (e) {
var t = 0,
r = Math.random();
e.exports = function (e) {
return (
"Symbol(" +
String(void 0 === e ? "" : e) +
")_" +
(++t + r).toString(36)
);
};
},
"./node_modules/core-js-pure/internals/use-symbol-as-uid.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/native-symbol.js");
e.exports = n && !Symbol.sham && "symbol" == typeof Symbol.iterator;
},
"./node_modules/core-js-pure/internals/well-known-symbol-wrapped.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/internals/well-known-symbol.js"
);
t.f = n;
},
"./node_modules/core-js-pure/internals/well-known-symbol.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/global.js"),
o = r("./node_modules/core-js-pure/internals/shared.js"),
s = r("./node_modules/core-js-pure/internals/has.js"),
i = r("./node_modules/core-js-pure/internals/uid.js"),
a = r("./node_modules/core-js-pure/internals/native-symbol.js"),
A = r("./node_modules/core-js-pure/internals/use-symbol-as-uid.js"),
u = o("wks"),
c = n.Symbol,
l = A ? c : (c && c.withoutSetter) || i;
e.exports = function (e) {
return (
(s(u, e) && (a || "string" == typeof u[e])) ||
(a && s(c, e) ? (u[e] = c[e]) : (u[e] = l("Symbol." + e))),
u[e]
);
};
},
"./node_modules/core-js-pure/internals/whitespaces.js": function (e) {
e.exports = "\t\n\v\f\r \u2028\u2029\ufeff";
},
"./node_modules/core-js-pure/modules/es.aggregate-error.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r(
"./node_modules/core-js-pure/internals/object-get-prototype-of.js"
),
s = r(
"./node_modules/core-js-pure/internals/object-set-prototype-of.js"
),
i = r("./node_modules/core-js-pure/internals/object-create.js"),
a = r(
"./node_modules/core-js-pure/internals/create-non-enumerable-property.js"
),
A = r(
"./node_modules/core-js-pure/internals/create-property-descriptor.js"
),
u = r("./node_modules/core-js-pure/internals/iterate.js"),
c = function (e, t) {
var r = this;
if (!(r instanceof c)) return new c(e, t);
s && (r = s(new Error(void 0), o(r))),
void 0 !== t && a(r, "message", String(t));
var n = [];
return u(e, n.push, { that: n }), a(r, "errors", n), r;
};
(c.prototype = i(Error.prototype, {
constructor: A(5, c),
message: A(5, ""),
name: A(5, "AggregateError"),
})),
n({ global: !0 }, { AggregateError: c });
},
"./node_modules/core-js-pure/modules/es.array.concat.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/fails.js"),
s = r("./node_modules/core-js-pure/internals/is-array.js"),
i = r("./node_modules/core-js-pure/internals/is-object.js"),
a = r("./node_modules/core-js-pure/internals/to-object.js"),
A = r("./node_modules/core-js-pure/internals/to-length.js"),
u = r("./node_modules/core-js-pure/internals/create-property.js"),
c = r(
"./node_modules/core-js-pure/internals/array-species-create.js"
),
l = r(
"./node_modules/core-js-pure/internals/array-method-has-species-support.js"
),
d = r("./node_modules/core-js-pure/internals/well-known-symbol.js"),
f = r("./node_modules/core-js-pure/internals/engine-v8-version.js"),
h = d("isConcatSpreadable"),
p = 9007199254740991,
m = "Maximum allowed index exceeded",
g =
f >= 51 ||
!o(function () {
var e = [];
return (e[h] = !1), e.concat()[0] !== e;
}),
y = l("concat"),
v = function (e) {
if (!i(e)) return !1;
var t = e[h];
return void 0 !== t ? !!t : s(e);
};
n(
{ target: "Array", proto: !0, forced: !g || !y },
{
concat: function (e) {
var t,
r,
n,
o,
s,
i = a(this),
l = c(i, 0),
d = 0;
for (t = -1, n = arguments.length; t < n; t++)
if (v((s = -1 === t ? i : arguments[t]))) {
if (d + (o = A(s.length)) > p) throw TypeError(m);
for (r = 0; r < o; r++, d++) r in s && u(l, d, s[r]);
} else {
if (d >= p) throw TypeError(m);
u(l, d++, s);
}
return (l.length = d), l;
},
}
);
},
"./node_modules/core-js-pure/modules/es.array.every.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r(
"./node_modules/core-js-pure/internals/array-iteration.js"
).every;
n(
{
target: "Array",
proto: !0,
forced: !r(
"./node_modules/core-js-pure/internals/array-method-is-strict.js"
)("every"),
},
{
every: function (e) {
return o(this, e, arguments.length > 1 ? arguments[1] : void 0);
},
}
);
},
"./node_modules/core-js-pure/modules/es.array.fill.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/array-fill.js"),
s = r(
"./node_modules/core-js-pure/internals/add-to-unscopables.js"
);
n({ target: "Array", proto: !0 }, { fill: o }), s("fill");
},
"./node_modules/core-js-pure/modules/es.array.filter.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r(
"./node_modules/core-js-pure/internals/array-iteration.js"
).filter;
n(
{
target: "Array",
proto: !0,
forced: !r(
"./node_modules/core-js-pure/internals/array-method-has-species-support.js"
)("filter"),
},
{
filter: function (e) {
return o(this, e, arguments.length > 1 ? arguments[1] : void 0);
},
}
);
},
"./node_modules/core-js-pure/modules/es.array.for-each.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/array-for-each.js");
n(
{ target: "Array", proto: !0, forced: [].forEach != o },
{ forEach: o }
);
},
"./node_modules/core-js-pure/modules/es.array.from.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/array-from.js");
n(
{
target: "Array",
stat: !0,
forced: !r(
"./node_modules/core-js-pure/internals/check-correctness-of-iteration.js"
)(function (e) {
Array.from(e);
}),
},
{ from: o }
);
},
"./node_modules/core-js-pure/modules/es.array.includes.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r(
"./node_modules/core-js-pure/internals/array-includes.js"
).includes,
s = r(
"./node_modules/core-js-pure/internals/add-to-unscopables.js"
);
n(
{ target: "Array", proto: !0 },
{
includes: function (e) {
return o(this, e, arguments.length > 1 ? arguments[1] : void 0);
},
}
),
s("includes");
},
"./node_modules/core-js-pure/modules/es.array.index-of.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r(
"./node_modules/core-js-pure/internals/array-includes.js"
).indexOf,
s = r(
"./node_modules/core-js-pure/internals/array-method-is-strict.js"
),
i = [].indexOf,
a = !!i && 1 / [1].indexOf(1, -0) < 0,
A = s("indexOf");
n(
{ target: "Array", proto: !0, forced: a || !A },
{
indexOf: function (e) {
return a
? i.apply(this, arguments) || 0
: o(this, e, arguments.length > 1 ? arguments[1] : void 0);
},
}
);
},
"./node_modules/core-js-pure/modules/es.array.is-array.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/internals/export.js")(
{ target: "Array", stat: !0 },
{ isArray: r("./node_modules/core-js-pure/internals/is-array.js") }
);
},
"./node_modules/core-js-pure/modules/es.array.iterator.js": function (
e,
t,
r
) {
"use strict";
var n = r(
"./node_modules/core-js-pure/internals/to-indexed-object.js"
),
o = r(
"./node_modules/core-js-pure/internals/add-to-unscopables.js"
),
s = r("./node_modules/core-js-pure/internals/iterators.js"),
i = r("./node_modules/core-js-pure/internals/internal-state.js"),
a = r("./node_modules/core-js-pure/internals/define-iterator.js"),
A = "Array Iterator",
u = i.set,
c = i.getterFor(A);
(e.exports = a(
Array,
"Array",
function (e, t) {
u(this, { type: A, target: n(e), index: 0, kind: t });
},
function () {
var e = c(this),
t = e.target,
r = e.kind,
n = e.index++;
return !t || n >= t.length
? ((e.target = void 0), { value: void 0, done: !0 })
: "keys" == r
? { value: n, done: !1 }
: "values" == r
? { value: t[n], done: !1 }
: { value: [n, t[n]], done: !1 };
},
"values"
)),
(s.Arguments = s.Array),
o("keys"),
o("values"),
o("entries");
},
"./node_modules/core-js-pure/modules/es.array.map.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r(
"./node_modules/core-js-pure/internals/array-iteration.js"
).map;
n(
{
target: "Array",
proto: !0,
forced: !r(
"./node_modules/core-js-pure/internals/array-method-has-species-support.js"
)("map"),
},
{
map: function (e) {
return o(this, e, arguments.length > 1 ? arguments[1] : void 0);
},
}
);
},
"./node_modules/core-js-pure/modules/es.array.reduce.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/array-reduce.js").left,
s = r(
"./node_modules/core-js-pure/internals/array-method-is-strict.js"
),
i = r("./node_modules/core-js-pure/internals/engine-v8-version.js"),
a = r("./node_modules/core-js-pure/internals/engine-is-node.js");
n(
{
target: "Array",
proto: !0,
forced: !s("reduce") || (!a && i > 79 && i < 83),
},
{
reduce: function (e) {
return o(
this,
e,
arguments.length,
arguments.length > 1 ? arguments[1] : void 0
);
},
}
);
},
"./node_modules/core-js-pure/modules/es.array.reverse.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/is-array.js"),
s = [].reverse,
i = [1, 2];
n(
{
target: "Array",
proto: !0,
forced: String(i) === String(i.reverse()),
},
{
reverse: function () {
return o(this) && (this.length = this.length), s.call(this);
},
}
);
},
"./node_modules/core-js-pure/modules/es.array.slice.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/is-object.js"),
s = r("./node_modules/core-js-pure/internals/is-array.js"),
i = r("./node_modules/core-js-pure/internals/to-absolute-index.js"),
a = r("./node_modules/core-js-pure/internals/to-length.js"),
A = r("./node_modules/core-js-pure/internals/to-indexed-object.js"),
u = r("./node_modules/core-js-pure/internals/create-property.js"),
c = r("./node_modules/core-js-pure/internals/well-known-symbol.js"),
l = r(
"./node_modules/core-js-pure/internals/array-method-has-species-support.js"
)("slice"),
d = c("species"),
f = [].slice,
h = Math.max;
n(
{ target: "Array", proto: !0, forced: !l },
{
slice: function (e, t) {
var r,
n,
c,
l = A(this),
p = a(l.length),
m = i(e, p),
g = i(void 0 === t ? p : t, p);
if (
s(l) &&
("function" != typeof (r = l.constructor) ||
(r !== Array && !s(r.prototype))
? o(r) && null === (r = r[d]) && (r = void 0)
: (r = void 0),
r === Array || void 0 === r)
)
return f.call(l, m, g);
for (
n = new (void 0 === r ? Array : r)(h(g - m, 0)), c = 0;
m < g;
m++, c++
)
m in l && u(n, c, l[m]);
return (n.length = c), n;
},
}
);
},
"./node_modules/core-js-pure/modules/es.array.some.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r(
"./node_modules/core-js-pure/internals/array-iteration.js"
).some;
n(
{
target: "Array",
proto: !0,
forced: !r(
"./node_modules/core-js-pure/internals/array-method-is-strict.js"
)("some"),
},
{
some: function (e) {
return o(this, e, arguments.length > 1 ? arguments[1] : void 0);
},
}
);
},
"./node_modules/core-js-pure/modules/es.date.now.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/internals/export.js")(
{ target: "Date", stat: !0 },
{
now: function () {
return new Date().getTime();
},
}
);
},
"./node_modules/core-js-pure/modules/es.function.bind.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/internals/export.js")(
{ target: "Function", proto: !0 },
{
bind: r("./node_modules/core-js-pure/internals/function-bind.js"),
}
);
},
"./node_modules/core-js-pure/modules/es.json.to-string-tag.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/global.js");
r("./node_modules/core-js-pure/internals/set-to-string-tag.js")(
n.JSON,
"JSON",
!0
);
},
"./node_modules/core-js-pure/modules/es.map.js": function (e, t, r) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/collection.js"),
o = r("./node_modules/core-js-pure/internals/collection-strong.js");
e.exports = n(
"Map",
function (e) {
return function () {
return e(this, arguments.length ? arguments[0] : void 0);
};
},
o
);
},
"./node_modules/core-js-pure/modules/es.math.to-string-tag.js":
function () {},
"./node_modules/core-js-pure/modules/es.object.create.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/internals/export.js")(
{
target: "Object",
stat: !0,
sham: !r("./node_modules/core-js-pure/internals/descriptors.js"),
},
{
create: r(
"./node_modules/core-js-pure/internals/object-create.js"
),
}
);
},
"./node_modules/core-js-pure/modules/es.object.define-properties.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/descriptors.js");
n(
{ target: "Object", stat: !0, forced: !o, sham: !o },
{
defineProperties: r(
"./node_modules/core-js-pure/internals/object-define-properties.js"
),
}
);
},
"./node_modules/core-js-pure/modules/es.object.define-property.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/descriptors.js");
n(
{ target: "Object", stat: !0, forced: !o, sham: !o },
{
defineProperty: r(
"./node_modules/core-js-pure/internals/object-define-property.js"
).f,
}
);
},
"./node_modules/core-js-pure/modules/es.object.get-own-property-descriptor.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/fails.js"),
s = r(
"./node_modules/core-js-pure/internals/to-indexed-object.js"
),
i = r(
"./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js"
).f,
a = r("./node_modules/core-js-pure/internals/descriptors.js"),
A = o(function () {
i(1);
});
n(
{ target: "Object", stat: !0, forced: !a || A, sham: !a },
{
getOwnPropertyDescriptor: function (e, t) {
return i(s(e), t);
},
}
);
},
"./node_modules/core-js-pure/modules/es.object.get-own-property-descriptors.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/descriptors.js"),
s = r("./node_modules/core-js-pure/internals/own-keys.js"),
i = r(
"./node_modules/core-js-pure/internals/to-indexed-object.js"
),
a = r(
"./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js"
),
A = r("./node_modules/core-js-pure/internals/create-property.js");
n(
{ target: "Object", stat: !0, sham: !o },
{
getOwnPropertyDescriptors: function (e) {
for (
var t, r, n = i(e), o = a.f, u = s(n), c = {}, l = 0;
u.length > l;
)
void 0 !== (r = o(n, (t = u[l++]))) && A(c, t, r);
return c;
},
}
);
},
"./node_modules/core-js-pure/modules/es.object.get-prototype-of.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/fails.js"),
s = r("./node_modules/core-js-pure/internals/to-object.js"),
i = r(
"./node_modules/core-js-pure/internals/object-get-prototype-of.js"
),
a = r(
"./node_modules/core-js-pure/internals/correct-prototype-getter.js"
);
n(
{
target: "Object",
stat: !0,
forced: o(function () {
i(1);
}),
sham: !a,
},
{
getPrototypeOf: function (e) {
return i(s(e));
},
}
);
},
"./node_modules/core-js-pure/modules/es.object.keys.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/to-object.js"),
s = r("./node_modules/core-js-pure/internals/object-keys.js");
n(
{
target: "Object",
stat: !0,
forced: r("./node_modules/core-js-pure/internals/fails.js")(
function () {
s(1);
}
),
},
{
keys: function (e) {
return s(o(e));
},
}
);
},
"./node_modules/core-js-pure/modules/es.object.set-prototype-of.js":
function (e, t, r) {
r("./node_modules/core-js-pure/internals/export.js")(
{ target: "Object", stat: !0 },
{
setPrototypeOf: r(
"./node_modules/core-js-pure/internals/object-set-prototype-of.js"
),
}
);
},
"./node_modules/core-js-pure/modules/es.object.to-string.js":
function () {},
"./node_modules/core-js-pure/modules/es.parse-float.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r(
"./node_modules/core-js-pure/internals/number-parse-float.js"
);
n({ global: !0, forced: parseFloat != o }, { parseFloat: o });
},
"./node_modules/core-js-pure/modules/es.parse-int.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/number-parse-int.js");
n({ global: !0, forced: parseInt != o }, { parseInt: o });
},
"./node_modules/core-js-pure/modules/es.promise.all-settled.js":
function (e, t, r) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/a-function.js"),
s = r(
"./node_modules/core-js-pure/internals/new-promise-capability.js"
),
i = r("./node_modules/core-js-pure/internals/perform.js"),
a = r("./node_modules/core-js-pure/internals/iterate.js");
n(
{ target: "Promise", stat: !0 },
{
allSettled: function (e) {
var t = this,
r = s.f(t),
n = r.resolve,
A = r.reject,
u = i(function () {
var r = o(t.resolve),
s = [],
i = 0,
A = 1;
a(e, function (e) {
var o = i++,
a = !1;
s.push(void 0),
A++,
r.call(t, e).then(
function (e) {
a ||
((a = !0),
(s[o] = { status: "fulfilled", value: e }),
--A || n(s));
},
function (e) {
a ||
((a = !0),
(s[o] = { status: "rejected", reason: e }),
--A || n(s));
}
);
}),
--A || n(s);
});
return u.error && A(u.value), r.promise;
},
}
);
},
"./node_modules/core-js-pure/modules/es.promise.any.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/a-function.js"),
s = r("./node_modules/core-js-pure/internals/get-built-in.js"),
i = r(
"./node_modules/core-js-pure/internals/new-promise-capability.js"
),
a = r("./node_modules/core-js-pure/internals/perform.js"),
A = r("./node_modules/core-js-pure/internals/iterate.js"),
u = "No one promise resolved";
n(
{ target: "Promise", stat: !0 },
{
any: function (e) {
var t = this,
r = i.f(t),
n = r.resolve,
c = r.reject,
l = a(function () {
var r = o(t.resolve),
i = [],
a = 0,
l = 1,
d = !1;
A(e, function (e) {
var o = a++,
A = !1;
i.push(void 0),
l++,
r.call(t, e).then(
function (e) {
A || d || ((d = !0), n(e));
},
function (e) {
A ||
d ||
((A = !0),
(i[o] = e),
--l || c(new (s("AggregateError"))(i, u)));
}
);
}),
--l || c(new (s("AggregateError"))(i, u));
});
return l.error && c(l.value), r.promise;
},
}
);
},
"./node_modules/core-js-pure/modules/es.promise.finally.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/is-pure.js"),
s = r(
"./node_modules/core-js-pure/internals/native-promise-constructor.js"
),
i = r("./node_modules/core-js-pure/internals/fails.js"),
a = r("./node_modules/core-js-pure/internals/get-built-in.js"),
A = r(
"./node_modules/core-js-pure/internals/species-constructor.js"
),
u = r("./node_modules/core-js-pure/internals/promise-resolve.js"),
c = r("./node_modules/core-js-pure/internals/redefine.js");
if (
(n(
{
target: "Promise",
proto: !0,
real: !0,
forced:
!!s &&
i(function () {
s.prototype.finally.call(
{ then: function () {} },
function () {}
);
}),
},
{
finally: function (e) {
var t = A(this, a("Promise")),
r = "function" == typeof e;
return this.then(
r
? function (r) {
return u(t, e()).then(function () {
return r;
});
}
: e,
r
? function (r) {
return u(t, e()).then(function () {
throw r;
});
}
: e
);
},
}
),
!o && "function" == typeof s)
) {
var l = a("Promise").prototype.finally;
s.prototype.finally !== l &&
c(s.prototype, "finally", l, { unsafe: !0 });
}
},
"./node_modules/core-js-pure/modules/es.promise.js": function (
e,
t,
r
) {
"use strict";
var n,
o,
s,
i,
a = r("./node_modules/core-js-pure/internals/export.js"),
A = r("./node_modules/core-js-pure/internals/is-pure.js"),
u = r("./node_modules/core-js-pure/internals/global.js"),
c = r("./node_modules/core-js-pure/internals/get-built-in.js"),
l = r(
"./node_modules/core-js-pure/internals/native-promise-constructor.js"
),
d = r("./node_modules/core-js-pure/internals/redefine.js"),
f = r("./node_modules/core-js-pure/internals/redefine-all.js"),
h = r(
"./node_modules/core-js-pure/internals/object-set-prototype-of.js"
),
p = r("./node_modules/core-js-pure/internals/set-to-string-tag.js"),
m = r("./node_modules/core-js-pure/internals/set-species.js"),
g = r("./node_modules/core-js-pure/internals/is-object.js"),
y = r("./node_modules/core-js-pure/internals/a-function.js"),
v = r("./node_modules/core-js-pure/internals/an-instance.js"),
w = r("./node_modules/core-js-pure/internals/inspect-source.js"),
b = r("./node_modules/core-js-pure/internals/iterate.js"),
B = r(
"./node_modules/core-js-pure/internals/check-correctness-of-iteration.js"
),
j = r(
"./node_modules/core-js-pure/internals/species-constructor.js"
),
_ = r("./node_modules/core-js-pure/internals/task.js").set,
C = r("./node_modules/core-js-pure/internals/microtask.js"),
x = r("./node_modules/core-js-pure/internals/promise-resolve.js"),
E = r(
"./node_modules/core-js-pure/internals/host-report-errors.js"
),
N = r(
"./node_modules/core-js-pure/internals/new-promise-capability.js"
),
Q = r("./node_modules/core-js-pure/internals/perform.js"),
F = r("./node_modules/core-js-pure/internals/internal-state.js"),
U = r("./node_modules/core-js-pure/internals/is-forced.js"),
S = r("./node_modules/core-js-pure/internals/well-known-symbol.js"),
L = r("./node_modules/core-js-pure/internals/engine-is-browser.js"),
T = r("./node_modules/core-js-pure/internals/engine-is-node.js"),
H = r("./node_modules/core-js-pure/internals/engine-v8-version.js"),
I = S("species"),
P = "Promise",
O = F.get,
k = F.set,
R = F.getterFor(P),
M = l && l.prototype,
D = l,
K = M,
z = u.TypeError,
V = u.document,
q = u.process,
G = N.f,
X = G,
W = !!(V && V.createEvent && u.dispatchEvent),
J = "function" == typeof PromiseRejectionEvent,
Y = "unhandledrejection",
Z = !1,
$ = U(P, function () {
var e = w(D),
t = e !== String(D);
if (!t && 66 === H) return !0;
if (A && !K.finally) return !0;
if (H >= 51 && /native code/.test(e)) return !1;
var r = new D(function (e) {
e(1);
}),
n = function (e) {
e(
function () {},
function () {}
);
};
return (
((r.constructor = {})[I] = n),
!(Z = r.then(function () {}) instanceof n) || (!t && L && !J)
);
}),
ee =
$ ||
!B(function (e) {
D.all(e).catch(function () {});
}),
te = function (e) {
var t;
return !(!g(e) || "function" != typeof (t = e.then)) && t;
},
re = function (e, t) {
if (!e.notified) {
e.notified = !0;
var r = e.reactions;
C(function () {
for (
var n = e.value, o = 1 == e.state, s = 0;
r.length > s;
) {
var i,
a,
A,
u = r[s++],
c = o ? u.ok : u.fail,
l = u.resolve,
d = u.reject,
f = u.domain;
try {
c
? (o || (2 === e.rejection && ie(e), (e.rejection = 1)),
!0 === c
? (i = n)
: (f && f.enter(),
(i = c(n)),
f && (f.exit(), (A = !0))),
i === u.promise
? d(z("Promise-chain cycle"))
: (a = te(i))
? a.call(i, l, d)
: l(i))
: d(n);
} catch (e) {
f && !A && f.exit(), d(e);
}
}
(e.reactions = []),
(e.notified = !1),
t && !e.rejection && oe(e);
});
}
},
ne = function (e, t, r) {
var n, o;
W
? (((n = V.createEvent("Event")).promise = t),
(n.reason = r),
n.initEvent(e, !1, !0),
u.dispatchEvent(n))
: (n = { promise: t, reason: r }),
!J && (o = u["on" + e])
? o(n)
: e === Y && E("Unhandled promise rejection", r);
},
oe = function (e) {
_.call(u, function () {
var t,
r = e.facade,
n = e.value;
if (
se(e) &&
((t = Q(function () {
T ? q.emit("unhandledRejection", n, r) : ne(Y, r, n);
})),
(e.rejection = T || se(e) ? 2 : 1),
t.error)
)
throw t.value;
});
},
se = function (e) {
return 1 !== e.rejection && !e.parent;
},
ie = function (e) {
_.call(u, function () {
var t = e.facade;
T
? q.emit("rejectionHandled", t)
: ne("rejectionhandled", t, e.value);
});
},
ae = function (e, t, r) {
return function (n) {
e(t, n, r);
};
},
Ae = function (e, t, r) {
e.done ||
((e.done = !0),
r && (e = r),
(e.value = t),
(e.state = 2),
re(e, !0));
},
ue = function (e, t, r) {
if (!e.done) {
(e.done = !0), r && (e = r);
try {
if (e.facade === t)
throw z("Promise can't be resolved itself");
var n = te(t);
n
? C(function () {
var r = { done: !1 };
try {
n.call(t, ae(ue, r, e), ae(Ae, r, e));
} catch (t) {
Ae(r, t, e);
}
})
: ((e.value = t), (e.state = 1), re(e, !1));
} catch (t) {
Ae({ done: !1 }, t, e);
}
}
};
if (
$ &&
((K = (D = function (e) {
v(this, D, P), y(e), n.call(this);
var t = O(this);
try {
e(ae(ue, t), ae(Ae, t));
} catch (e) {
Ae(t, e);
}
}).prototype),
((n = function (e) {
k(this, {
type: P,
done: !1,
notified: !1,
parent: !1,
reactions: [],
rejection: !1,
state: 0,
value: void 0,
});
}).prototype = f(K, {
then: function (e, t) {
var r = R(this),
n = G(j(this, D));
return (
(n.ok = "function" != typeof e || e),
(n.fail = "function" == typeof t && t),
(n.domain = T ? q.domain : void 0),
(r.parent = !0),
r.reactions.push(n),
0 != r.state && re(r, !1),
n.promise
);
},
catch: function (e) {
return this.then(void 0, e);
},
})),
(o = function () {
var e = new n(),
t = O(e);
(this.promise = e),
(this.resolve = ae(ue, t)),
(this.reject = ae(Ae, t));
}),
(N.f = G =
function (e) {
return e === D || e === s ? new o(e) : X(e);
}),
!A && "function" == typeof l && M !== Object.prototype)
) {
(i = M.then),
Z ||
(d(
M,
"then",
function (e, t) {
var r = this;
return new D(function (e, t) {
i.call(r, e, t);
}).then(e, t);
},
{ unsafe: !0 }
),
d(M, "catch", K.catch, { unsafe: !0 }));
try {
delete M.constructor;
} catch (e) {}
h && h(M, K);
}
a({ global: !0, wrap: !0, forced: $ }, { Promise: D }),
p(D, P, !1, !0),
m(P),
(s = c(P)),
a(
{ target: P, stat: !0, forced: $ },
{
reject: function (e) {
var t = G(this);
return t.reject.call(void 0, e), t.promise;
},
}
),
a(
{ target: P, stat: !0, forced: A || $ },
{
resolve: function (e) {
return x(A && this === s ? D : this, e);
},
}
),
a(
{ target: P, stat: !0, forced: ee },
{
all: function (e) {
var t = this,
r = G(t),
n = r.resolve,
o = r.reject,
s = Q(function () {
var r = y(t.resolve),
s = [],
i = 0,
a = 1;
b(e, function (e) {
var A = i++,
u = !1;
s.push(void 0),
a++,
r.call(t, e).then(function (e) {
u || ((u = !0), (s[A] = e), --a || n(s));
}, o);
}),
--a || n(s);
});
return s.error && o(s.value), r.promise;
},
race: function (e) {
var t = this,
r = G(t),
n = r.reject,
o = Q(function () {
var o = y(t.resolve);
b(e, function (e) {
o.call(t, e).then(r.resolve, n);
});
});
return o.error && n(o.value), r.promise;
},
}
);
},
"./node_modules/core-js-pure/modules/es.reflect.apply.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/get-built-in.js"),
s = r("./node_modules/core-js-pure/internals/a-function.js"),
i = r("./node_modules/core-js-pure/internals/an-object.js"),
a = r("./node_modules/core-js-pure/internals/fails.js"),
A = o("Reflect", "apply"),
u = Function.apply;
n(
{
target: "Reflect",
stat: !0,
forced: !a(function () {
A(function () {});
}),
},
{
apply: function (e, t, r) {
return s(e), i(r), A ? A(e, t, r) : u.call(e, t, r);
},
}
);
},
"./node_modules/core-js-pure/modules/es.reflect.construct.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/get-built-in.js"),
s = r("./node_modules/core-js-pure/internals/a-function.js"),
i = r("./node_modules/core-js-pure/internals/an-object.js"),
a = r("./node_modules/core-js-pure/internals/is-object.js"),
A = r("./node_modules/core-js-pure/internals/object-create.js"),
u = r("./node_modules/core-js-pure/internals/function-bind.js"),
c = r("./node_modules/core-js-pure/internals/fails.js"),
l = o("Reflect", "construct"),
d = c(function () {
function e() {}
return !(l(function () {}, [], e) instanceof e);
}),
f = !c(function () {
l(function () {});
}),
h = d || f;
n(
{ target: "Reflect", stat: !0, forced: h, sham: h },
{
construct: function (e, t) {
s(e), i(t);
var r = arguments.length < 3 ? e : s(arguments[2]);
if (f && !d) return l(e, t, r);
if (e == r) {
switch (t.length) {
case 0:
return new e();
case 1:
return new e(t[0]);
case 2:
return new e(t[0], t[1]);
case 3:
return new e(t[0], t[1], t[2]);
case 4:
return new e(t[0], t[1], t[2], t[3]);
}
var n = [null];
return n.push.apply(n, t), new (u.apply(e, n))();
}
var o = r.prototype,
c = A(a(o) ? o : Object.prototype),
h = Function.apply.call(e, c, t);
return a(h) ? h : c;
},
}
);
},
"./node_modules/core-js-pure/modules/es.reflect.delete-property.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/an-object.js"),
s = r(
"./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js"
).f;
n(
{ target: "Reflect", stat: !0 },
{
deleteProperty: function (e, t) {
var r = s(o(e), t);
return !(r && !r.configurable) && delete e[t];
},
}
);
},
"./node_modules/core-js-pure/modules/es.reflect.get-prototype-of.js":
function (e, t, r) {
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/an-object.js"),
s = r(
"./node_modules/core-js-pure/internals/object-get-prototype-of.js"
);
n(
{
target: "Reflect",
stat: !0,
sham: !r(
"./node_modules/core-js-pure/internals/correct-prototype-getter.js"
),
},
{
getPrototypeOf: function (e) {
return s(o(e));
},
}
);
},
"./node_modules/core-js-pure/modules/es.reflect.get.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/is-object.js"),
s = r("./node_modules/core-js-pure/internals/an-object.js"),
i = r("./node_modules/core-js-pure/internals/has.js"),
a = r(
"./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js"
),
A = r(
"./node_modules/core-js-pure/internals/object-get-prototype-of.js"
);
n(
{ target: "Reflect", stat: !0 },
{
get: function e(t, r) {
var n,
u,
c = arguments.length < 3 ? t : arguments[2];
return s(t) === c
? t[r]
: (n = a.f(t, r))
? i(n, "value")
? n.value
: void 0 === n.get
? void 0
: n.get.call(c)
: o((u = A(t)))
? e(u, r, c)
: void 0;
},
}
);
},
"./node_modules/core-js-pure/modules/es.reflect.to-string-tag.js":
function () {},
"./node_modules/core-js-pure/modules/es.string.includes.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/not-a-regexp.js"),
s = r(
"./node_modules/core-js-pure/internals/require-object-coercible.js"
);
n(
{
target: "String",
proto: !0,
forced: !r(
"./node_modules/core-js-pure/internals/correct-is-regexp-logic.js"
)("includes"),
},
{
includes: function (e) {
return !!~String(s(this)).indexOf(
o(e),
arguments.length > 1 ? arguments[1] : void 0
);
},
}
);
},
"./node_modules/core-js-pure/modules/es.string.iterator.js": function (
e,
t,
r
) {
"use strict";
var n = r(
"./node_modules/core-js-pure/internals/string-multibyte.js"
).charAt,
o = r("./node_modules/core-js-pure/internals/internal-state.js"),
s = r("./node_modules/core-js-pure/internals/define-iterator.js"),
i = "String Iterator",
a = o.set,
A = o.getterFor(i);
s(
String,
"String",
function (e) {
a(this, { type: i, string: String(e), index: 0 });
},
function () {
var e,
t = A(this),
r = t.string,
o = t.index;
return o >= r.length
? { value: void 0, done: !0 }
: ((e = n(r, o)),
(t.index += e.length),
{ value: e, done: !1 });
}
);
},
"./node_modules/core-js-pure/modules/es.string.starts-with.js":
function (e, t, r) {
"use strict";
var n,
o = r("./node_modules/core-js-pure/internals/export.js"),
s = r(
"./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js"
).f,
i = r("./node_modules/core-js-pure/internals/to-length.js"),
a = r("./node_modules/core-js-pure/internals/not-a-regexp.js"),
A = r(
"./node_modules/core-js-pure/internals/require-object-coercible.js"
),
u = r(
"./node_modules/core-js-pure/internals/correct-is-regexp-logic.js"
),
c = r("./node_modules/core-js-pure/internals/is-pure.js"),
l = "".startsWith,
d = Math.min,
f = u("startsWith");
o(
{
target: "String",
proto: !0,
forced: !(
(!c &&
!f &&
((n = s(String.prototype, "startsWith")),
n && !n.writable)) ||
f
),
},
{
startsWith: function (e) {
var t = String(A(this));
a(e);
var r = i(
d(arguments.length > 1 ? arguments[1] : void 0, t.length)
),
n = String(e);
return l ? l.call(t, n, r) : t.slice(r, r + n.length) === n;
},
}
);
},
"./node_modules/core-js-pure/modules/es.string.trim.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/string-trim.js").trim;
n(
{
target: "String",
proto: !0,
forced: r(
"./node_modules/core-js-pure/internals/string-trim-forced.js"
)("trim"),
},
{
trim: function () {
return o(this);
},
}
);
},
"./node_modules/core-js-pure/modules/es.symbol.async-iterator.js":
function (e, t, r) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("asyncIterator");
},
"./node_modules/core-js-pure/modules/es.symbol.description.js":
function () {},
"./node_modules/core-js-pure/modules/es.symbol.has-instance.js":
function (e, t, r) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("hasInstance");
},
"./node_modules/core-js-pure/modules/es.symbol.is-concat-spreadable.js":
function (e, t, r) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("isConcatSpreadable");
},
"./node_modules/core-js-pure/modules/es.symbol.iterator.js": function (
e,
t,
r
) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("iterator");
},
"./node_modules/core-js-pure/modules/es.symbol.js": function (e, t, r) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r("./node_modules/core-js-pure/internals/global.js"),
s = r("./node_modules/core-js-pure/internals/get-built-in.js"),
i = r("./node_modules/core-js-pure/internals/is-pure.js"),
a = r("./node_modules/core-js-pure/internals/descriptors.js"),
A = r("./node_modules/core-js-pure/internals/native-symbol.js"),
u = r("./node_modules/core-js-pure/internals/use-symbol-as-uid.js"),
c = r("./node_modules/core-js-pure/internals/fails.js"),
l = r("./node_modules/core-js-pure/internals/has.js"),
d = r("./node_modules/core-js-pure/internals/is-array.js"),
f = r("./node_modules/core-js-pure/internals/is-object.js"),
h = r("./node_modules/core-js-pure/internals/an-object.js"),
p = r("./node_modules/core-js-pure/internals/to-object.js"),
m = r("./node_modules/core-js-pure/internals/to-indexed-object.js"),
g = r("./node_modules/core-js-pure/internals/to-primitive.js"),
y = r(
"./node_modules/core-js-pure/internals/create-property-descriptor.js"
),
v = r("./node_modules/core-js-pure/internals/object-create.js"),
w = r("./node_modules/core-js-pure/internals/object-keys.js"),
b = r(
"./node_modules/core-js-pure/internals/object-get-own-property-names.js"
),
B = r(
"./node_modules/core-js-pure/internals/object-get-own-property-names-external.js"
),
j = r(
"./node_modules/core-js-pure/internals/object-get-own-property-symbols.js"
),
_ = r(
"./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js"
),
C = r(
"./node_modules/core-js-pure/internals/object-define-property.js"
),
x = r(
"./node_modules/core-js-pure/internals/object-property-is-enumerable.js"
),
E = r(
"./node_modules/core-js-pure/internals/create-non-enumerable-property.js"
),
N = r("./node_modules/core-js-pure/internals/redefine.js"),
Q = r("./node_modules/core-js-pure/internals/shared.js"),
F = r("./node_modules/core-js-pure/internals/shared-key.js"),
U = r("./node_modules/core-js-pure/internals/hidden-keys.js"),
S = r("./node_modules/core-js-pure/internals/uid.js"),
L = r("./node_modules/core-js-pure/internals/well-known-symbol.js"),
T = r(
"./node_modules/core-js-pure/internals/well-known-symbol-wrapped.js"
),
H = r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
),
I = r("./node_modules/core-js-pure/internals/set-to-string-tag.js"),
P = r("./node_modules/core-js-pure/internals/internal-state.js"),
O = r(
"./node_modules/core-js-pure/internals/array-iteration.js"
).forEach,
k = F("hidden"),
R = "Symbol",
M = L("toPrimitive"),
D = P.set,
K = P.getterFor(R),
z = Object.prototype,
V = o.Symbol,
q = s("JSON", "stringify"),
G = _.f,
X = C.f,
W = B.f,
J = x.f,
Y = Q("symbols"),
Z = Q("op-symbols"),
$ = Q("string-to-symbol-registry"),
ee = Q("symbol-to-string-registry"),
te = Q("wks"),
re = o.QObject,
ne = !re || !re.prototype || !re.prototype.findChild,
oe =
a &&
c(function () {
return (
7 !=
v(
X({}, "a", {
get: function () {
return X(this, "a", { value: 7 }).a;
},
})
).a
);
})
? function (e, t, r) {
var n = G(z, t);
n && delete z[t], X(e, t, r), n && e !== z && X(z, t, n);
}
: X,
se = function (e, t) {
var r = (Y[e] = v(V.prototype));
return (
D(r, { type: R, tag: e, description: t }),
a || (r.description = t),
r
);
},
ie = u
? function (e) {
return "symbol" == typeof e;
}
: function (e) {
return Object(e) instanceof V;
},
ae = function (e, t, r) {
e === z && ae(Z, t, r), h(e);
var n = g(t, !0);
return (
h(r),
l(Y, n)
? (r.enumerable
? (l(e, k) && e[k][n] && (e[k][n] = !1),
(r = v(r, { enumerable: y(0, !1) })))
: (l(e, k) || X(e, k, y(1, {})), (e[k][n] = !0)),
oe(e, n, r))
: X(e, n, r)
);
},
Ae = function (e, t) {
h(e);
var r = m(t),
n = w(r).concat(de(r));
return (
O(n, function (t) {
(a && !ue.call(r, t)) || ae(e, t, r[t]);
}),
e
);
},
ue = function (e) {
var t = g(e, !0),
r = J.call(this, t);
return (
!(this === z && l(Y, t) && !l(Z, t)) &&
(!(
r ||
!l(this, t) ||
!l(Y, t) ||
(l(this, k) && this[k][t])
) ||
r)
);
},
ce = function (e, t) {
var r = m(e),
n = g(t, !0);
if (r !== z || !l(Y, n) || l(Z, n)) {
var o = G(r, n);
return (
!o || !l(Y, n) || (l(r, k) && r[k][n]) || (o.enumerable = !0),
o
);
}
},
le = function (e) {
var t = W(m(e)),
r = [];
return (
O(t, function (e) {
l(Y, e) || l(U, e) || r.push(e);
}),
r
);
},
de = function (e) {
var t = e === z,
r = W(t ? Z : m(e)),
n = [];
return (
O(r, function (e) {
!l(Y, e) || (t && !l(z, e)) || n.push(Y[e]);
}),
n
);
};
A ||
(N(
(V = function () {
if (this instanceof V)
throw TypeError("Symbol is not a constructor");
var e =
arguments.length && void 0 !== arguments[0]
? String(arguments[0])
: void 0,
t = S(e),
r = function (e) {
this === z && r.call(Z, e),
l(this, k) && l(this[k], t) && (this[k][t] = !1),
oe(this, t, y(1, e));
};
return (
a && ne && oe(z, t, { configurable: !0, set: r }), se(t, e)
);
}).prototype,
"toString",
function () {
return K(this).tag;
}
),
N(V, "withoutSetter", function (e) {
return se(S(e), e);
}),
(x.f = ue),
(C.f = ae),
(_.f = ce),
(b.f = B.f = le),
(j.f = de),
(T.f = function (e) {
return se(L(e), e);
}),
a &&
(X(V.prototype, "description", {
configurable: !0,
get: function () {
return K(this).description;
},
}),
i || N(z, "propertyIsEnumerable", ue, { unsafe: !0 }))),
n({ global: !0, wrap: !0, forced: !A, sham: !A }, { Symbol: V }),
O(w(te), function (e) {
H(e);
}),
n(
{ target: R, stat: !0, forced: !A },
{
for: function (e) {
var t = String(e);
if (l($, t)) return $[t];
var r = V(t);
return ($[t] = r), (ee[r] = t), r;
},
keyFor: function (e) {
if (!ie(e)) throw TypeError(e + " is not a symbol");
if (l(ee, e)) return ee[e];
},
useSetter: function () {
ne = !0;
},
useSimple: function () {
ne = !1;
},
}
),
n(
{ target: "Object", stat: !0, forced: !A, sham: !a },
{
create: function (e, t) {
return void 0 === t ? v(e) : Ae(v(e), t);
},
defineProperty: ae,
defineProperties: Ae,
getOwnPropertyDescriptor: ce,
}
),
n(
{ target: "Object", stat: !0, forced: !A },
{ getOwnPropertyNames: le, getOwnPropertySymbols: de }
),
n(
{
target: "Object",
stat: !0,
forced: c(function () {
j.f(1);
}),
},
{
getOwnPropertySymbols: function (e) {
return j.f(p(e));
},
}
),
q &&
n(
{
target: "JSON",
stat: !0,
forced:
!A ||
c(function () {
var e = V();
return (
"[null]" != q([e]) ||
"{}" != q({ a: e }) ||
"{}" != q(Object(e))
);
}),
},
{
stringify: function (e, t, r) {
for (var n, o = [e], s = 1; arguments.length > s; )
o.push(arguments[s++]);
if (((n = t), (f(t) || void 0 !== e) && !ie(e)))
return (
d(t) ||
(t = function (e, t) {
if (
("function" == typeof n &&
(t = n.call(this, e, t)),
!ie(t))
)
return t;
}),
(o[1] = t),
q.apply(null, o)
);
},
}
),
V.prototype[M] || E(V.prototype, M, V.prototype.valueOf),
I(V, R),
(U[k] = !0);
},
"./node_modules/core-js-pure/modules/es.symbol.match-all.js": function (
e,
t,
r
) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("matchAll");
},
"./node_modules/core-js-pure/modules/es.symbol.match.js": function (
e,
t,
r
) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("match");
},
"./node_modules/core-js-pure/modules/es.symbol.replace.js": function (
e,
t,
r
) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("replace");
},
"./node_modules/core-js-pure/modules/es.symbol.search.js": function (
e,
t,
r
) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("search");
},
"./node_modules/core-js-pure/modules/es.symbol.species.js": function (
e,
t,
r
) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("species");
},
"./node_modules/core-js-pure/modules/es.symbol.split.js": function (
e,
t,
r
) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("split");
},
"./node_modules/core-js-pure/modules/es.symbol.to-primitive.js":
function (e, t, r) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("toPrimitive");
},
"./node_modules/core-js-pure/modules/es.symbol.to-string-tag.js":
function (e, t, r) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("toStringTag");
},
"./node_modules/core-js-pure/modules/es.symbol.unscopables.js":
function (e, t, r) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("unscopables");
},
"./node_modules/core-js-pure/modules/esnext.aggregate-error.js":
function (e, t, r) {
r("./node_modules/core-js-pure/modules/es.aggregate-error.js");
},
"./node_modules/core-js-pure/modules/esnext.promise.all-settled.js":
function (e, t, r) {
r("./node_modules/core-js-pure/modules/es.promise.all-settled.js");
},
"./node_modules/core-js-pure/modules/esnext.promise.any.js": function (
e,
t,
r
) {
r("./node_modules/core-js-pure/modules/es.promise.any.js");
},
"./node_modules/core-js-pure/modules/esnext.promise.try.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js-pure/internals/export.js"),
o = r(
"./node_modules/core-js-pure/internals/new-promise-capability.js"
),
s = r("./node_modules/core-js-pure/internals/perform.js");
n(
{ target: "Promise", stat: !0 },
{
try: function (e) {
var t = o.f(this),
r = s(e);
return (r.error ? t.reject : t.resolve)(r.value), t.promise;
},
}
);
},
"./node_modules/core-js-pure/modules/esnext.symbol.async-dispose.js":
function (e, t, r) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("asyncDispose");
},
"./node_modules/core-js-pure/modules/esnext.symbol.dispose.js":
function (e, t, r) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("dispose");
},
"./node_modules/core-js-pure/modules/esnext.symbol.matcher.js":
function (e, t, r) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("matcher");
},
"./node_modules/core-js-pure/modules/esnext.symbol.metadata.js":
function (e, t, r) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("metadata");
},
"./node_modules/core-js-pure/modules/esnext.symbol.observable.js":
function (e, t, r) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("observable");
},
"./node_modules/core-js-pure/modules/esnext.symbol.pattern-match.js":
function (e, t, r) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("patternMatch");
},
"./node_modules/core-js-pure/modules/esnext.symbol.replace-all.js":
function (e, t, r) {
r(
"./node_modules/core-js-pure/internals/define-well-known-symbol.js"
)("replaceAll");
},
"./node_modules/core-js-pure/modules/web.dom-collections.iterator.js":
function (e, t, r) {
r("./node_modules/core-js-pure/modules/es.array.iterator.js");
var n = r("./node_modules/core-js-pure/internals/dom-iterables.js"),
o = r("./node_modules/core-js-pure/internals/global.js"),
s = r("./node_modules/core-js-pure/internals/classof.js"),
i = r(
"./node_modules/core-js-pure/internals/create-non-enumerable-property.js"
),
a = r("./node_modules/core-js-pure/internals/iterators.js"),
A = r(
"./node_modules/core-js-pure/internals/well-known-symbol.js"
)("toStringTag");
for (var u in n) {
var c = o[u],
l = c && c.prototype;
l && s(l) !== A && i(l, A, u), (a[u] = a.Array);
}
},
"./node_modules/core-js-pure/stable/array/from.js": function (e, t, r) {
var n = r("./node_modules/core-js-pure/es/array/from.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/array/is-array.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/array/is-array.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/array/virtual/for-each.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/es/array/virtual/for-each.js"
);
e.exports = n;
},
"./node_modules/core-js-pure/stable/array/virtual/values.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/array/virtual/values.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/date/now.js": function (e, t, r) {
var n = r("./node_modules/core-js-pure/es/date/now.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/instance/bind.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/instance/bind.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/instance/concat.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/instance/concat.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/instance/every.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/instance/every.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/instance/fill.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/instance/fill.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/instance/filter.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/instance/filter.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/instance/for-each.js": function (
e,
t,
r
) {
r(
"./node_modules/core-js-pure/modules/web.dom-collections.iterator.js"
);
var n = r(
"./node_modules/core-js-pure/stable/array/virtual/for-each.js"
),
o = r("./node_modules/core-js-pure/internals/classof.js"),
s = Array.prototype,
i = { DOMTokenList: !0, NodeList: !0 };
e.exports = function (e) {
var t = e.forEach;
return e === s ||
(e instanceof Array && t === s.forEach) ||
i.hasOwnProperty(o(e))
? n
: t;
};
},
"./node_modules/core-js-pure/stable/instance/includes.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/instance/includes.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/instance/index-of.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/instance/index-of.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/instance/map.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/instance/map.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/instance/reduce.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/instance/reduce.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/instance/reverse.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/instance/reverse.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/instance/slice.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/instance/slice.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/instance/some.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/instance/some.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/instance/starts-with.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/instance/starts-with.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/instance/trim.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/instance/trim.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/instance/values.js": function (
e,
t,
r
) {
r(
"./node_modules/core-js-pure/modules/web.dom-collections.iterator.js"
);
var n = r(
"./node_modules/core-js-pure/stable/array/virtual/values.js"
),
o = r("./node_modules/core-js-pure/internals/classof.js"),
s = Array.prototype,
i = { DOMTokenList: !0, NodeList: !0 };
e.exports = function (e) {
var t = e.values;
return e === s ||
(e instanceof Array && t === s.values) ||
i.hasOwnProperty(o(e))
? n
: t;
};
},
"./node_modules/core-js-pure/stable/map/index.js": function (e, t, r) {
var n = r("./node_modules/core-js-pure/es/map/index.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/object/define-properties.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/es/object/define-properties.js"
);
e.exports = n;
},
"./node_modules/core-js-pure/stable/object/define-property.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/es/object/define-property.js"
);
e.exports = n;
},
"./node_modules/core-js-pure/stable/object/get-own-property-descriptor.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/es/object/get-own-property-descriptor.js"
);
e.exports = n;
},
"./node_modules/core-js-pure/stable/object/get-own-property-descriptors.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/es/object/get-own-property-descriptors.js"
);
e.exports = n;
},
"./node_modules/core-js-pure/stable/object/get-own-property-symbols.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/es/object/get-own-property-symbols.js"
);
e.exports = n;
},
"./node_modules/core-js-pure/stable/object/keys.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/object/keys.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/parse-float.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/parse-float.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/parse-int.js": function (e, t, r) {
var n = r("./node_modules/core-js-pure/es/parse-int.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/promise/index.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/promise/index.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/reflect/apply.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/reflect/apply.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/reflect/construct.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/reflect/construct.js");
e.exports = n;
},
"./node_modules/core-js-pure/stable/reflect/delete-property.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/es/reflect/delete-property.js"
);
e.exports = n;
},
"./node_modules/core-js-pure/stable/reflect/get-prototype-of.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js-pure/es/reflect/get-prototype-of.js"
);
e.exports = n;
},
"./node_modules/core-js-pure/stable/symbol/index.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js-pure/es/symbol/index.js");
e.exports = n;
},
"./node_modules/core-js/internals/a-function.js": function (e) {
e.exports = function (e) {
if ("function" != typeof e)
throw TypeError(String(e) + " is not a function");
return e;
};
},
"./node_modules/core-js/internals/a-possible-prototype.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/is-object.js");
e.exports = function (e) {
if (!n(e) && null !== e)
throw TypeError("Can't set " + String(e) + " as a prototype");
return e;
};
},
"./node_modules/core-js/internals/add-to-unscopables.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/well-known-symbol.js"),
o = r("./node_modules/core-js/internals/object-create.js"),
s = r("./node_modules/core-js/internals/object-define-property.js"),
i = n("unscopables"),
a = Array.prototype;
null == a[i] && s.f(a, i, { configurable: !0, value: o(null) }),
(e.exports = function (e) {
a[i][e] = !0;
});
},
"./node_modules/core-js/internals/an-object.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/is-object.js");
e.exports = function (e) {
if (!n(e)) throw TypeError(String(e) + " is not an object");
return e;
};
},
"./node_modules/core-js/internals/array-for-each.js": function (
e,
t,
r
) {
"use strict";
var n = r(
"./node_modules/core-js/internals/array-iteration.js"
).forEach,
o = r("./node_modules/core-js/internals/array-method-is-strict.js")(
"forEach"
);
e.exports = o
? [].forEach
: function (e) {
return n(this, e, arguments.length > 1 ? arguments[1] : void 0);
};
},
"./node_modules/core-js/internals/array-includes.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/to-indexed-object.js"),
o = r("./node_modules/core-js/internals/to-length.js"),
s = r("./node_modules/core-js/internals/to-absolute-index.js"),
i = function (e) {
return function (t, r, i) {
var a,
A = n(t),
u = o(A.length),
c = s(i, u);
if (e && r != r) {
for (; u > c; ) if ((a = A[c++]) != a) return !0;
} else
for (; u > c; c++)
if ((e || c in A) && A[c] === r) return e || c || 0;
return !e && -1;
};
};
e.exports = { includes: i(!0), indexOf: i(!1) };
},
"./node_modules/core-js/internals/array-iteration.js": function (
e,
t,
r
) {
var n = r(
"./node_modules/core-js/internals/function-bind-context.js"
),
o = r("./node_modules/core-js/internals/indexed-object.js"),
s = r("./node_modules/core-js/internals/to-object.js"),
i = r("./node_modules/core-js/internals/to-length.js"),
a = r("./node_modules/core-js/internals/array-species-create.js"),
A = [].push,
u = function (e) {
var t = 1 == e,
r = 2 == e,
u = 3 == e,
c = 4 == e,
l = 6 == e,
d = 7 == e,
f = 5 == e || l;
return function (h, p, m, g) {
for (
var y,
v,
w = s(h),
b = o(w),
B = n(p, m, 3),
j = i(b.length),
_ = 0,
C = g || a,
x = t ? C(h, j) : r || d ? C(h, 0) : void 0;
j > _;
_++
)
if ((f || _ in b) && ((v = B((y = b[_]), _, w)), e))
if (t) x[_] = v;
else if (v)
switch (e) {
case 3:
return !0;
case 5:
return y;
case 6:
return _;
case 2:
A.call(x, y);
}
else
switch (e) {
case 4:
return !1;
case 7:
A.call(x, y);
}
return l ? -1 : u || c ? c : x;
};
};
e.exports = {
forEach: u(0),
map: u(1),
filter: u(2),
some: u(3),
every: u(4),
find: u(5),
findIndex: u(6),
filterReject: u(7),
};
},
"./node_modules/core-js/internals/array-method-has-species-support.js":
function (e, t, r) {
var n = r("./node_modules/core-js/internals/fails.js"),
o = r("./node_modules/core-js/internals/well-known-symbol.js"),
s = r("./node_modules/core-js/internals/engine-v8-version.js"),
i = o("species");
e.exports = function (e) {
return (
s >= 51 ||
!n(function () {
var t = [];
return (
((t.constructor = {})[i] = function () {
return { foo: 1 };
}),
1 !== t[e](Boolean).foo
);
})
);
};
},
"./node_modules/core-js/internals/array-method-is-strict.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js/internals/fails.js");
e.exports = function (e, t) {
var r = [][e];
return (
!!r &&
n(function () {
r.call(
null,
t ||
function () {
throw 1;
},
1
);
})
);
};
},
"./node_modules/core-js/internals/array-species-constructor.js":
function (e, t, r) {
var n = r("./node_modules/core-js/internals/is-object.js"),
o = r("./node_modules/core-js/internals/is-array.js"),
s = r("./node_modules/core-js/internals/well-known-symbol.js")(
"species"
);
e.exports = function (e) {
var t;
return (
o(e) &&
("function" != typeof (t = e.constructor) ||
(t !== Array && !o(t.prototype))
? n(t) && null === (t = t[s]) && (t = void 0)
: (t = void 0)),
void 0 === t ? Array : t
);
};
},
"./node_modules/core-js/internals/array-species-create.js": function (
e,
t,
r
) {
var n = r(
"./node_modules/core-js/internals/array-species-constructor.js"
);
e.exports = function (e, t) {
return new (n(e))(0 === t ? 0 : t);
};
},
"./node_modules/core-js/internals/classof-raw.js": function (e) {
var t = {}.toString;
e.exports = function (e) {
return t.call(e).slice(8, -1);
};
},
"./node_modules/core-js/internals/classof.js": function (e, t, r) {
var n = r(
"./node_modules/core-js/internals/to-string-tag-support.js"
),
o = r("./node_modules/core-js/internals/classof-raw.js"),
s = r("./node_modules/core-js/internals/well-known-symbol.js")(
"toStringTag"
),
i =
"Arguments" ==
o(
(function () {
return arguments;
})()
);
e.exports = n
? o
: function (e) {
var t, r, n;
return void 0 === e
? "Undefined"
: null === e
? "Null"
: "string" ==
typeof (r = (function (e, t) {
try {
return e[t];
} catch (e) {}
})((t = Object(e)), s))
? r
: i
? o(t)
: "Object" == (n = o(t)) && "function" == typeof t.callee
? "Arguments"
: n;
};
},
"./node_modules/core-js/internals/copy-constructor-properties.js":
function (e, t, r) {
var n = r("./node_modules/core-js/internals/has.js"),
o = r("./node_modules/core-js/internals/own-keys.js"),
s = r(
"./node_modules/core-js/internals/object-get-own-property-descriptor.js"
),
i = r(
"./node_modules/core-js/internals/object-define-property.js"
);
e.exports = function (e, t) {
for (var r = o(t), a = i.f, A = s.f, u = 0; u < r.length; u++) {
var c = r[u];
n(e, c) || a(e, c, A(t, c));
}
};
},
"./node_modules/core-js/internals/correct-prototype-getter.js":
function (e, t, r) {
var n = r("./node_modules/core-js/internals/fails.js");
e.exports = !n(function () {
function e() {}
return (
(e.prototype.constructor = null),
Object.getPrototypeOf(new e()) !== e.prototype
);
});
},
"./node_modules/core-js/internals/create-html.js": function (e, t, r) {
var n = r(
"./node_modules/core-js/internals/require-object-coercible.js"
),
o = r("./node_modules/core-js/internals/to-string.js"),
s = /"/g;
e.exports = function (e, t, r, i) {
var a = o(n(e)),
A = "<" + t;
return (
"" !== r &&
(A += " " + r + '="' + o(i).replace(s, """) + '"'),
A + ">" + a + "" + t + ">"
);
};
},
"./node_modules/core-js/internals/create-iterator-constructor.js":
function (e, t, r) {
"use strict";
var n = r(
"./node_modules/core-js/internals/iterators-core.js"
).IteratorPrototype,
o = r("./node_modules/core-js/internals/object-create.js"),
s = r(
"./node_modules/core-js/internals/create-property-descriptor.js"
),
i = r("./node_modules/core-js/internals/set-to-string-tag.js"),
a = r("./node_modules/core-js/internals/iterators.js"),
A = function () {
return this;
};
e.exports = function (e, t, r) {
var u = t + " Iterator";
return (
(e.prototype = o(n, { next: s(1, r) })),
i(e, u, !1, !0),
(a[u] = A),
e
);
};
},
"./node_modules/core-js/internals/create-non-enumerable-property.js":
function (e, t, r) {
var n = r("./node_modules/core-js/internals/descriptors.js"),
o = r(
"./node_modules/core-js/internals/object-define-property.js"
),
s = r(
"./node_modules/core-js/internals/create-property-descriptor.js"
);
e.exports = n
? function (e, t, r) {
return o.f(e, t, s(1, r));
}
: function (e, t, r) {
return (e[t] = r), e;
};
},
"./node_modules/core-js/internals/create-property-descriptor.js":
function (e) {
e.exports = function (e, t) {
return {
enumerable: !(1 & e),
configurable: !(2 & e),
writable: !(4 & e),
value: t,
};
};
},
"./node_modules/core-js/internals/create-property.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js/internals/to-property-key.js"),
o = r("./node_modules/core-js/internals/object-define-property.js"),
s = r(
"./node_modules/core-js/internals/create-property-descriptor.js"
);
e.exports = function (e, t, r) {
var i = n(t);
i in e ? o.f(e, i, s(0, r)) : (e[i] = r);
};
},
"./node_modules/core-js/internals/define-iterator.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js/internals/export.js"),
o = r(
"./node_modules/core-js/internals/create-iterator-constructor.js"
),
s = r(
"./node_modules/core-js/internals/object-get-prototype-of.js"
),
i = r(
"./node_modules/core-js/internals/object-set-prototype-of.js"
),
a = r("./node_modules/core-js/internals/set-to-string-tag.js"),
A = r(
"./node_modules/core-js/internals/create-non-enumerable-property.js"
),
u = r("./node_modules/core-js/internals/redefine.js"),
c = r("./node_modules/core-js/internals/well-known-symbol.js"),
l = r("./node_modules/core-js/internals/is-pure.js"),
d = r("./node_modules/core-js/internals/iterators.js"),
f = r("./node_modules/core-js/internals/iterators-core.js"),
h = f.IteratorPrototype,
p = f.BUGGY_SAFARI_ITERATORS,
m = c("iterator"),
g = "keys",
y = "values",
v = "entries",
w = function () {
return this;
};
e.exports = function (e, t, r, c, f, b, B) {
o(r, t, c);
var j,
_,
C,
x = function (e) {
if (e === f && U) return U;
if (!p && e in Q) return Q[e];
switch (e) {
case g:
case y:
case v:
return function () {
return new r(this, e);
};
}
return function () {
return new r(this);
};
},
E = t + " Iterator",
N = !1,
Q = e.prototype,
F = Q[m] || Q["@@iterator"] || (f && Q[f]),
U = (!p && F) || x(f),
S = ("Array" == t && Q.entries) || F;
if (
(S &&
((j = s(S.call(new e()))),
h !== Object.prototype &&
j.next &&
(l ||
s(j) === h ||
(i ? i(j, h) : "function" != typeof j[m] && A(j, m, w)),
a(j, E, !0, !0),
l && (d[E] = w))),
f == y &&
F &&
F.name !== y &&
((N = !0),
(U = function () {
return F.call(this);
})),
(l && !B) || Q[m] === U || A(Q, m, U),
(d[t] = U),
f)
)
if (
((_ = { values: x(y), keys: b ? U : x(g), entries: x(v) }), B)
)
for (C in _) (p || N || !(C in Q)) && u(Q, C, _[C]);
else n({ target: t, proto: !0, forced: p || N }, _);
return _;
};
},
"./node_modules/core-js/internals/define-well-known-symbol.js":
function (e, t, r) {
var n = r("./node_modules/core-js/internals/path.js"),
o = r("./node_modules/core-js/internals/has.js"),
s = r(
"./node_modules/core-js/internals/well-known-symbol-wrapped.js"
),
i = r(
"./node_modules/core-js/internals/object-define-property.js"
).f;
e.exports = function (e) {
var t = n.Symbol || (n.Symbol = {});
o(t, e) || i(t, e, { value: s.f(e) });
};
},
"./node_modules/core-js/internals/descriptors.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/fails.js");
e.exports = !n(function () {
return (
7 !=
Object.defineProperty({}, 1, {
get: function () {
return 7;
},
})[1]
);
});
},
"./node_modules/core-js/internals/document-create-element.js":
function (e, t, r) {
var n = r("./node_modules/core-js/internals/global.js"),
o = r("./node_modules/core-js/internals/is-object.js"),
s = n.document,
i = o(s) && o(s.createElement);
e.exports = function (e) {
return i ? s.createElement(e) : {};
};
},
"./node_modules/core-js/internals/dom-iterables.js": function (e) {
e.exports = {
CSSRuleList: 0,
CSSStyleDeclaration: 0,
CSSValueList: 0,
ClientRectList: 0,
DOMRectList: 0,
DOMStringList: 0,
DOMTokenList: 1,
DataTransferItemList: 0,
FileList: 0,
HTMLAllCollection: 0,
HTMLCollection: 0,
HTMLFormElement: 0,
HTMLSelectElement: 0,
MediaList: 0,
MimeTypeArray: 0,
NamedNodeMap: 0,
NodeList: 1,
PaintRequestList: 0,
Plugin: 0,
PluginArray: 0,
SVGLengthList: 0,
SVGNumberList: 0,
SVGPathSegList: 0,
SVGPointList: 0,
SVGStringList: 0,
SVGTransformList: 0,
SourceBufferList: 0,
StyleSheetList: 0,
TextTrackCueList: 0,
TextTrackList: 0,
TouchList: 0,
};
},
"./node_modules/core-js/internals/engine-user-agent.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/get-built-in.js");
e.exports = n("navigator", "userAgent") || "";
},
"./node_modules/core-js/internals/engine-v8-version.js": function (
e,
t,
r
) {
var n,
o,
s = r("./node_modules/core-js/internals/global.js"),
i = r("./node_modules/core-js/internals/engine-user-agent.js"),
a = s.process,
A = s.Deno,
u = (a && a.versions) || (A && A.version),
c = u && u.v8;
c
? (o = (n = c.split("."))[0] < 4 ? 1 : n[0] + n[1])
: i &&
(!(n = i.match(/Edge\/(\d+)/)) || n[1] >= 74) &&
(n = i.match(/Chrome\/(\d+)/)) &&
(o = n[1]),
(e.exports = o && +o);
},
"./node_modules/core-js/internals/enum-bug-keys.js": function (e) {
e.exports = [
"constructor",
"hasOwnProperty",
"isPrototypeOf",
"propertyIsEnumerable",
"toLocaleString",
"toString",
"valueOf",
];
},
"./node_modules/core-js/internals/export.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/global.js"),
o = r(
"./node_modules/core-js/internals/object-get-own-property-descriptor.js"
).f,
s = r(
"./node_modules/core-js/internals/create-non-enumerable-property.js"
),
i = r("./node_modules/core-js/internals/redefine.js"),
a = r("./node_modules/core-js/internals/set-global.js"),
A = r(
"./node_modules/core-js/internals/copy-constructor-properties.js"
),
u = r("./node_modules/core-js/internals/is-forced.js");
e.exports = function (e, t) {
var r,
c,
l,
d,
f,
h = e.target,
p = e.global,
m = e.stat;
if ((r = p ? n : m ? n[h] || a(h, {}) : (n[h] || {}).prototype))
for (c in t) {
if (
((d = t[c]),
(l = e.noTargetGet ? (f = o(r, c)) && f.value : r[c]),
!u(p ? c : h + (m ? "." : "#") + c, e.forced) && void 0 !== l)
) {
if (typeof d == typeof l) continue;
A(d, l);
}
(e.sham || (l && l.sham)) && s(d, "sham", !0), i(r, c, d, e);
}
};
},
"./node_modules/core-js/internals/fails.js": function (e) {
e.exports = function (e) {
try {
return !!e();
} catch (e) {
return !0;
}
};
},
"./node_modules/core-js/internals/function-bind-context.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/a-function.js");
e.exports = function (e, t, r) {
if ((n(e), void 0 === t)) return e;
switch (r) {
case 0:
return function () {
return e.call(t);
};
case 1:
return function (r) {
return e.call(t, r);
};
case 2:
return function (r, n) {
return e.call(t, r, n);
};
case 3:
return function (r, n, o) {
return e.call(t, r, n, o);
};
}
return function () {
return e.apply(t, arguments);
};
};
},
"./node_modules/core-js/internals/get-built-in.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/global.js"),
o = function (e) {
return "function" == typeof e ? e : void 0;
};
e.exports = function (e, t) {
return arguments.length < 2 ? o(n[e]) : n[e] && n[e][t];
};
},
"./node_modules/core-js/internals/global.js": function (e) {
var t = function (e) {
return e && e.Math == Math && e;
};
e.exports =
t("object" == typeof globalThis && globalThis) ||
t("object" == typeof window && window) ||
t("object" == typeof self && self) ||
t("object" == typeof global && global) ||
(function () {
return this;
})() ||
Function("return this")();
},
"./node_modules/core-js/internals/has.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/to-object.js"),
o = {}.hasOwnProperty;
e.exports =
Object.hasOwn ||
function (e, t) {
return o.call(n(e), t);
};
},
"./node_modules/core-js/internals/hidden-keys.js": function (e) {
e.exports = {};
},
"./node_modules/core-js/internals/html.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/get-built-in.js");
e.exports = n("document", "documentElement");
},
"./node_modules/core-js/internals/ie8-dom-define.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/descriptors.js"),
o = r("./node_modules/core-js/internals/fails.js"),
s = r(
"./node_modules/core-js/internals/document-create-element.js"
);
e.exports =
!n &&
!o(function () {
return (
7 !=
Object.defineProperty(s("div"), "a", {
get: function () {
return 7;
},
}).a
);
});
},
"./node_modules/core-js/internals/indexed-object.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/fails.js"),
o = r("./node_modules/core-js/internals/classof-raw.js"),
s = "".split;
e.exports = n(function () {
return !Object("z").propertyIsEnumerable(0);
})
? function (e) {
return "String" == o(e) ? s.call(e, "") : Object(e);
}
: Object;
},
"./node_modules/core-js/internals/inherit-if-required.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/is-object.js"),
o = r(
"./node_modules/core-js/internals/object-set-prototype-of.js"
);
e.exports = function (e, t, r) {
var s, i;
return (
o &&
"function" == typeof (s = t.constructor) &&
s !== r &&
n((i = s.prototype)) &&
i !== r.prototype &&
o(e, i),
e
);
};
},
"./node_modules/core-js/internals/inspect-source.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/shared-store.js"),
o = Function.toString;
"function" != typeof n.inspectSource &&
(n.inspectSource = function (e) {
return o.call(e);
}),
(e.exports = n.inspectSource);
},
"./node_modules/core-js/internals/internal-state.js": function (
e,
t,
r
) {
var n,
o,
s,
i = r("./node_modules/core-js/internals/native-weak-map.js"),
a = r("./node_modules/core-js/internals/global.js"),
A = r("./node_modules/core-js/internals/is-object.js"),
u = r(
"./node_modules/core-js/internals/create-non-enumerable-property.js"
),
c = r("./node_modules/core-js/internals/has.js"),
l = r("./node_modules/core-js/internals/shared-store.js"),
d = r("./node_modules/core-js/internals/shared-key.js"),
f = r("./node_modules/core-js/internals/hidden-keys.js"),
h = "Object already initialized",
p = a.WeakMap;
if (i || l.state) {
var m = l.state || (l.state = new p()),
g = m.get,
y = m.has,
v = m.set;
(n = function (e, t) {
if (y.call(m, e)) throw new TypeError(h);
return (t.facade = e), v.call(m, e, t), t;
}),
(o = function (e) {
return g.call(m, e) || {};
}),
(s = function (e) {
return y.call(m, e);
});
} else {
var w = d("state");
(f[w] = !0),
(n = function (e, t) {
if (c(e, w)) throw new TypeError(h);
return (t.facade = e), u(e, w, t), t;
}),
(o = function (e) {
return c(e, w) ? e[w] : {};
}),
(s = function (e) {
return c(e, w);
});
}
e.exports = {
set: n,
get: o,
has: s,
enforce: function (e) {
return s(e) ? o(e) : n(e, {});
},
getterFor: function (e) {
return function (t) {
var r;
if (!A(t) || (r = o(t)).type !== e)
throw TypeError("Incompatible receiver, " + e + " required");
return r;
};
},
};
},
"./node_modules/core-js/internals/is-array.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/classof-raw.js");
e.exports =
Array.isArray ||
function (e) {
return "Array" == n(e);
};
},
"./node_modules/core-js/internals/is-forced.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/fails.js"),
o = /#|\.prototype\./,
s = function (e, t) {
var r = a[i(e)];
return (
r == u || (r != A && ("function" == typeof t ? n(t) : !!t))
);
},
i = (s.normalize = function (e) {
return String(e).replace(o, ".").toLowerCase();
}),
a = (s.data = {}),
A = (s.NATIVE = "N"),
u = (s.POLYFILL = "P");
e.exports = s;
},
"./node_modules/core-js/internals/is-object.js": function (e) {
e.exports = function (e) {
return "object" == typeof e ? null !== e : "function" == typeof e;
};
},
"./node_modules/core-js/internals/is-pure.js": function (e) {
e.exports = !1;
},
"./node_modules/core-js/internals/is-symbol.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/get-built-in.js"),
o = r("./node_modules/core-js/internals/use-symbol-as-uid.js");
e.exports = o
? function (e) {
return "symbol" == typeof e;
}
: function (e) {
var t = n("Symbol");
return "function" == typeof t && Object(e) instanceof t;
};
},
"./node_modules/core-js/internals/iterators-core.js": function (
e,
t,
r
) {
"use strict";
var n,
o,
s,
i = r("./node_modules/core-js/internals/fails.js"),
a = r(
"./node_modules/core-js/internals/object-get-prototype-of.js"
),
A = r(
"./node_modules/core-js/internals/create-non-enumerable-property.js"
),
u = r("./node_modules/core-js/internals/has.js"),
c = r("./node_modules/core-js/internals/well-known-symbol.js"),
l = r("./node_modules/core-js/internals/is-pure.js"),
d = c("iterator"),
f = !1;
[].keys &&
("next" in (s = [].keys())
? (o = a(a(s))) !== Object.prototype && (n = o)
: (f = !0));
var h =
null == n ||
i(function () {
var e = {};
return n[d].call(e) !== e;
});
h && (n = {}),
(l && !h) ||
u(n, d) ||
A(n, d, function () {
return this;
}),
(e.exports = { IteratorPrototype: n, BUGGY_SAFARI_ITERATORS: f });
},
"./node_modules/core-js/internals/iterators.js": function (e) {
e.exports = {};
},
"./node_modules/core-js/internals/native-symbol.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/engine-v8-version.js"),
o = r("./node_modules/core-js/internals/fails.js");
e.exports =
!!Object.getOwnPropertySymbols &&
!o(function () {
var e = Symbol();
return (
!String(e) ||
!(Object(e) instanceof Symbol) ||
(!Symbol.sham && n && n < 41)
);
});
},
"./node_modules/core-js/internals/native-weak-map.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/global.js"),
o = r("./node_modules/core-js/internals/inspect-source.js"),
s = n.WeakMap;
e.exports = "function" == typeof s && /native code/.test(o(s));
},
"./node_modules/core-js/internals/object-assign.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js/internals/descriptors.js"),
o = r("./node_modules/core-js/internals/fails.js"),
s = r("./node_modules/core-js/internals/object-keys.js"),
i = r(
"./node_modules/core-js/internals/object-get-own-property-symbols.js"
),
a = r(
"./node_modules/core-js/internals/object-property-is-enumerable.js"
),
A = r("./node_modules/core-js/internals/to-object.js"),
u = r("./node_modules/core-js/internals/indexed-object.js"),
c = Object.assign,
l = Object.defineProperty;
e.exports =
!c ||
o(function () {
if (
n &&
1 !==
c(
{ b: 1 },
c(
l({}, "a", {
enumerable: !0,
get: function () {
l(this, "b", { value: 3, enumerable: !1 });
},
}),
{ b: 2 }
)
).b
)
return !0;
var e = {},
t = {},
r = Symbol(),
o = "abcdefghijklmnopqrst";
return (
(e[r] = 7),
o.split("").forEach(function (e) {
t[e] = e;
}),
7 != c({}, e)[r] || s(c({}, t)).join("") != o
);
})
? function (e, t) {
for (
var r = A(e), o = arguments.length, c = 1, l = i.f, d = a.f;
o > c;
)
for (
var f,
h = u(arguments[c++]),
p = l ? s(h).concat(l(h)) : s(h),
m = p.length,
g = 0;
m > g;
)
(f = p[g++]), (n && !d.call(h, f)) || (r[f] = h[f]);
return r;
}
: c;
},
"./node_modules/core-js/internals/object-create.js": function (
e,
t,
r
) {
var n,
o = r("./node_modules/core-js/internals/an-object.js"),
s = r(
"./node_modules/core-js/internals/object-define-properties.js"
),
i = r("./node_modules/core-js/internals/enum-bug-keys.js"),
a = r("./node_modules/core-js/internals/hidden-keys.js"),
A = r("./node_modules/core-js/internals/html.js"),
u = r(
"./node_modules/core-js/internals/document-create-element.js"
),
c = r("./node_modules/core-js/internals/shared-key.js")("IE_PROTO"),
l = function () {},
d = function (e) {
return "";
},
f = function (e) {
e.write(d("")), e.close();
var t = e.parentWindow.Object;
return (e = null), t;
},
h = function () {
try {
n = new ActiveXObject("htmlfile");
} catch (e) {}
h =
document.domain && n
? f(n)
: (function () {
var e,
t = u("iframe");
if (t.style)
return (
(t.style.display = "none"),
A.appendChild(t),
(t.src = String("javascript:")),
(e = t.contentWindow.document).open(),
e.write(d("document.F=Object")),
e.close(),
e.F
);
})() || f(n);
for (var e = i.length; e--; ) delete h.prototype[i[e]];
return h();
};
(a[c] = !0),
(e.exports =
Object.create ||
function (e, t) {
var r;
return (
null !== e
? ((l.prototype = o(e)),
(r = new l()),
(l.prototype = null),
(r[c] = e))
: (r = h()),
void 0 === t ? r : s(r, t)
);
});
},
"./node_modules/core-js/internals/object-define-properties.js":
function (e, t, r) {
var n = r("./node_modules/core-js/internals/descriptors.js"),
o = r(
"./node_modules/core-js/internals/object-define-property.js"
),
s = r("./node_modules/core-js/internals/an-object.js"),
i = r("./node_modules/core-js/internals/object-keys.js");
e.exports = n
? Object.defineProperties
: function (e, t) {
s(e);
for (var r, n = i(t), a = n.length, A = 0; a > A; )
o.f(e, (r = n[A++]), t[r]);
return e;
};
},
"./node_modules/core-js/internals/object-define-property.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/descriptors.js"),
o = r("./node_modules/core-js/internals/ie8-dom-define.js"),
s = r("./node_modules/core-js/internals/an-object.js"),
i = r("./node_modules/core-js/internals/to-property-key.js"),
a = Object.defineProperty;
t.f = n
? a
: function (e, t, r) {
if ((s(e), (t = i(t)), s(r), o))
try {
return a(e, t, r);
} catch (e) {}
if ("get" in r || "set" in r)
throw TypeError("Accessors not supported");
return "value" in r && (e[t] = r.value), e;
};
},
"./node_modules/core-js/internals/object-get-own-property-descriptor.js":
function (e, t, r) {
var n = r("./node_modules/core-js/internals/descriptors.js"),
o = r(
"./node_modules/core-js/internals/object-property-is-enumerable.js"
),
s = r(
"./node_modules/core-js/internals/create-property-descriptor.js"
),
i = r("./node_modules/core-js/internals/to-indexed-object.js"),
a = r("./node_modules/core-js/internals/to-property-key.js"),
A = r("./node_modules/core-js/internals/has.js"),
u = r("./node_modules/core-js/internals/ie8-dom-define.js"),
c = Object.getOwnPropertyDescriptor;
t.f = n
? c
: function (e, t) {
if (((e = i(e)), (t = a(t)), u))
try {
return c(e, t);
} catch (e) {}
if (A(e, t)) return s(!o.f.call(e, t), e[t]);
};
},
"./node_modules/core-js/internals/object-get-own-property-names-external.js":
function (e, t, r) {
var n = r("./node_modules/core-js/internals/to-indexed-object.js"),
o = r(
"./node_modules/core-js/internals/object-get-own-property-names.js"
).f,
s = {}.toString,
i =
"object" == typeof window &&
window &&
Object.getOwnPropertyNames
? Object.getOwnPropertyNames(window)
: [];
e.exports.f = function (e) {
return i && "[object Window]" == s.call(e)
? (function (e) {
try {
return o(e);
} catch (e) {
return i.slice();
}
})(e)
: o(n(e));
};
},
"./node_modules/core-js/internals/object-get-own-property-names.js":
function (e, t, r) {
var n = r(
"./node_modules/core-js/internals/object-keys-internal.js"
),
o = r("./node_modules/core-js/internals/enum-bug-keys.js").concat(
"length",
"prototype"
);
t.f =
Object.getOwnPropertyNames ||
function (e) {
return n(e, o);
};
},
"./node_modules/core-js/internals/object-get-own-property-symbols.js":
function (e, t) {
t.f = Object.getOwnPropertySymbols;
},
"./node_modules/core-js/internals/object-get-prototype-of.js":
function (e, t, r) {
var n = r("./node_modules/core-js/internals/has.js"),
o = r("./node_modules/core-js/internals/to-object.js"),
s = r("./node_modules/core-js/internals/shared-key.js"),
i = r(
"./node_modules/core-js/internals/correct-prototype-getter.js"
),
a = s("IE_PROTO"),
A = Object.prototype;
e.exports = i
? Object.getPrototypeOf
: function (e) {
return (
(e = o(e)),
n(e, a)
? e[a]
: "function" == typeof e.constructor &&
e instanceof e.constructor
? e.constructor.prototype
: e instanceof Object
? A
: null
);
};
},
"./node_modules/core-js/internals/object-keys-internal.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/has.js"),
o = r("./node_modules/core-js/internals/to-indexed-object.js"),
s = r("./node_modules/core-js/internals/array-includes.js").indexOf,
i = r("./node_modules/core-js/internals/hidden-keys.js");
e.exports = function (e, t) {
var r,
a = o(e),
A = 0,
u = [];
for (r in a) !n(i, r) && n(a, r) && u.push(r);
for (; t.length > A; )
n(a, (r = t[A++])) && (~s(u, r) || u.push(r));
return u;
};
},
"./node_modules/core-js/internals/object-keys.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/object-keys-internal.js"),
o = r("./node_modules/core-js/internals/enum-bug-keys.js");
e.exports =
Object.keys ||
function (e) {
return n(e, o);
};
},
"./node_modules/core-js/internals/object-property-is-enumerable.js":
function (e, t) {
"use strict";
var r = {}.propertyIsEnumerable,
n = Object.getOwnPropertyDescriptor,
o = n && !r.call({ 1: 2 }, 1);
t.f = o
? function (e) {
var t = n(this, e);
return !!t && t.enumerable;
}
: r;
},
"./node_modules/core-js/internals/object-set-prototype-of.js":
function (e, t, r) {
var n = r("./node_modules/core-js/internals/an-object.js"),
o = r("./node_modules/core-js/internals/a-possible-prototype.js");
e.exports =
Object.setPrototypeOf ||
("__proto__" in {}
? (function () {
var e,
t = !1,
r = {};
try {
(e = Object.getOwnPropertyDescriptor(
Object.prototype,
"__proto__"
).set).call(r, []),
(t = r instanceof Array);
} catch (e) {}
return function (r, s) {
return (
n(r), o(s), t ? e.call(r, s) : (r.__proto__ = s), r
);
};
})()
: void 0);
},
"./node_modules/core-js/internals/object-to-string.js": function (
e,
t,
r
) {
"use strict";
var n = r(
"./node_modules/core-js/internals/to-string-tag-support.js"
),
o = r("./node_modules/core-js/internals/classof.js");
e.exports = n
? {}.toString
: function () {
return "[object " + o(this) + "]";
};
},
"./node_modules/core-js/internals/ordinary-to-primitive.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/is-object.js");
e.exports = function (e, t) {
var r, o;
if (
"string" === t &&
"function" == typeof (r = e.toString) &&
!n((o = r.call(e)))
)
return o;
if ("function" == typeof (r = e.valueOf) && !n((o = r.call(e))))
return o;
if (
"string" !== t &&
"function" == typeof (r = e.toString) &&
!n((o = r.call(e)))
)
return o;
throw TypeError("Can't convert object to primitive value");
};
},
"./node_modules/core-js/internals/own-keys.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/get-built-in.js"),
o = r(
"./node_modules/core-js/internals/object-get-own-property-names.js"
),
s = r(
"./node_modules/core-js/internals/object-get-own-property-symbols.js"
),
i = r("./node_modules/core-js/internals/an-object.js");
e.exports =
n("Reflect", "ownKeys") ||
function (e) {
var t = o.f(i(e)),
r = s.f;
return r ? t.concat(r(e)) : t;
};
},
"./node_modules/core-js/internals/path.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/global.js");
e.exports = n;
},
"./node_modules/core-js/internals/redefine.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/global.js"),
o = r(
"./node_modules/core-js/internals/create-non-enumerable-property.js"
),
s = r("./node_modules/core-js/internals/has.js"),
i = r("./node_modules/core-js/internals/set-global.js"),
a = r("./node_modules/core-js/internals/inspect-source.js"),
A = r("./node_modules/core-js/internals/internal-state.js"),
u = A.get,
c = A.enforce,
l = String(String).split("String");
(e.exports = function (e, t, r, a) {
var A,
u = !!a && !!a.unsafe,
d = !!a && !!a.enumerable,
f = !!a && !!a.noTargetGet;
"function" == typeof r &&
("string" != typeof t || s(r, "name") || o(r, "name", t),
(A = c(r)).source ||
(A.source = l.join("string" == typeof t ? t : ""))),
e !== n
? (u ? !f && e[t] && (d = !0) : delete e[t],
d ? (e[t] = r) : o(e, t, r))
: d
? (e[t] = r)
: i(t, r);
})(Function.prototype, "toString", function () {
return ("function" == typeof this && u(this).source) || a(this);
});
},
"./node_modules/core-js/internals/regexp-flags.js": function (e, t, r) {
"use strict";
var n = r("./node_modules/core-js/internals/an-object.js");
e.exports = function () {
var e = n(this),
t = "";
return (
e.global && (t += "g"),
e.ignoreCase && (t += "i"),
e.multiline && (t += "m"),
e.dotAll && (t += "s"),
e.unicode && (t += "u"),
e.sticky && (t += "y"),
t
);
};
},
"./node_modules/core-js/internals/require-object-coercible.js":
function (e) {
e.exports = function (e) {
if (null == e) throw TypeError("Can't call method on " + e);
return e;
};
},
"./node_modules/core-js/internals/set-global.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/global.js");
e.exports = function (e, t) {
try {
Object.defineProperty(n, e, {
value: t,
configurable: !0,
writable: !0,
});
} catch (r) {
n[e] = t;
}
return t;
};
},
"./node_modules/core-js/internals/set-to-string-tag.js": function (
e,
t,
r
) {
var n = r(
"./node_modules/core-js/internals/object-define-property.js"
).f,
o = r("./node_modules/core-js/internals/has.js"),
s = r("./node_modules/core-js/internals/well-known-symbol.js")(
"toStringTag"
);
e.exports = function (e, t, r) {
e &&
!o((e = r ? e : e.prototype), s) &&
n(e, s, { configurable: !0, value: t });
};
},
"./node_modules/core-js/internals/shared-key.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/shared.js"),
o = r("./node_modules/core-js/internals/uid.js"),
s = n("keys");
e.exports = function (e) {
return s[e] || (s[e] = o(e));
};
},
"./node_modules/core-js/internals/shared-store.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/global.js"),
o = r("./node_modules/core-js/internals/set-global.js"),
s = "__core-js_shared__",
i = n[s] || o(s, {});
e.exports = i;
},
"./node_modules/core-js/internals/shared.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/is-pure.js"),
o = r("./node_modules/core-js/internals/shared-store.js");
(e.exports = function (e, t) {
return o[e] || (o[e] = void 0 !== t ? t : {});
})("versions", []).push({
version: "3.16.0",
mode: n ? "pure" : "global",
copyright: "© 2021 Denis Pushkarev (zloirock.ru)",
});
},
"./node_modules/core-js/internals/string-html-forced.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/fails.js");
e.exports = function (e) {
return n(function () {
var t = ""[e]('"');
return t !== t.toLowerCase() || t.split('"').length > 3;
});
};
},
"./node_modules/core-js/internals/string-multibyte.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/to-integer.js"),
o = r("./node_modules/core-js/internals/to-string.js"),
s = r(
"./node_modules/core-js/internals/require-object-coercible.js"
),
i = function (e) {
return function (t, r) {
var i,
a,
A = o(s(t)),
u = n(r),
c = A.length;
return u < 0 || u >= c
? e
? ""
: void 0
: (i = A.charCodeAt(u)) < 55296 ||
i > 56319 ||
u + 1 === c ||
(a = A.charCodeAt(u + 1)) < 56320 ||
a > 57343
? e
? A.charAt(u)
: i
: e
? A.slice(u, u + 2)
: a - 56320 + ((i - 55296) << 10) + 65536;
};
};
e.exports = { codeAt: i(!1), charAt: i(!0) };
},
"./node_modules/core-js/internals/string-trim.js": function (e, t, r) {
var n = r(
"./node_modules/core-js/internals/require-object-coercible.js"
),
o = r("./node_modules/core-js/internals/to-string.js"),
s =
"[" + r("./node_modules/core-js/internals/whitespaces.js") + "]",
i = RegExp("^" + s + s + "*"),
a = RegExp(s + s + "*$"),
A = function (e) {
return function (t) {
var r = o(n(t));
return (
1 & e && (r = r.replace(i, "")),
2 & e && (r = r.replace(a, "")),
r
);
};
};
e.exports = { start: A(1), end: A(2), trim: A(3) };
},
"./node_modules/core-js/internals/to-absolute-index.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/to-integer.js"),
o = Math.max,
s = Math.min;
e.exports = function (e, t) {
var r = n(e);
return r < 0 ? o(r + t, 0) : s(r, t);
};
},
"./node_modules/core-js/internals/to-indexed-object.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/indexed-object.js"),
o = r(
"./node_modules/core-js/internals/require-object-coercible.js"
);
e.exports = function (e) {
return n(o(e));
};
},
"./node_modules/core-js/internals/to-integer.js": function (e) {
var t = Math.ceil,
r = Math.floor;
e.exports = function (e) {
return isNaN((e = +e)) ? 0 : (e > 0 ? r : t)(e);
};
},
"./node_modules/core-js/internals/to-length.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/to-integer.js"),
o = Math.min;
e.exports = function (e) {
return e > 0 ? o(n(e), 9007199254740991) : 0;
};
},
"./node_modules/core-js/internals/to-object.js": function (e, t, r) {
var n = r(
"./node_modules/core-js/internals/require-object-coercible.js"
);
e.exports = function (e) {
return Object(n(e));
};
},
"./node_modules/core-js/internals/to-primitive.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/is-object.js"),
o = r("./node_modules/core-js/internals/is-symbol.js"),
s = r("./node_modules/core-js/internals/ordinary-to-primitive.js"),
i = r("./node_modules/core-js/internals/well-known-symbol.js")(
"toPrimitive"
);
e.exports = function (e, t) {
if (!n(e) || o(e)) return e;
var r,
a = e[i];
if (void 0 !== a) {
if (
(void 0 === t && (t = "default"),
(r = a.call(e, t)),
!n(r) || o(r))
)
return r;
throw TypeError("Can't convert object to primitive value");
}
return void 0 === t && (t = "number"), s(e, t);
};
},
"./node_modules/core-js/internals/to-property-key.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/to-primitive.js"),
o = r("./node_modules/core-js/internals/is-symbol.js");
e.exports = function (e) {
var t = n(e, "string");
return o(t) ? t : String(t);
};
},
"./node_modules/core-js/internals/to-string-tag-support.js": function (
e,
t,
r
) {
var n = {};
(n[
r("./node_modules/core-js/internals/well-known-symbol.js")(
"toStringTag"
)
] = "z"),
(e.exports = "[object z]" === String(n));
},
"./node_modules/core-js/internals/to-string.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/is-symbol.js");
e.exports = function (e) {
if (n(e))
throw TypeError("Cannot convert a Symbol value to a string");
return String(e);
};
},
"./node_modules/core-js/internals/uid.js": function (e) {
var t = 0,
r = Math.random();
e.exports = function (e) {
return (
"Symbol(" +
String(void 0 === e ? "" : e) +
")_" +
(++t + r).toString(36)
);
};
},
"./node_modules/core-js/internals/use-symbol-as-uid.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/native-symbol.js");
e.exports = n && !Symbol.sham && "symbol" == typeof Symbol.iterator;
},
"./node_modules/core-js/internals/well-known-symbol-wrapped.js":
function (e, t, r) {
var n = r("./node_modules/core-js/internals/well-known-symbol.js");
t.f = n;
},
"./node_modules/core-js/internals/well-known-symbol.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/global.js"),
o = r("./node_modules/core-js/internals/shared.js"),
s = r("./node_modules/core-js/internals/has.js"),
i = r("./node_modules/core-js/internals/uid.js"),
a = r("./node_modules/core-js/internals/native-symbol.js"),
A = r("./node_modules/core-js/internals/use-symbol-as-uid.js"),
u = o("wks"),
c = n.Symbol,
l = A ? c : (c && c.withoutSetter) || i;
e.exports = function (e) {
return (
(s(u, e) && (a || "string" == typeof u[e])) ||
(a && s(c, e) ? (u[e] = c[e]) : (u[e] = l("Symbol." + e))),
u[e]
);
};
},
"./node_modules/core-js/internals/whitespaces.js": function (e) {
e.exports = "\t\n\v\f\r \u2028\u2029\ufeff";
},
"./node_modules/core-js/modules/es.array.concat.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js/internals/export.js"),
o = r("./node_modules/core-js/internals/fails.js"),
s = r("./node_modules/core-js/internals/is-array.js"),
i = r("./node_modules/core-js/internals/is-object.js"),
a = r("./node_modules/core-js/internals/to-object.js"),
A = r("./node_modules/core-js/internals/to-length.js"),
u = r("./node_modules/core-js/internals/create-property.js"),
c = r("./node_modules/core-js/internals/array-species-create.js"),
l = r(
"./node_modules/core-js/internals/array-method-has-species-support.js"
),
d = r("./node_modules/core-js/internals/well-known-symbol.js"),
f = r("./node_modules/core-js/internals/engine-v8-version.js"),
h = d("isConcatSpreadable"),
p = 9007199254740991,
m = "Maximum allowed index exceeded",
g =
f >= 51 ||
!o(function () {
var e = [];
return (e[h] = !1), e.concat()[0] !== e;
}),
y = l("concat"),
v = function (e) {
if (!i(e)) return !1;
var t = e[h];
return void 0 !== t ? !!t : s(e);
};
n(
{ target: "Array", proto: !0, forced: !g || !y },
{
concat: function (e) {
var t,
r,
n,
o,
s,
i = a(this),
l = c(i, 0),
d = 0;
for (t = -1, n = arguments.length; t < n; t++)
if (v((s = -1 === t ? i : arguments[t]))) {
if (d + (o = A(s.length)) > p) throw TypeError(m);
for (r = 0; r < o; r++, d++) r in s && u(l, d, s[r]);
} else {
if (d >= p) throw TypeError(m);
u(l, d++, s);
}
return (l.length = d), l;
},
}
);
},
"./node_modules/core-js/modules/es.array.iterator.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js/internals/to-indexed-object.js"),
o = r("./node_modules/core-js/internals/add-to-unscopables.js"),
s = r("./node_modules/core-js/internals/iterators.js"),
i = r("./node_modules/core-js/internals/internal-state.js"),
a = r("./node_modules/core-js/internals/define-iterator.js"),
A = "Array Iterator",
u = i.set,
c = i.getterFor(A);
(e.exports = a(
Array,
"Array",
function (e, t) {
u(this, { type: A, target: n(e), index: 0, kind: t });
},
function () {
var e = c(this),
t = e.target,
r = e.kind,
n = e.index++;
return !t || n >= t.length
? ((e.target = void 0), { value: void 0, done: !0 })
: "keys" == r
? { value: n, done: !1 }
: "values" == r
? { value: t[n], done: !1 }
: { value: [n, t[n]], done: !1 };
},
"values"
)),
(s.Arguments = s.Array),
o("keys"),
o("values"),
o("entries");
},
"./node_modules/core-js/modules/es.array.join.js": function (e, t, r) {
"use strict";
var n = r("./node_modules/core-js/internals/export.js"),
o = r("./node_modules/core-js/internals/indexed-object.js"),
s = r("./node_modules/core-js/internals/to-indexed-object.js"),
i = r("./node_modules/core-js/internals/array-method-is-strict.js"),
a = [].join,
A = o != Object,
u = i("join", ",");
n(
{ target: "Array", proto: !0, forced: A || !u },
{
join: function (e) {
return a.call(s(this), void 0 === e ? "," : e);
},
}
);
},
"./node_modules/core-js/modules/es.array.map.js": function (e, t, r) {
"use strict";
var n = r("./node_modules/core-js/internals/export.js"),
o = r("./node_modules/core-js/internals/array-iteration.js").map;
n(
{
target: "Array",
proto: !0,
forced: !r(
"./node_modules/core-js/internals/array-method-has-species-support.js"
)("map"),
},
{
map: function (e) {
return o(this, e, arguments.length > 1 ? arguments[1] : void 0);
},
}
);
},
"./node_modules/core-js/modules/es.array.slice.js": function (e, t, r) {
"use strict";
var n = r("./node_modules/core-js/internals/export.js"),
o = r("./node_modules/core-js/internals/is-object.js"),
s = r("./node_modules/core-js/internals/is-array.js"),
i = r("./node_modules/core-js/internals/to-absolute-index.js"),
a = r("./node_modules/core-js/internals/to-length.js"),
A = r("./node_modules/core-js/internals/to-indexed-object.js"),
u = r("./node_modules/core-js/internals/create-property.js"),
c = r("./node_modules/core-js/internals/well-known-symbol.js"),
l = r(
"./node_modules/core-js/internals/array-method-has-species-support.js"
)("slice"),
d = c("species"),
f = [].slice,
h = Math.max;
n(
{ target: "Array", proto: !0, forced: !l },
{
slice: function (e, t) {
var r,
n,
c,
l = A(this),
p = a(l.length),
m = i(e, p),
g = i(void 0 === t ? p : t, p);
if (
s(l) &&
("function" != typeof (r = l.constructor) ||
(r !== Array && !s(r.prototype))
? o(r) && null === (r = r[d]) && (r = void 0)
: (r = void 0),
r === Array || void 0 === r)
)
return f.call(l, m, g);
for (
n = new (void 0 === r ? Array : r)(h(g - m, 0)), c = 0;
m < g;
m++, c++
)
m in l && u(n, c, l[m]);
return (n.length = c), n;
},
}
);
},
"./node_modules/core-js/modules/es.function.name.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/descriptors.js"),
o = r(
"./node_modules/core-js/internals/object-define-property.js"
).f,
s = Function.prototype,
i = s.toString,
a = /^\s*function ([^ (]*)/,
A = "name";
n &&
!(A in s) &&
o(s, A, {
configurable: !0,
get: function () {
try {
return i.call(this).match(a)[1];
} catch (e) {
return "";
}
},
});
},
"./node_modules/core-js/modules/es.number.constructor.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js/internals/descriptors.js"),
o = r("./node_modules/core-js/internals/global.js"),
s = r("./node_modules/core-js/internals/is-forced.js"),
i = r("./node_modules/core-js/internals/redefine.js"),
a = r("./node_modules/core-js/internals/has.js"),
A = r("./node_modules/core-js/internals/classof-raw.js"),
u = r("./node_modules/core-js/internals/inherit-if-required.js"),
c = r("./node_modules/core-js/internals/is-symbol.js"),
l = r("./node_modules/core-js/internals/to-primitive.js"),
d = r("./node_modules/core-js/internals/fails.js"),
f = r("./node_modules/core-js/internals/object-create.js"),
h = r(
"./node_modules/core-js/internals/object-get-own-property-names.js"
).f,
p = r(
"./node_modules/core-js/internals/object-get-own-property-descriptor.js"
).f,
m = r(
"./node_modules/core-js/internals/object-define-property.js"
).f,
g = r("./node_modules/core-js/internals/string-trim.js").trim,
y = "Number",
v = o.Number,
w = v.prototype,
b = A(f(w)) == y,
B = function (e) {
if (c(e))
throw TypeError("Cannot convert a Symbol value to a number");
var t,
r,
n,
o,
s,
i,
a,
A,
u = l(e, "number");
if ("string" == typeof u && u.length > 2)
if (43 === (t = (u = g(u)).charCodeAt(0)) || 45 === t) {
if (88 === (r = u.charCodeAt(2)) || 120 === r) return NaN;
} else if (48 === t) {
switch (u.charCodeAt(1)) {
case 66:
case 98:
(n = 2), (o = 49);
break;
case 79:
case 111:
(n = 8), (o = 55);
break;
default:
return +u;
}
for (i = (s = u.slice(2)).length, a = 0; a < i; a++)
if ((A = s.charCodeAt(a)) < 48 || A > o) return NaN;
return parseInt(s, n);
}
return +u;
};
if (s(y, !v(" 0o1") || !v("0b1") || v("+0x1"))) {
for (
var j,
_ = function (e) {
var t = arguments.length < 1 ? 0 : e,
r = this;
return r instanceof _ &&
(b
? d(function () {
w.valueOf.call(r);
})
: A(r) != y)
? u(new v(B(t)), r, _)
: B(t);
},
C = n
? h(v)
: "MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(
","
),
x = 0;
C.length > x;
x++
)
a(v, (j = C[x])) && !a(_, j) && m(_, j, p(v, j));
(_.prototype = w), (w.constructor = _), i(o, y, _);
}
},
"./node_modules/core-js/modules/es.object.assign.js": function (
e,
t,
r
) {
var n = r("./node_modules/core-js/internals/export.js"),
o = r("./node_modules/core-js/internals/object-assign.js");
n(
{ target: "Object", stat: !0, forced: Object.assign !== o },
{ assign: o }
);
},
"./node_modules/core-js/modules/es.object.keys.js": function (e, t, r) {
var n = r("./node_modules/core-js/internals/export.js"),
o = r("./node_modules/core-js/internals/to-object.js"),
s = r("./node_modules/core-js/internals/object-keys.js");
n(
{
target: "Object",
stat: !0,
forced: r("./node_modules/core-js/internals/fails.js")(
function () {
s(1);
}
),
},
{
keys: function (e) {
return s(o(e));
},
}
);
},
"./node_modules/core-js/modules/es.object.to-string.js": function (
e,
t,
r
) {
var n = r(
"./node_modules/core-js/internals/to-string-tag-support.js"
),
o = r("./node_modules/core-js/internals/redefine.js"),
s = r("./node_modules/core-js/internals/object-to-string.js");
n || o(Object.prototype, "toString", s, { unsafe: !0 });
},
"./node_modules/core-js/modules/es.regexp.to-string.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js/internals/redefine.js"),
o = r("./node_modules/core-js/internals/an-object.js"),
s = r("./node_modules/core-js/internals/to-string.js"),
i = r("./node_modules/core-js/internals/fails.js"),
a = r("./node_modules/core-js/internals/regexp-flags.js"),
A = "toString",
u = RegExp.prototype,
c = u.toString,
l = i(function () {
return "/a/b" != c.call({ source: "a", flags: "b" });
}),
d = c.name != A;
(l || d) &&
n(
RegExp.prototype,
A,
function () {
var e = o(this),
t = s(e.source),
r = e.flags;
return (
"/" +
t +
"/" +
s(
void 0 === r && e instanceof RegExp && !("flags" in u)
? a.call(e)
: r
)
);
},
{ unsafe: !0 }
);
},
"./node_modules/core-js/modules/es.string.iterator.js": function (
e,
t,
r
) {
"use strict";
var n = r(
"./node_modules/core-js/internals/string-multibyte.js"
).charAt,
o = r("./node_modules/core-js/internals/to-string.js"),
s = r("./node_modules/core-js/internals/internal-state.js"),
i = r("./node_modules/core-js/internals/define-iterator.js"),
a = "String Iterator",
A = s.set,
u = s.getterFor(a);
i(
String,
"String",
function (e) {
A(this, { type: a, string: o(e), index: 0 });
},
function () {
var e,
t = u(this),
r = t.string,
o = t.index;
return o >= r.length
? { value: void 0, done: !0 }
: ((e = n(r, o)),
(t.index += e.length),
{ value: e, done: !1 });
}
);
},
"./node_modules/core-js/modules/es.string.link.js": function (e, t, r) {
"use strict";
var n = r("./node_modules/core-js/internals/export.js"),
o = r("./node_modules/core-js/internals/create-html.js");
n(
{
target: "String",
proto: !0,
forced: r(
"./node_modules/core-js/internals/string-html-forced.js"
)("link"),
},
{
link: function (e) {
return o(this, "a", "href", e);
},
}
);
},
"./node_modules/core-js/modules/es.symbol.description.js": function (
e,
t,
r
) {
"use strict";
var n = r("./node_modules/core-js/internals/export.js"),
o = r("./node_modules/core-js/internals/descriptors.js"),
s = r("./node_modules/core-js/internals/global.js"),
i = r("./node_modules/core-js/internals/has.js"),
a = r("./node_modules/core-js/internals/is-object.js"),
A = r(
"./node_modules/core-js/internals/object-define-property.js"
).f,
u = r(
"./node_modules/core-js/internals/copy-constructor-properties.js"
),
c = s.Symbol;
if (
o &&
"function" == typeof c &&
(!("description" in c.prototype) || void 0 !== c().description)
) {
var l = {},
d = function () {
var e =
arguments.length < 1 || void 0 === arguments[0]
? void 0
: String(arguments[0]),
t = this instanceof d ? new c(e) : void 0 === e ? c() : c(e);
return "" === e && (l[t] = !0), t;
};
u(d, c);
var f = (d.prototype = c.prototype);
f.constructor = d;
var h = f.toString,
p = "Symbol(test)" == String(c("test")),
m = /^Symbol\((.*)\)[^)]+$/;
A(f, "description", {
configurable: !0,
get: function () {
var e = a(this) ? this.valueOf() : this,
t = h.call(e);
if (i(l, e)) return "";
var r = p ? t.slice(7, -1) : t.replace(m, "$1");
return "" === r ? void 0 : r;
},
}),
n({ global: !0, forced: !0 }, { Symbol: d });
}
},
"./node_modules/core-js/modules/es.symbol.iterator.js": function (
e,
t,
r
) {
r("./node_modules/core-js/internals/define-well-known-symbol.js")(
"iterator"
);
},
"./node_modules/core-js/modules/es.symbol.js": function (e, t, r) {
"use strict";
var n = r("./node_modules/core-js/internals/export.js"),
o = r("./node_modules/core-js/internals/global.js"),
s = r("./node_modules/core-js/internals/get-built-in.js"),
i = r("./node_modules/core-js/internals/is-pure.js"),
a = r("./node_modules/core-js/internals/descriptors.js"),
A = r("./node_modules/core-js/internals/native-symbol.js"),
u = r("./node_modules/core-js/internals/fails.js"),
c = r("./node_modules/core-js/internals/has.js"),
l = r("./node_modules/core-js/internals/is-array.js"),
d = r("./node_modules/core-js/internals/is-object.js"),
f = r("./node_modules/core-js/internals/is-symbol.js"),
h = r("./node_modules/core-js/internals/an-object.js"),
p = r("./node_modules/core-js/internals/to-object.js"),
m = r("./node_modules/core-js/internals/to-indexed-object.js"),
g = r("./node_modules/core-js/internals/to-property-key.js"),
y = r("./node_modules/core-js/internals/to-string.js"),
v = r(
"./node_modules/core-js/internals/create-property-descriptor.js"
),
w = r("./node_modules/core-js/internals/object-create.js"),
b = r("./node_modules/core-js/internals/object-keys.js"),
B = r(
"./node_modules/core-js/internals/object-get-own-property-names.js"
),
j = r(
"./node_modules/core-js/internals/object-get-own-property-names-external.js"
),
_ = r(
"./node_modules/core-js/internals/object-get-own-property-symbols.js"
),
C = r(
"./node_modules/core-js/internals/object-get-own-property-descriptor.js"
),
x = r("./node_modules/core-js/internals/object-define-property.js"),
E = r(
"./node_modules/core-js/internals/object-property-is-enumerable.js"
),
N = r(
"./node_modules/core-js/internals/create-non-enumerable-property.js"
),
Q = r("./node_modules/core-js/internals/redefine.js"),
F = r("./node_modules/core-js/internals/shared.js"),
U = r("./node_modules/core-js/internals/shared-key.js"),
S = r("./node_modules/core-js/internals/hidden-keys.js"),
L = r("./node_modules/core-js/internals/uid.js"),
T = r("./node_modules/core-js/internals/well-known-symbol.js"),
H = r(
"./node_modules/core-js/internals/well-known-symbol-wrapped.js"
),
I = r(
"./node_modules/core-js/internals/define-well-known-symbol.js"
),
P = r("./node_modules/core-js/internals/set-to-string-tag.js"),
O = r("./node_modules/core-js/internals/internal-state.js"),
k = r(
"./node_modules/core-js/internals/array-iteration.js"
).forEach,
R = U("hidden"),
M = "Symbol",
D = T("toPrimitive"),
K = O.set,
z = O.getterFor(M),
V = Object.prototype,
q = o.Symbol,
G = s("JSON", "stringify"),
X = C.f,
W = x.f,
J = j.f,
Y = E.f,
Z = F("symbols"),
$ = F("op-symbols"),
ee = F("string-to-symbol-registry"),
te = F("symbol-to-string-registry"),
re = F("wks"),
ne = o.QObject,
oe = !ne || !ne.prototype || !ne.prototype.findChild,
se =
a &&
u(function () {
return (
7 !=
w(
W({}, "a", {
get: function () {
return W(this, "a", { value: 7 }).a;
},
})
).a
);
})
? function (e, t, r) {
var n = X(V, t);
n && delete V[t], W(e, t, r), n && e !== V && W(V, t, n);
}
: W,
ie = function (e, t) {
var r = (Z[e] = w(q.prototype));
return (
K(r, { type: M, tag: e, description: t }),
a || (r.description = t),
r
);
},
ae = function (e, t, r) {
e === V && ae($, t, r), h(e);
var n = g(t);
return (
h(r),
c(Z, n)
? (r.enumerable
? (c(e, R) && e[R][n] && (e[R][n] = !1),
(r = w(r, { enumerable: v(0, !1) })))
: (c(e, R) || W(e, R, v(1, {})), (e[R][n] = !0)),
se(e, n, r))
: W(e, n, r)
);
},
Ae = function (e, t) {
h(e);
var r = m(t),
n = b(r).concat(de(r));
return (
k(n, function (t) {
(a && !ue.call(r, t)) || ae(e, t, r[t]);
}),
e
);
},
ue = function (e) {
var t = g(e),
r = Y.call(this, t);
return (
!(this === V && c(Z, t) && !c($, t)) &&
(!(
r ||
!c(this, t) ||
!c(Z, t) ||
(c(this, R) && this[R][t])
) ||
r)
);
},
ce = function (e, t) {
var r = m(e),
n = g(t);
if (r !== V || !c(Z, n) || c($, n)) {
var o = X(r, n);
return (
!o || !c(Z, n) || (c(r, R) && r[R][n]) || (o.enumerable = !0),
o
);
}
},
le = function (e) {
var t = J(m(e)),
r = [];
return (
k(t, function (e) {
c(Z, e) || c(S, e) || r.push(e);
}),
r
);
},
de = function (e) {
var t = e === V,
r = J(t ? $ : m(e)),
n = [];
return (
k(r, function (e) {
!c(Z, e) || (t && !c(V, e)) || n.push(Z[e]);
}),
n
);
};
A ||
(Q(
(q = function () {
if (this instanceof q)
throw TypeError("Symbol is not a constructor");
var e =
arguments.length && void 0 !== arguments[0]
? y(arguments[0])
: void 0,
t = L(e),
r = function (e) {
this === V && r.call($, e),
c(this, R) && c(this[R], t) && (this[R][t] = !1),
se(this, t, v(1, e));
};
return (
a && oe && se(V, t, { configurable: !0, set: r }), ie(t, e)
);
}).prototype,
"toString",
function () {
return z(this).tag;
}
),
Q(q, "withoutSetter", function (e) {
return ie(L(e), e);
}),
(E.f = ue),
(x.f = ae),
(C.f = ce),
(B.f = j.f = le),
(_.f = de),
(H.f = function (e) {
return ie(T(e), e);
}),
a &&
(W(q.prototype, "description", {
configurable: !0,
get: function () {
return z(this).description;
},
}),
i || Q(V, "propertyIsEnumerable", ue, { unsafe: !0 }))),
n({ global: !0, wrap: !0, forced: !A, sham: !A }, { Symbol: q }),
k(b(re), function (e) {
I(e);
}),
n(
{ target: M, stat: !0, forced: !A },
{
for: function (e) {
var t = y(e);
if (c(ee, t)) return ee[t];
var r = q(t);
return (ee[t] = r), (te[r] = t), r;
},
keyFor: function (e) {
if (!f(e)) throw TypeError(e + " is not a symbol");
if (c(te, e)) return te[e];
},
useSetter: function () {
oe = !0;
},
useSimple: function () {
oe = !1;
},
}
),
n(
{ target: "Object", stat: !0, forced: !A, sham: !a },
{
create: function (e, t) {
return void 0 === t ? w(e) : Ae(w(e), t);
},
defineProperty: ae,
defineProperties: Ae,
getOwnPropertyDescriptor: ce,
}
),
n(
{ target: "Object", stat: !0, forced: !A },
{ getOwnPropertyNames: le, getOwnPropertySymbols: de }
),
n(
{
target: "Object",
stat: !0,
forced: u(function () {
_.f(1);
}),
},
{
getOwnPropertySymbols: function (e) {
return _.f(p(e));
},
}
),
G &&
n(
{
target: "JSON",
stat: !0,
forced:
!A ||
u(function () {
var e = q();
return (
"[null]" != G([e]) ||
"{}" != G({ a: e }) ||
"{}" != G(Object(e))
);
}),
},
{
stringify: function (e, t, r) {
for (var n, o = [e], s = 1; arguments.length > s; )
o.push(arguments[s++]);
if (((n = t), (d(t) || void 0 !== e) && !f(e)))
return (
l(t) ||
(t = function (e, t) {
if (
("function" == typeof n &&
(t = n.call(this, e, t)),
!f(t))
)
return t;
}),
(o[1] = t),
G.apply(null, o)
);
},
}
),
q.prototype[D] || N(q.prototype, D, q.prototype.valueOf),
P(q, M),
(S[R] = !0);
},
"./node_modules/core-js/modules/web.dom-collections.for-each.js":
function (e, t, r) {
var n = r("./node_modules/core-js/internals/global.js"),
o = r("./node_modules/core-js/internals/dom-iterables.js"),
s = r("./node_modules/core-js/internals/array-for-each.js"),
i = r(
"./node_modules/core-js/internals/create-non-enumerable-property.js"
);
for (var a in o) {
var A = n[a],
u = A && A.prototype;
if (u && u.forEach !== s)
try {
i(u, "forEach", s);
} catch (e) {
u.forEach = s;
}
}
},
"./node_modules/core-js/modules/web.dom-collections.iterator.js":
function (e, t, r) {
var n = r("./node_modules/core-js/internals/global.js"),
o = r("./node_modules/core-js/internals/dom-iterables.js"),
s = r("./node_modules/core-js/modules/es.array.iterator.js"),
i = r(
"./node_modules/core-js/internals/create-non-enumerable-property.js"
),
a = r("./node_modules/core-js/internals/well-known-symbol.js"),
A = a("iterator"),
u = a("toStringTag"),
c = s.values;
for (var l in o) {
var d = n[l],
f = d && d.prototype;
if (f) {
if (f[A] !== c)
try {
i(f, A, c);
} catch (e) {
f[A] = c;
}
if ((f[u] || i(f, u, l), o[l]))
for (var h in s)
if (f[h] !== s[h])
try {
i(f, h, s[h]);
} catch (e) {
f[h] = s[h];
}
}
}
},
"./node_modules/dompurify/dist/purify.js": function (e) {
e.exports = (function () {
"use strict";
var e = Object.hasOwnProperty,
t = Object.setPrototypeOf,
r = Object.isFrozen,
n = Object.getPrototypeOf,
o = Object.getOwnPropertyDescriptor,
s = Object.freeze,
i = Object.seal,
a = Object.create,
A = "undefined" != typeof Reflect && Reflect,
u = A.apply,
c = A.construct;
u ||
(u = function (e, t, r) {
return e.apply(t, r);
}),
s ||
(s = function (e) {
return e;
}),
i ||
(i = function (e) {
return e;
}),
c ||
(c = function (e, t) {
return new (Function.prototype.bind.apply(
e,
[null].concat(
(function (e) {
if (Array.isArray(e)) {
for (
var t = 0, r = Array(e.length);
t < e.length;
t++
)
r[t] = e[t];
return r;
}
return Array.from(e);
})(t)
)
))();
});
var l,
d = B(Array.prototype.forEach),
f = B(Array.prototype.pop),
h = B(Array.prototype.push),
p = B(String.prototype.toLowerCase),
m = B(String.prototype.match),
g = B(String.prototype.replace),
y = B(String.prototype.indexOf),
v = B(String.prototype.trim),
w = B(RegExp.prototype.test),
b =
((l = TypeError),
function () {
for (
var e = arguments.length, t = Array(e), r = 0;
r < e;
r++
)
t[r] = arguments[r];
return c(l, t);
});
function B(e) {
return function (t) {
for (
var r = arguments.length, n = Array(r > 1 ? r - 1 : 0), o = 1;
o < r;
o++
)
n[o - 1] = arguments[o];
return u(e, t, n);
};
}
function j(e, n) {
t && t(e, null);
for (var o = n.length; o--; ) {
var s = n[o];
if ("string" == typeof s) {
var i = p(s);
i !== s && (r(n) || (n[o] = i), (s = i));
}
e[s] = !0;
}
return e;
}
function _(t) {
var r = a(null),
n = void 0;
for (n in t) u(e, t, [n]) && (r[n] = t[n]);
return r;
}
function C(e, t) {
for (; null !== e; ) {
var r = o(e, t);
if (r) {
if (r.get) return B(r.get);
if ("function" == typeof r.value) return B(r.value);
}
e = n(e);
}
return function (e) {
return console.warn("fallback value for", e), null;
};
}
var x = s([
"a",
"abbr",
"acronym",
"address",
"area",
"article",
"aside",
"audio",
"b",
"bdi",
"bdo",
"big",
"blink",
"blockquote",
"body",
"br",
"button",
"canvas",
"caption",
"center",
"cite",
"code",
"col",
"colgroup",
"content",
"data",
"datalist",
"dd",
"decorator",
"del",
"details",
"dfn",
"dialog",
"dir",
"div",
"dl",
"dt",
"element",
"em",
"fieldset",
"figcaption",
"figure",
"font",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"head",
"header",
"hgroup",
"hr",
"html",
"i",
"img",
"input",
"ins",
"kbd",
"label",
"legend",
"li",
"main",
"map",
"mark",
"marquee",
"menu",
"menuitem",
"meter",
"nav",
"nobr",
"ol",
"optgroup",
"option",
"output",
"p",
"picture",
"pre",
"progress",
"q",
"rp",
"rt",
"ruby",
"s",
"samp",
"section",
"select",
"shadow",
"small",
"source",
"spacer",
"span",
"strike",
"strong",
"style",
"sub",
"summary",
"sup",
"table",
"tbody",
"td",
"template",
"textarea",
"tfoot",
"th",
"thead",
"time",
"tr",
"track",
"tt",
"u",
"ul",
"var",
"video",
"wbr",
]),
E = s([
"svg",
"a",
"altglyph",
"altglyphdef",
"altglyphitem",
"animatecolor",
"animatemotion",
"animatetransform",
"circle",
"clippath",
"defs",
"desc",
"ellipse",
"filter",
"font",
"g",
"glyph",
"glyphref",
"hkern",
"image",
"line",
"lineargradient",
"marker",
"mask",
"metadata",
"mpath",
"path",
"pattern",
"polygon",
"polyline",
"radialgradient",
"rect",
"stop",
"style",
"switch",
"symbol",
"text",
"textpath",
"title",
"tref",
"tspan",
"view",
"vkern",
]),
N = s([
"feBlend",
"feColorMatrix",
"feComponentTransfer",
"feComposite",
"feConvolveMatrix",
"feDiffuseLighting",
"feDisplacementMap",
"feDistantLight",
"feFlood",
"feFuncA",
"feFuncB",
"feFuncG",
"feFuncR",
"feGaussianBlur",
"feMerge",
"feMergeNode",
"feMorphology",
"feOffset",
"fePointLight",
"feSpecularLighting",
"feSpotLight",
"feTile",
"feTurbulence",
]),
Q = s([
"animate",
"color-profile",
"cursor",
"discard",
"fedropshadow",
"feimage",
"font-face",
"font-face-format",
"font-face-name",
"font-face-src",
"font-face-uri",
"foreignobject",
"hatch",
"hatchpath",
"mesh",
"meshgradient",
"meshpatch",
"meshrow",
"missing-glyph",
"script",
"set",
"solidcolor",
"unknown",
"use",
]),
F = s([
"math",
"menclose",
"merror",
"mfenced",
"mfrac",
"mglyph",
"mi",
"mlabeledtr",
"mmultiscripts",
"mn",
"mo",
"mover",
"mpadded",
"mphantom",
"mroot",
"mrow",
"ms",
"mspace",
"msqrt",
"mstyle",
"msub",
"msup",
"msubsup",
"mtable",
"mtd",
"mtext",
"mtr",
"munder",
"munderover",
]),
U = s([
"maction",
"maligngroup",
"malignmark",
"mlongdiv",
"mscarries",
"mscarry",
"msgroup",
"mstack",
"msline",
"msrow",
"semantics",
"annotation",
"annotation-xml",
"mprescripts",
"none",
]),
S = s(["#text"]),
L = s([
"accept",
"action",
"align",
"alt",
"autocapitalize",
"autocomplete",
"autopictureinpicture",
"autoplay",
"background",
"bgcolor",
"border",
"capture",
"cellpadding",
"cellspacing",
"checked",
"cite",
"class",
"clear",
"color",
"cols",
"colspan",
"controls",
"controlslist",
"coords",
"crossorigin",
"datetime",
"decoding",
"default",
"dir",
"disabled",
"disablepictureinpicture",
"disableremoteplayback",
"download",
"draggable",
"enctype",
"enterkeyhint",
"face",
"for",
"headers",
"height",
"hidden",
"high",
"href",
"hreflang",
"id",
"inputmode",
"integrity",
"ismap",
"kind",
"label",
"lang",
"list",
"loading",
"loop",
"low",
"max",
"maxlength",
"media",
"method",
"min",
"minlength",
"multiple",
"muted",
"name",
"noshade",
"novalidate",
"nowrap",
"open",
"optimum",
"pattern",
"placeholder",
"playsinline",
"poster",
"preload",
"pubdate",
"radiogroup",
"readonly",
"rel",
"required",
"rev",
"reversed",
"role",
"rows",
"rowspan",
"spellcheck",
"scope",
"selected",
"shape",
"size",
"sizes",
"span",
"srclang",
"start",
"src",
"srcset",
"step",
"style",
"summary",
"tabindex",
"title",
"translate",
"type",
"usemap",
"valign",
"value",
"width",
"xmlns",
"slot",
]),
T = s([
"accent-height",
"accumulate",
"additive",
"alignment-baseline",
"ascent",
"attributename",
"attributetype",
"azimuth",
"basefrequency",
"baseline-shift",
"begin",
"bias",
"by",
"class",
"clip",
"clippathunits",
"clip-path",
"clip-rule",
"color",
"color-interpolation",
"color-interpolation-filters",
"color-profile",
"color-rendering",
"cx",
"cy",
"d",
"dx",
"dy",
"diffuseconstant",
"direction",
"display",
"divisor",
"dur",
"edgemode",
"elevation",
"end",
"fill",
"fill-opacity",
"fill-rule",
"filter",
"filterunits",
"flood-color",
"flood-opacity",
"font-family",
"font-size",
"font-size-adjust",
"font-stretch",
"font-style",
"font-variant",
"font-weight",
"fx",
"fy",
"g1",
"g2",
"glyph-name",
"glyphref",
"gradientunits",
"gradienttransform",
"height",
"href",
"id",
"image-rendering",
"in",
"in2",
"k",
"k1",
"k2",
"k3",
"k4",
"kerning",
"keypoints",
"keysplines",
"keytimes",
"lang",
"lengthadjust",
"letter-spacing",
"kernelmatrix",
"kernelunitlength",
"lighting-color",
"local",
"marker-end",
"marker-mid",
"marker-start",
"markerheight",
"markerunits",
"markerwidth",
"maskcontentunits",
"maskunits",
"max",
"mask",
"media",
"method",
"mode",
"min",
"name",
"numoctaves",
"offset",
"operator",
"opacity",
"order",
"orient",
"orientation",
"origin",
"overflow",
"paint-order",
"path",
"pathlength",
"patterncontentunits",
"patterntransform",
"patternunits",
"points",
"preservealpha",
"preserveaspectratio",
"primitiveunits",
"r",
"rx",
"ry",
"radius",
"refx",
"refy",
"repeatcount",
"repeatdur",
"restart",
"result",
"rotate",
"scale",
"seed",
"shape-rendering",
"specularconstant",
"specularexponent",
"spreadmethod",
"startoffset",
"stddeviation",
"stitchtiles",
"stop-color",
"stop-opacity",
"stroke-dasharray",
"stroke-dashoffset",
"stroke-linecap",
"stroke-linejoin",
"stroke-miterlimit",
"stroke-opacity",
"stroke",
"stroke-width",
"style",
"surfacescale",
"systemlanguage",
"tabindex",
"targetx",
"targety",
"transform",
"text-anchor",
"text-decoration",
"text-rendering",
"textlength",
"type",
"u1",
"u2",
"unicode",
"values",
"viewbox",
"visibility",
"version",
"vert-adv-y",
"vert-origin-x",
"vert-origin-y",
"width",
"word-spacing",
"wrap",
"writing-mode",
"xchannelselector",
"ychannelselector",
"x",
"x1",
"x2",
"xmlns",
"y",
"y1",
"y2",
"z",
"zoomandpan",
]),
H = s([
"accent",
"accentunder",
"align",
"bevelled",
"close",
"columnsalign",
"columnlines",
"columnspan",
"denomalign",
"depth",
"dir",
"display",
"displaystyle",
"encoding",
"fence",
"frame",
"height",
"href",
"id",
"largeop",
"length",
"linethickness",
"lspace",
"lquote",
"mathbackground",
"mathcolor",
"mathsize",
"mathvariant",
"maxsize",
"minsize",
"movablelimits",
"notation",
"numalign",
"open",
"rowalign",
"rowlines",
"rowspacing",
"rowspan",
"rspace",
"rquote",
"scriptlevel",
"scriptminsize",
"scriptsizemultiplier",
"selection",
"separator",
"separators",
"stretchy",
"subscriptshift",
"supscriptshift",
"symmetric",
"voffset",
"width",
"xmlns",
]),
I = s([
"xlink:href",
"xml:id",
"xlink:title",
"xml:space",
"xmlns:xlink",
]),
P = i(/\{\{[\s\S]*|[\s\S]*\}\}/gm),
O = i(/<%[\s\S]*|[\s\S]*%>/gm),
k = i(/^data-[\-\w.\u00B7-\uFFFF]/),
R = i(/^aria-[\-\w]+$/),
M = i(
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
),
D = i(/^(?:\w+script|data):/i),
K = i(
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
),
z =
"function" == typeof Symbol &&
"symbol" == typeof Symbol.iterator
? function (e) {
return typeof e;
}
: function (e) {
return e &&
"function" == typeof Symbol &&
e.constructor === Symbol &&
e !== Symbol.prototype
? "symbol"
: typeof e;
};
function V(e) {
if (Array.isArray(e)) {
for (var t = 0, r = Array(e.length); t < e.length; t++)
r[t] = e[t];
return r;
}
return Array.from(e);
}
var q = function () {
return "undefined" == typeof window ? null : window;
},
G = function (e, t) {
if (
"object" !== (void 0 === e ? "undefined" : z(e)) ||
"function" != typeof e.createPolicy
)
return null;
var r = null,
n = "data-tt-policy-suffix";
t.currentScript &&
t.currentScript.hasAttribute(n) &&
(r = t.currentScript.getAttribute(n));
var o = "dompurify" + (r ? "#" + r : "");
try {
return e.createPolicy(o, {
createHTML: function (e) {
return e;
},
});
} catch (e) {
return (
console.warn(
"TrustedTypes policy " + o + " could not be created."
),
null
);
}
};
return (function e() {
var t =
arguments.length > 0 && void 0 !== arguments[0]
? arguments[0]
: q(),
r = function (t) {
return e(t);
};
if (
((r.version = "2.3.0"),
(r.removed = []),
!t || !t.document || 9 !== t.document.nodeType)
)
return (r.isSupported = !1), r;
var n = t.document,
o = t.document,
i = t.DocumentFragment,
a = t.HTMLTemplateElement,
A = t.Node,
u = t.Element,
c = t.NodeFilter,
l = t.NamedNodeMap,
B = void 0 === l ? t.NamedNodeMap || t.MozNamedAttrMap : l,
X = t.Text,
W = t.Comment,
J = t.DOMParser,
Y = t.trustedTypes,
Z = u.prototype,
$ = C(Z, "cloneNode"),
ee = C(Z, "nextSibling"),
te = C(Z, "childNodes"),
re = C(Z, "parentNode");
if ("function" == typeof a) {
var ne = o.createElement("template");
ne.content &&
ne.content.ownerDocument &&
(o = ne.content.ownerDocument);
}
var oe = G(Y, n),
se = oe && Pe ? oe.createHTML("") : "",
ie = o,
ae = ie.implementation,
Ae = ie.createNodeIterator,
ue = ie.createDocumentFragment,
ce = ie.getElementsByTagName,
le = n.importNode,
de = {};
try {
de = _(o).documentMode ? o.documentMode : {};
} catch (e) {}
var fe = {};
r.isSupported =
"function" == typeof re &&
ae &&
void 0 !== ae.createHTMLDocument &&
9 !== de;
var he = P,
pe = O,
me = k,
ge = R,
ye = D,
ve = K,
we = M,
be = null,
Be = j({}, [].concat(V(x), V(E), V(N), V(F), V(S))),
je = null,
_e = j({}, [].concat(V(L), V(T), V(H), V(I))),
Ce = null,
xe = null,
Ee = !0,
Ne = !0,
Qe = !1,
Fe = !1,
Ue = !1,
Se = !1,
Le = !1,
Te = !1,
He = !1,
Ie = !0,
Pe = !1,
Oe = !0,
ke = !0,
Re = !1,
Me = {},
De = j({}, [
"annotation-xml",
"audio",
"colgroup",
"desc",
"foreignobject",
"head",
"iframe",
"math",
"mi",
"mn",
"mo",
"ms",
"mtext",
"noembed",
"noframes",
"noscript",
"plaintext",
"script",
"style",
"svg",
"template",
"thead",
"title",
"video",
"xmp",
]),
Ke = null,
ze = j({}, [
"audio",
"video",
"img",
"source",
"image",
"track",
]),
Ve = null,
qe = j({}, [
"alt",
"class",
"for",
"id",
"label",
"name",
"pattern",
"placeholder",
"summary",
"title",
"value",
"style",
"xmlns",
]),
Ge = "http://www.w3.org/1998/Math/MathML",
Xe = "http://www.w3.org/2000/svg",
We = "http://www.w3.org/1999/xhtml",
Je = We,
Ye = !1,
Ze = null,
$e = o.createElement("form"),
et = function (e) {
(Ze && Ze === e) ||
((e && "object" === (void 0 === e ? "undefined" : z(e))) ||
(e = {}),
(e = _(e)),
(be = "ALLOWED_TAGS" in e ? j({}, e.ALLOWED_TAGS) : Be),
(je = "ALLOWED_ATTR" in e ? j({}, e.ALLOWED_ATTR) : _e),
(Ve =
"ADD_URI_SAFE_ATTR" in e
? j(_(qe), e.ADD_URI_SAFE_ATTR)
: qe),
(Ke =
"ADD_DATA_URI_TAGS" in e
? j(_(ze), e.ADD_DATA_URI_TAGS)
: ze),
(Ce = "FORBID_TAGS" in e ? j({}, e.FORBID_TAGS) : {}),
(xe = "FORBID_ATTR" in e ? j({}, e.FORBID_ATTR) : {}),
(Me = "USE_PROFILES" in e && e.USE_PROFILES),
(Ee = !1 !== e.ALLOW_ARIA_ATTR),
(Ne = !1 !== e.ALLOW_DATA_ATTR),
(Qe = e.ALLOW_UNKNOWN_PROTOCOLS || !1),
(Fe = e.SAFE_FOR_TEMPLATES || !1),
(Ue = e.WHOLE_DOCUMENT || !1),
(Te = e.RETURN_DOM || !1),
(He = e.RETURN_DOM_FRAGMENT || !1),
(Ie = !1 !== e.RETURN_DOM_IMPORT),
(Pe = e.RETURN_TRUSTED_TYPE || !1),
(Le = e.FORCE_BODY || !1),
(Oe = !1 !== e.SANITIZE_DOM),
(ke = !1 !== e.KEEP_CONTENT),
(Re = e.IN_PLACE || !1),
(we = e.ALLOWED_URI_REGEXP || we),
(Je = e.NAMESPACE || We),
Fe && (Ne = !1),
He && (Te = !0),
Me &&
((be = j({}, [].concat(V(S)))),
(je = []),
!0 === Me.html && (j(be, x), j(je, L)),
!0 === Me.svg && (j(be, E), j(je, T), j(je, I)),
!0 === Me.svgFilters && (j(be, N), j(je, T), j(je, I)),
!0 === Me.mathMl && (j(be, F), j(je, H), j(je, I))),
e.ADD_TAGS &&
(be === Be && (be = _(be)), j(be, e.ADD_TAGS)),
e.ADD_ATTR &&
(je === _e && (je = _(je)), j(je, e.ADD_ATTR)),
e.ADD_URI_SAFE_ATTR && j(Ve, e.ADD_URI_SAFE_ATTR),
ke && (be["#text"] = !0),
Ue && j(be, ["html", "head", "body"]),
be.table && (j(be, ["tbody"]), delete Ce.tbody),
s && s(e),
(Ze = e));
},
tt = j({}, ["mi", "mo", "mn", "ms", "mtext"]),
rt = j({}, [
"foreignobject",
"desc",
"title",
"annotation-xml",
]),
nt = j({}, E);
j(nt, N), j(nt, Q);
var ot = j({}, F);
j(ot, U);
var st = function (e) {
var t = re(e);
(t && t.tagName) ||
(t = { namespaceURI: We, tagName: "template" });
var r = p(e.tagName),
n = p(t.tagName);
if (e.namespaceURI === Xe)
return t.namespaceURI === We
? "svg" === r
: t.namespaceURI === Ge
? "svg" === r && ("annotation-xml" === n || tt[n])
: Boolean(nt[r]);
if (e.namespaceURI === Ge)
return t.namespaceURI === We
? "math" === r
: t.namespaceURI === Xe
? "math" === r && rt[n]
: Boolean(ot[r]);
if (e.namespaceURI === We) {
if (t.namespaceURI === Xe && !rt[n]) return !1;
if (t.namespaceURI === Ge && !tt[n]) return !1;
var o = j({}, ["title", "style", "font", "a", "script"]);
return !ot[r] && (o[r] || !nt[r]);
}
return !1;
},
it = function (e) {
h(r.removed, { element: e });
try {
e.parentNode.removeChild(e);
} catch (t) {
try {
e.outerHTML = se;
} catch (t) {
e.remove();
}
}
},
at = function (e, t) {
try {
h(r.removed, { attribute: t.getAttributeNode(e), from: t });
} catch (e) {
h(r.removed, { attribute: null, from: t });
}
if ((t.removeAttribute(e), "is" === e && !je[e]))
if (Te || He)
try {
it(t);
} catch (e) {}
else
try {
t.setAttribute(e, "");
} catch (e) {}
},
At = function (e) {
var t = void 0,
r = void 0;
if (Le) e = "