deeper-spatial-physics-assistant
Version:
所有开源WebGL和WebGIS仓库的整合
1,215 lines • 22.4 MB
JavaScript
var Ev = Object.defineProperty;
var Iv = (Ie, Ce, xe) => Ce in Ie ? Ev(Ie, Ce, { enumerable: !0, configurable: !0, writable: !0, value: xe }) : Ie[Ce] = xe;
var pv = (Ie, Ce, xe) => (Iv(Ie, typeof Ce != "symbol" ? Ce + "" : Ce, xe), xe);
import require$$0, { ref, watch, unref, getCurrentScope, onScopeDispose, readonly, shallowRef, watchEffect, getCurrentInstance, onMounted, nextTick, computed as computed$1, defineComponent, openBlock, createElementBlock, createElementVNode, warn as warn$2, isVNode, Fragment, Comment, onBeforeUnmount, inject, isRef, onBeforeMount, provide, renderSlot, normalizeClass, normalizeStyle, mergeProps, useSlots, createBlock, Transition, withCtx, withDirectives, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, vShow, toRef, onUnmounted, reactive, toRefs, onUpdated, TransitionGroup, useAttrs as useAttrs$1, withModifiers, cloneVNode, Text as Text$3, Teleport, onDeactivated, renderList, withKeys, createSlots, normalizeProps, toRaw, vModelCheckbox, vModelRadio, h as h$3, resolveComponent, onBeforeUpdate, vModelText, toHandlers, guardReactiveProps, markRaw, effectScope, triggerRef, resolveDirective, createApp, shallowReactive, render as render$1, mergeDefaults, onActivated, pushScopeId, popScopeId, isProxy } from "vue";
const FOCUSABLE_ELEMENT_SELECTORS = 'a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])', isVisible = (Ie) => process.env.NODE_ENV === "test" ? !0 : getComputedStyle(Ie).position === "fixed" ? !1 : Ie.offsetParent !== null, obtainAllFocusableElements$1 = (Ie) => Array.from(Ie.querySelectorAll(FOCUSABLE_ELEMENT_SELECTORS)).filter((Ce) => isFocusable(Ce) && isVisible(Ce)), isFocusable = (Ie) => {
if (Ie.tabIndex > 0 || Ie.tabIndex === 0 && Ie.getAttribute("tabIndex") !== null)
return !0;
if (Ie.disabled)
return !1;
switch (Ie.nodeName) {
case "A":
return !!Ie.href && Ie.rel !== "ignore";
case "INPUT":
return !(Ie.type === "hidden" || Ie.type === "file");
case "BUTTON":
case "SELECT":
case "TEXTAREA":
return !0;
default:
return !1;
}
}, triggerEvent = function(Ie, Ce, ...xe) {
let _e;
Ce.includes("mouse") || Ce.includes("click") ? _e = "MouseEvents" : Ce.includes("key") ? _e = "KeyboardEvent" : _e = "HTMLEvents";
const Fe = document.createEvent(_e);
return Fe.initEvent(Ce, ...xe), Ie.dispatchEvent(Fe), Ie;
}, isLeaf = (Ie) => !Ie.getAttribute("aria-owns"), getSibling = (Ie, Ce, xe) => {
const { parentNode: _e } = Ie;
if (!_e)
return null;
const Fe = _e.querySelectorAll(xe), Oe = Array.prototype.indexOf.call(Fe, Ie);
return Fe[Oe + Ce] || null;
}, focusNode = (Ie) => {
!Ie || (Ie.focus(), !isLeaf(Ie) && Ie.click());
}, composeEventHandlers = (Ie, Ce, { checkForDefaultPrevented: xe = !0 } = {}) => (Fe) => {
const Oe = Ie == null ? void 0 : Ie(Fe);
if (xe === !1 || !Oe)
return Ce == null ? void 0 : Ce(Fe);
}, whenMouse = (Ie) => (Ce) => Ce.pointerType === "mouse" ? Ie(Ce) : void 0;
var __defProp$9 = Object.defineProperty, __defProps$6 = Object.defineProperties, __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors, __getOwnPropSymbols$b = Object.getOwnPropertySymbols, __hasOwnProp$b = Object.prototype.hasOwnProperty, __propIsEnum$b = Object.prototype.propertyIsEnumerable, __defNormalProp$9 = (Ie, Ce, xe) => Ce in Ie ? __defProp$9(Ie, Ce, { enumerable: !0, configurable: !0, writable: !0, value: xe }) : Ie[Ce] = xe, __spreadValues$9 = (Ie, Ce) => {
for (var xe in Ce || (Ce = {}))
__hasOwnProp$b.call(Ce, xe) && __defNormalProp$9(Ie, xe, Ce[xe]);
if (__getOwnPropSymbols$b)
for (var xe of __getOwnPropSymbols$b(Ce))
__propIsEnum$b.call(Ce, xe) && __defNormalProp$9(Ie, xe, Ce[xe]);
return Ie;
}, __spreadProps$6 = (Ie, Ce) => __defProps$6(Ie, __getOwnPropDescs$6(Ce));
function computedEager(Ie, Ce) {
var xe;
const _e = shallowRef();
return watchEffect(() => {
_e.value = Ie();
}, __spreadProps$6(__spreadValues$9({}, Ce), {
flush: (xe = Ce == null ? void 0 : Ce.flush) != null ? xe : "sync"
})), readonly(_e);
}
var _a$1;
const isClient = typeof window < "u", isDef = (Ie) => typeof Ie < "u", isFunction$2 = (Ie) => typeof Ie == "function", isString$1 = (Ie) => typeof Ie == "string", noop$3 = () => {
}, isIOS = isClient && ((_a$1 = window == null ? void 0 : window.navigator) == null ? void 0 : _a$1.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
function resolveUnref(Ie) {
return typeof Ie == "function" ? Ie() : unref(Ie);
}
function createFilterWrapper(Ie, Ce) {
function xe(..._e) {
return new Promise((Fe, Oe) => {
Promise.resolve(Ie(() => Ce.apply(this, _e), { fn: Ce, thisArg: this, args: _e })).then(Fe).catch(Oe);
});
}
return xe;
}
function debounceFilter(Ie, Ce = {}) {
let xe, _e, Fe = noop$3;
const Oe = ($e) => {
clearTimeout($e), Fe(), Fe = noop$3;
};
return ($e) => {
const Ve = resolveUnref(Ie), qe = resolveUnref(Ce.maxWait);
return xe && Oe(xe), Ve <= 0 || qe !== void 0 && qe <= 0 ? (_e && (Oe(_e), _e = null), Promise.resolve($e())) : new Promise((ze, An) => {
Fe = Ce.rejectOnCancel ? An : ze, qe && !_e && (_e = setTimeout(() => {
xe && Oe(xe), _e = null, ze($e());
}, qe)), xe = setTimeout(() => {
_e && Oe(_e), _e = null, ze($e());
}, Ve);
});
};
}
function throttleFilter(Ie, Ce = !0, xe = !0, _e = !1) {
let Fe = 0, Oe, Ue = !0, $e = noop$3, Ve;
const qe = () => {
Oe && (clearTimeout(Oe), Oe = void 0, $e(), $e = noop$3);
};
return (An) => {
const hn = resolveUnref(Ie), Cn = Date.now() - Fe, In = () => Ve = An();
return qe(), hn <= 0 ? (Fe = Date.now(), In()) : (Cn > hn && (xe || !Ue) ? (Fe = Date.now(), In()) : Ce && (Ve = new Promise((En, _n) => {
$e = _e ? _n : En, Oe = setTimeout(() => {
Fe = Date.now(), Ue = !0, En(In()), qe();
}, Math.max(0, hn - Cn));
})), !xe && !Oe && (Oe = setTimeout(() => Ue = !0, hn)), Ue = !1, Ve);
};
}
function identity$2(Ie) {
return Ie;
}
function tryOnScopeDispose(Ie) {
return getCurrentScope() ? (onScopeDispose(Ie), !0) : !1;
}
function useDebounceFn(Ie, Ce = 200, xe = {}) {
return createFilterWrapper(debounceFilter(Ce, xe), Ie);
}
function refDebounced(Ie, Ce = 200, xe = {}) {
const _e = ref(Ie.value), Fe = useDebounceFn(() => {
_e.value = Ie.value;
}, Ce, xe);
return watch(Ie, () => Fe()), _e;
}
function useThrottleFn(Ie, Ce = 200, xe = !1, _e = !0, Fe = !1) {
return createFilterWrapper(throttleFilter(Ce, xe, _e, Fe), Ie);
}
function tryOnMounted(Ie, Ce = !0) {
getCurrentInstance() ? onMounted(Ie) : Ce ? Ie() : nextTick(Ie);
}
function useTimeoutFn(Ie, Ce, xe = {}) {
const {
immediate: _e = !0
} = xe, Fe = ref(!1);
let Oe = null;
function Ue() {
Oe && (clearTimeout(Oe), Oe = null);
}
function $e() {
Fe.value = !1, Ue();
}
function Ve(...qe) {
Ue(), Fe.value = !0, Oe = setTimeout(() => {
Fe.value = !1, Oe = null, Ie(...qe);
}, resolveUnref(Ce));
}
return _e && (Fe.value = !0, isClient && Ve()), tryOnScopeDispose($e), {
isPending: readonly(Fe),
start: Ve,
stop: $e
};
}
function unrefElement(Ie) {
var Ce;
const xe = resolveUnref(Ie);
return (Ce = xe == null ? void 0 : xe.$el) != null ? Ce : xe;
}
const defaultWindow$1 = isClient ? window : void 0, defaultDocument = isClient ? window.document : void 0;
function useEventListener(...Ie) {
let Ce, xe, _e, Fe;
if (isString$1(Ie[0]) || Array.isArray(Ie[0]) ? ([xe, _e, Fe] = Ie, Ce = defaultWindow$1) : [Ce, xe, _e, Fe] = Ie, !Ce)
return noop$3;
Array.isArray(xe) || (xe = [xe]), Array.isArray(_e) || (_e = [_e]);
const Oe = [], Ue = () => {
Oe.forEach((ze) => ze()), Oe.length = 0;
}, $e = (ze, An, hn, Cn) => (ze.addEventListener(An, hn, Cn), () => ze.removeEventListener(An, hn, Cn)), Ve = watch(() => [unrefElement(Ce), resolveUnref(Fe)], ([ze, An]) => {
Ue(), ze && Oe.push(...xe.flatMap((hn) => _e.map((Cn) => $e(ze, hn, Cn, An))));
}, { immediate: !0, flush: "post" }), qe = () => {
Ve(), Ue();
};
return tryOnScopeDispose(qe), qe;
}
let _iOSWorkaround = !1;
function onClickOutside(Ie, Ce, xe = {}) {
const { window: _e = defaultWindow$1, ignore: Fe = [], capture: Oe = !0, detectIframe: Ue = !1 } = xe;
if (!_e)
return;
isIOS && !_iOSWorkaround && (_iOSWorkaround = !0, Array.from(_e.document.body.children).forEach((hn) => hn.addEventListener("click", noop$3)));
let $e = !0;
const Ve = (hn) => Fe.some((Cn) => {
if (typeof Cn == "string")
return Array.from(_e.document.querySelectorAll(Cn)).some((In) => In === hn.target || hn.composedPath().includes(In));
{
const In = unrefElement(Cn);
return In && (hn.target === In || hn.composedPath().includes(In));
}
}), ze = [
useEventListener(_e, "click", (hn) => {
const Cn = unrefElement(Ie);
if (!(!Cn || Cn === hn.target || hn.composedPath().includes(Cn))) {
if (hn.detail === 0 && ($e = !Ve(hn)), !$e) {
$e = !0;
return;
}
Ce(hn);
}
}, { passive: !0, capture: Oe }),
useEventListener(_e, "pointerdown", (hn) => {
const Cn = unrefElement(Ie);
Cn && ($e = !hn.composedPath().includes(Cn) && !Ve(hn));
}, { passive: !0 }),
Ue && useEventListener(_e, "blur", (hn) => {
var Cn;
const In = unrefElement(Ie);
((Cn = _e.document.activeElement) == null ? void 0 : Cn.tagName) === "IFRAME" && !(In != null && In.contains(_e.document.activeElement)) && Ce(hn);
})
].filter(Boolean);
return () => ze.forEach((hn) => hn());
}
function useSupported(Ie, Ce = !1) {
const xe = ref(), _e = () => xe.value = Boolean(Ie());
return _e(), tryOnMounted(_e, Ce), xe;
}
function cloneFnJSON(Ie) {
return JSON.parse(JSON.stringify(Ie));
}
const _global = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, globalKey = "__vueuse_ssr_handlers__";
_global[globalKey] = _global[globalKey] || {};
_global[globalKey];
function useCssVar(Ie, Ce, { window: xe = defaultWindow$1, initialValue: _e = "" } = {}) {
const Fe = ref(_e), Oe = computed$1(() => {
var Ue;
return unrefElement(Ce) || ((Ue = xe == null ? void 0 : xe.document) == null ? void 0 : Ue.documentElement);
});
return watch([Oe, () => resolveUnref(Ie)], ([Ue, $e]) => {
var Ve;
if (Ue && xe) {
const qe = (Ve = xe.getComputedStyle(Ue).getPropertyValue($e)) == null ? void 0 : Ve.trim();
Fe.value = qe || _e;
}
}, { immediate: !0 }), watch(Fe, (Ue) => {
var $e;
($e = Oe.value) != null && $e.style && Oe.value.style.setProperty(resolveUnref(Ie), Ue);
}), Fe;
}
function useDocumentVisibility({ document: Ie = defaultDocument } = {}) {
if (!Ie)
return ref("visible");
const Ce = ref(Ie.visibilityState);
return useEventListener(Ie, "visibilitychange", () => {
Ce.value = Ie.visibilityState;
}), Ce;
}
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols, __hasOwnProp$g = Object.prototype.hasOwnProperty, __propIsEnum$g = Object.prototype.propertyIsEnumerable, __objRest$2 = (Ie, Ce) => {
var xe = {};
for (var _e in Ie)
__hasOwnProp$g.call(Ie, _e) && Ce.indexOf(_e) < 0 && (xe[_e] = Ie[_e]);
if (Ie != null && __getOwnPropSymbols$g)
for (var _e of __getOwnPropSymbols$g(Ie))
Ce.indexOf(_e) < 0 && __propIsEnum$g.call(Ie, _e) && (xe[_e] = Ie[_e]);
return xe;
};
function useResizeObserver(Ie, Ce, xe = {}) {
const _e = xe, { window: Fe = defaultWindow$1 } = _e, Oe = __objRest$2(_e, ["window"]);
let Ue;
const $e = useSupported(() => Fe && "ResizeObserver" in Fe), Ve = () => {
Ue && (Ue.disconnect(), Ue = void 0);
}, qe = watch(() => unrefElement(Ie), (An) => {
Ve(), $e.value && Fe && An && (Ue = new ResizeObserver(Ce), Ue.observe(An, Oe));
}, { immediate: !0, flush: "post" }), ze = () => {
Ve(), qe();
};
return tryOnScopeDispose(ze), {
isSupported: $e,
stop: ze
};
}
function useElementBounding(Ie, Ce = {}) {
const {
reset: xe = !0,
windowResize: _e = !0,
windowScroll: Fe = !0,
immediate: Oe = !0
} = Ce, Ue = ref(0), $e = ref(0), Ve = ref(0), qe = ref(0), ze = ref(0), An = ref(0), hn = ref(0), Cn = ref(0);
function In() {
const En = unrefElement(Ie);
if (!En) {
xe && (Ue.value = 0, $e.value = 0, Ve.value = 0, qe.value = 0, ze.value = 0, An.value = 0, hn.value = 0, Cn.value = 0);
return;
}
const _n = En.getBoundingClientRect();
Ue.value = _n.height, $e.value = _n.bottom, Ve.value = _n.left, qe.value = _n.right, ze.value = _n.top, An.value = _n.width, hn.value = _n.x, Cn.value = _n.y;
}
return useResizeObserver(Ie, In), watch(() => unrefElement(Ie), (En) => !En && In()), Fe && useEventListener("scroll", In, { capture: !0, passive: !0 }), _e && useEventListener("resize", In, { passive: !0 }), tryOnMounted(() => {
Oe && In();
}), {
height: Ue,
bottom: $e,
left: Ve,
right: qe,
top: ze,
width: An,
x: hn,
y: Cn,
update: In
};
}
var SwipeDirection;
(function(Ie) {
Ie.UP = "UP", Ie.RIGHT = "RIGHT", Ie.DOWN = "DOWN", Ie.LEFT = "LEFT", Ie.NONE = "NONE";
})(SwipeDirection || (SwipeDirection = {}));
var __defProp$1 = Object.defineProperty, __getOwnPropSymbols = Object.getOwnPropertySymbols, __hasOwnProp = Object.prototype.hasOwnProperty, __propIsEnum = Object.prototype.propertyIsEnumerable, __defNormalProp$1 = (Ie, Ce, xe) => Ce in Ie ? __defProp$1(Ie, Ce, { enumerable: !0, configurable: !0, writable: !0, value: xe }) : Ie[Ce] = xe, __spreadValues = (Ie, Ce) => {
for (var xe in Ce || (Ce = {}))
__hasOwnProp.call(Ce, xe) && __defNormalProp$1(Ie, xe, Ce[xe]);
if (__getOwnPropSymbols)
for (var xe of __getOwnPropSymbols(Ce))
__propIsEnum.call(Ce, xe) && __defNormalProp$1(Ie, xe, Ce[xe]);
return Ie;
};
const _TransitionPresets = {
easeInSine: [0.12, 0, 0.39, 0],
easeOutSine: [0.61, 1, 0.88, 1],
easeInOutSine: [0.37, 0, 0.63, 1],
easeInQuad: [0.11, 0, 0.5, 0],
easeOutQuad: [0.5, 1, 0.89, 1],
easeInOutQuad: [0.45, 0, 0.55, 1],
easeInCubic: [0.32, 0, 0.67, 0],
easeOutCubic: [0.33, 1, 0.68, 1],
easeInOutCubic: [0.65, 0, 0.35, 1],
easeInQuart: [0.5, 0, 0.75, 0],
easeOutQuart: [0.25, 1, 0.5, 1],
easeInOutQuart: [0.76, 0, 0.24, 1],
easeInQuint: [0.64, 0, 0.78, 0],
easeOutQuint: [0.22, 1, 0.36, 1],
easeInOutQuint: [0.83, 0, 0.17, 1],
easeInExpo: [0.7, 0, 0.84, 0],
easeOutExpo: [0.16, 1, 0.3, 1],
easeInOutExpo: [0.87, 0, 0.13, 1],
easeInCirc: [0.55, 0, 1, 0.45],
easeOutCirc: [0, 0.55, 0.45, 1],
easeInOutCirc: [0.85, 0, 0.15, 1],
easeInBack: [0.36, 0, 0.66, -0.56],
easeOutBack: [0.34, 1.56, 0.64, 1],
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
};
__spreadValues({
linear: identity$2
}, _TransitionPresets);
function useVModel(Ie, Ce, xe, _e = {}) {
var Fe, Oe, Ue;
const {
clone: $e = !1,
passive: Ve = !1,
eventName: qe,
deep: ze = !1,
defaultValue: An
} = _e, hn = getCurrentInstance(), Cn = xe || (hn == null ? void 0 : hn.emit) || ((Fe = hn == null ? void 0 : hn.$emit) == null ? void 0 : Fe.bind(hn)) || ((Ue = (Oe = hn == null ? void 0 : hn.proxy) == null ? void 0 : Oe.$emit) == null ? void 0 : Ue.bind(hn == null ? void 0 : hn.proxy));
let In = qe;
Ce || (Ce = "modelValue"), In = qe || In || `update:${Ce.toString()}`;
const En = (Bn) => $e ? isFunction$2($e) ? $e(Bn) : cloneFnJSON(Bn) : Bn, _n = () => isDef(Ie[Ce]) ? En(Ie[Ce]) : An;
if (Ve) {
const Bn = _n(), Qn = ref(Bn);
return watch(() => Ie[Ce], (Sn) => Qn.value = En(Sn)), watch(Qn, (Sn) => {
(Sn !== Ie[Ce] || ze) && Cn(In, Sn);
}, { deep: ze }), Qn;
} else
return computed$1({
get() {
return _n();
},
set(Bn) {
Cn(In, Bn);
}
});
}
function useWindowFocus({ window: Ie = defaultWindow$1 } = {}) {
if (!Ie)
return ref(!1);
const Ce = ref(Ie.document.hasFocus());
return useEventListener(Ie, "blur", () => {
Ce.value = !1;
}), useEventListener(Ie, "focus", () => {
Ce.value = !0;
}), Ce;
}
function useWindowSize(Ie = {}) {
const {
window: Ce = defaultWindow$1,
initialWidth: xe = 1 / 0,
initialHeight: _e = 1 / 0,
listenOrientation: Fe = !0,
includeScrollbar: Oe = !0
} = Ie, Ue = ref(xe), $e = ref(_e), Ve = () => {
Ce && (Oe ? (Ue.value = Ce.innerWidth, $e.value = Ce.innerHeight) : (Ue.value = Ce.document.documentElement.clientWidth, $e.value = Ce.document.documentElement.clientHeight));
};
return Ve(), tryOnMounted(Ve), useEventListener("resize", Ve, { passive: !0 }), Fe && useEventListener("orientationchange", Ve, { passive: !0 }), { width: Ue, height: $e };
}
const isFirefox = () => isClient && /firefox/i.test(window.navigator.userAgent), isInContainer = (Ie, Ce) => {
if (!isClient || !Ie || !Ce)
return !1;
const xe = Ie.getBoundingClientRect();
let _e;
return Ce instanceof Element ? _e = Ce.getBoundingClientRect() : _e = {
top: 0,
right: window.innerWidth,
bottom: window.innerHeight,
left: 0
}, xe.top < _e.bottom && xe.bottom > _e.top && xe.right > _e.left && xe.left < _e.right;
}, getOffsetTop = (Ie) => {
let Ce = 0, xe = Ie;
for (; xe; )
Ce += xe.offsetTop, xe = xe.offsetParent;
return Ce;
}, getOffsetTopDistance = (Ie, Ce) => Math.abs(getOffsetTop(Ie) - getOffsetTop(Ce)), getClientXY = (Ie) => {
let Ce, xe;
return Ie.type === "touchend" ? (xe = Ie.changedTouches[0].clientY, Ce = Ie.changedTouches[0].clientX) : Ie.type.startsWith("touch") ? (xe = Ie.touches[0].clientY, Ce = Ie.touches[0].clientX) : (xe = Ie.clientY, Ce = Ie.clientX), {
clientX: Ce,
clientY: xe
};
};
/**
* @vue/shared v3.5.17
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
process.env.NODE_ENV !== "production" && Object.freeze({});
process.env.NODE_ENV !== "production" && Object.freeze([]);
const NOOP = () => {
}, extend$4 = Object.assign, hasOwnProperty$g = Object.prototype.hasOwnProperty, hasOwn = (Ie, Ce) => hasOwnProperty$g.call(Ie, Ce), isArray$4 = Array.isArray, isDate = (Ie) => toTypeString(Ie) === "[object Date]", isFunction$1 = (Ie) => typeof Ie == "function", isString = (Ie) => typeof Ie == "string", isObject$d = (Ie) => Ie !== null && typeof Ie == "object", isPromise = (Ie) => (isObject$d(Ie) || isFunction$1(Ie)) && isFunction$1(Ie.then) && isFunction$1(Ie.catch), objectToString$1 = Object.prototype.toString, toTypeString = (Ie) => objectToString$1.call(Ie), toRawType = (Ie) => toTypeString(Ie).slice(8, -1), cacheStringFunction = (Ie) => {
const Ce = /* @__PURE__ */ Object.create(null);
return (xe) => Ce[xe] || (Ce[xe] = Ie(xe));
}, camelizeRE = /-(\w)/g, camelize = cacheStringFunction(
(Ie) => Ie.replace(camelizeRE, (Ce, xe) => xe ? xe.toUpperCase() : "")
), hyphenateRE = /\B([A-Z])/g, hyphenate = cacheStringFunction(
(Ie) => Ie.replace(hyphenateRE, "-$1").toLowerCase()
), capitalize$2 = cacheStringFunction((Ie) => Ie.charAt(0).toUpperCase() + Ie.slice(1)), hasChanged = (Ie, Ce) => !Object.is(Ie, Ce);
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
const freeGlobal$1 = freeGlobal;
var freeSelf = typeof self == "object" && self && self.Object === Object && self, root$1 = freeGlobal$1 || freeSelf || Function("return this")();
const root$2 = root$1;
var Symbol$2 = root$2.Symbol;
const Symbol$3 = Symbol$2;
var objectProto$f = Object.prototype, hasOwnProperty$f = objectProto$f.hasOwnProperty, nativeObjectToString$1 = objectProto$f.toString, symToStringTag$1 = Symbol$3 ? Symbol$3.toStringTag : void 0;
function getRawTag(Ie) {
var Ce = hasOwnProperty$f.call(Ie, symToStringTag$1), xe = Ie[symToStringTag$1];
try {
Ie[symToStringTag$1] = void 0;
var _e = !0;
} catch {
}
var Fe = nativeObjectToString$1.call(Ie);
return _e && (Ce ? Ie[symToStringTag$1] = xe : delete Ie[symToStringTag$1]), Fe;
}
var objectProto$e = Object.prototype, nativeObjectToString = objectProto$e.toString;
function objectToString(Ie) {
return nativeObjectToString.call(Ie);
}
var nullTag = "[object Null]", undefinedTag = "[object Undefined]", symToStringTag = Symbol$3 ? Symbol$3.toStringTag : void 0;
function baseGetTag(Ie) {
return Ie == null ? Ie === void 0 ? undefinedTag : nullTag : symToStringTag && symToStringTag in Object(Ie) ? getRawTag(Ie) : objectToString(Ie);
}
function isObjectLike(Ie) {
return Ie != null && typeof Ie == "object";
}
var symbolTag$3 = "[object Symbol]";
function isSymbol$3(Ie) {
return typeof Ie == "symbol" || isObjectLike(Ie) && baseGetTag(Ie) == symbolTag$3;
}
function arrayMap(Ie, Ce) {
for (var xe = -1, _e = Ie == null ? 0 : Ie.length, Fe = Array(_e); ++xe < _e; )
Fe[xe] = Ce(Ie[xe], xe, Ie);
return Fe;
}
var isArray$2 = Array.isArray;
const isArray$3 = isArray$2;
var INFINITY$3 = 1 / 0, symbolProto$2 = Symbol$3 ? Symbol$3.prototype : void 0, symbolToString = symbolProto$2 ? symbolProto$2.toString : void 0;
function baseToString(Ie) {
if (typeof Ie == "string")
return Ie;
if (isArray$3(Ie))
return arrayMap(Ie, baseToString) + "";
if (isSymbol$3(Ie))
return symbolToString ? symbolToString.call(Ie) : "";
var Ce = Ie + "";
return Ce == "0" && 1 / Ie == -INFINITY$3 ? "-0" : Ce;
}
var reWhitespace = /\s/;
function trimmedEndIndex(Ie) {
for (var Ce = Ie.length; Ce-- && reWhitespace.test(Ie.charAt(Ce)); )
;
return Ce;
}
var reTrimStart = /^\s+/;
function baseTrim(Ie) {
return Ie && Ie.slice(0, trimmedEndIndex(Ie) + 1).replace(reTrimStart, "");
}
function isObject$c(Ie) {
var Ce = typeof Ie;
return Ie != null && (Ce == "object" || Ce == "function");
}
var NAN = 0 / 0, reIsBadHex = /^[-+]0x[0-9a-f]+$/i, reIsBinary = /^0b[01]+$/i, reIsOctal = /^0o[0-7]+$/i, freeParseInt = parseInt;
function toNumber(Ie) {
if (typeof Ie == "number")
return Ie;
if (isSymbol$3(Ie))
return NAN;
if (isObject$c(Ie)) {
var Ce = typeof Ie.valueOf == "function" ? Ie.valueOf() : Ie;
Ie = isObject$c(Ce) ? Ce + "" : Ce;
}
if (typeof Ie != "string")
return Ie === 0 ? Ie : +Ie;
Ie = baseTrim(Ie);
var xe = reIsBinary.test(Ie);
return xe || reIsOctal.test(Ie) ? freeParseInt(Ie.slice(2), xe ? 2 : 8) : reIsBadHex.test(Ie) ? NAN : +Ie;
}
function identity$1(Ie) {
return Ie;
}
var asyncTag = "[object AsyncFunction]", funcTag$2 = "[object Function]", genTag$1 = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
function isFunction(Ie) {
if (!isObject$c(Ie))
return !1;
var Ce = baseGetTag(Ie);
return Ce == funcTag$2 || Ce == genTag$1 || Ce == asyncTag || Ce == proxyTag;
}
var coreJsData = root$2["__core-js_shared__"];
const coreJsData$1 = coreJsData;
var maskSrcKey = function() {
var Ie = /[^.]+$/.exec(coreJsData$1 && coreJsData$1.keys && coreJsData$1.keys.IE_PROTO || "");
return Ie ? "Symbol(src)_1." + Ie : "";
}();
function isMasked(Ie) {
return !!maskSrcKey && maskSrcKey in Ie;
}
var funcProto$2 = Function.prototype, funcToString$2 = funcProto$2.toString;
function toSource(Ie) {
if (Ie != null) {
try {
return funcToString$2.call(Ie);
} catch {
}
try {
return Ie + "";
} catch {
}
}
return "";
}
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g, reIsHostCtor = /^\[object .+?Constructor\]$/, funcProto$1 = Function.prototype, objectProto$d = Object.prototype, funcToString$1 = funcProto$1.toString, hasOwnProperty$e = objectProto$d.hasOwnProperty, reIsNative = RegExp(
"^" + funcToString$1.call(hasOwnProperty$e).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
);
function baseIsNative(Ie) {
if (!isObject$c(Ie) || isMasked(Ie))
return !1;
var Ce = isFunction(Ie) ? reIsNative : reIsHostCtor;
return Ce.test(toSource(Ie));
}
function getValue$1(Ie, Ce) {
return Ie == null ? void 0 : Ie[Ce];
}
function getNative(Ie, Ce) {
var xe = getValue$1(Ie, Ce);
return baseIsNative(xe) ? xe : void 0;
}
var WeakMap$3 = getNative(root$2, "WeakMap");
const WeakMap$4 = WeakMap$3;
var objectCreate$1 = Object.create, baseCreate = function() {
function Ie() {
}
return function(Ce) {
if (!isObject$c(Ce))
return {};
if (objectCreate$1)
return objectCreate$1(Ce);
Ie.prototype = Ce;
var xe = new Ie();
return Ie.prototype = void 0, xe;
};
}();
const baseCreate$1 = baseCreate;
function apply$5(Ie, Ce, xe) {
switch (xe.length) {
case 0:
return Ie.call(Ce);
case 1:
return Ie.call(Ce, xe[0]);
case 2:
return Ie.call(Ce, xe[0], xe[1]);
case 3:
return Ie.call(Ce, xe[0], xe[1], xe[2]);
}
return Ie.apply(Ce, xe);
}
function noop$2() {
}
function copyArray(Ie, Ce) {
var xe = -1, _e = Ie.length;
for (Ce || (Ce = Array(_e)); ++xe < _e; )
Ce[xe] = Ie[xe];
return Ce;
}
var HOT_COUNT = 800, HOT_SPAN = 16, nativeNow = Date.now;
function shortOut(Ie) {
var Ce = 0, xe = 0;
return function() {
var _e = nativeNow(), Fe = HOT_SPAN - (_e - xe);
if (xe = _e, Fe > 0) {
if (++Ce >= HOT_COUNT)
return arguments[0];
} else
Ce = 0;
return Ie.apply(void 0, arguments);
};
}
function constant(Ie) {
return function() {
return Ie;
};
}
var defineProperty = function() {
try {
var Ie = getNative(Object, "defineProperty");
return Ie({}, "", {}), Ie;
} catch {
}
}();
const defineProperty$6 = defineProperty;
var baseSetToString = defineProperty$6 ? function(Ie, Ce) {
return defineProperty$6(Ie, "toString", {
configurable: !0,
enumerable: !1,
value: constant(Ce),
writable: !0
});
} : identity$1;
const baseSetToString$1 = baseSetToString;
var setToString = shortOut(baseSetToString$1);
const setToString$1 = setToString;
function arrayEach(Ie, Ce) {
for (var xe = -1, _e = Ie == null ? 0 : Ie.length; ++xe < _e && Ce(Ie[xe], xe, Ie) !== !1; )
;
return Ie;
}
function baseFindIndex(Ie, Ce, xe, _e) {
for (var Fe = Ie.length, Oe = xe + (_e ? 1 : -1); _e ? Oe-- : ++Oe < Fe; )
if (Ce(Ie[Oe], Oe, Ie))
return Oe;
return -1;
}
function baseIsNaN(Ie) {
return Ie !== Ie;
}
function strictIndexOf(Ie, Ce, xe) {
for (var _e = xe - 1, Fe = Ie.length; ++_e < Fe; )
if (Ie[_e] === Ce)
return _e;
return -1;
}
function baseIndexOf(Ie, Ce, xe) {
return Ce === Ce ? strictIndexOf(Ie, Ce, xe) : baseFindIndex(Ie, baseIsNaN, xe);
}
function arrayIncludes$1(Ie, Ce) {
var xe = Ie == null ? 0 : Ie.length;
return !!xe && baseIndexOf(Ie, Ce, 0) > -1;
}
var MAX_SAFE_INTEGER$1 = 9007199254740991, reIsUint = /^(?:0|[1-9]\d*)$/;
function isIndex(Ie, Ce) {
var xe = typeof Ie;
return Ce = Ce == null ? MAX_SAFE_INTEGER$1 : Ce, !!Ce && (xe == "number" || xe != "symbol" && reIsUint.test(Ie)) && Ie > -1 && Ie % 1 == 0 && Ie < Ce;
}
function baseAssignValue(Ie, Ce, xe) {
Ce == "__proto__" && defineProperty$6 ? defineProperty$6(Ie, Ce, {
configurable: !0,
enumerable: !0,
value: xe,
writable: !0
}) : Ie[Ce] = xe;
}
function eq(Ie, Ce) {
return Ie === Ce || Ie !== Ie && Ce !== Ce;
}
var objectProto$c = Object.prototype, hasOwnProperty$d = objectProto$c.hasOwnProperty;
function assignValue(Ie, Ce, xe) {
var _e = Ie[Ce];
(!(hasOwnProperty$d.call(Ie, Ce) && eq(_e, xe)) || xe === void 0 && !(Ce in Ie)) && baseAssignValue(Ie, Ce, xe);
}
function copyObject(Ie, Ce, xe, _e) {
var Fe = !xe;
xe || (xe = {});
for (var Oe = -1, Ue = Ce.length; ++Oe < Ue; ) {
var $e = Ce[Oe], Ve = _e ? _e(xe[$e], Ie[$e], $e, xe, Ie) : void 0;
Ve === void 0 && (Ve = Ie[$e]), Fe ? baseAssignValue(xe, $e, Ve) : assignValue(xe, $e, Ve);
}
return xe;
}
var nativeMax$1 = Math.max;
function overRest(Ie, Ce, xe) {
return Ce = nativeMax$1(Ce === void 0 ? Ie.length - 1 : Ce, 0), function() {
for (var _e = arguments, Fe = -1, Oe = nativeMax$1(_e.length - Ce, 0), Ue = Array(Oe); ++Fe < Oe; )
Ue[Fe] = _e[Ce + Fe];
Fe = -1;
for (var $e = Array(Ce + 1); ++Fe < Ce; )
$e[Fe] = _e[Fe];
return $e[Ce] = xe(Ue), apply$5(Ie, this, $e);
};
}
function baseRest(Ie, Ce) {
return setToString$1(overRest(Ie, Ce, identity$1), Ie + "");
}
var MAX_SAFE_INTEGER = 9007199254740991;
function isLength$1(Ie) {
return typeof Ie == "number" && Ie > -1 && Ie % 1 == 0 && Ie <= MAX_SAFE_INTEGER;
}
function isArrayLike(Ie) {
return Ie != null && isLength$1(Ie.length) && !isFunction(Ie);
}
function isIterateeCall(Ie, Ce, xe) {
if (!isObject$c(xe))
return !1;
var _e = typeof Ce;
return (_e == "number" ? isArrayLike(xe) && isIndex(Ce, xe.length) : _e == "string" && Ce in xe) ? eq(xe[Ce], Ie) : !1;
}
function createAssigner(Ie) {
return baseRest(function(Ce, xe) {
var _e = -1, Fe = xe.length, Oe = Fe > 1 ? xe[Fe - 1] : void 0, Ue = Fe > 2 ? xe[2] : void 0;
for (Oe = Ie.length > 3 && typeof Oe == "function" ? (Fe--, Oe) : void 0, Ue && isIterateeCall(xe[0], xe[1], Ue) && (Oe = Fe < 3 ? void 0 : Oe, Fe = 1), Ce = Object(Ce); ++_e < Fe; ) {
var $e = xe[_e];
$e && Ie(Ce, $e, _e, Oe);
}
return Ce;
});
}
var objectProto$b = Object.prototype;
function isPrototype(Ie) {
var Ce = Ie && Ie.constructor, xe = typeof Ce == "function" && Ce.prototype || objectProto$b;
return Ie === xe;
}
function baseTimes(Ie, Ce) {
for (var xe = -1, _e = Array(Ie); ++xe < Ie; )
_e[xe] = Ce(xe);
return _e;
}
var argsTag$3 = "[object Arguments]";
function baseIsArguments(Ie) {
return isObjectLike(Ie) && baseGetTag(Ie) == argsTag$3;
}
var objectProto$a = Object.prototype, hasOwnProperty$c = objectProto$a.hasOwnProperty, propertyIsEnumerable$1 = objectProto$a.propertyIsEnumerable, isArguments = baseIsArguments(function() {
return arguments;
}()) ? baseIsArguments : function(Ie) {
return isObjectLike(Ie) && hasOwnProperty$c.call(Ie, "callee") && !propertyIsEnumerable$1.call(Ie, "callee");
};
const isArguments$1 = isArguments;
function stubFalse() {
return !1;
}
var freeExports$2 = typeof exports == "object" && exports && !exports.nodeType && exports, freeModule$2 = freeExports$2 && typeof module == "object" && module && !module.nodeType && module, moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2, Buffer$2 = moduleExports$2 ? root$2.Buffer : void 0, nativeIsBuffer = Buffer$2 ? Buffer$2.isBuffer : void 0, isBuffer = nativeIsBuffer || stubFalse;
const isBuffer$1 = isBuffer;
var argsTag$2 = "[object Arguments]", arrayTag$2 = "[object Array]", boolTag$3 = "[object Boolean]", dateTag$3 = "[object Date]", errorTag$2 = "[object Error]", funcTag$1 = "[object Function]", mapTag$5 = "[object Map]", numberTag$3 = "[object Number]", objectTag$4 = "[object Object]", regexpTag$3 = "[object RegExp]", setTag$5 = "[object Set]", stringTag$3 = "[object String]", weakMapTag$2 = "[object WeakMap]", arrayBufferTag$3 = "[object ArrayBuffer]", dataViewTag$4 = "[object DataView]", float32Tag$2 = "[object Float32Array]", float64Tag$2 = "[object Float64Array]", int8Tag$2 = "[object Int8Array]", int16Tag$2 = "[object Int16Array]", int32Tag$2 = "[object Int32Array]", uint8Tag$2 = "[object Uint8Array]", uint8ClampedTag$2 = "[object Uint8ClampedArray]", uint16Tag$2 = "[object Uint16Array]", uint32Tag$2 = "[object Uint32Array]", typedArrayTags = {};
typedArrayTags[float32Tag$2] = typedArrayTags[float64Tag$2] = typedArrayTags[int8Tag$2] = typedArrayTags[int16Tag$2] = typedArrayTags[int32Tag$2] = typedArrayTags[uint8Tag$2] = typedArrayTags[uint8ClampedTag$2] = typedArrayTags[uint16Tag$2] = typedArrayTags[uint32Tag$2] = !0;
typedArrayTags[argsTag$2] = typedArrayTags[arrayTag$2] = typedArrayTags[arrayBufferTag$3] = typedArrayTags[boolTag$3] = typedArrayTags[dataViewTag$4] = typedArrayTags[dateTag$3] = typedArrayTags[errorTag$2] = typedArrayTags[funcTag$1] = typedArrayTags[mapTag$5] = typedArrayTags[numberTag$3] = typedArrayTags[objectTag$4] = typedArrayTags[regexpTag$3] = typedArrayTags[setTag$5] = typedArrayTags[stringTag$3] = typedArrayTags[weakMapTag$2] = !1;
function baseIsTypedArray(Ie) {
return isObjectLike(Ie) && isLength$1(Ie.length) && !!typedArrayTags[baseGetTag(Ie)];
}
function baseUnary(Ie) {
return function(Ce) {
return Ie(Ce);
};
}
var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports, freeModule$1 = freeExports$1 && typeof module == "object" && module && !module.nodeType && module, moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1, freeProcess = moduleExports$1 && freeGlobal$1.process, nodeUtil = function() {
try {
var Ie = freeModule$1 && freeModule$1.require && freeModule$1.require("util").types;
return Ie || freeProcess && freeProcess.binding && freeProcess.binding("util");
} catch {
}
}();
const nodeUtil$1 = nodeUtil;
var nodeIsTypedArray = nodeUtil$1 && nodeUtil$1.isTypedArray, isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
const isTypedArray$1 = isTypedArray;
var objectProto$9 = Object.prototype, hasOwnProperty$b = objectProto$9.hasOwnProperty;
function arrayLikeKeys(Ie, Ce) {
var xe = isArray$3(Ie), _e = !xe && isArguments$1(Ie), Fe = !xe && !_e && isBuffer$1(Ie), Oe = !xe && !_e && !Fe && isTypedArray$1(Ie), Ue = xe || _e || Fe || Oe, $e = Ue ? baseTimes(Ie.length, String) : [], Ve = $e.length;
for (var qe in Ie)
(Ce || hasOwnProperty$b.call(Ie, qe)) && !(Ue && (qe == "length" || Fe && (qe == "offset" || qe == "parent") || Oe && (qe == "buffer" || qe == "byteLength" || qe == "byteOffset") || isIndex(qe, Ve))) && $e.push(qe);
return $e;
}
function overArg(Ie, Ce) {
return function(xe) {
return Ie(Ce(xe));
};
}
var nativeKeys = overArg(Object.keys, Object);
const nativeKeys$1 = nativeKeys;
var objectProto$8 = Object.prototype, hasOwnProperty$a = objectProto$8.hasOwnProperty;
function baseKeys(Ie) {
if (!isPrototype(Ie))
return nativeKeys$1(Ie);
var Ce = [];
for (var xe in Object(Ie))
hasOwnProperty$a.call(Ie, xe) && xe != "constructor" && Ce.push(xe);
return Ce;
}
function keys$1(Ie) {
return isArrayLike(Ie) ? arrayLikeKeys(Ie) : baseKeys(Ie);
}
function nativeKeysIn(Ie) {
var Ce = [];
if (Ie != null)
for (var xe in Object(Ie))
Ce.push(xe);
return Ce;
}
var objectProto$7 = Object.prototype, hasOwnProperty$9 = objectProto$7.hasOwnProperty;
function baseKeysIn(Ie) {
if (!isObject$c(Ie))
return nativeKeysIn(Ie);
var Ce = isPrototype(Ie), xe = [];
for (var _e in Ie)
_e == "constructor" && (Ce || !hasOwnProperty$9.call(Ie, _e)) || xe.push(_e);
return xe;
}
function keysIn(Ie) {
return isArrayLike(Ie) ? arrayLikeKeys(Ie, !0) : baseKeysIn(Ie);
}
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
function isKey(Ie, Ce) {
if (isArray$3(Ie))
return !1;
var xe = typeof Ie;
return xe == "number" || xe == "symbol" || xe == "boolean" || Ie == null || isSymbol$3(Ie) ? !0 : reIsPlainProp.test(Ie) || !reIsDeepProp.test(Ie) || Ce != null && Ie in Object(Ce);
}
var nativeCreate = getNative(Object, "create");
const nativeCreate$1 = nativeCreate;
function hashClear() {
this.__data__ = nativeCreate$1 ? nativeCreate$1(null) : {}, this.size = 0;
}
function hashDelete(Ie) {
var Ce = this.has(Ie) && delete this.__data__[Ie];
return this.size -= Ce ? 1 : 0, Ce;
}
var HASH_UNDEFINED$2 = "__lodash_hash_undefined__", objectProto$6 = Object.prototype, hasOwnProperty$8 = objectProto$6.hasOwnProperty;
function hashGet(Ie) {
var Ce = this.__data__;
if (nativeCreate$1) {
var xe = Ce[Ie];
return xe === HASH_UNDEFINED$2 ? void 0 : xe;
}
return hasOwnProperty$8.call(Ce, Ie) ? Ce[Ie] : void 0;
}
var objectProto$5 = Object.prototype, hasOwnProperty$7 = objectProto$5.hasOwnProperty;
function hashHas(Ie) {
var Ce = this.__data__;
return nativeCreate$1 ? Ce[Ie] !== void 0 : hasOwnProperty$7.call(Ce, Ie);
}
var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
function hashSet(Ie, Ce) {
var xe = this.__data__;
return this.size += this.has(Ie) ? 0 : 1, xe[Ie] = nativeCreate$1 && Ce === void 0 ? HASH_UNDEFINED$1 : Ce, this;
}
function Hash(Ie) {
var Ce = -1, xe = Ie == null ? 0 : Ie.length;
for (this.clear(); ++Ce < xe; ) {
var _e = Ie[Ce];
this.set(_e[0], _e[1]);
}
}
Hash.prototype.clear = hashClear;
Hash.prototype.delete = hashDelete;
Hash.prototype.get = hashGet;
Hash.prototype.has = hashHas;
Hash.prototype.set = hashSet;
function listCacheClear() {
this.__data__ = [], this.size = 0;
}
function assocIndexOf(Ie, Ce) {
for (var xe = Ie.length; xe--; )
if (eq(Ie[xe][0], Ce))
return xe;
return -1;
}
var arrayProto = Array.prototype, splice = arrayProto.splice;
function listCacheDelete(Ie) {
var Ce = this.__data__, xe = assocIndexOf(Ce, Ie);
if (xe < 0)
return !1;
var _e = Ce.length - 1;
return xe == _e ? Ce.pop() : splice.call(Ce, xe, 1), --this.size, !0;
}
function listCacheGet(Ie) {
var Ce = this.__data__, xe = assocIndexOf(Ce, Ie);
return xe < 0 ? void 0 : Ce[xe][1];
}
function listCacheHas(Ie) {
return assocIndexOf(this.__data__, Ie) > -1;
}
function listCacheSet(Ie, Ce) {
var xe = this.__data__, _e = assocIndexOf(xe, Ie);
return _e < 0 ? (++this.size, xe.push([Ie, Ce])) : xe[_e][1] = Ce, this;
}
function ListCache(Ie) {
var Ce = -1, xe = Ie == null ? 0 : Ie.length;
for (this.clear(); ++Ce < xe; ) {
var _e = Ie[Ce];
this.set(_e[0], _e[1]);
}
}
ListCache.prototype.clear = listCacheClear;
ListCache.prototype.delete = listCacheDelete;
ListCache.prototype.get = listCacheGet;
ListCache.prototype.has = listCacheHas;
ListCache.prototype.set = listCacheSet;
var Map$4 = getNative(root$2, "Map");
const Map$5 = Map$4;
function mapCacheClear() {
this.size = 0, this.__data__ = {
hash: new Hash(),
map: new (Map$5 || ListCache)(),
string: new Hash()
};
}
function isKeyable(Ie) {
var Ce = typeof Ie;
return Ce == "string" || Ce == "number" || Ce == "symbol" || Ce == "boolean" ? Ie !== "__proto__" : Ie === null;
}
function getMapData(Ie, Ce) {
var xe = Ie.__data__;
return isKeyable(Ce) ? xe[typeof Ce == "string" ? "string" : "hash"] : xe.map;
}
function mapCacheDelete(Ie) {
var Ce = getMapData(this, Ie).delete(Ie);
return this.size -= Ce ? 1 : 0, Ce;
}
function mapCacheGet(Ie) {
return getMapData(this, Ie).get(Ie);
}
function mapCacheHas(Ie) {
return getMapData(this, Ie).has(Ie);
}
function mapCacheSet(Ie, Ce) {
var xe = getMapData(this, Ie), _e = xe.size;
return xe.set(Ie, Ce), this.size += xe.size == _e ? 0 : 1, this;
}
function MapCache(Ie) {
var Ce = -1, xe = Ie == null ? 0 : Ie.length;
for (this.clear(); ++Ce < xe; ) {
var _e = Ie[Ce];
this.set(_e[0], _e[1]);
}
}
MapCache.prototype.clear = mapCacheClear;
MapCache.prototype.delete = mapCacheDelete;
MapCache.prototype.get = mapCacheGet;
MapCache.prototype.has = mapCacheHas;
MapCache.prototype.set = mapCacheSet;
var FUNC_ERROR_TEXT$2 = "Expected a function";
function memoize(Ie, Ce) {
if (typeof Ie != "function" || Ce != null && typeof Ce != "function")
throw new TypeError(FUNC_ERROR_TEXT$2);
var xe = function() {
var _e = arguments, Fe = Ce ? Ce.apply(this, _e) : _e[0], Oe = xe.cache;
if (Oe.has(Fe))
return Oe.get(Fe);
var Ue = Ie.apply(this, _e);
return xe.cache = Oe.set(Fe, Ue) || Oe, Ue;
};
return xe.cache = new (memoize.Cache || MapCache)(), xe;
}
memoize.Cache = MapCache;
var MAX_MEMOIZE_SIZE = 500;
function memoizeCapped(Ie) {
var Ce = memoize(Ie, function(_e) {
return xe.size === MAX_MEMOIZE_SIZE && xe.clear(), _e;
}), xe = Ce.cache;
return Ce;
}
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, reEscapeChar = /\\(\\)?/g, stringToPath = memoizeCapped(function(Ie) {
var Ce = [];
return Ie.charCodeAt(0) === 46 && Ce.push(""), Ie.replace(rePropName, function(xe, _e, Fe, Oe) {
Ce.push(Fe ? Oe.replace(reEscapeChar, "$1") : _e || xe);
}), Ce;
});
const stringToPath$1 = stringToPath;
function toString$d(Ie) {
return Ie == null ? "" : baseToString(Ie);
}
function castPath(Ie, Ce) {
return isArray$3(Ie) ? Ie : isKey(Ie, Ce) ? [Ie] : stringToPath$1(toString$d(Ie));
}
var INFINITY$2 = 1 / 0;
function toKey(Ie) {
if (typeof Ie == "string" || isSymbol$3(Ie))
return Ie;
var Ce = Ie + "";
return Ce == "0" && 1 / Ie == -INFINITY$2 ? "-0" : Ce;
}
function baseGet(Ie, Ce) {
Ce = castPath(Ce, Ie);
for (var xe = 0, _e = Ce.length; Ie != null && xe < _e; )
Ie = Ie[toKey(Ce[xe++])];
return xe && xe == _e ? Ie : void 0;
}
function get$6(Ie, Ce, xe) {
var _e = Ie == null ? void 0 : baseGet(Ie, Ce);
return _e === void 0 ? xe : _e;
}
function arrayPush$1(Ie, Ce) {
for (var xe = -1, _e = Ce.length, Fe = Ie.length; ++xe < _e; )
Ie[Fe + xe] = Ce[xe];
return Ie;
}
var spreadableSymbol = Symbol$3 ? Symbol$3.isConcatSpreadable : void 0;
function isFlattenable(Ie) {
return isArray$3(Ie) || isArguments$1(Ie) || !!(spreadableSymbol && Ie && Ie[spreadableSymbol]);
}
function baseFlatten(Ie, Ce, xe, _e, Fe) {
var Oe = -1, Ue = Ie.length;
for (xe || (xe = isFlattenable), Fe || (Fe = []); ++Oe < Ue; ) {
var $e = Ie[Oe];
Ce > 0 && xe($e) ? Ce > 1 ? baseFlatten($e, Ce - 1, xe, _e, Fe) : arrayPush$1(Fe, $e) : _e || (Fe[Fe.length] = $e);
}
return Fe;
}
function flatten(Ie) {
var Ce = Ie == null ? 0 : Ie.length;
return Ce ? baseFlatten(Ie, 1) : [];
}
function flatRest(Ie) {
return setToString$1(overRest(Ie, void 0, flatten), Ie + "");
}
var getPrototype = overArg(Object.getPrototypeOf, Object);
const getPrototype$1 = getPrototype;
var objectTag$3 = "[object Object]", funcProto = Function.prototype, objectProto$4 = Object.prototype, funcToString = funcProto.toString, hasOwnProperty$6 = objectProto$4.hasOwnProperty, objectCtorString = funcToString.call(Object);
function isPlainObject(Ie) {
if (!isObjectLike(Ie) || baseGetTag(Ie) != objectTag$3)
return !1;
var Ce = getPrototype$1(Ie);
if (Ce === null)
return !0;
var xe = hasOwnProperty$6.call(Ce, "constructor") && Ce.constructor;
return typeof xe == "function" && xe instanceof xe && funcToString.call(xe) == objectCtorString;
}
function castArray$1() {
if (!arguments.length)
return [];
var Ie = arguments[0];
return isArray$3(Ie) ? Ie : [Ie];
}
function stackClear() {
this.__data__ = new ListCache(), this.size = 0;
}
function stackDelete(Ie) {
var Ce = this.__data__, xe = Ce.delete(Ie);
return this.size = Ce.size, xe;
}
function stackGet(Ie) {
return this.__data__.get(Ie);
}
function stackHas(Ie) {
return this.__data__.has(Ie);
}
var LARGE_ARRAY_SIZE$1 = 200;
function stackSet(Ie, Ce) {
var xe = this.__data__;
if (xe instanceof ListCache) {
var _e = xe.__data__;
if (!Map$5 || _e.length < LARGE_ARRAY_SIZE$1 - 1)
return _e.push([Ie, Ce]), this.size = ++xe.size, this;
xe = this.__data__ = new MapCache(_e);
}
return xe.set(Ie, Ce), this.size = xe.size, this;
}
function Stack(Ie) {
var Ce = this.__data__ = new ListCache(Ie);
this.size = Ce.size;
}
Stack.prototype.clear = stackClear;
Stack.prototype.delete = stackDelete;
Stack.prototype.get = stackGet;
Stack.prototype.has = stackHas;
Stack.prototype.set = stackSet;
function baseAssign(Ie, Ce) {
return Ie && copyObject(Ce, keys$1(Ce), Ie);
}
function baseAssignIn(Ie, Ce) {
return Ie && copyObject(Ce, keysIn(Ce), Ie);
}
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports, freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module, moduleExports = freeModule && freeModule.exports === freeExports, Buffer$1 = moduleExports ? root$2.Buffer : void 0, allocUnsafe = Buffer$1 ? Buffer$1.allocUnsafe : void 0;
function cloneBuffer(Ie, Ce) {
if (Ce)
return Ie.slice();
var xe = Ie.length, _e = allocUnsafe ? allocUnsafe(xe) : new Ie.constructor(xe);
return Ie.copy(_e), _e;
}
function arrayFilter(Ie, Ce) {
for (var xe = -1, _e = Ie == null ? 0 : Ie.length, Fe = 0, Oe = []; ++xe < _e; ) {
var Ue = Ie[xe];
Ce(Ue, xe, Ie) && (Oe[Fe++] = Ue);
}
return Oe;
}
function stubArray() {
return [];
}
var objectProto$3 = Object.prototype, propertyIsEnumerable = objectProto$3.propertyIsEnumerable, nativeGetSymbols$1 = Object.getOwnPropertySymbols, getSymbols = nativeGetSymbols$1 ? function(Ie) {
return Ie == null ? [] : (Ie = Object(Ie), arrayFilter(nativeGetSymbols$1(Ie), function(Ce) {
return propertyIsEnumerable.call(Ie, Ce);
}));
} : stubArray;
const getSymbols$1 = getSymbols;
function copySymbols(Ie, Ce) {
return copyObject(Ie, getSymbols$1(Ie), Ce);
}
var nativeGetSymbols = Object.getOwnPropertySymbols, getSymbolsIn = nativeGetSymbols ? function(Ie) {
for (var Ce = []; Ie; )
arrayPush$1(Ce, getSymbols$1(Ie)), Ie = getPrototype$1(Ie);
return Ce;
} : stubArray;
const getSymbolsIn$1 = getSymbolsIn;
function copySymbolsIn(Ie, Ce) {
return copyObject(Ie, getSymbolsIn$1(Ie), Ce);
}
function baseGetAllKeys(Ie, Ce, xe) {
var _e = Ce(Ie);
return isArray$3(Ie) ? _e : arrayPush$1(_e, xe(Ie));
}
function getAllKeys(Ie) {
return baseGetAllKeys(Ie, keys$1, getSymbols$1);
}
function getAllKeysIn(Ie) {
return baseGetAllKeys(Ie, keysIn, getSymbolsIn$1);
}
var DataView$1 = getNative(root$2, "DataView");
const DataView$2 = DataView$1;
var Promise$2 = getNative(root$2, "Promise");
const Promise$3 = Promise$2;
var Set$1 = getNative(root$2, "Set");
const Set$2 = Set$1;
var mapTag$4 = "[object Map]", objectTag$2 = "[object Object]", promiseTag = "[object Promise]", setTag$4 = "[object Set]", weakMapTag$1 = "[object WeakMap]", dataViewTag$3 = "[object DataView]", dataViewCtorString = toSource(DataView$2), mapCtorString = toSource(Map$5), promiseCtorString = toSource(Promise$3), setCtorString = toSource(Set$2), weakMapCtorString = toSource(WeakMap$4), getTag = baseGetTag;
(DataView$2 && getTag(new DataView$2(new ArrayBuffer(1))) != dataViewTag$3 || Map$5 && getTag(new Map$5()) != mapTag$4 || Promise$3 && getTag(Promise$3.resolve()) != promiseTag || Set$2 && getTag(new Set$2()) != setTag$4 || WeakMap$4 && getTag(new WeakMap$4()) != weakMapTag$1) && (getTag = function(Ie) {
var Ce = baseGetTag(Ie), xe = Ce == objectTag$2 ? Ie.constructor : void 0, _e = xe ? toSource(xe) : "";
if (_e)
switch (_e) {
case dataViewCtorString:
return dataViewTag$3;
case mapCtorString:
return mapTag$4;
case promiseCtorString:
return promiseTag;
case setCtorString:
return setTag$4;
case weakMapCtorString:
return weakMapTag$1;
}
return Ce;
});
const getTag$1 = getTag;
var objectProto$2 = Object.prototype, hasOwnProperty$5 = objectProto$2.hasOwnProperty;
function initCloneArray(Ie) {
var Ce = Ie.length, xe = new Ie.constructor(Ce);
return Ce && typeof Ie[0] == "string" && hasOwnProperty$5.call(Ie, "index") && (xe.index = Ie.index, xe.input = Ie.input), xe;
}
var Uint8Array$1 = root$2.Uint8Array;
const Uint8Array$2 = Uint8Array$1;
function cloneArrayBuffer(Ie) {
var Ce = new Ie.constructor(Ie.byteLength);
return new Uint8Array$2(Ce).set(new Uint8Array$2(Ie)), Ce;
}
function cloneDataView(Ie, Ce) {
var xe = Ce ? cloneArrayBuffer(Ie.buffer) : Ie.buffer;
return new Ie.constructor(xe, Ie.byteOffset, Ie.byteLength);
}
var reFlags = /\w*$/;
function cloneRegExp(Ie) {
var Ce = new Ie.constructor(Ie.source, reFlags.exec(Ie));
return Ce.lastIndex = Ie.lastIndex, Ce;
}
var symbolProto$1 = Symbol$3 ? Symbol$3.prototype : void 0, symbolValueOf$1 = symbolProto$1 ? symbolProto$1.valueOf : void 0;
function cloneSymbol(Ie) {
return symbolValueOf$1 ? Object(symbolValueOf$1.call(Ie)) : {};
}
function cloneTypedArray(Ie, Ce) {
var xe = Ce ? cloneArrayBuffer(Ie.buffer) : Ie.buffer;
return new Ie.constructor(xe, Ie.byteOffset, Ie.length);
}
var boolTag$2 = "[object Boolean]", dateTag$2 = "[object Date]", mapTag$3 = "[object Map]", numberTag$2 = "[object Number]", regexpTag$2 = "[object RegExp]", setTag$3 = "[object Set]", stringTag$2 = "[object String]", symbolTag$2 = "[object Symbol]", arrayBufferTag$2 = "[object ArrayBuffer]", dataViewTag$2 = "[object DataView]", float32Tag$1 = "[object Float32Array]", float64Tag$1 = "[object Float64Array]", int8Tag$1 = "[object Int8Array]", int16Tag$1 = "[object Int16Array]", int32Tag$1 = "[object Int32Array]", uint8Tag$1 = "[object Uint8Array]", uint8ClampedTag$1 = "[object Uint8ClampedArray]", uint16Tag$1 = "[object Uint16Array]", uint32Tag$1 = "[object Uint32Array]";
function initCloneByTag(Ie, Ce, xe) {
var _e = Ie.constructor;
switch (Ce) {
case arrayBufferTag$2:
return cloneArrayBuffer(Ie);
case boolTag$2:
case dateTag$2:
return new _e(+Ie);
case dataViewTag$2:
return cloneDataView(Ie, xe);
case float32Tag$1:
case float64Tag$1:
case int8Tag$1:
case int16Tag$1:
case int32Tag$1:
case uint8Tag$1:
case uint8ClampedTag$1:
case uint16Tag$1:
case uint32Tag$1:
return cloneTypedArray(Ie, xe);
case mapTag$3:
return new _e();
case numberTag$2:
case stringTag$2:
return new _e(Ie);
case regexpTag$2:
return cloneRegExp(Ie);
case setTag$3:
return new _e();
case symbolTag$2:
return cloneSymbol(Ie);
}
}
function initCloneObject(Ie) {
return typeof Ie.constructor == "function" && !isPrototype(Ie) ? baseCreate$1(getPrototype$1(Ie)) : {};
}
var mapTag$2 = "[object Map]";
function baseIsMap(Ie) {
return isObjectLike(Ie) && getTag$1(Ie) == mapTag$2;
}
var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap, isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
const isMap$1 = isMap;
var setTag$2 = "[object Set]";
function baseIsSet(Ie) {
return isObjectLike(Ie) && getTag$1(Ie) == setTag$2;
}
var nodeIsSet = nodeUtil$1 && nodeUtil$1.isSet, isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
const isSet$1 = isSet;
var CLONE_DEEP_FLAG$1 = 1, CLONE_FLAT_FLAG = 2,