/*! shiny 1.10.0 | (c) 2012-2024 RStudio, PBC. | License: GPL-3 | file LICENSE */ "use strict"; (function() { var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __commonJS = function(cb, mod) { return function __require() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; }; var __copyProps = function(to, from2, except, desc) { if (from2 && typeof from2 === "object" || typeof from2 === "function") for (var keys2 = __getOwnPropNames(from2), i5 = 0, n4 = keys2.length, key; i5 < n4; i5++) { key = keys2[i5]; if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: function(k2) { return from2[k2]; }.bind(null, key), enumerable: !(desc = __getOwnPropDesc(from2, key)) || desc.enumerable }); } return to; }; var __toESM = function(mod, isNodeMode, target) { return target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod ); }; // node_modules/core-js/internals/global.js var require_global = __commonJS({ "node_modules/core-js/internals/global.js": function(exports, module) { var check = function(it) { return it && it.Math == Math && it; }; module.exports = check(typeof globalThis == "object" && globalThis) || check(typeof window == "object" && window) || check(typeof self == "object" && self) || check(typeof global == "object" && global) || function() { return this; }() || Function("return this")(); } }); // node_modules/core-js/internals/fails.js var require_fails = __commonJS({ "node_modules/core-js/internals/fails.js": function(exports, module) { module.exports = function(exec3) { try { return !!exec3(); } catch (error) { return true; } }; } }); // node_modules/core-js/internals/descriptors.js var require_descriptors = __commonJS({ "node_modules/core-js/internals/descriptors.js": function(exports, module) { var fails17 = require_fails(); module.exports = !fails17(function() { return Object.defineProperty({}, 1, { get: function() { return 7; } })[1] != 7; }); } }); // node_modules/core-js/internals/function-bind-native.js var require_function_bind_native = __commonJS({ "node_modules/core-js/internals/function-bind-native.js": function(exports, module) { var fails17 = require_fails(); module.exports = !fails17(function() { var test2 = function() { }.bind(); return typeof test2 != "function" || test2.hasOwnProperty("prototype"); }); } }); // node_modules/core-js/internals/function-call.js var require_function_call = __commonJS({ "node_modules/core-js/internals/function-call.js": function(exports, module) { var NATIVE_BIND = require_function_bind_native(); var call8 = Function.prototype.call; module.exports = NATIVE_BIND ? call8.bind(call8) : function() { return call8.apply(call8, arguments); }; } }); // node_modules/core-js/internals/object-property-is-enumerable.js var require_object_property_is_enumerable = __commonJS({ "node_modules/core-js/internals/object-property-is-enumerable.js": function(exports) { "use strict"; var $propertyIsEnumerable = {}.propertyIsEnumerable; var getOwnPropertyDescriptor5 = Object.getOwnPropertyDescriptor; var NASHORN_BUG = getOwnPropertyDescriptor5 && !$propertyIsEnumerable.call({ 1: 2 }, 1); exports.f = NASHORN_BUG ? function propertyIsEnumerable(V2) { var descriptor = getOwnPropertyDescriptor5(this, V2); return !!descriptor && descriptor.enumerable; } : $propertyIsEnumerable; } }); // node_modules/core-js/internals/create-property-descriptor.js var require_create_property_descriptor = __commonJS({ "node_modules/core-js/internals/create-property-descriptor.js": function(exports, module) { module.exports = function(bitmap, value) { return { enumerable: !(bitmap & 1), configurable: !(bitmap & 2), writable: !(bitmap & 4), value: value }; }; } }); // node_modules/core-js/internals/function-uncurry-this.js var require_function_uncurry_this = __commonJS({ "node_modules/core-js/internals/function-uncurry-this.js": function(exports, module) { var NATIVE_BIND = require_function_bind_native(); var FunctionPrototype2 = Function.prototype; var call8 = FunctionPrototype2.call; var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype2.bind.bind(call8, call8); module.exports = NATIVE_BIND ? uncurryThisWithBind : function(fn) { return function() { return call8.apply(fn, arguments); }; }; } }); // node_modules/core-js/internals/classof-raw.js var require_classof_raw = __commonJS({ "node_modules/core-js/internals/classof-raw.js": function(exports, module) { var uncurryThis15 = require_function_uncurry_this(); var toString13 = uncurryThis15({}.toString); var stringSlice6 = uncurryThis15("".slice); module.exports = function(it) { return stringSlice6(toString13(it), 8, -1); }; } }); // node_modules/core-js/internals/indexed-object.js var require_indexed_object = __commonJS({ "node_modules/core-js/internals/indexed-object.js": function(exports, module) { var uncurryThis15 = require_function_uncurry_this(); var fails17 = require_fails(); var classof2 = require_classof_raw(); var $Object = Object; var split = uncurryThis15("".split); module.exports = fails17(function() { return !$Object("z").propertyIsEnumerable(0); }) ? function(it) { return classof2(it) == "String" ? split(it, "") : $Object(it); } : $Object; } }); // node_modules/core-js/internals/is-null-or-undefined.js var require_is_null_or_undefined = __commonJS({ "node_modules/core-js/internals/is-null-or-undefined.js": function(exports, module) { module.exports = function(it) { return it === null || it === void 0; }; } }); // node_modules/core-js/internals/require-object-coercible.js var require_require_object_coercible = __commonJS({ "node_modules/core-js/internals/require-object-coercible.js": function(exports, module) { var isNullOrUndefined5 = require_is_null_or_undefined(); var $TypeError2 = TypeError; module.exports = function(it) { if (isNullOrUndefined5(it)) throw $TypeError2("Can't call method on " + it); return it; }; } }); // node_modules/core-js/internals/to-indexed-object.js var require_to_indexed_object = __commonJS({ "node_modules/core-js/internals/to-indexed-object.js": function(exports, module) { var IndexedObject2 = require_indexed_object(); var requireObjectCoercible8 = require_require_object_coercible(); module.exports = function(it) { return IndexedObject2(requireObjectCoercible8(it)); }; } }); // node_modules/core-js/internals/document-all.js var require_document_all = __commonJS({ "node_modules/core-js/internals/document-all.js": function(exports, module) { var documentAll = typeof document == "object" && document.all; var IS_HTMLDDA = typeof documentAll == "undefined" && documentAll !== void 0; module.exports = { all: documentAll, IS_HTMLDDA: IS_HTMLDDA }; } }); // node_modules/core-js/internals/is-callable.js var require_is_callable = __commonJS({ "node_modules/core-js/internals/is-callable.js": function(exports, module) { var $documentAll = require_document_all(); var documentAll = $documentAll.all; module.exports = $documentAll.IS_HTMLDDA ? function(argument) { return typeof argument == "function" || argument === documentAll; } : function(argument) { return typeof argument == "function"; }; } }); // node_modules/core-js/internals/is-object.js var require_is_object = __commonJS({ "node_modules/core-js/internals/is-object.js": function(exports, module) { var isCallable5 = require_is_callable(); var $documentAll = require_document_all(); var documentAll = $documentAll.all; module.exports = $documentAll.IS_HTMLDDA ? function(it) { return typeof it == "object" ? it !== null : isCallable5(it) || it === documentAll; } : function(it) { return typeof it == "object" ? it !== null : isCallable5(it); }; } }); // node_modules/core-js/internals/get-built-in.js var require_get_built_in = __commonJS({ "node_modules/core-js/internals/get-built-in.js": function(exports, module) { var global11 = require_global(); var isCallable5 = require_is_callable(); var aFunction = function(argument) { return isCallable5(argument) ? argument : void 0; }; module.exports = function(namespace, method) { return arguments.length < 2 ? aFunction(global11[namespace]) : global11[namespace] && global11[namespace][method]; }; } }); // node_modules/core-js/internals/object-is-prototype-of.js var require_object_is_prototype_of = __commonJS({ "node_modules/core-js/internals/object-is-prototype-of.js": function(exports, module) { var uncurryThis15 = require_function_uncurry_this(); module.exports = uncurryThis15({}.isPrototypeOf); } }); // node_modules/core-js/internals/engine-user-agent.js var require_engine_user_agent = __commonJS({ "node_modules/core-js/internals/engine-user-agent.js": function(exports, module) { module.exports = typeof navigator != "undefined" && String(navigator.userAgent) || ""; } }); // node_modules/core-js/internals/engine-v8-version.js var require_engine_v8_version = __commonJS({ "node_modules/core-js/internals/engine-v8-version.js": function(exports, module) { var global11 = require_global(); var userAgent2 = require_engine_user_agent(); var process2 = global11.process; var Deno2 = global11.Deno; var versions = process2 && process2.versions || Deno2 && Deno2.version; var v8 = versions && versions.v8; var match; var version; if (v8) { match = v8.split("."); version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); } if (!version && userAgent2) { match = userAgent2.match(/Edge\/(\d+)/); if (!match || match[1] >= 74) { match = userAgent2.match(/Chrome\/(\d+)/); if (match) version = +match[1]; } } module.exports = version; } }); // node_modules/core-js/internals/symbol-constructor-detection.js var require_symbol_constructor_detection = __commonJS({ "node_modules/core-js/internals/symbol-constructor-detection.js": function(exports, module) { var V8_VERSION2 = require_engine_v8_version(); var fails17 = require_fails(); module.exports = !!Object.getOwnPropertySymbols && !fails17(function() { var symbol = Symbol(); return !String(symbol) || !(Object(symbol) instanceof Symbol) || !Symbol.sham && V8_VERSION2 && V8_VERSION2 < 41; }); } }); // node_modules/core-js/internals/use-symbol-as-uid.js var require_use_symbol_as_uid = __commonJS({ "node_modules/core-js/internals/use-symbol-as-uid.js": function(exports, module) { var NATIVE_SYMBOL = require_symbol_constructor_detection(); module.exports = NATIVE_SYMBOL && !Symbol.sham && typeof Symbol.iterator == "symbol"; } }); // node_modules/core-js/internals/is-symbol.js var require_is_symbol = __commonJS({ "node_modules/core-js/internals/is-symbol.js": function(exports, module) { var getBuiltIn4 = require_get_built_in(); var isCallable5 = require_is_callable(); var isPrototypeOf4 = require_object_is_prototype_of(); var USE_SYMBOL_AS_UID = require_use_symbol_as_uid(); var $Object = Object; module.exports = USE_SYMBOL_AS_UID ? function(it) { return typeof it == "symbol"; } : function(it) { var $Symbol = getBuiltIn4("Symbol"); return isCallable5($Symbol) && isPrototypeOf4($Symbol.prototype, $Object(it)); }; } }); // node_modules/core-js/internals/try-to-string.js var require_try_to_string = __commonJS({ "node_modules/core-js/internals/try-to-string.js": function(exports, module) { var $String = String; module.exports = function(argument) { try { return $String(argument); } catch (error) { return "Object"; } }; } }); // node_modules/core-js/internals/a-callable.js var require_a_callable = __commonJS({ "node_modules/core-js/internals/a-callable.js": function(exports, module) { var isCallable5 = require_is_callable(); var tryToString = require_try_to_string(); var $TypeError2 = TypeError; module.exports = function(argument) { if (isCallable5(argument)) return argument; throw $TypeError2(tryToString(argument) + " is not a function"); }; } }); // node_modules/core-js/internals/get-method.js var require_get_method = __commonJS({ "node_modules/core-js/internals/get-method.js": function(exports, module) { var aCallable2 = require_a_callable(); var isNullOrUndefined5 = require_is_null_or_undefined(); module.exports = function(V2, P3) { var func = V2[P3]; return isNullOrUndefined5(func) ? void 0 : aCallable2(func); }; } }); // node_modules/core-js/internals/ordinary-to-primitive.js var require_ordinary_to_primitive = __commonJS({ "node_modules/core-js/internals/ordinary-to-primitive.js": function(exports, module) { var call8 = require_function_call(); var isCallable5 = require_is_callable(); var isObject6 = require_is_object(); var $TypeError2 = TypeError; module.exports = function(input, pref) { var fn, val; if (pref === "string" && isCallable5(fn = input.toString) && !isObject6(val = call8(fn, input))) return val; if (isCallable5(fn = input.valueOf) && !isObject6(val = call8(fn, input))) return val; if (pref !== "string" && isCallable5(fn = input.toString) && !isObject6(val = call8(fn, input))) return val; throw $TypeError2("Can't convert object to primitive value"); }; } }); // node_modules/core-js/internals/is-pure.js var require_is_pure = __commonJS({ "node_modules/core-js/internals/is-pure.js": function(exports, module) { module.exports = false; } }); // node_modules/core-js/internals/define-global-property.js var require_define_global_property = __commonJS({ "node_modules/core-js/internals/define-global-property.js": function(exports, module) { var global11 = require_global(); var defineProperty3 = Object.defineProperty; module.exports = function(key, value) { try { defineProperty3(global11, key, { value: value, configurable: true, writable: true }); } catch (error) { global11[key] = value; } return value; }; } }); // node_modules/core-js/internals/shared-store.js var require_shared_store = __commonJS({ "node_modules/core-js/internals/shared-store.js": function(exports, module) { var global11 = require_global(); var defineGlobalProperty = require_define_global_property(); var SHARED = "__core-js_shared__"; var store = global11[SHARED] || defineGlobalProperty(SHARED, {}); module.exports = store; } }); // node_modules/core-js/internals/shared.js var require_shared = __commonJS({ "node_modules/core-js/internals/shared.js": function(exports, module) { var IS_PURE5 = require_is_pure(); var store = require_shared_store(); (module.exports = function(key, value) { return store[key] || (store[key] = value !== void 0 ? value : {}); })("versions", []).push({ version: "3.29.0", mode: IS_PURE5 ? "pure" : "global", copyright: "\xA9 2014-2023 Denis Pushkarev (zloirock.ru)", license: "https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE", source: "https://github.com/zloirock/core-js" }); } }); // node_modules/core-js/internals/to-object.js var require_to_object = __commonJS({ "node_modules/core-js/internals/to-object.js": function(exports, module) { var requireObjectCoercible8 = require_require_object_coercible(); var $Object = Object; module.exports = function(argument) { return $Object(requireObjectCoercible8(argument)); }; } }); // node_modules/core-js/internals/has-own-property.js var require_has_own_property = __commonJS({ "node_modules/core-js/internals/has-own-property.js": function(exports, module) { var uncurryThis15 = require_function_uncurry_this(); var toObject6 = require_to_object(); var hasOwnProperty2 = uncurryThis15({}.hasOwnProperty); module.exports = Object.hasOwn || function hasOwn5(it, key) { return hasOwnProperty2(toObject6(it), key); }; } }); // node_modules/core-js/internals/uid.js var require_uid = __commonJS({ "node_modules/core-js/internals/uid.js": function(exports, module) { var uncurryThis15 = require_function_uncurry_this(); var id = 0; var postfix = Math.random(); var toString13 = uncurryThis15(1 .toString); module.exports = function(key) { return "Symbol(" + (key === void 0 ? "" : key) + ")_" + toString13(++id + postfix, 36); }; } }); // node_modules/core-js/internals/well-known-symbol.js var require_well_known_symbol = __commonJS({ "node_modules/core-js/internals/well-known-symbol.js": function(exports, module) { var global11 = require_global(); var shared = require_shared(); var hasOwn5 = require_has_own_property(); var uid = require_uid(); var NATIVE_SYMBOL = require_symbol_constructor_detection(); var USE_SYMBOL_AS_UID = require_use_symbol_as_uid(); var Symbol2 = global11.Symbol; var WellKnownSymbolsStore = shared("wks"); var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol2["for"] || Symbol2 : Symbol2 && Symbol2.withoutSetter || uid; module.exports = function(name) { if (!hasOwn5(WellKnownSymbolsStore, name)) { WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn5(Symbol2, name) ? Symbol2[name] : createWellKnownSymbol("Symbol." + name); } return WellKnownSymbolsStore[name]; }; } }); // node_modules/core-js/internals/to-primitive.js var require_to_primitive = __commonJS({ "node_modules/core-js/internals/to-primitive.js": function(exports, module) { var call8 = require_function_call(); var isObject6 = require_is_object(); var isSymbol2 = require_is_symbol(); var getMethod5 = require_get_method(); var ordinaryToPrimitive = require_ordinary_to_primitive(); var wellKnownSymbol7 = require_well_known_symbol(); var $TypeError2 = TypeError; var TO_PRIMITIVE2 = wellKnownSymbol7("toPrimitive"); module.exports = function(input, pref) { if (!isObject6(input) || isSymbol2(input)) return input; var exoticToPrim = getMethod5(input, TO_PRIMITIVE2); var result; if (exoticToPrim) { if (pref === void 0) pref = "default"; result = call8(exoticToPrim, input, pref); if (!isObject6(result) || isSymbol2(result)) return result; throw $TypeError2("Can't convert object to primitive value"); } if (pref === void 0) pref = "number"; return ordinaryToPrimitive(input, pref); }; } }); // node_modules/core-js/internals/to-property-key.js var require_to_property_key = __commonJS({ "node_modules/core-js/internals/to-property-key.js": function(exports, module) { var toPrimitive2 = require_to_primitive(); var isSymbol2 = require_is_symbol(); module.exports = function(argument) { var key = toPrimitive2(argument, "string"); return isSymbol2(key) ? key : key + ""; }; } }); // node_modules/core-js/internals/document-create-element.js var require_document_create_element = __commonJS({ "node_modules/core-js/internals/document-create-element.js": function(exports, module) { var global11 = require_global(); var isObject6 = require_is_object(); var document2 = global11.document; var EXISTS = isObject6(document2) && isObject6(document2.createElement); module.exports = function(it) { return EXISTS ? document2.createElement(it) : {}; }; } }); // node_modules/core-js/internals/ie8-dom-define.js var require_ie8_dom_define = __commonJS({ "node_modules/core-js/internals/ie8-dom-define.js": function(exports, module) { var DESCRIPTORS10 = require_descriptors(); var fails17 = require_fails(); var createElement = require_document_create_element(); module.exports = !DESCRIPTORS10 && !fails17(function() { return Object.defineProperty(createElement("div"), "a", { get: function() { return 7; } }).a != 7; }); } }); // node_modules/core-js/internals/object-get-own-property-descriptor.js var require_object_get_own_property_descriptor = __commonJS({ "node_modules/core-js/internals/object-get-own-property-descriptor.js": function(exports) { var DESCRIPTORS10 = require_descriptors(); var call8 = require_function_call(); var propertyIsEnumerableModule = require_object_property_is_enumerable(); var createPropertyDescriptor = require_create_property_descriptor(); var toIndexedObject5 = require_to_indexed_object(); var toPropertyKey = require_to_property_key(); var hasOwn5 = require_has_own_property(); var IE8_DOM_DEFINE = require_ie8_dom_define(); var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; exports.f = DESCRIPTORS10 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor5(O, P3) { O = toIndexedObject5(O); P3 = toPropertyKey(P3); if (IE8_DOM_DEFINE) try { return $getOwnPropertyDescriptor(O, P3); } catch (error) { } if (hasOwn5(O, P3)) return createPropertyDescriptor(!call8(propertyIsEnumerableModule.f, O, P3), O[P3]); }; } }); // node_modules/core-js/internals/v8-prototype-define-bug.js var require_v8_prototype_define_bug = __commonJS({ "node_modules/core-js/internals/v8-prototype-define-bug.js": function(exports, module) { var DESCRIPTORS10 = require_descriptors(); var fails17 = require_fails(); module.exports = DESCRIPTORS10 && fails17(function() { return Object.defineProperty(function() { }, "prototype", { value: 42, writable: false }).prototype != 42; }); } }); // node_modules/core-js/internals/an-object.js var require_an_object = __commonJS({ "node_modules/core-js/internals/an-object.js": function(exports, module) { var isObject6 = require_is_object(); var $String = String; var $TypeError2 = TypeError; module.exports = function(argument) { if (isObject6(argument)) return argument; throw $TypeError2($String(argument) + " is not an object"); }; } }); // node_modules/core-js/internals/object-define-property.js var require_object_define_property = __commonJS({ "node_modules/core-js/internals/object-define-property.js": function(exports) { var DESCRIPTORS10 = require_descriptors(); var IE8_DOM_DEFINE = require_ie8_dom_define(); var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug(); var anObject10 = require_an_object(); var toPropertyKey = require_to_property_key(); var $TypeError2 = TypeError; var $defineProperty = Object.defineProperty; var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; var ENUMERABLE = "enumerable"; var CONFIGURABLE = "configurable"; var WRITABLE = "writable"; exports.f = DESCRIPTORS10 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty3(O, P3, Attributes) { anObject10(O); P3 = toPropertyKey(P3); anObject10(Attributes); if (typeof O === "function" && P3 === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { var current = $getOwnPropertyDescriptor(O, P3); if (current && current[WRITABLE]) { O[P3] = Attributes.value; Attributes = { configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], writable: false }; } } return $defineProperty(O, P3, Attributes); } : $defineProperty : function defineProperty3(O, P3, Attributes) { anObject10(O); P3 = toPropertyKey(P3); anObject10(Attributes); if (IE8_DOM_DEFINE) try { return $defineProperty(O, P3, Attributes); } catch (error) { } if ("get" in Attributes || "set" in Attributes) throw $TypeError2("Accessors not supported"); if ("value" in Attributes) O[P3] = Attributes.value; return O; }; } }); // node_modules/core-js/internals/create-non-enumerable-property.js var require_create_non_enumerable_property = __commonJS({ "node_modules/core-js/internals/create-non-enumerable-property.js": function(exports, module) { var DESCRIPTORS10 = require_descriptors(); var definePropertyModule = require_object_define_property(); var createPropertyDescriptor = require_create_property_descriptor(); module.exports = DESCRIPTORS10 ? function(object, key, value) { return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); } : function(object, key, value) { object[key] = value; return object; }; } }); // node_modules/core-js/internals/function-name.js var require_function_name = __commonJS({ "node_modules/core-js/internals/function-name.js": function(exports, module) { var DESCRIPTORS10 = require_descriptors(); var hasOwn5 = require_has_own_property(); var FunctionPrototype2 = Function.prototype; var getDescriptor = DESCRIPTORS10 && Object.getOwnPropertyDescriptor; var EXISTS = hasOwn5(FunctionPrototype2, "name"); var PROPER = EXISTS && function something() { }.name === "something"; var CONFIGURABLE = EXISTS && (!DESCRIPTORS10 || DESCRIPTORS10 && getDescriptor(FunctionPrototype2, "name").configurable); module.exports = { EXISTS: EXISTS, PROPER: PROPER, CONFIGURABLE: CONFIGURABLE }; } }); // node_modules/core-js/internals/inspect-source.js var require_inspect_source = __commonJS({ "node_modules/core-js/internals/inspect-source.js": function(exports, module) { var uncurryThis15 = require_function_uncurry_this(); var isCallable5 = require_is_callable(); var store = require_shared_store(); var functionToString2 = uncurryThis15(Function.toString); if (!isCallable5(store.inspectSource)) { store.inspectSource = function(it) { return functionToString2(it); }; } module.exports = store.inspectSource; } }); // node_modules/core-js/internals/weak-map-basic-detection.js var require_weak_map_basic_detection = __commonJS({ "node_modules/core-js/internals/weak-map-basic-detection.js": function(exports, module) { var global11 = require_global(); var isCallable5 = require_is_callable(); var WeakMap2 = global11.WeakMap; module.exports = isCallable5(WeakMap2) && /native code/.test(String(WeakMap2)); } }); // node_modules/core-js/internals/shared-key.js var require_shared_key = __commonJS({ "node_modules/core-js/internals/shared-key.js": function(exports, module) { var shared = require_shared(); var uid = require_uid(); var keys2 = shared("keys"); module.exports = function(key) { return keys2[key] || (keys2[key] = uid(key)); }; } }); // node_modules/core-js/internals/hidden-keys.js var require_hidden_keys = __commonJS({ "node_modules/core-js/internals/hidden-keys.js": function(exports, module) { module.exports = {}; } }); // node_modules/core-js/internals/internal-state.js var require_internal_state = __commonJS({ "node_modules/core-js/internals/internal-state.js": function(exports, module) { var NATIVE_WEAK_MAP = require_weak_map_basic_detection(); var global11 = require_global(); var isObject6 = require_is_object(); var createNonEnumerableProperty4 = require_create_non_enumerable_property(); var hasOwn5 = require_has_own_property(); var shared = require_shared_store(); var sharedKey = require_shared_key(); var hiddenKeys = require_hidden_keys(); var OBJECT_ALREADY_INITIALIZED = "Object already initialized"; var TypeError3 = global11.TypeError; var WeakMap2 = global11.WeakMap; var set; var get3; var has; var enforce = function(it) { return has(it) ? get3(it) : set(it, {}); }; var getterFor = function(TYPE) { return function(it) { var state; if (!isObject6(it) || (state = get3(it)).type !== TYPE) { throw TypeError3("Incompatible receiver, " + TYPE + " required"); } return state; }; }; if (NATIVE_WEAK_MAP || shared.state) { store = shared.state || (shared.state = new WeakMap2()); store.get = store.get; store.has = store.has; store.set = store.set; set = function(it, metadata) { if (store.has(it)) throw TypeError3(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; store.set(it, metadata); return metadata; }; get3 = function(it) { return store.get(it) || {}; }; has = function(it) { return store.has(it); }; } else { STATE = sharedKey("state"); hiddenKeys[STATE] = true; set = function(it, metadata) { if (hasOwn5(it, STATE)) throw TypeError3(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; createNonEnumerableProperty4(it, STATE, metadata); return metadata; }; get3 = function(it) { return hasOwn5(it, STATE) ? it[STATE] : {}; }; has = function(it) { return hasOwn5(it, STATE); }; } var store; var STATE; module.exports = { set: set, get: get3, has: has, enforce: enforce, getterFor: getterFor }; } }); // node_modules/core-js/internals/make-built-in.js var require_make_built_in = __commonJS({ "node_modules/core-js/internals/make-built-in.js": function(exports, module) { var uncurryThis15 = require_function_uncurry_this(); var fails17 = require_fails(); var isCallable5 = require_is_callable(); var hasOwn5 = require_has_own_property(); var DESCRIPTORS10 = require_descriptors(); var CONFIGURABLE_FUNCTION_NAME = require_function_name().CONFIGURABLE; var inspectSource = require_inspect_source(); var InternalStateModule2 = require_internal_state(); var enforceInternalState2 = InternalStateModule2.enforce; var getInternalState3 = InternalStateModule2.get; var $String = String; var defineProperty3 = Object.defineProperty; var stringSlice6 = uncurryThis15("".slice); var replace2 = uncurryThis15("".replace); var join2 = uncurryThis15([].join); var CONFIGURABLE_LENGTH = DESCRIPTORS10 && !fails17(function() { return defineProperty3(function() { }, "length", { value: 8 }).length !== 8; }); var TEMPLATE = String(String).split("String"); var makeBuiltIn = module.exports = function(value, name, options) { if (stringSlice6($String(name), 0, 7) === "Symbol(") { name = "[" + replace2($String(name), /^Symbol\(([^)]*)\)/, "$1") + "]"; } if (options && options.getter) name = "get " + name; if (options && options.setter) name = "set " + name; if (!hasOwn5(value, "name") || CONFIGURABLE_FUNCTION_NAME && value.name !== name) { if (DESCRIPTORS10) defineProperty3(value, "name", { value: name, configurable: true }); else value.name = name; } if (CONFIGURABLE_LENGTH && options && hasOwn5(options, "arity") && value.length !== options.arity) { defineProperty3(value, "length", { value: options.arity }); } try { if (options && hasOwn5(options, "constructor") && options.constructor) { if (DESCRIPTORS10) defineProperty3(value, "prototype", { writable: false }); } else if (value.prototype) value.prototype = void 0; } catch (error) { } var state = enforceInternalState2(value); if (!hasOwn5(state, "source")) { state.source = join2(TEMPLATE, typeof name == "string" ? name : ""); } return value; }; Function.prototype.toString = makeBuiltIn(function toString13() { return isCallable5(this) && getInternalState3(this).source || inspectSource(this); }, "toString"); } }); // node_modules/core-js/internals/define-built-in.js var require_define_built_in = __commonJS({ "node_modules/core-js/internals/define-built-in.js": function(exports, module) { var isCallable5 = require_is_callable(); var definePropertyModule = require_object_define_property(); var makeBuiltIn = require_make_built_in(); var defineGlobalProperty = require_define_global_property(); module.exports = function(O, key, value, options) { if (!options) options = {}; var simple = options.enumerable; var name = options.name !== void 0 ? options.name : key; if (isCallable5(value)) makeBuiltIn(value, name, options); if (options.global) { if (simple) O[key] = value; else defineGlobalProperty(key, value); } else { try { if (!options.unsafe) delete O[key]; else if (O[key]) simple = true; } catch (error) { } if (simple) O[key] = value; else definePropertyModule.f(O, key, { value: value, enumerable: false, configurable: !options.nonConfigurable, writable: !options.nonWritable }); } return O; }; } }); // node_modules/core-js/internals/math-trunc.js var require_math_trunc = __commonJS({ "node_modules/core-js/internals/math-trunc.js": function(exports, module) { var ceil = Math.ceil; var floor = Math.floor; module.exports = Math.trunc || function trunc(x2) { var n4 = +x2; return (n4 > 0 ? floor : ceil)(n4); }; } }); // node_modules/core-js/internals/to-integer-or-infinity.js var require_to_integer_or_infinity = __commonJS({ "node_modules/core-js/internals/to-integer-or-infinity.js": function(exports, module) { var trunc = require_math_trunc(); module.exports = function(argument) { var number = +argument; return number !== number || number === 0 ? 0 : trunc(number); }; } }); // node_modules/core-js/internals/to-absolute-index.js var require_to_absolute_index = __commonJS({ "node_modules/core-js/internals/to-absolute-index.js": function(exports, module) { var toIntegerOrInfinity4 = require_to_integer_or_infinity(); var max4 = Math.max; var min6 = Math.min; module.exports = function(index, length) { var integer = toIntegerOrInfinity4(index); return integer < 0 ? max4(integer + length, 0) : min6(integer, length); }; } }); // node_modules/core-js/internals/to-length.js var require_to_length = __commonJS({ "node_modules/core-js/internals/to-length.js": function(exports, module) { var toIntegerOrInfinity4 = require_to_integer_or_infinity(); var min6 = Math.min; module.exports = function(argument) { return argument > 0 ? min6(toIntegerOrInfinity4(argument), 9007199254740991) : 0; }; } }); // node_modules/core-js/internals/length-of-array-like.js var require_length_of_array_like = __commonJS({ "node_modules/core-js/internals/length-of-array-like.js": function(exports, module) { var toLength7 = require_to_length(); module.exports = function(obj) { return toLength7(obj.length); }; } }); // node_modules/core-js/internals/array-includes.js var require_array_includes = __commonJS({ "node_modules/core-js/internals/array-includes.js": function(exports, module) { var toIndexedObject5 = require_to_indexed_object(); var toAbsoluteIndex4 = require_to_absolute_index(); var lengthOfArrayLike5 = require_length_of_array_like(); var createMethod = function(IS_INCLUDES) { return function($this, el, fromIndex) { var O = toIndexedObject5($this); var length = lengthOfArrayLike5(O); var index = toAbsoluteIndex4(fromIndex, length); var value; if (IS_INCLUDES && el != el) while (length > index) { value = O[index++]; if (value != value) return true; } else for (; length > index; index++) { if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; } return !IS_INCLUDES && -1; }; }; module.exports = { includes: createMethod(true), indexOf: createMethod(false) }; } }); // node_modules/core-js/internals/object-keys-internal.js var require_object_keys_internal = __commonJS({ "node_modules/core-js/internals/object-keys-internal.js": function(exports, module) { var uncurryThis15 = require_function_uncurry_this(); var hasOwn5 = require_has_own_property(); var toIndexedObject5 = require_to_indexed_object(); var indexOf2 = require_array_includes().indexOf; var hiddenKeys = require_hidden_keys(); var push4 = uncurryThis15([].push); module.exports = function(object, names) { var O = toIndexedObject5(object); var i5 = 0; var result = []; var key; for (key in O) !hasOwn5(hiddenKeys, key) && hasOwn5(O, key) && push4(result, key); while (names.length > i5) if (hasOwn5(O, key = names[i5++])) { ~indexOf2(result, key) || push4(result, key); } return result; }; } }); // node_modules/core-js/internals/enum-bug-keys.js var require_enum_bug_keys = __commonJS({ "node_modules/core-js/internals/enum-bug-keys.js": function(exports, module) { module.exports = [ "constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf" ]; } }); // node_modules/core-js/internals/object-get-own-property-names.js var require_object_get_own_property_names = __commonJS({ "node_modules/core-js/internals/object-get-own-property-names.js": function(exports) { var internalObjectKeys = require_object_keys_internal(); var enumBugKeys = require_enum_bug_keys(); var hiddenKeys = enumBugKeys.concat("length", "prototype"); exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames4(O) { return internalObjectKeys(O, hiddenKeys); }; } }); // node_modules/core-js/internals/object-get-own-property-symbols.js var require_object_get_own_property_symbols = __commonJS({ "node_modules/core-js/internals/object-get-own-property-symbols.js": function(exports) { exports.f = Object.getOwnPropertySymbols; } }); // node_modules/core-js/internals/own-keys.js var require_own_keys = __commonJS({ "node_modules/core-js/internals/own-keys.js": function(exports, module) { var getBuiltIn4 = require_get_built_in(); var uncurryThis15 = require_function_uncurry_this(); var getOwnPropertyNamesModule = require_object_get_own_property_names(); var getOwnPropertySymbolsModule = require_object_get_own_property_symbols(); var anObject10 = require_an_object(); var concat3 = uncurryThis15([].concat); module.exports = getBuiltIn4("Reflect", "ownKeys") || function ownKeys4(it) { var keys2 = getOwnPropertyNamesModule.f(anObject10(it)); var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; return getOwnPropertySymbols ? concat3(keys2, getOwnPropertySymbols(it)) : keys2; }; } }); // node_modules/core-js/internals/copy-constructor-properties.js var require_copy_constructor_properties = __commonJS({ "node_modules/core-js/internals/copy-constructor-properties.js": function(exports, module) { var hasOwn5 = require_has_own_property(); var ownKeys4 = require_own_keys(); var getOwnPropertyDescriptorModule3 = require_object_get_own_property_descriptor(); var definePropertyModule = require_object_define_property(); module.exports = function(target, source, exceptions) { var keys2 = ownKeys4(source); var defineProperty3 = definePropertyModule.f; var getOwnPropertyDescriptor5 = getOwnPropertyDescriptorModule3.f; for (var i5 = 0; i5 < keys2.length; i5++) { var key = keys2[i5]; if (!hasOwn5(target, key) && !(exceptions && hasOwn5(exceptions, key))) { defineProperty3(target, key, getOwnPropertyDescriptor5(source, key)); } } }; } }); // node_modules/core-js/internals/is-forced.js var require_is_forced = __commonJS({ "node_modules/core-js/internals/is-forced.js": function(exports, module) { var fails17 = require_fails(); var isCallable5 = require_is_callable(); var replacement = /#|\.prototype\./; var isForced3 = function(feature, detection) { var value = data[normalize(feature)]; return value == POLYFILL ? true : value == NATIVE ? false : isCallable5(detection) ? fails17(detection) : !!detection; }; var normalize = isForced3.normalize = function(string) { return String(string).replace(replacement, ".").toLowerCase(); }; var data = isForced3.data = {}; var NATIVE = isForced3.NATIVE = "N"; var POLYFILL = isForced3.POLYFILL = "P"; module.exports = isForced3; } }); // node_modules/core-js/internals/export.js var require_export = __commonJS({ "node_modules/core-js/internals/export.js": function(exports, module) { var global11 = require_global(); var getOwnPropertyDescriptor5 = require_object_get_own_property_descriptor().f; var createNonEnumerableProperty4 = require_create_non_enumerable_property(); var defineBuiltIn6 = require_define_built_in(); var defineGlobalProperty = require_define_global_property(); var copyConstructorProperties3 = require_copy_constructor_properties(); var isForced3 = require_is_forced(); module.exports = function(options, source) { var TARGET = options.target; var GLOBAL = options.global; var STATIC = options.stat; var FORCED9, target, key, targetProperty, sourceProperty, descriptor; if (GLOBAL) { target = global11; } else if (STATIC) { target = global11[TARGET] || defineGlobalProperty(TARGET, {}); } else { target = (global11[TARGET] || {}).prototype; } if (target) for (key in source) { sourceProperty = source[key]; if (options.dontCallGetSet) { descriptor = getOwnPropertyDescriptor5(target, key); targetProperty = descriptor && descriptor.value; } else targetProperty = target[key]; FORCED9 = isForced3(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced); if (!FORCED9 && targetProperty !== void 0) { if (typeof sourceProperty == typeof targetProperty) continue; copyConstructorProperties3(sourceProperty, targetProperty); } if (options.sham || targetProperty && targetProperty.sham) { createNonEnumerableProperty4(sourceProperty, "sham", true); } defineBuiltIn6(target, key, sourceProperty, options); } }; } }); // node_modules/core-js/internals/function-uncurry-this-clause.js var require_function_uncurry_this_clause = __commonJS({ "node_modules/core-js/internals/function-uncurry-this-clause.js": function(exports, module) { var classofRaw = require_classof_raw(); var uncurryThis15 = require_function_uncurry_this(); module.exports = function(fn) { if (classofRaw(fn) === "Function") return uncurryThis15(fn); }; } }); // node_modules/core-js/internals/array-method-is-strict.js var require_array_method_is_strict = __commonJS({ "node_modules/core-js/internals/array-method-is-strict.js": function(exports, module) { "use strict"; var fails17 = require_fails(); module.exports = function(METHOD_NAME, argument) { var method = [][METHOD_NAME]; return !!method && fails17(function() { method.call(null, argument || function() { return 1; }, 1); }); }; } }); // node_modules/core-js/internals/to-string-tag-support.js var require_to_string_tag_support = __commonJS({ "node_modules/core-js/internals/to-string-tag-support.js": function(exports, module) { var wellKnownSymbol7 = require_well_known_symbol(); var TO_STRING_TAG2 = wellKnownSymbol7("toStringTag"); var test2 = {}; test2[TO_STRING_TAG2] = "z"; module.exports = String(test2) === "[object z]"; } }); // node_modules/core-js/internals/classof.js var require_classof = __commonJS({ "node_modules/core-js/internals/classof.js": function(exports, module) { var TO_STRING_TAG_SUPPORT2 = require_to_string_tag_support(); var isCallable5 = require_is_callable(); var classofRaw = require_classof_raw(); var wellKnownSymbol7 = require_well_known_symbol(); var TO_STRING_TAG2 = wellKnownSymbol7("toStringTag"); var $Object = Object; var CORRECT_ARGUMENTS = classofRaw(function() { return arguments; }()) == "Arguments"; var tryGet = function(it, key) { try { return it[key]; } catch (error) { } }; module.exports = TO_STRING_TAG_SUPPORT2 ? classofRaw : function(it) { var O, tag, result; return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG2)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) == "Object" && isCallable5(O.callee) ? "Arguments" : result; }; } }); // node_modules/core-js/internals/to-string.js var require_to_string = __commonJS({ "node_modules/core-js/internals/to-string.js": function(exports, module) { var classof2 = require_classof(); var $String = String; module.exports = function(argument) { if (classof2(argument) === "Symbol") throw TypeError("Cannot convert a Symbol value to a string"); return $String(argument); }; } }); // node_modules/core-js/internals/whitespaces.js var require_whitespaces = __commonJS({ "node_modules/core-js/internals/whitespaces.js": function(exports, module) { module.exports = " \n\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF"; } }); // node_modules/core-js/internals/string-trim.js var require_string_trim = __commonJS({ "node_modules/core-js/internals/string-trim.js": function(exports, module) { var uncurryThis15 = require_function_uncurry_this(); var requireObjectCoercible8 = require_require_object_coercible(); var toString13 = require_to_string(); var whitespaces = require_whitespaces(); var replace2 = uncurryThis15("".replace); var ltrim = RegExp("^[" + whitespaces + "]+"); var rtrim = RegExp("(^|[^" + whitespaces + "])[" + whitespaces + "]+$"); var createMethod = function(TYPE) { return function($this) { var string = toString13(requireObjectCoercible8($this)); if (TYPE & 1) string = replace2(string, ltrim, ""); if (TYPE & 2) string = replace2(string, rtrim, "$1"); return string; }; }; module.exports = { start: createMethod(1), end: createMethod(2), trim: createMethod(3) }; } }); // node_modules/core-js/internals/number-parse-int.js var require_number_parse_int = __commonJS({ "node_modules/core-js/internals/number-parse-int.js": function(exports, module) { var global11 = require_global(); var fails17 = require_fails(); var uncurryThis15 = require_function_uncurry_this(); var toString13 = require_to_string(); var trim3 = require_string_trim().trim; var whitespaces = require_whitespaces(); var $parseInt2 = global11.parseInt; var Symbol2 = global11.Symbol; var ITERATOR2 = Symbol2 && Symbol2.iterator; var hex = /^[+-]?0x/i; var exec3 = uncurryThis15(hex.exec); var FORCED9 = $parseInt2(whitespaces + "08") !== 8 || $parseInt2(whitespaces + "0x16") !== 22 || ITERATOR2 && !fails17(function() { $parseInt2(Object(ITERATOR2)); }); module.exports = FORCED9 ? function parseInt2(string, radix) { var S4 = trim3(toString13(string)); return $parseInt2(S4, radix >>> 0 || (exec3(hex, S4) ? 16 : 10)); } : $parseInt2; } }); // node_modules/core-js/internals/regexp-flags.js var require_regexp_flags = __commonJS({ "node_modules/core-js/internals/regexp-flags.js": function(exports, module) { "use strict"; var anObject10 = require_an_object(); module.exports = function() { var that = anObject10(this); var result = ""; if (that.hasIndices) result += "d"; if (that.global) result += "g"; if (that.ignoreCase) result += "i"; if (that.multiline) result += "m"; if (that.dotAll) result += "s"; if (that.unicode) result += "u"; if (that.unicodeSets) result += "v"; if (that.sticky) result += "y"; return result; }; } }); // node_modules/core-js/internals/regexp-sticky-helpers.js var require_regexp_sticky_helpers = __commonJS({ "node_modules/core-js/internals/regexp-sticky-helpers.js": function(exports, module) { var fails17 = require_fails(); var global11 = require_global(); var $RegExp = global11.RegExp; var UNSUPPORTED_Y3 = fails17(function() { var re = $RegExp("a", "y"); re.lastIndex = 2; return re.exec("abcd") != null; }); var MISSED_STICKY3 = UNSUPPORTED_Y3 || fails17(function() { return !$RegExp("a", "y").sticky; }); var BROKEN_CARET = UNSUPPORTED_Y3 || fails17(function() { var re = $RegExp("^r", "gy"); re.lastIndex = 2; return re.exec("str") != null; }); module.exports = { BROKEN_CARET: BROKEN_CARET, MISSED_STICKY: MISSED_STICKY3, UNSUPPORTED_Y: UNSUPPORTED_Y3 }; } }); // node_modules/core-js/internals/object-keys.js var require_object_keys = __commonJS({ "node_modules/core-js/internals/object-keys.js": function(exports, module) { var internalObjectKeys = require_object_keys_internal(); var enumBugKeys = require_enum_bug_keys(); module.exports = Object.keys || function keys2(O) { return internalObjectKeys(O, enumBugKeys); }; } }); // node_modules/core-js/internals/object-define-properties.js var require_object_define_properties = __commonJS({ "node_modules/core-js/internals/object-define-properties.js": function(exports) { var DESCRIPTORS10 = require_descriptors(); var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug(); var definePropertyModule = require_object_define_property(); var anObject10 = require_an_object(); var toIndexedObject5 = require_to_indexed_object(); var objectKeys = require_object_keys(); exports.f = DESCRIPTORS10 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties2(O, Properties) { anObject10(O); var props = toIndexedObject5(Properties); var keys2 = objectKeys(Properties); var length = keys2.length; var index = 0; var key; while (length > index) definePropertyModule.f(O, key = keys2[index++], props[key]); return O; }; } }); // node_modules/core-js/internals/html.js var require_html = __commonJS({ "node_modules/core-js/internals/html.js": function(exports, module) { var getBuiltIn4 = require_get_built_in(); module.exports = getBuiltIn4("document", "documentElement"); } }); // node_modules/core-js/internals/object-create.js var require_object_create = __commonJS({ "node_modules/core-js/internals/object-create.js": function(exports, module) { var anObject10 = require_an_object(); var definePropertiesModule = require_object_define_properties(); var enumBugKeys = require_enum_bug_keys(); var hiddenKeys = require_hidden_keys(); var html = require_html(); var documentCreateElement = require_document_create_element(); var sharedKey = require_shared_key(); var GT = ">"; var LT = "<"; var PROTOTYPE = "prototype"; var SCRIPT = "script"; var IE_PROTO = sharedKey("IE_PROTO"); var EmptyConstructor = function() { }; var scriptTag = function(content) { return LT + SCRIPT + GT + content + LT + "/" + SCRIPT + GT; }; var NullProtoObjectViaActiveX = function(activeXDocument2) { activeXDocument2.write(scriptTag("")); activeXDocument2.close(); var temp = activeXDocument2.parentWindow.Object; activeXDocument2 = null; return temp; }; var NullProtoObjectViaIFrame = function() { var iframe = documentCreateElement("iframe"); var JS = "java" + SCRIPT + ":"; var iframeDocument; iframe.style.display = "none"; html.appendChild(iframe); iframe.src = String(JS); iframeDocument = iframe.contentWindow.document; iframeDocument.open(); iframeDocument.write(scriptTag("document.F=Object")); iframeDocument.close(); return iframeDocument.F; }; var activeXDocument; var NullProtoObject = function() { try { activeXDocument = new ActiveXObject("htmlfile"); } catch (error) { } NullProtoObject = typeof document != "undefined" ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument); var length = enumBugKeys.length; while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; return NullProtoObject(); }; hiddenKeys[IE_PROTO] = true; module.exports = Object.create || function create3(O, Properties) { var result; if (O !== null) { EmptyConstructor[PROTOTYPE] = anObject10(O); result = new EmptyConstructor(); EmptyConstructor[PROTOTYPE] = null; result[IE_PROTO] = O; } else result = NullProtoObject(); return Properties === void 0 ? result : definePropertiesModule.f(result, Properties); }; } }); // node_modules/core-js/internals/regexp-unsupported-dot-all.js var require_regexp_unsupported_dot_all = __commonJS({ "node_modules/core-js/internals/regexp-unsupported-dot-all.js": function(exports, module) { var fails17 = require_fails(); var global11 = require_global(); var $RegExp = global11.RegExp; module.exports = fails17(function() { var re = $RegExp(".", "s"); return !(re.dotAll && re.exec("\n") && re.flags === "s"); }); } }); // node_modules/core-js/internals/regexp-unsupported-ncg.js var require_regexp_unsupported_ncg = __commonJS({ "node_modules/core-js/internals/regexp-unsupported-ncg.js": function(exports, module) { var fails17 = require_fails(); var global11 = require_global(); var $RegExp = global11.RegExp; module.exports = fails17(function() { var re = $RegExp("(?b)", "g"); return re.exec("b").groups.a !== "b" || "b".replace(re, "$c") !== "bc"; }); } }); // node_modules/core-js/internals/regexp-exec.js var require_regexp_exec = __commonJS({ "node_modules/core-js/internals/regexp-exec.js": function(exports, module) { "use strict"; var call8 = require_function_call(); var uncurryThis15 = require_function_uncurry_this(); var toString13 = require_to_string(); var regexpFlags = require_regexp_flags(); var stickyHelpers3 = require_regexp_sticky_helpers(); var shared = require_shared(); var create3 = require_object_create(); var getInternalState3 = require_internal_state().get; var UNSUPPORTED_DOT_ALL2 = require_regexp_unsupported_dot_all(); var UNSUPPORTED_NCG2 = require_regexp_unsupported_ncg(); var nativeReplace = shared("native-string-replace", String.prototype.replace); var nativeExec = RegExp.prototype.exec; var patchedExec = nativeExec; var charAt3 = uncurryThis15("".charAt); var indexOf2 = uncurryThis15("".indexOf); var replace2 = uncurryThis15("".replace); var stringSlice6 = uncurryThis15("".slice); var UPDATES_LAST_INDEX_WRONG = function() { var re12 = /a/; var re22 = /b*/g; call8(nativeExec, re12, "a"); call8(nativeExec, re22, "a"); return re12.lastIndex !== 0 || re22.lastIndex !== 0; }(); var UNSUPPORTED_Y3 = stickyHelpers3.BROKEN_CARET; var NPCG_INCLUDED = /()??/.exec("")[1] !== void 0; var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y3 || UNSUPPORTED_DOT_ALL2 || UNSUPPORTED_NCG2; if (PATCH) { patchedExec = function exec3(string) { var re = this; var state = getInternalState3(re); var str = toString13(string); var raw = state.raw; var result, reCopy, lastIndex, match, i5, object, group; if (raw) { raw.lastIndex = re.lastIndex; result = call8(patchedExec, raw, str); re.lastIndex = raw.lastIndex; return result; } var groups = state.groups; var sticky = UNSUPPORTED_Y3 && re.sticky; var flags = call8(regexpFlags, re); var source = re.source; var charsAdded = 0; var strCopy = str; if (sticky) { flags = replace2(flags, "y", ""); if (indexOf2(flags, "g") === -1) { flags += "g"; } strCopy = stringSlice6(str, re.lastIndex); if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt3(str, re.lastIndex - 1) !== "\n")) { source = "(?: " + source + ")"; strCopy = " " + strCopy; charsAdded++; } reCopy = new RegExp("^(?:" + source + ")", flags); } if (NPCG_INCLUDED) { reCopy = new RegExp("^" + source + "$(?!\\s)", flags); } if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; match = call8(nativeExec, sticky ? reCopy : re, strCopy); if (sticky) { if (match) { match.input = stringSlice6(match.input, charsAdded); match[0] = stringSlice6(match[0], charsAdded); match.index = re.lastIndex; re.lastIndex += match[0].length; } else re.lastIndex = 0; } else if (UPDATES_LAST_INDEX_WRONG && match) { re.lastIndex = re.global ? match.index + match[0].length : lastIndex; } if (NPCG_INCLUDED && match && match.length > 1) { call8(nativeReplace, match[0], reCopy, function() { for (i5 = 1; i5 < arguments.length - 2; i5++) { if (arguments[i5] === void 0) match[i5] = void 0; } }); } if (match && groups) { match.groups = object = create3(null); for (i5 = 0; i5 < groups.length; i5++) { group = groups[i5]; object[group[0]] = match[group[1]]; } } return match; }; } module.exports = patchedExec; } }); // node_modules/core-js/modules/es.regexp.exec.js var require_es_regexp_exec = __commonJS({ "node_modules/core-js/modules/es.regexp.exec.js": function() { "use strict"; var $88 = require_export(); var exec3 = require_regexp_exec(); $88({ target: "RegExp", proto: true, forced: /./.exec !== exec3 }, { exec: exec3 }); } }); // globals:jquery var require_jquery = __commonJS({ "globals:jquery": function(exports, module) { module.exports = window.jQuery; } }); // node_modules/core-js/internals/function-bind-context.js var require_function_bind_context = __commonJS({ "node_modules/core-js/internals/function-bind-context.js": function(exports, module) { var uncurryThis15 = require_function_uncurry_this_clause(); var aCallable2 = require_a_callable(); var NATIVE_BIND = require_function_bind_native(); var bind2 = uncurryThis15(uncurryThis15.bind); module.exports = function(fn, that) { aCallable2(fn); return that === void 0 ? fn : NATIVE_BIND ? bind2(fn, that) : function() { return fn.apply(that, arguments); }; }; } }); // node_modules/core-js/internals/is-array.js var require_is_array = __commonJS({ "node_modules/core-js/internals/is-array.js": function(exports, module) { var classof2 = require_classof_raw(); module.exports = Array.isArray || function isArray4(argument) { return classof2(argument) == "Array"; }; } }); // node_modules/core-js/internals/is-constructor.js var require_is_constructor = __commonJS({ "node_modules/core-js/internals/is-constructor.js": function(exports, module) { var uncurryThis15 = require_function_uncurry_this(); var fails17 = require_fails(); var isCallable5 = require_is_callable(); var classof2 = require_classof(); var getBuiltIn4 = require_get_built_in(); var inspectSource = require_inspect_source(); var noop = function() { }; var empty = []; var construct2 = getBuiltIn4("Reflect", "construct"); var constructorRegExp = /^\s*(?:class|function)\b/; var exec3 = uncurryThis15(constructorRegExp.exec); var INCORRECT_TO_STRING = !constructorRegExp.exec(noop); var isConstructorModern = function isConstructor2(argument) { if (!isCallable5(argument)) return false; try { construct2(noop, empty, argument); return true; } catch (error) { return false; } }; var isConstructorLegacy = function isConstructor2(argument) { if (!isCallable5(argument)) return false; switch (classof2(argument)) { case "AsyncFunction": case "GeneratorFunction": case "AsyncGeneratorFunction": return false; } try { return INCORRECT_TO_STRING || !!exec3(constructorRegExp, inspectSource(argument)); } catch (error) { return true; } }; isConstructorLegacy.sham = true; module.exports = !construct2 || fails17(function() { var called; return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) || !isConstructorModern(function() { called = true; }) || called; }) ? isConstructorLegacy : isConstructorModern; } }); // node_modules/core-js/internals/array-species-constructor.js var require_array_species_constructor = __commonJS({ "node_modules/core-js/internals/array-species-constructor.js": function(exports, module) { var isArray4 = require_is_array(); var isConstructor2 = require_is_constructor(); var isObject6 = require_is_object(); var wellKnownSymbol7 = require_well_known_symbol(); var SPECIES2 = wellKnownSymbol7("species"); var $Array2 = Array; module.exports = function(originalArray) { var C2; if (isArray4(originalArray)) { C2 = originalArray.constructor; if (isConstructor2(C2) && (C2 === $Array2 || isArray4(C2.prototype))) C2 = void 0; else if (isObject6(C2)) { C2 = C2[SPECIES2]; if (C2 === null) C2 = void 0; } } return C2 === void 0 ? $Array2 : C2; }; } }); // node_modules/core-js/internals/array-species-create.js var require_array_species_create = __commonJS({ "node_modules/core-js/internals/array-species-create.js": function(exports, module) { var arraySpeciesConstructor = require_array_species_constructor(); module.exports = function(originalArray, length) { return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); }; } }); // node_modules/core-js/internals/array-iteration.js var require_array_iteration = __commonJS({ "node_modules/core-js/internals/array-iteration.js": function(exports, module) { var bind2 = require_function_bind_context(); var uncurryThis15 = require_function_uncurry_this(); var IndexedObject2 = require_indexed_object(); var toObject6 = require_to_object(); var lengthOfArrayLike5 = require_length_of_array_like(); var arraySpeciesCreate4 = require_array_species_create(); var push4 = uncurryThis15([].push); var createMethod = function(TYPE) { var IS_MAP = TYPE == 1; var IS_FILTER = TYPE == 2; var IS_SOME = TYPE == 3; var IS_EVERY = TYPE == 4; var IS_FIND_INDEX = TYPE == 6; var IS_FILTER_REJECT = TYPE == 7; var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; return function($this, callbackfn, that, specificCreate) { var O = toObject6($this); var self2 = IndexedObject2(O); var boundFunction = bind2(callbackfn, that); var length = lengthOfArrayLike5(self2); var index = 0; var create3 = specificCreate || arraySpeciesCreate4; var target = IS_MAP ? create3($this, length) : IS_FILTER || IS_FILTER_REJECT ? create3($this, 0) : void 0; var value, result; for (; length > index; index++) if (NO_HOLES || index in self2) { value = self2[index]; result = boundFunction(value, index, O); if (TYPE) { if (IS_MAP) target[index] = result; else if (result) switch (TYPE) { case 3: return true; case 5: return value; case 6: return index; case 2: push4(target, value); } else switch (TYPE) { case 4: return false; case 7: push4(target, value); } } } return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; }; }; module.exports = { forEach: createMethod(0), map: createMethod(1), filter: createMethod(2), some: createMethod(3), every: createMethod(4), find: createMethod(5), findIndex: createMethod(6), filterReject: createMethod(7) }; } }); // node_modules/core-js/internals/add-to-unscopables.js var require_add_to_unscopables = __commonJS({ "node_modules/core-js/internals/add-to-unscopables.js": function(exports, module) { var wellKnownSymbol7 = require_well_known_symbol(); var create3 = require_object_create(); var defineProperty3 = require_object_define_property().f; var UNSCOPABLES = wellKnownSymbol7("unscopables"); var ArrayPrototype = Array.prototype; if (ArrayPrototype[UNSCOPABLES] == void 0) { defineProperty3(ArrayPrototype, UNSCOPABLES, { configurable: true, value: create3(null) }); } module.exports = function(key) { ArrayPrototype[UNSCOPABLES][key] = true; }; } }); // node_modules/core-js/internals/object-to-string.js var require_object_to_string = __commonJS({ "node_modules/core-js/internals/object-to-string.js": function(exports, module) { "use strict"; var TO_STRING_TAG_SUPPORT2 = require_to_string_tag_support(); var classof2 = require_classof(); module.exports = TO_STRING_TAG_SUPPORT2 ? {}.toString : function toString13() { return "[object " + classof2(this) + "]"; }; } }); // node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js var require_fix_regexp_well_known_symbol_logic = __commonJS({ "node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js": function(exports, module) { "use strict"; require_es_regexp_exec(); var uncurryThis15 = require_function_uncurry_this_clause(); var defineBuiltIn6 = require_define_built_in(); var regexpExec2 = require_regexp_exec(); var fails17 = require_fails(); var wellKnownSymbol7 = require_well_known_symbol(); var createNonEnumerableProperty4 = require_create_non_enumerable_property(); var SPECIES2 = wellKnownSymbol7("species"); var RegExpPrototype4 = RegExp.prototype; module.exports = function(KEY, exec3, FORCED9, SHAM) { var SYMBOL = wellKnownSymbol7(KEY); var DELEGATES_TO_SYMBOL = !fails17(function() { var O = {}; O[SYMBOL] = function() { return 7; }; return ""[KEY](O) != 7; }); var DELEGATES_TO_EXEC2 = DELEGATES_TO_SYMBOL && !fails17(function() { var execCalled = false; var re = /a/; if (KEY === "split") { re = {}; re.constructor = {}; re.constructor[SPECIES2] = function() { return re; }; re.flags = ""; re[SYMBOL] = /./[SYMBOL]; } re.exec = function() { execCalled = true; return null; }; re[SYMBOL](""); return !execCalled; }); if (!DELEGATES_TO_SYMBOL || !DELEGATES_TO_EXEC2 || FORCED9) { var uncurriedNativeRegExpMethod = uncurryThis15(/./[SYMBOL]); var methods = exec3(SYMBOL, ""[KEY], function(nativeMethod, regexp, str, arg2, forceStringMethod) { var uncurriedNativeMethod = uncurryThis15(nativeMethod); var $exec = regexp.exec; if ($exec === regexpExec2 || $exec === RegExpPrototype4.exec) { if (DELEGATES_TO_SYMBOL && !forceStringMethod) { return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) }; } return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) }; } return { done: false }; }); defineBuiltIn6(String.prototype, KEY, methods[0]); defineBuiltIn6(RegExpPrototype4, SYMBOL, methods[1]); } if (SHAM) createNonEnumerableProperty4(RegExpPrototype4[SYMBOL], "sham", true); }; } }); // node_modules/core-js/internals/string-multibyte.js var require_string_multibyte = __commonJS({ "node_modules/core-js/internals/string-multibyte.js": function(exports, module) { var uncurryThis15 = require_function_uncurry_this(); var toIntegerOrInfinity4 = require_to_integer_or_infinity(); var toString13 = require_to_string(); var requireObjectCoercible8 = require_require_object_coercible(); var charAt3 = uncurryThis15("".charAt); var charCodeAt2 = uncurryThis15("".charCodeAt); var stringSlice6 = uncurryThis15("".slice); var createMethod = function(CONVERT_TO_STRING) { return function($this, pos) { var S4 = toString13(requireObjectCoercible8($this)); var position = toIntegerOrInfinity4(pos); var size = S4.length; var first, second; if (position < 0 || position >= size) return CONVERT_TO_STRING ? "" : void 0; first = charCodeAt2(S4, position); return first < 55296 || first > 56319 || position + 1 === size || (second = charCodeAt2(S4, position + 1)) < 56320 || second > 57343 ? CONVERT_TO_STRING ? charAt3(S4, position) : first : CONVERT_TO_STRING ? stringSlice6(S4, position, position + 2) : (first - 55296 << 10) + (second - 56320) + 65536; }; }; module.exports = { codeAt: createMethod(false), charAt: createMethod(true) }; } }); // node_modules/core-js/internals/advance-string-index.js var require_advance_string_index = __commonJS({ "node_modules/core-js/internals/advance-string-index.js": function(exports, module) { "use strict"; var charAt3 = require_string_multibyte().charAt; module.exports = function(S4, index, unicode) { return index + (unicode ? charAt3(S4, index).length : 1); }; } }); // node_modules/core-js/internals/regexp-exec-abstract.js var require_regexp_exec_abstract = __commonJS({ "node_modules/core-js/internals/regexp-exec-abstract.js": function(exports, module) { var call8 = require_function_call(); var anObject10 = require_an_object(); var isCallable5 = require_is_callable(); var classof2 = require_classof_raw(); var regexpExec2 = require_regexp_exec(); var $TypeError2 = TypeError; module.exports = function(R2, S4) { var exec3 = R2.exec; if (isCallable5(exec3)) { var result = call8(exec3, R2, S4); if (result !== null) anObject10(result); return result; } if (classof2(R2) === "RegExp") return call8(regexpExec2, R2, S4); throw $TypeError2("RegExp#exec called on incompatible receiver"); }; } }); // node_modules/core-js/internals/number-parse-float.js var require_number_parse_float = __commonJS({ "node_modules/core-js/internals/number-parse-float.js": function(exports, module) { var global11 = require_global(); var fails17 = require_fails(); var uncurryThis15 = require_function_uncurry_this(); var toString13 = require_to_string(); var trim3 = require_string_trim().trim; var whitespaces = require_whitespaces(); var charAt3 = uncurryThis15("".charAt); var $parseFloat2 = global11.parseFloat; var Symbol2 = global11.Symbol; var ITERATOR2 = Symbol2 && Symbol2.iterator; var FORCED9 = 1 / $parseFloat2(whitespaces + "-0") !== -Infinity || ITERATOR2 && !fails17(function() { $parseFloat2(Object(ITERATOR2)); }); module.exports = FORCED9 ? function parseFloat2(string) { var trimmedString = trim3(toString13(string)); var result = $parseFloat2(trimmedString); return result === 0 && charAt3(trimmedString, 0) == "-" ? -0 : result; } : $parseFloat2; } }); // node_modules/core-js/internals/function-apply.js var require_function_apply = __commonJS({ "node_modules/core-js/internals/function-apply.js": function(exports, module) { var NATIVE_BIND = require_function_bind_native(); var FunctionPrototype2 = Function.prototype; var apply4 = FunctionPrototype2.apply; var call8 = FunctionPrototype2.call; module.exports = typeof Reflect == "object" && Reflect.apply || (NATIVE_BIND ? call8.bind(apply4) : function() { return call8.apply(apply4, arguments); }); } }); // node_modules/core-js/internals/get-substitution.js var require_get_substitution = __commonJS({ "node_modules/core-js/internals/get-substitution.js": function(exports, module) { var uncurryThis15 = require_function_uncurry_this(); var toObject6 = require_to_object(); var floor = Math.floor; var charAt3 = uncurryThis15("".charAt); var replace2 = uncurryThis15("".replace); var stringSlice6 = uncurryThis15("".slice); var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; module.exports = function(matched, str, position, captures, namedCaptures, replacement) { var tailPos = position + matched.length; var m2 = captures.length; var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; if (namedCaptures !== void 0) { namedCaptures = toObject6(namedCaptures); symbols = SUBSTITUTION_SYMBOLS; } return replace2(replacement, symbols, function(match, ch) { var capture; switch (charAt3(ch, 0)) { case "$": return "$"; case "&": return matched; case "`": return stringSlice6(str, 0, position); case "'": return stringSlice6(str, tailPos); case "<": capture = namedCaptures[stringSlice6(ch, 1, -1)]; break; default: var n4 = +ch; if (n4 === 0) return match; if (n4 > m2) { var f4 = floor(n4 / 10); if (f4 === 0) return match; if (f4 <= m2) return captures[f4 - 1] === void 0 ? charAt3(ch, 1) : captures[f4 - 1] + charAt3(ch, 1); return match; } capture = captures[n4 - 1]; } return capture === void 0 ? "" : capture; }); }; } }); // node_modules/core-js/internals/does-not-exceed-safe-integer.js var require_does_not_exceed_safe_integer = __commonJS({ "node_modules/core-js/internals/does-not-exceed-safe-integer.js": function(exports, module) { var $TypeError2 = TypeError; var MAX_SAFE_INTEGER = 9007199254740991; module.exports = function(it) { if (it > MAX_SAFE_INTEGER) throw $TypeError2("Maximum allowed index exceeded"); return it; }; } }); // node_modules/core-js/internals/create-property.js var require_create_property = __commonJS({ "node_modules/core-js/internals/create-property.js": function(exports, module) { "use strict"; var toPropertyKey = require_to_property_key(); var definePropertyModule = require_object_define_property(); var createPropertyDescriptor = require_create_property_descriptor(); module.exports = function(object, key, value) { var propertyKey = toPropertyKey(key); if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); else object[propertyKey] = value; }; } }); // node_modules/core-js/internals/array-method-has-species-support.js var require_array_method_has_species_support = __commonJS({ "node_modules/core-js/internals/array-method-has-species-support.js": function(exports, module) { var fails17 = require_fails(); var wellKnownSymbol7 = require_well_known_symbol(); var V8_VERSION2 = require_engine_v8_version(); var SPECIES2 = wellKnownSymbol7("species"); module.exports = function(METHOD_NAME) { return V8_VERSION2 >= 51 || !fails17(function() { var array = []; var constructor = array.constructor = {}; constructor[SPECIES2] = function() { return { foo: 1 }; }; return array[METHOD_NAME](Boolean).foo !== 1; }); }; } }); // node_modules/core-js/internals/same-value.js var require_same_value = __commonJS({ "node_modules/core-js/internals/same-value.js": function(exports, module) { module.exports = Object.is || function is2(x2, y4) { return x2 === y4 ? x2 !== 0 || 1 / x2 === 1 / y4 : x2 != x2 && y4 != y4; }; } }); // node_modules/core-js/internals/is-regexp.js var require_is_regexp = __commonJS({ "node_modules/core-js/internals/is-regexp.js": function(exports, module) { var isObject6 = require_is_object(); var classof2 = require_classof_raw(); var wellKnownSymbol7 = require_well_known_symbol(); var MATCH2 = wellKnownSymbol7("match"); module.exports = function(it) { var isRegExp3; return isObject6(it) && ((isRegExp3 = it[MATCH2]) !== void 0 ? !!isRegExp3 : classof2(it) == "RegExp"); }; } }); // node_modules/core-js/internals/a-constructor.js var require_a_constructor = __commonJS({ "node_modules/core-js/internals/a-constructor.js": function(exports, module) { var isConstructor2 = require_is_constructor(); var tryToString = require_try_to_string(); var $TypeError2 = TypeError; module.exports = function(argument) { if (isConstructor2(argument)) return argument; throw $TypeError2(tryToString(argument) + " is not a constructor"); }; } }); // node_modules/core-js/internals/species-constructor.js var require_species_constructor = __commonJS({ "node_modules/core-js/internals/species-constructor.js": function(exports, module) { var anObject10 = require_an_object(); var aConstructor2 = require_a_constructor(); var isNullOrUndefined5 = require_is_null_or_undefined(); var wellKnownSymbol7 = require_well_known_symbol(); var SPECIES2 = wellKnownSymbol7("species"); module.exports = function(O, defaultConstructor) { var C2 = anObject10(O).constructor; var S4; return C2 === void 0 || isNullOrUndefined5(S4 = anObject10(C2)[SPECIES2]) ? defaultConstructor : aConstructor2(S4); }; } }); // node_modules/core-js/internals/array-slice-simple.js var require_array_slice_simple = __commonJS({ "node_modules/core-js/internals/array-slice-simple.js": function(exports, module) { var toAbsoluteIndex4 = require_to_absolute_index(); var lengthOfArrayLike5 = require_length_of_array_like(); var createProperty5 = require_create_property(); var $Array2 = Array; var max4 = Math.max; module.exports = function(O, start, end) { var length = lengthOfArrayLike5(O); var k2 = toAbsoluteIndex4(start, length); var fin = toAbsoluteIndex4(end === void 0 ? length : end, length); var result = $Array2(max4(fin - k2, 0)); for (var n4 = 0; k2 < fin; k2++, n4++) createProperty5(result, n4, O[k2]); result.length = n4; return result; }; } }); // node_modules/core-js/internals/path.js var require_path = __commonJS({ "node_modules/core-js/internals/path.js": function(exports, module) { var global11 = require_global(); module.exports = global11; } }); // node_modules/core-js/internals/well-known-symbol-wrapped.js var require_well_known_symbol_wrapped = __commonJS({ "node_modules/core-js/internals/well-known-symbol-wrapped.js": function(exports) { var wellKnownSymbol7 = require_well_known_symbol(); exports.f = wellKnownSymbol7; } }); // node_modules/core-js/internals/well-known-symbol-define.js var require_well_known_symbol_define = __commonJS({ "node_modules/core-js/internals/well-known-symbol-define.js": function(exports, module) { var path2 = require_path(); var hasOwn5 = require_has_own_property(); var wrappedWellKnownSymbolModule = require_well_known_symbol_wrapped(); var defineProperty3 = require_object_define_property().f; module.exports = function(NAME2) { var Symbol2 = path2.Symbol || (path2.Symbol = {}); if (!hasOwn5(Symbol2, NAME2)) defineProperty3(Symbol2, NAME2, { value: wrappedWellKnownSymbolModule.f(NAME2) }); }; } }); // node_modules/core-js/internals/symbol-define-to-primitive.js var require_symbol_define_to_primitive = __commonJS({ "node_modules/core-js/internals/symbol-define-to-primitive.js": function(exports, module) { var call8 = require_function_call(); var getBuiltIn4 = require_get_built_in(); var wellKnownSymbol7 = require_well_known_symbol(); var defineBuiltIn6 = require_define_built_in(); module.exports = function() { var Symbol2 = getBuiltIn4("Symbol"); var SymbolPrototype2 = Symbol2 && Symbol2.prototype; var valueOf = SymbolPrototype2 && SymbolPrototype2.valueOf; var TO_PRIMITIVE2 = wellKnownSymbol7("toPrimitive"); if (SymbolPrototype2 && !SymbolPrototype2[TO_PRIMITIVE2]) { defineBuiltIn6(SymbolPrototype2, TO_PRIMITIVE2, function(hint) { return call8(valueOf, this); }, { arity: 1 }); } }; } }); // node_modules/core-js/internals/date-to-primitive.js var require_date_to_primitive = __commonJS({ "node_modules/core-js/internals/date-to-primitive.js": function(exports, module) { "use strict"; var anObject10 = require_an_object(); var ordinaryToPrimitive = require_ordinary_to_primitive(); var $TypeError2 = TypeError; module.exports = function(hint) { anObject10(this); if (hint === "string" || hint === "default") hint = "string"; else if (hint !== "number") throw $TypeError2("Incorrect hint"); return ordinaryToPrimitive(this, hint); }; } }); // node_modules/core-js/internals/object-get-own-property-names-external.js var require_object_get_own_property_names_external = __commonJS({ "node_modules/core-js/internals/object-get-own-property-names-external.js": function(exports, module) { var classof2 = require_classof_raw(); var toIndexedObject5 = require_to_indexed_object(); var $getOwnPropertyNames = require_object_get_own_property_names().f; var arraySlice2 = require_array_slice_simple(); var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; var getWindowNames = function(it) { try { return $getOwnPropertyNames(it); } catch (error) { return arraySlice2(windowNames); } }; module.exports.f = function getOwnPropertyNames4(it) { return windowNames && classof2(it) == "Window" ? getWindowNames(it) : $getOwnPropertyNames(toIndexedObject5(it)); }; } }); // node_modules/core-js/internals/define-built-in-accessor.js var require_define_built_in_accessor = __commonJS({ "node_modules/core-js/internals/define-built-in-accessor.js": function(exports, module) { var makeBuiltIn = require_make_built_in(); var defineProperty3 = require_object_define_property(); module.exports = function(target, name, descriptor) { if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); return defineProperty3.f(target, name, descriptor); }; } }); // node_modules/core-js/internals/set-to-string-tag.js var require_set_to_string_tag = __commonJS({ "node_modules/core-js/internals/set-to-string-tag.js": function(exports, module) { var defineProperty3 = require_object_define_property().f; var hasOwn5 = require_has_own_property(); var wellKnownSymbol7 = require_well_known_symbol(); var TO_STRING_TAG2 = wellKnownSymbol7("toStringTag"); module.exports = function(target, TAG, STATIC) { if (target && !STATIC) target = target.prototype; if (target && !hasOwn5(target, TO_STRING_TAG2)) { defineProperty3(target, TO_STRING_TAG2, { configurable: true, value: TAG }); } }; } }); // node_modules/core-js/modules/es.symbol.constructor.js var require_es_symbol_constructor = __commonJS({ "node_modules/core-js/modules/es.symbol.constructor.js": function() { "use strict"; var $88 = require_export(); var global11 = require_global(); var call8 = require_function_call(); var uncurryThis15 = require_function_uncurry_this(); var IS_PURE5 = require_is_pure(); var DESCRIPTORS10 = require_descriptors(); var NATIVE_SYMBOL = require_symbol_constructor_detection(); var fails17 = require_fails(); var hasOwn5 = require_has_own_property(); var isPrototypeOf4 = require_object_is_prototype_of(); var anObject10 = require_an_object(); var toIndexedObject5 = require_to_indexed_object(); var toPropertyKey = require_to_property_key(); var $toString2 = require_to_string(); var createPropertyDescriptor = require_create_property_descriptor(); var nativeObjectCreate = require_object_create(); var objectKeys = require_object_keys(); var getOwnPropertyNamesModule = require_object_get_own_property_names(); var getOwnPropertyNamesExternal = require_object_get_own_property_names_external(); var getOwnPropertySymbolsModule = require_object_get_own_property_symbols(); var getOwnPropertyDescriptorModule3 = require_object_get_own_property_descriptor(); var definePropertyModule = require_object_define_property(); var definePropertiesModule = require_object_define_properties(); var propertyIsEnumerableModule = require_object_property_is_enumerable(); var defineBuiltIn6 = require_define_built_in(); var defineBuiltInAccessor4 = require_define_built_in_accessor(); var shared = require_shared(); var sharedKey = require_shared_key(); var hiddenKeys = require_hidden_keys(); var uid = require_uid(); var wellKnownSymbol7 = require_well_known_symbol(); var wrappedWellKnownSymbolModule = require_well_known_symbol_wrapped(); var defineWellKnownSymbol5 = require_well_known_symbol_define(); var defineSymbolToPrimitive2 = require_symbol_define_to_primitive(); var setToStringTag5 = require_set_to_string_tag(); var InternalStateModule2 = require_internal_state(); var $forEach = require_array_iteration().forEach; var HIDDEN = sharedKey("hidden"); var SYMBOL = "Symbol"; var PROTOTYPE = "prototype"; var setInternalState2 = InternalStateModule2.set; var getInternalState3 = InternalStateModule2.getterFor(SYMBOL); var ObjectPrototype2 = Object[PROTOTYPE]; var $Symbol = global11.Symbol; var SymbolPrototype2 = $Symbol && $Symbol[PROTOTYPE]; var TypeError3 = global11.TypeError; var QObject = global11.QObject; var nativeGetOwnPropertyDescriptor2 = getOwnPropertyDescriptorModule3.f; var nativeDefineProperty = definePropertyModule.f; var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f; var nativePropertyIsEnumerable = propertyIsEnumerableModule.f; var push4 = uncurryThis15([].push); var AllSymbols = shared("symbols"); var ObjectPrototypeSymbols = shared("op-symbols"); var WellKnownSymbolsStore = shared("wks"); var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; var setSymbolDescriptor = DESCRIPTORS10 && fails17(function() { return nativeObjectCreate(nativeDefineProperty({}, "a", { get: function() { return nativeDefineProperty(this, "a", { value: 7 }).a; } })).a != 7; }) ? function(O, P3, Attributes) { var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor2(ObjectPrototype2, P3); if (ObjectPrototypeDescriptor) delete ObjectPrototype2[P3]; nativeDefineProperty(O, P3, Attributes); if (ObjectPrototypeDescriptor && O !== ObjectPrototype2) { nativeDefineProperty(ObjectPrototype2, P3, ObjectPrototypeDescriptor); } } : nativeDefineProperty; var wrap = function(tag, description) { var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype2); setInternalState2(symbol, { type: SYMBOL, tag: tag, description: description }); if (!DESCRIPTORS10) symbol.description = description; return symbol; }; var $defineProperty = function defineProperty3(O, P3, Attributes) { if (O === ObjectPrototype2) $defineProperty(ObjectPrototypeSymbols, P3, Attributes); anObject10(O); var key = toPropertyKey(P3); anObject10(Attributes); if (hasOwn5(AllSymbols, key)) { if (!Attributes.enumerable) { if (!hasOwn5(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {})); O[HIDDEN][key] = true; } else { if (hasOwn5(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false; Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) }); } return setSymbolDescriptor(O, key, Attributes); } return nativeDefineProperty(O, key, Attributes); }; var $defineProperties = function defineProperties2(O, Properties) { anObject10(O); var properties = toIndexedObject5(Properties); var keys2 = objectKeys(properties).concat($getOwnPropertySymbols(properties)); $forEach(keys2, function(key) { if (!DESCRIPTORS10 || call8($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]); }); return O; }; var $create = function create3(O, Properties) { return Properties === void 0 ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties); }; var $propertyIsEnumerable = function propertyIsEnumerable(V2) { var P3 = toPropertyKey(V2); var enumerable = call8(nativePropertyIsEnumerable, this, P3); if (this === ObjectPrototype2 && hasOwn5(AllSymbols, P3) && !hasOwn5(ObjectPrototypeSymbols, P3)) return false; return enumerable || !hasOwn5(this, P3) || !hasOwn5(AllSymbols, P3) || hasOwn5(this, HIDDEN) && this[HIDDEN][P3] ? enumerable : true; }; var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor5(O, P3) { var it = toIndexedObject5(O); var key = toPropertyKey(P3); if (it === ObjectPrototype2 && hasOwn5(AllSymbols, key) && !hasOwn5(ObjectPrototypeSymbols, key)) return; var descriptor = nativeGetOwnPropertyDescriptor2(it, key); if (descriptor && hasOwn5(AllSymbols, key) && !(hasOwn5(it, HIDDEN) && it[HIDDEN][key])) { descriptor.enumerable = true; } return descriptor; }; var $getOwnPropertyNames = function getOwnPropertyNames4(O) { var names = nativeGetOwnPropertyNames(toIndexedObject5(O)); var result = []; $forEach(names, function(key) { if (!hasOwn5(AllSymbols, key) && !hasOwn5(hiddenKeys, key)) push4(result, key); }); return result; }; var $getOwnPropertySymbols = function(O) { var IS_OBJECT_PROTOTYPE = O === ObjectPrototype2; var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject5(O)); var result = []; $forEach(names, function(key) { if (hasOwn5(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn5(ObjectPrototype2, key))) { push4(result, AllSymbols[key]); } }); return result; }; if (!NATIVE_SYMBOL) { $Symbol = function Symbol2() { if (isPrototypeOf4(SymbolPrototype2, this)) throw TypeError3("Symbol is not a constructor"); var description = !arguments.length || arguments[0] === void 0 ? void 0 : $toString2(arguments[0]); var tag = uid(description); var setter = function(value) { if (this === ObjectPrototype2) call8(setter, ObjectPrototypeSymbols, value); if (hasOwn5(this, HIDDEN) && hasOwn5(this[HIDDEN], tag)) this[HIDDEN][tag] = false; setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value)); }; if (DESCRIPTORS10 && USE_SETTER) setSymbolDescriptor(ObjectPrototype2, tag, { configurable: true, set: setter }); return wrap(tag, description); }; SymbolPrototype2 = $Symbol[PROTOTYPE]; defineBuiltIn6(SymbolPrototype2, "toString", function toString13() { return getInternalState3(this).tag; }); defineBuiltIn6($Symbol, "withoutSetter", function(description) { return wrap(uid(description), description); }); propertyIsEnumerableModule.f = $propertyIsEnumerable; definePropertyModule.f = $defineProperty; definePropertiesModule.f = $defineProperties; getOwnPropertyDescriptorModule3.f = $getOwnPropertyDescriptor; getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames; getOwnPropertySymbolsModule.f = $getOwnPropertySymbols; wrappedWellKnownSymbolModule.f = function(name) { return wrap(wellKnownSymbol7(name), name); }; if (DESCRIPTORS10) { defineBuiltInAccessor4(SymbolPrototype2, "description", { configurable: true, get: function description() { return getInternalState3(this).description; } }); if (!IS_PURE5) { defineBuiltIn6(ObjectPrototype2, "propertyIsEnumerable", $propertyIsEnumerable, { unsafe: true }); } } } $88({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, { Symbol: $Symbol }); $forEach(objectKeys(WellKnownSymbolsStore), function(name) { defineWellKnownSymbol5(name); }); $88({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, { useSetter: function() { USE_SETTER = true; }, useSimple: function() { USE_SETTER = false; } }); $88({ target: "Object", stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS10 }, { create: $create, defineProperty: $defineProperty, defineProperties: $defineProperties, getOwnPropertyDescriptor: $getOwnPropertyDescriptor }); $88({ target: "Object", stat: true, forced: !NATIVE_SYMBOL }, { getOwnPropertyNames: $getOwnPropertyNames }); defineSymbolToPrimitive2(); setToStringTag5($Symbol, SYMBOL); hiddenKeys[HIDDEN] = true; } }); // node_modules/core-js/internals/symbol-registry-detection.js var require_symbol_registry_detection = __commonJS({ "node_modules/core-js/internals/symbol-registry-detection.js": function(exports, module) { var NATIVE_SYMBOL = require_symbol_constructor_detection(); module.exports = NATIVE_SYMBOL && !!Symbol["for"] && !!Symbol.keyFor; } }); // node_modules/core-js/modules/es.symbol.for.js var require_es_symbol_for = __commonJS({ "node_modules/core-js/modules/es.symbol.for.js": function() { var $88 = require_export(); var getBuiltIn4 = require_get_built_in(); var hasOwn5 = require_has_own_property(); var toString13 = require_to_string(); var shared = require_shared(); var NATIVE_SYMBOL_REGISTRY = require_symbol_registry_detection(); var StringToSymbolRegistry = shared("string-to-symbol-registry"); var SymbolToStringRegistry = shared("symbol-to-string-registry"); $88({ target: "Symbol", stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, { "for": function(key) { var string = toString13(key); if (hasOwn5(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string]; var symbol = getBuiltIn4("Symbol")(string); StringToSymbolRegistry[string] = symbol; SymbolToStringRegistry[symbol] = string; return symbol; } }); } }); // node_modules/core-js/modules/es.symbol.key-for.js var require_es_symbol_key_for = __commonJS({ "node_modules/core-js/modules/es.symbol.key-for.js": function() { var $88 = require_export(); var hasOwn5 = require_has_own_property(); var isSymbol2 = require_is_symbol(); var tryToString = require_try_to_string(); var shared = require_shared(); var NATIVE_SYMBOL_REGISTRY = require_symbol_registry_detection(); var SymbolToStringRegistry = shared("symbol-to-string-registry"); $88({ target: "Symbol", stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, { keyFor: function keyFor(sym) { if (!isSymbol2(sym)) throw TypeError(tryToString(sym) + " is not a symbol"); if (hasOwn5(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym]; } }); } }); // node_modules/core-js/internals/array-slice.js var require_array_slice = __commonJS({ "node_modules/core-js/internals/array-slice.js": function(exports, module) { var uncurryThis15 = require_function_uncurry_this(); module.exports = uncurryThis15([].slice); } }); // node_modules/core-js/internals/get-json-replacer-function.js var require_get_json_replacer_function = __commonJS({ "node_modules/core-js/internals/get-json-replacer-function.js": function(exports, module) { var uncurryThis15 = require_function_uncurry_this(); var isArray4 = require_is_array(); var isCallable5 = require_is_callable(); var classof2 = require_classof_raw(); var toString13 = require_to_string(); var push4 = uncurryThis15([].push); module.exports = function(replacer) { if (isCallable5(replacer)) return replacer; if (!isArray4(replacer)) return; var rawLength = replacer.length; var keys2 = []; for (var i5 = 0; i5 < rawLength; i5++) { var element = replacer[i5]; if (typeof element == "string") push4(keys2, element); else if (typeof element == "number" || classof2(element) == "Number" || classof2(element) == "String") push4(keys2, toString13(element)); } var keysLength = keys2.length; var root = true; return function(key, value) { if (root) { root = false; return value; } if (isArray4(this)) return value; for (var j3 = 0; j3 < keysLength; j3++) if (keys2[j3] === key) return value; }; }; } }); // node_modules/core-js/modules/es.json.stringify.js var require_es_json_stringify = __commonJS({ "node_modules/core-js/modules/es.json.stringify.js": function() { var $88 = require_export(); var getBuiltIn4 = require_get_built_in(); var apply4 = require_function_apply(); var call8 = require_function_call(); var uncurryThis15 = require_function_uncurry_this(); var fails17 = require_fails(); var isCallable5 = require_is_callable(); var isSymbol2 = require_is_symbol(); var arraySlice2 = require_array_slice(); var getReplacerFunction = require_get_json_replacer_function(); var NATIVE_SYMBOL = require_symbol_constructor_detection(); var $String = String; var $stringify = getBuiltIn4("JSON", "stringify"); var exec3 = uncurryThis15(/./.exec); var charAt3 = uncurryThis15("".charAt); var charCodeAt2 = uncurryThis15("".charCodeAt); var replace2 = uncurryThis15("".replace); var numberToString = uncurryThis15(1 .toString); var tester = /[\uD800-\uDFFF]/g; var low = /^[\uD800-\uDBFF]$/; var hi = /^[\uDC00-\uDFFF]$/; var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails17(function() { var symbol = getBuiltIn4("Symbol")(); return $stringify([symbol]) != "[null]" || $stringify({ a: symbol }) != "{}" || $stringify(Object(symbol)) != "{}"; }); var ILL_FORMED_UNICODE = fails17(function() { return $stringify("\uDF06\uD834") !== '"\\udf06\\ud834"' || $stringify("\uDEAD") !== '"\\udead"'; }); var stringifyWithSymbolsFix = function(it, replacer) { var args = arraySlice2(arguments); var $replacer = getReplacerFunction(replacer); if (!isCallable5($replacer) && (it === void 0 || isSymbol2(it))) return; args[1] = function(key, value) { if (isCallable5($replacer)) value = call8($replacer, this, $String(key), value); if (!isSymbol2(value)) return value; }; return apply4($stringify, null, args); }; var fixIllFormed = function(match, offset, string) { var prev = charAt3(string, offset - 1); var next2 = charAt3(string, offset + 1); if (exec3(low, match) && !exec3(hi, next2) || exec3(hi, match) && !exec3(low, prev)) { return "\\u" + numberToString(charCodeAt2(match, 0), 16); } return match; }; if ($stringify) { $88({ target: "JSON", stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, { stringify: function stringify(it, replacer, space) { var args = arraySlice2(arguments); var result = apply4(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args); return ILL_FORMED_UNICODE && typeof result == "string" ? replace2(result, tester, fixIllFormed) : result; } }); } } }); // node_modules/core-js/modules/es.object.get-own-property-symbols.js var require_es_object_get_own_property_symbols = __commonJS({ "node_modules/core-js/modules/es.object.get-own-property-symbols.js": function() { var $88 = require_export(); var NATIVE_SYMBOL = require_symbol_constructor_detection(); var fails17 = require_fails(); var getOwnPropertySymbolsModule = require_object_get_own_property_symbols(); var toObject6 = require_to_object(); var FORCED9 = !NATIVE_SYMBOL || fails17(function() { getOwnPropertySymbolsModule.f(1); }); $88({ target: "Object", stat: true, forced: FORCED9 }, { getOwnPropertySymbols: function getOwnPropertySymbols(it) { var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f; return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject6(it)) : []; } }); } }); // node_modules/core-js/internals/function-uncurry-this-accessor.js var require_function_uncurry_this_accessor = __commonJS({ "node_modules/core-js/internals/function-uncurry-this-accessor.js": function(exports, module) { var uncurryThis15 = require_function_uncurry_this(); var aCallable2 = require_a_callable(); module.exports = function(object, key, method) { try { return uncurryThis15(aCallable2(Object.getOwnPropertyDescriptor(object, key)[method])); } catch (error) { } }; } }); // node_modules/core-js/internals/a-possible-prototype.js var require_a_possible_prototype = __commonJS({ "node_modules/core-js/internals/a-possible-prototype.js": function(exports, module) { var isCallable5 = require_is_callable(); var $String = String; var $TypeError2 = TypeError; module.exports = function(argument) { if (typeof argument == "object" || isCallable5(argument)) return argument; throw $TypeError2("Can't set " + $String(argument) + " as a prototype"); }; } }); // node_modules/core-js/internals/object-set-prototype-of.js var require_object_set_prototype_of = __commonJS({ "node_modules/core-js/internals/object-set-prototype-of.js": function(exports, module) { var uncurryThisAccessor = require_function_uncurry_this_accessor(); var anObject10 = require_an_object(); var aPossiblePrototype = require_a_possible_prototype(); module.exports = Object.setPrototypeOf || ("__proto__" in {} ? function() { var CORRECT_SETTER = false; var test2 = {}; var setter; try { setter = uncurryThisAccessor(Object.prototype, "__proto__", "set"); setter(test2, []); CORRECT_SETTER = test2 instanceof Array; } catch (error) { } return function setPrototypeOf2(O, proto) { anObject10(O); aPossiblePrototype(proto); if (CORRECT_SETTER) setter(O, proto); else O.__proto__ = proto; return O; }; }() : void 0); } }); // node_modules/core-js/internals/inherit-if-required.js var require_inherit_if_required = __commonJS({ "node_modules/core-js/internals/inherit-if-required.js": function(exports, module) { var isCallable5 = require_is_callable(); var isObject6 = require_is_object(); var setPrototypeOf2 = require_object_set_prototype_of(); module.exports = function($this, dummy, Wrapper) { var NewTarget, NewTargetPrototype; if (setPrototypeOf2 && isCallable5(NewTarget = dummy.constructor) && NewTarget !== Wrapper && isObject6(NewTargetPrototype = NewTarget.prototype) && NewTargetPrototype !== Wrapper.prototype) setPrototypeOf2($this, NewTargetPrototype); return $this; }; } }); // node_modules/core-js/internals/this-number-value.js var require_this_number_value = __commonJS({ "node_modules/core-js/internals/this-number-value.js": function(exports, module) { var uncurryThis15 = require_function_uncurry_this(); module.exports = uncurryThis15(1 .valueOf); } }); // node_modules/core-js/internals/engine-is-node.js var require_engine_is_node = __commonJS({ "node_modules/core-js/internals/engine-is-node.js": function(exports, module) { var classof2 = require_classof_raw(); module.exports = typeof process != "undefined" && classof2(process) == "process"; } }); // node_modules/core-js/internals/set-species.js var require_set_species = __commonJS({ "node_modules/core-js/internals/set-species.js": function(exports, module) { "use strict"; var getBuiltIn4 = require_get_built_in(); var defineBuiltInAccessor4 = require_define_built_in_accessor(); var wellKnownSymbol7 = require_well_known_symbol(); var DESCRIPTORS10 = require_descriptors(); var SPECIES2 = wellKnownSymbol7("species"); module.exports = function(CONSTRUCTOR_NAME) { var Constructor = getBuiltIn4(CONSTRUCTOR_NAME); if (DESCRIPTORS10 && Constructor && !Constructor[SPECIES2]) { defineBuiltInAccessor4(Constructor, SPECIES2, { configurable: true, get: function() { return this; } }); } }; } }); // node_modules/core-js/internals/an-instance.js var require_an_instance = __commonJS({ "node_modules/core-js/internals/an-instance.js": function(exports, module) { var isPrototypeOf4 = require_object_is_prototype_of(); var $TypeError2 = TypeError; module.exports = function(it, Prototype) { if (isPrototypeOf4(Prototype, it)) return it; throw $TypeError2("Incorrect invocation"); }; } }); // node_modules/core-js/internals/validate-arguments-length.js var require_validate_arguments_length = __commonJS({ "node_modules/core-js/internals/validate-arguments-length.js": function(exports, module) { var $TypeError2 = TypeError; module.exports = function(passed, required) { if (passed < required) throw $TypeError2("Not enough arguments"); return passed; }; } }); // node_modules/core-js/internals/engine-is-ios.js var require_engine_is_ios = __commonJS({ "node_modules/core-js/internals/engine-is-ios.js": function(exports, module) { var userAgent2 = require_engine_user_agent(); module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent2); } }); // node_modules/core-js/internals/task.js var require_task = __commonJS({ "node_modules/core-js/internals/task.js": function(exports, module) { var global11 = require_global(); var apply4 = require_function_apply(); var bind2 = require_function_bind_context(); var isCallable5 = require_is_callable(); var hasOwn5 = require_has_own_property(); var fails17 = require_fails(); var html = require_html(); var arraySlice2 = require_array_slice(); var createElement = require_document_create_element(); var validateArgumentsLength = require_validate_arguments_length(); var IS_IOS = require_engine_is_ios(); var IS_NODE2 = require_engine_is_node(); var set = global11.setImmediate; var clear = global11.clearImmediate; var process2 = global11.process; var Dispatch = global11.Dispatch; var Function2 = global11.Function; var MessageChannel = global11.MessageChannel; var String2 = global11.String; var counter = 0; var queue = {}; var ONREADYSTATECHANGE = "onreadystatechange"; var $location; var defer; var channel; var port; fails17(function() { $location = global11.location; }); var run = function(id) { if (hasOwn5(queue, id)) { var fn = queue[id]; delete queue[id]; fn(); } }; var runner = function(id) { return function() { run(id); }; }; var eventListener = function(event) { run(event.data); }; var globalPostMessageDefer = function(id) { global11.postMessage(String2(id), $location.protocol + "//" + $location.host); }; if (!set || !clear) { set = function setImmediate(handler) { validateArgumentsLength(arguments.length, 1); var fn = isCallable5(handler) ? handler : Function2(handler); var args = arraySlice2(arguments, 1); queue[++counter] = function() { apply4(fn, void 0, args); }; defer(counter); return counter; }; clear = function clearImmediate(id) { delete queue[id]; }; if (IS_NODE2) { defer = function(id) { process2.nextTick(runner(id)); }; } else if (Dispatch && Dispatch.now) { defer = function(id) { Dispatch.now(runner(id)); }; } else if (MessageChannel && !IS_IOS) { channel = new MessageChannel(); port = channel.port2; channel.port1.onmessage = eventListener; defer = bind2(port.postMessage, port); } else if (global11.addEventListener && isCallable5(global11.postMessage) && !global11.importScripts && $location && $location.protocol !== "file:" && !fails17(globalPostMessageDefer)) { defer = globalPostMessageDefer; global11.addEventListener("message", eventListener, false); } else if (ONREADYSTATECHANGE in createElement("script")) { defer = function(id) { html.appendChild(createElement("script"))[ONREADYSTATECHANGE] = function() { html.removeChild(this); run(id); }; }; } else { defer = function(id) { setTimeout(runner(id), 0); }; } } module.exports = { set: set, clear: clear }; } }); // node_modules/core-js/internals/queue.js var require_queue = __commonJS({ "node_modules/core-js/internals/queue.js": function(exports, module) { var Queue = function() { this.head = null; this.tail = null; }; Queue.prototype = { add: function(item) { var entry = { item: item, next: null }; var tail = this.tail; if (tail) tail.next = entry; else this.head = entry; this.tail = entry; }, get: function() { var entry = this.head; if (entry) { var next2 = this.head = entry.next; if (next2 === null) this.tail = null; return entry.item; } } }; module.exports = Queue; } }); // node_modules/core-js/internals/engine-is-ios-pebble.js var require_engine_is_ios_pebble = __commonJS({ "node_modules/core-js/internals/engine-is-ios-pebble.js": function(exports, module) { var userAgent2 = require_engine_user_agent(); module.exports = /ipad|iphone|ipod/i.test(userAgent2) && typeof Pebble != "undefined"; } }); // node_modules/core-js/internals/engine-is-webos-webkit.js var require_engine_is_webos_webkit = __commonJS({ "node_modules/core-js/internals/engine-is-webos-webkit.js": function(exports, module) { var userAgent2 = require_engine_user_agent(); module.exports = /web0s(?!.*chrome)/i.test(userAgent2); } }); // node_modules/core-js/internals/microtask.js var require_microtask = __commonJS({ "node_modules/core-js/internals/microtask.js": function(exports, module) { var global11 = require_global(); var bind2 = require_function_bind_context(); var getOwnPropertyDescriptor5 = require_object_get_own_property_descriptor().f; var macrotask = require_task().set; var Queue = require_queue(); var IS_IOS = require_engine_is_ios(); var IS_IOS_PEBBLE = require_engine_is_ios_pebble(); var IS_WEBOS_WEBKIT = require_engine_is_webos_webkit(); var IS_NODE2 = require_engine_is_node(); var MutationObserver2 = global11.MutationObserver || global11.WebKitMutationObserver; var document2 = global11.document; var process2 = global11.process; var Promise2 = global11.Promise; var queueMicrotaskDescriptor = getOwnPropertyDescriptor5(global11, "queueMicrotask"); var microtask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value; var notify; var toggle; var node; var promise; var then; if (!microtask) { queue = new Queue(); flush = function() { var parent, fn; if (IS_NODE2 && (parent = process2.domain)) parent.exit(); while (fn = queue.get()) try { fn(); } catch (error) { if (queue.head) notify(); throw error; } if (parent) parent.enter(); }; if (!IS_IOS && !IS_NODE2 && !IS_WEBOS_WEBKIT && MutationObserver2 && document2) { toggle = true; node = document2.createTextNode(""); new MutationObserver2(flush).observe(node, { characterData: true }); notify = function() { node.data = toggle = !toggle; }; } else if (!IS_IOS_PEBBLE && Promise2 && Promise2.resolve) { promise = Promise2.resolve(void 0); promise.constructor = Promise2; then = bind2(promise.then, promise); notify = function() { then(flush); }; } else if (IS_NODE2) { notify = function() { process2.nextTick(flush); }; } else { macrotask = bind2(macrotask, global11); notify = function() { macrotask(flush); }; } microtask = function(fn) { if (!queue.head) notify(); queue.add(fn); }; } var queue; var flush; module.exports = microtask; } }); // node_modules/core-js/internals/host-report-errors.js var require_host_report_errors = __commonJS({ "node_modules/core-js/internals/host-report-errors.js": function(exports, module) { module.exports = function(a3, b3) { try { arguments.length == 1 ? console.error(a3) : console.error(a3, b3); } catch (error) { } }; } }); // node_modules/core-js/internals/perform.js var require_perform = __commonJS({ "node_modules/core-js/internals/perform.js": function(exports, module) { module.exports = function(exec3) { try { return { error: false, value: exec3() }; } catch (error) { return { error: true, value: error }; } }; } }); // node_modules/core-js/internals/promise-native-constructor.js var require_promise_native_constructor = __commonJS({ "node_modules/core-js/internals/promise-native-constructor.js": function(exports, module) { var global11 = require_global(); module.exports = global11.Promise; } }); // node_modules/core-js/internals/engine-is-deno.js var require_engine_is_deno = __commonJS({ "node_modules/core-js/internals/engine-is-deno.js": function(exports, module) { module.exports = typeof Deno == "object" && Deno && typeof Deno.version == "object"; } }); // node_modules/core-js/internals/engine-is-browser.js var require_engine_is_browser = __commonJS({ "node_modules/core-js/internals/engine-is-browser.js": function(exports, module) { var IS_DENO = require_engine_is_deno(); var IS_NODE2 = require_engine_is_node(); module.exports = !IS_DENO && !IS_NODE2 && typeof window == "object" && typeof document == "object"; } }); // node_modules/core-js/internals/promise-constructor-detection.js var require_promise_constructor_detection = __commonJS({ "node_modules/core-js/internals/promise-constructor-detection.js": function(exports, module) { var global11 = require_global(); var NativePromiseConstructor2 = require_promise_native_constructor(); var isCallable5 = require_is_callable(); var isForced3 = require_is_forced(); var inspectSource = require_inspect_source(); var wellKnownSymbol7 = require_well_known_symbol(); var IS_BROWSER = require_engine_is_browser(); var IS_DENO = require_engine_is_deno(); var IS_PURE5 = require_is_pure(); var V8_VERSION2 = require_engine_v8_version(); var NativePromisePrototype2 = NativePromiseConstructor2 && NativePromiseConstructor2.prototype; var SPECIES2 = wellKnownSymbol7("species"); var SUBCLASSING = false; var NATIVE_PROMISE_REJECTION_EVENT = isCallable5(global11.PromiseRejectionEvent); var FORCED_PROMISE_CONSTRUCTOR = isForced3("Promise", function() { var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor2); var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor2); if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION2 === 66) return true; if (IS_PURE5 && !(NativePromisePrototype2["catch"] && NativePromisePrototype2["finally"])) return true; if (!V8_VERSION2 || V8_VERSION2 < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) { var promise = new NativePromiseConstructor2(function(resolve) { resolve(1); }); var FakePromise = function(exec3) { exec3(function() { }, function() { }); }; var constructor = promise.constructor = {}; constructor[SPECIES2] = FakePromise; SUBCLASSING = promise.then(function() { }) instanceof FakePromise; if (!SUBCLASSING) return true; } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT; }); module.exports = { CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR, REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT, SUBCLASSING: SUBCLASSING }; } }); // node_modules/core-js/internals/new-promise-capability.js var require_new_promise_capability = __commonJS({ "node_modules/core-js/internals/new-promise-capability.js": function(exports, module) { "use strict"; var aCallable2 = require_a_callable(); var $TypeError2 = TypeError; var PromiseCapability = function(C2) { var resolve, reject; this.promise = new C2(function($$resolve, $$reject) { if (resolve !== void 0 || reject !== void 0) throw $TypeError2("Bad Promise constructor"); resolve = $$resolve; reject = $$reject; }); this.resolve = aCallable2(resolve); this.reject = aCallable2(reject); }; module.exports.f = function(C2) { return new PromiseCapability(C2); }; } }); // node_modules/core-js/modules/es.promise.constructor.js var require_es_promise_constructor = __commonJS({ "node_modules/core-js/modules/es.promise.constructor.js": function() { "use strict"; var $88 = require_export(); var IS_PURE5 = require_is_pure(); var IS_NODE2 = require_engine_is_node(); var global11 = require_global(); var call8 = require_function_call(); var defineBuiltIn6 = require_define_built_in(); var setPrototypeOf2 = require_object_set_prototype_of(); var setToStringTag5 = require_set_to_string_tag(); var setSpecies3 = require_set_species(); var aCallable2 = require_a_callable(); var isCallable5 = require_is_callable(); var isObject6 = require_is_object(); var anInstance = require_an_instance(); var speciesConstructor4 = require_species_constructor(); var task = require_task().set; var microtask = require_microtask(); var hostReportErrors = require_host_report_errors(); var perform2 = require_perform(); var Queue = require_queue(); var InternalStateModule2 = require_internal_state(); var NativePromiseConstructor2 = require_promise_native_constructor(); var PromiseConstructorDetection = require_promise_constructor_detection(); var newPromiseCapabilityModule2 = require_new_promise_capability(); var PROMISE = "Promise"; var FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR; var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT; var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING; var getInternalPromiseState = InternalStateModule2.getterFor(PROMISE); var setInternalState2 = InternalStateModule2.set; var NativePromisePrototype2 = NativePromiseConstructor2 && NativePromiseConstructor2.prototype; var PromiseConstructor = NativePromiseConstructor2; var PromisePrototype = NativePromisePrototype2; var TypeError3 = global11.TypeError; var document2 = global11.document; var process2 = global11.process; var newPromiseCapability = newPromiseCapabilityModule2.f; var newGenericPromiseCapability = newPromiseCapability; var DISPATCH_EVENT = !!(document2 && document2.createEvent && global11.dispatchEvent); var UNHANDLED_REJECTION = "unhandledrejection"; var REJECTION_HANDLED = "rejectionhandled"; var PENDING = 0; var FULFILLED = 1; var REJECTED = 2; var HANDLED = 1; var UNHANDLED = 2; var Internal; var OwnPromiseCapability; var PromiseWrapper; var nativeThen; var isThenable = function(it) { var then; return isObject6(it) && isCallable5(then = it.then) ? then : false; }; var callReaction = function(reaction, state) { var value = state.value; var ok = state.state == FULFILLED; var handler = ok ? reaction.ok : reaction.fail; var resolve = reaction.resolve; var reject = reaction.reject; var domain = reaction.domain; var result, then, exited; try { if (handler) { if (!ok) { if (state.rejection === UNHANDLED) onHandleUnhandled(state); state.rejection = HANDLED; } if (handler === true) result = value; else { if (domain) domain.enter(); result = handler(value); if (domain) { domain.exit(); exited = true; } } if (result === reaction.promise) { reject(TypeError3("Promise-chain cycle")); } else if (then = isThenable(result)) { call8(then, result, resolve, reject); } else resolve(result); } else reject(value); } catch (error) { if (domain && !exited) domain.exit(); reject(error); } }; var notify = function(state, isReject) { if (state.notified) return; state.notified = true; microtask(function() { var reactions = state.reactions; var reaction; while (reaction = reactions.get()) { callReaction(reaction, state); } state.notified = false; if (isReject && !state.rejection) onUnhandled(state); }); }; var dispatchEvent = function(name, promise, reason) { var event, handler; if (DISPATCH_EVENT) { event = document2.createEvent("Event"); event.promise = promise; event.reason = reason; event.initEvent(name, false, true); global11.dispatchEvent(event); } else event = { promise: promise, reason: reason }; if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global11["on" + name])) handler(event); else if (name === UNHANDLED_REJECTION) hostReportErrors("Unhandled promise rejection", reason); }; var onUnhandled = function(state) { call8(task, global11, function() { var promise = state.facade; var value = state.value; var IS_UNHANDLED = isUnhandled(state); var result; if (IS_UNHANDLED) { result = perform2(function() { if (IS_NODE2) { process2.emit("unhandledRejection", value, promise); } else dispatchEvent(UNHANDLED_REJECTION, promise, value); }); state.rejection = IS_NODE2 || isUnhandled(state) ? UNHANDLED : HANDLED; if (result.error) throw result.value; } }); }; var isUnhandled = function(state) { return state.rejection !== HANDLED && !state.parent; }; var onHandleUnhandled = function(state) { call8(task, global11, function() { var promise = state.facade; if (IS_NODE2) { process2.emit("rejectionHandled", promise); } else dispatchEvent(REJECTION_HANDLED, promise, state.value); }); }; var bind2 = function(fn, state, unwrap) { return function(value) { fn(state, value, unwrap); }; }; var internalReject = function(state, value, unwrap) { if (state.done) return; state.done = true; if (unwrap) state = unwrap; state.value = value; state.state = REJECTED; notify(state, true); }; var internalResolve = function(state, value, unwrap) { if (state.done) return; state.done = true; if (unwrap) state = unwrap; try { if (state.facade === value) throw TypeError3("Promise can't be resolved itself"); var then = isThenable(value); if (then) { microtask(function() { var wrapper = { done: false }; try { call8( then, value, bind2(internalResolve, wrapper, state), bind2(internalReject, wrapper, state) ); } catch (error) { internalReject(wrapper, error, state); } }); } else { state.value = value; state.state = FULFILLED; notify(state, false); } } catch (error) { internalReject({ done: false }, error, state); } }; if (FORCED_PROMISE_CONSTRUCTOR) { PromiseConstructor = function Promise2(executor) { anInstance(this, PromisePrototype); aCallable2(executor); call8(Internal, this); var state = getInternalPromiseState(this); try { executor(bind2(internalResolve, state), bind2(internalReject, state)); } catch (error) { internalReject(state, error); } }; PromisePrototype = PromiseConstructor.prototype; Internal = function Promise2(executor) { setInternalState2(this, { type: PROMISE, done: false, notified: false, parent: false, reactions: new Queue(), rejection: false, state: PENDING, value: void 0 }); }; Internal.prototype = defineBuiltIn6(PromisePrototype, "then", function then(onFulfilled, onRejected) { var state = getInternalPromiseState(this); var reaction = newPromiseCapability(speciesConstructor4(this, PromiseConstructor)); state.parent = true; reaction.ok = isCallable5(onFulfilled) ? onFulfilled : true; reaction.fail = isCallable5(onRejected) && onRejected; reaction.domain = IS_NODE2 ? process2.domain : void 0; if (state.state == PENDING) state.reactions.add(reaction); else microtask(function() { callReaction(reaction, state); }); return reaction.promise; }); OwnPromiseCapability = function() { var promise = new Internal(); var state = getInternalPromiseState(promise); this.promise = promise; this.resolve = bind2(internalResolve, state); this.reject = bind2(internalReject, state); }; newPromiseCapabilityModule2.f = newPromiseCapability = function(C2) { return C2 === PromiseConstructor || C2 === PromiseWrapper ? new OwnPromiseCapability(C2) : newGenericPromiseCapability(C2); }; if (!IS_PURE5 && isCallable5(NativePromiseConstructor2) && NativePromisePrototype2 !== Object.prototype) { nativeThen = NativePromisePrototype2.then; if (!NATIVE_PROMISE_SUBCLASSING) { defineBuiltIn6(NativePromisePrototype2, "then", function then(onFulfilled, onRejected) { var that = this; return new PromiseConstructor(function(resolve, reject) { call8(nativeThen, that, resolve, reject); }).then(onFulfilled, onRejected); }, { unsafe: true }); } try { delete NativePromisePrototype2.constructor; } catch (error) { } if (setPrototypeOf2) { setPrototypeOf2(NativePromisePrototype2, PromisePrototype); } } } $88({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { Promise: PromiseConstructor }); setToStringTag5(PromiseConstructor, PROMISE, false, true); setSpecies3(PROMISE); } }); // node_modules/core-js/internals/iterators.js var require_iterators = __commonJS({ "node_modules/core-js/internals/iterators.js": function(exports, module) { module.exports = {}; } }); // node_modules/core-js/internals/is-array-iterator-method.js var require_is_array_iterator_method = __commonJS({ "node_modules/core-js/internals/is-array-iterator-method.js": function(exports, module) { var wellKnownSymbol7 = require_well_known_symbol(); var Iterators = require_iterators(); var ITERATOR2 = wellKnownSymbol7("iterator"); var ArrayPrototype = Array.prototype; module.exports = function(it) { return it !== void 0 && (Iterators.Array === it || ArrayPrototype[ITERATOR2] === it); }; } }); // node_modules/core-js/internals/get-iterator-method.js var require_get_iterator_method = __commonJS({ "node_modules/core-js/internals/get-iterator-method.js": function(exports, module) { var classof2 = require_classof(); var getMethod5 = require_get_method(); var isNullOrUndefined5 = require_is_null_or_undefined(); var Iterators = require_iterators(); var wellKnownSymbol7 = require_well_known_symbol(); var ITERATOR2 = wellKnownSymbol7("iterator"); module.exports = function(it) { if (!isNullOrUndefined5(it)) return getMethod5(it, ITERATOR2) || getMethod5(it, "@@iterator") || Iterators[classof2(it)]; }; } }); // node_modules/core-js/internals/get-iterator.js var require_get_iterator = __commonJS({ "node_modules/core-js/internals/get-iterator.js": function(exports, module) { var call8 = require_function_call(); var aCallable2 = require_a_callable(); var anObject10 = require_an_object(); var tryToString = require_try_to_string(); var getIteratorMethod = require_get_iterator_method(); var $TypeError2 = TypeError; module.exports = function(argument, usingIterator) { var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; if (aCallable2(iteratorMethod)) return anObject10(call8(iteratorMethod, argument)); throw $TypeError2(tryToString(argument) + " is not iterable"); }; } }); // node_modules/core-js/internals/iterator-close.js var require_iterator_close = __commonJS({ "node_modules/core-js/internals/iterator-close.js": function(exports, module) { var call8 = require_function_call(); var anObject10 = require_an_object(); var getMethod5 = require_get_method(); module.exports = function(iterator, kind, value) { var innerResult, innerError; anObject10(iterator); try { innerResult = getMethod5(iterator, "return"); if (!innerResult) { if (kind === "throw") throw value; return value; } innerResult = call8(innerResult, iterator); } catch (error) { innerError = true; innerResult = error; } if (kind === "throw") throw value; if (innerError) throw innerResult; anObject10(innerResult); return value; }; } }); // node_modules/core-js/internals/iterate.js var require_iterate = __commonJS({ "node_modules/core-js/internals/iterate.js": function(exports, module) { var bind2 = require_function_bind_context(); var call8 = require_function_call(); var anObject10 = require_an_object(); var tryToString = require_try_to_string(); var isArrayIteratorMethod = require_is_array_iterator_method(); var lengthOfArrayLike5 = require_length_of_array_like(); var isPrototypeOf4 = require_object_is_prototype_of(); var getIterator = require_get_iterator(); var getIteratorMethod = require_get_iterator_method(); var iteratorClose = require_iterator_close(); var $TypeError2 = TypeError; var Result = function(stopped, result) { this.stopped = stopped; this.result = result; }; var ResultPrototype = Result.prototype; module.exports = function(iterable, unboundFunction, options) { var that = options && options.that; var AS_ENTRIES = !!(options && options.AS_ENTRIES); var IS_RECORD = !!(options && options.IS_RECORD); var IS_ITERATOR = !!(options && options.IS_ITERATOR); var INTERRUPTED = !!(options && options.INTERRUPTED); var fn = bind2(unboundFunction, that); var iterator, iterFn, index, length, result, next2, step; var stop = function(condition) { if (iterator) iteratorClose(iterator, "normal", condition); return new Result(true, condition); }; var callFn = function(value) { if (AS_ENTRIES) { anObject10(value); return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); } return INTERRUPTED ? fn(value, stop) : fn(value); }; if (IS_RECORD) { iterator = iterable.iterator; } else if (IS_ITERATOR) { iterator = iterable; } else { iterFn = getIteratorMethod(iterable); if (!iterFn) throw $TypeError2(tryToString(iterable) + " is not iterable"); if (isArrayIteratorMethod(iterFn)) { for (index = 0, length = lengthOfArrayLike5(iterable); length > index; index++) { result = callFn(iterable[index]); if (result && isPrototypeOf4(ResultPrototype, result)) return result; } return new Result(false); } iterator = getIterator(iterable, iterFn); } next2 = IS_RECORD ? iterable.next : iterator.next; while (!(step = call8(next2, iterator)).done) { try { result = callFn(step.value); } catch (error) { iteratorClose(iterator, "throw", error); } if (typeof result == "object" && result && isPrototypeOf4(ResultPrototype, result)) return result; } return new Result(false); }; } }); // node_modules/core-js/internals/check-correctness-of-iteration.js var require_check_correctness_of_iteration = __commonJS({ "node_modules/core-js/internals/check-correctness-of-iteration.js": function(exports, module) { var wellKnownSymbol7 = require_well_known_symbol(); var ITERATOR2 = wellKnownSymbol7("iterator"); var SAFE_CLOSING = false; try { called = 0; iteratorWithReturn = { next: function() { return { done: !!called++ }; }, "return": function() { SAFE_CLOSING = true; } }; iteratorWithReturn[ITERATOR2] = function() { return this; }; Array.from(iteratorWithReturn, function() { throw 2; }); } catch (error) { } var called; var iteratorWithReturn; module.exports = function(exec3, SKIP_CLOSING) { if (!SKIP_CLOSING && !SAFE_CLOSING) return false; var ITERATION_SUPPORT = false; try { var object = {}; object[ITERATOR2] = function() { return { next: function() { return { done: ITERATION_SUPPORT = true }; } }; }; exec3(object); } catch (error) { } return ITERATION_SUPPORT; }; } }); // node_modules/core-js/internals/promise-statics-incorrect-iteration.js var require_promise_statics_incorrect_iteration = __commonJS({ "node_modules/core-js/internals/promise-statics-incorrect-iteration.js": function(exports, module) { var NativePromiseConstructor2 = require_promise_native_constructor(); var checkCorrectnessOfIteration2 = require_check_correctness_of_iteration(); var FORCED_PROMISE_CONSTRUCTOR = require_promise_constructor_detection().CONSTRUCTOR; module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration2(function(iterable) { NativePromiseConstructor2.all(iterable).then(void 0, function() { }); }); } }); // node_modules/core-js/modules/es.promise.all.js var require_es_promise_all = __commonJS({ "node_modules/core-js/modules/es.promise.all.js": function() { "use strict"; var $88 = require_export(); var call8 = require_function_call(); var aCallable2 = require_a_callable(); var newPromiseCapabilityModule2 = require_new_promise_capability(); var perform2 = require_perform(); var iterate2 = require_iterate(); var PROMISE_STATICS_INCORRECT_ITERATION2 = require_promise_statics_incorrect_iteration(); $88({ target: "Promise", stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION2 }, { all: function all(iterable) { var C2 = this; var capability = newPromiseCapabilityModule2.f(C2); var resolve = capability.resolve; var reject = capability.reject; var result = perform2(function() { var $promiseResolve = aCallable2(C2.resolve); var values2 = []; var counter = 0; var remaining = 1; iterate2(iterable, function(promise) { var index = counter++; var alreadyCalled = false; remaining++; call8($promiseResolve, C2, promise).then(function(value) { if (alreadyCalled) return; alreadyCalled = true; values2[index] = value; --remaining || resolve(values2); }, reject); }); --remaining || resolve(values2); }); if (result.error) reject(result.value); return capability.promise; } }); } }); // node_modules/core-js/modules/es.promise.catch.js var require_es_promise_catch = __commonJS({ "node_modules/core-js/modules/es.promise.catch.js": function() { "use strict"; var $88 = require_export(); var IS_PURE5 = require_is_pure(); var FORCED_PROMISE_CONSTRUCTOR = require_promise_constructor_detection().CONSTRUCTOR; var NativePromiseConstructor2 = require_promise_native_constructor(); var getBuiltIn4 = require_get_built_in(); var isCallable5 = require_is_callable(); var defineBuiltIn6 = require_define_built_in(); var NativePromisePrototype2 = NativePromiseConstructor2 && NativePromiseConstructor2.prototype; $88({ target: "Promise", proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, { "catch": function(onRejected) { return this.then(void 0, onRejected); } }); if (!IS_PURE5 && isCallable5(NativePromiseConstructor2)) { method = getBuiltIn4("Promise").prototype["catch"]; if (NativePromisePrototype2["catch"] !== method) { defineBuiltIn6(NativePromisePrototype2, "catch", method, { unsafe: true }); } } var method; } }); // node_modules/core-js/modules/es.promise.race.js var require_es_promise_race = __commonJS({ "node_modules/core-js/modules/es.promise.race.js": function() { "use strict"; var $88 = require_export(); var call8 = require_function_call(); var aCallable2 = require_a_callable(); var newPromiseCapabilityModule2 = require_new_promise_capability(); var perform2 = require_perform(); var iterate2 = require_iterate(); var PROMISE_STATICS_INCORRECT_ITERATION2 = require_promise_statics_incorrect_iteration(); $88({ target: "Promise", stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION2 }, { race: function race(iterable) { var C2 = this; var capability = newPromiseCapabilityModule2.f(C2); var reject = capability.reject; var result = perform2(function() { var $promiseResolve = aCallable2(C2.resolve); iterate2(iterable, function(promise) { call8($promiseResolve, C2, promise).then(capability.resolve, reject); }); }); if (result.error) reject(result.value); return capability.promise; } }); } }); // node_modules/core-js/modules/es.promise.reject.js var require_es_promise_reject = __commonJS({ "node_modules/core-js/modules/es.promise.reject.js": function() { "use strict"; var $88 = require_export(); var call8 = require_function_call(); var newPromiseCapabilityModule2 = require_new_promise_capability(); var FORCED_PROMISE_CONSTRUCTOR = require_promise_constructor_detection().CONSTRUCTOR; $88({ target: "Promise", stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { reject: function reject(r6) { var capability = newPromiseCapabilityModule2.f(this); call8(capability.reject, void 0, r6); return capability.promise; } }); } }); // node_modules/core-js/internals/promise-resolve.js var require_promise_resolve = __commonJS({ "node_modules/core-js/internals/promise-resolve.js": function(exports, module) { var anObject10 = require_an_object(); var isObject6 = require_is_object(); var newPromiseCapability = require_new_promise_capability(); module.exports = function(C2, x2) { anObject10(C2); if (isObject6(x2) && x2.constructor === C2) return x2; var promiseCapability = newPromiseCapability.f(C2); var resolve = promiseCapability.resolve; resolve(x2); return promiseCapability.promise; }; } }); // node_modules/core-js/modules/es.promise.resolve.js var require_es_promise_resolve = __commonJS({ "node_modules/core-js/modules/es.promise.resolve.js": function() { "use strict"; var $88 = require_export(); var getBuiltIn4 = require_get_built_in(); var IS_PURE5 = require_is_pure(); var NativePromiseConstructor2 = require_promise_native_constructor(); var FORCED_PROMISE_CONSTRUCTOR = require_promise_constructor_detection().CONSTRUCTOR; var promiseResolve2 = require_promise_resolve(); var PromiseConstructorWrapper = getBuiltIn4("Promise"); var CHECK_WRAPPER = IS_PURE5 && !FORCED_PROMISE_CONSTRUCTOR; $88({ target: "Promise", stat: true, forced: IS_PURE5 || FORCED_PROMISE_CONSTRUCTOR }, { resolve: function resolve(x2) { return promiseResolve2(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor2 : this, x2); } }); } }); // node_modules/core-js/internals/correct-prototype-getter.js var require_correct_prototype_getter = __commonJS({ "node_modules/core-js/internals/correct-prototype-getter.js": function(exports, module) { var fails17 = require_fails(); module.exports = !fails17(function() { function F() { } F.prototype.constructor = null; return Object.getPrototypeOf(new F()) !== F.prototype; }); } }); // node_modules/core-js/internals/object-get-prototype-of.js var require_object_get_prototype_of = __commonJS({ "node_modules/core-js/internals/object-get-prototype-of.js": function(exports, module) { var hasOwn5 = require_has_own_property(); var isCallable5 = require_is_callable(); var toObject6 = require_to_object(); var sharedKey = require_shared_key(); var CORRECT_PROTOTYPE_GETTER2 = require_correct_prototype_getter(); var IE_PROTO = sharedKey("IE_PROTO"); var $Object = Object; var ObjectPrototype2 = $Object.prototype; module.exports = CORRECT_PROTOTYPE_GETTER2 ? $Object.getPrototypeOf : function(O) { var object = toObject6(O); if (hasOwn5(object, IE_PROTO)) return object[IE_PROTO]; var constructor = object.constructor; if (isCallable5(constructor) && object instanceof constructor) { return constructor.prototype; } return object instanceof $Object ? ObjectPrototype2 : null; }; } }); // node_modules/core-js/internals/iterators-core.js var require_iterators_core = __commonJS({ "node_modules/core-js/internals/iterators-core.js": function(exports, module) { "use strict"; var fails17 = require_fails(); var isCallable5 = require_is_callable(); var isObject6 = require_is_object(); var create3 = require_object_create(); var getPrototypeOf3 = require_object_get_prototype_of(); var defineBuiltIn6 = require_define_built_in(); var wellKnownSymbol7 = require_well_known_symbol(); var IS_PURE5 = require_is_pure(); var ITERATOR2 = wellKnownSymbol7("iterator"); var BUGGY_SAFARI_ITERATORS = false; var IteratorPrototype; var PrototypeOfArrayIteratorPrototype; var arrayIterator; if ([].keys) { arrayIterator = [].keys(); if (!("next" in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; else { PrototypeOfArrayIteratorPrototype = getPrototypeOf3(getPrototypeOf3(arrayIterator)); if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; } } var NEW_ITERATOR_PROTOTYPE = !isObject6(IteratorPrototype) || fails17(function() { var test2 = {}; return IteratorPrototype[ITERATOR2].call(test2) !== test2; }); if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; else if (IS_PURE5) IteratorPrototype = create3(IteratorPrototype); if (!isCallable5(IteratorPrototype[ITERATOR2])) { defineBuiltIn6(IteratorPrototype, ITERATOR2, function() { return this; }); } module.exports = { IteratorPrototype: IteratorPrototype, BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS }; } }); // node_modules/core-js/internals/iterator-create-constructor.js var require_iterator_create_constructor = __commonJS({ "node_modules/core-js/internals/iterator-create-constructor.js": function(exports, module) { "use strict"; var IteratorPrototype = require_iterators_core().IteratorPrototype; var create3 = require_object_create(); var createPropertyDescriptor = require_create_property_descriptor(); var setToStringTag5 = require_set_to_string_tag(); var Iterators = require_iterators(); var returnThis = function() { return this; }; module.exports = function(IteratorConstructor, NAME2, next2, ENUMERABLE_NEXT) { var TO_STRING_TAG2 = NAME2 + " Iterator"; IteratorConstructor.prototype = create3(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next2) }); setToStringTag5(IteratorConstructor, TO_STRING_TAG2, false, true); Iterators[TO_STRING_TAG2] = returnThis; return IteratorConstructor; }; } }); // node_modules/core-js/internals/iterator-define.js var require_iterator_define = __commonJS({ "node_modules/core-js/internals/iterator-define.js": function(exports, module) { "use strict"; var $88 = require_export(); var call8 = require_function_call(); var IS_PURE5 = require_is_pure(); var FunctionName = require_function_name(); var isCallable5 = require_is_callable(); var createIteratorConstructor = require_iterator_create_constructor(); var getPrototypeOf3 = require_object_get_prototype_of(); var setPrototypeOf2 = require_object_set_prototype_of(); var setToStringTag5 = require_set_to_string_tag(); var createNonEnumerableProperty4 = require_create_non_enumerable_property(); var defineBuiltIn6 = require_define_built_in(); var wellKnownSymbol7 = require_well_known_symbol(); var Iterators = require_iterators(); var IteratorsCore = require_iterators_core(); var PROPER_FUNCTION_NAME2 = FunctionName.PROPER; var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; var IteratorPrototype = IteratorsCore.IteratorPrototype; var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; var ITERATOR2 = wellKnownSymbol7("iterator"); var KEYS = "keys"; var VALUES = "values"; var ENTRIES = "entries"; var returnThis = function() { return this; }; module.exports = function(Iterable, NAME2, IteratorConstructor, next2, DEFAULT, IS_SET, FORCED9) { createIteratorConstructor(IteratorConstructor, NAME2, next2); var getIterationMethod = function(KIND) { if (KIND === DEFAULT && defaultIterator) return defaultIterator; if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND]; switch (KIND) { case KEYS: return function keys2() { return new IteratorConstructor(this, KIND); }; case VALUES: return function values2() { return new IteratorConstructor(this, KIND); }; case ENTRIES: return function entries2() { return new IteratorConstructor(this, KIND); }; } return function() { return new IteratorConstructor(this); }; }; var TO_STRING_TAG2 = NAME2 + " Iterator"; var INCORRECT_VALUES_NAME = false; var IterablePrototype = Iterable.prototype; var nativeIterator = IterablePrototype[ITERATOR2] || IterablePrototype["@@iterator"] || DEFAULT && IterablePrototype[DEFAULT]; var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); var anyNativeIterator = NAME2 == "Array" ? IterablePrototype.entries || nativeIterator : nativeIterator; var CurrentIteratorPrototype, methods, KEY; if (anyNativeIterator) { CurrentIteratorPrototype = getPrototypeOf3(anyNativeIterator.call(new Iterable())); if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { if (!IS_PURE5 && getPrototypeOf3(CurrentIteratorPrototype) !== IteratorPrototype) { if (setPrototypeOf2) { setPrototypeOf2(CurrentIteratorPrototype, IteratorPrototype); } else if (!isCallable5(CurrentIteratorPrototype[ITERATOR2])) { defineBuiltIn6(CurrentIteratorPrototype, ITERATOR2, returnThis); } } setToStringTag5(CurrentIteratorPrototype, TO_STRING_TAG2, true, true); if (IS_PURE5) Iterators[TO_STRING_TAG2] = returnThis; } } if (PROPER_FUNCTION_NAME2 && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) { if (!IS_PURE5 && CONFIGURABLE_FUNCTION_NAME) { createNonEnumerableProperty4(IterablePrototype, "name", VALUES); } else { INCORRECT_VALUES_NAME = true; defaultIterator = function values2() { return call8(nativeIterator, this); }; } } if (DEFAULT) { methods = { values: getIterationMethod(VALUES), keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), entries: getIterationMethod(ENTRIES) }; if (FORCED9) for (KEY in methods) { if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { defineBuiltIn6(IterablePrototype, KEY, methods[KEY]); } } else $88({ target: NAME2, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); } if ((!IS_PURE5 || FORCED9) && IterablePrototype[ITERATOR2] !== defaultIterator) { defineBuiltIn6(IterablePrototype, ITERATOR2, defaultIterator, { name: DEFAULT }); } Iterators[NAME2] = defaultIterator; return methods; }; } }); // node_modules/core-js/internals/create-iter-result-object.js var require_create_iter_result_object = __commonJS({ "node_modules/core-js/internals/create-iter-result-object.js": function(exports, module) { module.exports = function(value, done) { return { value: value, done: done }; }; } }); // node_modules/core-js/modules/es.array.iterator.js var require_es_array_iterator = __commonJS({ "node_modules/core-js/modules/es.array.iterator.js": function(exports, module) { "use strict"; var toIndexedObject5 = require_to_indexed_object(); var addToUnscopables5 = require_add_to_unscopables(); var Iterators = require_iterators(); var InternalStateModule2 = require_internal_state(); var defineProperty3 = require_object_define_property().f; var defineIterator2 = require_iterator_define(); var createIterResultObject2 = require_create_iter_result_object(); var IS_PURE5 = require_is_pure(); var DESCRIPTORS10 = require_descriptors(); var ARRAY_ITERATOR = "Array Iterator"; var setInternalState2 = InternalStateModule2.set; var getInternalState3 = InternalStateModule2.getterFor(ARRAY_ITERATOR); module.exports = defineIterator2(Array, "Array", function(iterated, kind) { setInternalState2(this, { type: ARRAY_ITERATOR, target: toIndexedObject5(iterated), index: 0, kind: kind }); }, function() { var state = getInternalState3(this); var target = state.target; var kind = state.kind; var index = state.index++; if (!target || index >= target.length) { state.target = void 0; return createIterResultObject2(void 0, true); } if (kind == "keys") return createIterResultObject2(index, false); if (kind == "values") return createIterResultObject2(target[index], false); return createIterResultObject2([index, target[index]], false); }, "values"); var values2 = Iterators.Arguments = Iterators.Array; addToUnscopables5("keys"); addToUnscopables5("values"); addToUnscopables5("entries"); if (!IS_PURE5 && DESCRIPTORS10 && values2.name !== "values") try { defineProperty3(values2, "name", { value: "values" }); } catch (error) { } } }); // node_modules/core-js/internals/dom-iterables.js var require_dom_iterables = __commonJS({ "node_modules/core-js/internals/dom-iterables.js": function(exports, module) { module.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/dom-token-list-prototype.js var require_dom_token_list_prototype = __commonJS({ "node_modules/core-js/internals/dom-token-list-prototype.js": function(exports, module) { var documentCreateElement = require_document_create_element(); var classList = documentCreateElement("span").classList; var DOMTokenListPrototype3 = classList && classList.constructor && classList.constructor.prototype; module.exports = DOMTokenListPrototype3 === Object.prototype ? void 0 : DOMTokenListPrototype3; } }); // node_modules/core-js/internals/array-for-each.js var require_array_for_each = __commonJS({ "node_modules/core-js/internals/array-for-each.js": function(exports, module) { "use strict"; var $forEach = require_array_iteration().forEach; var arrayMethodIsStrict5 = require_array_method_is_strict(); var STRICT_METHOD2 = arrayMethodIsStrict5("forEach"); module.exports = !STRICT_METHOD2 ? function forEach3(callbackfn) { return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); } : [].forEach; } }); // node_modules/core-js/internals/regexp-get-flags.js var require_regexp_get_flags = __commonJS({ "node_modules/core-js/internals/regexp-get-flags.js": function(exports, module) { var call8 = require_function_call(); var hasOwn5 = require_has_own_property(); var isPrototypeOf4 = require_object_is_prototype_of(); var regExpFlags = require_regexp_flags(); var RegExpPrototype4 = RegExp.prototype; module.exports = function(R2) { var flags = R2.flags; return flags === void 0 && !("flags" in RegExpPrototype4) && !hasOwn5(R2, "flags") && isPrototypeOf4(RegExpPrototype4, R2) ? call8(regExpFlags, R2) : flags; }; } }); // node_modules/core-js/internals/array-set-length.js var require_array_set_length = __commonJS({ "node_modules/core-js/internals/array-set-length.js": function(exports, module) { "use strict"; var DESCRIPTORS10 = require_descriptors(); var isArray4 = require_is_array(); var $TypeError2 = TypeError; var getOwnPropertyDescriptor5 = Object.getOwnPropertyDescriptor; var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS10 && !function() { if (this !== void 0) return true; try { Object.defineProperty([], "length", { writable: false }).length = 1; } catch (error) { return error instanceof TypeError; } }(); module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function(O, length) { if (isArray4(O) && !getOwnPropertyDescriptor5(O, "length").writable) { throw $TypeError2("Cannot set read only .length"); } return O.length = length; } : function(O, length) { return O.length = length; }; } }); // node_modules/core-js/internals/delete-property-or-throw.js var require_delete_property_or_throw = __commonJS({ "node_modules/core-js/internals/delete-property-or-throw.js": function(exports, module) { "use strict"; var tryToString = require_try_to_string(); var $TypeError2 = TypeError; module.exports = function(O, P3) { if (!delete O[P3]) throw $TypeError2("Cannot delete property " + tryToString(P3) + " of " + tryToString(O)); }; } }); // node_modules/core-js/internals/function-bind.js var require_function_bind = __commonJS({ "node_modules/core-js/internals/function-bind.js": function(exports, module) { "use strict"; var uncurryThis15 = require_function_uncurry_this(); var aCallable2 = require_a_callable(); var isObject6 = require_is_object(); var hasOwn5 = require_has_own_property(); var arraySlice2 = require_array_slice(); var NATIVE_BIND = require_function_bind_native(); var $Function = Function; var concat3 = uncurryThis15([].concat); var join2 = uncurryThis15([].join); var factories = {}; var construct2 = function(C2, argsLength, args) { if (!hasOwn5(factories, argsLength)) { for (var list = [], i5 = 0; i5 < argsLength; i5++) list[i5] = "a[" + i5 + "]"; factories[argsLength] = $Function("C,a", "return new C(" + join2(list, ",") + ")"); } return factories[argsLength](C2, args); }; module.exports = NATIVE_BIND ? $Function.bind : function bind2(that) { var F = aCallable2(this); var Prototype = F.prototype; var partArgs = arraySlice2(arguments, 1); var boundFunction = function bound() { var args = concat3(partArgs, arraySlice2(arguments)); return this instanceof boundFunction ? construct2(F, args.length, args) : F.apply(that, args); }; if (isObject6(Prototype)) boundFunction.prototype = Prototype; return boundFunction; }; } }); // node_modules/core-js/internals/string-trim-forced.js var require_string_trim_forced = __commonJS({ "node_modules/core-js/internals/string-trim-forced.js": function(exports, module) { var PROPER_FUNCTION_NAME2 = require_function_name().PROPER; var fails17 = require_fails(); var whitespaces = require_whitespaces(); var non = "\u200B\x85\u180E"; module.exports = function(METHOD_NAME) { return fails17(function() { return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() !== non || PROPER_FUNCTION_NAME2 && whitespaces[METHOD_NAME].name !== METHOD_NAME; }); }; } }); // node_modules/core-js/internals/call-with-safe-iteration-closing.js var require_call_with_safe_iteration_closing = __commonJS({ "node_modules/core-js/internals/call-with-safe-iteration-closing.js": function(exports, module) { var anObject10 = require_an_object(); var iteratorClose = require_iterator_close(); module.exports = function(iterator, fn, value, ENTRIES) { try { return ENTRIES ? fn(anObject10(value)[0], value[1]) : fn(value); } catch (error) { iteratorClose(iterator, "throw", error); } }; } }); // node_modules/core-js/internals/array-from.js var require_array_from = __commonJS({ "node_modules/core-js/internals/array-from.js": function(exports, module) { "use strict"; var bind2 = require_function_bind_context(); var call8 = require_function_call(); var toObject6 = require_to_object(); var callWithSafeIterationClosing = require_call_with_safe_iteration_closing(); var isArrayIteratorMethod = require_is_array_iterator_method(); var isConstructor2 = require_is_constructor(); var lengthOfArrayLike5 = require_length_of_array_like(); var createProperty5 = require_create_property(); var getIterator = require_get_iterator(); var getIteratorMethod = require_get_iterator_method(); var $Array2 = Array; module.exports = function from2(arrayLike) { var O = toObject6(arrayLike); var IS_CONSTRUCTOR = isConstructor2(this); var argumentsLength = arguments.length; var mapfn = argumentsLength > 1 ? arguments[1] : void 0; var mapping = mapfn !== void 0; if (mapping) mapfn = bind2(mapfn, argumentsLength > 2 ? arguments[2] : void 0); var iteratorMethod = getIteratorMethod(O); var index = 0; var length, result, step, iterator, next2, value; if (iteratorMethod && !(this === $Array2 && isArrayIteratorMethod(iteratorMethod))) { iterator = getIterator(O, iteratorMethod); next2 = iterator.next; result = IS_CONSTRUCTOR ? new this() : []; for (; !(step = call8(next2, iterator)).done; index++) { value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value; createProperty5(result, index, value); } } else { length = lengthOfArrayLike5(O); result = IS_CONSTRUCTOR ? new this(length) : $Array2(length); for (; length > index; index++) { value = mapping ? mapfn(O[index], index) : O[index]; createProperty5(result, index, value); } } result.length = index; return result; }; } }); // node_modules/core-js/internals/is-data-descriptor.js var require_is_data_descriptor = __commonJS({ "node_modules/core-js/internals/is-data-descriptor.js": function(exports, module) { var hasOwn5 = require_has_own_property(); module.exports = function(descriptor) { return descriptor !== void 0 && (hasOwn5(descriptor, "value") || hasOwn5(descriptor, "writable")); }; } }); // node_modules/core-js/internals/object-to-array.js var require_object_to_array = __commonJS({ "node_modules/core-js/internals/object-to-array.js": function(exports, module) { var DESCRIPTORS10 = require_descriptors(); var uncurryThis15 = require_function_uncurry_this(); var objectKeys = require_object_keys(); var toIndexedObject5 = require_to_indexed_object(); var $propertyIsEnumerable = require_object_property_is_enumerable().f; var propertyIsEnumerable = uncurryThis15($propertyIsEnumerable); var push4 = uncurryThis15([].push); var createMethod = function(TO_ENTRIES) { return function(it) { var O = toIndexedObject5(it); var keys2 = objectKeys(O); var length = keys2.length; var i5 = 0; var result = []; var key; while (length > i5) { key = keys2[i5++]; if (!DESCRIPTORS10 || propertyIsEnumerable(O, key)) { push4(result, TO_ENTRIES ? [key, O[key]] : O[key]); } } return result; }; }; module.exports = { entries: createMethod(true), values: createMethod(false) }; } }); // node_modules/core-js/internals/freezing.js var require_freezing = __commonJS({ "node_modules/core-js/internals/freezing.js": function(exports, module) { var fails17 = require_fails(); module.exports = !fails17(function() { return Object.isExtensible(Object.preventExtensions({})); }); } }); // node_modules/core-js/internals/array-buffer-non-extensible.js var require_array_buffer_non_extensible = __commonJS({ "node_modules/core-js/internals/array-buffer-non-extensible.js": function(exports, module) { var fails17 = require_fails(); module.exports = fails17(function() { if (typeof ArrayBuffer == "function") { var buffer = new ArrayBuffer(8); if (Object.isExtensible(buffer)) Object.defineProperty(buffer, "a", { value: 8 }); } }); } }); // node_modules/core-js/internals/object-is-extensible.js var require_object_is_extensible = __commonJS({ "node_modules/core-js/internals/object-is-extensible.js": function(exports, module) { var fails17 = require_fails(); var isObject6 = require_is_object(); var classof2 = require_classof_raw(); var ARRAY_BUFFER_NON_EXTENSIBLE = require_array_buffer_non_extensible(); var $isExtensible = Object.isExtensible; var FAILS_ON_PRIMITIVES5 = fails17(function() { $isExtensible(1); }); module.exports = FAILS_ON_PRIMITIVES5 || ARRAY_BUFFER_NON_EXTENSIBLE ? function isExtensible(it) { if (!isObject6(it)) return false; if (ARRAY_BUFFER_NON_EXTENSIBLE && classof2(it) == "ArrayBuffer") return false; return $isExtensible ? $isExtensible(it) : true; } : $isExtensible; } }); // node_modules/core-js/internals/internal-metadata.js var require_internal_metadata = __commonJS({ "node_modules/core-js/internals/internal-metadata.js": function(exports, module) { var $88 = require_export(); var uncurryThis15 = require_function_uncurry_this(); var hiddenKeys = require_hidden_keys(); var isObject6 = require_is_object(); var hasOwn5 = require_has_own_property(); var defineProperty3 = require_object_define_property().f; var getOwnPropertyNamesModule = require_object_get_own_property_names(); var getOwnPropertyNamesExternalModule = require_object_get_own_property_names_external(); var isExtensible = require_object_is_extensible(); var uid = require_uid(); var FREEZING2 = require_freezing(); var REQUIRED = false; var METADATA = uid("meta"); var id = 0; var setMetadata = function(it) { defineProperty3(it, METADATA, { value: { objectID: "O" + id++, weakData: {} } }); }; var fastKey = function(it, create3) { if (!isObject6(it)) return typeof it == "symbol" ? it : (typeof it == "string" ? "S" : "P") + it; if (!hasOwn5(it, METADATA)) { if (!isExtensible(it)) return "F"; if (!create3) return "E"; setMetadata(it); } return it[METADATA].objectID; }; var getWeakData = function(it, create3) { if (!hasOwn5(it, METADATA)) { if (!isExtensible(it)) return true; if (!create3) return false; setMetadata(it); } return it[METADATA].weakData; }; var onFreeze2 = function(it) { if (FREEZING2 && REQUIRED && isExtensible(it) && !hasOwn5(it, METADATA)) setMetadata(it); return it; }; var enable = function() { meta.enable = function() { }; REQUIRED = true; var getOwnPropertyNames4 = getOwnPropertyNamesModule.f; var splice2 = uncurryThis15([].splice); var test2 = {}; test2[METADATA] = 1; if (getOwnPropertyNames4(test2).length) { getOwnPropertyNamesModule.f = function(it) { var result = getOwnPropertyNames4(it); for (var i5 = 0, length = result.length; i5 < length; i5++) { if (result[i5] === METADATA) { splice2(result, i5, 1); break; } } return result; }; $88({ target: "Object", stat: true, forced: true }, { getOwnPropertyNames: getOwnPropertyNamesExternalModule.f }); } }; var meta = module.exports = { enable: enable, fastKey: fastKey, getWeakData: getWeakData, onFreeze: onFreeze2 }; hiddenKeys[METADATA] = true; } }); // node_modules/core-js/internals/collection.js var require_collection = __commonJS({ "node_modules/core-js/internals/collection.js": function(exports, module) { "use strict"; var $88 = require_export(); var global11 = require_global(); var uncurryThis15 = require_function_uncurry_this(); var isForced3 = require_is_forced(); var defineBuiltIn6 = require_define_built_in(); var InternalMetadataModule = require_internal_metadata(); var iterate2 = require_iterate(); var anInstance = require_an_instance(); var isCallable5 = require_is_callable(); var isNullOrUndefined5 = require_is_null_or_undefined(); var isObject6 = require_is_object(); var fails17 = require_fails(); var checkCorrectnessOfIteration2 = require_check_correctness_of_iteration(); var setToStringTag5 = require_set_to_string_tag(); var inheritIfRequired3 = require_inherit_if_required(); module.exports = function(CONSTRUCTOR_NAME, wrapper, common) { var IS_MAP = CONSTRUCTOR_NAME.indexOf("Map") !== -1; var IS_WEAK = CONSTRUCTOR_NAME.indexOf("Weak") !== -1; var ADDER = IS_MAP ? "set" : "add"; var NativeConstructor = global11[CONSTRUCTOR_NAME]; var NativePrototype = NativeConstructor && NativeConstructor.prototype; var Constructor = NativeConstructor; var exported = {}; var fixMethod = function(KEY) { var uncurriedNativeMethod = uncurryThis15(NativePrototype[KEY]); defineBuiltIn6( NativePrototype, KEY, KEY == "add" ? function add(value) { uncurriedNativeMethod(this, value === 0 ? 0 : value); return this; } : KEY == "delete" ? function(key) { return IS_WEAK && !isObject6(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key); } : KEY == "get" ? function get3(key) { return IS_WEAK && !isObject6(key) ? void 0 : uncurriedNativeMethod(this, key === 0 ? 0 : key); } : KEY == "has" ? function has(key) { return IS_WEAK && !isObject6(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key); } : function set(key, value) { uncurriedNativeMethod(this, key === 0 ? 0 : key, value); return this; } ); }; var REPLACE2 = isForced3( CONSTRUCTOR_NAME, !isCallable5(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails17(function() { new NativeConstructor().entries().next(); })) ); if (REPLACE2) { Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER); InternalMetadataModule.enable(); } else if (isForced3(CONSTRUCTOR_NAME, true)) { var instance = new Constructor(); var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; var THROWS_ON_PRIMITIVES = fails17(function() { instance.has(1); }); var ACCEPT_ITERABLES = checkCorrectnessOfIteration2(function(iterable) { new NativeConstructor(iterable); }); var BUGGY_ZERO = !IS_WEAK && fails17(function() { var $instance = new NativeConstructor(); var index = 5; while (index--) $instance[ADDER](index, index); return !$instance.has(-0); }); if (!ACCEPT_ITERABLES) { Constructor = wrapper(function(dummy, iterable) { anInstance(dummy, NativePrototype); var that = inheritIfRequired3(new NativeConstructor(), dummy, Constructor); if (!isNullOrUndefined5(iterable)) iterate2(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); return that; }); Constructor.prototype = NativePrototype; NativePrototype.constructor = Constructor; } if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { fixMethod("delete"); fixMethod("has"); IS_MAP && fixMethod("get"); } if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear; } exported[CONSTRUCTOR_NAME] = Constructor; $88({ global: true, constructor: true, forced: Constructor != NativeConstructor }, exported); setToStringTag5(Constructor, CONSTRUCTOR_NAME); if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP); return Constructor; }; } }); // node_modules/core-js/internals/define-built-ins.js var require_define_built_ins = __commonJS({ "node_modules/core-js/internals/define-built-ins.js": function(exports, module) { var defineBuiltIn6 = require_define_built_in(); module.exports = function(target, src, options) { for (var key in src) defineBuiltIn6(target, key, src[key], options); return target; }; } }); // node_modules/core-js/internals/collection-strong.js var require_collection_strong = __commonJS({ "node_modules/core-js/internals/collection-strong.js": function(exports, module) { "use strict"; var create3 = require_object_create(); var defineBuiltInAccessor4 = require_define_built_in_accessor(); var defineBuiltIns = require_define_built_ins(); var bind2 = require_function_bind_context(); var anInstance = require_an_instance(); var isNullOrUndefined5 = require_is_null_or_undefined(); var iterate2 = require_iterate(); var defineIterator2 = require_iterator_define(); var createIterResultObject2 = require_create_iter_result_object(); var setSpecies3 = require_set_species(); var DESCRIPTORS10 = require_descriptors(); var fastKey = require_internal_metadata().fastKey; var InternalStateModule2 = require_internal_state(); var setInternalState2 = InternalStateModule2.set; var internalStateGetterFor = InternalStateModule2.getterFor; module.exports = { getConstructor: function(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { var Constructor = wrapper(function(that, iterable) { anInstance(that, Prototype); setInternalState2(that, { type: CONSTRUCTOR_NAME, index: create3(null), first: void 0, last: void 0, size: 0 }); if (!DESCRIPTORS10) that.size = 0; if (!isNullOrUndefined5(iterable)) iterate2(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); }); var Prototype = Constructor.prototype; var getInternalState3 = internalStateGetterFor(CONSTRUCTOR_NAME); var define = function(that, key, value) { var state = getInternalState3(that); var entry = getEntry(that, key); var previous, index; if (entry) { entry.value = value; } else { state.last = entry = { index: index = fastKey(key, true), key: key, value: value, previous: previous = state.last, next: void 0, removed: false }; if (!state.first) state.first = entry; if (previous) previous.next = entry; if (DESCRIPTORS10) state.size++; else that.size++; if (index !== "F") state.index[index] = entry; } return that; }; var getEntry = function(that, key) { var state = getInternalState3(that); var index = fastKey(key); var entry; if (index !== "F") return state.index[index]; for (entry = state.first; entry; entry = entry.next) { if (entry.key == key) return entry; } }; defineBuiltIns(Prototype, { clear: function clear() { var that = this; var state = getInternalState3(that); var data = state.index; var entry = state.first; while (entry) { entry.removed = true; if (entry.previous) entry.previous = entry.previous.next = void 0; delete data[entry.index]; entry = entry.next; } state.first = state.last = void 0; if (DESCRIPTORS10) state.size = 0; else that.size = 0; }, "delete": function(key) { var that = this; var state = getInternalState3(that); var entry = getEntry(that, key); if (entry) { var next2 = entry.next; var prev = entry.previous; delete state.index[entry.index]; entry.removed = true; if (prev) prev.next = next2; if (next2) next2.previous = prev; if (state.first == entry) state.first = next2; if (state.last == entry) state.last = prev; if (DESCRIPTORS10) state.size--; else that.size--; } return !!entry; }, forEach: function forEach3(callbackfn) { var state = getInternalState3(this); var boundFunction = bind2(callbackfn, arguments.length > 1 ? arguments[1] : void 0); var entry; while (entry = entry ? entry.next : state.first) { boundFunction(entry.value, entry.key, this); while (entry && entry.removed) entry = entry.previous; } }, has: function has(key) { return !!getEntry(this, key); } }); defineBuiltIns(Prototype, IS_MAP ? { get: function get3(key) { var entry = getEntry(this, key); return entry && entry.value; }, set: function set(key, value) { return define(this, key === 0 ? 0 : key, value); } } : { add: function add(value) { return define(this, value = value === 0 ? 0 : value, value); } }); if (DESCRIPTORS10) defineBuiltInAccessor4(Prototype, "size", { configurable: true, get: function() { return getInternalState3(this).size; } }); return Constructor; }, setStrong: function(Constructor, CONSTRUCTOR_NAME, IS_MAP) { var ITERATOR_NAME = CONSTRUCTOR_NAME + " Iterator"; var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME); var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME); defineIterator2(Constructor, CONSTRUCTOR_NAME, function(iterated, kind) { setInternalState2(this, { type: ITERATOR_NAME, target: iterated, state: getInternalCollectionState(iterated), kind: kind, last: void 0 }); }, function() { var state = getInternalIteratorState(this); var kind = state.kind; var entry = state.last; while (entry && entry.removed) entry = entry.previous; if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) { state.target = void 0; return createIterResultObject2(void 0, true); } if (kind == "keys") return createIterResultObject2(entry.key, false); if (kind == "values") return createIterResultObject2(entry.value, false); return createIterResultObject2([entry.key, entry.value], false); }, IS_MAP ? "entries" : "values", !IS_MAP, true); setSpecies3(CONSTRUCTOR_NAME); } }; } }); // node_modules/core-js/modules/es.map.constructor.js var require_es_map_constructor = __commonJS({ "node_modules/core-js/modules/es.map.constructor.js": function() { "use strict"; var collection = require_collection(); var collectionStrong = require_collection_strong(); collection("Map", function(init2) { return function Map2() { return init2(this, arguments.length ? arguments[0] : void 0); }; }, collectionStrong); } }); // node_modules/core-js/internals/collection-weak.js var require_collection_weak = __commonJS({ "node_modules/core-js/internals/collection-weak.js": function(exports, module) { "use strict"; var uncurryThis15 = require_function_uncurry_this(); var defineBuiltIns = require_define_built_ins(); var getWeakData = require_internal_metadata().getWeakData; var anInstance = require_an_instance(); var anObject10 = require_an_object(); var isNullOrUndefined5 = require_is_null_or_undefined(); var isObject6 = require_is_object(); var iterate2 = require_iterate(); var ArrayIterationModule = require_array_iteration(); var hasOwn5 = require_has_own_property(); var InternalStateModule2 = require_internal_state(); var setInternalState2 = InternalStateModule2.set; var internalStateGetterFor = InternalStateModule2.getterFor; var find2 = ArrayIterationModule.find; var findIndex = ArrayIterationModule.findIndex; var splice2 = uncurryThis15([].splice); var id = 0; var uncaughtFrozenStore = function(state) { return state.frozen || (state.frozen = new UncaughtFrozenStore()); }; var UncaughtFrozenStore = function() { this.entries = []; }; var findUncaughtFrozen = function(store, key) { return find2(store.entries, function(it) { return it[0] === key; }); }; UncaughtFrozenStore.prototype = { get: function(key) { var entry = findUncaughtFrozen(this, key); if (entry) return entry[1]; }, has: function(key) { return !!findUncaughtFrozen(this, key); }, set: function(key, value) { var entry = findUncaughtFrozen(this, key); if (entry) entry[1] = value; else this.entries.push([key, value]); }, "delete": function(key) { var index = findIndex(this.entries, function(it) { return it[0] === key; }); if (~index) splice2(this.entries, index, 1); return !!~index; } }; module.exports = { getConstructor: function(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { var Constructor = wrapper(function(that, iterable) { anInstance(that, Prototype); setInternalState2(that, { type: CONSTRUCTOR_NAME, id: id++, frozen: void 0 }); if (!isNullOrUndefined5(iterable)) iterate2(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); }); var Prototype = Constructor.prototype; var getInternalState3 = internalStateGetterFor(CONSTRUCTOR_NAME); var define = function(that, key, value) { var state = getInternalState3(that); var data = getWeakData(anObject10(key), true); if (data === true) uncaughtFrozenStore(state).set(key, value); else data[state.id] = value; return that; }; defineBuiltIns(Prototype, { "delete": function(key) { var state = getInternalState3(this); if (!isObject6(key)) return false; var data = getWeakData(key); if (data === true) return uncaughtFrozenStore(state)["delete"](key); return data && hasOwn5(data, state.id) && delete data[state.id]; }, has: function has(key) { var state = getInternalState3(this); if (!isObject6(key)) return false; var data = getWeakData(key); if (data === true) return uncaughtFrozenStore(state).has(key); return data && hasOwn5(data, state.id); } }); defineBuiltIns(Prototype, IS_MAP ? { get: function get3(key) { var state = getInternalState3(this); if (isObject6(key)) { var data = getWeakData(key); if (data === true) return uncaughtFrozenStore(state).get(key); return data ? data[state.id] : void 0; } }, set: function set(key, value) { return define(this, key, value); } } : { add: function add(value) { return define(this, value, true); } }); return Constructor; } }; } }); // node_modules/core-js/modules/es.weak-map.constructor.js var require_es_weak_map_constructor = __commonJS({ "node_modules/core-js/modules/es.weak-map.constructor.js": function() { "use strict"; var FREEZING2 = require_freezing(); var global11 = require_global(); var uncurryThis15 = require_function_uncurry_this(); var defineBuiltIns = require_define_built_ins(); var InternalMetadataModule = require_internal_metadata(); var collection = require_collection(); var collectionWeak = require_collection_weak(); var isObject6 = require_is_object(); var enforceInternalState2 = require_internal_state().enforce; var fails17 = require_fails(); var NATIVE_WEAK_MAP = require_weak_map_basic_detection(); var $Object = Object; var isArray4 = Array.isArray; var isExtensible = $Object.isExtensible; var isFrozen = $Object.isFrozen; var isSealed = $Object.isSealed; var freeze2 = $Object.freeze; var seal = $Object.seal; var FROZEN = {}; var SEALED = {}; var IS_IE11 = !global11.ActiveXObject && "ActiveXObject" in global11; var InternalWeakMap; var wrapper = function(init2) { return function WeakMap2() { return init2(this, arguments.length ? arguments[0] : void 0); }; }; var $WeakMap = collection("WeakMap", wrapper, collectionWeak); var WeakMapPrototype = $WeakMap.prototype; var nativeSet = uncurryThis15(WeakMapPrototype.set); var hasMSEdgeFreezingBug = function() { return FREEZING2 && fails17(function() { var frozenArray = freeze2([]); nativeSet(new $WeakMap(), frozenArray, 1); return !isFrozen(frozenArray); }); }; if (NATIVE_WEAK_MAP) { if (IS_IE11) { InternalWeakMap = collectionWeak.getConstructor(wrapper, "WeakMap", true); InternalMetadataModule.enable(); nativeDelete = uncurryThis15(WeakMapPrototype["delete"]); nativeHas = uncurryThis15(WeakMapPrototype.has); nativeGet = uncurryThis15(WeakMapPrototype.get); defineBuiltIns(WeakMapPrototype, { "delete": function(key) { if (isObject6(key) && !isExtensible(key)) { var state = enforceInternalState2(this); if (!state.frozen) state.frozen = new InternalWeakMap(); return nativeDelete(this, key) || state.frozen["delete"](key); } return nativeDelete(this, key); }, has: function has(key) { if (isObject6(key) && !isExtensible(key)) { var state = enforceInternalState2(this); if (!state.frozen) state.frozen = new InternalWeakMap(); return nativeHas(this, key) || state.frozen.has(key); } return nativeHas(this, key); }, get: function get3(key) { if (isObject6(key) && !isExtensible(key)) { var state = enforceInternalState2(this); if (!state.frozen) state.frozen = new InternalWeakMap(); return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key); } return nativeGet(this, key); }, set: function set(key, value) { if (isObject6(key) && !isExtensible(key)) { var state = enforceInternalState2(this); if (!state.frozen) state.frozen = new InternalWeakMap(); nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value); } else nativeSet(this, key, value); return this; } }); } else if (hasMSEdgeFreezingBug()) { defineBuiltIns(WeakMapPrototype, { set: function set(key, value) { var arrayIntegrityLevel; if (isArray4(key)) { if (isFrozen(key)) arrayIntegrityLevel = FROZEN; else if (isSealed(key)) arrayIntegrityLevel = SEALED; } nativeSet(this, key, value); if (arrayIntegrityLevel == FROZEN) freeze2(key); if (arrayIntegrityLevel == SEALED) seal(key); return this; } }); } } var nativeDelete; var nativeHas; var nativeGet; } }); // node_modules/core-js/modules/es.set.constructor.js var require_es_set_constructor = __commonJS({ "node_modules/core-js/modules/es.set.constructor.js": function() { "use strict"; var collection = require_collection(); var collectionStrong = require_collection_strong(); collection("Set", function(init2) { return function Set2() { return init2(this, arguments.length ? arguments[0] : void 0); }; }, collectionStrong); } }); // node_modules/core-js/internals/flatten-into-array.js var require_flatten_into_array = __commonJS({ "node_modules/core-js/internals/flatten-into-array.js": function(exports, module) { "use strict"; var isArray4 = require_is_array(); var lengthOfArrayLike5 = require_length_of_array_like(); var doesNotExceedSafeInteger3 = require_does_not_exceed_safe_integer(); var bind2 = require_function_bind_context(); var flattenIntoArray2 = function(target, original, source, sourceLen, start, depth, mapper, thisArg) { var targetIndex = start; var sourceIndex = 0; var mapFn = mapper ? bind2(mapper, thisArg) : false; var element, elementLen; while (sourceIndex < sourceLen) { if (sourceIndex in source) { element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; if (depth > 0 && isArray4(element)) { elementLen = lengthOfArrayLike5(element); targetIndex = flattenIntoArray2(target, original, element, elementLen, targetIndex, depth - 1) - 1; } else { doesNotExceedSafeInteger3(targetIndex + 1); target[targetIndex] = element; } targetIndex++; } sourceIndex++; } return targetIndex; }; module.exports = flattenIntoArray2; } }); // node_modules/core-js/internals/array-reduce.js var require_array_reduce = __commonJS({ "node_modules/core-js/internals/array-reduce.js": function(exports, module) { var aCallable2 = require_a_callable(); var toObject6 = require_to_object(); var IndexedObject2 = require_indexed_object(); var lengthOfArrayLike5 = require_length_of_array_like(); var $TypeError2 = TypeError; var createMethod = function(IS_RIGHT) { return function(that, callbackfn, argumentsLength, memo) { aCallable2(callbackfn); var O = toObject6(that); var self2 = IndexedObject2(O); var length = lengthOfArrayLike5(O); var index = IS_RIGHT ? length - 1 : 0; var i5 = IS_RIGHT ? -1 : 1; if (argumentsLength < 2) while (true) { if (index in self2) { memo = self2[index]; index += i5; break; } index += i5; if (IS_RIGHT ? index < 0 : length <= index) { throw $TypeError2("Reduce of empty array with no initial value"); } } for (; IS_RIGHT ? index >= 0 : length > index; index += i5) if (index in self2) { memo = callbackfn(memo, self2[index], index, O); } return memo; }; }; module.exports = { left: createMethod(false), right: createMethod(true) }; } }); // node_modules/core-js/internals/proxy-accessor.js var require_proxy_accessor = __commonJS({ "node_modules/core-js/internals/proxy-accessor.js": function(exports, module) { var defineProperty3 = require_object_define_property().f; module.exports = function(Target, Source, key) { key in Target || defineProperty3(Target, key, { configurable: true, get: function() { return Source[key]; }, set: function(it) { Source[key] = it; } }); }; } }); // node_modules/core-js/internals/not-a-regexp.js var require_not_a_regexp = __commonJS({ "node_modules/core-js/internals/not-a-regexp.js": function(exports, module) { var isRegExp3 = require_is_regexp(); var $TypeError2 = TypeError; module.exports = function(it) { if (isRegExp3(it)) { throw $TypeError2("The method doesn't accept regular expressions"); } return it; }; } }); // node_modules/core-js/internals/correct-is-regexp-logic.js var require_correct_is_regexp_logic = __commonJS({ "node_modules/core-js/internals/correct-is-regexp-logic.js": function(exports, module) { var wellKnownSymbol7 = require_well_known_symbol(); var MATCH2 = wellKnownSymbol7("match"); module.exports = function(METHOD_NAME) { var regexp = /./; try { "/./"[METHOD_NAME](regexp); } catch (error1) { try { regexp[MATCH2] = false; return "/./"[METHOD_NAME](regexp); } catch (error2) { } } return false; }; } }); // node_modules/core-js/internals/array-fill.js var require_array_fill = __commonJS({ "node_modules/core-js/internals/array-fill.js": function(exports, module) { "use strict"; var toObject6 = require_to_object(); var toAbsoluteIndex4 = require_to_absolute_index(); var lengthOfArrayLike5 = require_length_of_array_like(); module.exports = function fill2(value) { var O = toObject6(this); var length = lengthOfArrayLike5(O); var argumentsLength = arguments.length; var index = toAbsoluteIndex4(argumentsLength > 1 ? arguments[1] : void 0, length); var end = argumentsLength > 2 ? arguments[2] : void 0; var endPos = end === void 0 ? length : toAbsoluteIndex4(end, length); while (endPos > index) O[index++] = value; return O; }; } }); // node_modules/core-js/internals/array-buffer-basic-detection.js var require_array_buffer_basic_detection = __commonJS({ "node_modules/core-js/internals/array-buffer-basic-detection.js": function(exports, module) { module.exports = typeof ArrayBuffer != "undefined" && typeof DataView != "undefined"; } }); // node_modules/core-js/internals/to-index.js var require_to_index = __commonJS({ "node_modules/core-js/internals/to-index.js": function(exports, module) { var toIntegerOrInfinity4 = require_to_integer_or_infinity(); var toLength7 = require_to_length(); var $RangeError = RangeError; module.exports = function(it) { if (it === void 0) return 0; var number = toIntegerOrInfinity4(it); var length = toLength7(number); if (number !== length) throw $RangeError("Wrong length or index"); return length; }; } }); // node_modules/core-js/internals/ieee754.js var require_ieee754 = __commonJS({ "node_modules/core-js/internals/ieee754.js": function(exports, module) { var $Array2 = Array; var abs = Math.abs; var pow = Math.pow; var floor = Math.floor; var log = Math.log; var LN2 = Math.LN2; var pack = function(number, mantissaLength, bytes) { var buffer = $Array2(bytes); var exponentLength = bytes * 8 - mantissaLength - 1; var eMax = (1 << exponentLength) - 1; var eBias = eMax >> 1; var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0; var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0; var index = 0; var exponent, mantissa, c5; number = abs(number); if (number != number || number === Infinity) { mantissa = number != number ? 1 : 0; exponent = eMax; } else { exponent = floor(log(number) / LN2); c5 = pow(2, -exponent); if (number * c5 < 1) { exponent--; c5 *= 2; } if (exponent + eBias >= 1) { number += rt / c5; } else { number += rt * pow(2, 1 - eBias); } if (number * c5 >= 2) { exponent++; c5 /= 2; } if (exponent + eBias >= eMax) { mantissa = 0; exponent = eMax; } else if (exponent + eBias >= 1) { mantissa = (number * c5 - 1) * pow(2, mantissaLength); exponent = exponent + eBias; } else { mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength); exponent = 0; } } while (mantissaLength >= 8) { buffer[index++] = mantissa & 255; mantissa /= 256; mantissaLength -= 8; } exponent = exponent << mantissaLength | mantissa; exponentLength += mantissaLength; while (exponentLength > 0) { buffer[index++] = exponent & 255; exponent /= 256; exponentLength -= 8; } buffer[--index] |= sign * 128; return buffer; }; var unpack = function(buffer, mantissaLength) { var bytes = buffer.length; var exponentLength = bytes * 8 - mantissaLength - 1; var eMax = (1 << exponentLength) - 1; var eBias = eMax >> 1; var nBits = exponentLength - 7; var index = bytes - 1; var sign = buffer[index--]; var exponent = sign & 127; var mantissa; sign >>= 7; while (nBits > 0) { exponent = exponent * 256 + buffer[index--]; nBits -= 8; } mantissa = exponent & (1 << -nBits) - 1; exponent >>= -nBits; nBits += mantissaLength; while (nBits > 0) { mantissa = mantissa * 256 + buffer[index--]; nBits -= 8; } if (exponent === 0) { exponent = 1 - eBias; } else if (exponent === eMax) { return mantissa ? NaN : sign ? -Infinity : Infinity; } else { mantissa = mantissa + pow(2, mantissaLength); exponent = exponent - eBias; } return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength); }; module.exports = { pack: pack, unpack: unpack }; } }); // node_modules/core-js/internals/array-buffer.js var require_array_buffer = __commonJS({ "node_modules/core-js/internals/array-buffer.js": function(exports, module) { "use strict"; var global11 = require_global(); var uncurryThis15 = require_function_uncurry_this(); var DESCRIPTORS10 = require_descriptors(); var NATIVE_ARRAY_BUFFER = require_array_buffer_basic_detection(); var FunctionName = require_function_name(); var createNonEnumerableProperty4 = require_create_non_enumerable_property(); var defineBuiltInAccessor4 = require_define_built_in_accessor(); var defineBuiltIns = require_define_built_ins(); var fails17 = require_fails(); var anInstance = require_an_instance(); var toIntegerOrInfinity4 = require_to_integer_or_infinity(); var toLength7 = require_to_length(); var toIndex = require_to_index(); var IEEE754 = require_ieee754(); var getPrototypeOf3 = require_object_get_prototype_of(); var setPrototypeOf2 = require_object_set_prototype_of(); var getOwnPropertyNames4 = require_object_get_own_property_names().f; var arrayFill = require_array_fill(); var arraySlice2 = require_array_slice_simple(); var setToStringTag5 = require_set_to_string_tag(); var InternalStateModule2 = require_internal_state(); var PROPER_FUNCTION_NAME2 = FunctionName.PROPER; var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; var ARRAY_BUFFER2 = "ArrayBuffer"; var DATA_VIEW = "DataView"; var PROTOTYPE = "prototype"; var WRONG_LENGTH = "Wrong length"; var WRONG_INDEX = "Wrong index"; var getInternalArrayBufferState = InternalStateModule2.getterFor(ARRAY_BUFFER2); var getInternalDataViewState = InternalStateModule2.getterFor(DATA_VIEW); var setInternalState2 = InternalStateModule2.set; var NativeArrayBuffer2 = global11[ARRAY_BUFFER2]; var $ArrayBuffer = NativeArrayBuffer2; var ArrayBufferPrototype = $ArrayBuffer && $ArrayBuffer[PROTOTYPE]; var $DataView = global11[DATA_VIEW]; var DataViewPrototype2 = $DataView && $DataView[PROTOTYPE]; var ObjectPrototype2 = Object.prototype; var Array2 = global11.Array; var RangeError2 = global11.RangeError; var fill2 = uncurryThis15(arrayFill); var reverse2 = uncurryThis15([].reverse); var packIEEE754 = IEEE754.pack; var unpackIEEE754 = IEEE754.unpack; var packInt8 = function(number) { return [number & 255]; }; var packInt16 = function(number) { return [number & 255, number >> 8 & 255]; }; var packInt32 = function(number) { return [number & 255, number >> 8 & 255, number >> 16 & 255, number >> 24 & 255]; }; var unpackInt32 = function(buffer) { return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0]; }; var packFloat32 = function(number) { return packIEEE754(number, 23, 4); }; var packFloat64 = function(number) { return packIEEE754(number, 52, 8); }; var addGetter = function(Constructor, key2, getInternalState3) { defineBuiltInAccessor4(Constructor[PROTOTYPE], key2, { configurable: true, get: function() { return getInternalState3(this)[key2]; } }); }; var get3 = function(view, count, index, isLittleEndian) { var intIndex = toIndex(index); var store = getInternalDataViewState(view); if (intIndex + count > store.byteLength) throw RangeError2(WRONG_INDEX); var bytes = store.bytes; var start = intIndex + store.byteOffset; var pack = arraySlice2(bytes, start, start + count); return isLittleEndian ? pack : reverse2(pack); }; var set = function(view, count, index, conversion, value, isLittleEndian) { var intIndex = toIndex(index); var store = getInternalDataViewState(view); if (intIndex + count > store.byteLength) throw RangeError2(WRONG_INDEX); var bytes = store.bytes; var start = intIndex + store.byteOffset; var pack = conversion(+value); for (var i5 = 0; i5 < count; i5++) bytes[start + i5] = pack[isLittleEndian ? i5 : count - i5 - 1]; }; if (!NATIVE_ARRAY_BUFFER) { $ArrayBuffer = function ArrayBuffer4(length) { anInstance(this, ArrayBufferPrototype); var byteLength = toIndex(length); setInternalState2(this, { type: ARRAY_BUFFER2, bytes: fill2(Array2(byteLength), 0), byteLength: byteLength }); if (!DESCRIPTORS10) { this.byteLength = byteLength; this.detached = false; } }; ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE]; $DataView = function DataView3(buffer, byteOffset, byteLength) { anInstance(this, DataViewPrototype2); anInstance(buffer, ArrayBufferPrototype); var bufferState = getInternalArrayBufferState(buffer); var bufferLength = bufferState.byteLength; var offset = toIntegerOrInfinity4(byteOffset); if (offset < 0 || offset > bufferLength) throw RangeError2("Wrong offset"); byteLength = byteLength === void 0 ? bufferLength - offset : toLength7(byteLength); if (offset + byteLength > bufferLength) throw RangeError2(WRONG_LENGTH); setInternalState2(this, { type: DATA_VIEW, buffer: buffer, byteLength: byteLength, byteOffset: offset, bytes: bufferState.bytes }); if (!DESCRIPTORS10) { this.buffer = buffer; this.byteLength = byteLength; this.byteOffset = offset; } }; DataViewPrototype2 = $DataView[PROTOTYPE]; if (DESCRIPTORS10) { addGetter($ArrayBuffer, "byteLength", getInternalArrayBufferState); addGetter($DataView, "buffer", getInternalDataViewState); addGetter($DataView, "byteLength", getInternalDataViewState); addGetter($DataView, "byteOffset", getInternalDataViewState); } defineBuiltIns(DataViewPrototype2, { getInt8: function getInt8(byteOffset) { return get3(this, 1, byteOffset)[0] << 24 >> 24; }, getUint8: function getUint82(byteOffset) { return get3(this, 1, byteOffset)[0]; }, getInt16: function getInt16(byteOffset) { var bytes = get3(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : void 0); return (bytes[1] << 8 | bytes[0]) << 16 >> 16; }, getUint16: function getUint16(byteOffset) { var bytes = get3(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : void 0); return bytes[1] << 8 | bytes[0]; }, getInt32: function getInt32(byteOffset) { return unpackInt32(get3(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : void 0)); }, getUint32: function getUint32(byteOffset) { return unpackInt32(get3(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : void 0)) >>> 0; }, getFloat32: function getFloat32(byteOffset) { return unpackIEEE754(get3(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : void 0), 23); }, getFloat64: function getFloat64(byteOffset) { return unpackIEEE754(get3(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : void 0), 52); }, setInt8: function setInt8(byteOffset, value) { set(this, 1, byteOffset, packInt8, value); }, setUint8: function setUint82(byteOffset, value) { set(this, 1, byteOffset, packInt8, value); }, setInt16: function setInt16(byteOffset, value) { set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : void 0); }, setUint16: function setUint16(byteOffset, value) { set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : void 0); }, setInt32: function setInt32(byteOffset, value) { set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : void 0); }, setUint32: function setUint32(byteOffset, value) { set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : void 0); }, setFloat32: function setFloat32(byteOffset, value) { set(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : void 0); }, setFloat64: function setFloat64(byteOffset, value) { set(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : void 0); } }); } else { INCORRECT_ARRAY_BUFFER_NAME = PROPER_FUNCTION_NAME2 && NativeArrayBuffer2.name !== ARRAY_BUFFER2; if (!fails17(function() { NativeArrayBuffer2(1); }) || !fails17(function() { new NativeArrayBuffer2(-1); }) || fails17(function() { new NativeArrayBuffer2(); new NativeArrayBuffer2(1.5); new NativeArrayBuffer2(NaN); return NativeArrayBuffer2.length != 1 || INCORRECT_ARRAY_BUFFER_NAME && !CONFIGURABLE_FUNCTION_NAME; })) { $ArrayBuffer = function ArrayBuffer4(length) { anInstance(this, ArrayBufferPrototype); return new NativeArrayBuffer2(toIndex(length)); }; $ArrayBuffer[PROTOTYPE] = ArrayBufferPrototype; for (keys2 = getOwnPropertyNames4(NativeArrayBuffer2), j3 = 0; keys2.length > j3; ) { if (!((key = keys2[j3++]) in $ArrayBuffer)) { createNonEnumerableProperty4($ArrayBuffer, key, NativeArrayBuffer2[key]); } } ArrayBufferPrototype.constructor = $ArrayBuffer; } else if (INCORRECT_ARRAY_BUFFER_NAME && CONFIGURABLE_FUNCTION_NAME) { createNonEnumerableProperty4(NativeArrayBuffer2, "name", ARRAY_BUFFER2); } if (setPrototypeOf2 && getPrototypeOf3(DataViewPrototype2) !== ObjectPrototype2) { setPrototypeOf2(DataViewPrototype2, ObjectPrototype2); } testView = new $DataView(new $ArrayBuffer(2)); $setInt8 = uncurryThis15(DataViewPrototype2.setInt8); testView.setInt8(0, 2147483648); testView.setInt8(1, 2147483649); if (testView.getInt8(0) || !testView.getInt8(1)) defineBuiltIns(DataViewPrototype2, { setInt8: function setInt8(byteOffset, value) { $setInt8(this, byteOffset, value << 24 >> 24); }, setUint8: function setUint82(byteOffset, value) { $setInt8(this, byteOffset, value << 24 >> 24); } }, { unsafe: true }); } var INCORRECT_ARRAY_BUFFER_NAME; var keys2; var j3; var key; var testView; var $setInt8; setToStringTag5($ArrayBuffer, ARRAY_BUFFER2); setToStringTag5($DataView, DATA_VIEW); module.exports = { ArrayBuffer: $ArrayBuffer, DataView: $DataView }; } }); // node_modules/core-js/modules/es.data-view.constructor.js var require_es_data_view_constructor = __commonJS({ "node_modules/core-js/modules/es.data-view.constructor.js": function() { var $88 = require_export(); var ArrayBufferModule2 = require_array_buffer(); var NATIVE_ARRAY_BUFFER = require_array_buffer_basic_detection(); $88({ global: true, constructor: true, forced: !NATIVE_ARRAY_BUFFER }, { DataView: ArrayBufferModule2.DataView }); } }); // node_modules/core-js/modules/es.weak-set.constructor.js var require_es_weak_set_constructor = __commonJS({ "node_modules/core-js/modules/es.weak-set.constructor.js": function() { "use strict"; var collection = require_collection(); var collectionWeak = require_collection_weak(); collection("WeakSet", function(init2) { return function WeakSet2() { return init2(this, arguments.length ? arguments[0] : void 0); }; }, collectionWeak); } }); // node_modules/core-js/modules/es.array.index-of.js var $ = require_export(); var uncurryThis = require_function_uncurry_this_clause(); var $indexOf = require_array_includes().indexOf; var arrayMethodIsStrict = require_array_method_is_strict(); var nativeIndexOf = uncurryThis([].indexOf); var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0; var FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict("indexOf"); $({ target: "Array", proto: true, forced: FORCED }, { indexOf: function indexOf(searchElement) { var fromIndex = arguments.length > 1 ? arguments[1] : void 0; return NEGATIVE_ZERO ? nativeIndexOf(this, searchElement, fromIndex) || 0 : $indexOf(this, searchElement, fromIndex); } }); // node_modules/core-js/modules/es.parse-int.js var $2 = require_export(); var $parseInt = require_number_parse_int(); $2({ global: true, forced: parseInt != $parseInt }, { parseInt: $parseInt }); // srcts/src/initialize/browser.ts var import_es_regexp_exec = __toESM(require_es_regexp_exec()); // node_modules/core-js/modules/es.regexp.test.js require_es_regexp_exec(); var $3 = require_export(); var call = require_function_call(); var isCallable = require_is_callable(); var anObject = require_an_object(); var toString = require_to_string(); var DELEGATES_TO_EXEC = function() { var execCalled = false; var re = /[ac]/; re.exec = function() { execCalled = true; return /./.exec.apply(this, arguments); }; return re.test("abc") === true && execCalled; }(); var nativeTest = /./.test; $3({ target: "RegExp", proto: true, forced: !DELEGATES_TO_EXEC }, { test: function(S4) { var R2 = anObject(this); var string = toString(S4); var exec3 = R2.exec; if (!isCallable(exec3)) return call(nativeTest, R2, string); var result = call(exec3, R2, string); if (result === null) return false; anObject(result); return true; } }); // srcts/src/initialize/browser.ts var import_jquery = __toESM(require_jquery()); // srcts/src/utils/browser.ts var isQtVal = false; var isIEVal = false; var versionIE = -1; function setIsQt(isQt2) { isQtVal = isQt2; } function setIsIE(isIE2) { isIEVal = isIE2; } function setIEVersion(versionIE_) { versionIE = versionIE_; } function isQt() { return isQtVal; } function isIE() { return isIEVal; } function IEVersion() { return versionIE; } // srcts/src/utils/userAgent.ts var userAgent; function setUserAgent(userAgent_) { userAgent = userAgent_; } // srcts/src/initialize/browser.ts function getIEVersion() { var msie = userAgent.indexOf("MSIE "); if (isIE() && msie > 0) { return parseInt(userAgent.substring(msie + 5, userAgent.indexOf(".", msie)), 10); } var trident = userAgent.indexOf("Trident/"); if (trident > 0) { var rv = userAgent.indexOf("rv:"); return parseInt(userAgent.substring(rv + 3, userAgent.indexOf(".", rv)), 10); } return -1; } function determineBrowserInfo() { if (/\bQt\//.test(userAgent)) { (0, import_jquery.default)(document.documentElement).addClass("qt"); setIsQt(true); } else { setIsQt(false); } if (/\bQt/.test(userAgent) && /\bMacintosh/.test(userAgent)) { (0, import_jquery.default)(document.documentElement).addClass("qtmac"); } if (/\bQt\/5/.test(userAgent) && /Linux/.test(userAgent)) { (0, import_jquery.default)(document.documentElement).addClass("qt5"); } setIsIE(/MSIE|Trident|Edge/.test(userAgent)); setIEVersion(getIEVersion()); } // srcts/src/initialize/disableForm.ts var import_jquery2 = __toESM(require_jquery()); function disableFormSubmission() { (0, import_jquery2.default)(document).on("submit", "form:not([action])", function(e4) { e4.preventDefault(); }); } // srcts/src/initialize/history.ts var import_jquery3 = __toESM(require_jquery()); function trackHistory() { var origPushState = window.history.pushState; window.history.pushState = function() { for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } var result = origPushState.apply(this, args); (0, import_jquery3.default)(document).trigger("pushstate"); return result; }; } // node_modules/core-js/modules/es.array.find.js var $7 = require_export(); var $find = require_array_iteration().find; var addToUnscopables = require_add_to_unscopables(); var FIND = "find"; var SKIPS_HOLES = true; if (FIND in []) Array(1)[FIND](function() { SKIPS_HOLES = false; }); $7({ target: "Array", proto: true, forced: SKIPS_HOLES }, { find: function find(callbackfn) { return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); } }); addToUnscopables(FIND); // node_modules/core-js/modules/es.object.to-string.js var TO_STRING_TAG_SUPPORT = require_to_string_tag_support(); var defineBuiltIn = require_define_built_in(); var toString2 = require_object_to_string(); if (!TO_STRING_TAG_SUPPORT) { defineBuiltIn(Object.prototype, "toString", toString2, { unsafe: true }); } // srcts/src/shiny/index.ts var import_es_regexp_exec17 = __toESM(require_es_regexp_exec()); // node_modules/core-js/modules/es.string.match.js var call2 = require_function_call(); var fixRegExpWellKnownSymbolLogic = require_fix_regexp_well_known_symbol_logic(); var anObject2 = require_an_object(); var isNullOrUndefined = require_is_null_or_undefined(); var toLength = require_to_length(); var toString3 = require_to_string(); var requireObjectCoercible = require_require_object_coercible(); var getMethod = require_get_method(); var advanceStringIndex = require_advance_string_index(); var regExpExec = require_regexp_exec_abstract(); fixRegExpWellKnownSymbolLogic("match", function(MATCH2, nativeMatch, maybeCallNative) { return [ function match(regexp) { var O = requireObjectCoercible(this); var matcher = isNullOrUndefined(regexp) ? void 0 : getMethod(regexp, MATCH2); return matcher ? call2(matcher, regexp, O) : new RegExp(regexp)[MATCH2](toString3(O)); }, function(string) { var rx = anObject2(this); var S4 = toString3(string); var res = maybeCallNative(nativeMatch, rx, S4); if (res.done) return res.value; if (!rx.global) return regExpExec(rx, S4); var fullUnicode = rx.unicode; rx.lastIndex = 0; var A2 = []; var n4 = 0; var result; while ((result = regExpExec(rx, S4)) !== null) { var matchStr = toString3(result[0]); A2[n4] = matchStr; if (matchStr === "") rx.lastIndex = advanceStringIndex(S4, toLength(rx.lastIndex), fullUnicode); n4++; } return n4 === 0 ? null : A2; } ]; }); // node_modules/core-js/modules/es.parse-float.js var $8 = require_export(); var $parseFloat = require_number_parse_float(); $8({ global: true, forced: parseFloat != $parseFloat }, { parseFloat: $parseFloat }); // node_modules/core-js/modules/es.string.replace.js var apply = require_function_apply(); var call3 = require_function_call(); var uncurryThis2 = require_function_uncurry_this(); var fixRegExpWellKnownSymbolLogic2 = require_fix_regexp_well_known_symbol_logic(); var fails = require_fails(); var anObject3 = require_an_object(); var isCallable2 = require_is_callable(); var isNullOrUndefined2 = require_is_null_or_undefined(); var toIntegerOrInfinity = require_to_integer_or_infinity(); var toLength2 = require_to_length(); var toString4 = require_to_string(); var requireObjectCoercible2 = require_require_object_coercible(); var advanceStringIndex2 = require_advance_string_index(); var getMethod2 = require_get_method(); var getSubstitution = require_get_substitution(); var regExpExec2 = require_regexp_exec_abstract(); var wellKnownSymbol = require_well_known_symbol(); var REPLACE = wellKnownSymbol("replace"); var max = Math.max; var min = Math.min; var concat = uncurryThis2([].concat); var push = uncurryThis2([].push); var stringIndexOf = uncurryThis2("".indexOf); var stringSlice = uncurryThis2("".slice); var maybeToString = function(it) { return it === void 0 ? it : String(it); }; var REPLACE_KEEPS_$0 = function() { return "a".replace(/./, "$0") === "$0"; }(); var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = function() { if (/./[REPLACE]) { return /./[REPLACE]("a", "$0") === ""; } return false; }(); var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function() { var re = /./; re.exec = function() { var result = []; result.groups = { a: "7" }; return result; }; return "".replace(re, "$") !== "7"; }); fixRegExpWellKnownSymbolLogic2("replace", function(_2, nativeReplace, maybeCallNative) { var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? "$" : "$0"; return [ function replace2(searchValue, replaceValue) { var O = requireObjectCoercible2(this); var replacer = isNullOrUndefined2(searchValue) ? void 0 : getMethod2(searchValue, REPLACE); return replacer ? call3(replacer, searchValue, O, replaceValue) : call3(nativeReplace, toString4(O), searchValue, replaceValue); }, function(string, replaceValue) { var rx = anObject3(this); var S4 = toString4(string); if (typeof replaceValue == "string" && stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 && stringIndexOf(replaceValue, "$<") === -1) { var res = maybeCallNative(nativeReplace, rx, S4, replaceValue); if (res.done) return res.value; } var functionalReplace = isCallable2(replaceValue); if (!functionalReplace) replaceValue = toString4(replaceValue); var global11 = rx.global; if (global11) { var fullUnicode = rx.unicode; rx.lastIndex = 0; } var results = []; while (true) { var result = regExpExec2(rx, S4); if (result === null) break; push(results, result); if (!global11) break; var matchStr = toString4(result[0]); if (matchStr === "") rx.lastIndex = advanceStringIndex2(S4, toLength2(rx.lastIndex), fullUnicode); } var accumulatedResult = ""; var nextSourcePosition = 0; for (var i5 = 0; i5 < results.length; i5++) { result = results[i5]; var matched = toString4(result[0]); var position = max(min(toIntegerOrInfinity(result.index), S4.length), 0); var captures = []; for (var j3 = 1; j3 < result.length; j3++) push(captures, maybeToString(result[j3])); var namedCaptures = result.groups; if (functionalReplace) { var replacerArgs = concat([matched], captures, position, S4); if (namedCaptures !== void 0) push(replacerArgs, namedCaptures); var replacement = toString4(apply(replaceValue, void 0, replacerArgs)); } else { replacement = getSubstitution(matched, S4, position, captures, namedCaptures, replaceValue); } if (position >= nextSourcePosition) { accumulatedResult += stringSlice(S4, nextSourcePosition, position) + replacement; nextSourcePosition = position + matched.length; } } return accumulatedResult + stringSlice(S4, nextSourcePosition); } ]; }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE); // node_modules/core-js/modules/es.array.concat.js var $9 = require_export(); var fails2 = require_fails(); var isArray = require_is_array(); var isObject = require_is_object(); var toObject = require_to_object(); var lengthOfArrayLike = require_length_of_array_like(); var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer(); var createProperty = require_create_property(); var arraySpeciesCreate = require_array_species_create(); var arrayMethodHasSpeciesSupport = require_array_method_has_species_support(); var wellKnownSymbol2 = require_well_known_symbol(); var V8_VERSION = require_engine_v8_version(); var IS_CONCAT_SPREADABLE = wellKnownSymbol2("isConcatSpreadable"); var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails2(function() { var array = []; array[IS_CONCAT_SPREADABLE] = false; return array.concat()[0] !== array; }); var isConcatSpreadable = function(O) { if (!isObject(O)) return false; var spreadable = O[IS_CONCAT_SPREADABLE]; return spreadable !== void 0 ? !!spreadable : isArray(O); }; var FORCED2 = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport("concat"); $9({ target: "Array", proto: true, arity: 1, forced: FORCED2 }, { concat: function concat2(arg) { var O = toObject(this); var A2 = arraySpeciesCreate(O, 0); var n4 = 0; var i5, k2, length, len, E2; for (i5 = -1, length = arguments.length; i5 < length; i5++) { E2 = i5 === -1 ? O : arguments[i5]; if (isConcatSpreadable(E2)) { len = lengthOfArrayLike(E2); doesNotExceedSafeInteger(n4 + len); for (k2 = 0; k2 < len; k2++, n4++) if (k2 in E2) createProperty(A2, n4, E2[k2]); } else { doesNotExceedSafeInteger(n4 + 1); createProperty(A2, n4++, E2); } } A2.length = n4; return A2; } }); // node_modules/core-js/modules/es.string.search.js var call4 = require_function_call(); var fixRegExpWellKnownSymbolLogic3 = require_fix_regexp_well_known_symbol_logic(); var anObject4 = require_an_object(); var isNullOrUndefined3 = require_is_null_or_undefined(); var requireObjectCoercible3 = require_require_object_coercible(); var sameValue = require_same_value(); var toString5 = require_to_string(); var getMethod3 = require_get_method(); var regExpExec3 = require_regexp_exec_abstract(); fixRegExpWellKnownSymbolLogic3("search", function(SEARCH, nativeSearch, maybeCallNative) { return [ function search(regexp) { var O = requireObjectCoercible3(this); var searcher = isNullOrUndefined3(regexp) ? void 0 : getMethod3(regexp, SEARCH); return searcher ? call4(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString5(O)); }, function(string) { var rx = anObject4(this); var S4 = toString5(string); var res = maybeCallNative(nativeSearch, rx, S4); if (res.done) return res.value; var previousLastIndex = rx.lastIndex; if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; var result = regExpExec3(rx, S4); if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; return result === null ? -1 : result.index; } ]; }); // node_modules/core-js/modules/es.string.split.js var apply2 = require_function_apply(); var call5 = require_function_call(); var uncurryThis3 = require_function_uncurry_this(); var fixRegExpWellKnownSymbolLogic4 = require_fix_regexp_well_known_symbol_logic(); var anObject5 = require_an_object(); var isNullOrUndefined4 = require_is_null_or_undefined(); var isRegExp = require_is_regexp(); var requireObjectCoercible4 = require_require_object_coercible(); var speciesConstructor = require_species_constructor(); var advanceStringIndex3 = require_advance_string_index(); var toLength3 = require_to_length(); var toString6 = require_to_string(); var getMethod4 = require_get_method(); var arraySlice = require_array_slice_simple(); var callRegExpExec = require_regexp_exec_abstract(); var regexpExec = require_regexp_exec(); var stickyHelpers = require_regexp_sticky_helpers(); var fails3 = require_fails(); var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; var MAX_UINT32 = 4294967295; var min2 = Math.min; var $push = [].push; var exec = uncurryThis3(/./.exec); var push2 = uncurryThis3($push); var stringSlice2 = uncurryThis3("".slice); var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails3(function() { var re = /(?:)/; var originalExec = re.exec; re.exec = function() { return originalExec.apply(this, arguments); }; var result = "ab".split(re); return result.length !== 2 || result[0] !== "a" || result[1] !== "b"; }); fixRegExpWellKnownSymbolLogic4("split", function(SPLIT, nativeSplit, maybeCallNative) { var internalSplit; if ("abbc".split(/(b)*/)[1] == "c" || "test".split(/(?:)/, -1).length != 4 || "ab".split(/(?:ab)*/).length != 2 || ".".split(/(.?)(.?)/).length != 4 || ".".split(/()()/).length > 1 || "".split(/.?/).length) { internalSplit = function(separator, limit) { var string = toString6(requireObjectCoercible4(this)); var lim = limit === void 0 ? MAX_UINT32 : limit >>> 0; if (lim === 0) return []; if (separator === void 0) return [string]; if (!isRegExp(separator)) { return call5(nativeSplit, string, separator, lim); } var output = []; var flags = (separator.ignoreCase ? "i" : "") + (separator.multiline ? "m" : "") + (separator.unicode ? "u" : "") + (separator.sticky ? "y" : ""); var lastLastIndex = 0; var separatorCopy = new RegExp(separator.source, flags + "g"); var match, lastIndex, lastLength; while (match = call5(regexpExec, separatorCopy, string)) { lastIndex = separatorCopy.lastIndex; if (lastIndex > lastLastIndex) { push2(output, stringSlice2(string, lastLastIndex, match.index)); if (match.length > 1 && match.index < string.length) apply2($push, output, arraySlice(match, 1)); lastLength = match[0].length; lastLastIndex = lastIndex; if (output.length >= lim) break; } if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; } if (lastLastIndex === string.length) { if (lastLength || !exec(separatorCopy, "")) push2(output, ""); } else push2(output, stringSlice2(string, lastLastIndex)); return output.length > lim ? arraySlice(output, 0, lim) : output; }; } else if ("0".split(void 0, 0).length) { internalSplit = function(separator, limit) { return separator === void 0 && limit === 0 ? [] : call5(nativeSplit, this, separator, limit); }; } else internalSplit = nativeSplit; return [ function split(separator, limit) { var O = requireObjectCoercible4(this); var splitter = isNullOrUndefined4(separator) ? void 0 : getMethod4(separator, SPLIT); return splitter ? call5(splitter, separator, O, limit) : call5(internalSplit, toString6(O), separator, limit); }, function(string, limit) { var rx = anObject5(this); var S4 = toString6(string); var res = maybeCallNative(internalSplit, rx, S4, limit, internalSplit !== nativeSplit); if (res.done) return res.value; var C2 = speciesConstructor(rx, RegExp); var unicodeMatching = rx.unicode; var flags = (rx.ignoreCase ? "i" : "") + (rx.multiline ? "m" : "") + (rx.unicode ? "u" : "") + (UNSUPPORTED_Y ? "g" : "y"); var splitter = new C2(UNSUPPORTED_Y ? "^(?:" + rx.source + ")" : rx, flags); var lim = limit === void 0 ? MAX_UINT32 : limit >>> 0; if (lim === 0) return []; if (S4.length === 0) return callRegExpExec(splitter, S4) === null ? [S4] : []; var p3 = 0; var q = 0; var A2 = []; while (q < S4.length) { splitter.lastIndex = UNSUPPORTED_Y ? 0 : q; var z = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice2(S4, q) : S4); var e4; if (z === null || (e4 = min2(toLength3(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S4.length)) === p3) { q = advanceStringIndex3(S4, q, unicodeMatching); } else { push2(A2, stringSlice2(S4, p3, q)); if (A2.length === lim) return A2; for (var i5 = 1; i5 <= z.length - 1; i5++) { push2(A2, z[i5]); if (A2.length === lim) return A2; } q = p3 = e4; } } push2(A2, stringSlice2(S4, p3)); return A2; } ]; }, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y); // node_modules/core-js/modules/es.symbol.to-primitive.js var defineWellKnownSymbol = require_well_known_symbol_define(); var defineSymbolToPrimitive = require_symbol_define_to_primitive(); defineWellKnownSymbol("toPrimitive"); defineSymbolToPrimitive(); // node_modules/core-js/modules/es.date.to-primitive.js var hasOwn = require_has_own_property(); var defineBuiltIn2 = require_define_built_in(); var dateToPrimitive = require_date_to_primitive(); var wellKnownSymbol3 = require_well_known_symbol(); var TO_PRIMITIVE = wellKnownSymbol3("toPrimitive"); var DatePrototype = Date.prototype; if (!hasOwn(DatePrototype, TO_PRIMITIVE)) { defineBuiltIn2(DatePrototype, TO_PRIMITIVE, dateToPrimitive); } // node_modules/core-js/modules/es.symbol.js require_es_symbol_constructor(); require_es_symbol_for(); require_es_symbol_key_for(); require_es_json_stringify(); require_es_object_get_own_property_symbols(); // node_modules/core-js/modules/es.symbol.description.js var $10 = require_export(); var DESCRIPTORS = require_descriptors(); var global2 = require_global(); var uncurryThis4 = require_function_uncurry_this(); var hasOwn2 = require_has_own_property(); var isCallable3 = require_is_callable(); var isPrototypeOf = require_object_is_prototype_of(); var toString7 = require_to_string(); var defineBuiltInAccessor = require_define_built_in_accessor(); var copyConstructorProperties = require_copy_constructor_properties(); var NativeSymbol = global2.Symbol; var SymbolPrototype = NativeSymbol && NativeSymbol.prototype; if (DESCRIPTORS && isCallable3(NativeSymbol) && (!("description" in SymbolPrototype) || NativeSymbol().description !== void 0)) { EmptyStringDescriptionStore = {}; SymbolWrapper = function Symbol2() { var description = arguments.length < 1 || arguments[0] === void 0 ? void 0 : toString7(arguments[0]); var result = isPrototypeOf(SymbolPrototype, this) ? new NativeSymbol(description) : description === void 0 ? NativeSymbol() : NativeSymbol(description); if (description === "") EmptyStringDescriptionStore[result] = true; return result; }; copyConstructorProperties(SymbolWrapper, NativeSymbol); SymbolWrapper.prototype = SymbolPrototype; SymbolPrototype.constructor = SymbolWrapper; NATIVE_SYMBOL = String(NativeSymbol("test")) == "Symbol(test)"; thisSymbolValue = uncurryThis4(SymbolPrototype.valueOf); symbolDescriptiveString = uncurryThis4(SymbolPrototype.toString); regexp = /^Symbol\((.*)\)[^)]+$/; replace2 = uncurryThis4("".replace); stringSlice6 = uncurryThis4("".slice); defineBuiltInAccessor(SymbolPrototype, "description", { configurable: true, get: function description() { var symbol = thisSymbolValue(this); if (hasOwn2(EmptyStringDescriptionStore, symbol)) return ""; var string = symbolDescriptiveString(symbol); var desc = NATIVE_SYMBOL ? stringSlice6(string, 7, -1) : replace2(string, regexp, "$1"); return desc === "" ? void 0 : desc; } }); $10({ global: true, constructor: true, forced: true }, { Symbol: SymbolWrapper }); } var EmptyStringDescriptionStore; var SymbolWrapper; var NATIVE_SYMBOL; var thisSymbolValue; var symbolDescriptiveString; var regexp; var replace2; var stringSlice6; // node_modules/core-js/modules/es.number.constructor.js var $11 = require_export(); var IS_PURE = require_is_pure(); var DESCRIPTORS2 = require_descriptors(); var global3 = require_global(); var path = require_path(); var uncurryThis5 = require_function_uncurry_this(); var isForced = require_is_forced(); var hasOwn3 = require_has_own_property(); var inheritIfRequired = require_inherit_if_required(); var isPrototypeOf2 = require_object_is_prototype_of(); var isSymbol = require_is_symbol(); var toPrimitive = require_to_primitive(); var fails4 = require_fails(); var getOwnPropertyNames = require_object_get_own_property_names().f; var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; var defineProperty = require_object_define_property().f; var thisNumberValue = require_this_number_value(); var trim = require_string_trim().trim; var NUMBER = "Number"; var NativeNumber = global3[NUMBER]; var PureNumberNamespace = path[NUMBER]; var NumberPrototype = NativeNumber.prototype; var TypeError2 = global3.TypeError; var stringSlice3 = uncurryThis5("".slice); var charCodeAt = uncurryThis5("".charCodeAt); var toNumeric = function(value) { var primValue = toPrimitive(value, "number"); return typeof primValue == "bigint" ? primValue : toNumber(primValue); }; var toNumber = function(argument) { var it = toPrimitive(argument, "number"); var first, third, radix, maxCode, digits, length, index, code; if (isSymbol(it)) throw TypeError2("Cannot convert a Symbol value to a number"); if (typeof it == "string" && it.length > 2) { it = trim(it); first = charCodeAt(it, 0); if (first === 43 || first === 45) { third = charCodeAt(it, 2); if (third === 88 || third === 120) return NaN; } else if (first === 48) { switch (charCodeAt(it, 1)) { case 66: case 98: radix = 2; maxCode = 49; break; case 79: case 111: radix = 8; maxCode = 55; break; default: return +it; } digits = stringSlice3(it, 2); length = digits.length; for (index = 0; index < length; index++) { code = charCodeAt(digits, index); if (code < 48 || code > maxCode) return NaN; } return parseInt(digits, radix); } } return +it; }; var FORCED3 = isForced(NUMBER, !NativeNumber(" 0o1") || !NativeNumber("0b1") || NativeNumber("+0x1")); var calledWithNew = function(dummy) { return isPrototypeOf2(NumberPrototype, dummy) && fails4(function() { thisNumberValue(dummy); }); }; var NumberWrapper = function Number2(value) { var n4 = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value)); return calledWithNew(this) ? inheritIfRequired(Object(n4), this, NumberWrapper) : n4; }; NumberWrapper.prototype = NumberPrototype; if (FORCED3 && !IS_PURE) NumberPrototype.constructor = NumberWrapper; $11({ global: true, constructor: true, wrap: true, forced: FORCED3 }, { Number: NumberWrapper }); var copyConstructorProperties2 = function(target, source) { for (var keys2 = DESCRIPTORS2 ? getOwnPropertyNames(source) : "MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","), j3 = 0, key; keys2.length > j3; j3++) { if (hasOwn3(source, key = keys2[j3]) && !hasOwn3(target, key)) { defineProperty(target, key, getOwnPropertyDescriptor(source, key)); } } }; if (IS_PURE && PureNumberNamespace) copyConstructorProperties2(path[NUMBER], PureNumberNamespace); if (FORCED3 || IS_PURE) copyConstructorProperties2(path[NUMBER], NativeNumber); // node_modules/core-js/modules/es.object.define-property.js var $12 = require_export(); var DESCRIPTORS3 = require_descriptors(); var defineProperty2 = require_object_define_property().f; $12({ target: "Object", stat: true, forced: Object.defineProperty !== defineProperty2, sham: !DESCRIPTORS3 }, { defineProperty: defineProperty2 }); // node_modules/core-js/modules/es.promise.js require_es_promise_constructor(); require_es_promise_all(); require_es_promise_catch(); require_es_promise_race(); require_es_promise_reject(); require_es_promise_resolve(); // node_modules/core-js/modules/es.symbol.iterator.js var defineWellKnownSymbol2 = require_well_known_symbol_define(); defineWellKnownSymbol2("iterator"); // srcts/src/shiny/index.ts var import_es_array_iterator52 = __toESM(require_es_array_iterator()); // node_modules/core-js/modules/es.string.iterator.js var charAt = require_string_multibyte().charAt; var toString8 = require_to_string(); var InternalStateModule = require_internal_state(); var defineIterator = require_iterator_define(); var createIterResultObject = require_create_iter_result_object(); var STRING_ITERATOR = "String Iterator"; var setInternalState = InternalStateModule.set; var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); defineIterator(String, "String", function(iterated) { setInternalState(this, { type: STRING_ITERATOR, string: toString8(iterated), index: 0 }); }, function next() { var state = getInternalState(this); var string = state.string; var index = state.index; var point; if (index >= string.length) return createIterResultObject(void 0, true); point = charAt(string, index); state.index += point.length; return createIterResultObject(point, false); }); // node_modules/core-js/modules/web.dom-collections.iterator.js var global4 = require_global(); var DOMIterables = require_dom_iterables(); var DOMTokenListPrototype = require_dom_token_list_prototype(); var ArrayIteratorMethods = require_es_array_iterator(); var createNonEnumerableProperty = require_create_non_enumerable_property(); var wellKnownSymbol4 = require_well_known_symbol(); var ITERATOR = wellKnownSymbol4("iterator"); var TO_STRING_TAG = wellKnownSymbol4("toStringTag"); var ArrayValues = ArrayIteratorMethods.values; var handlePrototype = function(CollectionPrototype, COLLECTION_NAME) { if (CollectionPrototype) { if (CollectionPrototype[ITERATOR] !== ArrayValues) try { createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues); } catch (error) { CollectionPrototype[ITERATOR] = ArrayValues; } if (!CollectionPrototype[TO_STRING_TAG]) { createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME); } if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) { if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try { createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]); } catch (error) { CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME]; } } } }; for (COLLECTION_NAME in DOMIterables) { handlePrototype(global4[COLLECTION_NAME] && global4[COLLECTION_NAME].prototype, COLLECTION_NAME); } var COLLECTION_NAME; handlePrototype(DOMTokenListPrototype, "DOMTokenList"); // node_modules/core-js/modules/es.symbol.async-iterator.js var defineWellKnownSymbol3 = require_well_known_symbol_define(); defineWellKnownSymbol3("asyncIterator"); // node_modules/core-js/modules/es.symbol.to-string-tag.js var getBuiltIn = require_get_built_in(); var defineWellKnownSymbol4 = require_well_known_symbol_define(); var setToStringTag = require_set_to_string_tag(); defineWellKnownSymbol4("toStringTag"); setToStringTag(getBuiltIn("Symbol"), "Symbol"); // node_modules/core-js/modules/es.json.to-string-tag.js var global5 = require_global(); var setToStringTag2 = require_set_to_string_tag(); setToStringTag2(global5.JSON, "JSON", true); // node_modules/core-js/modules/es.math.to-string-tag.js var setToStringTag3 = require_set_to_string_tag(); setToStringTag3(Math, "Math", true); // node_modules/core-js/modules/es.object.get-prototype-of.js var $13 = require_export(); var fails5 = require_fails(); var toObject2 = require_to_object(); var nativeGetPrototypeOf = require_object_get_prototype_of(); var CORRECT_PROTOTYPE_GETTER = require_correct_prototype_getter(); var FAILS_ON_PRIMITIVES = fails5(function() { nativeGetPrototypeOf(1); }); $13({ target: "Object", stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, { getPrototypeOf: function getPrototypeOf(it) { return nativeGetPrototypeOf(toObject2(it)); } }); // node_modules/core-js/modules/es.array.for-each.js var $14 = require_export(); var forEach = require_array_for_each(); $14({ target: "Array", proto: true, forced: [].forEach != forEach }, { forEach: forEach }); // node_modules/core-js/modules/web.dom-collections.for-each.js var global6 = require_global(); var DOMIterables2 = require_dom_iterables(); var DOMTokenListPrototype2 = require_dom_token_list_prototype(); var forEach2 = require_array_for_each(); var createNonEnumerableProperty2 = require_create_non_enumerable_property(); var handlePrototype2 = function(CollectionPrototype) { if (CollectionPrototype && CollectionPrototype.forEach !== forEach2) try { createNonEnumerableProperty2(CollectionPrototype, "forEach", forEach2); } catch (error) { CollectionPrototype.forEach = forEach2; } }; for (COLLECTION_NAME in DOMIterables2) { if (DOMIterables2[COLLECTION_NAME]) { handlePrototype2(global6[COLLECTION_NAME] && global6[COLLECTION_NAME].prototype); } } var COLLECTION_NAME; handlePrototype2(DOMTokenListPrototype2); // node_modules/core-js/modules/es.function.name.js var DESCRIPTORS4 = require_descriptors(); var FUNCTION_NAME_EXISTS = require_function_name().EXISTS; var uncurryThis6 = require_function_uncurry_this(); var defineBuiltInAccessor2 = require_define_built_in_accessor(); var FunctionPrototype = Function.prototype; var functionToString = uncurryThis6(FunctionPrototype.toString); var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/; var regExpExec4 = uncurryThis6(nameRE.exec); var NAME = "name"; if (DESCRIPTORS4 && !FUNCTION_NAME_EXISTS) { defineBuiltInAccessor2(FunctionPrototype, NAME, { configurable: true, get: function() { try { return regExpExec4(nameRE, functionToString(this))[1]; } catch (error) { return ""; } } }); } // node_modules/core-js/modules/es.object.set-prototype-of.js var $15 = require_export(); var setPrototypeOf = require_object_set_prototype_of(); $15({ target: "Object", stat: true }, { setPrototypeOf: setPrototypeOf }); // node_modules/core-js/modules/es.array.reverse.js var $16 = require_export(); var uncurryThis7 = require_function_uncurry_this(); var isArray2 = require_is_array(); var nativeReverse = uncurryThis7([].reverse); var test = [1, 2]; $16({ target: "Array", proto: true, forced: String(test) === String(test.reverse()) }, { reverse: function reverse() { if (isArray2(this)) this.length = this.length; return nativeReverse(this); } }); // node_modules/core-js/modules/es.array.slice.js var $17 = require_export(); var isArray3 = require_is_array(); var isConstructor = require_is_constructor(); var isObject2 = require_is_object(); var toAbsoluteIndex = require_to_absolute_index(); var lengthOfArrayLike2 = require_length_of_array_like(); var toIndexedObject = require_to_indexed_object(); var createProperty2 = require_create_property(); var wellKnownSymbol5 = require_well_known_symbol(); var arrayMethodHasSpeciesSupport2 = require_array_method_has_species_support(); var nativeSlice = require_array_slice(); var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport2("slice"); var SPECIES = wellKnownSymbol5("species"); var $Array = Array; var max2 = Math.max; $17({ target: "Array", proto: true, forced: !HAS_SPECIES_SUPPORT }, { slice: function slice(start, end) { var O = toIndexedObject(this); var length = lengthOfArrayLike2(O); var k2 = toAbsoluteIndex(start, length); var fin = toAbsoluteIndex(end === void 0 ? length : end, length); var Constructor, result, n4; if (isArray3(O)) { Constructor = O.constructor; if (isConstructor(Constructor) && (Constructor === $Array || isArray3(Constructor.prototype))) { Constructor = void 0; } else if (isObject2(Constructor)) { Constructor = Constructor[SPECIES]; if (Constructor === null) Constructor = void 0; } if (Constructor === $Array || Constructor === void 0) { return nativeSlice(O, k2, fin); } } result = new (Constructor === void 0 ? $Array : Constructor)(max2(fin - k2, 0)); for (n4 = 0; k2 < fin; k2++, n4++) if (k2 in O) createProperty2(result, n4, O[k2]); result.length = n4; return result; } }); // srcts/src/shiny/index.ts var import_jquery39 = __toESM(require_jquery()); // srcts/src/bindings/registry.ts var import_es_array_iterator = __toESM(require_es_array_iterator()); // srcts/src/utils/index.ts var import_es_regexp_exec2 = __toESM(require_es_regexp_exec()); // node_modules/core-js/modules/es.regexp.to-string.js var PROPER_FUNCTION_NAME = require_function_name().PROPER; var defineBuiltIn3 = require_define_built_in(); var anObject6 = require_an_object(); var $toString = require_to_string(); var fails6 = require_fails(); var getRegExpFlags = require_regexp_get_flags(); var TO_STRING = "toString"; var RegExpPrototype = RegExp.prototype; var nativeToString = RegExpPrototype[TO_STRING]; var NOT_GENERIC = fails6(function() { return nativeToString.call({ source: "a", flags: "b" }) != "/a/b"; }); var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name != TO_STRING; if (NOT_GENERIC || INCORRECT_NAME) { defineBuiltIn3(RegExp.prototype, TO_STRING, function toString13() { var R2 = anObject6(this); var pattern = $toString(R2.source); var flags = $toString(getRegExpFlags(R2)); return "/" + pattern + "/" + flags; }, { unsafe: true }); } // node_modules/core-js/modules/es.number.to-precision.js var $18 = require_export(); var uncurryThis8 = require_function_uncurry_this(); var fails7 = require_fails(); var thisNumberValue2 = require_this_number_value(); var nativeToPrecision = uncurryThis8(1 .toPrecision); var FORCED4 = fails7(function() { return nativeToPrecision(1, void 0) !== "1"; }) || !fails7(function() { nativeToPrecision({}); }); $18({ target: "Number", proto: true, forced: FORCED4 }, { toPrecision: function toPrecision(precision) { return precision === void 0 ? nativeToPrecision(thisNumberValue2(this)) : nativeToPrecision(thisNumberValue2(this), precision); } }); // node_modules/core-js/modules/es.array.splice.js var $19 = require_export(); var toObject3 = require_to_object(); var toAbsoluteIndex2 = require_to_absolute_index(); var toIntegerOrInfinity2 = require_to_integer_or_infinity(); var lengthOfArrayLike3 = require_length_of_array_like(); var setArrayLength = require_array_set_length(); var doesNotExceedSafeInteger2 = require_does_not_exceed_safe_integer(); var arraySpeciesCreate2 = require_array_species_create(); var createProperty3 = require_create_property(); var deletePropertyOrThrow = require_delete_property_or_throw(); var arrayMethodHasSpeciesSupport3 = require_array_method_has_species_support(); var HAS_SPECIES_SUPPORT2 = arrayMethodHasSpeciesSupport3("splice"); var max3 = Math.max; var min3 = Math.min; $19({ target: "Array", proto: true, forced: !HAS_SPECIES_SUPPORT2 }, { splice: function splice(start, deleteCount) { var O = toObject3(this); var len = lengthOfArrayLike3(O); var actualStart = toAbsoluteIndex2(start, len); var argumentsLength = arguments.length; var insertCount, actualDeleteCount, A2, k2, from2, to; if (argumentsLength === 0) { insertCount = actualDeleteCount = 0; } else if (argumentsLength === 1) { insertCount = 0; actualDeleteCount = len - actualStart; } else { insertCount = argumentsLength - 2; actualDeleteCount = min3(max3(toIntegerOrInfinity2(deleteCount), 0), len - actualStart); } doesNotExceedSafeInteger2(len + insertCount - actualDeleteCount); A2 = arraySpeciesCreate2(O, actualDeleteCount); for (k2 = 0; k2 < actualDeleteCount; k2++) { from2 = actualStart + k2; if (from2 in O) createProperty3(A2, k2, O[from2]); } A2.length = actualDeleteCount; if (insertCount < actualDeleteCount) { for (k2 = actualStart; k2 < len - actualDeleteCount; k2++) { from2 = k2 + actualDeleteCount; to = k2 + insertCount; if (from2 in O) O[to] = O[from2]; else deletePropertyOrThrow(O, to); } for (k2 = len; k2 > len - actualDeleteCount + insertCount; k2--) deletePropertyOrThrow(O, k2 - 1); } else if (insertCount > actualDeleteCount) { for (k2 = len - actualDeleteCount; k2 > actualStart; k2--) { from2 = k2 + actualDeleteCount - 1; to = k2 + insertCount - 1; if (from2 in O) O[to] = O[from2]; else deletePropertyOrThrow(O, to); } } for (k2 = 0; k2 < insertCount; k2++) { O[k2 + actualStart] = arguments[k2 + 2]; } setArrayLength(O, len - actualDeleteCount + insertCount); return A2; } }); // node_modules/core-js/modules/es.object.keys.js var $20 = require_export(); var toObject4 = require_to_object(); var nativeKeys = require_object_keys(); var fails8 = require_fails(); var FAILS_ON_PRIMITIVES2 = fails8(function() { nativeKeys(1); }); $20({ target: "Object", stat: true, forced: FAILS_ON_PRIMITIVES2 }, { keys: function keys(it) { return nativeKeys(toObject4(it)); } }); // srcts/src/utils/index.ts var import_jquery4 = __toESM(require_jquery()); // srcts/src/window/pixelRatio.ts function windowDevicePixelRatio() { return window.devicePixelRatio; } // srcts/src/utils/object.ts function hasOwnProperty(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } function hasDefinedProperty(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop) && obj[prop] !== void 0; } function ifUndefined(value, alternate) { if (value === void 0) return alternate; return value; } // srcts/src/utils/index.ts function escapeHTML(str) { var escaped = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'", "/": "/" }; return str.replace(/[&<>'"/]/g, function(m2) { return escaped[m2]; }); } function randomId() { return Math.floor(4294967296 + Math.random() * 64424509440).toString(16); } function strToBool(str) { if (!str || !str.toLowerCase) return void 0; switch (str.toLowerCase()) { case "true": return true; case "false": return false; default: return void 0; } } function getStyle(el, styleProp) { var x2 = void 0; if ("currentStyle" in el) { x2 = el.currentStyle[styleProp]; } else { var _document, _document$defaultView; var style = (_document = document) === null || _document === void 0 ? void 0 : (_document$defaultView = _document.defaultView) === null || _document$defaultView === void 0 ? void 0 : _document$defaultView.getComputedStyle(el, null); if (style) x2 = style.getPropertyValue(styleProp); } return x2; } function padZeros(n4, digits) { var str = n4.toString(); while (str.length < digits) str = "0" + str; return str; } function roundSignif(x2) { var digits = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1; if (digits < 1) throw "Significant digits must be at least 1."; return parseFloat(x2.toPrecision(digits)); } function parseDate(dateString) { var date = new Date(dateString); if (date.toString() === "Invalid Date") { date = new Date(dateString.replace(/-/g, "/")); } return date; } function formatDateUTC(date) { if (date instanceof Date) { return date.getUTCFullYear() + "-" + padZeros(date.getUTCMonth() + 1, 2) + "-" + padZeros(date.getUTCDate(), 2); } else { return null; } } function makeResizeFilter(el, func) { var lastSize = {}; return function() { var rect = el.getBoundingClientRect(); var size = { w: rect.width, h: rect.height }; if (size.w === 0 && size.h === 0) return; if (size.w === lastSize.w && size.h === lastSize.h) return; lastSize = size; func(size.w, size.h); }; } function pixelRatio() { if (windowDevicePixelRatio()) { return Math.round(windowDevicePixelRatio() * 100) / 100; } else { return 1; } } function getBoundingClientSizeBeforeZoom(el) { var rect = el.getBoundingClientRect(); var zoom = el.currentCSSZoom || 1; return { width: rect.width / zoom, height: rect.height / zoom }; } function scopeExprToFunc(expr) { var exprEscaped = expr.replace(/[\\"']/g, "\\$&").replace(/\u0000/g, "\\0").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/[\b]/g, "\\b"); var func; try { func = new Function("with (this) {\n try {\n return (".concat(expr, ");\n } catch (e) {\n console.error('Error evaluating expression: ").concat(exprEscaped, "');\n throw e;\n }\n }")); } catch (e4) { console.error("Error parsing expression: " + expr); throw e4; } return function(scope) { return func.call(scope); }; } function asArray(value) { if (value === null || value === void 0) return []; if (Array.isArray(value)) return value; return [value]; } function mergeSort(list, sortfunc) { function merge(a3, b3) { var ia = 0; var ib = 0; var sorted = []; while (ia < a3.length && ib < b3.length) { if (sortfunc(a3[ia], b3[ib]) <= 0) { sorted.push(a3[ia++]); } else { sorted.push(b3[ib++]); } } while (ia < a3.length) sorted.push(a3[ia++]); while (ib < b3.length) sorted.push(b3[ib++]); return sorted; } list = list.slice(0); for (var chunkSize = 1; chunkSize < list.length; chunkSize *= 2) { for (var i5 = 0; i5 < list.length; i5 += chunkSize * 2) { var listA = list.slice(i5, i5 + chunkSize); var listB = list.slice(i5 + chunkSize, i5 + chunkSize * 2); var merged = merge(listA, listB); var args = [i5, merged.length]; Array.prototype.push.apply(args, merged); Array.prototype.splice.apply(list, args); } } return list; } function $escape(val) { if (typeof val === "undefined") return val; return val.replace(/([!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~])/g, "\\$1"); } function mapValues(obj, f4) { var newObj = {}; Object.keys(obj).forEach(function(key) { newObj[key] = f4(obj[key], key, obj); }); return newObj; } function isnan(x2) { return typeof x2 === "number" && isNaN(x2); } function _equal(x2, y4) { if (import_jquery4.default.type(x2) === "object" && import_jquery4.default.type(y4) === "object") { var xo = x2; var yo = y4; if (Object.keys(xo).length !== Object.keys(yo).length) return false; for (var prop in xo) { if (!hasOwnProperty(yo, prop) || !_equal(xo[prop], yo[prop])) return false; } return true; } else if (import_jquery4.default.type(x2) === "array" && import_jquery4.default.type(y4) === "array") { var xa = x2; var ya = y4; if (xa.length !== ya.length) return false; for (var i5 = 0; i5 < xa.length; i5++) if (!_equal(xa[i5], ya[i5])) return false; return true; } else { return x2 === y4; } } function equal() { if (arguments.length < 2) throw new Error("equal requires at least two arguments."); for (var i5 = 0; i5 < arguments.length - 1; i5++) { if (!_equal(i5 < 0 || arguments.length <= i5 ? void 0 : arguments[i5], i5 + 1 < 0 || arguments.length <= i5 + 1 ? void 0 : arguments[i5 + 1])) return false; } return true; } var compareVersion = function compareVersion2(a3, op, b3) { function versionParts(ver) { return (ver + "").replace(/-/, ".").replace(/(\.0)+[^.]*$/, "").split("."); } function cmpVersion(a4, b4) { var aParts = versionParts(a4); var bParts = versionParts(b4); var len = Math.min(aParts.length, bParts.length); var cmp; for (var i5 = 0; i5 < len; i5++) { cmp = parseInt(aParts[i5], 10) - parseInt(bParts[i5], 10); if (cmp !== 0) { return cmp; } } return aParts.length - bParts.length; } var diff = cmpVersion(a3, b3); if (op === "==") return diff === 0; else if (op === ">=") return diff >= 0; else if (op === ">") return diff > 0; else if (op === "<=") return diff <= 0; else if (op === "<") return diff < 0; else throw "Unknown operator: ".concat(op); }; function updateLabel(labelTxt, labelNode) { if (typeof labelTxt === "undefined") return; if (labelNode.length !== 1) { throw new Error("labelNode must be of length 1"); } var emptyLabel = Array.isArray(labelTxt) && labelTxt.length === 0; if (emptyLabel) { labelNode.addClass("shiny-label-null"); } else { labelNode.text(labelTxt); labelNode.removeClass("shiny-label-null"); } } function getComputedLinkColor(el) { var a3 = document.createElement("a"); a3.href = "/"; var div = document.createElement("div"); div.style.setProperty("position", "absolute", "important"); div.style.setProperty("top", "-1000px", "important"); div.style.setProperty("left", "0", "important"); div.style.setProperty("width", "30px", "important"); div.style.setProperty("height", "10px", "important"); div.appendChild(a3); el.appendChild(div); var linkColor = window.getComputedStyle(a3).getPropertyValue("color"); el.removeChild(div); return linkColor; } function isBS3() { return !window.bootstrap; } // srcts/src/bindings/registry.ts function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) { return typeof obj2; } : function(obj2) { return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2; }, _typeof(obj); } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i5 = 0; i5 < props.length; i5++) { var descriptor = props[i5]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== void 0) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } var BindingRegistry = /* @__PURE__ */ function() { function BindingRegistry2() { _classCallCheck(this, BindingRegistry2); _defineProperty(this, "name", void 0); _defineProperty(this, "bindings", []); _defineProperty(this, "bindingNames", {}); } _createClass(BindingRegistry2, [{ key: "register", value: function register2(binding, bindingName) { var priority = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0; var bindingObj = { binding: binding, priority: priority }; this.bindings.unshift(bindingObj); if (bindingName) { this.bindingNames[bindingName] = bindingObj; binding.name = bindingName; } } }, { key: "setPriority", value: function setPriority(bindingName, priority) { var bindingObj = this.bindingNames[bindingName]; if (!bindingObj) throw "Tried to set priority on unknown binding " + bindingName; bindingObj.priority = priority || 0; } }, { key: "getPriority", value: function getPriority(bindingName) { var bindingObj = this.bindingNames[bindingName]; if (!bindingObj) return false; return bindingObj.priority; } }, { key: "getBindings", value: function getBindings() { return mergeSort(this.bindings, function(a3, b3) { return b3.priority - a3.priority; }); } }]); return BindingRegistry2; }(); // srcts/src/bindings/input/inputBinding.ts var import_es_array_iterator2 = __toESM(require_es_array_iterator()); function _typeof2(obj) { "@babel/helpers - typeof"; return _typeof2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) { return typeof obj2; } : function(obj2) { return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2; }, _typeof2(obj); } function _classCallCheck2(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties2(target, props) { for (var i5 = 0; i5 < props.length; i5++) { var descriptor = props[i5]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey2(descriptor.key), descriptor); } } function _createClass2(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties2(Constructor.prototype, protoProps); if (staticProps) _defineProperties2(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _defineProperty2(obj, key, value) { key = _toPropertyKey2(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } function _toPropertyKey2(arg) { var key = _toPrimitive2(arg, "string"); return _typeof2(key) === "symbol" ? key : String(key); } function _toPrimitive2(input, hint) { if (_typeof2(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== void 0) { var res = prim.call(input, hint || "default"); if (_typeof2(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } var InputBinding = /* @__PURE__ */ function() { function InputBinding2() { _classCallCheck2(this, InputBinding2); _defineProperty2(this, "name", void 0); } _createClass2(InputBinding2, [{ key: "find", value: function find2(scope) { throw "Not implemented"; scope; } }, { key: "getId", value: function getId(el) { return el.getAttribute("data-input-id") || el.id; } }, { key: "getType", value: function getType(el) { return null; el; } }, { key: "getValue", value: function getValue(el) { throw "Not implemented"; el; } }, { key: "subscribe", value: function subscribe(el, callback) { el; callback; } }, { key: "unsubscribe", value: function unsubscribe(el) { el; } }, { key: "receiveMessage", value: function receiveMessage(el, data) { throw "Not implemented"; el; data; } }, { key: "getState", value: function getState(el) { throw "Not implemented"; el; } }, { key: "getRatePolicy", value: function getRatePolicy(el) { return null; el; } }, { key: "initialize", value: function initialize(el) { el; } }, { key: "dispose", value: function dispose(el) { el; } }]); return InputBinding2; }(); // node_modules/core-js/modules/es.reflect.to-string-tag.js var $22 = require_export(); var global7 = require_global(); var setToStringTag4 = require_set_to_string_tag(); $22({ global: true }, { Reflect: {} }); setToStringTag4(global7.Reflect, "Reflect", true); // node_modules/core-js/modules/es.reflect.construct.js var $23 = require_export(); var getBuiltIn2 = require_get_built_in(); var apply3 = require_function_apply(); var bind = require_function_bind(); var aConstructor = require_a_constructor(); var anObject7 = require_an_object(); var isObject3 = require_is_object(); var create = require_object_create(); var fails9 = require_fails(); var nativeConstruct = getBuiltIn2("Reflect", "construct"); var ObjectPrototype = Object.prototype; var push3 = [].push; var NEW_TARGET_BUG = fails9(function() { function F() { } return !(nativeConstruct(function() { }, [], F) instanceof F); }); var ARGS_BUG = !fails9(function() { nativeConstruct(function() { }); }); var FORCED5 = NEW_TARGET_BUG || ARGS_BUG; $23({ target: "Reflect", stat: true, forced: FORCED5, sham: FORCED5 }, { construct: function construct(Target, args) { aConstructor(Target); anObject7(args); var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]); if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget); if (Target == newTarget) { switch (args.length) { case 0: return new Target(); case 1: return new Target(args[0]); case 2: return new Target(args[0], args[1]); case 3: return new Target(args[0], args[1], args[2]); case 4: return new Target(args[0], args[1], args[2], args[3]); } var $args = [null]; apply3(push3, $args, args); return new (apply3(bind, Target, $args))(); } var proto = newTarget.prototype; var instance = create(isObject3(proto) ? proto : ObjectPrototype); var result = apply3(Target, instance, args); return isObject3(result) ? result : instance; } }); // srcts/src/bindings/input/actionbutton.ts var import_es_array_iterator3 = __toESM(require_es_array_iterator()); var import_jquery5 = __toESM(require_jquery()); function _typeof3(obj) { "@babel/helpers - typeof"; return _typeof3 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) { return typeof obj2; } : function(obj2) { return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2; }, _typeof3(obj); } function _classCallCheck3(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties3(target, props) { for (var i5 = 0; i5 < props.length; i5++) { var descriptor = props[i5]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey3(descriptor.key), descriptor); } } function _createClass3(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties3(Constructor.prototype, protoProps); if (staticProps) _defineProperties3(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _toPropertyKey3(arg) { var key = _toPrimitive3(arg, "string"); return _typeof3(key) === "symbol" ? key : String(key); } function _toPrimitive3(input, hint) { if (_typeof3(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== void 0) { var res = prim.call(input, hint || "default"); if (_typeof3(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); } function _setPrototypeOf(o4, p3) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf26(o5, p4) { o5.__proto__ = p4; return o5; }; return _setPrototypeOf(o4, p3); } function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } function _possibleConstructorReturn(self2, call8) { if (call8 && (_typeof3(call8) === "object" || typeof call8 === "function")) { return call8; } else if (call8 !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self2); } function _assertThisInitialized(self2) { if (self2 === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self2; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })); return true; } catch (e4) { return false; } } function _getPrototypeOf(o4) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf26(o5) { return o5.__proto__ || Object.getPrototypeOf(o5); }; return _getPrototypeOf(o4); } var ActionButtonInputBinding = /* @__PURE__ */ function(_InputBinding) { _inherits(ActionButtonInputBinding2, _InputBinding); var _super = _createSuper(ActionButtonInputBinding2); function ActionButtonInputBinding2() { _classCallCheck3(this, ActionButtonInputBinding2); return _super.apply(this, arguments); } _createClass3(ActionButtonInputBinding2, [{ key: "find", value: function find2(scope) { return (0, import_jquery5.default)(scope).find(".action-button"); } }, { key: "getValue", value: function getValue(el) { return (0, import_jquery5.default)(el).data("val") || 0; } }, { key: "setValue", value: function setValue(el, value) { (0, import_jquery5.default)(el).data("val", value); } }, { key: "getType", value: function getType(el) { return "shiny.action"; el; } }, { key: "subscribe", value: function subscribe(el, callback) { (0, import_jquery5.default)(el).on( "click.actionButtonInputBinding", function() { var $el = (0, import_jquery5.default)(this); var val = $el.data("val") || 0; $el.data("val", val + 1); callback(false); } ); } }, { key: "getState", value: function getState(el) { return { value: this.getValue(el) }; } }, { key: "receiveMessage", value: function receiveMessage(el, data) { var $el = (0, import_jquery5.default)(el); if (hasDefinedProperty(data, "label") || hasDefinedProperty(data, "icon")) { var label = $el.text(); var icon = ""; if ($el.find("i[class]").length > 0) { var iconHtml = $el.find("i[class]")[0]; if (iconHtml === $el.children()[0]) { icon = (0, import_jquery5.default)(iconHtml).prop("outerHTML"); } } if (hasDefinedProperty(data, "label")) { label = data.label; } if (hasDefinedProperty(data, "icon")) { var _data$icon; icon = Array.isArray(data.icon) ? "" : (_data$icon = data.icon) !== null && _data$icon !== void 0 ? _data$icon : ""; } $el.html(icon + " " + label); } if (hasDefinedProperty(data, "disabled")) { if (data.disabled) { $el.attr("disabled", ""); } else { $el.attr("disabled", null); } } } }, { key: "unsubscribe", value: function unsubscribe(el) { (0, import_jquery5.default)(el).off(".actionButtonInputBinding"); } }]); return ActionButtonInputBinding2; }(InputBinding); (0, import_jquery5.default)(document).on("click", "a.action-button", function(e4) { e4.preventDefault(); }); // srcts/src/bindings/input/checkbox.ts var import_es_array_iterator4 = __toESM(require_es_array_iterator()); var import_jquery6 = __toESM(require_jquery()); function _typeof4(obj) { "@babel/helpers - typeof"; return _typeof4 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) { return typeof obj2; } : function(obj2) { return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2; }, _typeof4(obj); } function _classCallCheck4(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties4(target, props) { for (var i5 = 0; i5 < props.length; i5++) { var descriptor = props[i5]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey4(descriptor.key), descriptor); } } function _createClass4(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties4(Constructor.prototype, protoProps); if (staticProps) _defineProperties4(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _toPropertyKey4(arg) { var key = _toPrimitive4(arg, "string"); return _typeof4(key) === "symbol" ? key : String(key); } function _toPrimitive4(input, hint) { if (_typeof4(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== void 0) { var res = prim.call(input, hint || "default"); if (_typeof4(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _inherits2(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf2(subClass, superClass); } function _setPrototypeOf2(o4, p3) { _setPrototypeOf2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf26(o5, p4) { o5.__proto__ = p4; return o5; }; return _setPrototypeOf2(o4, p3); } function _createSuper2(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct2(); return function _createSuperInternal() { var Super = _getPrototypeOf2(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf2(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn2(this, result); }; } function _possibleConstructorReturn2(self2, call8) { if (call8 && (_typeof4(call8) === "object" || typeof call8 === "function")) { return call8; } else if (call8 !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized2(self2); } function _assertThisInitialized2(self2) { if (self2 === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self2; } function _isNativeReflectConstruct2() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })); return true; } catch (e4) { return false; } } function _getPrototypeOf2(o4) { _getPrototypeOf2 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf26(o5) { return o5.__proto__ || Object.getPrototypeOf(o5); }; return _getPrototypeOf2(o4); } var CheckboxInputBinding = /* @__PURE__ */ function(_InputBinding) { _inherits2(CheckboxInputBinding2, _InputBinding); var _super = _createSuper2(CheckboxInputBinding2); function CheckboxInputBinding2() { _classCallCheck4(this, CheckboxInputBinding2); return _super.apply(this, arguments); } _createClass4(CheckboxInputBinding2, [{ key: "find", value: function find2(scope) { return (0, import_jquery6.default)(scope).find('input[type="checkbox"]'); } }, { key: "getValue", value: function getValue(el) { return el.checked; } }, { key: "setValue", value: function setValue(el, value) { el.checked = value; } }, { key: "subscribe", value: function subscribe(el, callback) { (0, import_jquery6.default)(el).on("change.checkboxInputBinding", function() { callback(true); }); } }, { key: "unsubscribe", value: function unsubscribe(el) { (0, import_jquery6.default)(el).off(".checkboxInputBinding"); } }, { key: "getState", value: function getState(el) { return { label: (0, import_jquery6.default)(el).parent().find("span").text(), value: el.checked }; } }, { key: "receiveMessage", value: function receiveMessage(el, data) { if (hasDefinedProperty(data, "value")) { el.checked = data.value; } if (hasDefinedProperty(data, "label")) { (0, import_jquery6.default)(el).parent().find("span").text(data.label); } (0, import_jquery6.default)(el).trigger("change"); } }]); return CheckboxInputBinding2; }(InputBinding); // node_modules/core-js/modules/es.string.trim.js var $26 = require_export(); var $trim = require_string_trim().trim; var forcedStringTrimMethod = require_string_trim_forced(); $26({ target: "String", proto: true, forced: forcedStringTrimMethod("trim") }, { trim: function trim2() { return $trim(this); } }); // srcts/src/bindings/input/checkboxgroup.ts var import_es_array_iterator5 = __toESM(require_es_array_iterator()); var import_jquery7 = __toESM(require_jquery()); function _typeof5(obj) { "@babel/helpers - typeof"; return _typeof5 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) { return typeof obj2; } : function(obj2) { return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2; }, _typeof5(obj); } function _classCallCheck5(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties5(target, props) { for (var i5 = 0; i5 < props.length; i5++) { var descriptor = props[i5]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey5(descriptor.key), descriptor); } } function _createClass5(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties5(Constructor.prototype, protoProps); if (staticProps) _defineProperties5(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _toPropertyKey5(arg) { var key = _toPrimitive5(arg, "string"); return _typeof5(key) === "symbol" ? key : String(key); } function _toPrimitive5(input, hint) { if (_typeof5(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== void 0) { var res = prim.call(input, hint || "default"); if (_typeof5(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _inherits3(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf3(subClass, superClass); } function _setPrototypeOf3(o4, p3) { _setPrototypeOf3 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf26(o5, p4) { o5.__proto__ = p4; return o5; }; return _setPrototypeOf3(o4, p3); } function _createSuper3(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct3(); return function _createSuperInternal() { var Super = _getPrototypeOf3(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf3(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn3(this, result); }; } function _possibleConstructorReturn3(self2, call8) { if (call8 && (_typeof5(call8) === "object" || typeof call8 === "function")) { return call8; } else if (call8 !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized3(self2); } function _assertThisInitialized3(self2) { if (self2 === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self2; } function _isNativeReflectConstruct3() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })); return true; } catch (e4) { return false; } } function _getPrototypeOf3(o4) { _getPrototypeOf3 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf26(o5) { return o5.__proto__ || Object.getPrototypeOf(o5); }; return _getPrototypeOf3(o4); } function getLabelNode(el) { return (0, import_jquery7.default)(el).find('label[for="' + $escape(el.id) + '"]'); } function getLabel(obj) { var parentNode = obj.parentNode; if (parentNode.tagName === "LABEL") { return (0, import_jquery7.default)(parentNode).find("span").text().trim(); } return null; } var CheckboxGroupInputBinding = /* @__PURE__ */ function(_InputBinding) { _inherits3(CheckboxGroupInputBinding2, _InputBinding); var _super = _createSuper3(CheckboxGroupInputBinding2); function CheckboxGroupInputBinding2() { _classCallCheck5(this, CheckboxGroupInputBinding2); return _super.apply(this, arguments); } _createClass5(CheckboxGroupInputBinding2, [{ key: "find", value: function find2(scope) { return (0, import_jquery7.default)(scope).find(".shiny-input-checkboxgroup"); } }, { key: "getValue", value: function getValue(el) { var $objs = (0, import_jquery7.default)('input:checkbox[name="' + $escape(el.id) + '"]:checked'); var values2 = new Array($objs.length); for (var i5 = 0; i5 < $objs.length; i5++) { values2[i5] = $objs[i5].value; } return values2; } }, { key: "setValue", value: function setValue(el, value) { var _value; value = (_value = value) !== null && _value !== void 0 ? _value : []; (0, import_jquery7.default)('input:checkbox[name="' + $escape(el.id) + '"]').prop("checked", false); if (value instanceof Array) { for (var i5 = 0; i5 < value.length; i5++) { (0, import_jquery7.default)('input:checkbox[name="' + $escape(el.id) + '"][value="' + $escape(value[i5]) + '"]').prop("checked", true); } } else { (0, import_jquery7.default)('input:checkbox[name="' + $escape(el.id) + '"][value="' + $escape(value) + '"]').prop("checked", true); } } }, { key: "getState", value: function getState(el) { var $objs = (0, import_jquery7.default)('input:checkbox[name="' + $escape(el.id) + '"]'); var options = new Array($objs.length); for (var i5 = 0; i5 < options.length; i5++) { options[i5] = { value: $objs[i5].value, label: getLabel($objs[i5]) }; } return { label: getLabelNode(el).text(), value: this.getValue(el), options: options }; } }, { key: "receiveMessage", value: function receiveMessage(el, data) { var $el = (0, import_jquery7.default)(el); if (hasDefinedProperty(data, "options")) { $el.find("div.shiny-options-group").remove(); $el.find("label.checkbox").remove(); $el.append(data.options); } if (hasDefinedProperty(data, "value")) { this.setValue(el, data.value); } updateLabel(data.label, getLabelNode(el)); (0, import_jquery7.default)(el).trigger("change"); } }, { key: "subscribe", value: function subscribe(el, callback) { (0, import_jquery7.default)(el).on("change.checkboxGroupInputBinding", function() { callback(false); }); } }, { key: "unsubscribe", value: function unsubscribe(el) { (0, import_jquery7.default)(el).off(".checkboxGroupInputBinding"); } }]); return CheckboxGroupInputBinding2; }(InputBinding); // srcts/src/bindings/input/date.ts var import_es_array_iterator6 = __toESM(require_es_array_iterator()); var import_jquery8 = __toESM(require_jquery()); function _typeof6(obj) { "@babel/helpers - typeof"; return _typeof6 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) { return typeof obj2; } : function(obj2) { return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2; }, _typeof6(obj); } function _classCallCheck6(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties6(target, props) { for (var i5 = 0; i5 < props.length; i5++) { var descriptor = props[i5]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey6(descriptor.key), descriptor); } } function _createClass6(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties6(Constructor.prototype, protoProps); if (staticProps) _defineProperties6(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _toPropertyKey6(arg) { var key = _toPrimitive6(arg, "string"); return _typeof6(key) === "symbol" ? key : String(key); } function _toPrimitive6(input, hint) { if (_typeof6(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== void 0) { var res = prim.call(input, hint || "default"); if (_typeof6(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _inherits4(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf4(subClass, superClass); } function _setPrototypeOf4(o4, p3) { _setPrototypeOf4 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf26(o5, p4) { o5.__proto__ = p4; return o5; }; return _setPrototypeOf4(o4, p3); } function _createSuper4(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct4(); return function _createSuperInternal() { var Super = _getPrototypeOf4(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf4(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn4(this, result); }; } function _possibleConstructorReturn4(self2, call8) { if (call8 && (_typeof6(call8) === "object" || typeof call8 === "function")) { return call8; } else if (call8 !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized4(self2); } function _assertThisInitialized4(self2) { if (self2 === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self2; } function _isNativeReflectConstruct4() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })); return true; } catch (e4) { return false; } } function _getPrototypeOf4(o4) { _getPrototypeOf4 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf26(o5) { return o5.__proto__ || Object.getPrototypeOf(o5); }; return _getPrototypeOf4(o4); } var DateInputBindingBase = /* @__PURE__ */ function(_InputBinding) { _inherits4(DateInputBindingBase2, _InputBinding); var _super = _createSuper4(DateInputBindingBase2); function DateInputBindingBase2() { _classCallCheck6(this, DateInputBindingBase2); return _super.apply(this, arguments); } _createClass6(DateInputBindingBase2, [{ key: "find", value: function find2(scope) { return (0, import_jquery8.default)(scope).find(".shiny-date-input"); } }, { key: "getType", value: function getType(el) { return "shiny.date"; el; } }, { key: "subscribe", value: function subscribe(el, callback) { (0, import_jquery8.default)(el).on( "changeDate.dateInputBinding change.dateInputBinding", function() { callback(false); } ); } }, { key: "unsubscribe", value: function unsubscribe(el) { (0, import_jquery8.default)(el).off(".dateInputBinding"); } }, { key: "getRatePolicy", value: function getRatePolicy() { return { policy: "debounce", delay: 250 }; } }, { key: "setValue", value: function setValue(el, data) { throw "not implemented"; el; data; } }, { key: "initialize", value: function initialize(el) { var $input = (0, import_jquery8.default)(el).find("input"); var date = $input.data("initial-date"); if (date === void 0 || date === null) { date = this._floorDateTime(this._dateAsUTC(new Date())); } this.setValue(el, date); if ($input.data("min-date") !== void 0) { this._setMin($input[0], $input.data("min-date")); } if ($input.data("max-date") !== void 0) { this._setMax($input[0], $input.data("max-date")); } } }, { key: "_getLabelNode", value: function _getLabelNode(el) { return (0, import_jquery8.default)(el).find('label[for="' + $escape(el.id) + '"]'); } }, { key: "_formatToString", value: function _formatToString(format) { var str = ""; var i5; for (i5 = 0; i5 < format.parts.length; i5++) { str += format.separators[i5] + format.parts[i5]; } str += format.separators[i5]; return str; } }, { key: "_setMin", value: function _setMin(el, date) { if (date === null) { (0, import_jquery8.default)(el).bsDatepicker("setStartDate", null); return; } var parsedDate = this._newDate(date); if (parsedDate === null) return; date = parsedDate; if (isNaN(date.valueOf())) return; var curValue = (0, import_jquery8.default)(el).bsDatepicker("getUTCDate"); (0, import_jquery8.default)(el).bsDatepicker("setStartDate", this._utcDateAsLocal(date)); if (date && curValue && date.getTime() > curValue.getTime()) { (0, import_jquery8.default)(el).bsDatepicker("clearDates"); } else { (0, import_jquery8.default)(el).bsDatepicker("setUTCDate", curValue); } } }, { key: "_setMax", value: function _setMax(el, date) { if (date === null) { (0, import_jquery8.default)(el).bsDatepicker("setEndDate", null); return; } var parsedDate = this._newDate(date); if (parsedDate === null) return; date = parsedDate; if (isNaN(date.valueOf())) return; var curValue = (0, import_jquery8.default)(el).bsDatepicker("getUTCDate"); (0, import_jquery8.default)(el).bsDatepicker("setEndDate", this._utcDateAsLocal(date)); if (date && curValue && date.getTime() < curValue.getTime()) { (0, import_jquery8.default)(el).bsDatepicker("clearDates"); } else { (0, import_jquery8.default)(el).bsDatepicker("setUTCDate", curValue); } } }, { key: "_newDate", value: function _newDate(date) { if (date instanceof Date) return date; if (!date) return null; var d4 = parseDate(date); if (isNaN(d4.valueOf())) return null; return d4; } }, { key: "_floorDateTime", value: function _floorDateTime(date) { date = new Date(date.getTime()); date.setUTCHours(0, 0, 0, 0); return date; } }, { key: "_dateAsUTC", value: function _dateAsUTC(date) { return new Date(date.getTime() - date.getTimezoneOffset() * 6e4); } }, { key: "_utcDateAsLocal", value: function _utcDateAsLocal(date) { return new Date(date.getTime() + date.getTimezoneOffset() * 6e4); } }]); return DateInputBindingBase2; }(InputBinding); var DateInputBinding = /* @__PURE__ */ function(_DateInputBindingBase) { _inherits4(DateInputBinding2, _DateInputBindingBase); var _super2 = _createSuper4(DateInputBinding2); function DateInputBinding2() { _classCallCheck6(this, DateInputBinding2); return _super2.apply(this, arguments); } _createClass6(DateInputBinding2, [{ key: "getValue", value: function getValue(el) { var date = (0, import_jquery8.default)(el).find("input").bsDatepicker("getUTCDate"); return formatDateUTC(date); } }, { key: "setValue", value: function setValue(el, value) { if (value === null) { (0, import_jquery8.default)(el).find("input").val("").bsDatepicker("update"); return; } var date = this._newDate(value); if (date === null) { return; } if (isNaN(date.valueOf())) return; (0, import_jquery8.default)(el).find("input").bsDatepicker("setUTCDate", date); } }, { key: "getState", value: function getState(el) { var $el = (0, import_jquery8.default)(el); var $input = $el.find("input"); var min6 = $input.data("datepicker").startDate; var max4 = $input.data("datepicker").endDate; min6 = min6 === -Infinity ? null : formatDateUTC(min6); max4 = max4 === Infinity ? null : formatDateUTC(max4); var startview = $input.data("datepicker").startViewMode; if (startview === 2) startview = "decade"; else if (startview === 1) startview = "year"; else if (startview === 0) startview = "month"; return { label: this._getLabelNode(el).text(), value: this.getValue(el), valueString: $input.val(), min: min6, max: max4, language: $input.data("datepicker").language, weekstart: $input.data("datepicker").weekStart, format: this._formatToString($input.data("datepicker").format), startview: startview }; } }, { key: "receiveMessage", value: function receiveMessage(el, data) { var $input = (0, import_jquery8.default)(el).find("input"); updateLabel(data.label, this._getLabelNode(el)); if (hasDefinedProperty(data, "min")) this._setMin($input[0], data.min); if (hasDefinedProperty(data, "max")) this._setMax($input[0], data.max); if (hasDefinedProperty(data, "value")) this.setValue(el, data.value); (0, import_jquery8.default)(el).trigger("change"); } }]); return DateInputBinding2; }(DateInputBindingBase); // srcts/src/bindings/input/daterange.ts var import_es_array_iterator7 = __toESM(require_es_array_iterator()); var import_jquery9 = __toESM(require_jquery()); function _typeof7(obj) { "@babel/helpers - typeof"; return _typeof7 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) { return typeof obj2; } : function(obj2) { return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2; }, _typeof7(obj); } function _classCallCheck7(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties7(target, props) { for (var i5 = 0; i5 < props.length; i5++) { var descriptor = props[i5]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey7(descriptor.key), descriptor); } } function _createClass7(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties7(Constructor.prototype, protoProps); if (staticProps) _defineProperties7(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _toPropertyKey7(arg) { var key = _toPrimitive7(arg, "string"); return _typeof7(key) === "symbol" ? key : String(key); } function _toPrimitive7(input, hint) { if (_typeof7(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== void 0) { var res = prim.call(input, hint || "default"); if (_typeof7(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _inherits5(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf5(subClass, superClass); } function _setPrototypeOf5(o4, p3) { _setPrototypeOf5 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf26(o5, p4) { o5.__proto__ = p4; return o5; }; return _setPrototypeOf5(o4, p3); } function _createSuper5(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct5(); return function _createSuperInternal() { var Super = _getPrototypeOf5(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf5(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn5(this, result); }; } function _possibleConstructorReturn5(self2, call8) { if (call8 && (_typeof7(call8) === "object" || typeof call8 === "function")) { return call8; } else if (call8 !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized5(self2); } function _assertThisInitialized5(self2) { if (self2 === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self2; } function _isNativeReflectConstruct5() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })); return true; } catch (e4) { return false; } } function _getPrototypeOf5(o4) { _getPrototypeOf5 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf26(o5) { return o5.__proto__ || Object.getPrototypeOf(o5); }; return _getPrototypeOf5(o4); } function getLabelNode2(el) { return (0, import_jquery9.default)(el).find('label[for="' + $escape(el.id) + '"]'); } var DateRangeInputBinding = /* @__PURE__ */ function(_DateInputBindingBase) { _inherits5(DateRangeInputBinding2, _DateInputBindingBase); var _super = _createSuper5(DateRangeInputBinding2); function DateRangeInputBinding2() { _classCallCheck7(this, DateRangeInputBinding2); return _super.apply(this, arguments); } _createClass7(DateRangeInputBinding2, [{ key: "find", value: function find2(scope) { return (0, import_jquery9.default)(scope).find(".shiny-date-range-input"); } }, { key: "getValue", value: function getValue(el) { var $inputs = (0, import_jquery9.default)(el).find("input"); var start = $inputs.eq(0).bsDatepicker("getUTCDate"); var end = $inputs.eq(1).bsDatepicker("getUTCDate"); return [formatDateUTC(start), formatDateUTC(end)]; } }, { key: "setValue", value: function setValue(el, value) { if (!(value instanceof Object)) { return; } var $inputs = (0, import_jquery9.default)(el).find("input"); if (value.start !== void 0) { if (value.start === null) { $inputs.eq(0).val("").bsDatepicker("update"); } else { var start = this._newDate(value.start); $inputs.eq(0).bsDatepicker("setUTCDate", start); } } if (value.end !== void 0) { if (value.end === null) { $inputs.eq(1).val("").bsDatepicker("update"); } else { var end = this._newDate(value.end); $inputs.eq(1).bsDatepicker("setUTCDate", end); } } } }, { key: "getState", value: function getState(el) { var $el = (0, import_jquery9.default)(el); var $inputs = $el.find("input"); var $startinput = $inputs.eq(0); var $endinput = $inputs.eq(1); var min6 = $startinput.bsDatepicker("getStartDate"); var max4 = $startinput.bsDatepicker("getEndDate"); var minStr = min6 === -Infinity ? null : formatDateUTC(min6); var maxStr = max4 === Infinity ? null : formatDateUTC(max4); var startview = $startinput.data("datepicker").startView; if (startview === 2) startview = "decade"; else if (startview === 1) startview = "year"; else if (startview === 0) startview = "month"; return { label: getLabelNode2(el).text(), value: this.getValue(el), valueString: [$startinput.val(), $endinput.val()], min: minStr, max: maxStr, weekstart: $startinput.data("datepicker").weekStart, format: this._formatToString($startinput.data("datepicker").format), language: $startinput.data("datepicker").language, startview: startview }; } }, { key: "receiveMessage", value: function receiveMessage(el, data) { var $el = (0, import_jquery9.default)(el); var $inputs = $el.find("input"); var $startinput = $inputs.eq(0); var $endinput = $inputs.eq(1); updateLabel(data.label, getLabelNode2(el)); if (hasDefinedProperty(data, "min")) { this._setMin($startinput[0], data.min); this._setMin($endinput[0], data.min); } if (hasDefinedProperty(data, "max")) { this._setMax($startinput[0], data.max); this._setMax($endinput[0], data.max); } if (hasDefinedProperty(data, "value")) { this.setValue(el, data.value); } $el.trigger("change"); } }, { key: "initialize", value: function initialize(el) { var $el = (0, import_jquery9.default)(el); var $inputs = $el.find("input"); var $startinput = $inputs.eq(0); var $endinput = $inputs.eq(1); var start = $startinput.data("initial-date"); var end = $endinput.data("initial-date"); if (start === void 0 || start === null) start = this._dateAsUTC(new Date()); if (end === void 0 || end === null) end = this._dateAsUTC(new Date()); this.setValue(el, { start: start, end: end }); this._setMin($startinput[0], $startinput.data("min-date")); this._setMin($endinput[0], $startinput.data("min-date")); this._setMax($startinput[0], $endinput.data("max-date")); this._setMax($endinput[0], $endinput.data("max-date")); } }, { key: "subscribe", value: function subscribe(el, callback) { (0, import_jquery9.default)(el).on( "changeDate.dateRangeInputBinding change.dateRangeInputBinding", function() { callback(false); } ); } }, { key: "unsubscribe", value: function unsubscribe(el) { (0, import_jquery9.default)(el).off(".dateRangeInputBinding"); } }]); return DateRangeInputBinding2; }(DateInputBindingBase); // srcts/src/bindings/input/fileinput.ts var import_es_array_iterator10 = __toESM(require_es_array_iterator()); var import_jquery12 = __toESM(require_jquery()); // node_modules/core-js/modules/es.array.from.js var $30 = require_export(); var from = require_array_from(); var checkCorrectnessOfIteration = require_check_correctness_of_iteration(); var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function(iterable) { Array.from(iterable); }); $30({ target: "Array", stat: true, forced: INCORRECT_ITERATION }, { from: from }); // node_modules/core-js/modules/es.array.map.js var $31 = require_export(); var $map = require_array_iteration().map; var arrayMethodHasSpeciesSupport4 = require_array_method_has_species_support(); var HAS_SPECIES_SUPPORT3 = arrayMethodHasSpeciesSupport4("map"); $31({ target: "Array", proto: true, forced: !HAS_SPECIES_SUPPORT3 }, { map: function map(callbackfn) { return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); } }); // srcts/src/file/fileProcessor.ts var import_es_array_iterator9 = __toESM(require_es_array_iterator()); var import_jquery11 = __toESM(require_jquery()); // srcts/src/events/inputChanged.ts var import_jquery10 = __toESM(require_jquery()); function triggerFileInputChanged(name, value, binding, el, inputType, onEl) { var evt = import_jquery10.default.Event("shiny:inputchanged"); evt.name = name; evt.value = value; evt.binding = binding; evt.el = el; evt.inputType = inputType; (0, import_jquery10.default)(onEl).trigger(evt); return evt; } // srcts/src/shiny/initedMethods.ts var import_es_array_iterator8 = __toESM(require_es_array_iterator()); function _typeof8(obj) { "@babel/helpers - typeof"; return _typeof8 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) { return typeof obj2; } : function(obj2) { return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2; }, _typeof8(obj); } function _regeneratorRuntime() { "use strict"; _regeneratorRuntime = function _regeneratorRuntime15() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn5 = Op.hasOwnProperty, defineProperty3 = Object.defineProperty || function(obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }), obj[key]; } try { define({}, ""); } catch (err) { define = function define2(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self2, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty3(generator, "_invoke", { value: makeInvokeMethod(innerFn, self2, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() { } function GeneratorFunction() { } function GeneratorFunctionPrototype() { } var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function() { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values2([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn5.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function(method) { define(prototype, method, function(arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof8(value) && hasOwn5.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function(value2) { invoke("next", value2, resolve, reject); }, function(err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function(unwrapped) { result.value = unwrapped, resolve(result); }, function(error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty3(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function(resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self2, context) { var state = "suspendedStart"; return function(method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg; ; ) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg; else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self2, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (void 0 === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = void 0, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = void 0), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(true); } function values2(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i5 = -1, next2 = function next3() { for (; ++i5 < iterable.length; ) if (hasOwn5.call(iterable, i5)) return next3.value = iterable[i5], next3.done = false, next3; return next3.value = void 0, next3.done = true, next3; }; return next2.next = next2; } } return { next: doneResult }; } function doneResult() { return { value: void 0, done: true }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty3(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), defineProperty3(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function(genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function(genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function(arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function() { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function(innerFn, outerFn, self2, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self2, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function(result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function() { return this; }), define(Gp, "toString", function() { return "[object Generator]"; }), exports.keys = function(val) { var object = Object(val), keys2 = []; for (var key in object) keys2.push(key); return keys2.reverse(), function next2() { for (; keys2.length; ) { var key2 = keys2.pop(); if (key2 in object) return next2.value = key2, next2.done = false, next2; } return next2.done = true, next2; }; }, exports.values = values2, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done = false, this.delegate = null, this.method = "next", this.arg = void 0, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn5.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = void 0); }, stop: function stop() { this.done = true; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = void 0), !!caught; } for (var i5 = this.tryEntries.length - 1; i5 >= 0; --i5) { var entry = this.tryEntries[i5], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn5.call(entry, "catchLoc"), hasFinally = hasOwn5.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, true); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, true); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i5 = this.tryEntries.length - 1; i5 >= 0; --i5) { var entry = this.tryEntries[i5]; if (entry.tryLoc <= this.prev && hasOwn5.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i5 = this.tryEntries.length - 1; i5 >= 0; --i5) { var entry = this.tryEntries[i5]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i5 = this.tryEntries.length - 1; i5 >= 0; --i5) { var entry = this.tryEntries[i5]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values2(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = void 0), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function() { var self2 = this, args = arguments; return new Promise(function(resolve, reject) { var gen = fn.apply(self2, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(void 0); }); }; } var fullShinyObj; function setShinyObj(shiny) { fullShinyObj = shiny; } function validateShinyHasBeenSet() { if (typeof fullShinyObj === "undefined") { throw "Shiny has not finish initialization yet. Please wait for the 'shiny-initialized' event."; } return fullShinyObj; } function shinySetInputValue(name, value, opts) { validateShinyHasBeenSet().setInputValue(name, value, opts); } function shinyShinyApp() { return validateShinyHasBeenSet().shinyapp; } function setShinyUser(user) { validateShinyHasBeenSet().user = user; } function shinyForgetLastInputValue(name) { validateShinyHasBeenSet().forgetLastInputValue(name); } function shinyBindAll(_x) { return _shinyBindAll.apply(this, arguments); } function _shinyBindAll() { _shinyBindAll = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function _callee(scope) { return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: _context.next = 2; return validateShinyHasBeenSet().bindAll(scope); case 2: case "end": return _context.stop(); } }, _callee); })); return _shinyBindAll.apply(this, arguments); } function shinyUnbindAll(scope) { var includeSelf = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false; validateShinyHasBeenSet().unbindAll(scope, includeSelf); } function shinyInitializeInputs(scope) { validateShinyHasBeenSet().initializeInputs(scope); } function shinyAppBindOutput(_x2, _x3) { return _shinyAppBindOutput.apply(this, arguments); } function _shinyAppBindOutput() { _shinyAppBindOutput = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function _callee2(id, binding) { return _regeneratorRuntime().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: _context2.next = 2; return shinyShinyApp().bindOutput(id, binding); case 2: case "end": return _context2.stop(); } }, _callee2); })); return _shinyAppBindOutput.apply(this, arguments); } function shinyAppUnbindOutput(id, binding) { return shinyShinyApp().unbindOutput(id, binding); } function getShinyOnCustomMessage() { return validateShinyHasBeenSet().oncustommessage; } var fileInputBinding; function getFileInputBinding() { return fileInputBinding; } function setFileInputBinding(fileInputBinding_) { fileInputBinding = fileInputBinding_; } function getShinyCreateWebsocket() { return validateShinyHasBeenSet().createSocket; } // srcts/src/file/fileProcessor.ts function _typeof9(obj) { "@babel/helpers - typeof"; return _typeof9 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) { return typeof obj2; } : function(obj2) { return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2; }, _typeof9(obj); } function _inherits6(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf6(subClass, superClass); } function _setPrototypeOf6(o4, p3) { _setPrototypeOf6 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf26(o5, p4) { o5.__proto__ = p4; return o5; }; return _setPrototypeOf6(o4, p3); } function _createSuper6(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct6(); return function _createSuperInternal() { var Super = _getPrototypeOf6(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf6(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn6(this, result); }; } function _possibleConstructorReturn6(self2, call8) { if (call8 && (_typeof9(call8) === "object" || typeof call8 === "function")) { return call8; } else if (call8 !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized6(self2); } function _assertThisInitialized6(self2) { if (self2 === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self2; } function _isNativeReflectConstruct6() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })); return true; } catch (e4) { return false; } } function _getPrototypeOf6(o4) { _getPrototypeOf6 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf26(o5) { return o5.__proto__ || Object.getPrototypeOf(o5); }; return _getPrototypeOf6(o4); } function _classCallCheck8(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties8(target, props) { for (var i5 = 0; i5 < props.length; i5++) { var descriptor = props[i5]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey8(descriptor.key), descriptor); } } function _createClass8(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties8(Constructor.prototype, protoProps); if (staticProps) _defineProperties8(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _defineProperty3(obj, key, value) { key = _toPropertyKey8(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } function _toPropertyKey8(arg) { var key = _toPrimitive8(arg, "string"); return _typeof9(key) === "symbol" ? key : String(key); } function _toPrimitive8(input, hint) { if (_typeof9(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== void 0) { var res = prim.call(input, hint || "default"); if (_typeof9(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } var FileProcessor = /* @__PURE__ */ function() { function FileProcessor2(files) { var exec$run = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : true; _classCallCheck8(this, FileProcessor2); _defineProperty3(this, "files", void 0); _defineProperty3(this, "fileIndex", -1); _defineProperty3(this, "aborted", false); _defineProperty3(this, "completed", false); this.files = Array.from(files); if (exec$run) { this.$run(); } } _createClass8(FileProcessor2, [{ key: "onBegin", value: function onBegin(files, cont) { files; setTimeout(cont, 0); } }, { key: "onFile", value: function onFile(file, cont) { file; setTimeout(cont, 0); } }, { key: "onComplete", value: function onComplete() { return; } }, { key: "onAbort", value: function onAbort() { return; } }, { key: "abort", value: function abort() { if (this.completed || this.aborted) return; this.aborted = true; this.onAbort(); } }, { key: "$getRun", value: function $getRun() { var _this = this; var called = false; return function() { if (called) return; called = true; _this.$run(); }; } }, { key: "$run", value: function $run() { if (this.aborted || this.completed) return; if (this.fileIndex < 0) { this.fileIndex = 0; this.onBegin(this.files, this.$getRun()); return; } if (this.fileIndex === this.files.length) { this.completed = true; this.onComplete(); return; } var file = this.files[this.fileIndex++]; this.onFile(file, this.$getRun()); } }]); return FileProcessor2; }(); var FileUploader = /* @__PURE__ */ function(_FileProcessor) { _inherits6(FileUploader2, _FileProcessor); var _super = _createSuper6(FileUploader2); function FileUploader2(shinyapp, id, files, el) { var _this2; _classCallCheck8(this, FileUploader2); _this2 = _super.call(this, files, false); _defineProperty3(_assertThisInitialized6(_this2), "shinyapp", void 0); _defineProperty3(_assertThisInitialized6(_this2), "id", void 0); _defineProperty3(_assertThisInitialized6(_this2), "el", void 0); _defineProperty3(_assertThisInitialized6(_this2), "jobId", void 0); _defineProperty3(_assertThisInitialized6(_this2), "uploadUrl", void 0); _defineProperty3(_assertThisInitialized6(_this2), "progressBytes", void 0); _defineProperty3(_assertThisInitialized6(_this2), "totalBytes", void 0); _this2.shinyapp = shinyapp; _this2.id = id; _this2.el = el; _this2.$run(); return _this2; } _createClass8(FileUploader2, [{ key: "makeRequest", value: function makeRequest(method, args, onSuccess, onFailure, blobs) { this.shinyapp.makeRequest(method, args, onSuccess, onFailure, blobs); } }, { key: "onBegin", value: function onBegin(files, cont) { var _this3 = this; this.$setError(null); this.$setActive(true); this.$setVisible(true); this.onProgress(null, 0); this.totalBytes = 0; this.progressBytes = 0; import_jquery11.default.each(files, function(i5, file) { _this3.totalBytes += file.size; }); var fileInfo = import_jquery11.default.map(files, function(file) { return { name: file.name, size: file.size, type: file.type }; }); this.makeRequest("uploadInit", [fileInfo], function(response) { _this3.jobId = response.jobId; _this3.uploadUrl = response.uploadUrl; cont(); }, function(error) { _this3.onError(error); }, void 0); } }, { key: "onFile", value: function onFile(file, cont) { var _this4 = this; this.onProgress(file, 0); import_jquery11.default.ajax(this.uploadUrl, { type: "POST", cache: false, xhr: function xhr() { if (typeof import_jquery11.default.ajaxSettings.xhr !== "function") throw "jQuery's XHR is not a function"; var xhrVal = import_jquery11.default.ajaxSettings.xhr(); if (xhrVal.upload) { xhrVal.upload.onprogress = function(e4) { if (e4.lengthComputable) { _this4.onProgress(file, (_this4.progressBytes + e4.loaded) / _this4.totalBytes); } }; } return xhrVal; }, data: file, contentType: "application/octet-stream", processData: false, success: function success() { _this4.progressBytes += file.size; cont(); }, error: function error(jqXHR, textStatus, errorThrown) { errorThrown; _this4.onError(jqXHR.responseText || textStatus); } }); } }, { key: "onComplete", value: function onComplete() { var _this5 = this; var fileInfo = import_jquery11.default.map(this.files, function(file, i5) { return { name: file.name, size: file.size, type: file.type }; i5; }); var evt = triggerFileInputChanged(this.id, fileInfo, getFileInputBinding(), this.el, "shiny.fileupload", document); this.makeRequest("uploadEnd", [this.jobId, this.id], function() { _this5.$setActive(false); _this5.onProgress(null, 1); _this5.$bar().text("Upload complete"); (0, import_jquery11.default)(evt.el).val(""); }, function(error) { _this5.onError(error); }, void 0); this.$bar().text("Finishing upload"); } }, { key: "onError", value: function onError(message) { this.$setError(message || ""); this.$setActive(false); } }, { key: "onAbort", value: function onAbort() { this.$setVisible(false); } }, { key: "onProgress", value: function onProgress(file, completed) { this.$bar().width(Math.round(completed * 100) + "%"); this.$bar().text(file ? file.name : ""); } }, { key: "$container", value: function $container() { return (0, import_jquery11.default)("#" + $escape(this.id) + "_progress.shiny-file-input-progress"); } }, { key: "$bar", value: function $bar() { return (0, import_jquery11.default)("#" + $escape(this.id) + "_progress.shiny-file-input-progress .progress-bar"); } }, { key: "$setVisible", value: function $setVisible(visible) { this.$container().css("visibility", visible ? "visible" : "hidden"); } }, { key: "$setError", value: function $setError(error) { this.$bar().toggleClass("progress-bar-danger", error !== null); if (error !== null) { this.onProgress(null, 1); this.$bar().text(error); } } }, { key: "$setActive", value: function $setActive(active) { this.$container().toggleClass("active", !!active); } }]); return FileUploader2; }(FileProcessor); // srcts/src/bindings/input/fileinput.ts function _typeof10(obj) { "@babel/helpers - typeof"; return _typeof10 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) { return typeof obj2; } : function(obj2) { return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2; }, _typeof10(obj); } function _classCallCheck9(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties9(target, props) { for (var i5 = 0; i5 < props.length; i5++) { var descriptor = props[i5]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey9(descriptor.key), descriptor); } } function _createClass9(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties9(Constructor.prototype, protoProps); if (staticProps) _defineProperties9(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _toPropertyKey9(arg) { var key = _toPrimitive9(arg, "string"); return _typeof10(key) === "symbol" ? key : String(key); } function _toPrimitive9(input, hint) { if (_typeof10(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== void 0) { var res = prim.call(input, hint || "default"); if (_typeof10(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _inherits7(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf7(subClass, superClass); } function _setPrototypeOf7(o4, p3) { _setPrototypeOf7 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf26(o5, p4) { o5.__proto__ = p4; return o5; }; return _setPrototypeOf7(o4, p3); } function _createSuper7(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct7(); return function _createSuperInternal() { var Super = _getPrototypeOf7(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf7(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn7(this, result); }; } function _possibleConstructorReturn7(self2, call8) { if (call8 && (_typeof10(call8) === "object" || typeof call8 === "function")) { return call8; } else if (call8 !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized7(self2); } function _assertThisInitialized7(self2) { if (self2 === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self2; } function _isNativeReflectConstruct7() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })); return true; } catch (e4) { return false; } } function _getPrototypeOf7(o4) { _getPrototypeOf7 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf26(o5) { return o5.__proto__ || Object.getPrototypeOf(o5); }; return _getPrototypeOf7(o4); } var zoneActive = "shiny-file-input-active"; var zoneOver = "shiny-file-input-over"; function zoneOf(el) { return (0, import_jquery12.default)(el).closest("div.input-group"); } function enableDraghover(el) { var $el = (0, import_jquery12.default)(el); var childCounter = 0; $el.on({ "dragenter.draghover": function dragenterDraghover(e4) { if (childCounter++ === 0) { $el.trigger("draghover:enter", e4); } }, "dragleave.draghover": function dragleaveDraghover(e4) { if (--childCounter === 0) { $el.trigger("draghover:leave", e4); } if (childCounter < 0) { console.error("draghover childCounter is negative somehow"); } }, "dragover.draghover": function dragoverDraghover(e4) { e4.preventDefault(); }, "drop.draghover": function dropDraghover(e4) { childCounter = 0; $el.trigger("draghover:drop", e4); e4.preventDefault(); } }); return $el; } function disableDraghover(el) { return (0, import_jquery12.default)(el).off(".draghover"); } function enableDocumentEvents() { var $doc = (0, import_jquery12.default)("html"); enableDraghover($doc).on({ "draghover:enter.draghover": function draghoverEnterDraghover() { zoneOf($fileInputs).addClass(zoneActive); }, "draghover:leave.draghover": function draghoverLeaveDraghover() { zoneOf($fileInputs).removeClass(zoneActive); }, "draghover:drop.draghover": function draghoverDropDraghover() { zoneOf($fileInputs).removeClass(zoneOver).removeClass(zoneActive); } }); } function disableDocumentEvents() { var $doc = (0, import_jquery12.default)("html"); $doc.off(".draghover"); disableDraghover($doc); } function canSetFiles(fileList) { var testEl = document.createElement("input"); testEl.type = "file"; try { testEl.files = fileList; } catch (e4) { return false; } return true; } function handleDrop(e4, el) { var _e$originalEvent, _e$originalEvent$data; var files = (_e$originalEvent = e4.originalEvent) === null || _e$originalEvent === void 0 ? void 0 : (_e$originalEvent$data = _e$originalEvent.dataTransfer) === null || _e$originalEvent$data === void 0 ? void 0 : _e$originalEvent$data.files, $el = (0, import_jquery12.default)(el); if (files === void 0 || files === null) { console.log("Dropping files is not supported on this browser. (no FileList)"); } else if (!canSetFiles(files)) { $el.val(""); uploadDroppedFilesIE10Plus(el, files); } else { $el.val(""); el.files = files; $el.trigger("change"); } } function setFileText($el, files) { var $fileText = $el.closest("div.input-group").find("input[type=text]"); if (files.length === 1) { $fileText.val(files[0].name); } else { $fileText.val(files.length + " files"); } } function abortCurrentUpload($el) { var uploader = $el.data("currentUploader"); if (uploader) uploader.abort(); $el.removeAttr("data-restore"); } function uploadDroppedFilesIE10Plus(el, files) { var $el = (0, import_jquery12.default)(el); abortCurrentUpload($el); setFileText($el, files); $el.data("currentUploader", new FileUploader(shinyShinyApp(), fileInputBindingGetId(el), files, el)); } function uploadFiles(evt) { var $el = (0, import_jquery12.default)(evt.target); abortCurrentUpload($el); var files = evt.target.files; var id = fileInputBindingGetId(evt.target); if (files.length === 0) return; setFileText($el, files); $el.data("currentUploader", new FileUploader(shinyShinyApp(), id, files, evt.target)); } var $fileInputs = (0, import_jquery12.default)(); function fileInputBindingGetId(el) { return InputBinding.prototype.getId.call(this, el) || el.name; } var FileInputBinding = /* @__PURE__ */ function(_InputBinding) { _inherits7(FileInputBinding2, _InputBinding); var _super = _createSuper7(FileInputBinding2); function FileInputBinding2() { _classCallCheck9(this, FileInputBinding2); return _super.apply(this, arguments); } _createClass9(FileInputBinding2, [{ key: "find", value: function find2(scope) { return (0, import_jquery12.default)(scope).find('input[type="file"]'); } }, { key: "getId", value: function getId(el) { return fileInputBindingGetId(el); } }, { key: "getValue", value: function getValue(el) { var data = (0, import_jquery12.default)(el).attr("data-restore"); if (data) { var dataParsed = JSON.parse(data); var $fileText = (0, import_jquery12.default)(el).closest("div.input-group").find("input[type=text]"); if (dataParsed.name.length === 1) { $fileText.val(dataParsed.name[0]); } else { $fileText.val(dataParsed.name.length + " files"); } var $progress = (0, import_jquery12.default)(el).closest("div.form-group").find(".progress"); var $bar = $progress.find(".progress-bar"); $progress.removeClass("active"); $bar.width("100%"); $bar.css("visibility", "visible"); return dataParsed; } else { return null; } } }, { key: "setValue", value: function setValue(el, value) { el; value; } }, { key: "getType", value: function getType(el) { return "shiny.file"; el; } }, { key: "subscribe", value: function subscribe(el, callback) { callback; (0, import_jquery12.default)(el).on("change.fileInputBinding", uploadFiles); if ($fileInputs.length === 0) enableDocumentEvents(); $fileInputs = $fileInputs.add(el); var $zone = zoneOf(el); enableDraghover($zone).on({ "draghover:enter.draghover": function draghoverEnterDraghover(e4) { e4; $zone.addClass(zoneOver); }, "draghover:leave.draghover": function draghoverLeaveDraghover(e4) { $zone.removeClass(zoneOver); e4.stopPropagation(); }, "draghover:drop.draghover": function draghoverDropDraghover(e4, dropEvent) { e4; handleDrop(dropEvent, el); } }); } }, { key: "unsubscribe", value: function unsubscribe(el) { var $el = (0, import_jquery12.default)(el), $zone = zoneOf(el); $zone.removeClass(zoneOver).removeClass(zoneActive); disableDraghover($zone); $el.off(".fileInputBinding"); $zone.off(".draghover"); $fileInputs = $fileInputs.not(el); if ($fileInputs.length === 0) disableDocumentEvents(); } }]); return FileInputBinding2; }(InputBinding); // srcts/src/bindings/input/number.ts var import_es_regexp_exec3 = __toESM(require_es_regexp_exec()); var import_es_array_iterator12 = __toESM(require_es_array_iterator()); var import_jquery14 = __toESM(require_jquery()); // node_modules/core-js/modules/es.reflect.get.js var $35 = require_export(); var call6 = require_function_call(); var isObject4 = require_is_object(); var anObject8 = require_an_object(); var isDataDescriptor = require_is_data_descriptor(); var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor(); var getPrototypeOf2 = require_object_get_prototype_of(); function get(target, propertyKey) { var receiver = arguments.length < 3 ? target : arguments[2]; var descriptor, prototype; if (anObject8(target) === receiver) return target[propertyKey]; descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey); if (descriptor) return isDataDescriptor(descriptor) ? descriptor.value : descriptor.get === void 0 ? void 0 : call6(descriptor.get, receiver); if (isObject4(prototype = getPrototypeOf2(target))) return get(prototype, propertyKey, receiver); } $35({ target: "Reflect", stat: true }, { get: get }); // node_modules/core-js/modules/es.object.get-own-property-descriptor.js var $36 = require_export(); var fails10 = require_fails(); var toIndexedObject2 = require_to_indexed_object(); var nativeGetOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; var DESCRIPTORS5 = require_descriptors(); var FORCED6 = !DESCRIPTORS5 || fails10(function() { nativeGetOwnPropertyDescriptor(1); }); $36({ target: "Object", stat: true, forced: FORCED6, sham: !DESCRIPTORS5 }, { getOwnPropertyDescriptor: function getOwnPropertyDescriptor2(it, key) { return nativeGetOwnPropertyDescriptor(toIndexedObject2(it), key); } }); // srcts/src/bindings/input/text.ts var import_es_array_iterator11 = __toESM(require_es_array_iterator()); var import_jquery13 = __toESM(require_jquery()); function _typeof11(obj) { "@babel/helpers - typeof"; return _typeof11 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) { return typeof obj2; } : function(obj2) { return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2; }, _typeof11(obj); } function _classCallCheck10(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties10(target, props) { for (var i5 = 0; i5 < props.length; i5++) { var descriptor = props[i5]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey10(descriptor.key), descriptor); } } function _createClass10(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties10(Constructor.prototype, protoProps); if (staticProps) _defineProperties10(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _toPropertyKey10(arg) { var key = _toPrimitive10(arg, "string"); return _typeof11(key) === "symbol" ? key : String(key); } function _toPrimitive10(input, hint) { if (_typeof11(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== void 0) { var res = prim.call(input, hint || "default"); if (_typeof11(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get.bind(); } else { _get = function _get3(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get.apply(this, arguments); } function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf8(object); if (object === null) break; } return object; } function _inherits8(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf8(subClass, superClass); } function _setPrototypeOf8(o4, p3) { _setPrototypeOf8 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf26(o5, p4) { o5.__proto__ = p4; return o5; }; return _setPrototypeOf8(o4, p3); } function _createSuper8(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct8(); return function _createSuperInternal() { var Super = _getPrototypeOf8(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf8(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn8(this, result); }; } function _possibleConstructorReturn8(self2, call8) { if (call8 && (_typeof11(call8) === "object" || typeof call8 === "function")) { return call8; } else if (call8 !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized8(self2); } function _assertThisInitialized8(self2) { if (self2 === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self2; } function _isNativeReflectConstruct8() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })); return true; } catch (e4) { return false; } } function _getPrototypeOf8(o4) { _getPrototypeOf8 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf26(o5) { return o5.__proto__ || Object.getPrototypeOf(o5); }; return _getPrototypeOf8(o4); } function getLabelNode3(el) { return (0, import_jquery13.default)(el).parent().find('label[for="' + $escape(el.id) + '"]'); } var TextInputBindingBase = /* @__PURE__ */ function(_InputBinding) { _inherits8(TextInputBindingBase2, _InputBinding); var _super = _createSuper8(TextInputBindingBase2); function TextInputBindingBase2() { _classCallCheck10(this, TextInputBindingBase2); return _super.apply(this, arguments); } _createClass10(TextInputBindingBase2, [{ key: "find", value: function find2(scope) { var $inputs = (0, import_jquery13.default)(scope).find('input[type="text"], input[type="search"], input[type="url"], input[type="email"]'); return $inputs.not('input[type="text"][id$="-selectized"]'); } }, { key: "getId", value: function getId(el) { return _get(_getPrototypeOf8(TextInputBindingBase2.prototype), "getId", this).call(this, el) || el.name; } }, { key: "getValue", value: function getValue(el) { throw "not implemented"; el; } }, { key: "setValue", value: function setValue(el, value) { throw "not implemented"; el; value; } }, { key: "subscribe", value: function subscribe(el, callback) { (0, import_jquery13.default)(el).on( "keyup.textInputBinding input.textInputBinding", function() { callback(true); } ); (0, import_jquery13.default)(el).on( "change.textInputBinding", function() { callback(false); } ); } }, { key: "unsubscribe", value: function unsubscribe(el) { (0, import_jquery13.default)(el).off(".textInputBinding"); } }, { key: "receiveMessage", value: function receiveMessage(el, data) { throw "not implemented"; el; data; } }, { key: "getState", value: function getState(el) { throw "not implemented"; el; } }, { key: "getRatePolicy", value: function getRatePolicy(el) { return { policy: "debounce", delay: 250 }; el; } }]); return TextInputBindingBase2; }(InputBinding); var TextInputBinding = /* @__PURE__ */ function(_TextInputBindingBase) { _inherits8(TextInputBinding2, _TextInputBindingBase); var _super2 = _createSuper8(TextInputBinding2); function TextInputBinding2() { _classCallCheck10(this, TextInputBinding2); return _super2.apply(this, arguments); } _createClass10(TextInputBinding2, [{ key: "setValue", value: function setValue(el, value) { el.value = value; } }, { key: "getValue", value: function getValue(el) { return el.value; } }, { key: "getState", value: function getState(el) { return { label: getLabelNode3(el).text(), value: el.value, placeholder: el.placeholder }; } }, { key: "receiveMessage", value: function receiveMessage(el, data) { if (hasDefinedProperty(data, "value")) this.setValue(el, data.value); updateLabel(data.label, getLabelNode3(el)); if (hasDefinedProperty(data, "placeholder")) el.placeholder = data.placeholder; (0, import_jquery13.default)(el).trigger("change"); } }]); return TextInputBinding2; }(TextInputBindingBase); // srcts/src/bindings/input/number.ts function _typeof12(obj) { "@babel/helpers - typeof"; return _typeof12 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) { return typeof obj2; } : function(obj2) { return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2; }, _typeof12(obj); } function _classCallCheck11(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties11(target, props) { for (var i5 = 0; i5 < props.length; i5++) { var descriptor = props[i5]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey11(descriptor.key), descriptor); } } function _createClass11(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties11(Constructor.prototype, protoProps); if (staticProps) _defineProperties11(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _toPropertyKey11(arg) { var key = _toPrimitive11(arg, "string"); return _typeof12(key) === "symbol" ? key : String(key); } function _toPrimitive11(input, hint) { if (_typeof12(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== void 0) { var res = prim.call(input, hint || "default"); if (_typeof12(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _inherits9(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf9(subClass, superClass); } function _setPrototypeOf9(o4, p3) { _setPrototypeOf9 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf26(o5, p4) { o5.__proto__ = p4; return o5; }; return _setPrototypeOf9(o4, p3); } function _createSuper9(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct9(); return function _createSuperInternal() { var Super = _getPrototypeOf9(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf9(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn9(this, result); }; } function _possibleConstructorReturn9(self2, call8) { if (call8 && (_typeof12(call8) === "object" || typeof call8 === "function")) { return call8; } else if (call8 !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized9(self2); } function _assertThisInitialized9(self2) { if (self2 === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self2; } function _isNativeReflectConstruct9() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })); return true; } catch (e4) { return false; } } function _getPrototypeOf9(o4) { _getPrototypeOf9 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf26(o5) { return o5.__proto__ || Object.getPrototypeOf(o5); }; return _getPrototypeOf9(o4); } function getLabelNode4(el) { return (0, import_jquery14.default)(el).parent().find('label[for="' + $escape(el.id) + '"]'); } var NumberInputBinding = /* @__PURE__ */ function(_TextInputBindingBase) { _inherits9(NumberInputBinding2, _TextInputBindingBase); var _super = _createSuper9(NumberInputBinding2); function NumberInputBinding2() { _classCallCheck11(this, NumberInputBinding2); return _super.apply(this, arguments); } _createClass11(NumberInputBinding2, [{ key: "find", value: function find2(scope) { return (0, import_jquery14.default)(scope).find('input[type="number"]'); } }, { key: "getValue", value: function getValue(el) { var numberVal = (0, import_jquery14.default)(el).val(); if (typeof numberVal == "string") { if (/^\s*$/.test(numberVal)) return null; } var numberValue = Number(numberVal); if (!isNaN(numberValue)) { return numberValue; } return numberVal; } }, { key: "setValue", value: function setValue(el, value) { el.value = "" + value; } }, { key: "getType", value: function getType(el) { return "shiny.number"; el; } }, { key: "receiveMessage", value: function receiveMessage(el, data) { var _data$value, _data$min, _data$max, _data$step; if (hasDefinedProperty(data, "value")) el.value = (_data$value = data.value) !== null && _data$value !== void 0 ? _data$value : ""; if (hasDefinedProperty(data, "min")) el.min = (_data$min = data.min) !== null && _data$min !== void 0 ? _data$min : ""; if (hasDefinedProperty(data, "max")) el.max = (_data$max = data.max) !== null && _data$max !== void 0 ? _data$max : ""; if (hasDefinedProperty(data, "step")) el.step = (_data$step = data.step) !== null && _data$step !== void 0 ? _data$step : ""; updateLabel(data.label, getLabelNode4(el)); (0, import_jquery14.default)(el).trigger("change"); } }, { key: "getState", value: function getState(el) { return { label: getLabelNode4(el).text(), value: this.getValue(el), min: Number(el.min), max: Number(el.max), step: Number(el.step) }; } }]); return NumberInputBinding2; }(TextInputBindingBase); // srcts/src/bindings/input/password.ts var import_es_array_iterator13 = __toESM(require_es_array_iterator()); var import_jquery15 = __toESM(require_jquery()); function _typeof13(obj) { "@babel/helpers - typeof"; return _typeof13 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) { return typeof obj2; } : function(obj2) { return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2; }, _typeof13(obj); } function _classCallCheck12(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties12(target, props) { for (var i5 = 0; i5 < props.length; i5++) { var descriptor = props[i5]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey12(descriptor.key), descriptor); } } function _createClass12(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties12(Constructor.prototype, protoProps); if (staticProps) _defineProperties12(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _toPropertyKey12(arg) { var key = _toPrimitive12(arg, "string"); return _typeof13(key) === "symbol" ? key : String(key); } function _toPrimitive12(input, hint) { if (_typeof13(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== void 0) { var res = prim.call(input, hint || "default"); if (_typeof13(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _inherits10(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf10(subClass, superClass); } function _setPrototypeOf10(o4, p3) { _setPrototypeOf10 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf26(o5, p4) { o5.__proto__ = p4; return o5; }; return _setPrototypeOf10(o4, p3); } function _createSuper10(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct10(); return function _createSuperInternal() { var Super = _getPrototypeOf10(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf10(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn10(this, result); }; } function _possibleConstructorReturn10(self2, call8) { if (call8 && (_typeof13(call8) === "object" || typeof call8 === "function")) { return call8; } else if (call8 !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized10(self2); } function _assertThisInitialized10(self2) { if (self2 === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self2; } function _isNativeReflectConstruct10() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })); return true; } catch (e4) { return false; } } function _getPrototypeOf10(o4) { _getPrototypeOf10 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf26(o5) { return o5.__proto__ || Object.getPrototypeOf(o5); }; return _getPrototypeOf10(o4); } var PasswordInputBinding = /* @__PURE__ */ function(_TextInputBinding) { _inherits10(PasswordInputBinding2, _TextInputBinding); var _super = _createSuper10(PasswordInputBinding2); function PasswordInputBinding2() { _classCallCheck12(this, PasswordInputBinding2); return _super.apply(this, arguments); } _createClass12(PasswordInputBinding2, [{ key: "find", value: function find2(scope) { return (0, import_jquery15.default)(scope).find('input[type="password"]'); } }, { key: "getType", value: function getType(el) { return "shiny.password"; el; } }]); return PasswordInputBinding2; }(TextInputBinding); // srcts/src/bindings/input/radio.ts var import_es_array_iterator14 = __toESM(require_es_array_iterator()); var import_jquery16 = __toESM(require_jquery()); function _typeof14(obj) { "@babel/helpers - typeof"; return _typeof14 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) { return typeof obj2; } : function(obj2) { return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2; }, _typeof14(obj); } function _classCallCheck13(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties13(target, props) { for (var i5 = 0; i5 < props.length; i5++) { var descriptor = props[i5]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey13(descriptor.key), descriptor); } } function _createClass13(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties13(Constructor.prototype, protoProps); if (staticProps) _defineProperties13(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _toPropertyKey13(arg) { var key = _toPrimitive13(arg, "string"); return _typeof14(key) === "symbol" ? key : String(key); } function _toPrimitive13(input, hint) { if (_typeof14(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== void 0) { var res = prim.call(input, hint || "default"); if (_typeof14(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _inherits11(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf11(subClass, superClass); } function _setPrototypeOf11(o4, p3) { _setPrototypeOf11 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf26(o5, p4) { o5.__proto__ = p4; return o5; }; return _setPrototypeOf11(o4, p3); } function _createSuper11(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct11(); return function _createSuperInternal() { var Super = _getPrototypeOf11(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf11(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn11(this, result); }; } function _possibleConstructorReturn11(self2, call8) { if (call8 && (_typeof14(call8) === "object" || typeof call8 === "function")) { return call8; } else if (call8 !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized11(self2); } function _assertThisInitialized11(self2) { if (self2 === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self2; } function _isNativeReflectConstruct11() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })); return true; } catch (e4) { return false; } } function _getPrototypeOf11(o4) { _getPrototypeOf11 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf26(o5) { return o5.__proto__ || Object.getPrototypeOf(o5); }; return _getPrototypeOf11(o4); } function getLabelNode5(el) { return (0, import_jquery16.default)(el).parent().find('label[for="' + $escape(el.id) + '"]'); } function getLabel2(obj) { var parentNode = obj.parentNode; if (parentNode.tagName === "LABEL") { return (0, import_jquery16.default)(parentNode).find("span").text().trim(); } return null; } var RadioInputBinding = /* @__PURE__ */ function(_InputBinding) { _inherits11(RadioInputBinding2, _InputBinding); var _super = _createSuper11(RadioInputBinding2); function RadioInputBinding2() { _classCallCheck13(this, RadioInputBinding2); return _super.apply(this, arguments); } _createClass13(RadioInputBinding2, [{ key: "find", value: function find2(scope) { return (0, import_jquery16.default)(scope).find(".shiny-input-radiogroup"); } }, { key: "getValue", value: function getValue(el) { var checkedItems = (0, import_jquery16.default)('input:radio[name="' + $escape(el.id) + '"]:checked'); if (checkedItems.length === 0) { return null; } return checkedItems.val(); } }, { key: "setValue", value: function setValue(el, value) { if (Array.isArray(value) && value.length === 0) { (0, import_jquery16.default)('input:radio[name="' + $escape(el.id) + '"]').prop("checked", false); } else { (0, import_jquery16.default)('input:radio[name="' + $escape(el.id) + '"][value="' + $escape(value) + '"]').prop("checked", true); } } }, { key: "getState", value: function getState(el) { var $objs = (0, import_jquery16.default)('input:radio[name="' + $escape(el.id) + '"]'); var options = new Array($objs.length); for (var i5 = 0; i5 < options.length; i5++) { options[i5] = { value: $objs[i5].value, label: getLabel2($objs[i5]) }; } return { label: getLabelNode5(el).text(), value: this.getValue(el), options: options }; } }, { key: "receiveMessage", value: function receiveMessage(el, data) { var $el = (0, import_jquery16.default)(el); if (hasDefinedProperty(data, "options")) { $el.find("div.shiny-options-group").remove(); $el.find("label.radio").remove(); $el.append(data.options); } if (hasDefinedProperty(data, "value")) { this.setValue(el, data.value); } updateLabel(data.label, getLabelNode5(el)); (0, import_jquery16.default)(el).trigger("change"); } }, { key: "subscribe", value: function subscribe(el, callback) { (0, import_jquery16.default)(el).on("change.radioInputBinding", function() { callback(false); }); } }, { key: "unsubscribe", value: function unsubscribe(el) { (0, import_jquery16.default)(el).off(".radioInputBinding"); } }]); return RadioInputBinding2; }(InputBinding); // srcts/src/bindings/input/selectInput.ts var import_es_json_stringify = __toESM(require_es_json_stringify()); var import_es_array_iterator15 = __toESM(require_es_array_iterator()); var import_jquery17 = __toESM(require_jquery()); // srcts/src/utils/eval.ts var indirectEval = eval; // srcts/src/bindings/input/selectInput.ts function _typeof15(obj) { "@babel/helpers - typeof"; return _typeof15 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) { return typeof obj2; } : function(obj2) { return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2; }, _typeof15(obj); } function _classCallCheck14(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties14(target, props) { for (var i5 = 0; i5 < props.length; i5++) { var descriptor = props[i5]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey14(descriptor.key), descriptor); } } function _createClass14(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties14(Constructor.prototype, protoProps); if (staticProps) _defineProperties14(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _toPropertyKey14(arg) { var key = _toPrimitive14(arg, "string"); return _typeof15(key) === "symbol" ? key : String(key); } function _toPrimitive14(input, hint) { if (_typeof15(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== void 0) { var res = prim.call(input, hint || "default"); if (_typeof15(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _inherits12(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf12(subClass, superClass); } function _setPrototypeOf12(o4, p3) { _setPrototypeOf12 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf26(o5, p4) { o5.__proto__ = p4; return o5; }; return _setPrototypeOf12(o4, p3); } function _createSuper12(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct12(); return function _createSuperInternal() { var Super = _getPrototypeOf12(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf12(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn12(this, result); }; } function _possibleConstructorReturn12(self2, call8) { if (call8 && (_typeof15(call8) === "object" || typeof call8 === "function")) { return call8; } else if (call8 !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized12(self2); } function _assertThisInitialized12(self2) { if (self2 === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self2; } function _isNativeReflectConstruct12() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })); return true; } catch (e4) { return false; } } function _getPrototypeOf12(o4) { _getPrototypeOf12 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf26(o5) { return o5.__proto__ || Object.getPrototypeOf(o5); }; return _getPrototypeOf12(o4); } function getLabelNode6(el) { var escapedId = $escape(el.id); if (isSelectize(el)) { escapedId += "-selectized"; } return (0, import_jquery17.default)(el).parent().parent().find('label[for="' + escapedId + '"]'); } function isSelectize(el) { var config = (0, import_jquery17.default)(el).parent().find('script[data-for="' + $escape(el.id) + '"]'); return config.length > 0; } var SelectInputBinding = /* @__PURE__ */ function(_InputBinding) { _inherits12(SelectInputBinding2, _InputBinding); var _super = _createSuper12(SelectInputBinding2); function SelectInputBinding2() { _classCallCheck14(this, SelectInputBinding2); return _super.apply(this, arguments); } _createClass14(SelectInputBinding2, [{ key: "find", value: function find2(scope) { return (0, import_jquery17.default)(scope).find("select"); } }, { key: "getType", value: function getType(el) { var $el = (0, import_jquery17.default)(el); if (!$el.hasClass("symbol")) { return null; } if ($el.attr("multiple") === "multiple") { return "shiny.symbolList"; } else { return "shiny.symbol"; } } }, { key: "getId", value: function getId(el) { return InputBinding.prototype.getId.call(this, el) || el.name; } }, { key: "getValue", value: function getValue(el) { if (!isSelectize(el)) { return (0, import_jquery17.default)(el).val(); } else { var selectize = this._selectize(el); return selectize === null || selectize === void 0 ? void 0 : selectize.getValue(); } } }, { key: "setValue", value: function setValue(el, value) { if (!isSelectize(el)) { (0, import_jquery17.default)(el).val(value); } else { var selectize = this._selectize(el); selectize === null || selectize === void 0 ? void 0 : selectize.setValue(value); } } }, { key: "getState", value: function getState(el) { var options = new Array(el.length); for (var i5 = 0; i5 < el.length; i5++) { options[i5] = { value: el[i5].value, label: el[i5].label }; } return { label: getLabelNode6(el), value: this.getValue(el), options: options }; } }, { key: "receiveMessage", value: function receiveMessage(el, data) { var $el = (0, import_jquery17.default)(el); if (hasDefinedProperty(data, "options")) { var selectize = this._selectize(el); selectize === null || selectize === void 0 ? void 0 : selectize.destroy(); $el.empty().append(data.options); this._selectize(el); } if (hasDefinedProperty(data, "config")) { $el.parent().find('script[data-for="' + $escape(el.id) + '"]').replaceWith(data.config); this._selectize(el, true); } if (hasDefinedProperty(data, "url")) { var _selectize2 = this._selectize(el); _selectize2.clear(); _selectize2.clearOptions(); var loaded = false; _selectize2.settings.load = function(query, callback) { var settings = _selectize2.settings; import_jquery17.default.ajax({ url: data.url, data: { query: query, field: JSON.stringify([settings.searchField]), value: settings.valueField, conju: settings.searchConjunction, maxop: settings.maxOptions }, type: "GET", error: function error() { callback(); }, success: function success(res) { import_jquery17.default.each(res, function(index, elem) { var optgroupId = elem[settings.optgroupField || "optgroup"]; var optgroup = {}; optgroup[settings.optgroupLabelField || "label"] = optgroupId; optgroup[settings.optgroupValueField || "value"] = optgroupId; _selectize2.addOptionGroup(optgroupId, optgroup); }); callback(res); if (!loaded) { if (hasDefinedProperty(data, "value")) { _selectize2.setValue(data.value); } else if (settings.maxItems === 1) { _selectize2.setValue(res[0].value); } } loaded = true; } }); }; _selectize2.load(function(callback) { _selectize2.settings.load.apply(_selectize2, ["", callback]); }); } else if (hasDefinedProperty(data, "value")) { this.setValue(el, data.value); } updateLabel(data.label, getLabelNode6(el)); (0, import_jquery17.default)(el).trigger("change"); } }, { key: "subscribe", value: function subscribe(el, callback) { var _this = this; (0, import_jquery17.default)(el).on( "change.selectInputBinding", function() { if (el.nonempty && _this.getValue(el) === "") { return; } callback(false); } ); } }, { key: "unsubscribe", value: function unsubscribe(el) { (0, import_jquery17.default)(el).off(".selectInputBinding"); } }, { key: "initialize", value: function initialize(el) { this._selectize(el); } }, { key: "_selectize", value: function _selectize(el) { var update = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false; if (!import_jquery17.default.fn.selectize) return void 0; var $el = (0, import_jquery17.default)(el); var config = $el.parent().find('script[data-for="' + $escape(el.id) + '"]'); if (config.length === 0) return void 0; var options = import_jquery17.default.extend({ labelField: "label", valueField: "value", searchField: ["label"] }, JSON.parse(config.html())); if (typeof config.data("nonempty") !== "undefined") { el.nonempty = true; options = import_jquery17.default.extend(options, { onItemRemove: function onItemRemove(value) { if (this.getValue() === "") (0, import_jquery17.default)("select#" + $escape(el.id)).empty().append((0, import_jquery17.default)("