Your IP : 3.138.123.240


Current Path : /var/www/www-root/data/www/www.monolith-realty.ru/bitrix/js/main/core/
Upload File :
Current File : /var/www/www-root/data/www/www.monolith-realty.ru/bitrix/js/main/core/core.js.map

{"version":3,"sources":["src/internal/wrap-start.js","../polyfill/core/lib/babel-external-helpers.js","../polyfill/core/lib/babel-regenerator-runtime.js","../polyfill/core/node_modules/core-js/internals/global.js","../polyfill/core/node_modules/core-js/internals/fails.js","../polyfill/core/node_modules/core-js/internals/descriptors.js","../polyfill/core/node_modules/core-js/internals/function-call.js","../polyfill/core/node_modules/core-js/internals/object-property-is-enumerable.js","../polyfill/core/node_modules/core-js/internals/create-property-descriptor.js","../polyfill/core/node_modules/core-js/internals/function-uncurry-this.js","../polyfill/core/node_modules/core-js/internals/classof-raw.js","../polyfill/core/node_modules/core-js/internals/indexed-object.js","../polyfill/core/node_modules/core-js/internals/require-object-coercible.js","../polyfill/core/node_modules/core-js/internals/to-indexed-object.js","../polyfill/core/node_modules/core-js/internals/is-callable.js","../polyfill/core/node_modules/core-js/internals/is-object.js","../polyfill/core/node_modules/core-js/internals/get-built-in.js","../polyfill/core/node_modules/core-js/internals/engine-v8-version.js","../polyfill/core/node_modules/core-js/internals/native-symbol.js","../polyfill/core/node_modules/core-js/internals/use-symbol-as-uid.js","../polyfill/core/node_modules/core-js/internals/is-symbol.js","../polyfill/core/node_modules/core-js/internals/try-to-string.js","../polyfill/core/node_modules/core-js/internals/a-callable.js","../polyfill/core/node_modules/core-js/internals/get-method.js","../polyfill/core/node_modules/core-js/internals/ordinary-to-primitive.js","../polyfill/core/node_modules/core-js/internals/is-pure.js","../polyfill/core/node_modules/core-js/internals/set-global.js","../polyfill/core/node_modules/core-js/internals/shared-store.js","../polyfill/core/node_modules/core-js/internals/shared.js","../polyfill/core/node_modules/core-js/internals/to-object.js","../polyfill/core/node_modules/core-js/internals/has-own-property.js","../polyfill/core/node_modules/core-js/internals/uid.js","../polyfill/core/node_modules/core-js/internals/well-known-symbol.js","../polyfill/core/node_modules/core-js/internals/to-primitive.js","../polyfill/core/node_modules/core-js/internals/to-property-key.js","../polyfill/core/node_modules/core-js/internals/document-create-element.js","../polyfill/core/node_modules/core-js/internals/ie8-dom-define.js","../polyfill/core/node_modules/core-js/internals/object-get-own-property-descriptor.js","../polyfill/core/node_modules/core-js/internals/an-object.js","../polyfill/core/node_modules/core-js/internals/object-define-property.js","../polyfill/core/node_modules/core-js/internals/create-non-enumerable-property.js","../polyfill/core/node_modules/core-js/internals/inspect-source.js","../polyfill/core/node_modules/core-js/internals/native-weak-map.js","../polyfill/core/node_modules/core-js/internals/shared-key.js","../polyfill/core/node_modules/core-js/internals/hidden-keys.js","../polyfill/core/node_modules/core-js/internals/internal-state.js","../polyfill/core/node_modules/core-js/internals/function-name.js","../polyfill/core/node_modules/core-js/internals/redefine.js","../polyfill/core/node_modules/core-js/internals/to-integer-or-infinity.js","../polyfill/core/node_modules/core-js/internals/to-absolute-index.js","../polyfill/core/node_modules/core-js/internals/to-length.js","../polyfill/core/node_modules/core-js/internals/length-of-array-like.js","../polyfill/core/node_modules/core-js/internals/array-includes.js","../polyfill/core/node_modules/core-js/internals/object-keys-internal.js","../polyfill/core/node_modules/core-js/internals/enum-bug-keys.js","../polyfill/core/node_modules/core-js/internals/object-get-own-property-names.js","../polyfill/core/node_modules/core-js/internals/object-get-own-property-symbols.js","../polyfill/core/node_modules/core-js/internals/own-keys.js","../polyfill/core/node_modules/core-js/internals/copy-constructor-properties.js","../polyfill/core/node_modules/core-js/internals/is-forced.js","../polyfill/core/node_modules/core-js/internals/export.js","../polyfill/core/node_modules/core-js/internals/correct-prototype-getter.js","../polyfill/core/node_modules/core-js/internals/object-get-prototype-of.js","../polyfill/core/node_modules/core-js/internals/a-possible-prototype.js","../polyfill/core/node_modules/core-js/internals/object-set-prototype-of.js","../polyfill/core/node_modules/core-js/internals/object-keys.js","../polyfill/core/node_modules/core-js/internals/object-define-properties.js","../polyfill/core/node_modules/core-js/internals/object-create.js","../polyfill/core/node_modules/core-js/internals/array-slice-simple.js","../polyfill/core/node_modules/core-js/internals/clear-error-stack.js","../polyfill/core/node_modules/core-js/internals/install-error-cause.js","../polyfill/core/node_modules/core-js/internals/function-bind-context.js","../polyfill/core/node_modules/core-js/internals/iterators.js","../polyfill/core/node_modules/core-js/internals/is-array-iterator-method.js","../polyfill/core/node_modules/core-js/internals/to-string-tag-support.js","../polyfill/core/node_modules/core-js/internals/classof.js","../polyfill/core/node_modules/core-js/internals/get-iterator-method.js","../polyfill/core/node_modules/core-js/internals/get-iterator.js","../polyfill/core/node_modules/core-js/internals/iterator-close.js","../polyfill/core/node_modules/core-js/internals/iterate.js","../polyfill/core/node_modules/core-js/internals/to-string.js","../polyfill/core/node_modules/core-js/internals/normalize-string-argument.js","../polyfill/core/node_modules/core-js/internals/error-stack-installable.js","../polyfill/core/node_modules/core-js/modules/es.aggregate-error.js","../polyfill/core/node_modules/core-js/internals/add-to-unscopables.js","../polyfill/core/node_modules/core-js/modules/es.array.at.js","../polyfill/core/node_modules/core-js/internals/is-array.js","../polyfill/core/node_modules/core-js/modules/es.array.reverse.js","../polyfill/core/node_modules/core-js/internals/array-buffer-native.js","../polyfill/core/node_modules/core-js/internals/redefine-all.js","../polyfill/core/node_modules/core-js/internals/an-instance.js","../polyfill/core/node_modules/core-js/internals/to-index.js","../polyfill/core/node_modules/core-js/internals/ieee754.js","../polyfill/core/node_modules/core-js/internals/array-fill.js","../polyfill/core/node_modules/core-js/internals/set-to-string-tag.js","../polyfill/core/node_modules/core-js/internals/array-buffer.js","../polyfill/core/node_modules/core-js/internals/is-constructor.js","../polyfill/core/node_modules/core-js/internals/a-constructor.js","../polyfill/core/node_modules/core-js/internals/species-constructor.js","../polyfill/core/node_modules/core-js/modules/es.array-buffer.slice.js","../polyfill/core/node_modules/core-js/modules/es.object.from-entries.js","../polyfill/core/node_modules/core-js/modules/es.object.has-own.js","../polyfill/core/node_modules/core-js/internals/new-promise-capability.js","../polyfill/core/node_modules/core-js/internals/perform.js","../polyfill/core/node_modules/core-js/modules/es.promise.all-settled.js","../polyfill/core/node_modules/core-js/modules/es.promise.any.js","../polyfill/core/node_modules/core-js/internals/promise-resolve.js","../polyfill/core/node_modules/core-js/modules/es.promise.finally.js","../polyfill/core/node_modules/core-js/internals/iterators-core.js","../polyfill/core/node_modules/core-js/internals/create-iterator-constructor.js","../polyfill/core/node_modules/core-js/internals/is-regexp.js","../polyfill/core/node_modules/core-js/internals/regexp-flags.js","../polyfill/core/node_modules/core-js/internals/string-multibyte.js","../polyfill/core/node_modules/core-js/internals/advance-string-index.js","../polyfill/core/node_modules/core-js/internals/regexp-sticky-helpers.js","../polyfill/core/node_modules/core-js/internals/regexp-unsupported-dot-all.js","../polyfill/core/node_modules/core-js/internals/regexp-unsupported-ncg.js","../polyfill/core/node_modules/core-js/internals/regexp-exec.js","../polyfill/core/node_modules/core-js/internals/regexp-exec-abstract.js","../polyfill/core/node_modules/core-js/modules/es.string.match-all.js","../polyfill/core/node_modules/core-js/internals/get-substitution.js","../polyfill/core/node_modules/core-js/modules/es.string.replace-all.js","../polyfill/core/node_modules/core-js/internals/check-correctness-of-iteration.js","../polyfill/core/node_modules/core-js/internals/array-buffer-view-core.js","../polyfill/core/node_modules/core-js/internals/typed-array-constructors-require-wrappers.js","../polyfill/core/node_modules/core-js/internals/is-integral-number.js","../polyfill/core/node_modules/core-js/internals/to-positive-integer.js","../polyfill/core/node_modules/core-js/internals/to-offset.js","../polyfill/core/node_modules/core-js/internals/typed-array-from.js","../polyfill/core/node_modules/core-js/internals/array-species-constructor.js","../polyfill/core/node_modules/core-js/internals/array-species-create.js","../polyfill/core/node_modules/core-js/internals/array-iteration.js","../polyfill/core/node_modules/core-js/internals/set-species.js","../polyfill/core/node_modules/core-js/internals/inherit-if-required.js","../polyfill/core/node_modules/core-js/internals/typed-array-constructor.js","../polyfill/core/node_modules/core-js/modules/es.typed-array.float32-array.js","../polyfill/core/node_modules/core-js/modules/es.typed-array.float64-array.js","../polyfill/core/node_modules/core-js/modules/es.typed-array.int8-array.js","../polyfill/core/node_modules/core-js/modules/es.typed-array.int16-array.js","../polyfill/core/node_modules/core-js/modules/es.typed-array.int32-array.js","../polyfill/core/node_modules/core-js/modules/es.typed-array.uint8-array.js","../polyfill/core/node_modules/core-js/modules/es.typed-array.uint8-clamped-array.js","../polyfill/core/node_modules/core-js/modules/es.typed-array.uint16-array.js","../polyfill/core/node_modules/core-js/modules/es.typed-array.uint32-array.js","../polyfill/core/node_modules/core-js/modules/es.typed-array.at.js","../polyfill/core/node_modules/core-js/modules/es.typed-array.of.js","../polyfill/core/node_modules/core-js/internals/array-sort.js","../polyfill/core/node_modules/core-js/internals/engine-ff-version.js","../polyfill/core/node_modules/core-js/internals/engine-webkit-version.js","../polyfill/core/node_modules/core-js/modules/es.typed-array.sort.js","../polyfill/core/node_modules/core-js/internals/dom-iterables.js","../polyfill/core/node_modules/core-js/internals/dom-token-list-prototype.js","../polyfill/core/node_modules/core-js/internals/define-iterator.js","../polyfill/core/node_modules/core-js/modules/es.array.iterator.js","../polyfill/core/node_modules/core-js/modules/web.dom-collections.iterator.js","../polyfill/core/node_modules/core-js/internals/function-apply.js","../polyfill/core/node_modules/core-js/internals/task.js","../polyfill/core/node_modules/core-js/modules/web.immediate.js","../polyfill/core/node_modules/core-js/internals/microtask.js","../polyfill/core/node_modules/core-js/modules/web.queue-microtask.js","../polyfill/core/src/polyfill.js","../polyfill/core/lib/alert-message.js","src/internal/bx.js","src/internal/get-tag.js","src/lib/type.js","src/lib/reflection.js","src/lib/text.js","src/lib/event/aliases.js","src/lib/event/registry.js","src/lib/event/fetch-supported-listener-options.js","src/lib/event/bind.js","src/lib/event/unbind.js","src/lib/event/unbind-all.js","src/lib/event/bind-once.js","src/lib/runtime/debug.js","src/lib/runtime/loadextension/internal/extensions-storage.js","src/lib/runtime/loadextension/internal/load-assets.js","src/lib/runtime/loadextension/internal/utils.js","src/lib/runtime/loadextension/internal/extension.js","src/lib/runtime/loadextension/load-extension.js","src/lib/runtime/clone.js","src/lib/runtime/merge.js","src/lib/runtime/create-comparator.js","src/lib/runtime/loadextension/internal/register-extension.js","src/lib/runtime.js","src/lib/base-error.js","src/lib/event/base-event.js","src/lib/event/event-emitter/eventstore.js","src/lib/event/event-emitter/warningstore.js","src/lib/event/event-emitter.js","src/lib/event/ready.js","src/lib/event.js","src/internal/encode-attribute-value.js","src/internal/decode-attribute-value.js","src/internal/get-page-scroll.js","src/lib/dom.js","src/lib/browser.js","src/lib/http/cookie.js","src/lib/http/internal/convert-object-to-form-data.js","src/lib/http/data.js","src/lib/http.js","src/lib/loc/message.js","src/lib/loc.js","src/lib/tag/internal/is-void-element.js","src/lib/tag/internal/matchers.js","src/lib/tag/internal/parse-tag.js","src/lib/tag/internal/parse-text.js","src/lib/tag/internal/parse.js","src/lib/tag/internal/render-node.js","src/lib/tag/render.js","src/lib/tag.js","src/lib/uri/parse-url.js","src/lib/uri/build-query-string.js","src/lib/uri/prepare-param-value.js","src/lib/uri.js","src/lib/validation.js","src/lib/cache/base-cache.js","src/lib/cache/memory-cache.js","src/lib/cache/storage/ls-storage.js","src/lib/cache/local-storage-cache.js","src/lib/cache.js","src/lib/extension/internal/convert-path.js","src/lib/extension/internal/settings-collection.js","src/lib/extension/internal/deep-freeze.js","src/lib/extension/extension.js","src/lib/collections/ordered-array.js","src/lib/z-index/z-index-component.js","src/lib/z-index/z-index-stack.js","src/lib/z-index/z-index-manager.js","src/lib/collections.js","src/internal/get-element.js","src/internal/get-window.js","src/core-compatibility.js","src/core.js","src/old/core.js","core_promise.js","core_ajax.js","../lazyload/src/lazyload.js","../parambag/src/parambag.js","../fixfontsize/dist/fixfontsize.bundle.js","src/internal/wrap-end.js"],"names":["check","module","exec","error","get","call","Function","prototype","apply","arguments","$propertyIsEnumerable","propertyIsEnumerable","getOwnPropertyDescriptor","Object","NASHORN_BUG","exports","f","descriptor","V","enumerable","bitmap","configurable","writable","value","FunctionPrototype","bind","callBind","fn","stringSlice","uncurryThis","split","it","TypeError","argument","Deno","global","versions","v8","match","userAgent","getBuiltIn","pref","isCallable","toString","isObject","val","store","commonjsHelpers.createCommonjsModule","version","mode","copyright","postfix","Symbol","symbolFor","createWellKnownSymbol","WellKnownSymbolsStore","TO_PRIMITIVE","input","exoticToPrim","getMethod","result","O","P","anObject","createPropertyDescriptor","object","WeakMap","set","has","wmget","shared","wmhas","wmset","metadata","facade","hiddenKeys","hasOwn","createNonEnumerableProperty","STATE","enforce","getterFor","EXISTS","PROPER","CONFIGURABLE","TEMPLATE","String","options","InternalStateModule","name","replace","state","key","simple","ceil","Math","floor","number","min","IS_INCLUDES","includes","indexOf","names","getOwnPropertySymbols","getOwnPropertySymbolsModule","defineProperty","i","POLYFILL","string","NATIVE","target","sourceProperty","targetProperty","FORCED","isForced","STATIC","sham","redefine","ObjectPrototype","constructor","setter","CORRECT_SETTER","aPossiblePrototype","index","NullProtoObjectViaActiveX","activeXDocument","NullProtoObjectViaIFrame","iframe","html","iframeDocument","NullProtoObject","max","k","length","fin","join","IS_V8_OR_CHAKRA_STACK","V8_OR_CHAKRA_STACK_ENTRY","test","IS_FIREFOX_OR_SAFARI_STACK","stack","aCallable","ArrayPrototype","Array","CORRECT_ARGUMENTS","classofRaw","innerResult","innerError","that","AS_ENTRIES","IS_ITERATOR","INTERRUPTED","iterator","iterFn","iteratorClose","message","$","AggregateError","definePropertyModule","addToUnscopables","proto","forced","reverse","ArrayBuffer","DataView","src","toLength","RangeError","log","LN2","pack","eBias","rt","pow","sign","exponent","c","mantissa","buffer","mantissaLength","exponentLength","eMax","nBits","bytes","NaN","FunctionName","addGetter","getInternalState","PROTOTYPE","intIndex","anInstance","setInternalState","byteLength","ArrayBufferPrototype","byteOffset","DataViewPrototype","DESCRIPTORS","$ArrayBuffer","redefineAll","getInt8","getUint8","getInt16","getUint16","getInt32","getUint32","getFloat32","getFloat64","unpackIEEE754","setInt8","packInt8","setInt16","setUint16","packInt16","setInt32","setUint32","setFloat32","setFloat64","PROPER_FUNCTION_NAME","NativeArrayBuffer","ARRAY_BUFFER","setPrototypeOf","testView","$setInt8","setUint8","unsafe","setToStringTag","construct","constructorRegExp","INCORRECT_TO_STRING","called","S","slice","toAbsoluteIndex","undefined","end","fromEntries","obj","iterate","createProperty","resolve","reject","remaining","alreadyCalled","values","status","reason","capability","alreadyResolved","alreadyRejected","errors","promiseCapability","C","then","method","NativePromise","NEW_ITERATOR_PROTOTYPE","IteratorPrototype","BUGGY_SAFARI_ITERATORS","dotAll","unicode","sticky","charCodeAt","$this","position","size","first","second","codeAt","charAt","re","BROKEN_CARET","MISSED_STICKY","UNSUPPORTED_Y","PATCH","patchedExec","raw","source","flags","strCopy","charsAdded","reCopy","RegExp","lastIndex","nativeExec","group","done","$matchAll","flagsValue","RegExpPrototype","matcher","$global","fullUnicode","matchAll","rx","IS_PURE","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","m","symbols","namedCaptures","capture","n","IS_REG_EXP","requireObjectCoercible","replacer","searchString","functionalReplace","searchLength","advanceBy","endOfLastMatch","SAFE_CLOSING","ITERATION_SUPPORT","next","Int32Array","isTypedArray","TypedArrayConstructorsList","aTypedArray","aTypedArrayConstructor","KEY","TypedArrayConstructor","property","Constructor","Prototype","TypedArray","TypedArrayPrototype","TYPED_ARRAY_TAG_REQIRED","NATIVE_ARRAY_BUFFER_VIEWS","TYPED_ARRAY_TAG","exportTypedArrayMethod","isView","iterable","Int8Array","toPositiveInteger","offset","BYTES","mapfn","mapping","iteratorMethod","getIterator","push","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","IS_FILTER_REJECT","NO_HOLES","callbackfn","specificCreate","self","boundFunction","create","IS_MAP","TYPE","forEach","map","filter","some","every","find","findIndex","filterReject","wrappedGetOwnPropertyDescriptor","getOwnPropertyDescriptorModule","stat","CONSTRUCTOR_NAME","data","$length","WRONG_LENGTH","view","addElement","TypedArrayConstructorPrototype","toIndex","exported","setSpecies","createTypedArrayConstructor","exportTypedArrayStaticMethod","middle","element","j","array","rlength","right","lindex","rindex","llength","mod","ArrayBufferViewCore","expected","un$Sort","b","y","comparefn","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","IteratorConstructor","nativeIterator","ITERATOR","entries","anyNativeIterator","CurrentIteratorPrototype","getPrototypeOf","INCORRECT_VALUES_NAME","defaultIterator","methods","keys","getIterationMethod","Iterators","kind","type","TO_STRING_TAG","ArrayValues","CollectionPrototype","handlePrototype","clear","process","Dispatch","MessageChannel","counter","queue","ONREADYSTATECHANGE","location","id","run","args","defer","channel","IS_IOS","port","onmessage","setTimeout","setImmediate","clearImmediate","document","Promise","head","toggle","node","MutationObserver","characterData","notify","promise","nextTick","macrotask","noTargetGet","queueMicrotask","microtask","domain","bxTmp","window","BX","isNotEmptyString","getElementById","isDomNode","isFunction","ready","getTag","objectCtorString","Type","isString","isObjectLike","ctor","hasOwnProperty","Number","isNaN","isNumber","isInteger","isNil","isArray","MAX_SAFE_INTEGER","isPlainObject","nodeType","Node","ELEMENT_NODE","TEXT_NODE","regExpTypedTag","isBlob","lastModified","lastModifiedDate","FormData","Reflection","className","classFn","currentNamespace","namespaces","namespace","namespaceName","parts","parent","isUndefined","reEscape","reUnescape","escapeEntities","unescapeEntities","Text","item","random","parsedValue","parseFloat","toNumber","parseInt","trueValues","transformedValue","toLowerCase","str","isStringFilled","regex","letter","toUpperCase","substr","capitalize","toCamelCase","matches","x","aliases","mousewheel","bxchange","animationend","transitionend","fullscreenchange","fullscreenerror","Registry","event","listener","events","isSet","Set","add","registry","delete","isOptionSupported","isSupported","addEventListener","err","fetchSupportedListenerOptions","reduce","acc","eventName","handler","listenerOptions","unbind","removeEventListener","unbindAll","currentEvent","bindOnce","once","debugState","enableDebug","disableDebug","isDebugEnabled","debug","console","Error","trace","extensionsStorage","Map","ajaxController","loadAssets","ajax","runAction","fetchInlineScripts","isInternal","JS","fetchExternalScripts","fetchExternalStyles","fetchExtensionSettings","scripts","isArrayFilled","script","extension","loadAll","items","itemsList","load","defaultOptions","loaded","Extension","State","LOADING","preparedOptions","LOADED","getClass","assetsResult","extensionData","at","config","processHTML","inlineScripts","SCRIPT","externalScripts","externalStyles","STYLE","settingsScripts","HTML","entry","body","insertAdjacentHTML","evalGlobal","all","loadExtension","extensionName","extensionNames","flat","currentExports","cloneableTags","isCloneable","isCloneableValue","internalClone","cloned","from","cloneNode","isMap","isDate","Date","isRegExp","regExpFlags","assign","clone","merge","current","createComparator","fields","orders","a","field","order","valueA","valueB","registerExtension","Runtime","func","wait","context","timeoutId","debounced","clearTimeout","timer","invoke","wrapper","q","params","innerHTML","parsedHtml","externalCss","externalJs","inlineJs","htmlFirst","useAdjacentHTML","callback","targets","unshift","collection","comparator","sort","errorMessage","onPropertyAccess","ownProperties","prototypeProperties","targetPrototype","getOwnPropertyNames","uniquePropertiesList","isError","for","BaseError","code","customData","setMessage","setCode","setCustomData","getCode","getMessage","BaseEvent","compatData","defaultPrevented","immediatePropagationStopped","setData","setCompatData","isArrayLike","EventStore","defaultMaxListeners","eventStore","record","getRecordScheme","maxListeners","eventsMap","onceMap","getDefaultMaxListeners","eventsMaxListeners","WarningStore","warnings","printDelayed","debounce","print","listeners","contextWarnings","groupCollapsed","dir","groupEnd","warningStore","aliasStore","globalTarget","GLOBAL_TARGET","isEmitterProperty","namespaceProperty","EventEmitter","setEventNamespace","subscribe","compatMode","normalizeAliases","normalizeListener","normalizeEventName","actualName","subscribeOnce","unsubscribe","unsubscribeAll","getEventNamespace","warn","emit","emitAsync","setMaxListeners","getMaxListeners","incrementMaxListeners","decrementMaxListeners","getListeners","makeFullEventName","isEventEmitter","targetProto","emitter","fullEventName","resolveEventName","useGlobalNaming","getOrAdd","onceListeners","getNextSequenceValue","targetInfo","globalEvents","globalListeners","targetListeners","targetEvents","preparedEvent","prepareEvent","isImmediatePropagationStopped","listenerResult","getCompatData","cloneData","thisArg","setTarget","setType","sequenceValue","count","DEFAULT_MAX_LISTENERS","increment","destructMaxListenersArgs","addMaxListeners","abs","alias","mergeEventAliases","aliasListeners","aliasOnceListeners","aliasMaxListeners","eventMaxListeners","getFullEventName","actualEventName","fullName","isReady","Event","encodeAttributeValue","JSON","stringify","encode","decode","decodeAttributeValue","decodedValue","parse","e","Boolean","getPageScroll","documentElement","scrollTop","pageYOffset","scrollLeft","pageXOffset","Dom","oldElement","newElement","parentNode","replaceChild","removeChild","childNodes","firstChild","clean","insertBefore","nextSibling","appendChild","append","isElementNode","preparedClassName","trim","hasClass","classList","contains","baseVal","getAttribute","addClass","removeClass","remove","toggleClass","prop","isNull","removeAttribute","currentKey","currentValue","style","DOCUMENT_NODE","computedStyle","getComputedStyle","getPropertyValue","startsWith","removeProperty","setProperty","attrs","setAttribute","props","dataset","children","text","innerText","tag","tagName","adjust","createElement","hidden","isShown","hide","show","elementRect","getBoundingClientRect","DOMRect","left","top","width","height","relationElement","elementPosition","getPosition","relationElementPosition","attr","attrKey","attrValue","UA","navigator","Browser","isOpera","documentMode","isSafari","isFirefox","isChrome","rv","MSStream","ActiveXObject","isIE10","isIE9","isIE","appName","res","detectIEVersion","isAndroid","isMac","isTouchDevice","isIPad","isIPhone","devicePixelRatio","maxTouchPoints","msMaxTouchPoints","doc","clientHeight","localStorage","setItem","removeItem","globalClass","isIOS","isWin","isLinux","isMobile","isRetina","jsProperty","returnCSSName","getCssName","propertyName","getJsName","cssName","reg","bReturnCSSName","ucProperty","properties","lowerProp","prefix","features","classNames","support","isPropertySupported","Cookie","cookie","subItem","decodeURIComponent","cookiesList","getList","attributes","expires","now","days","dayInMs","toUTCString","safeName","escape","safeValue","encodeURIComponent","stringifiedAttributes","attributeValue","objectToFormData","formData","pre","toISOString","isFile","preparedProperty","lastIndexOf","substring","Data","Http","Loc","messageId","replacements","mess","replacement","globalRegexp","hasMessage","getPluralForm","languageId","pluralForm","voidElements","isVoidElement","matchers","comment","placeholder","parseTag","tagResult","svg","voidElement","endIndex","openTagLength","content","tagNameMatch","endsWith","attrName","parseText","preparedText","placeholders","textAcc","preparedItemText","uid","substitutions","commentsContent","commentIndex","arr","level","start","nextChar","appendElement","nodeName","renderNode","parentElement","refs","createElementNS","ref","substitution","bindFunctionName","preparedValue","childNode","subChildElement","createComment","createTextNode","render","sections","ast","renderedNode","renderedNodes","parseProps","nextSectionIndex","splitted","substitutionPlaceholderExp","Tag","styleTagHandler","attrsTagHandler","getParser","format","sourceKey","accumulator","concat","getKeyFormat","isAllowedKey","parseQuery","url","param","keyFormat","formatter","urlExp","parseUrl","queryParams","useShort","href","schema","host","path","query","hash","username","password","origin","buildQueryString","queryString","paramValue","paramIndex","prepareParamValue","Uri","setQueryParams","removableParams","removeQueryParam","getQueryParams","currentParams","newParams","serialized","protocol","getHost","getPath","Validation","exp","BaseCache","defaultValue","storage","MemoryCache","MemoryStorage","LsStorage","getItem","stackKey","parsedStack","preparedStack","getStack","saveStack","LocalStorageCache","LsCacheStorage","Cache","convertPath","SettingsCollection","convertedPath","deepFreeze","freeze","settingsStorage","settingsScriptNode","querySelector","decodedSettings","frozenSettings","OrderedArray","splice","last","getIndex","getComparator","indexes","index1","index2","low","high","mid","ZIndexComponent","componentOptions","setAlwaysOnTop","alwaysOnTop","setOverlay","overlay","setOverlayGap","overlayGap","subscribeFromOptions","zIndex","changed","getZIndex","getElement","getOverlay","getOverlayGap","component","isBoolean","gap","ZIndexStack","container","componentA","componentB","getAlwaysOnTop","getSort","components","baseIndex","step","baseStep","getComponent","setStack","setSort","sortCount","elements","getAll","getLast","setZIndex","ZIndexManager","getOrAddStack","register","unregister","stacks","addStack","bringToFront","suppressWarnings","getWindow","ownerDocument","parentWindow","defaultView","messageFunction","insertAfter","prepend","cleanNode","removeElement","currentElement","getCookie","setCookie","debugEnableFlag","debugStatus","default","debugNs","debugEnable","loadExt","throttle","isNotEmptyObject","isMapKey","stringToInt","parsed","browser","IsOpera","IsIE","IsIE6","isIE6","IsIE7","isIE7","IsIE8","isIE8","IsIE9","IsIE10","IsIE11","isIE11","IsSafari","IsFirefox","IsChrome","DetectIeVersion","IsMac","IsAndroid","IsIOS","IsMobile","IsDoctype","isDoctype","SupportLocalStorage","isLocalStorageSupported","addGlobalClass","DetectAndroidVersion","detectAndroidVersion","addGlobalFeatures","GetWindowScrollSize","scrollWidth","scrollHeight","GetWindowScrollPos","win","GetWindowInnerSize","innerWidth","innerHeight","GetWindowSize","GetContext","pos","relative","toJSON","clientRect","root","round","bottom","w","offsetWidth","h","offsetHeight","offsetParent","is_relative","offsetLeft","offsetTop","addCustomEvent","eventObject","eventHandler","onCustomEvent","eventParams","secureParams","removeCustomEvent","removeAllCustomEvents","LazyLoad","observer","images","imageStatus","inited","imageTypes","image","background","initObserver","IntersectionObserver","onIntersection","rootMargin","threshold","isIntersecting","showImage","registerImage","isImageVisibleCallback","observe","dataSrcName","registerImages","ids","imageNode","imageNodeId","initImage","backgroundImage","showImages","checkOwnVisibility","isImageVisible","isElementVisibleOnScreen","coords","getElementCoords","windowTop","windowBottom","isElementVisibleOn2Screens","windowHeight","box","originTop","originLeft","onScroll","clearImages","ParamBag"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACl/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;CCvsBC;;;;;CAQCA;CAGC;CAAc,aAAA;CAAc;;;;CCb/BC;CACE,MAAI;CACF,WAAO,CAAC,CAACC,IAAI,EAAb;CACD,GAFD,CAEE,OAAOC,KAAP,EAAc;CACd,WAAO,IAAP;CACD;CACF,CAND;;CCGAF;;;CAEwCG,IAAAA;CAAmB;CAAW;CAAhC;CACrC;;;;;CCND,IAAIC,IAAI,GAAGC,QAAQ,CAACC,SAAT,CAAmBF,IAA9B;CAEAJ;CACE,SAAOI,IAAI,CAACG,KAAL,CAAWH,IAAX,EAAiBI,SAAjB,CAAP;CACD,CAFD;;CCDA,IAAIC,qBAAqB,GAAG,GAAGC,oBAA/B;;CAEA,IAAIC,wBAAwB,GAAGC,MAAM,CAACD,wBAAtC;;CAGA,IAAIE,WAAW,GAAGF,wBAAwB,IAAI,CAACF,qBAAqB,CAACL,IAAtB,CAA2B;CAAE,KAAG;CAAL,CAA3B,EAAqC,CAArC,CAA/C;CAGA;;CACAU,QAAQC,+CAAkB;CACx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AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC55HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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AAA;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrNA","file":"core.js.map","sourcesContent":[null,null,null,"var check = function (it) {\n  return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n  // eslint-disable-next-line es/no-global-this -- safe\n  check(typeof globalThis == 'object' && globalThis) ||\n  check(typeof window == 'object' && window) ||\n  // eslint-disable-next-line no-restricted-globals -- safe\n  check(typeof self == 'object' && self) ||\n  check(typeof global == 'object' && global) ||\n  // eslint-disable-next-line no-new-func -- fallback\n  (function () { return this; })() || Function('return this')();\n","module.exports = function (exec) {\n  try {\n    return !!exec();\n  } catch (error) {\n    return true;\n  }\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var call = Function.prototype.call;\n\nmodule.exports = call.bind ? call.bind(call) : function () {\n  return call.apply(call, arguments);\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n  var descriptor = getOwnPropertyDescriptor(this, V);\n  return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","module.exports = function (bitmap, value) {\n  return {\n    enumerable: !(bitmap & 1),\n    configurable: !(bitmap & 2),\n    writable: !(bitmap & 4),\n    value: value\n  };\n};\n","var FunctionPrototype = Function.prototype;\nvar bind = FunctionPrototype.bind;\nvar call = FunctionPrototype.call;\nvar callBind = bind && bind.bind(call);\n\nmodule.exports = bind ? function (fn) {\n  return fn && callBind(call, fn);\n} : function (fn) {\n  return fn && function () {\n    return call.apply(fn, arguments);\n  };\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n  return stringSlice(toString(it), 8, -1);\n};\n","var global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar Object = global.Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n  // eslint-disable-next-line no-prototype-builtins -- safe\n  return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n  return classof(it) == 'String' ? split(it, '') : Object(it);\n} : Object;\n","var global = require('../internals/global');\n\nvar TypeError = global.TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n  if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n  return it;\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n  return IndexedObject(requireObjectCoercible(it));\n};\n","// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = function (argument) {\n  return typeof argument == 'function';\n};\n","var isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n  return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n  return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n  return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n  match = v8.split('.');\n  // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n  // but their correct versions are not interesting for us\n  version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n  match = userAgent.match(/Edge\\/(\\d+)/);\n  if (!match || match[1] >= 74) {\n    match = userAgent.match(/Chrome\\/(\\d+)/);\n    if (match) version = +match[1];\n  }\n}\n\nmodule.exports = version;\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n  var symbol = Symbol();\n  // Chrome 38 Symbol has incorrect toString conversion\n  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n  return !String(symbol) || !(Object(symbol) instanceof Symbol) ||\n    // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n    !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\n\nmodule.exports = NATIVE_SYMBOL\n  && !Symbol.sham\n  && typeof Symbol.iterator == 'symbol';\n","var global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Object = global.Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n  return typeof it == 'symbol';\n} : function (it) {\n  var $Symbol = getBuiltIn('Symbol');\n  return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, Object(it));\n};\n","var global = require('../internals/global');\n\nvar String = global.String;\n\nmodule.exports = function (argument) {\n  try {\n    return String(argument);\n  } catch (error) {\n    return 'Object';\n  }\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar TypeError = global.TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n  if (isCallable(argument)) return argument;\n  throw TypeError(tryToString(argument) + ' is not a function');\n};\n","var aCallable = require('../internals/a-callable');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n  var func = V[P];\n  return func == null ? undefined : aCallable(func);\n};\n","var global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar TypeError = global.TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n  var fn, val;\n  if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n  if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n  if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n  throw TypeError(\"Can't convert object to primitive value\");\n};\n","module.exports = false;\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n  try {\n    defineProperty(global, key, { value: value, configurable: true, writable: true });\n  } catch (error) {\n    global[key] = value;\n  } return value;\n};\n","var global = require('../internals/global');\nvar setGlobal = require('../internals/set-global');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || setGlobal(SHARED, {});\n\nmodule.exports = store;\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n\treturn store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n\tversion: '3.19.2',\n\tmode: IS_PURE ? 'pure' : 'global',\n\tcopyright: '(c) 2021 Denis Pushkarev (zloirock.ru)'\n});\n","var global = require('../internals/global');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar Object = global.Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n  return Object(requireObjectCoercible(argument));\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n  return hasOwnProperty(toObject(it), key);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar symbolFor = Symbol && Symbol['for'];\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n  if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n    var description = 'Symbol.' + name;\n    if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {\n      WellKnownSymbolsStore[name] = Symbol[name];\n    } else if (USE_SYMBOL_AS_UID && symbolFor) {\n      WellKnownSymbolsStore[name] = symbolFor(description);\n    } else {\n      WellKnownSymbolsStore[name] = createWellKnownSymbol(description);\n    }\n  } return WellKnownSymbolsStore[name];\n};\n","var global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TypeError = global.TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n  if (!isObject(input) || isSymbol(input)) return input;\n  var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n  var result;\n  if (exoticToPrim) {\n    if (pref === undefined) pref = 'default';\n    result = call(exoticToPrim, input, pref);\n    if (!isObject(result) || isSymbol(result)) return result;\n    throw TypeError(\"Can't convert object to primitive value\");\n  }\n  if (pref === undefined) pref = 'number';\n  return ordinaryToPrimitive(input, pref);\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n  var key = toPrimitive(argument, 'string');\n  return isSymbol(key) ? key : key + '';\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n  return EXISTS ? document.createElement(it) : {};\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- requied for testing\n  return Object.defineProperty(createElement('div'), 'a', {\n    get: function () { return 7; }\n  }).a != 7;\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n  O = toIndexedObject(O);\n  P = toPropertyKey(P);\n  if (IE8_DOM_DEFINE) try {\n    return $getOwnPropertyDescriptor(O, P);\n  } catch (error) { /* empty */ }\n  if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar String = global.String;\nvar TypeError = global.TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n  if (isObject(argument)) return argument;\n  throw TypeError(String(argument) + ' is not an object');\n};\n","var global = require('../internals/global');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar TypeError = global.TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? $defineProperty : function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPropertyKey(P);\n  anObject(Attributes);\n  if (IE8_DOM_DEFINE) try {\n    return $defineProperty(O, P, Attributes);\n  } catch (error) { /* empty */ }\n  if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');\n  if ('value' in Attributes) O[P] = Attributes.value;\n  return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n  return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n  object[key] = value;\n  return object;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n  store.inspectSource = function (it) {\n    return functionToString(it);\n  };\n}\n\nmodule.exports = store.inspectSource;\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar inspectSource = require('../internals/inspect-source');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap));\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n  return keys[key] || (keys[key] = uid(key));\n};\n","module.exports = {};\n","var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n  return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n  return function (it) {\n    var state;\n    if (!isObject(it) || (state = get(it)).type !== TYPE) {\n      throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n    } return state;\n  };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n  var store = shared.state || (shared.state = new WeakMap());\n  var wmget = uncurryThis(store.get);\n  var wmhas = uncurryThis(store.has);\n  var wmset = uncurryThis(store.set);\n  set = function (it, metadata) {\n    if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n    metadata.facade = it;\n    wmset(store, it, metadata);\n    return metadata;\n  };\n  get = function (it) {\n    return wmget(store, it) || {};\n  };\n  has = function (it) {\n    return wmhas(store, it);\n  };\n} else {\n  var STATE = sharedKey('state');\n  hiddenKeys[STATE] = true;\n  set = function (it, metadata) {\n    if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n    metadata.facade = it;\n    createNonEnumerableProperty(it, STATE, metadata);\n    return metadata;\n  };\n  get = function (it) {\n    return hasOwn(it, STATE) ? it[STATE] : {};\n  };\n  has = function (it) {\n    return hasOwn(it, STATE);\n  };\n}\n\nmodule.exports = {\n  set: set,\n  get: get,\n  has: has,\n  enforce: enforce,\n  getterFor: getterFor\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n  EXISTS: EXISTS,\n  PROPER: PROPER,\n  CONFIGURABLE: CONFIGURABLE\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar setGlobal = require('../internals/set-global');\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\n\nvar getInternalState = InternalStateModule.get;\nvar enforceInternalState = InternalStateModule.enforce;\nvar TEMPLATE = String(String).split('String');\n\n(module.exports = function (O, key, value, options) {\n  var unsafe = options ? !!options.unsafe : false;\n  var simple = options ? !!options.enumerable : false;\n  var noTargetGet = options ? !!options.noTargetGet : false;\n  var name = options && options.name !== undefined ? options.name : key;\n  var state;\n  if (isCallable(value)) {\n    if (String(name).slice(0, 7) === 'Symbol(') {\n      name = '[' + String(name).replace(/^Symbol\\(([^)]*)\\)/, '$1') + ']';\n    }\n    if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n      createNonEnumerableProperty(value, 'name', name);\n    }\n    state = enforceInternalState(value);\n    if (!state.source) {\n      state.source = TEMPLATE.join(typeof name == 'string' ? name : '');\n    }\n  }\n  if (O === global) {\n    if (simple) O[key] = value;\n    else setGlobal(key, value);\n    return;\n  } else if (!unsafe) {\n    delete O[key];\n  } else if (!noTargetGet && O[key]) {\n    simple = true;\n  }\n  if (simple) O[key] = value;\n  else createNonEnumerableProperty(O, key, value);\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, 'toString', function toString() {\n  return isCallable(this) && getInternalState(this).source || inspectSource(this);\n});\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n  var number = +argument;\n  // eslint-disable-next-line no-self-compare -- safe\n  return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n  var integer = toIntegerOrInfinity(index);\n  return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n  return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n  return toLength(obj.length);\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n  return function ($this, el, fromIndex) {\n    var O = toIndexedObject($this);\n    var length = lengthOfArrayLike(O);\n    var index = toAbsoluteIndex(fromIndex, length);\n    var value;\n    // Array#includes uses SameValueZero equality algorithm\n    // eslint-disable-next-line no-self-compare -- NaN check\n    if (IS_INCLUDES && el != el) while (length > index) {\n      value = O[index++];\n      // eslint-disable-next-line no-self-compare -- NaN check\n      if (value != value) return true;\n    // Array#indexOf ignores holes, Array#includes - not\n    } else for (;length > index; index++) {\n      if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n    } return !IS_INCLUDES && -1;\n  };\n};\n\nmodule.exports = {\n  // `Array.prototype.includes` method\n  // https://tc39.es/ecma262/#sec-array.prototype.includes\n  includes: createMethod(true),\n  // `Array.prototype.indexOf` method\n  // https://tc39.es/ecma262/#sec-array.prototype.indexof\n  indexOf: createMethod(false)\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n  var O = toIndexedObject(object);\n  var i = 0;\n  var result = [];\n  var key;\n  for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n  // Don't enum bug & hidden keys\n  while (names.length > i) if (hasOwn(O, key = names[i++])) {\n    ~indexOf(result, key) || push(result, key);\n  }\n  return result;\n};\n","// IE8- don't enum bug keys\nmodule.exports = [\n  'constructor',\n  'hasOwnProperty',\n  'isPrototypeOf',\n  'propertyIsEnumerable',\n  'toLocaleString',\n  'toString',\n  'valueOf'\n];\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n  return internalObjectKeys(O, hiddenKeys);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n  var keys = getOwnPropertyNamesModule.f(anObject(it));\n  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n  return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source) {\n  var keys = ownKeys(source);\n  var defineProperty = definePropertyModule.f;\n  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n  for (var i = 0; i < keys.length; i++) {\n    var key = keys[i];\n    if (!hasOwn(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n  }\n};\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n  var value = data[normalize(feature)];\n  return value == POLYFILL ? true\n    : value == NATIVE ? false\n    : isCallable(detection) ? fails(detection)\n    : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n  return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar setGlobal = require('../internals/set-global');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n  options.target      - name of the target object\n  options.global      - target is the global object\n  options.stat        - export as static methods of target\n  options.proto       - export as prototype methods of target\n  options.real        - real prototype method for the `pure` version\n  options.forced      - export even if the native feature is available\n  options.bind        - bind methods to the target, required for the `pure` version\n  options.wrap        - wrap constructors to preventing global pollution, required for the `pure` version\n  options.unsafe      - use the simple assignment of property instead of delete + defineProperty\n  options.sham        - add a flag to not completely full polyfills\n  options.enumerable  - export as enumerable property\n  options.noTargetGet - prevent calling a getter on target\n  options.name        - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n  var TARGET = options.target;\n  var GLOBAL = options.global;\n  var STATIC = options.stat;\n  var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n  if (GLOBAL) {\n    target = global;\n  } else if (STATIC) {\n    target = global[TARGET] || setGlobal(TARGET, {});\n  } else {\n    target = (global[TARGET] || {}).prototype;\n  }\n  if (target) for (key in source) {\n    sourceProperty = source[key];\n    if (options.noTargetGet) {\n      descriptor = getOwnPropertyDescriptor(target, key);\n      targetProperty = descriptor && descriptor.value;\n    } else targetProperty = target[key];\n    FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n    // contained in target\n    if (!FORCED && targetProperty !== undefined) {\n      if (typeof sourceProperty == typeof targetProperty) continue;\n      copyConstructorProperties(sourceProperty, targetProperty);\n    }\n    // add a flag to not completely full polyfills\n    if (options.sham || (targetProperty && targetProperty.sham)) {\n      createNonEnumerableProperty(sourceProperty, 'sham', true);\n    }\n    // extend global\n    redefine(target, key, sourceProperty, options);\n  }\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n  function F() { /* empty */ }\n  F.prototype.constructor = null;\n  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n  return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var global = require('../internals/global');\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar Object = global.Object;\nvar ObjectPrototype = Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n  var object = toObject(O);\n  if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n  var constructor = object.constructor;\n  if (isCallable(constructor) && object instanceof constructor) {\n    return constructor.prototype;\n  } return object instanceof Object ? ObjectPrototype : null;\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar String = global.String;\nvar TypeError = global.TypeError;\n\nmodule.exports = function (argument) {\n  if (typeof argument == 'object' || isCallable(argument)) return argument;\n  throw TypeError(\"Can't set \" + String(argument) + ' as a prototype');\n};\n","/* eslint-disable no-proto -- safe */\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n  var CORRECT_SETTER = false;\n  var test = {};\n  var setter;\n  try {\n    // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n    setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);\n    setter(test, []);\n    CORRECT_SETTER = test instanceof Array;\n  } catch (error) { /* empty */ }\n  return function setPrototypeOf(O, proto) {\n    anObject(O);\n    aPossiblePrototype(proto);\n    if (CORRECT_SETTER) setter(O, proto);\n    else O.__proto__ = proto;\n    return O;\n  };\n}() : undefined);\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n  return internalObjectKeys(O, enumBugKeys);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n  anObject(O);\n  var props = toIndexedObject(Properties);\n  var keys = objectKeys(Properties);\n  var length = keys.length;\n  var index = 0;\n  var key;\n  while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n  return O;\n};\n","/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar defineProperties = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n  return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n  activeXDocument.write(scriptTag(''));\n  activeXDocument.close();\n  var temp = activeXDocument.parentWindow.Object;\n  activeXDocument = null; // avoid memory leak\n  return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n  // Thrash, waste and sodomy: IE GC bug\n  var iframe = documentCreateElement('iframe');\n  var JS = 'java' + SCRIPT + ':';\n  var iframeDocument;\n  iframe.style.display = 'none';\n  html.appendChild(iframe);\n  // https://github.com/zloirock/core-js/issues/475\n  iframe.src = String(JS);\n  iframeDocument = iframe.contentWindow.document;\n  iframeDocument.open();\n  iframeDocument.write(scriptTag('document.F=Object'));\n  iframeDocument.close();\n  return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n  try {\n    activeXDocument = new ActiveXObject('htmlfile');\n  } catch (error) { /* ignore */ }\n  NullProtoObject = typeof document != 'undefined'\n    ? document.domain && activeXDocument\n      ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n      : NullProtoObjectViaIFrame()\n    : NullProtoObjectViaActiveX(activeXDocument); // WSH\n  var length = enumBugKeys.length;\n  while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n  return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\nmodule.exports = Object.create || function create(O, Properties) {\n  var result;\n  if (O !== null) {\n    EmptyConstructor[PROTOTYPE] = anObject(O);\n    result = new EmptyConstructor();\n    EmptyConstructor[PROTOTYPE] = null;\n    // add \"__proto__\" for Object.getPrototypeOf polyfill\n    result[IE_PROTO] = O;\n  } else result = NullProtoObject();\n  return Properties === undefined ? result : defineProperties(result, Properties);\n};\n","var global = require('../internals/global');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\n\nvar Array = global.Array;\nvar max = Math.max;\n\nmodule.exports = function (O, start, end) {\n  var length = lengthOfArrayLike(O);\n  var k = toAbsoluteIndex(start, length);\n  var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n  var result = Array(max(fin - k, 0));\n  for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);\n  result.length = n;\n  return result;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar replace = uncurryThis(''.replace);\nvar split = uncurryThis(''.split);\nvar join = uncurryThis([].join);\n\nvar TEST = (function (arg) { return String(Error(arg).stack); })('zxcasd');\nvar V8_OR_CHAKRA_STACK_ENTRY = /\\n\\s*at [^:]*:[^\\n]*/;\nvar IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);\nvar IS_FIREFOX_OR_SAFARI_STACK = /@[^\\n]*\\n/.test(TEST) && !/zxcasd/.test(TEST);\n\nmodule.exports = function (stack, dropEntries) {\n  if (typeof stack != 'string') return stack;\n  if (IS_V8_OR_CHAKRA_STACK) {\n    while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');\n  } else if (IS_FIREFOX_OR_SAFARI_STACK) {\n    return join(arraySlice(split(stack, '\\n'), dropEntries), '\\n');\n  } return stack;\n};\n","var isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\n// `InstallErrorCause` abstract operation\n// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause\nmodule.exports = function (O, options) {\n  if (isObject(options) && 'cause' in options) {\n    createNonEnumerableProperty(O, 'cause', options.cause);\n  }\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n  aCallable(fn);\n  return that === undefined ? fn : bind ? bind(fn, that) : function (/* ...args */) {\n    return fn.apply(that, arguments);\n  };\n};\n","module.exports = {};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n  return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var global = require('../internals/global');\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar Object = global.Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n  try {\n    return it[key];\n  } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n  var O, tag, result;\n  return it === undefined ? 'Undefined' : it === null ? 'Null'\n    // @@toStringTag case\n    : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\n    // builtinTag case\n    : CORRECT_ARGUMENTS ? classofRaw(O)\n    // ES3 arguments fallback\n    : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","var classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n  if (it != undefined) return getMethod(it, ITERATOR)\n    || getMethod(it, '@@iterator')\n    || Iterators[classof(it)];\n};\n","var global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar TypeError = global.TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n  var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n  if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n  throw TypeError(tryToString(argument) + ' is not iterable');\n};\n","var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n  var innerResult, innerError;\n  anObject(iterator);\n  try {\n    innerResult = getMethod(iterator, 'return');\n    if (!innerResult) {\n      if (kind === 'throw') throw value;\n      return value;\n    }\n    innerResult = call(innerResult, iterator);\n  } catch (error) {\n    innerError = true;\n    innerResult = error;\n  }\n  if (kind === 'throw') throw value;\n  if (innerError) throw innerResult;\n  anObject(innerResult);\n  return value;\n};\n","var global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar TypeError = global.TypeError;\n\nvar Result = function (stopped, result) {\n  this.stopped = stopped;\n  this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n  var that = options && options.that;\n  var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n  var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n  var INTERRUPTED = !!(options && options.INTERRUPTED);\n  var fn = bind(unboundFunction, that);\n  var iterator, iterFn, index, length, result, next, step;\n\n  var stop = function (condition) {\n    if (iterator) iteratorClose(iterator, 'normal', condition);\n    return new Result(true, condition);\n  };\n\n  var callFn = function (value) {\n    if (AS_ENTRIES) {\n      anObject(value);\n      return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n    } return INTERRUPTED ? fn(value, stop) : fn(value);\n  };\n\n  if (IS_ITERATOR) {\n    iterator = iterable;\n  } else {\n    iterFn = getIteratorMethod(iterable);\n    if (!iterFn) throw TypeError(tryToString(iterable) + ' is not iterable');\n    // optimisation for array iterators\n    if (isArrayIteratorMethod(iterFn)) {\n      for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n        result = callFn(iterable[index]);\n        if (result && isPrototypeOf(ResultPrototype, result)) return result;\n      } return new Result(false);\n    }\n    iterator = getIterator(iterable, iterFn);\n  }\n\n  next = iterator.next;\n  while (!(step = call(next, iterator)).done) {\n    try {\n      result = callFn(step.value);\n    } catch (error) {\n      iteratorClose(iterator, 'throw', error);\n    }\n    if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n  } return new Result(false);\n};\n","var global = require('../internals/global');\nvar classof = require('../internals/classof');\n\nvar String = global.String;\n\nmodule.exports = function (argument) {\n  if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n  return String(argument);\n};\n","var toString = require('../internals/to-string');\n\nmodule.exports = function (argument, $default) {\n  return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n","var fails = require('../internals/fails');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = !fails(function () {\n  var error = Error('a');\n  if (!('stack' in error)) return true;\n  // eslint-disable-next-line es/no-object-defineproperty -- safe\n  Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));\n  return error.stack !== 7;\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar create = require('../internals/object-create');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar clearErrorStack = require('../internals/clear-error-stack');\nvar installErrorCause = require('../internals/install-error-cause');\nvar iterate = require('../internals/iterate');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar Error = global.Error;\nvar push = [].push;\n\nvar $AggregateError = function AggregateError(errors, message /* , options */) {\n  var options = arguments.length > 2 ? arguments[2] : undefined;\n  var isInstance = isPrototypeOf(AggregateErrorPrototype, this);\n  var that;\n  if (setPrototypeOf) {\n    that = setPrototypeOf(new Error(undefined), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype);\n  } else {\n    that = isInstance ? this : create(AggregateErrorPrototype);\n    createNonEnumerableProperty(that, TO_STRING_TAG, 'Error');\n  }\n  createNonEnumerableProperty(that, 'message', normalizeStringArgument(message, ''));\n  if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty(that, 'stack', clearErrorStack(that.stack, 1));\n  installErrorCause(that, options);\n  var errorsArray = [];\n  iterate(errors, push, { that: errorsArray });\n  createNonEnumerableProperty(that, 'errors', errorsArray);\n  return that;\n};\n\nif (setPrototypeOf) setPrototypeOf($AggregateError, Error);\nelse copyConstructorProperties($AggregateError, Error);\n\nvar AggregateErrorPrototype = $AggregateError.prototype = create(Error.prototype, {\n  constructor: createPropertyDescriptor(1, $AggregateError),\n  message: createPropertyDescriptor(1, ''),\n  name: createPropertyDescriptor(1, 'AggregateError')\n});\n\n// `AggregateError` constructor\n// https://tc39.es/ecma262/#sec-aggregate-error-constructor\n$({ global: true }, {\n  AggregateError: $AggregateError\n});\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar definePropertyModule = require('../internals/object-define-property');\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] == undefined) {\n  definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {\n    configurable: true,\n    value: create(null)\n  });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n  ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.at` method\n// https://github.com/tc39/proposal-relative-indexing-method\n$({ target: 'Array', proto: true }, {\n  at: function at(index) {\n    var O = toObject(this);\n    var len = lengthOfArrayLike(O);\n    var relativeIndex = toIntegerOrInfinity(index);\n    var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;\n    return (k < 0 || k >= len) ? undefined : O[k];\n  }\n});\n\naddToUnscopables('at');\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n  return classof(argument) == 'Array';\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\n\nvar un$Reverse = uncurryThis([].reverse);\nvar test = [1, 2];\n\n// `Array.prototype.reverse` method\n// https://tc39.es/ecma262/#sec-array.prototype.reverse\n// fix for Safari 12.0 bug\n// https://bugs.webkit.org/show_bug.cgi?id=188794\n$({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {\n  reverse: function reverse() {\n    // eslint-disable-next-line no-self-assign -- dirty hack\n    if (isArray(this)) this.length = this.length;\n    return un$Reverse(this);\n  }\n});\n","// eslint-disable-next-line es/no-typed-arrays -- safe\nmodule.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';\n","var redefine = require('../internals/redefine');\n\nmodule.exports = function (target, src, options) {\n  for (var key in src) redefine(target, key, src[key], options);\n  return target;\n};\n","var global = require('../internals/global');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar TypeError = global.TypeError;\n\nmodule.exports = function (it, Prototype) {\n  if (isPrototypeOf(Prototype, it)) return it;\n  throw TypeError('Incorrect invocation');\n};\n","var global = require('../internals/global');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\n\nvar RangeError = global.RangeError;\n\n// `ToIndex` abstract operation\n// https://tc39.es/ecma262/#sec-toindex\nmodule.exports = function (it) {\n  if (it === undefined) return 0;\n  var number = toIntegerOrInfinity(it);\n  var length = toLength(number);\n  if (number !== length) throw RangeError('Wrong length or index');\n  return length;\n};\n","// IEEE754 conversions based on https://github.com/feross/ieee754\nvar global = require('../internals/global');\n\nvar Array = global.Array;\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar floor = Math.floor;\nvar log = Math.log;\nvar LN2 = Math.LN2;\n\nvar pack = function (number, mantissaLength, bytes) {\n  var buffer = Array(bytes);\n  var exponentLength = bytes * 8 - mantissaLength - 1;\n  var eMax = (1 << exponentLength) - 1;\n  var eBias = eMax >> 1;\n  var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0;\n  var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0;\n  var index = 0;\n  var exponent, mantissa, c;\n  number = abs(number);\n  // eslint-disable-next-line no-self-compare -- NaN check\n  if (number != number || number === Infinity) {\n    // eslint-disable-next-line no-self-compare -- NaN check\n    mantissa = number != number ? 1 : 0;\n    exponent = eMax;\n  } else {\n    exponent = floor(log(number) / LN2);\n    c = pow(2, -exponent);\n    if (number * c < 1) {\n      exponent--;\n      c *= 2;\n    }\n    if (exponent + eBias >= 1) {\n      number += rt / c;\n    } else {\n      number += rt * pow(2, 1 - eBias);\n    }\n    if (number * c >= 2) {\n      exponent++;\n      c /= 2;\n    }\n    if (exponent + eBias >= eMax) {\n      mantissa = 0;\n      exponent = eMax;\n    } else if (exponent + eBias >= 1) {\n      mantissa = (number * c - 1) * pow(2, mantissaLength);\n      exponent = exponent + eBias;\n    } else {\n      mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength);\n      exponent = 0;\n    }\n  }\n  while (mantissaLength >= 8) {\n    buffer[index++] = mantissa & 255;\n    mantissa /= 256;\n    mantissaLength -= 8;\n  }\n  exponent = exponent << mantissaLength | mantissa;\n  exponentLength += mantissaLength;\n  while (exponentLength > 0) {\n    buffer[index++] = exponent & 255;\n    exponent /= 256;\n    exponentLength -= 8;\n  }\n  buffer[--index] |= sign * 128;\n  return buffer;\n};\n\nvar unpack = function (buffer, mantissaLength) {\n  var bytes = buffer.length;\n  var exponentLength = bytes * 8 - mantissaLength - 1;\n  var eMax = (1 << exponentLength) - 1;\n  var eBias = eMax >> 1;\n  var nBits = exponentLength - 7;\n  var index = bytes - 1;\n  var sign = buffer[index--];\n  var exponent = sign & 127;\n  var mantissa;\n  sign >>= 7;\n  while (nBits > 0) {\n    exponent = exponent * 256 + buffer[index--];\n    nBits -= 8;\n  }\n  mantissa = exponent & (1 << -nBits) - 1;\n  exponent >>= -nBits;\n  nBits += mantissaLength;\n  while (nBits > 0) {\n    mantissa = mantissa * 256 + buffer[index--];\n    nBits -= 8;\n  }\n  if (exponent === 0) {\n    exponent = 1 - eBias;\n  } else if (exponent === eMax) {\n    return mantissa ? NaN : sign ? -Infinity : Infinity;\n  } else {\n    mantissa = mantissa + pow(2, mantissaLength);\n    exponent = exponent - eBias;\n  } return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength);\n};\n\nmodule.exports = {\n  pack: pack,\n  unpack: unpack\n};\n","'use strict';\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.fill` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.fill\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n  var O = toObject(this);\n  var length = lengthOfArrayLike(O);\n  var argumentsLength = arguments.length;\n  var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);\n  var end = argumentsLength > 2 ? arguments[2] : undefined;\n  var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n  while (endPos > index) O[index++] = value;\n  return O;\n};\n","var defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (it, TAG, STATIC) {\n  if (it && !hasOwn(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {\n    defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });\n  }\n};\n","'use strict';\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-native');\nvar FunctionName = require('../internals/function-name');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefineAll = require('../internals/redefine-all');\nvar fails = require('../internals/fails');\nvar anInstance = require('../internals/an-instance');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toIndex = require('../internals/to-index');\nvar IEEE754 = require('../internals/ieee754');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar arrayFill = require('../internals/array-fill');\nvar arraySlice = require('../internals/array-slice-simple');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar getInternalState = InternalStateModule.get;\nvar setInternalState = InternalStateModule.set;\nvar ARRAY_BUFFER = 'ArrayBuffer';\nvar DATA_VIEW = 'DataView';\nvar PROTOTYPE = 'prototype';\nvar WRONG_LENGTH = 'Wrong length';\nvar WRONG_INDEX = 'Wrong index';\nvar NativeArrayBuffer = global[ARRAY_BUFFER];\nvar $ArrayBuffer = NativeArrayBuffer;\nvar ArrayBufferPrototype = $ArrayBuffer && $ArrayBuffer[PROTOTYPE];\nvar $DataView = global[DATA_VIEW];\nvar DataViewPrototype = $DataView && $DataView[PROTOTYPE];\nvar ObjectPrototype = Object.prototype;\nvar Array = global.Array;\nvar RangeError = global.RangeError;\nvar fill = uncurryThis(arrayFill);\nvar reverse = uncurryThis([].reverse);\n\nvar packIEEE754 = IEEE754.pack;\nvar unpackIEEE754 = IEEE754.unpack;\n\nvar packInt8 = function (number) {\n  return [number & 0xFF];\n};\n\nvar packInt16 = function (number) {\n  return [number & 0xFF, number >> 8 & 0xFF];\n};\n\nvar packInt32 = function (number) {\n  return [number & 0xFF, number >> 8 & 0xFF, number >> 16 & 0xFF, number >> 24 & 0xFF];\n};\n\nvar unpackInt32 = function (buffer) {\n  return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0];\n};\n\nvar packFloat32 = function (number) {\n  return packIEEE754(number, 23, 4);\n};\n\nvar packFloat64 = function (number) {\n  return packIEEE754(number, 52, 8);\n};\n\nvar addGetter = function (Constructor, key) {\n  defineProperty(Constructor[PROTOTYPE], key, { get: function () { return getInternalState(this)[key]; } });\n};\n\nvar get = function (view, count, index, isLittleEndian) {\n  var intIndex = toIndex(index);\n  var store = getInternalState(view);\n  if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX);\n  var bytes = getInternalState(store.buffer).bytes;\n  var start = intIndex + store.byteOffset;\n  var pack = arraySlice(bytes, start, start + count);\n  return isLittleEndian ? pack : reverse(pack);\n};\n\nvar set = function (view, count, index, conversion, value, isLittleEndian) {\n  var intIndex = toIndex(index);\n  var store = getInternalState(view);\n  if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX);\n  var bytes = getInternalState(store.buffer).bytes;\n  var start = intIndex + store.byteOffset;\n  var pack = conversion(+value);\n  for (var i = 0; i < count; i++) bytes[start + i] = pack[isLittleEndian ? i : count - i - 1];\n};\n\nif (!NATIVE_ARRAY_BUFFER) {\n  $ArrayBuffer = function ArrayBuffer(length) {\n    anInstance(this, ArrayBufferPrototype);\n    var byteLength = toIndex(length);\n    setInternalState(this, {\n      bytes: fill(Array(byteLength), 0),\n      byteLength: byteLength\n    });\n    if (!DESCRIPTORS) this.byteLength = byteLength;\n  };\n\n  ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE];\n\n  $DataView = function DataView(buffer, byteOffset, byteLength) {\n    anInstance(this, DataViewPrototype);\n    anInstance(buffer, ArrayBufferPrototype);\n    var bufferLength = getInternalState(buffer).byteLength;\n    var offset = toIntegerOrInfinity(byteOffset);\n    if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset');\n    byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n    if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);\n    setInternalState(this, {\n      buffer: buffer,\n      byteLength: byteLength,\n      byteOffset: offset\n    });\n    if (!DESCRIPTORS) {\n      this.buffer = buffer;\n      this.byteLength = byteLength;\n      this.byteOffset = offset;\n    }\n  };\n\n  DataViewPrototype = $DataView[PROTOTYPE];\n\n  if (DESCRIPTORS) {\n    addGetter($ArrayBuffer, 'byteLength');\n    addGetter($DataView, 'buffer');\n    addGetter($DataView, 'byteLength');\n    addGetter($DataView, 'byteOffset');\n  }\n\n  redefineAll(DataViewPrototype, {\n    getInt8: function getInt8(byteOffset) {\n      return get(this, 1, byteOffset)[0] << 24 >> 24;\n    },\n    getUint8: function getUint8(byteOffset) {\n      return get(this, 1, byteOffset)[0];\n    },\n    getInt16: function getInt16(byteOffset /* , littleEndian */) {\n      var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined);\n      return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n    },\n    getUint16: function getUint16(byteOffset /* , littleEndian */) {\n      var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined);\n      return bytes[1] << 8 | bytes[0];\n    },\n    getInt32: function getInt32(byteOffset /* , littleEndian */) {\n      return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined));\n    },\n    getUint32: function getUint32(byteOffset /* , littleEndian */) {\n      return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined)) >>> 0;\n    },\n    getFloat32: function getFloat32(byteOffset /* , littleEndian */) {\n      return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 23);\n    },\n    getFloat64: function getFloat64(byteOffset /* , littleEndian */) {\n      return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 52);\n    },\n    setInt8: function setInt8(byteOffset, value) {\n      set(this, 1, byteOffset, packInt8, value);\n    },\n    setUint8: function setUint8(byteOffset, value) {\n      set(this, 1, byteOffset, packInt8, value);\n    },\n    setInt16: function setInt16(byteOffset, value /* , littleEndian */) {\n      set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined);\n    },\n    setUint16: function setUint16(byteOffset, value /* , littleEndian */) {\n      set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined);\n    },\n    setInt32: function setInt32(byteOffset, value /* , littleEndian */) {\n      set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined);\n    },\n    setUint32: function setUint32(byteOffset, value /* , littleEndian */) {\n      set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined);\n    },\n    setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {\n      set(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : undefined);\n    },\n    setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {\n      set(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : undefined);\n    }\n  });\n} else {\n  var INCORRECT_ARRAY_BUFFER_NAME = PROPER_FUNCTION_NAME && NativeArrayBuffer.name !== ARRAY_BUFFER;\n  /* eslint-disable no-new -- required for testing */\n  if (!fails(function () {\n    NativeArrayBuffer(1);\n  }) || !fails(function () {\n    new NativeArrayBuffer(-1);\n  }) || fails(function () {\n    new NativeArrayBuffer();\n    new NativeArrayBuffer(1.5);\n    new NativeArrayBuffer(NaN);\n    return INCORRECT_ARRAY_BUFFER_NAME && !CONFIGURABLE_FUNCTION_NAME;\n  })) {\n  /* eslint-enable no-new -- required for testing */\n    $ArrayBuffer = function ArrayBuffer(length) {\n      anInstance(this, ArrayBufferPrototype);\n      return new NativeArrayBuffer(toIndex(length));\n    };\n\n    $ArrayBuffer[PROTOTYPE] = ArrayBufferPrototype;\n\n    for (var keys = getOwnPropertyNames(NativeArrayBuffer), j = 0, key; keys.length > j;) {\n      if (!((key = keys[j++]) in $ArrayBuffer)) {\n        createNonEnumerableProperty($ArrayBuffer, key, NativeArrayBuffer[key]);\n      }\n    }\n\n    ArrayBufferPrototype.constructor = $ArrayBuffer;\n  } else if (INCORRECT_ARRAY_BUFFER_NAME && CONFIGURABLE_FUNCTION_NAME) {\n    createNonEnumerableProperty(NativeArrayBuffer, 'name', ARRAY_BUFFER);\n  }\n\n  // WebKit bug - the same parent prototype for typed arrays and data view\n  if (setPrototypeOf && getPrototypeOf(DataViewPrototype) !== ObjectPrototype) {\n    setPrototypeOf(DataViewPrototype, ObjectPrototype);\n  }\n\n  // iOS Safari 7.x bug\n  var testView = new $DataView(new $ArrayBuffer(2));\n  var $setInt8 = uncurryThis(DataViewPrototype.setInt8);\n  testView.setInt8(0, 2147483648);\n  testView.setInt8(1, 2147483649);\n  if (testView.getInt8(0) || !testView.getInt8(1)) redefineAll(DataViewPrototype, {\n    setInt8: function setInt8(byteOffset, value) {\n      $setInt8(this, byteOffset, value << 24 >> 24);\n    },\n    setUint8: function setUint8(byteOffset, value) {\n      $setInt8(this, byteOffset, value << 24 >> 24);\n    }\n  }, { unsafe: true });\n}\n\nsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\nsetToStringTag($DataView, DATA_VIEW);\n\nmodule.exports = {\n  ArrayBuffer: $ArrayBuffer,\n  DataView: $DataView\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(noop);\n\nvar isConstructorModern = function (argument) {\n  if (!isCallable(argument)) return false;\n  try {\n    construct(noop, empty, argument);\n    return true;\n  } catch (error) {\n    return false;\n  }\n};\n\nvar isConstructorLegacy = function (argument) {\n  if (!isCallable(argument)) return false;\n  switch (classof(argument)) {\n    case 'AsyncFunction':\n    case 'GeneratorFunction':\n    case 'AsyncGeneratorFunction': return false;\n    // we can't check .prototype since constructors produced by .bind haven't it\n  } return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n};\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n  var called;\n  return isConstructorModern(isConstructorModern.call)\n    || !isConstructorModern(Object)\n    || !isConstructorModern(function () { called = true; })\n    || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","var global = require('../internals/global');\nvar isConstructor = require('../internals/is-constructor');\nvar tryToString = require('../internals/try-to-string');\n\nvar TypeError = global.TypeError;\n\n// `Assert: IsConstructor(argument) is true`\nmodule.exports = function (argument) {\n  if (isConstructor(argument)) return argument;\n  throw TypeError(tryToString(argument) + ' is not a constructor');\n};\n","var anObject = require('../internals/an-object');\nvar aConstructor = require('../internals/a-constructor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n  var C = anObject(O).constructor;\n  var S;\n  return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aConstructor(S);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar ArrayBufferModule = require('../internals/array-buffer');\nvar anObject = require('../internals/an-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toLength = require('../internals/to-length');\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar ArrayBuffer = ArrayBufferModule.ArrayBuffer;\nvar DataView = ArrayBufferModule.DataView;\nvar DataViewPrototype = DataView.prototype;\nvar un$ArrayBufferSlice = uncurryThis(ArrayBuffer.prototype.slice);\nvar getUint8 = uncurryThis(DataViewPrototype.getUint8);\nvar setUint8 = uncurryThis(DataViewPrototype.setUint8);\n\nvar INCORRECT_SLICE = fails(function () {\n  return !new ArrayBuffer(2).slice(1, undefined).byteLength;\n});\n\n// `ArrayBuffer.prototype.slice` method\n// https://tc39.es/ecma262/#sec-arraybuffer.prototype.slice\n$({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, {\n  slice: function slice(start, end) {\n    if (un$ArrayBufferSlice && end === undefined) {\n      return un$ArrayBufferSlice(anObject(this), start); // FF fix\n    }\n    var length = anObject(this).byteLength;\n    var first = toAbsoluteIndex(start, length);\n    var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n    var result = new (speciesConstructor(this, ArrayBuffer))(toLength(fin - first));\n    var viewSource = new DataView(this);\n    var viewTarget = new DataView(result);\n    var index = 0;\n    while (first < fin) {\n      setUint8(viewTarget, index++, getUint8(viewSource, first++));\n    } return result;\n  }\n});\n","var $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar createProperty = require('../internals/create-property');\n\n// `Object.fromEntries` method\n// https://github.com/tc39/proposal-object-from-entries\n$({ target: 'Object', stat: true }, {\n  fromEntries: function fromEntries(iterable) {\n    var obj = {};\n    iterate(iterable, function (k, v) {\n      createProperty(obj, k, v);\n    }, { AS_ENTRIES: true });\n    return obj;\n  }\n});\n","var $ = require('../internals/export');\nvar hasOwn = require('../internals/has-own-property');\n\n// `Object.hasOwn` method\n// https://github.com/tc39/proposal-accessible-object-hasownproperty\n$({ target: 'Object', stat: true }, {\n  hasOwn: hasOwn\n});\n","'use strict';\nvar aCallable = require('../internals/a-callable');\n\nvar PromiseCapability = function (C) {\n  var resolve, reject;\n  this.promise = new C(function ($$resolve, $$reject) {\n    if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n    resolve = $$resolve;\n    reject = $$reject;\n  });\n  this.resolve = aCallable(resolve);\n  this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n  return new PromiseCapability(C);\n};\n","module.exports = function (exec) {\n  try {\n    return { error: false, value: exec() };\n  } catch (error) {\n    return { error: true, value: error };\n  }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\n\n// `Promise.allSettled` method\n// https://tc39.es/ecma262/#sec-promise.allsettled\n$({ target: 'Promise', stat: true }, {\n  allSettled: function allSettled(iterable) {\n    var C = this;\n    var capability = newPromiseCapabilityModule.f(C);\n    var resolve = capability.resolve;\n    var reject = capability.reject;\n    var result = perform(function () {\n      var promiseResolve = aCallable(C.resolve);\n      var values = [];\n      var counter = 0;\n      var remaining = 1;\n      iterate(iterable, function (promise) {\n        var index = counter++;\n        var alreadyCalled = false;\n        remaining++;\n        call(promiseResolve, C, promise).then(function (value) {\n          if (alreadyCalled) return;\n          alreadyCalled = true;\n          values[index] = { status: 'fulfilled', value: value };\n          --remaining || resolve(values);\n        }, function (error) {\n          if (alreadyCalled) return;\n          alreadyCalled = true;\n          values[index] = { status: 'rejected', reason: error };\n          --remaining || resolve(values);\n        });\n      });\n      --remaining || resolve(values);\n    });\n    if (result.error) reject(result.value);\n    return capability.promise;\n  }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar aCallable = require('../internals/a-callable');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\n\nvar PROMISE_ANY_ERROR = 'No one promise resolved';\n\n// `Promise.any` method\n// https://tc39.es/ecma262/#sec-promise.any\n$({ target: 'Promise', stat: true }, {\n  any: function any(iterable) {\n    var C = this;\n    var AggregateError = getBuiltIn('AggregateError');\n    var capability = newPromiseCapabilityModule.f(C);\n    var resolve = capability.resolve;\n    var reject = capability.reject;\n    var result = perform(function () {\n      var promiseResolve = aCallable(C.resolve);\n      var errors = [];\n      var counter = 0;\n      var remaining = 1;\n      var alreadyResolved = false;\n      iterate(iterable, function (promise) {\n        var index = counter++;\n        var alreadyRejected = false;\n        remaining++;\n        call(promiseResolve, C, promise).then(function (value) {\n          if (alreadyRejected || alreadyResolved) return;\n          alreadyResolved = true;\n          resolve(value);\n        }, function (error) {\n          if (alreadyRejected || alreadyResolved) return;\n          alreadyRejected = true;\n          errors[index] = error;\n          --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n        });\n      });\n      --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n    });\n    if (result.error) reject(result.value);\n    return capability.promise;\n  }\n});\n","var anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n  anObject(C);\n  if (isObject(x) && x.constructor === C) return x;\n  var promiseCapability = newPromiseCapability.f(C);\n  var resolve = promiseCapability.resolve;\n  resolve(x);\n  return promiseCapability.promise;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromise = require('../internals/native-promise-constructor');\nvar fails = require('../internals/fails');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar speciesConstructor = require('../internals/species-constructor');\nvar promiseResolve = require('../internals/promise-resolve');\nvar redefine = require('../internals/redefine');\n\n// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829\nvar NON_GENERIC = !!NativePromise && fails(function () {\n  NativePromise.prototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });\n});\n\n// `Promise.prototype.finally` method\n// https://tc39.es/ecma262/#sec-promise.prototype.finally\n$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {\n  'finally': function (onFinally) {\n    var C = speciesConstructor(this, getBuiltIn('Promise'));\n    var isFunction = isCallable(onFinally);\n    return this.then(\n      isFunction ? function (x) {\n        return promiseResolve(C, onFinally()).then(function () { return x; });\n      } : onFinally,\n      isFunction ? function (e) {\n        return promiseResolve(C, onFinally()).then(function () { throw e; });\n      } : onFinally\n    );\n  }\n});\n\n// makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromise)) {\n  var method = getBuiltIn('Promise').prototype['finally'];\n  if (NativePromise.prototype['finally'] !== method) {\n    redefine(NativePromise.prototype, 'finally', method, { unsafe: true });\n  }\n}\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar redefine = require('../internals/redefine');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n  arrayIterator = [].keys();\n  // Safari 8 has buggy iterators w/o `next`\n  if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n  else {\n    PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n    if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n  }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () {\n  var test = {};\n  // FF44- legacy iterators case\n  return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n  redefine(IteratorPrototype, ITERATOR, function () {\n    return this;\n  });\n}\n\nmodule.exports = {\n  IteratorPrototype: IteratorPrototype,\n  BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next) {\n  var TO_STRING_TAG = NAME + ' Iterator';\n  IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });\n  setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n  Iterators[TO_STRING_TAG] = returnThis;\n  return IteratorConstructor;\n};\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n  var isRegExp;\n  return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n  var that = anObject(this);\n  var result = '';\n  if (that.global) result += 'g';\n  if (that.ignoreCase) result += 'i';\n  if (that.multiline) result += 'm';\n  if (that.dotAll) result += 's';\n  if (that.unicode) result += 'u';\n  if (that.sticky) result += 'y';\n  return result;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n  return function ($this, pos) {\n    var S = toString(requireObjectCoercible($this));\n    var position = toIntegerOrInfinity(pos);\n    var size = S.length;\n    var first, second;\n    if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n    first = charCodeAt(S, position);\n    return first < 0xD800 || first > 0xDBFF || position + 1 === size\n      || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n        ? CONVERT_TO_STRING\n          ? charAt(S, position)\n          : first\n        : CONVERT_TO_STRING\n          ? stringSlice(S, position, position + 2)\n          : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n  };\n};\n\nmodule.exports = {\n  // `String.prototype.codePointAt` method\n  // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n  codeAt: createMethod(false),\n  // `String.prototype.at` method\n  // https://github.com/mathiasbynens/String.prototype.at\n  charAt: createMethod(true)\n};\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n  return index + (unicode ? charAt(S, index).length : 1);\n};\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nvar UNSUPPORTED_Y = fails(function () {\n  var re = $RegExp('a', 'y');\n  re.lastIndex = 2;\n  return re.exec('abcd') != null;\n});\n\n// UC Browser bug\n// https://github.com/zloirock/core-js/issues/1008\nvar MISSED_STICKY = UNSUPPORTED_Y || fails(function () {\n  return !$RegExp('a', 'y').sticky;\n});\n\nvar BROKEN_CARET = UNSUPPORTED_Y || fails(function () {\n  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n  var re = $RegExp('^r', 'gy');\n  re.lastIndex = 2;\n  return re.exec('str') != null;\n});\n\nmodule.exports = {\n  BROKEN_CARET: BROKEN_CARET,\n  MISSED_STICKY: MISSED_STICKY,\n  UNSUPPORTED_Y: UNSUPPORTED_Y\n};\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n  var re = $RegExp('.', 's');\n  return !(re.dotAll && re.exec('\\n') && re.flags === 's');\n});\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n  var re = $RegExp('(?<a>b)', 'g');\n  return re.exec('b').groups.a !== 'b' ||\n    'b'.replace(re, '$<a>c') !== 'bc';\n});\n","'use strict';\n/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */\n/* eslint-disable regexp/no-useless-quantifier -- testing */\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar regexpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar shared = require('../internals/shared');\nvar create = require('../internals/object-create');\nvar getInternalState = require('../internals/internal-state').get;\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\nvar nativeExec = RegExp.prototype.exec;\nvar patchedExec = nativeExec;\nvar charAt = uncurryThis(''.charAt);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n  var re1 = /a/;\n  var re2 = /b*/g;\n  call(nativeExec, re1, 'a');\n  call(nativeExec, re2, 'a');\n  return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;\n\nif (PATCH) {\n  patchedExec = function exec(string) {\n    var re = this;\n    var state = getInternalState(re);\n    var str = toString(string);\n    var raw = state.raw;\n    var result, reCopy, lastIndex, match, i, object, group;\n\n    if (raw) {\n      raw.lastIndex = re.lastIndex;\n      result = call(patchedExec, raw, str);\n      re.lastIndex = raw.lastIndex;\n      return result;\n    }\n\n    var groups = state.groups;\n    var sticky = UNSUPPORTED_Y && re.sticky;\n    var flags = call(regexpFlags, re);\n    var source = re.source;\n    var charsAdded = 0;\n    var strCopy = str;\n\n    if (sticky) {\n      flags = replace(flags, 'y', '');\n      if (indexOf(flags, 'g') === -1) {\n        flags += 'g';\n      }\n\n      strCopy = stringSlice(str, re.lastIndex);\n      // Support anchored sticky behavior.\n      if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\\n')) {\n        source = '(?: ' + source + ')';\n        strCopy = ' ' + strCopy;\n        charsAdded++;\n      }\n      // ^(? + rx + ) is needed, in combination with some str slicing, to\n      // simulate the 'y' flag.\n      reCopy = new RegExp('^(?:' + source + ')', flags);\n    }\n\n    if (NPCG_INCLUDED) {\n      reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n    }\n    if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n    match = call(nativeExec, sticky ? reCopy : re, strCopy);\n\n    if (sticky) {\n      if (match) {\n        match.input = stringSlice(match.input, charsAdded);\n        match[0] = stringSlice(match[0], charsAdded);\n        match.index = re.lastIndex;\n        re.lastIndex += match[0].length;\n      } else re.lastIndex = 0;\n    } else if (UPDATES_LAST_INDEX_WRONG && match) {\n      re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n    }\n    if (NPCG_INCLUDED && match && match.length > 1) {\n      // Fix browsers whose `exec` methods don't consistently return `undefined`\n      // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n      call(nativeReplace, match[0], reCopy, function () {\n        for (i = 1; i < arguments.length - 2; i++) {\n          if (arguments[i] === undefined) match[i] = undefined;\n        }\n      });\n    }\n\n    if (match && groups) {\n      match.groups = object = create(null);\n      for (i = 0; i < groups.length; i++) {\n        group = groups[i];\n        object[group[0]] = match[group[1]];\n      }\n    }\n\n    return match;\n  };\n}\n\nmodule.exports = patchedExec;\n","var global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\n\nvar TypeError = global.TypeError;\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n  var exec = R.exec;\n  if (isCallable(exec)) {\n    var result = call(exec, R, S);\n    if (result !== null) anObject(result);\n    return result;\n  }\n  if (classof(R) === 'RegExp') return call(regexpExec, R, S);\n  throw TypeError('RegExp#exec called on incompatible receiver');\n};\n","'use strict';\n/* eslint-disable es/no-string-prototype-matchall -- safe */\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar anObject = require('../internals/an-object');\nvar classof = require('../internals/classof-raw');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isRegExp = require('../internals/is-regexp');\nvar regExpFlags = require('../internals/regexp-flags');\nvar getMethod = require('../internals/get-method');\nvar redefine = require('../internals/redefine');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar InternalStateModule = require('../internals/internal-state');\nvar IS_PURE = require('../internals/is-pure');\n\nvar MATCH_ALL = wellKnownSymbol('matchAll');\nvar REGEXP_STRING = 'RegExp String';\nvar REGEXP_STRING_ITERATOR = REGEXP_STRING + ' Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(REGEXP_STRING_ITERATOR);\nvar RegExpPrototype = RegExp.prototype;\nvar TypeError = global.TypeError;\nvar getFlags = uncurryThis(regExpFlags);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar un$MatchAll = uncurryThis(''.matchAll);\n\nvar WORKS_WITH_NON_GLOBAL_REGEX = !!un$MatchAll && !fails(function () {\n  un$MatchAll('a', /./);\n});\n\nvar $RegExpStringIterator = createIteratorConstructor(function RegExpStringIterator(regexp, string, $global, fullUnicode) {\n  setInternalState(this, {\n    type: REGEXP_STRING_ITERATOR,\n    regexp: regexp,\n    string: string,\n    global: $global,\n    unicode: fullUnicode,\n    done: false\n  });\n}, REGEXP_STRING, function next() {\n  var state = getInternalState(this);\n  if (state.done) return { value: undefined, done: true };\n  var R = state.regexp;\n  var S = state.string;\n  var match = regExpExec(R, S);\n  if (match === null) return { value: undefined, done: state.done = true };\n  if (state.global) {\n    if (toString(match[0]) === '') R.lastIndex = advanceStringIndex(S, toLength(R.lastIndex), state.unicode);\n    return { value: match, done: false };\n  }\n  state.done = true;\n  return { value: match, done: false };\n});\n\nvar $matchAll = function (string) {\n  var R = anObject(this);\n  var S = toString(string);\n  var C, flagsValue, flags, matcher, $global, fullUnicode;\n  C = speciesConstructor(R, RegExp);\n  flagsValue = R.flags;\n  if (flagsValue === undefined && isPrototypeOf(RegExpPrototype, R) && !('flags' in RegExpPrototype)) {\n    flagsValue = getFlags(R);\n  }\n  flags = flagsValue === undefined ? '' : toString(flagsValue);\n  matcher = new C(C === RegExp ? R.source : R, flags);\n  $global = !!~stringIndexOf(flags, 'g');\n  fullUnicode = !!~stringIndexOf(flags, 'u');\n  matcher.lastIndex = toLength(R.lastIndex);\n  return new $RegExpStringIterator(matcher, S, $global, fullUnicode);\n};\n\n// `String.prototype.matchAll` method\n// https://tc39.es/ecma262/#sec-string.prototype.matchall\n$({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, {\n  matchAll: function matchAll(regexp) {\n    var O = requireObjectCoercible(this);\n    var flags, S, matcher, rx;\n    if (regexp != null) {\n      if (isRegExp(regexp)) {\n        flags = toString(requireObjectCoercible('flags' in RegExpPrototype\n          ? regexp.flags\n          : getFlags(regexp)\n        ));\n        if (!~stringIndexOf(flags, 'g')) throw TypeError('`.matchAll` does not allow non-global regexes');\n      }\n      if (WORKS_WITH_NON_GLOBAL_REGEX) return un$MatchAll(O, regexp);\n      matcher = getMethod(regexp, MATCH_ALL);\n      if (matcher === undefined && IS_PURE && classof(regexp) == 'RegExp') matcher = $matchAll;\n      if (matcher) return call(matcher, regexp, O);\n    } else if (WORKS_WITH_NON_GLOBAL_REGEX) return un$MatchAll(O, regexp);\n    S = toString(O);\n    rx = new RegExp(regexp, 'g');\n    return IS_PURE ? call($matchAll, rx, S) : rx[MATCH_ALL](S);\n  }\n});\n\nIS_PURE || MATCH_ALL in RegExpPrototype || redefine(RegExpPrototype, MATCH_ALL, $matchAll);\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n  var tailPos = position + matched.length;\n  var m = captures.length;\n  var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n  if (namedCaptures !== undefined) {\n    namedCaptures = toObject(namedCaptures);\n    symbols = SUBSTITUTION_SYMBOLS;\n  }\n  return replace(replacement, symbols, function (match, ch) {\n    var capture;\n    switch (charAt(ch, 0)) {\n      case '$': return '$';\n      case '&': return matched;\n      case '`': return stringSlice(str, 0, position);\n      case \"'\": return stringSlice(str, tailPos);\n      case '<':\n        capture = namedCaptures[stringSlice(ch, 1, -1)];\n        break;\n      default: // \\d\\d?\n        var n = +ch;\n        if (n === 0) return match;\n        if (n > m) {\n          var f = floor(n / 10);\n          if (f === 0) return match;\n          if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n          return match;\n        }\n        capture = captures[n - 1];\n    }\n    return capture === undefined ? '' : capture;\n  });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar isCallable = require('../internals/is-callable');\nvar isRegExp = require('../internals/is-regexp');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar regExpFlags = require('../internals/regexp-flags');\nvar getSubstitution = require('../internals/get-substitution');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar RegExpPrototype = RegExp.prototype;\nvar TypeError = global.TypeError;\nvar getFlags = uncurryThis(regExpFlags);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar max = Math.max;\n\nvar stringIndexOf = function (string, searchValue, fromIndex) {\n  if (fromIndex > string.length) return -1;\n  if (searchValue === '') return fromIndex;\n  return indexOf(string, searchValue, fromIndex);\n};\n\n// `String.prototype.replaceAll` method\n// https://tc39.es/ecma262/#sec-string.prototype.replaceall\n$({ target: 'String', proto: true }, {\n  replaceAll: function replaceAll(searchValue, replaceValue) {\n    var O = requireObjectCoercible(this);\n    var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement;\n    var position = 0;\n    var endOfLastMatch = 0;\n    var result = '';\n    if (searchValue != null) {\n      IS_REG_EXP = isRegExp(searchValue);\n      if (IS_REG_EXP) {\n        flags = toString(requireObjectCoercible('flags' in RegExpPrototype\n          ? searchValue.flags\n          : getFlags(searchValue)\n        ));\n        if (!~indexOf(flags, 'g')) throw TypeError('`.replaceAll` does not allow non-global regexes');\n      }\n      replacer = getMethod(searchValue, REPLACE);\n      if (replacer) {\n        return call(replacer, searchValue, O, replaceValue);\n      } else if (IS_PURE && IS_REG_EXP) {\n        return replace(toString(O), searchValue, replaceValue);\n      }\n    }\n    string = toString(O);\n    searchString = toString(searchValue);\n    functionalReplace = isCallable(replaceValue);\n    if (!functionalReplace) replaceValue = toString(replaceValue);\n    searchLength = searchString.length;\n    advanceBy = max(1, searchLength);\n    position = stringIndexOf(string, searchString, 0);\n    while (position !== -1) {\n      replacement = functionalReplace\n        ? toString(replaceValue(searchString, position, string))\n        : getSubstitution(searchString, string, position, [], undefined, replaceValue);\n      result += stringSlice(string, endOfLastMatch, position) + replacement;\n      endOfLastMatch = position + searchLength;\n      position = stringIndexOf(string, searchString, position + advanceBy);\n    }\n    if (endOfLastMatch < string.length) {\n      result += stringSlice(string, endOfLastMatch);\n    }\n    return result;\n  }\n});\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n  var called = 0;\n  var iteratorWithReturn = {\n    next: function () {\n      return { done: !!called++ };\n    },\n    'return': function () {\n      SAFE_CLOSING = true;\n    }\n  };\n  iteratorWithReturn[ITERATOR] = function () {\n    return this;\n  };\n  // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n  Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n  if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n  var ITERATION_SUPPORT = false;\n  try {\n    var object = {};\n    object[ITERATOR] = function () {\n      return {\n        next: function () {\n          return { done: ITERATION_SUPPORT = true };\n        }\n      };\n    };\n    exec(object);\n  } catch (error) { /* empty */ }\n  return ITERATION_SUPPORT;\n};\n","'use strict';\nvar NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-native');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar classof = require('../internals/classof');\nvar tryToString = require('../internals/try-to-string');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar defineProperty = require('../internals/object-define-property').f;\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar uid = require('../internals/uid');\n\nvar Int8Array = global.Int8Array;\nvar Int8ArrayPrototype = Int8Array && Int8Array.prototype;\nvar Uint8ClampedArray = global.Uint8ClampedArray;\nvar Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;\nvar TypedArray = Int8Array && getPrototypeOf(Int8Array);\nvar TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype);\nvar ObjectPrototype = Object.prototype;\nvar TypeError = global.TypeError;\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');\nvar TYPED_ARRAY_CONSTRUCTOR = uid('TYPED_ARRAY_CONSTRUCTOR');\n// Fixing native typed arrays in Opera Presto crashes the browser, see #595\nvar NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera';\nvar TYPED_ARRAY_TAG_REQIRED = false;\nvar NAME, Constructor, Prototype;\n\nvar TypedArrayConstructorsList = {\n  Int8Array: 1,\n  Uint8Array: 1,\n  Uint8ClampedArray: 1,\n  Int16Array: 2,\n  Uint16Array: 2,\n  Int32Array: 4,\n  Uint32Array: 4,\n  Float32Array: 4,\n  Float64Array: 8\n};\n\nvar BigIntArrayConstructorsList = {\n  BigInt64Array: 8,\n  BigUint64Array: 8\n};\n\nvar isView = function isView(it) {\n  if (!isObject(it)) return false;\n  var klass = classof(it);\n  return klass === 'DataView'\n    || hasOwn(TypedArrayConstructorsList, klass)\n    || hasOwn(BigIntArrayConstructorsList, klass);\n};\n\nvar isTypedArray = function (it) {\n  if (!isObject(it)) return false;\n  var klass = classof(it);\n  return hasOwn(TypedArrayConstructorsList, klass)\n    || hasOwn(BigIntArrayConstructorsList, klass);\n};\n\nvar aTypedArray = function (it) {\n  if (isTypedArray(it)) return it;\n  throw TypeError('Target is not a typed array');\n};\n\nvar aTypedArrayConstructor = function (C) {\n  if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C;\n  throw TypeError(tryToString(C) + ' is not a typed array constructor');\n};\n\nvar exportTypedArrayMethod = function (KEY, property, forced) {\n  if (!DESCRIPTORS) return;\n  if (forced) for (var ARRAY in TypedArrayConstructorsList) {\n    var TypedArrayConstructor = global[ARRAY];\n    if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try {\n      delete TypedArrayConstructor.prototype[KEY];\n    } catch (error) { /* empty */ }\n  }\n  if (!TypedArrayPrototype[KEY] || forced) {\n    redefine(TypedArrayPrototype, KEY, forced ? property\n      : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property);\n  }\n};\n\nvar exportTypedArrayStaticMethod = function (KEY, property, forced) {\n  var ARRAY, TypedArrayConstructor;\n  if (!DESCRIPTORS) return;\n  if (setPrototypeOf) {\n    if (forced) for (ARRAY in TypedArrayConstructorsList) {\n      TypedArrayConstructor = global[ARRAY];\n      if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try {\n        delete TypedArrayConstructor[KEY];\n      } catch (error) { /* empty */ }\n    }\n    if (!TypedArray[KEY] || forced) {\n      // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable\n      try {\n        return redefine(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);\n      } catch (error) { /* empty */ }\n    } else return;\n  }\n  for (ARRAY in TypedArrayConstructorsList) {\n    TypedArrayConstructor = global[ARRAY];\n    if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {\n      redefine(TypedArrayConstructor, KEY, property);\n    }\n  }\n};\n\nfor (NAME in TypedArrayConstructorsList) {\n  Constructor = global[NAME];\n  Prototype = Constructor && Constructor.prototype;\n  if (Prototype) createNonEnumerableProperty(Prototype, TYPED_ARRAY_CONSTRUCTOR, Constructor);\n  else NATIVE_ARRAY_BUFFER_VIEWS = false;\n}\n\nfor (NAME in BigIntArrayConstructorsList) {\n  Constructor = global[NAME];\n  Prototype = Constructor && Constructor.prototype;\n  if (Prototype) createNonEnumerableProperty(Prototype, TYPED_ARRAY_CONSTRUCTOR, Constructor);\n}\n\n// WebKit bug - typed arrays constructors prototype is Object.prototype\nif (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {\n  // eslint-disable-next-line no-shadow -- safe\n  TypedArray = function TypedArray() {\n    throw TypeError('Incorrect invocation');\n  };\n  if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {\n    if (global[NAME]) setPrototypeOf(global[NAME], TypedArray);\n  }\n}\n\nif (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {\n  TypedArrayPrototype = TypedArray.prototype;\n  if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {\n    if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype);\n  }\n}\n\n// WebKit bug - one more object in Uint8ClampedArray prototype chain\nif (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {\n  setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);\n}\n\nif (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) {\n  TYPED_ARRAY_TAG_REQIRED = true;\n  defineProperty(TypedArrayPrototype, TO_STRING_TAG, { get: function () {\n    return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;\n  } });\n  for (NAME in TypedArrayConstructorsList) if (global[NAME]) {\n    createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME);\n  }\n}\n\nmodule.exports = {\n  NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,\n  TYPED_ARRAY_CONSTRUCTOR: TYPED_ARRAY_CONSTRUCTOR,\n  TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQIRED && TYPED_ARRAY_TAG,\n  aTypedArray: aTypedArray,\n  aTypedArrayConstructor: aTypedArrayConstructor,\n  exportTypedArrayMethod: exportTypedArrayMethod,\n  exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,\n  isView: isView,\n  isTypedArray: isTypedArray,\n  TypedArray: TypedArray,\n  TypedArrayPrototype: TypedArrayPrototype\n};\n","/* eslint-disable no-new -- required for testing */\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar NATIVE_ARRAY_BUFFER_VIEWS = require('../internals/array-buffer-view-core').NATIVE_ARRAY_BUFFER_VIEWS;\n\nvar ArrayBuffer = global.ArrayBuffer;\nvar Int8Array = global.Int8Array;\n\nmodule.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () {\n  Int8Array(1);\n}) || !fails(function () {\n  new Int8Array(-1);\n}) || !checkCorrectnessOfIteration(function (iterable) {\n  new Int8Array();\n  new Int8Array(null);\n  new Int8Array(1.5);\n  new Int8Array(iterable);\n}, true) || fails(function () {\n  // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill\n  return new Int8Array(new ArrayBuffer(2), 1, undefined).length !== 1;\n});\n","var isObject = require('../internals/is-object');\n\nvar floor = Math.floor;\n\n// `IsIntegralNumber` abstract operation\n// https://tc39.es/ecma262/#sec-isintegralnumber\n// eslint-disable-next-line es/no-number-isinteger -- safe\nmodule.exports = Number.isInteger || function isInteger(it) {\n  return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n","var global = require('../internals/global');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar RangeError = global.RangeError;\n\nmodule.exports = function (it) {\n  var result = toIntegerOrInfinity(it);\n  if (result < 0) throw RangeError(\"The argument can't be less than 0\");\n  return result;\n};\n","var global = require('../internals/global');\nvar toPositiveInteger = require('../internals/to-positive-integer');\n\nvar RangeError = global.RangeError;\n\nmodule.exports = function (it, BYTES) {\n  var offset = toPositiveInteger(it);\n  if (offset % BYTES) throw RangeError('Wrong offset');\n  return offset;\n};\n","var bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar aConstructor = require('../internals/a-constructor');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar aTypedArrayConstructor = require('../internals/array-buffer-view-core').aTypedArrayConstructor;\n\nmodule.exports = function from(source /* , mapfn, thisArg */) {\n  var C = aConstructor(this);\n  var O = toObject(source);\n  var argumentsLength = arguments.length;\n  var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n  var mapping = mapfn !== undefined;\n  var iteratorMethod = getIteratorMethod(O);\n  var i, length, result, step, iterator, next;\n  if (iteratorMethod && !isArrayIteratorMethod(iteratorMethod)) {\n    iterator = getIterator(O, iteratorMethod);\n    next = iterator.next;\n    O = [];\n    while (!(step = call(next, iterator)).done) {\n      O.push(step.value);\n    }\n  }\n  if (mapping && argumentsLength > 2) {\n    mapfn = bind(mapfn, arguments[2]);\n  }\n  length = lengthOfArrayLike(O);\n  result = new (aTypedArrayConstructor(C))(length);\n  for (i = 0; length > i; i++) {\n    result[i] = mapping ? mapfn(O[i], i) : O[i];\n  }\n  return result;\n};\n","var global = require('../internals/global');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar Array = global.Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n  var C;\n  if (isArray(originalArray)) {\n    C = originalArray.constructor;\n    // cross-realm fallback\n    if (isConstructor(C) && (C === Array || isArray(C.prototype))) C = undefined;\n    else if (isObject(C)) {\n      C = C[SPECIES];\n      if (C === null) C = undefined;\n    }\n  } return C === undefined ? Array : C;\n};\n","var arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n  return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","var bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n  var IS_MAP = TYPE == 1;\n  var IS_FILTER = TYPE == 2;\n  var IS_SOME = TYPE == 3;\n  var IS_EVERY = TYPE == 4;\n  var IS_FIND_INDEX = TYPE == 6;\n  var IS_FILTER_REJECT = TYPE == 7;\n  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n  return function ($this, callbackfn, that, specificCreate) {\n    var O = toObject($this);\n    var self = IndexedObject(O);\n    var boundFunction = bind(callbackfn, that);\n    var length = lengthOfArrayLike(self);\n    var index = 0;\n    var create = specificCreate || arraySpeciesCreate;\n    var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n    var value, result;\n    for (;length > index; index++) if (NO_HOLES || index in self) {\n      value = self[index];\n      result = boundFunction(value, index, O);\n      if (TYPE) {\n        if (IS_MAP) target[index] = result; // map\n        else if (result) switch (TYPE) {\n          case 3: return true;              // some\n          case 5: return value;             // find\n          case 6: return index;             // findIndex\n          case 2: push(target, value);      // filter\n        } else switch (TYPE) {\n          case 4: return false;             // every\n          case 7: push(target, value);      // filterReject\n        }\n      }\n    }\n    return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n  };\n};\n\nmodule.exports = {\n  // `Array.prototype.forEach` method\n  // https://tc39.es/ecma262/#sec-array.prototype.foreach\n  forEach: createMethod(0),\n  // `Array.prototype.map` method\n  // https://tc39.es/ecma262/#sec-array.prototype.map\n  map: createMethod(1),\n  // `Array.prototype.filter` method\n  // https://tc39.es/ecma262/#sec-array.prototype.filter\n  filter: createMethod(2),\n  // `Array.prototype.some` method\n  // https://tc39.es/ecma262/#sec-array.prototype.some\n  some: createMethod(3),\n  // `Array.prototype.every` method\n  // https://tc39.es/ecma262/#sec-array.prototype.every\n  every: createMethod(4),\n  // `Array.prototype.find` method\n  // https://tc39.es/ecma262/#sec-array.prototype.find\n  find: createMethod(5),\n  // `Array.prototype.findIndex` method\n  // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n  findIndex: createMethod(6),\n  // `Array.prototype.filterReject` method\n  // https://github.com/tc39/proposal-array-filtering\n  filterReject: createMethod(7)\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar definePropertyModule = require('../internals/object-define-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n  var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n  var defineProperty = definePropertyModule.f;\n\n  if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n    defineProperty(Constructor, SPECIES, {\n      configurable: true,\n      get: function () { return this; }\n    });\n  }\n};\n","var isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n  var NewTarget, NewTargetPrototype;\n  if (\n    // it can work only with native `setPrototypeOf`\n    setPrototypeOf &&\n    // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n    isCallable(NewTarget = dummy.constructor) &&\n    NewTarget !== Wrapper &&\n    isObject(NewTargetPrototype = NewTarget.prototype) &&\n    NewTargetPrototype !== Wrapper.prototype\n  ) setPrototypeOf($this, NewTargetPrototype);\n  return $this;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar ArrayBufferModule = require('../internals/array-buffer');\nvar anInstance = require('../internals/an-instance');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar isIntegralNumber = require('../internals/is-integral-number');\nvar toLength = require('../internals/to-length');\nvar toIndex = require('../internals/to-index');\nvar toOffset = require('../internals/to-offset');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar classof = require('../internals/classof');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar create = require('../internals/object-create');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar typedArrayFrom = require('../internals/typed-array-from');\nvar forEach = require('../internals/array-iteration').forEach;\nvar setSpecies = require('../internals/set-species');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar InternalStateModule = require('../internals/internal-state');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nvar getInternalState = InternalStateModule.get;\nvar setInternalState = InternalStateModule.set;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar round = Math.round;\nvar RangeError = global.RangeError;\nvar ArrayBuffer = ArrayBufferModule.ArrayBuffer;\nvar ArrayBufferPrototype = ArrayBuffer.prototype;\nvar DataView = ArrayBufferModule.DataView;\nvar NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;\nvar TYPED_ARRAY_CONSTRUCTOR = ArrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR;\nvar TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG;\nvar TypedArray = ArrayBufferViewCore.TypedArray;\nvar TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype;\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar isTypedArray = ArrayBufferViewCore.isTypedArray;\nvar BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';\nvar WRONG_LENGTH = 'Wrong length';\n\nvar fromList = function (C, list) {\n  aTypedArrayConstructor(C);\n  var index = 0;\n  var length = list.length;\n  var result = new C(length);\n  while (length > index) result[index] = list[index++];\n  return result;\n};\n\nvar addGetter = function (it, key) {\n  nativeDefineProperty(it, key, { get: function () {\n    return getInternalState(this)[key];\n  } });\n};\n\nvar isArrayBuffer = function (it) {\n  var klass;\n  return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer';\n};\n\nvar isTypedArrayIndex = function (target, key) {\n  return isTypedArray(target)\n    && !isSymbol(key)\n    && key in target\n    && isIntegralNumber(+key)\n    && key >= 0;\n};\n\nvar wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) {\n  key = toPropertyKey(key);\n  return isTypedArrayIndex(target, key)\n    ? createPropertyDescriptor(2, target[key])\n    : nativeGetOwnPropertyDescriptor(target, key);\n};\n\nvar wrappedDefineProperty = function defineProperty(target, key, descriptor) {\n  key = toPropertyKey(key);\n  if (isTypedArrayIndex(target, key)\n    && isObject(descriptor)\n    && hasOwn(descriptor, 'value')\n    && !hasOwn(descriptor, 'get')\n    && !hasOwn(descriptor, 'set')\n    // TODO: add validation descriptor w/o calling accessors\n    && !descriptor.configurable\n    && (!hasOwn(descriptor, 'writable') || descriptor.writable)\n    && (!hasOwn(descriptor, 'enumerable') || descriptor.enumerable)\n  ) {\n    target[key] = descriptor.value;\n    return target;\n  } return nativeDefineProperty(target, key, descriptor);\n};\n\nif (DESCRIPTORS) {\n  if (!NATIVE_ARRAY_BUFFER_VIEWS) {\n    getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor;\n    definePropertyModule.f = wrappedDefineProperty;\n    addGetter(TypedArrayPrototype, 'buffer');\n    addGetter(TypedArrayPrototype, 'byteOffset');\n    addGetter(TypedArrayPrototype, 'byteLength');\n    addGetter(TypedArrayPrototype, 'length');\n  }\n\n  $({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {\n    getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor,\n    defineProperty: wrappedDefineProperty\n  });\n\n  module.exports = function (TYPE, wrapper, CLAMPED) {\n    var BYTES = TYPE.match(/\\d+$/)[0] / 8;\n    var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array';\n    var GETTER = 'get' + TYPE;\n    var SETTER = 'set' + TYPE;\n    var NativeTypedArrayConstructor = global[CONSTRUCTOR_NAME];\n    var TypedArrayConstructor = NativeTypedArrayConstructor;\n    var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype;\n    var exported = {};\n\n    var getter = function (that, index) {\n      var data = getInternalState(that);\n      return data.view[GETTER](index * BYTES + data.byteOffset, true);\n    };\n\n    var setter = function (that, index, value) {\n      var data = getInternalState(that);\n      if (CLAMPED) value = (value = round(value)) < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF;\n      data.view[SETTER](index * BYTES + data.byteOffset, value, true);\n    };\n\n    var addElement = function (that, index) {\n      nativeDefineProperty(that, index, {\n        get: function () {\n          return getter(this, index);\n        },\n        set: function (value) {\n          return setter(this, index, value);\n        },\n        enumerable: true\n      });\n    };\n\n    if (!NATIVE_ARRAY_BUFFER_VIEWS) {\n      TypedArrayConstructor = wrapper(function (that, data, offset, $length) {\n        anInstance(that, TypedArrayConstructorPrototype);\n        var index = 0;\n        var byteOffset = 0;\n        var buffer, byteLength, length;\n        if (!isObject(data)) {\n          length = toIndex(data);\n          byteLength = length * BYTES;\n          buffer = new ArrayBuffer(byteLength);\n        } else if (isArrayBuffer(data)) {\n          buffer = data;\n          byteOffset = toOffset(offset, BYTES);\n          var $len = data.byteLength;\n          if ($length === undefined) {\n            if ($len % BYTES) throw RangeError(WRONG_LENGTH);\n            byteLength = $len - byteOffset;\n            if (byteLength < 0) throw RangeError(WRONG_LENGTH);\n          } else {\n            byteLength = toLength($length) * BYTES;\n            if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH);\n          }\n          length = byteLength / BYTES;\n        } else if (isTypedArray(data)) {\n          return fromList(TypedArrayConstructor, data);\n        } else {\n          return call(typedArrayFrom, TypedArrayConstructor, data);\n        }\n        setInternalState(that, {\n          buffer: buffer,\n          byteOffset: byteOffset,\n          byteLength: byteLength,\n          length: length,\n          view: new DataView(buffer)\n        });\n        while (index < length) addElement(that, index++);\n      });\n\n      if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);\n      TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create(TypedArrayPrototype);\n    } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) {\n      TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) {\n        anInstance(dummy, TypedArrayConstructorPrototype);\n        return inheritIfRequired(function () {\n          if (!isObject(data)) return new NativeTypedArrayConstructor(toIndex(data));\n          if (isArrayBuffer(data)) return $length !== undefined\n            ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length)\n            : typedArrayOffset !== undefined\n              ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES))\n              : new NativeTypedArrayConstructor(data);\n          if (isTypedArray(data)) return fromList(TypedArrayConstructor, data);\n          return call(typedArrayFrom, TypedArrayConstructor, data);\n        }(), dummy, TypedArrayConstructor);\n      });\n\n      if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);\n      forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) {\n        if (!(key in TypedArrayConstructor)) {\n          createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]);\n        }\n      });\n      TypedArrayConstructor.prototype = TypedArrayConstructorPrototype;\n    }\n\n    if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) {\n      createNonEnumerableProperty(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor);\n    }\n\n    createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_CONSTRUCTOR, TypedArrayConstructor);\n\n    if (TYPED_ARRAY_TAG) {\n      createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME);\n    }\n\n    exported[CONSTRUCTOR_NAME] = TypedArrayConstructor;\n\n    $({\n      global: true, forced: TypedArrayConstructor != NativeTypedArrayConstructor, sham: !NATIVE_ARRAY_BUFFER_VIEWS\n    }, exported);\n\n    if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) {\n      createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES);\n    }\n\n    if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) {\n      createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES);\n    }\n\n    setSpecies(CONSTRUCTOR_NAME);\n  };\n} else module.exports = function () { /* empty */ };\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Float32Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Float32', function (init) {\n  return function Float32Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Float64Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Float64', function (init) {\n  return function Float64Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Int8Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Int8', function (init) {\n  return function Int8Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Int16Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Int16', function (init) {\n  return function Int16Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Int32Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Int32', function (init) {\n  return function Int32Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint8Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint8', function (init) {\n  return function Uint8Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint8ClampedArray` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint8', function (init) {\n  return function Uint8ClampedArray(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n}, true);\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint16Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint16', function (init) {\n  return function Uint16Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint32Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint32', function (init) {\n  return function Uint32Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.at` method\n// https://github.com/tc39/proposal-relative-indexing-method\nexportTypedArrayMethod('at', function at(index) {\n  var O = aTypedArray(this);\n  var len = lengthOfArrayLike(O);\n  var relativeIndex = toIntegerOrInfinity(index);\n  var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;\n  return (k < 0 || k >= len) ? undefined : O[k];\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');\n\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod;\n\n// `%TypedArray%.of` method\n// https://tc39.es/ecma262/#sec-%typedarray%.of\nexportTypedArrayStaticMethod('of', function of(/* ...items */) {\n  var index = 0;\n  var length = arguments.length;\n  var result = new (aTypedArrayConstructor(this))(length);\n  while (length > index) result[index] = arguments[index++];\n  return result;\n}, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);\n","var arraySlice = require('../internals/array-slice-simple');\n\nvar floor = Math.floor;\n\nvar mergeSort = function (array, comparefn) {\n  var length = array.length;\n  var middle = floor(length / 2);\n  return length < 8 ? insertionSort(array, comparefn) : merge(\n    array,\n    mergeSort(arraySlice(array, 0, middle), comparefn),\n    mergeSort(arraySlice(array, middle), comparefn),\n    comparefn\n  );\n};\n\nvar insertionSort = function (array, comparefn) {\n  var length = array.length;\n  var i = 1;\n  var element, j;\n\n  while (i < length) {\n    j = i;\n    element = array[i];\n    while (j && comparefn(array[j - 1], element) > 0) {\n      array[j] = array[--j];\n    }\n    if (j !== i++) array[j] = element;\n  } return array;\n};\n\nvar merge = function (array, left, right, comparefn) {\n  var llength = left.length;\n  var rlength = right.length;\n  var lindex = 0;\n  var rindex = 0;\n\n  while (lindex < llength || rindex < rlength) {\n    array[lindex + rindex] = (lindex < llength && rindex < rlength)\n      ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n      : lindex < llength ? left[lindex++] : right[rindex++];\n  } return array;\n};\n\nmodule.exports = mergeSort;\n","var userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","var userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","'use strict';\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar aCallable = require('../internals/a-callable');\nvar internalSort = require('../internals/array-sort');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar Array = global.Array;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar Uint16Array = global.Uint16Array;\nvar un$Sort = Uint16Array && uncurryThis(Uint16Array.prototype.sort);\n\n// WebKit\nvar ACCEPT_INCORRECT_ARGUMENTS = !!un$Sort && !(fails(function () {\n  un$Sort(new Uint16Array(2), null);\n}) && fails(function () {\n  un$Sort(new Uint16Array(2), {});\n}));\n\nvar STABLE_SORT = !!un$Sort && !fails(function () {\n  // feature detection can be too slow, so check engines versions\n  if (V8) return V8 < 74;\n  if (FF) return FF < 67;\n  if (IE_OR_EDGE) return true;\n  if (WEBKIT) return WEBKIT < 602;\n\n  var array = new Uint16Array(516);\n  var expected = Array(516);\n  var index, mod;\n\n  for (index = 0; index < 516; index++) {\n    mod = index % 4;\n    array[index] = 515 - index;\n    expected[index] = index - 2 * mod + 3;\n  }\n\n  un$Sort(array, function (a, b) {\n    return (a / 4 | 0) - (b / 4 | 0);\n  });\n\n  for (index = 0; index < 516; index++) {\n    if (array[index] !== expected[index]) return true;\n  }\n});\n\nvar getSortCompare = function (comparefn) {\n  return function (x, y) {\n    if (comparefn !== undefined) return +comparefn(x, y) || 0;\n    // eslint-disable-next-line no-self-compare -- NaN check\n    if (y !== y) return -1;\n    // eslint-disable-next-line no-self-compare -- NaN check\n    if (x !== x) return 1;\n    if (x === 0 && y === 0) return 1 / x > 0 && 1 / y < 0 ? 1 : -1;\n    return x > y;\n  };\n};\n\n// `%TypedArray%.prototype.sort` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort\nexportTypedArrayMethod('sort', function sort(comparefn) {\n  if (comparefn !== undefined) aCallable(comparefn);\n  if (STABLE_SORT) return un$Sort(this, comparefn);\n\n  return internalSort(aTypedArray(this), getSortCompare(comparefn));\n}, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS);\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n  CSSRuleList: 0,\n  CSSStyleDeclaration: 0,\n  CSSValueList: 0,\n  ClientRectList: 0,\n  DOMRectList: 0,\n  DOMStringList: 0,\n  DOMTokenList: 1,\n  DataTransferItemList: 0,\n  FileList: 0,\n  HTMLAllCollection: 0,\n  HTMLCollection: 0,\n  HTMLFormElement: 0,\n  HTMLSelectElement: 0,\n  MediaList: 0,\n  MimeTypeArray: 0,\n  NamedNodeMap: 0,\n  NodeList: 1,\n  PaintRequestList: 0,\n  Plugin: 0,\n  PluginArray: 0,\n  SVGLengthList: 0,\n  SVGNumberList: 0,\n  SVGPathSegList: 0,\n  SVGPointList: 0,\n  SVGStringList: 0,\n  SVGTransformList: 0,\n  SourceBufferList: 0,\n  StyleSheetList: 0,\n  TextTrackCueList: 0,\n  TextTrackList: 0,\n  TouchList: 0\n};\n","// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n  createIteratorConstructor(IteratorConstructor, NAME, next);\n\n  var getIterationMethod = function (KIND) {\n    if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n    if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n    switch (KIND) {\n      case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n      case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n      case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n    } return function () { return new IteratorConstructor(this); };\n  };\n\n  var TO_STRING_TAG = NAME + ' Iterator';\n  var INCORRECT_VALUES_NAME = false;\n  var IterablePrototype = Iterable.prototype;\n  var nativeIterator = IterablePrototype[ITERATOR]\n    || IterablePrototype['@@iterator']\n    || DEFAULT && IterablePrototype[DEFAULT];\n  var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n  var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n  var CurrentIteratorPrototype, methods, KEY;\n\n  // fix native\n  if (anyNativeIterator) {\n    CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n    if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n      if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n        if (setPrototypeOf) {\n          setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n        } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n          redefine(CurrentIteratorPrototype, ITERATOR, returnThis);\n        }\n      }\n      // Set @@toStringTag to native iterators\n      setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n      if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n    }\n  }\n\n  // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n  if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n    if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n      createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n    } else {\n      INCORRECT_VALUES_NAME = true;\n      defaultIterator = function values() { return call(nativeIterator, this); };\n    }\n  }\n\n  // export additional methods\n  if (DEFAULT) {\n    methods = {\n      values: getIterationMethod(VALUES),\n      keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n      entries: getIterationMethod(ENTRIES)\n    };\n    if (FORCED) for (KEY in methods) {\n      if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n        redefine(IterablePrototype, KEY, methods[KEY]);\n      }\n    } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n  }\n\n  // define iterator\n  if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n    redefine(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n  }\n  Iterators[NAME] = defaultIterator;\n\n  return methods;\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/define-iterator');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n  setInternalState(this, {\n    type: ARRAY_ITERATOR,\n    target: toIndexedObject(iterated), // target\n    index: 0,                          // next index\n    kind: kind                         // kind\n  });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n  var state = getInternalState(this);\n  var target = state.target;\n  var kind = state.kind;\n  var index = state.index++;\n  if (!target || index >= target.length) {\n    state.target = undefined;\n    return { value: undefined, done: true };\n  }\n  if (kind == 'keys') return { value: index, done: false };\n  if (kind == 'values') return { value: target[index], done: false };\n  return { value: [index, target[index]], done: false };\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nIterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ArrayValues = ArrayIteratorMethods.values;\n\nvar handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {\n  if (CollectionPrototype) {\n    // some Chrome versions have non-configurable methods on DOMTokenList\n    if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n      createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\n    } catch (error) {\n      CollectionPrototype[ITERATOR] = ArrayValues;\n    }\n    if (!CollectionPrototype[TO_STRING_TAG]) {\n      createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n    }\n    if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n      // some Chrome versions have non-configurable methods on DOMTokenList\n      if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n        createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n      } catch (error) {\n        CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n      }\n    }\n  }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n  handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME);\n}\n\nhandlePrototype(DOMTokenListPrototype, 'DOMTokenList');\n","var FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar bind = FunctionPrototype.bind;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (bind ? call.bind(apply) : function () {\n  return call.apply(apply, arguments);\n});\n","var global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind-context');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar fails = require('../internals/fails');\nvar html = require('../internals/html');\nvar arraySlice = require('../internals/array-slice');\nvar createElement = require('../internals/document-create-element');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar Dispatch = global.Dispatch;\nvar Function = global.Function;\nvar MessageChannel = global.MessageChannel;\nvar String = global.String;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar location, defer, channel, port;\n\ntry {\n  // Deno throws a ReferenceError on `location` access without `--location` flag\n  location = global.location;\n} catch (error) { /* empty */ }\n\nvar run = function (id) {\n  if (hasOwn(queue, id)) {\n    var fn = queue[id];\n    delete queue[id];\n    fn();\n  }\n};\n\nvar runner = function (id) {\n  return function () {\n    run(id);\n  };\n};\n\nvar listener = function (event) {\n  run(event.data);\n};\n\nvar post = function (id) {\n  // old engines have not location.origin\n  global.postMessage(String(id), location.protocol + '//' + location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n  set = function setImmediate(fn) {\n    var args = arraySlice(arguments, 1);\n    queue[++counter] = function () {\n      apply(isCallable(fn) ? fn : Function(fn), undefined, args);\n    };\n    defer(counter);\n    return counter;\n  };\n  clear = function clearImmediate(id) {\n    delete queue[id];\n  };\n  // Node.js 0.8-\n  if (IS_NODE) {\n    defer = function (id) {\n      process.nextTick(runner(id));\n    };\n  // Sphere (JS game engine) Dispatch API\n  } else if (Dispatch && Dispatch.now) {\n    defer = function (id) {\n      Dispatch.now(runner(id));\n    };\n  // Browsers with MessageChannel, includes WebWorkers\n  // except iOS - https://github.com/zloirock/core-js/issues/624\n  } else if (MessageChannel && !IS_IOS) {\n    channel = new MessageChannel();\n    port = channel.port2;\n    channel.port1.onmessage = listener;\n    defer = bind(port.postMessage, port);\n  // Browsers with postMessage, skip WebWorkers\n  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n  } else if (\n    global.addEventListener &&\n    isCallable(global.postMessage) &&\n    !global.importScripts &&\n    location && location.protocol !== 'file:' &&\n    !fails(post)\n  ) {\n    defer = post;\n    global.addEventListener('message', listener, false);\n  // IE8-\n  } else if (ONREADYSTATECHANGE in createElement('script')) {\n    defer = function (id) {\n      html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n        html.removeChild(this);\n        run(id);\n      };\n    };\n  // Rest old browsers\n  } else {\n    defer = function (id) {\n      setTimeout(runner(id), 0);\n    };\n  }\n}\n\nmodule.exports = {\n  set: set,\n  clear: clear\n};\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar task = require('../internals/task');\n\nvar FORCED = !global.setImmediate || !global.clearImmediate;\n\n// http://w3c.github.io/setImmediate/\n$({ global: true, bind: true, enumerable: true, forced: FORCED }, {\n  // `setImmediate` method\n  // http://w3c.github.io/setImmediate/#si-setImmediate\n  setImmediate: task.set,\n  // `clearImmediate` method\n  // http://w3c.github.io/setImmediate/#si-clearImmediate\n  clearImmediate: task.clear\n});\n","var global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar macrotask = require('../internals/task').set;\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_IOS_PEBBLE = require('../internals/engine-is-ios-pebble');\nvar IS_WEBOS_WEBKIT = require('../internals/engine-is-webos-webkit');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\nvar document = global.document;\nvar process = global.process;\nvar Promise = global.Promise;\n// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\nvar queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');\nvar queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\n\nvar flush, head, last, notify, toggle, node, promise, then;\n\n// modern engines have queueMicrotask method\nif (!queueMicrotask) {\n  flush = function () {\n    var parent, fn;\n    if (IS_NODE && (parent = process.domain)) parent.exit();\n    while (head) {\n      fn = head.fn;\n      head = head.next;\n      try {\n        fn();\n      } catch (error) {\n        if (head) notify();\n        else last = undefined;\n        throw error;\n      }\n    } last = undefined;\n    if (parent) parent.enter();\n  };\n\n  // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n  // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898\n  if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {\n    toggle = true;\n    node = document.createTextNode('');\n    new MutationObserver(flush).observe(node, { characterData: true });\n    notify = function () {\n      node.data = toggle = !toggle;\n    };\n  // environments with maybe non-completely correct, but existent Promise\n  } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {\n    // Promise.resolve without an argument throws an error in LG WebOS 2\n    promise = Promise.resolve(undefined);\n    // workaround of WebKit ~ iOS Safari 10.1 bug\n    promise.constructor = Promise;\n    then = bind(promise.then, promise);\n    notify = function () {\n      then(flush);\n    };\n  // Node.js without promises\n  } else if (IS_NODE) {\n    notify = function () {\n      process.nextTick(flush);\n    };\n  // for other environments - macrotask based on:\n  // - setImmediate\n  // - MessageChannel\n  // - window.postMessag\n  // - onreadystatechange\n  // - setTimeout\n  } else {\n    // strange IE + webpack dev server bug - use .bind(global)\n    macrotask = bind(macrotask, global);\n    notify = function () {\n      macrotask(flush);\n    };\n  }\n}\n\nmodule.exports = queueMicrotask || function (fn) {\n  var task = { fn: fn, next: undefined };\n  if (last) last.next = task;\n  if (!head) {\n    head = task;\n    notify();\n  } last = task;\n};\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar microtask = require('../internals/microtask');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar process = global.process;\n\n// `queueMicrotask` method\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask\n$({ global: true, enumerable: true, noTargetGet: true }, {\n  queueMicrotask: function queueMicrotask(fn) {\n    var domain = IS_NODE && process.domain;\n    microtask(domain ? domain.bind(fn) : fn);\n  }\n});\n","// File generated automatically. Don't modify it.\nimport 'core-js/modules/es.aggregate-error';\nimport 'core-js/modules/es.array.at';\nimport 'core-js/modules/es.array.reverse';\nimport 'core-js/modules/es.array-buffer.slice';\nimport 'core-js/modules/es.object.from-entries';\nimport 'core-js/modules/es.object.has-own';\nimport 'core-js/modules/es.promise.all-settled';\nimport 'core-js/modules/es.promise.any';\nimport 'core-js/modules/es.promise.finally';\nimport 'core-js/modules/es.string.match-all';\nimport 'core-js/modules/es.string.replace-all';\nimport 'core-js/modules/es.typed-array.float32-array';\nimport 'core-js/modules/es.typed-array.float64-array';\nimport 'core-js/modules/es.typed-array.int8-array';\nimport 'core-js/modules/es.typed-array.int16-array';\nimport 'core-js/modules/es.typed-array.int32-array';\nimport 'core-js/modules/es.typed-array.uint8-array';\nimport 'core-js/modules/es.typed-array.uint8-clamped-array';\nimport 'core-js/modules/es.typed-array.uint16-array';\nimport 'core-js/modules/es.typed-array.uint32-array';\nimport 'core-js/modules/es.typed-array.at';\nimport 'core-js/modules/es.typed-array.from';\nimport 'core-js/modules/es.typed-array.of';\nimport 'core-js/modules/es.typed-array.sort';\nimport 'core-js/modules/web.dom-collections.iterator';\nimport 'core-js/modules/web.immediate';\nimport 'core-js/modules/web.queue-microtask';\n",null,"var bxTmp = window.BX;\n\nwindow.BX = function(node)\n{\n\tif (window.BX.type.isNotEmptyString(node))\n\t{\n\t\treturn document.getElementById(node);\n\t}\n\n\tif (window.BX.type.isDomNode(node))\n\t{\n\t\treturn node;\n\t}\n\n\tif (window.BX.type.isFunction(node))\n\t{\n\t\treturn window.BX.ready(node);\n\t}\n\n\treturn null;\n};\n\nif (bxTmp)\n{\n\tObject.keys(bxTmp).forEach((key) => {\n\t\twindow.BX[key] = bxTmp[key];\n\t});\n}\n\nexports = window.BX;","/**\n * Gets object.toString result\n * @param value\n * @return {string}\n */\nexport default function getTag(value: any)\n{\n\treturn Object.prototype.toString.call(value);\n}","import getTag from '../internal/get-tag';\n\nconst objectCtorString = Function.prototype.toString.call(Object);\n\n/**\n * @memberOf BX\n */\nexport default class Type\n{\n\t/**\n\t * Checks that value is string\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isString(value: any): boolean\n\t{\n\t\treturn typeof value === 'string';\n\t}\n\n\t/**\n\t * Returns true if a value is not empty string\n\t * @param value\n\t * @returns {boolean}\n\t */\n\tstatic isStringFilled(value: any): boolean\n\t{\n\t\treturn Type.isString(value) && value !== '';\n\t}\n\n\t/**\n\t * Checks that value is function\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isFunction(value: any): boolean\n\t{\n\t\treturn typeof value === 'function';\n\t}\n\n\t/**\n\t * Checks that value is object\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isObject(value: any): boolean\n\t{\n\t\treturn !!value && (typeof value === 'object' || typeof value === 'function');\n\t}\n\n\t/**\n\t * Checks that value is object like\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isObjectLike(value: any): boolean\n\t{\n\t\treturn !!value && typeof value === 'object';\n\t}\n\n\t/**\n\t * Checks that value is plain object\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isPlainObject(value: any): boolean\n\t{\n\t\tif (!Type.isObjectLike(value) || getTag(value) !== '[object Object]')\n\t\t{\n\t\t\treturn false;\n\t\t}\n\n\t\tconst proto = Object.getPrototypeOf(value);\n\t\tif (proto === null)\n\t\t{\n\t\t\treturn true;\n\t\t}\n\n\t\tconst ctor = proto.hasOwnProperty('constructor') && proto.constructor;\n\n\t\treturn (\n\t\t\ttypeof ctor === 'function' &&\n\t\t\tFunction.prototype.toString.call(ctor) === objectCtorString\n\t\t);\n\t}\n\n\t/**\n\t * Checks that value is boolean\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isBoolean(value: any): boolean\n\t{\n\t\treturn value === true || value === false;\n\t}\n\n\t/**\n\t * Checks that value is number\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isNumber(value: any): boolean\n\t{\n\t\treturn !Number.isNaN(value) && typeof value === 'number';\n\t}\n\n\t/**\n\t * Checks that value is integer\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isInteger(value: any): boolean\n\t{\n\t\treturn Type.isNumber(value) && (value % 1) === 0;\n\t}\n\n\t/**\n\t * Checks that value is float\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isFloat(value: any): boolean\n\t{\n\t\treturn Type.isNumber(value) && !Type.isInteger(value);\n\t}\n\n\t/**\n\t * Checks that value is nil\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isNil(value: any): boolean\n\t{\n\t\treturn value === null || value === undefined;\n\t}\n\n\t/**\n\t * Checks that value is array\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isArray(value: any): boolean\n\t{\n\t\treturn !Type.isNil(value) && Array.isArray(value);\n\t}\n\n\t/**\n\t * Returns true if a value is an array and it has at least one element\n\t * @param value\n\t * @returns {boolean}\n\t */\n\tstatic isArrayFilled(value: any): boolean\n\t{\n\t\treturn Type.isArray(value) && value.length > 0;\n\t}\n\n\t/**\n\t * Checks that value is array like\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isArrayLike(value: any): boolean\n\t{\n\t\treturn (\n\t\t\t!Type.isNil(value)\n\t\t\t&& !Type.isFunction(value)\n\t\t\t&& value.length > -1\n\t\t\t&& value.length <= Number.MAX_SAFE_INTEGER\n\t\t);\n\t}\n\n\t/**\n\t * Checks that value is Date\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isDate(value: any): boolean\n\t{\n\t\treturn Type.isObjectLike(value) && getTag(value) === '[object Date]';\n\t}\n\n\t/**\n\t * Checks that is DOM node\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isDomNode(value: any): boolean\n\t{\n\t\treturn Type.isObjectLike(value) && !Type.isPlainObject(value) && 'nodeType' in value;\n\t}\n\n\t/**\n\t * Checks that value is element node\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isElementNode(value: any): boolean\n\t{\n\t\treturn Type.isDomNode(value) && value.nodeType === Node.ELEMENT_NODE;\n\t}\n\n\t/**\n\t * Checks that value is text node\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isTextNode(value: any): boolean\n\t{\n\t\treturn Type.isDomNode(value) && value.nodeType === Node.TEXT_NODE;\n\t}\n\n\t/**\n\t * Checks that value is Map\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isMap(value: any): boolean\n\t{\n\t\treturn Type.isObjectLike(value) && getTag(value) === '[object Map]';\n\t}\n\n\t/**\n\t * Checks that value is Set\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isSet(value: any): boolean\n\t{\n\t\treturn Type.isObjectLike(value) && getTag(value) === '[object Set]';\n\t}\n\n\t/**\n\t * Checks that value is WeakMap\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isWeakMap(value: any): boolean\n\t{\n\t\treturn Type.isObjectLike(value) && getTag(value) === '[object WeakMap]';\n\t}\n\n\t/**\n\t * Checks that value is WeakSet\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isWeakSet(value: any): boolean\n\t{\n\t\treturn Type.isObjectLike(value) && getTag(value) === '[object WeakSet]';\n\t}\n\n\t/**\n\t * Checks that value is prototype\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isPrototype(value: any): boolean\n\t{\n\t\treturn (\n\t\t\t(((typeof (value && value.constructor) === 'function') && value.constructor.prototype) || Object.prototype) === value\n\t\t);\n\t}\n\n\t/**\n\t * Checks that value is regexp\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isRegExp(value: any): boolean\n\t{\n\t\treturn Type.isObjectLike(value) && getTag(value) === '[object RegExp]';\n\t}\n\n\t/**\n\t * Checks that value is null\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isNull(value: any): boolean\n\t{\n\t\treturn value === null;\n\t}\n\n\t/**\n\t * Checks that value is undefined\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isUndefined(value: any): boolean\n\t{\n\t\treturn typeof value === 'undefined';\n\t}\n\n\t/**\n\t * Checks that value is ArrayBuffer\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isArrayBuffer(value: any): boolean\n\t{\n\t\treturn Type.isObjectLike(value) && getTag(value) === '[object ArrayBuffer]';\n\t}\n\n\t/**\n\t * Checks that value is typed array\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isTypedArray(value: any): boolean\n\t{\n\t\tconst regExpTypedTag = (\n\t\t\t/^\\[object (?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)]$/\n\t\t);\n\t\treturn Type.isObjectLike(value) && regExpTypedTag.test(getTag(value));\n\t}\n\n\t/**\n\t * Checks that value is Blob\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isBlob(value: any): boolean\n\t{\n\t\treturn (\n\t\t\tType.isObjectLike(value)\n\t\t\t&& Type.isNumber(value.size)\n\t\t\t&& Type.isString(value.type)\n\t\t\t&& Type.isFunction(value.slice)\n\t\t);\n\t}\n\n\t/**\n\t * Checks that value is File\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isFile(value: any): boolean\n\t{\n\t\treturn (\n\t\t\tType.isBlob(value)\n\t\t\t&& Type.isString(value.name)\n\t\t\t&& (Type.isNumber(value.lastModified) || Type.isObjectLike(value.lastModifiedDate))\n\t\t);\n\t}\n\n\t/**\n\t * Checks that value is FormData\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isFormData(value: any)\n\t{\n\t\treturn value instanceof FormData;\n\t}\n}\n","import Type from './type';\n\n/**\n * @memberOf BX\n */\nexport default class Reflection\n{\n\t/**\n\t * Gets link to function by function name\n\t * @param className\n\t * @return {?Function}\n\t */\n\tstatic getClass(className: string | Function): Function | null\n\t{\n\t\tif (Type.isString(className) && !!className)\n\t\t{\n\t\t\tlet classFn = null;\n\t\t\tlet currentNamespace = window;\n\t\t\tconst namespaces = className.split('.');\n\n\t\t\tfor (let i = 0; i < namespaces.length; i += 1)\n\t\t\t{\n\t\t\t\tconst namespace = namespaces[i];\n\n\t\t\t\tif (!currentNamespace[namespace])\n\t\t\t\t{\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\n\t\t\t\tcurrentNamespace = currentNamespace[namespace];\n\t\t\t\tclassFn = currentNamespace;\n\t\t\t}\n\n\t\t\treturn classFn;\n\t\t}\n\n\t\tif (Type.isFunction(className))\n\t\t{\n\t\t\treturn className;\n\t\t}\n\n\t\treturn null;\n\t}\n\n\t/**\n\t * Creates a namespace or returns a link to a previously created one\n\t * @param {String} namespaceName\n\t * @return {Object<string, any> | Function | null}\n\t */\n\tstatic namespace(namespaceName: string): {[key: string]: any} | Function\n\t{\n\t\tlet parts = namespaceName.split('.');\n\t\tlet parent = window.BX;\n\n\t\tif (parts[0] === 'BX')\n\t\t{\n\t\t\tparts = parts.slice(1);\n\t\t}\n\n\t\tfor (let i = 0; i < parts.length; i += 1)\n\t\t{\n\t\t\tif (Type.isUndefined(parent[parts[i]]))\n\t\t\t{\n\t\t\t\tparent[parts[i]] = {};\n\t\t\t}\n\n\t\t\tparent = parent[parts[i]];\n\t\t}\n\n\t\treturn parent;\n\t}\n}","import Type from './type';\n\nconst reEscape = /[&<>'\"]/g;\nconst reUnescape = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34);/g;\n\nconst escapeEntities = {\n\t'&': '&amp;',\n\t'<': '&lt;',\n\t'>': '&gt;',\n\t\"'\": '&#39;',\n\t'\"': '&quot;',\n};\n\nconst unescapeEntities = {\n\t'&amp;': '&',\n\t'&#38;': '&',\n\t'&lt;': '<',\n\t'&#60;': '<',\n\t'&gt;': '>',\n\t'&#62;': '>',\n\t'&apos;': \"'\",\n\t'&#39;': \"'\",\n\t'&quot;': '\"',\n\t'&#34;': '\"',\n};\n\n/**\n * @memberOf BX\n */\nexport default class Text\n{\n\t/**\n\t * Encodes all unsafe entities\n\t * @param {string} value\n\t * @return {string}\n\t */\n\tstatic encode(value: string): string\n\t{\n\t\tif (Type.isString(value))\n\t\t{\n\t\t\treturn value.replace(reEscape, item => escapeEntities[item]);\n\t\t}\n\n\t\treturn value;\n\t}\n\n\t/**\n\t * Decodes all encoded entities\n\t * @param {string} value\n\t * @return {string}\n\t */\n\tstatic decode(value: string): string\n\t{\n\t\tif (Type.isString(value))\n\t\t{\n\t\t\treturn value.replace(reUnescape, item => unescapeEntities[item]);\n\t\t}\n\n\t\treturn value;\n\t}\n\n\tstatic getRandom(length = 8)\n\t{\n\t\t// eslint-disable-next-line\n\t\treturn [...Array(length)].map(() => (~~(Math.random() * 36)).toString(36)).join('');\n\t}\n\n\tstatic toNumber(value: any): number\n\t{\n\t\tconst parsedValue = Number.parseFloat(value);\n\n\t\tif (Type.isNumber(parsedValue))\n\t\t{\n\t\t\treturn parsedValue;\n\t\t}\n\n\t\treturn 0;\n\t}\n\n\tstatic toInteger(value: any): number\n\t{\n\t\treturn Text.toNumber(Number.parseInt(value, 10));\n\t}\n\n\tstatic toBoolean(value: any, trueValues = []): boolean\n\t{\n\t\tconst transformedValue = Type.isString(value) ? value.toLowerCase() : value;\n\t\treturn ['true', 'y', '1', 1, true, ...trueValues].includes(transformedValue);\n\t}\n\n\tstatic toCamelCase(str: string)\n\t{\n\t\tif (!Type.isStringFilled(str))\n\t\t{\n\t\t\treturn str;\n\t\t}\n\n\t\tconst regex = /[-_\\s]+(.)?/g;\n\t\tif (!regex.test(str))\n\t\t{\n\t\t\treturn str.match(/^[A-Z]+$/) ? str.toLowerCase() : str[0].toLowerCase() + str.slice(1);\n\t\t}\n\n\t\tstr = str.toLowerCase();\n\t\tstr = str.replace(regex, function(match, letter) {\n\t\t\treturn letter ? letter.toUpperCase() : '';\n\t\t});\n\n\t\treturn str[0].toLowerCase() + str.substr(1);\n\t}\n\n\tstatic toPascalCase(str: string)\n\t{\n\t\tif (!Type.isStringFilled(str))\n\t\t{\n\t\t\treturn str;\n\t\t}\n\n\t\treturn this.capitalize(this.toCamelCase(str));\n\t}\n\n\tstatic toKebabCase(str: string)\n\t{\n\t\tif (!Type.isStringFilled(str))\n\t\t{\n\t\t\treturn str;\n\t\t}\n\n\t\tconst matches = str.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g);\n\t\tif (!matches)\n\t\t{\n\t\t\treturn str;\n\t\t}\n\n\t\treturn matches.map(x => x.toLowerCase()).join('-');\n\t}\n\n\tstatic capitalize(str: string)\n\t{\n\t\tif (!Type.isStringFilled(str))\n\t\t{\n\t\t\treturn str;\n\t\t}\n\n\t\treturn str[0].toUpperCase() + str.substr(1);\n\t}\n}","const aliases = {\n\tmousewheel: [\n\t\t'DOMMouseScroll',\n\t],\n\tbxchange: [\n\t\t'change',\n\t\t'cut',\n\t\t'paste',\n\t\t'drop',\n\t\t'keyup',\n\t],\n\tanimationend: [\n\t\t'animationend',\n\t\t'oAnimationEnd',\n\t\t'webkitAnimationEnd',\n\t\t'MSAnimationEnd',\n\t],\n\ttransitionend: [\n\t\t'webkitTransitionEnd',\n\t\t'otransitionend',\n\t\t'oTransitionEnd',\n\t\t'msTransitionEnd',\n\t\t'transitionend',\n\t],\n\tfullscreenchange: [\n\t\t'fullscreenchange',\n\t\t'webkitfullscreenchange',\n\t\t'mozfullscreenchange',\n\t\t'MSFullscreenChange',\n\t],\n\tfullscreenerror: [\n\t\t'fullscreenerror',\n\t\t'webkitfullscreenerror',\n\t\t'mozfullscreenerror',\n\t\t'MSFullscreenError',\n\t],\n};\n\nexport default aliases;","import Type from '../type';\n\nexport class Registry\n{\n\tregistry: WeakMap = new WeakMap();\n\n\tset(target: Element, event: string, listener: Function)\n\t{\n\t\tconst events = this.get(target);\n\n\t\tif (!Type.isSet(events[event]))\n\t\t{\n\t\t\tevents[event] = new Set();\n\t\t}\n\n\t\tevents[event].add(listener);\n\n\t\tthis.registry.set(target, events);\n\t}\n\n\tget(target: Element): {[event: string]: Set<Function>}\n\t{\n\t\treturn this.registry.get(target) || {};\n\t}\n\n\thas(target: Element, event?: string, listener?: Function): boolean\n\t{\n\t\tif (event && listener)\n\t\t{\n\t\t\treturn (\n\t\t\t\tthis.registry.has(target)\n\t\t\t\t&& this.registry.get(target)[event].has(listener)\n\t\t\t);\n\t\t}\n\n\t\treturn this.registry.has(target);\n\t}\n\n\tdelete(target: Element, event?: string, listener?: Function)\n\t{\n\t\tif (!Type.isDomNode(target))\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tif (Type.isString(event) && Type.isFunction(listener))\n\t\t{\n\t\t\tconst events = this.registry.get(target);\n\n\t\t\tif (Type.isPlainObject(events) && Type.isSet(events[event]))\n\t\t\t{\n\t\t\t\tevents[event].delete(listener);\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tif (Type.isString(event))\n\t\t{\n\t\t\tconst events = this.registry.get(target);\n\n\t\t\tif (Type.isPlainObject(events) && Type.isSet(events[event]))\n\t\t\t{\n\t\t\t\tevents[event] = new Set();\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tthis.registry.delete(target);\n\t}\n}\n\nexport default new Registry();","import Type from '../type';\n\nfunction isOptionSupported(name)\n{\n\tlet isSupported = false;\n\n\ttry {\n\t\tconst options = Object.defineProperty({}, name, {\n\t\t\tget() {\n\t\t\t\tisSupported = true;\n\t\t\t\treturn undefined;\n\t\t\t},\n\t\t});\n\n\t\twindow.addEventListener('test', null, options);\n\t}\n\t// eslint-disable-next-line\n\tcatch (err) {}\n\n\treturn isSupported;\n}\n\nexport default function fetchSupportedListenerOptions(\n\toptions?: T<{\n\t\tcapture?: boolean,\n\t\tonce?: boolean,\n\t\tpassive?: boolean,\n\t}>,\n): ?T\n{\n\tif (!Type.isPlainObject(options))\n\t{\n\t\treturn options;\n\t}\n\n\treturn Object\n\t\t.keys(options)\n\t\t.reduce((acc, name) => {\n\t\t\tif (isOptionSupported(name))\n\t\t\t{\n\t\t\t\tacc[name] = options[name];\n\t\t\t}\n\n\t\t\treturn acc;\n\t\t}, {});\n}","import Type from '../type';\nimport aliases from './aliases';\nimport registry from './registry';\nimport fetchSupportedListenerOptions from './fetch-supported-listener-options';\n\nexport default function bind(\n\ttarget: Element,\n\teventName: string,\n\thandler: (event: Event) => void,\n\toptions?: {\n\t\tcapture?: boolean,\n\t\tonce?: boolean,\n\t\tpassive?: boolean,\n\t},\n): void\n{\n\tif (\n\t\t!Type.isObject(target)\n\t\t|| !Type.isFunction(target.addEventListener)\n\t)\n\t{\n\t\treturn;\n\t}\n\n\tconst listenerOptions = fetchSupportedListenerOptions(options);\n\n\tif (eventName in aliases)\n\t{\n\t\taliases[eventName].forEach((key) => {\n\t\t\ttarget.addEventListener(key, handler, listenerOptions);\n\t\t\tregistry.set(target, eventName, handler);\n\t\t});\n\n\t\treturn;\n\t}\n\n\ttarget.addEventListener(eventName, handler, listenerOptions);\n\tregistry.set(target, eventName, handler);\n}","import Type from '../type';\nimport aliases from './aliases';\nimport registry from './registry';\nimport fetchSupportedListenerOptions from './fetch-supported-listener-options';\n\nexport default function unbind(\n\ttarget: Element,\n\teventName: string,\n\thandler: Function,\n\toptions?: {\n\t\tcapture?: boolean,\n\t\tonce?: boolean,\n\t\tpassive?: boolean,\n\t},\n): void\n{\n\tif (\n\t\t!Type.isObject(target)\n\t\t|| !Type.isFunction(target.removeEventListener)\n\t)\n\t{\n\t\treturn;\n\t}\n\n\tconst listenerOptions = fetchSupportedListenerOptions(options);\n\n\tif (eventName in aliases)\n\t{\n\t\taliases[eventName].forEach((key) => {\n\t\t\ttarget.removeEventListener(key, handler, listenerOptions);\n\t\t\tregistry.delete(target, key, handler);\n\t\t});\n\n\t\treturn;\n\t}\n\n\ttarget.removeEventListener(eventName, handler, listenerOptions);\n\tregistry.delete(target, eventName, handler);\n}","import Type from '../type';\nimport unbind from './unbind';\nimport registry from './registry';\n\nexport default function unbindAll(target: any, eventName?: string): void\n{\n\tconst events = registry.get(target);\n\n\tObject.keys(events).forEach((currentEvent) => {\n\t\tevents[currentEvent].forEach((handler) => {\n\t\t\tif (!Type.isString(eventName) || eventName === currentEvent)\n\t\t\t{\n\t\t\t\tunbind(target, currentEvent, handler);\n\t\t\t}\n\t\t});\n\t});\n}","import bind from './bind';\nimport unbind from './unbind';\n\nexport default function bindOnce(\n\ttarget: Element,\n\teventName: string,\n\thandler: (event: Event) => void,\n\toptions?: {\n\t\tcapture?: boolean,\n\t\tonce?: boolean,\n\t\tpassive?: boolean,\n\t},\n): void\n{\n\tconst once = function once(...args) {\n\t\tunbind(target, eventName, once, options);\n\t\thandler(...args);\n\t};\n\n\tbind(target, eventName, once, options);\n}","import Type from '../type';\n\n// eslint-disable-next-line\nexport let debugState = true;\n\nexport function enableDebug()\n{\n\tdebugState = true;\n}\n\nexport function disableDebug()\n{\n\tdebugState = false;\n}\n\nexport function isDebugEnabled()\n{\n\treturn debugState;\n}\n\nexport default function debug(...args: any)\n{\n\tif (\n\t\tisDebugEnabled()\n\t\t&& Type.isObject(window.console)\n\t)\n\t{\n\t\tif (Type.isFunction(window.console.log))\n\t\t{\n\t\t\twindow.console.log('BX.debug: ', args.length > 0 ? args : args[0]);\n\n\t\t\tif (args[0] instanceof Error && args[0].stack)\n\t\t\t{\n\t\t\t\twindow.console.log('BX.debug error stack trace', args[0].stack);\n\t\t\t}\n\t\t}\n\n\t\tif (Type.isFunction(window.console.trace))\n\t\t{\n\t\t\t// eslint-disable-next-line\n\t\t\tconsole.trace();\n\t\t}\n\t}\n}","import typeof Extension from './extension';\n\nconst extensionsStorage: Map<string, Extension> = new Map();\n\nexport default extensionsStorage;\n","const ajaxController: string = 'main.bitrix.main.controller.loadext.getextensions';\n\nexport default function loadAssets(options: {extension: Array<string>}): Promise<any>\n{\n\treturn new Promise((resolve) => {\n\t\t// eslint-disable-next-line\n\t\tBX.ajax.runAction(ajaxController, {data: options}).then(resolve);\n\t});\n}\n","import Type from '../../../type';\n\nexport function fetchInlineScripts(acc: Array<string>, item: { JS: string, isInternal: boolean })\n{\n\tif (item.isInternal)\n\t{\n\t\tacc.push(item.JS);\n\t}\n\n\treturn acc;\n}\n\nexport function fetchExternalScripts(acc: Array<string>, item: { JS: string, isInternal: boolean })\n{\n\tif (!item.isInternal)\n\t{\n\t\tacc.push(item.JS);\n\t}\n\n\treturn acc;\n}\n\nexport function fetchExternalStyles(acc: Array<string>, item: ?string)\n{\n\tif (Type.isString(item) && item !== '')\n\t{\n\t\tacc.push(item);\n\t}\n\n\treturn acc;\n}\n\ntype SettingsEntry = { extension: string, script: string };\n\nexport function fetchExtensionSettings(html: string): Array<SettingsEntry>\n{\n\tif (Type.isStringFilled(html))\n\t{\n\t\tconst scripts = html.match(/<script type=\"extension\\/settings\" \\b[^>]*>([\\s\\S]*?)<\\/script>/g);\n\t\tif (Type.isArrayFilled(scripts))\n\t\t{\n\t\t\treturn scripts.map((script) => {\n\t\t\t\tconst [, extension] = script.match(/data-extension=\"(.[a-z0-9_.-]+)\"/);\n\n\t\t\t\treturn {\n\t\t\t\t\textension,\n\t\t\t\t\tscript,\n\t\t\t\t};\n\t\t\t});\n\t\t}\n\t}\n\n\treturn [];\n}\n\nexport function loadAll(items: Array<string>): Promise<void>\n{\n\tconst itemsList = Type.isArray(items) ? items : [items];\n\n\tif (!itemsList.length)\n\t{\n\t\treturn Promise.resolve();\n\t}\n\n\treturn new Promise((resolve) => {\n\t\t// eslint-disable-next-line\n\t\tBX.load(itemsList, resolve);\n\t});\n}\n","import loadAssets from './load-assets';\nimport Reflection from '../../../reflection';\nimport {\n\tfetchInlineScripts,\n\tfetchExternalScripts,\n\tfetchExternalStyles,\n\tfetchExtensionSettings,\n\tloadAll,\n} from './utils';\nimport Type from '../../../type';\n\nexport type ExtensionOptions = {\n\tname: string,\n\tnamespace?: string,\n\tloaded?: boolean,\n};\n\nexport type ExtensionPromiseValue = {\n\tname: string,\n\tnamespace: string,\n\texports: any,\n};\n\nconst defaultOptions = {\n\tloaded: false,\n};\n\nexport default class Extension\n{\n\tstatic State = {\n\t\tLOADED: 'LOADED',\n\t\tLOADING: 'LOADING',\n\t};\n\n\t#state: $Values<Extension.State> = Extension.State.LOADING;\n\t#name: string = '';\n\t#namespace: string = '';\n\t#promise: Promise<ExtensionPromiseValue> = null;\n\n\tconstructor(options: ExtensionOptions)\n\t{\n\t\tconst preparedOptions: ExtensionOptions = {\n\t\t\t...defaultOptions,\n\t\t\t...options,\n\t\t};\n\n\t\tthis.#name = preparedOptions.name;\n\t\tthis.#namespace = Type.isStringFilled(preparedOptions.namespace) ? preparedOptions.namespace : 'window';\n\n\t\tif (preparedOptions.loaded)\n\t\t{\n\t\t\tthis.#state = Extension.State.LOADED;\n\t\t}\n\t}\n\n\tload(): Promise<ExtensionPromiseValue>\n\t{\n\t\tif (this.#state === Extension.State.LOADED && !this.#promise)\n\t\t{\n\t\t\tthis.#promise = Promise.resolve(\n\t\t\t\tReflection.getClass(this.#namespace),\n\t\t\t);\n\t\t}\n\n\t\tif (this.#promise)\n\t\t{\n\t\t\treturn this.#promise;\n\t\t}\n\n\t\tthis.#state = Extension.State.LOADING;\n\t\tthis.#promise = new Promise((resolve) => {\n\t\t\tvoid loadAssets({ extension: [this.#name] })\n\t\t\t\t.then((assetsResult) => {\n\t\t\t\t\tif (!Type.isArrayFilled(assetsResult.data))\n\t\t\t\t\t{\n\t\t\t\t\t\tresolve(window);\n\t\t\t\t\t}\n\n\t\t\t\t\tconst extensionData = assetsResult.data.at(0);\n\t\t\t\t\tif (\n\t\t\t\t\t\tType.isPlainObject(extensionData.config)\n\t\t\t\t\t\t&& Type.isStringFilled(extensionData.config.namespace)\n\t\t\t\t\t)\n\t\t\t\t\t{\n\t\t\t\t\t\tthis.#namespace = extensionData.config.namespace;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst result = BX.processHTML(extensionData.html || '');\n\t\t\t\t\tconst inlineScripts = result.SCRIPT.reduce(fetchInlineScripts, []);\n\t\t\t\t\tconst externalScripts = result.SCRIPT.reduce(fetchExternalScripts, []);\n\t\t\t\t\tconst externalStyles = result.STYLE.reduce(fetchExternalStyles, []);\n\t\t\t\t\tconst settingsScripts = fetchExtensionSettings(result.HTML);\n\n\t\t\t\t\tsettingsScripts.forEach((entry: { extension: string, script: string }) => {\n\t\t\t\t\t\tdocument.body.insertAdjacentHTML('beforeend', entry.script);\n\t\t\t\t\t});\n\n\t\t\t\t\tinlineScripts.forEach((script: string) => {\n\t\t\t\t\t\tBX.evalGlobal(script);\n\t\t\t\t\t});\n\n\t\t\t\t\tvoid Promise\n\t\t\t\t\t\t.all([\n\t\t\t\t\t\t\tloadAll(externalScripts),\n\t\t\t\t\t\t\tloadAll(externalStyles),\n\t\t\t\t\t\t])\n\t\t\t\t\t\t.then(() => {\n\t\t\t\t\t\t\tthis.#state = Extension.State.LOADED;\n\n\t\t\t\t\t\t\tif (this.#namespace)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\treturn Reflection.getClass(this.#namespace);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn window;\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.then((exports) => {\n\t\t\t\t\t\t\tresolve(exports);\n\t\t\t\t\t\t});\n\t\t\t\t});\n\t\t});\n\n\t\treturn this.#promise;\n\t}\n}\n","import extensionsStorage from './internal/extensions-storage';\nimport Extension, { type ExtensionPromiseValue } from './internal/extension';\nimport Type from '../../type';\n\nexport default async function loadExtension(...extensionName: Array<string>): Promise<any>\n{\n\tconst extensionNames: Array<string> = extensionName.flat();\n\n\tconst result: Array<Promise<ExtensionPromiseValue>> = extensionNames.map((name: string) => {\n\t\tif (extensionsStorage.has(name))\n\t\t{\n\t\t\treturn extensionsStorage.get(name).load();\n\t\t}\n\n\t\tconst extension: Extension = new Extension({ name });\n\t\textensionsStorage.set(name, extension);\n\n\t\treturn extension.load();\n\t});\n\n\treturn Promise\n\t\t.all(result)\n\t\t.then((exports: Array<any>) => {\n\t\t\treturn exports.reduce((acc, currentExports) => {\n\t\t\t\tif (Type.isPlainObject(currentExports))\n\t\t\t\t{\n\t\t\t\t\treturn { ...acc, ...currentExports };\n\t\t\t\t}\n\n\t\t\t\treturn acc;\n\t\t\t}, {});\n\t\t});\n}\n","import Type from '../type';\nimport getTag from '../../internal/get-tag';\n\nconst cloneableTags = [\n\t'[object Object]',\n\t'[object Array]',\n\t'[object RegExp]',\n\t'[object Arguments]',\n\t'[object Date]',\n\t'[object Error]',\n\t'[object Map]',\n\t'[object Set]',\n\t'[object ArrayBuffer]',\n\t'[object DataView]',\n\t'[object Float32Array]',\n\t'[object Float64Array]',\n\t'[object Int8Array]',\n\t'[object Int16Array]',\n\t'[object Int32Array]',\n\t'[object Uint8Array]',\n\t'[object Uint16Array]',\n\t'[object Uint32Array]',\n\t'[object Uint8ClampedArray]',\n];\n\nfunction isCloneable(value: any): boolean %checks\n{\n\tconst isCloneableValue = Type.isObjectLike(value)\n\t\t&& cloneableTags.includes(getTag(value));\n\n\treturn isCloneableValue || Type.isDomNode(value);\n}\n\nexport function internalClone(value: any, map: WeakMap<any, any>): any\n{\n\tif (map.has(value))\n\t{\n\t\treturn map.get(value);\n\t}\n\n\tif (isCloneable(value))\n\t{\n\t\tif (Type.isArray(value))\n\t\t{\n\t\t\tconst cloned = Array.from(value);\n\n\t\t\tmap.set(value, cloned);\n\n\t\t\tvalue.forEach((item, index) => {\n\t\t\t\tcloned[index] = internalClone(item, map);\n\t\t\t});\n\n\t\t\treturn map.get(value);\n\t\t}\n\n\t\tif (Type.isDomNode(value))\n\t\t{\n\t\t\treturn value.cloneNode(true);\n\t\t}\n\n\t\tif (Type.isMap(value))\n\t\t{\n\t\t\tconst result = new Map();\n\n\t\t\tmap.set(value, result);\n\n\t\t\tvalue.forEach((item, key) => {\n\t\t\t\tresult.set(\n\t\t\t\t\tinternalClone(key, map),\n\t\t\t\t\tinternalClone(item, map)\n\t\t\t\t);\n\t\t\t});\n\n\t\t\treturn result;\n\t\t}\n\n\t\tif (Type.isSet(value))\n\t\t{\n\t\t\tconst result = new Set();\n\n\t\t\tmap.set(value, result);\n\n\t\t\tvalue.forEach((item) => {\n\t\t\t\tresult.add(internalClone(item, map));\n\t\t\t});\n\n\t\t\treturn result;\n\t\t}\n\n\t\tif (Type.isDate(value))\n\t\t{\n\t\t\treturn new Date(value);\n\t\t}\n\n\t\tif (Type.isRegExp(value))\n\t\t{\n\t\t\tconst regExpFlags = /\\w*$/;\n\t\t\tconst flags = regExpFlags.exec(value);\n\n\t\t\tlet result = new RegExp(value.source);\n\n\t\t\tif (flags && Type.isArray(flags))\n\t\t\t{\n\t\t\t\tresult = new RegExp(value.source, flags[0]);\n\t\t\t}\n\n\t\t\tresult.lastIndex = value.lastIndex;\n\n\t\t\treturn result;\n\t\t}\n\n\t\tconst proto = Object.getPrototypeOf(value);\n\t\tconst result = Object.assign(Object.create(proto), value);\n\n\t\tmap.set(value, result);\n\n\t\tObject.keys(value).forEach((key) => {\n\t\t\tresult[key] = internalClone(value[key], map);\n\t\t});\n\n\t\treturn result;\n\t}\n\n\treturn value;\n}\n\n/**\n * Clones any cloneable object\n * @param value\n * @return {*}\n */\nexport default function clone(value: any): any\n{\n\treturn internalClone(value, new WeakMap());\n}","import Type from '../type';\n\nexport default function merge(current, target)\n{\n\treturn Object.entries(target).reduce((acc, [key, value]) => {\n\t\tif (\n\t\t\t!Type.isDomNode(acc[key])\n\t\t\t&& Type.isObjectLike(acc[key])\n\t\t\t&& Type.isObjectLike(value)\n\t\t)\n\t\t{\n\t\t\tacc[key] = merge(acc[key], value);\n\t\t\treturn acc;\n\t\t}\n\n\t\tacc[key] = value;\n\t\treturn acc;\n\t}, current);\n}","import Type from '../type';\n\nexport default function createComparator(fields, orders = [])\n{\n\treturn (a, b) => {\n\t\tconst field = fields[0];\n\t\tconst order = orders[0] || 'asc';\n\n\t\tif (Type.isUndefined(field))\n\t\t{\n\t\t\treturn 0;\n\t\t}\n\n\t\tlet valueA = a[field];\n\t\tlet valueB = b[field];\n\n\t\tif (Type.isString(valueA) && Type.isString(valueB))\n\t\t{\n\t\t\tvalueA = valueA.toLowerCase();\n\t\t\tvalueB = valueB.toLowerCase();\n\t\t}\n\n\t\tif (valueA < valueB)\n\t\t{\n\t\t\treturn order === 'asc' ? -1 : 1;\n\t\t}\n\n\t\tif (valueA > valueB)\n\t\t{\n\t\t\treturn order === 'asc' ? 1 : -1;\n\t\t}\n\n\t\treturn createComparator(fields.slice(1), orders.slice(1))(a, b);\n\t};\n}","import extensionsStorage from './extensions-storage';\nimport Extension from './extension';\n\nexport default function registerExtension(options): void\n{\n\tif (!extensionsStorage.has(options.name))\n\t{\n\t\textensionsStorage.set(options.name, new Extension(options));\n\t}\n}\n","import Type from './type';\nimport debug from './runtime/debug';\nimport loadExtension from './runtime/loadextension/load-extension';\nimport clone from './runtime/clone';\nimport {\n\tfetchExternalScripts,\n\tfetchExternalStyles,\n\tfetchInlineScripts,\n\tloadAll,\n} from './runtime/loadextension/internal/utils';\nimport merge from './runtime/merge';\nimport createComparator from './runtime/create-comparator';\nimport registerExtension from './runtime/loadextension/internal/register-extension';\n\n/**\n * @memberOf BX\n */\nexport default class Runtime\n{\n\tstatic debug = debug;\n\tstatic loadExtension = loadExtension;\n\tstatic registerExtension = registerExtension;\n\tstatic clone = clone;\n\n\tstatic debounce(func: Function, wait: number = 0, context = null): Function\n\t{\n\t\tlet timeoutId;\n\n\t\treturn function debounced(...args)\n\t\t{\n\t\t\tif (Type.isNumber(timeoutId))\n\t\t\t{\n\t\t\t\tclearTimeout(timeoutId);\n\t\t\t}\n\n\t\t\ttimeoutId = setTimeout(() => {\n\t\t\t\tfunc.apply((context || this), args);\n\t\t\t}, wait);\n\t\t};\n\t}\n\n\tstatic throttle(func: Function, wait: number = 0, context = null): Function\n\t{\n\t\tlet timer = 0;\n\t\tlet invoke;\n\n\t\treturn function wrapper(...args)\n\t\t{\n\t\t\tinvoke = true;\n\n\t\t\tif (!timer)\n\t\t\t{\n\t\t\t\tconst q = function q()\n\t\t\t\t{\n\t\t\t\t\tif (invoke)\n\t\t\t\t\t{\n\t\t\t\t\t\tfunc.apply((context || this), args);\n\t\t\t\t\t\tinvoke = false;\n\t\t\t\t\t\ttimer = setTimeout(q, wait);\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\ttimer = null;\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\tq();\n\t\t\t}\n\t\t};\n\t}\n\n\tstatic html(node: HTMLElement, html, params = {}): Promise | string\n\t{\n\t\tif (Type.isNil(html) && Type.isDomNode(node))\n\t\t{\n\t\t\treturn node.innerHTML;\n\t\t}\n\n\t\t// eslint-disable-next-line\n\t\tconst parsedHtml = BX.processHTML(html);\n\t\tconst externalCss = parsedHtml.STYLE.reduce(fetchExternalStyles, []);\n\t\tconst externalJs = parsedHtml.SCRIPT.reduce(fetchExternalScripts, []);\n\t\tconst inlineJs = parsedHtml.SCRIPT.reduce(fetchInlineScripts, []);\n\n\t\tif (Type.isDomNode(node))\n\t\t{\n\t\t\tif (params.htmlFirst || (!externalJs.length && !externalCss.length))\n\t\t\t{\n\t\t\t\tif (params.useAdjacentHTML)\n\t\t\t\t{\n\t\t\t\t\tnode.insertAdjacentHTML('beforeend', parsedHtml.HTML);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tnode.innerHTML = parsedHtml.HTML;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn Promise\n\t\t\t.all([\n\t\t\t\tloadAll(externalJs),\n\t\t\t\tloadAll(externalCss),\n\t\t\t])\n\t\t\t.then(() => {\n\t\t\t\tif (Type.isDomNode(node) && (externalJs.length > 0 || externalCss.length > 0))\n\t\t\t\t{\n\t\t\t\t\tif (params.useAdjacentHTML)\n\t\t\t\t\t{\n\t\t\t\t\t\tnode.insertAdjacentHTML('beforeend', parsedHtml.HTML);\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tnode.innerHTML = parsedHtml.HTML;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// eslint-disable-next-line\n\t\t\t\tinlineJs.forEach(script => BX.evalGlobal(script));\n\n\t\t\t\tif (Type.isFunction(params.callback))\n\t\t\t\t{\n\t\t\t\t\tparams.callback();\n\t\t\t\t}\n\t\t\t});\n\t}\n\n\t/**\n\t * Merges objects or arrays\n\t * @param targets\n\t * @return {any}\n\t */\n\tstatic merge(...targets)\n\t{\n\t\tif (Type.isArray(targets[0]))\n\t\t{\n\t\t\ttargets.unshift([]);\n\t\t}\n\t\telse if (Type.isObject(targets[0]))\n\t\t{\n\t\t\ttargets.unshift({});\n\t\t}\n\n\t\treturn targets.reduce((acc, item) => {\n\t\t\treturn merge(acc, item);\n\t\t}, targets[0]);\n\t}\n\n\tstatic orderBy(\n\t\tcollection: Array<{[key: string]: any}> | {[key: string]: {[key: string]: any}},\n\t\tfields: Array<string> = [],\n\t\torders: Array<string> = [],\n\t)\n\t{\n\t\tconst comparator = createComparator(fields, orders);\n\t\treturn Object.values(collection).sort(comparator);\n\t}\n\n\tstatic destroy(target, errorMessage = 'Object is destroyed')\n\t{\n\t\tif (Type.isObject(target))\n\t\t{\n\t\t\tconst onPropertyAccess = () => {\n\t\t\t\tthrow new Error(errorMessage);\n\t\t\t};\n\t\t\tconst ownProperties = Object.keys(target);\n\t\t\tconst prototypeProperties = (() => {\n\t\t\t\tconst targetPrototype = Object.getPrototypeOf(target);\n\t\t\t\tif (Type.isObject(targetPrototype))\n\t\t\t\t{\n\t\t\t\t\treturn Object.getOwnPropertyNames(targetPrototype);\n\t\t\t\t}\n\n\t\t\t\treturn [];\n\t\t\t})();\n\n\t\t\tconst uniquePropertiesList = [\n\t\t\t\t...new Set([...ownProperties, ...prototypeProperties]),\n\t\t\t];\n\n\t\t\tuniquePropertiesList\n\t\t\t\t.filter((name) => {\n\t\t\t\t\tconst descriptor = Object.getOwnPropertyDescriptor(target, name);\n\t\t\t\t\treturn (\n\t\t\t\t\t\t!/__(.+)__/.test(name)\n\t\t\t\t\t\t&& (\n\t\t\t\t\t\t\t!Type.isObject(descriptor)\n\t\t\t\t\t\t\t|| descriptor.configurable === true\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t})\n\t\t\t\t.forEach((name) => {\n\t\t\t\t\tObject.defineProperty(target, name, {\n\t\t\t\t\t\tget: onPropertyAccess,\n\t\t\t\t\t\tset: onPropertyAccess,\n\t\t\t\t\t\tconfigurable: false,\n\t\t\t\t\t});\n\t\t\t\t});\n\n\t\t\tObject.setPrototypeOf(target, null);\n\t\t}\n\t}\n}\n","import Type from './type';\n\nconst isError = Symbol.for('BX.BaseError.isError');\n\n/**\n * @memberOf BX\n */\nexport default class BaseError\n{\n\tconstructor(message?: string, code?: string, customData?: any)\n\t{\n\t\tthis[isError] = true;\n\t\tthis.message = '';\n\t\tthis.code = null;\n\t\tthis.customData = null;\n\n\t\tthis.setMessage(message);\n\t\tthis.setCode(code);\n\t\tthis.setCustomData(customData);\n\t}\n\n\t/**\n\t * Returns a brief description of the error\n\t * @returns {string}\n\t */\n\tgetMessage(): string\n\t{\n\t\treturn this.message;\n\t}\n\n\t/**\n\t * Sets a message of the error\n\t * @param {string} message\n\t * @returns {this}\n\t */\n\tsetMessage(message: string): this\n\t{\n\t\tif (Type.isString(message))\n\t\t{\n\t\t\tthis.message = message;\n\t\t}\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Returns a code of the error\n\t * @returns {?string}\n\t */\n\tgetCode(): string\n\t{\n\t\treturn this.code;\n\t}\n\n\t/**\n\t * Sets a code of the error\n\t * @param {string} code\n\t * @returns {this}\n\t */\n\tsetCode(code: string): this\n\t{\n\t\tif (Type.isStringFilled(code) || code === null)\n\t\t{\n\t\t\tthis.code = code;\n\t\t}\n\n\t\treturn this;\n\t}\n\n\n\t/**\n\t * Returns custom data of the error\n\t * @returns {null|*}\n\t */\n\tgetCustomData(): any\n\t{\n\t\treturn this.customData;\n\t}\n\n\t/**\n\t * Sets custom data of the error\n\t * @returns {this}\n\t */\n\tsetCustomData(customData: any): this\n\t{\n\t\tif (!Type.isUndefined(customData))\n\t\t{\n\t\t\tthis.customData = customData;\n\t\t}\n\n\t\treturn this;\n\t}\n\n\ttoString()\n\t{\n\t\tconst code = this.getCode();\n\t\tconst message = this.getMessage();\n\n\t\tif (!Type.isStringFilled(code) && !Type.isStringFilled(message))\n\t\t{\n\t\t\treturn '';\n\t\t}\n\t\telse if (!Type.isStringFilled(code))\n\t\t{\n\t\t\treturn `Error: ${message}`;\n\t\t}\n\t\telse if (!Type.isStringFilled(message))\n\t\t{\n\t\t\treturn code;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn `${code}: ${message}`;\n\t\t}\n\t}\n\n\t/**\n\t * Returns true if the object is an instance of BaseError\n\t * @param error\n\t * @returns {boolean}\n\t */\n\tstatic isError(error: BaseError)\n\t{\n\t\treturn Type.isObject(error) && error[isError] === true;\n\t}\n}","import Type from '../type';\nimport BaseError from \"../base-error\";\n/**\n * Implements base event object interface\n */\nexport default class BaseEvent<DataType: any>\n{\n\tconstructor(\n\t\toptions: {\n\t\t\tdata?: any,\n\t\t\tcompatData?: Array\n\t\t} = {\n\t\t\tdata: {},\n\t\t},\n\t)\n\t{\n\t\tthis.type = '';\n\t\tthis.data = null;\n\t\tthis.target = null;\n\t\tthis.compatData = null;\n\t\tthis.defaultPrevented = false;\n\t\tthis.immediatePropagationStopped = false;\n\t\tthis.errors = [];\n\n\t\tthis.setData(options.data);\n\t\tthis.setCompatData(options.compatData);\n\t}\n\n\tstatic create(options): this\n\t{\n\t\treturn new this(options);\n\t}\n\n\t/**\n\t * Returns the name of the event\n\t * @returns {string}\n\t */\n\tgetType(): string\n\t{\n\t\treturn this.type;\n\t}\n\n\t/**\n\t *\n\t * @param {string} type\n\t */\n\tsetType(type: string): this\n\t{\n\t\tif (Type.isStringFilled(type))\n\t\t{\n\t\t\tthis.type = type;\n\t\t}\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Returns an event data\n\t */\n\tgetData(): DataType\n\t{\n\t\treturn this.data;\n\t}\n\n\t/**\n\t * Sets an event data\n\t * @param data\n\t */\n\tsetData(data: any): this\n\t{\n\t\tif (!Type.isUndefined(data))\n\t\t{\n\t\t\tthis.data = data;\n\t\t}\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Returns arguments for BX.addCustomEvent handlers (deprecated).\n\t * @returns {array | null}\n\t */\n\tgetCompatData(): Array | null\n\t{\n\t\treturn this.compatData;\n\t}\n\n\t/**\n\t * Sets arguments for BX.addCustomEvent handlers (deprecated)\n\t * @param data\n\t */\n\tsetCompatData(data: Array): this\n\t{\n\t\tif (Type.isArrayLike(data))\n\t\t{\n\t\t\tthis.compatData = data;\n\t\t}\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets a event target\n\t * @param target\n\t */\n\tsetTarget(target): this\n\t{\n\t\tthis.target = target;\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Returns a event target\n\t */\n\tgetTarget(): any\n\t{\n\t\treturn this.target;\n\t}\n\n\t/**\n\t * Returns an array of event errors\n\t * @returns {[]}\n\t */\n\tgetErrors(): Array<BaseError>\n\t{\n\t\treturn this.errors;\n\t}\n\n\t/**\n\t * Adds an error of the event.\n\t * Event listeners can prevent emitter's default action and set the reason of this behavior.\n\t * @param error\n\t */\n\tsetError(error: BaseError)\n\t{\n\t\tif (BaseError.isError(error))\n\t\t{\n\t\t\tthis.errors.push(error);\n\t\t}\n\t}\n\n\t/**\n\t * Prevents default action\n\t */\n\tpreventDefault()\n\t{\n\t\tthis.defaultPrevented = true;\n\t}\n\n\t/**\n\t * Checks that is default action prevented\n\t * @return {boolean}\n\t */\n\tisDefaultPrevented(): boolean\n\t{\n\t\treturn this.defaultPrevented;\n\t}\n\n\t/**\n\t * Stops event immediate propagation\n\t */\n\tstopImmediatePropagation()\n\t{\n\t\tthis.immediatePropagationStopped = true;\n\t}\n\n\t/**\n\t * Checks that is immediate propagation stopped\n\t * @return {boolean}\n\t */\n\tisImmediatePropagationStopped(): boolean\n\t{\n\t\treturn this.immediatePropagationStopped;\n\t}\n}","import Type from \"../../type\";\n\nexport default class EventStore\n{\n\tconstructor(options: { defaultMaxListeners?: number } = {})\n\t{\n\t\tthis.defaultMaxListeners = Type.isNumber(options.defaultMaxListeners) ? options.defaultMaxListeners : 10;\n\t\tthis.eventStore = new WeakMap();\n\t}\n\n\tadd(target: Object, options: { maxListeners?: number } = {})\n\t{\n\t\tconst record = this.getRecordScheme();\n\t\tif (Type.isNumber(options.maxListeners))\n\t\t{\n\t\t\trecord.maxListeners = options.maxListeners;\n\t\t}\n\n\t\tthis.eventStore.set(target, record);\n\n\t\treturn record;\n\t}\n\n\tget(target: Object)\n\t{\n\t\treturn this.eventStore.get(target);\n\t}\n\n\tgetOrAdd(target: Object, options: { maxListeners?: number } = {})\n\t{\n\t\treturn this.get(target) || this.add(target, options);\n\t}\n\n\tdelete(context: any)\n\t{\n\t\tthis.eventStore.delete(context);\n\t}\n\n\tgetRecordScheme()\n\t{\n\t\treturn {\n\t\t\teventsMap: new Map(),\n\t\t\tonceMap: new Map(),\n\t\t\tmaxListeners: this.getDefaultMaxListeners(),\n\t\t\teventsMaxListeners: new Map(),\n\t\t};\n\t}\n\n\tgetDefaultMaxListeners()\n\t{\n\t\treturn this.defaultMaxListeners;\n\t}\n}\n\n","import Type from \"../../type\";\nimport Runtime from \"../../runtime\";\n\nexport default class WarningStore\n{\n\tconstructor()\n\t{\n\t\tthis.warnings = new Map();\n\t\tthis.printDelayed = Runtime.debounce(this.print.bind(this), 500);\n\t}\n\n\tadd(target, eventName, listeners)\n\t{\n\t\tlet contextWarnings = this.warnings.get(target);\n\t\tif (!contextWarnings)\n\t\t{\n\t\t\tcontextWarnings = Object.create(null);\n\t\t\tthis.warnings.set(target, contextWarnings);\n\t\t}\n\n\t\tif (!contextWarnings[eventName])\n\t\t{\n\t\t\tcontextWarnings[eventName] = {};\n\t\t}\n\n\t\tcontextWarnings[eventName].size = listeners.size;\n\t\tif (!Type.isArray(contextWarnings[eventName].errors))\n\t\t{\n\t\t\tcontextWarnings[eventName].errors = [];\n\t\t}\n\n\t\tcontextWarnings[eventName].errors.push(new Error());\n\t}\n\n\tprint()\n\t{\n\t\tthis.warnings.forEach((warnings) => {\n\t\t\tfor (let eventName in warnings)\n\t\t\t{\n\t\t\t\tconsole.groupCollapsed(\n\t\t\t\t\t'Possible BX.Event.EventEmitter memory leak detected. ' +\n\t\t\t\t\twarnings[eventName].size + ' \"' + eventName + '\" listeners added. ' +\n\t\t\t\t\t'Use emitter.setMaxListeners() to increase limit.'\n\t\t\t\t);\n\t\t\t\tconsole.dir(warnings[eventName].errors);\n\t\t\t\tconsole.groupEnd();\n\t\t\t}\n\t\t});\n\n\t\tthis.clear();\n\t}\n\n\tclear()\n\t{\n\t\tthis.warnings.clear();\n\t}\n\n\tprintDelayed()\n\t{\n\t}\n}","import Type from '../type';\nimport Runtime from '../runtime';\nimport Reflection from '../reflection';\nimport BaseEvent from './base-event';\nimport EventStore from './event-emitter/eventstore';\nimport WarningStore from './event-emitter/warningstore';\n\nconst eventStore = new EventStore({ defaultMaxListeners: 10 });\nconst warningStore = new WarningStore();\nconst aliasStore = new Map();\n\nconst globalTarget = {\n\tGLOBAL_TARGET: 'GLOBAL_TARGET' // this key only for debugging purposes\n};\neventStore.add(globalTarget, { maxListeners: 25 });\n\nconst isEmitterProperty = Symbol.for('BX.Event.EventEmitter.isEmitter');\nconst namespaceProperty = Symbol('namespaceProperty');\nconst targetProperty = Symbol('targetProperty');\n\nexport default class EventEmitter\n{\n\tstatic GLOBAL_TARGET = globalTarget;\n\tstatic DEFAULT_MAX_LISTENERS = eventStore.getDefaultMaxListeners();\n\n\t/** @private */\n\tstatic sequenceValue = 1;\n\n\tconstructor(...args)\n\t{\n\t\tthis[targetProperty] = null;\n\t\tthis[namespaceProperty] = null;\n\t\tthis[isEmitterProperty] = true;\n\n\t\tlet target = this;\n\t\tif (Object.getPrototypeOf(this) === EventEmitter.prototype && args.length > 0) //new EventEmitter(obj) case\n\t\t{\n\t\t\tif (!Type.isObject(args[0]))\n\t\t\t{\n\t\t\t\tthrow new TypeError(`The \"target\" argument must be an object.`);\n\t\t\t}\n\n\t\t\ttarget = args[0];\n\n\t\t\tthis.setEventNamespace(args[1]);\n\t\t}\n\n\t\tthis[targetProperty] = target;\n\t}\n\n\t/**\n\t * Makes a target observable\n\t * @param {object} target\n\t * @param {string} namespace\n\t */\n\tstatic makeObservable(target: Object, namespace: string): void\n\t{\n\t\tif (!Type.isObject(target))\n\t\t{\n\t\t\tthrow new TypeError('The \"target\" argument must be an object.');\n\t\t}\n\n\t\tif (!Type.isStringFilled(namespace))\n\t\t{\n\t\t\tthrow new TypeError('The \"namespace\" must be an non-empty string.');\n\t\t}\n\n\t\tif (EventEmitter.isEventEmitter(target))\n\t\t{\n\t\t\tthrow new TypeError('The \"target\" is an event emitter already.');\n\t\t}\n\n\t\tconst targetProto = Object.getPrototypeOf(target);\n\t\tconst emitter = new EventEmitter();\n\t\temitter.setEventNamespace(namespace);\n\n\t\tObject.setPrototypeOf(emitter, targetProto);\n\t\tObject.setPrototypeOf(target, emitter);\n\n\t\tObject.getOwnPropertyNames(EventEmitter.prototype).forEach(method => {\n\n\t\t\tif (['constructor'].includes(method))\n\t\t\t{\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\temitter[method] = function(...args) {\n\t\t\t\treturn EventEmitter.prototype[method].apply(target, args);\n\t\t\t}\n\t\t});\n\t}\n\n\tsetEventNamespace(namespace)\n\t{\n\t\tif (Type.isStringFilled(namespace))\n\t\t{\n\t\t\tthis[namespaceProperty] = namespace;\n\t\t}\n\t}\n\n\tgetEventNamespace()\n\t{\n\t\treturn this[namespaceProperty];\n\t}\n\n\t/**\n\t * Subscribes listener on specified global event\n\t * @param {object} target\n\t * @param {string} eventName\n\t * @param {Function<BaseEvent>} listener\n\t * @param {object} options\n\t */\n\tstatic subscribe(\n\t\ttarget: Object,\n\t\teventName: string,\n\t\tlistener: (event: BaseEvent) => void,\n\t\toptions?: {\n\t\t\tcompatMode?: boolean,\n\t\t\tuseGlobalNaming?: boolean\n\t\t}\n\t): void\n\t{\n\t\tif (Type.isString(target))\n\t\t{\n\t\t\toptions = listener;\n\t\t\tlistener = eventName;\n\t\t\teventName = target;\n\t\t\ttarget = this.GLOBAL_TARGET;\n\t\t}\n\n\t\tif (!Type.isObject(target))\n\t\t{\n\t\t\tthrow new TypeError(`The \"target\" argument must be an object.`);\n\t\t}\n\n\t\teventName = this.normalizeEventName(eventName);\n\t\tif (!Type.isStringFilled(eventName))\n\t\t{\n\t\t\tthrow new TypeError(`The \"eventName\" argument must be a string.`);\n\t\t}\n\n\t\tlistener = this.normalizeListener(listener);\n\n\t\toptions = Type.isPlainObject(options) ? options : {};\n\t\tconst fullEventName = this.resolveEventName(eventName, target, options.useGlobalNaming === true);\n\t\tconst { eventsMap, onceMap } = eventStore.getOrAdd(target);\n\t\tconst onceListeners = onceMap.get(fullEventName);\n\t\tlet listeners = eventsMap.get(fullEventName);\n\n\t\tif ((listeners && listeners.has(listener)) || (onceListeners && onceListeners.has(listener)))\n\t\t{\n\t\t\tconsole.error(`You cannot subscribe the same \"${fullEventName}\" event listener twice.`);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tif (listeners)\n\t\t\t{\n\t\t\t\tlisteners.set(\n\t\t\t\t\tlistener,\n\t\t\t\t\t{\n\t\t\t\t\t\tlistener,\n\t\t\t\t\t\toptions,\n\t\t\t\t\t\tsort: this.getNextSequenceValue()\n\t\t\t\t\t}\n\t\t\t\t)\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tlisteners = new Map([[\n\t\t\t\t\tlistener,\n\t\t\t\t\t{\n\t\t\t\t\t\tlistener,\n\t\t\t\t\t\toptions,\n\t\t\t\t\t\tsort: this.getNextSequenceValue()\n\t\t\t\t\t}\n\t\t\t\t]]);\n\n\t\t\t\teventsMap.set(fullEventName, listeners);\n\t\t\t}\n\t\t}\n\n\t\tconst maxListeners = this.getMaxListeners(target, eventName);\n\t\tif (listeners.size > maxListeners)\n\t\t{\n\t\t\twarningStore.add(target, fullEventName, listeners);\n\t\t\twarningStore.printDelayed();\n\t\t}\n\t}\n\n\t/**\n\t * Subscribes a listener on a specified event\n\t * @param {string} eventName\n\t * @param {Function<BaseEvent>} listener\n\t * @return {this}\n\t */\n\tsubscribe(eventName: string, listener: (event: BaseEvent) => void): this\n\t{\n\t\tEventEmitter.subscribe(this, eventName, listener);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t *\n\t * @param {object} options\n\t * @param {object} [aliases]\n\t * @param {boolean} [compatMode=false]\n\t */\n\tsubscribeFromOptions(\n\t\toptions: { [eventName: string]: Function },\n\t\taliases?: { [alias: string]: { eventName: string, namespace: string } },\n\t\tcompatMode?: boolean\n\t)\n\t{\n\t\tif (!Type.isPlainObject(options))\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\taliases = Type.isPlainObject(aliases) ? EventEmitter.normalizeAliases(aliases) : {};\n\n\t\tObject.keys(options).forEach((eventName) => {\n\n\t\t\tconst listener = EventEmitter.normalizeListener(options[eventName]);\n\t\t\teventName = EventEmitter.normalizeEventName(eventName);\n\n\t\t\tif (aliases[eventName])\n\t\t\t{\n\t\t\t\tconst { eventName: actualName } = aliases[eventName];\n\t\t\t\tEventEmitter.subscribe(this, actualName, listener, { compatMode: compatMode !== false });\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tEventEmitter.subscribe(this, eventName, listener, { compatMode: compatMode === true });\n\t\t\t}\n\t\t})\n\t}\n\n\t/**\n\t * Subscribes a listener that is called at\n\t * most once for a specified event.\n\t * @param {object} target\n\t * @param {string} eventName\n\t * @param {Function<BaseEvent>} listener\n\t */\n\tstatic subscribeOnce(\n\t\ttarget: Object,\n\t\teventName: string,\n\t\tlistener: (event: BaseEvent) => void\n\t): void\n\t{\n\t\tif (Type.isString(target))\n\t\t{\n\t\t\tlistener = eventName;\n\t\t\teventName = target;\n\t\t\ttarget = this.GLOBAL_TARGET;\n\t\t}\n\n\t\tif (!Type.isObject(target))\n\t\t{\n\t\t\tthrow new TypeError(`The \"target\" argument must be an object.`);\n\t\t}\n\n\t\teventName = this.normalizeEventName(eventName);\n\t\tif (!Type.isStringFilled(eventName))\n\t\t{\n\t\t\tthrow new TypeError(`The \"eventName\" argument must be a string.`);\n\t\t}\n\n\t\tlistener = this.normalizeListener(listener);\n\n\t\tconst fullEventName = this.resolveEventName(eventName, target);\n\t\tconst { eventsMap, onceMap } = eventStore.getOrAdd(target);\n\t\tconst listeners = eventsMap.get(fullEventName);\n\t\tlet onceListeners = onceMap.get(fullEventName);\n\n\t\tif ((listeners && listeners.has(listener)) || (onceListeners && onceListeners.has(listener)))\n\t\t{\n\t\t\tconsole.error(`You cannot subscribe the same \"${fullEventName}\" event listener twice.`);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tconst once = (...args) => {\n\t\t\t\tthis.unsubscribe(target, eventName, once);\n\t\t\t\tonceListeners.delete(listener);\n\t\t\t\tlistener(...args);\n\t\t\t};\n\n\t\t\tif (onceListeners)\n\t\t\t{\n\t\t\t\tonceListeners.set(listener, once);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tonceListeners = new Map([[listener, once]]);\n\t\t\t\tonceMap.set(fullEventName, onceListeners);\n\t\t\t}\n\n\t\t\tthis.subscribe(target, eventName, once);\n\t\t}\n\t}\n\n\t/**\n\t * Subscribes a listener that is called at most once for a specified event.\n\t * @param {string} eventName\n\t * @param {Function<BaseEvent>} listener\n\t * @return {this}\n\t */\n\tsubscribeOnce(eventName: string, listener: (event: BaseEvent) => void): this\n\t{\n\t\tEventEmitter.subscribeOnce(this, eventName, listener);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Unsubscribes an event listener\n\t * @param {object} target\n\t * @param {string} eventName\n\t * @param {Function<BaseEvent>} listener\n\t * @param options\n\t */\n\tstatic unsubscribe(\n\t\ttarget: Object,\n\t\teventName: string,\n\t\tlistener: (event: BaseEvent) => void,\n\t\toptions?: {\n\t\t\tuseGlobalNaming?: boolean\n\t\t}\n\t): void\n\t{\n\t\tif (Type.isString(target))\n\t\t{\n\t\t\tlistener = eventName;\n\t\t\teventName = target;\n\t\t\ttarget = this.GLOBAL_TARGET;\n\t\t}\n\n\t\teventName = this.normalizeEventName(eventName);\n\t\tif (!Type.isStringFilled(eventName))\n\t\t{\n\t\t\tthrow new TypeError(`The \"eventName\" argument must be a string.`);\n\t\t}\n\n\t\tlistener = this.normalizeListener(listener);\n\t\toptions = Type.isPlainObject(options) ? options : {};\n\n\t\tconst fullEventName = this.resolveEventName(eventName, target, options.useGlobalNaming === true);\n\t\tconst targetInfo = eventStore.get(target);\n\t\tconst listeners = targetInfo && targetInfo.eventsMap.get(fullEventName);\n\t\tconst onceListeners = targetInfo && targetInfo.onceMap.get(fullEventName);\n\n\t\tif (listeners)\n\t\t{\n\t\t\tlisteners.delete(listener);\n\t\t}\n\n\t\tif (onceListeners)\n\t\t{\n\t\t\tconst once = onceListeners.get(listener);\n\t\t\tif (once)\n\t\t\t{\n\t\t\t\tonceListeners.delete(listener);\n\t\t\t\tlisteners.delete(once);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Unsubscribes an event listener\n\t * @param {string} eventName\n\t * @param {Function<BaseEvent>} listener\n\t * @return {this}\n\t */\n\tunsubscribe(eventName: string, listener: (event: BaseEvent) => void): this\n\t{\n\t\tEventEmitter.unsubscribe(this, eventName, listener);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Unsubscribes all event listeners\n\t * @param {object} target\n\t * @param {string} eventName\n\t * @param options\n\t */\n\tstatic unsubscribeAll(\n\t\ttarget: Object,\n\t\teventName?: string,\n\t\toptions?: {\n\t\t\tuseGlobalNaming?: boolean\n\t\t}\n\t): void\n\t{\n\t\tif (Type.isString(target))\n\t\t{\n\t\t\teventName = target;\n\t\t\ttarget = this.GLOBAL_TARGET;\n\t\t}\n\n\t\tif (Type.isStringFilled(eventName))\n\t\t{\n\t\t\tconst targetInfo = eventStore.get(target);\n\t\t\tif (targetInfo)\n\t\t\t{\n\t\t\t\toptions = Type.isPlainObject(options) ? options : {};\n\t\t\t\tconst fullEventName = this.resolveEventName(eventName, target, options.useGlobalNaming === true);\n\t\t\t\ttargetInfo.eventsMap.delete(fullEventName);\n\t\t\t\ttargetInfo.onceMap.delete(fullEventName)\n\t\t\t}\n\t\t}\n\t\telse if (Type.isNil(eventName))\n\t\t{\n\t\t\tif (target === this.GLOBAL_TARGET)\n\t\t\t{\n\t\t\t\tconsole.error('You cannot unsubscribe all global listeners.');\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\teventStore.delete(target);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Unsubscribes all event listeners\n\t * @param {string} [eventName]\n\t */\n\tunsubscribeAll(eventName?: string): void\n\t{\n\t\tEventEmitter.unsubscribeAll(this, eventName);\n\t}\n\n\t/**\n\t *\n\t * @param {object} target\n\t * @param {string} eventName\n\t * @param {BaseEvent | any} event\n\t * @param {object} options\n\t * @returns {Array}\n\t */\n\tstatic emit(\n\t\ttarget: Object,\n\t\teventName: string,\n\t\tevent?: BaseEvent | {[key: string]: any},\n\t\toptions?: {\n\t\t\tcloneData?: boolean,\n\t\t\tthisArg?: Object,\n\t\t\tuseGlobalNaming?: boolean\n\t\t}\n\t): Array\n\t{\n\t\tif (Type.isString(target))\n\t\t{\n\t\t\toptions = event;\n\t\t\tevent = eventName;\n\t\t\teventName = target;\n\t\t\ttarget = this.GLOBAL_TARGET;\n\t\t}\n\n\t\tif (!Type.isObject(target))\n\t\t{\n\t\t\tthrow new TypeError(`The \"target\" argument must be an object.`);\n\t\t}\n\n\t\teventName = this.normalizeEventName(eventName);\n\t\tif (!Type.isStringFilled(eventName))\n\t\t{\n\t\t\tthrow new TypeError(`The \"eventName\" argument must be a string.`);\n\t\t}\n\n\t\toptions = Type.isPlainObject(options) ? options : {};\n\n\t\tconst fullEventName = this.resolveEventName(eventName, target, options.useGlobalNaming === true);\n\t\tconst globalEvents = eventStore.get(this.GLOBAL_TARGET);\n\t\tconst globalListeners = (globalEvents && globalEvents.eventsMap.get(fullEventName)) || new Map();\n\n\t\tlet targetListeners = new Set();\n\t\tif (target !== this.GLOBAL_TARGET)\n\t\t{\n\t\t\tconst targetEvents = eventStore.get(target);\n\t\t\ttargetListeners = (targetEvents && targetEvents.eventsMap.get(fullEventName)) || new Map();\n\t\t}\n\n\t\tconst listeners = [...globalListeners.values(), ...targetListeners.values()];\n\t\tlisteners.sort(function(a, b) {\n\t\t\treturn a.sort - b.sort;\n\t\t});\n\n\t\tconst preparedEvent = this.prepareEvent(target, fullEventName, event);\n\t\tconst result = [];\n\n\t\tfor (let i = 0; i < listeners.length; i++)\n\t\t{\n\t\t\tif (preparedEvent.isImmediatePropagationStopped())\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tconst { listener, options: listenerOptions } = listeners[i];\n\n\t\t\t//A previous listener could remove a current listener.\n\t\t\tif (globalListeners.has(listener) || targetListeners.has(listener))\n\t\t\t{\n\t\t\t\tlet listenerResult;\n\t\t\t\tif (listenerOptions.compatMode)\n\t\t\t\t{\n\t\t\t\t\tlet params = [];\n\t\t\t\t\tconst compatData = preparedEvent.getCompatData();\n\t\t\t\t\tif (compatData !== null)\n\t\t\t\t\t{\n\t\t\t\t\t\tparams = options.cloneData === true ? Runtime.clone(compatData) : compatData\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tparams = [preparedEvent];\n\t\t\t\t\t}\n\n\t\t\t\t\tconst context = Type.isUndefined(options.thisArg) ? target : options.thisArg;\n\t\t\t\t\tlistenerResult = listener.apply(context, params);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tlistenerResult =\n\t\t\t\t\t\tType.isUndefined(options.thisArg)\n\t\t\t\t\t\t\t? listener(preparedEvent)\n\t\t\t\t\t\t\t: listener.call(options.thisArg, preparedEvent)\n\t\t\t\t\t;\n\t\t\t\t}\n\n\t\t\t\tresult.push(listenerResult);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t}\n\n\t/**\n\t * Emits specified event with specified event object\n\t * @param {string} eventName\n\t * @param {BaseEvent | any} event\n\t * @return {this}\n\t */\n\temit(eventName: string, event?: BaseEvent | {[key: string]: any}): this\n\t{\n\t\tif (this.getEventNamespace() === null)\n\t\t{\n\t\t\tconsole.warn(\n\t\t\t\t'The instance of BX.Event.EventEmitter is supposed to have an event namespace. ' +\n\t\t\t\t'Use emitter.setEventNamespace() to make events more unique.'\n\t\t\t);\n\t\t}\n\n\t\tEventEmitter.emit(this, eventName, event);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Emits global event and returns a promise that is resolved when\n\t * all promise returned from event handlers are resolved,\n\t * or rejected when at least one of the returned promise is rejected.\n\t * Importantly. You can return any value from synchronous handlers, not just promise\n\t * @param {object} target\n\t * @param {string} eventName\n\t * @param {BaseEvent | any} event\n\t * @return {Promise<Array>}\n\t */\n\tstatic emitAsync(target: Object, eventName: string, event?: BaseEvent | {[key: string]: any}): Promise<Array>\n\t{\n\t\tif (Type.isString(target))\n\t\t{\n\t\t\tevent = eventName;\n\t\t\teventName = target;\n\t\t\ttarget = this.GLOBAL_TARGET;\n\t\t}\n\n\t\treturn Promise.all(this.emit(target, eventName, event));\n\t}\n\n\t/**\n\t * Emits event and returns a promise that is resolved when\n\t * all promise returned from event handlers are resolved,\n\t * or rejected when at least one of the returned promise is rejected.\n\t * Importantly. You can return any value from synchronous handlers, not just promise\n\t * @param {string} eventName\n\t * @param {BaseEvent|any} event\n\t * @return {Promise<Array>}\n\t */\n\temitAsync(eventName: string, event?: BaseEvent | {[key: string]: any}): Promise<Array>\n\t{\n\t\tif (this.getEventNamespace() === null)\n\t\t{\n\t\t\tconsole.warn(\n\t\t\t\t'The instance of BX.Event.EventEmitter is supposed to have an event namespace. ' +\n\t\t\t\t'Use emitter.setEventNamespace() to make events more unique.'\n\t\t\t);\n\t\t}\n\n\t\treturn EventEmitter.emitAsync(this, eventName, event);\n\t}\n\n\t/**\n\t * @private\n\t * @param {object} target\n\t * @param {string} eventName\n\t * @param {BaseEvent|any} event\n\t * @returns {BaseEvent}\n\t */\n\tstatic prepareEvent(\n\t\ttarget: Object,\n\t\teventName: string,\n\t\tevent?: BaseEvent | {[key: string]: any},\n\t): BaseEvent\n\t{\n\t\tlet preparedEvent = event;\n\t\tif (!(event instanceof BaseEvent))\n\t\t{\n\t\t\tpreparedEvent = new BaseEvent();\n\t\t\tpreparedEvent.setData(event);\n\t\t}\n\n\t\tpreparedEvent.setTarget(this.isEventEmitter(target) ? target[targetProperty] : target);\n\t\tpreparedEvent.setType(eventName);\n\n\t\treturn preparedEvent;\n\t}\n\n\t/**\n\t * @private\n\t * @returns {number}\n\t */\n\tstatic getNextSequenceValue(): number\n\t{\n\t\treturn this.sequenceValue++;\n\t}\n\n\t/**\n\t * Sets max global events listeners count\n\t * Event.EventEmitter.setMaxListeners(10) - sets the default value for all events (global target)\n\t * Event.EventEmitter.setMaxListeners(\"onClose\", 10) - sets the value for onClose event (global target)\n\t * Event.EventEmitter.setMaxListeners(obj, 10) - sets the default value for all events (obj target)\n\t * Event.EventEmitter.setMaxListeners(obj, \"onClose\", 10); - sets the value for onClose event (obj target)\n\t * @return {void}\n\t * @param args\n\t */\n\tstatic setMaxListeners(...args): void\n\t{\n\t\tlet target = this.GLOBAL_TARGET;\n\t\tlet eventName = null;\n\t\tlet count = undefined;\n\n\t\tif (args.length === 1)\n\t\t{\n\t\t\tcount = args[0];\n\t\t}\n\t\telse if (args.length === 2)\n\t\t{\n\t\t\tif (Type.isString(args[0]))\n\t\t\t{\n\t\t\t\t[eventName, count] = args;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t[target, count] = args;\n\t\t\t}\n\t\t}\n\t\telse if (args.length >= 3)\n\t\t{\n\t\t\t[target, eventName, count] = args;\n\t\t}\n\n\t\tif (!Type.isObject(target))\n\t\t{\n\t\t\tthrow new TypeError(`The \"target\" argument must be an object.`);\n\t\t}\n\n\t\tif (eventName !== null && !Type.isStringFilled(eventName))\n\t\t{\n\t\t\tthrow new TypeError(`The \"eventName\" argument must be a string.`);\n\t\t}\n\n\t\tif (!Type.isNumber(count) || count < 0)\n\t\t{\n\t\t\tthrow new TypeError(\n\t\t\t\t`The value of \"count\" is out of range. It must be a non-negative number. Received ${count}.`\n\t\t\t);\n\t\t}\n\n\t\tconst targetInfo = eventStore.getOrAdd(target);\n\t\tif (Type.isStringFilled(eventName))\n\t\t{\n\t\t\tconst fullEventName = this.resolveEventName(eventName, target);\n\t\t\ttargetInfo.eventsMaxListeners.set(fullEventName, count);\n\t\t}\n\t\telse\n\t\t{\n\t\t\ttargetInfo.maxListeners = count;\n\t\t}\n\t}\n\n\t/**\n\t * Sets max events listeners count\n\t * this.setMaxListeners(10) - sets the default value for all events\n\t * this.setMaxListeners(\"onClose\", 10) sets the value for onClose event\n\t * @return {this}\n\t * @param args\n\t */\n\tsetMaxListeners(...args): this\n\t{\n\t\tEventEmitter.setMaxListeners(this, ...args);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Returns max event listeners count\n\t * @param {object} target\n\t * @param {string} [eventName]\n\t * @returns {number}\n\t */\n\tstatic getMaxListeners(target: Object, eventName?: string): number\n\t{\n\t\tif (Type.isString(target))\n\t\t{\n\t\t\teventName = target;\n\t\t\ttarget = this.GLOBAL_TARGET;\n\t\t}\n\t\telse if (Type.isNil(target))\n\t\t{\n\t\t\ttarget = this.GLOBAL_TARGET;\n\t\t}\n\n\t\tif (!Type.isObject(target))\n\t\t{\n\t\t\tthrow new TypeError(`The \"target\" argument must be an object.`);\n\t\t}\n\n\t\tconst targetInfo = eventStore.get(target);\n\t\tif (targetInfo)\n\t\t{\n\t\t\tlet maxListeners = targetInfo.maxListeners;\n\t\t\tif (Type.isStringFilled(eventName))\n\t\t\t{\n\t\t\t\tconst fullEventName = this.resolveEventName(eventName, target);\n\t\t\t\tmaxListeners = targetInfo.eventsMaxListeners.get(fullEventName) || maxListeners;\n\t\t\t}\n\n\t\t\treturn maxListeners;\n\t\t}\n\n\t\treturn this.DEFAULT_MAX_LISTENERS;\n\t}\n\n\t/**\n\t * Returns max event listeners count\n\t * @param {string} [eventName]\n\t * @returns {number}\n\t */\n\tgetMaxListeners(eventName?: string): number\n\t{\n\t\treturn EventEmitter.getMaxListeners(this, eventName);\n\t}\n\n\t/**\n\t * Adds or subtracts max listeners count\n\t * Event.EventEmitter.addMaxListeners() - adds one max listener for all events of global target\n\t * Event.EventEmitter.addMaxListeners(3) - adds three max listeners for all events of global target\n\t * Event.EventEmitter.addMaxListeners(-1) - subtracts one max listener for all events of global target\n\t * Event.EventEmitter.addMaxListeners('onClose') - adds one max listener for onClose event of global target\n\t * Event.EventEmitter.addMaxListeners('onClose', 2) - adds two max listeners for onClose event of global target\n\t * Event.EventEmitter.addMaxListeners('onClose', -1) - subtracts one max listener for onClose event of global target\n\t *\n\t * Event.EventEmitter.addMaxListeners(obj) - adds one max listener for all events of 'obj' target\n\t * Event.EventEmitter.addMaxListeners(obj, 3) - adds three max listeners for all events of 'obj' target\n\t * Event.EventEmitter.addMaxListeners(obj, -1) - subtracts one max listener for all events of 'obj' target\n\t * Event.EventEmitter.addMaxListeners(obj, 'onClose') - adds one max listener for onClose event of 'obj' target\n\t * Event.EventEmitter.addMaxListeners(obj, 'onClose', 2) - adds two max listeners for onClose event of 'obj' target\n\t * Event.EventEmitter.addMaxListeners(obj, 'onClose', -1) - subtracts one max listener for onClose event of 'obj' target\n\t * @param args\n\t * @returns {number}\n\t */\n\tstatic addMaxListeners(...args)\n\t{\n\t\tconst [target, eventName, increment] = this.destructMaxListenersArgs(...args);\n\t\tconst maxListeners = Math.max(this.getMaxListeners(target, eventName) + increment, 0);\n\t\tif (Type.isStringFilled(eventName))\n\t\t{\n\t\t\tEventEmitter.setMaxListeners(target, eventName, maxListeners);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tEventEmitter.setMaxListeners(target, maxListeners);\n\t\t}\n\n\t\treturn maxListeners;\n\t}\n\n\t/**\n\t * Increases max listeners count\n\t *\n\t * Event.EventEmitter.incrementMaxListeners() - adds one max listener for all events of global target\n\t * Event.EventEmitter.incrementMaxListeners(3) - adds three max listeners for all events of global target\n\t * Event.EventEmitter.incrementMaxListeners('onClose') - adds one max listener for onClose event of global target\n\t * Event.EventEmitter.incrementMaxListeners('onClose', 2) - adds two max listeners for onClose event of global target\n\t *\n\t * Event.EventEmitter.incrementMaxListeners(obj) - adds one max listener for all events of 'obj' target\n\t * Event.EventEmitter.incrementMaxListeners(obj, 3) - adds three max listeners for all events of 'obj' target\n\t * Event.EventEmitter.incrementMaxListeners(obj, 'onClose') - adds one max listener for onClose event of 'obj' target\n\t * Event.EventEmitter.incrementMaxListeners(obj, 'onClose', 2) - adds two max listeners for onClose event of 'obj' target\n\t */\n\tstatic incrementMaxListeners(...args): number\n\t{\n\t\tconst [target, eventName, increment] = this.destructMaxListenersArgs(...args);\n\n\t\treturn this.addMaxListeners(target, eventName, Math.abs(increment));\n\t}\n\n\t/**\n\t * Increases max listeners count\n\t * this.incrementMaxListeners() - adds one max listener for all events\n\t * this.incrementMaxListeners(3) - adds three max listeners for all events\n\t * this.incrementMaxListeners('onClose') - adds one max listener for onClose event\n\t * this.incrementMaxListeners('onClose', 2) - adds two max listeners for onClose event\n\t */\n\tincrementMaxListeners(...args): number\n\t{\n\t\treturn EventEmitter.incrementMaxListeners(this, ...args);\n\t}\n\n\t/**\n\t * Decreases max listeners count\n\t *\n\t * Event.EventEmitter.decrementMaxListeners() - subtracts one max listener for all events of global target\n\t * Event.EventEmitter.decrementMaxListeners(3) - subtracts three max listeners for all events of global target\n\t * Event.EventEmitter.decrementMaxListeners('onClose') - subtracts one max listener for onClose event of global target\n\t * Event.EventEmitter.decrementMaxListeners('onClose', 2) - subtracts two max listeners for onClose event of global target\n\t *\n\t * Event.EventEmitter.decrementMaxListeners(obj) - subtracts one max listener for all events of 'obj' target\n\t * Event.EventEmitter.decrementMaxListeners(obj, 3) - subtracts three max listeners for all events of 'obj' target\n\t * Event.EventEmitter.decrementMaxListeners(obj, 'onClose') - subtracts one max listener for onClose event of 'obj' target\n\t * Event.EventEmitter.decrementMaxListeners(obj, 'onClose', 2) - subtracts two max listeners for onClose event of 'obj' target\n\t */\n\tstatic decrementMaxListeners(...args): number\n\t{\n\t\tconst [target, eventName, increment] = this.destructMaxListenersArgs(...args);\n\n\t\treturn this.addMaxListeners(target, eventName, -Math.abs(increment));\n\t}\n\n\t/**\n\t * Increases max listeners count\n\t * this.decrementMaxListeners() - subtracts one max listener for all events\n\t * this.decrementMaxListeners(3) - subtracts three max listeners for all events\n\t * this.decrementMaxListeners('onClose') - subtracts one max listener for onClose event\n\t * this.decrementMaxListeners('onClose', 2) - subtracts two max listeners for onClose event\n\t */\n\tdecrementMaxListeners(...args): number\n\t{\n\t\treturn EventEmitter.decrementMaxListeners(this, ...args);\n\t}\n\n\t/**\n\t * @private\n\t * @param {Array} args\n\t * @returns Array\n\t */\n\tstatic destructMaxListenersArgs(...args)\n\t{\n\t\tlet eventName = null;\n\t\tlet increment = 1;\n\t\tlet target = this.GLOBAL_TARGET;\n\n\t\tif (args.length === 1)\n\t\t{\n\t\t\tif (Type.isNumber(args[0]))\n\t\t\t{\n\t\t\t\tincrement = args[0];\n\t\t\t}\n\t\t\telse if (Type.isString(args[0]))\n\t\t\t{\n\t\t\t\teventName = args[0];\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\ttarget = args[0];\n\t\t\t}\n\t\t}\n\t\telse if (args.length === 2)\n\t\t{\n\t\t\tif (Type.isString(args[0]))\n\t\t\t{\n\t\t\t\t[eventName, increment] = args;\n\t\t\t}\n\t\t\telse if (Type.isString(args[1]))\n\t\t\t{\n\t\t\t\t[target, eventName] = args;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t[target, increment] = args;\n\t\t\t}\n\t\t}\n\t\telse if (args.length >= 3)\n\t\t{\n\t\t\t[target, eventName, increment] = args;\n\t\t}\n\n\t\tif (!Type.isObject(target))\n\t\t{\n\t\t\tthrow new TypeError(`The \"target\" argument must be an object.`);\n\t\t}\n\n\t\tif (eventName !== null && !Type.isStringFilled(eventName))\n\t\t{\n\t\t\tthrow new TypeError(`The \"eventName\" argument must be a string.`);\n\t\t}\n\n\t\tif (!Type.isNumber(increment))\n\t\t{\n\t\t\tthrow new TypeError(`The value of \"increment\" must be a number.`);\n\t\t}\n\n\t\treturn [target, eventName, increment];\n\t}\n\n\t/**\n\t * Gets listeners list for a specified event\n\t * @param {object} target\n\t * @param {string} eventName\n\t */\n\tstatic getListeners(target: Object, eventName: string): Function[]\n\t{\n\t\tif (Type.isString(target))\n\t\t{\n\t\t\teventName = target;\n\t\t\ttarget = this.GLOBAL_TARGET;\n\t\t}\n\n\t\tif (!Type.isObject(target))\n\t\t{\n\t\t\tthrow new TypeError(`The \"target\" argument must be an object.`);\n\t\t}\n\n\t\teventName = this.normalizeEventName(eventName);\n\t\tif (!Type.isStringFilled(eventName))\n\t\t{\n\t\t\tthrow new TypeError(`The \"eventName\" argument must be a string.`);\n\t\t}\n\n\t\tconst targetInfo = eventStore.get(target);\n\t\tif (!targetInfo)\n\t\t{\n\t\t\treturn new Map();\n\t\t}\n\n\t\tconst fullEventName = this.resolveEventName(eventName, target);\n\t\treturn targetInfo.eventsMap.get(fullEventName) || new Map();\n\t}\n\n\t/**\n\t * Gets listeners list for specified event\n\t * @param {string} eventName\n\t */\n\tgetListeners(eventName: string): Function[]\n\t{\n\t\treturn EventEmitter.getListeners(this, eventName);\n\t}\n\n\t/**\n\t * Returns a full event name with namespace\n\t * @param {string} eventName\n\t * @returns {string}\n\t */\n\tgetFullEventName(eventName: string)\n\t{\n\t\tif (!Type.isStringFilled(eventName))\n\t\t{\n\t\t\tthrow new TypeError(`The \"eventName\" argument must be a string.`);\n\t\t}\n\n\t\treturn EventEmitter.makeFullEventName(this.getEventNamespace(), eventName);\n\t}\n\n\t/**\n\t * Registers aliases (old event names for BX.onCustomEvent)\n\t * @param aliases\n\t */\n\tstatic registerAliases(aliases: { [alias: string]: { eventName: string, namespace: string } })\n\t{\n\t\taliases = this.normalizeAliases(aliases);\n\n\t\tObject.keys(aliases).forEach((alias) => {\n\t\t\taliasStore.set(alias, {\n\t\t\t\teventName: aliases[alias].eventName,\n\t\t\t\tnamespace: aliases[alias].namespace\n\t\t\t});\n\t\t});\n\n\t\tEventEmitter.mergeEventAliases(aliases);\n\t}\n\n\t/**\n\t * @private\n\t * @param aliases\n\t */\n\tstatic normalizeAliases(aliases: { [alias: string]: { eventName: string, namespace: string } })\n\t{\n\t\tif (!Type.isPlainObject(aliases))\n\t\t{\n\t\t\tthrow new TypeError(`The \"aliases\" argument must be an object.`);\n\t\t}\n\n\t\tconst result = Object.create(null);\n\t\tfor (let alias in aliases)\n\t\t{\n\t\t\tif (!Type.isStringFilled(alias))\n\t\t\t{\n\t\t\t\tthrow new TypeError(`The alias must be an non-empty string.`);\n\t\t\t}\n\n\t\t\tconst options = aliases[alias];\n\t\t\tif (!options || !Type.isStringFilled(options.eventName) || !Type.isStringFilled(options.namespace))\n\t\t\t{\n\t\t\t\tthrow new TypeError(`The alias options must set the \"eventName\" and the \"namespace\".`);\n\t\t\t}\n\n\t\t\talias = this.normalizeEventName(alias);\n\n\t\t\tresult[alias] = {\n\t\t\t\teventName: options.eventName,\n\t\t\t\tnamespace: options.namespace\n\t\t\t};\n\t\t}\n\n\t\treturn result;\n\t}\n\n\t/**\n\t * @private\n\t */\n\tstatic mergeEventAliases(aliases)\n\t{\n\t\tconst globalEvents = eventStore.get(this.GLOBAL_TARGET);\n\t\tif (!globalEvents)\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tObject.keys(aliases).forEach((alias) => {\n\t\t\tconst options = aliases[alias];\n\t\t\talias = this.normalizeEventName(alias);\n\t\t\tconst fullEventName = this.makeFullEventName(options.namespace, options.eventName);\n\n\t\t\tconst aliasListeners = globalEvents.eventsMap.get(alias);\n\t\t\tif (aliasListeners)\n\t\t\t{\n\t\t\t\tconst listeners = globalEvents.eventsMap.get(fullEventName) || new Map();\n\t\t\t\tglobalEvents.eventsMap.set(fullEventName, new Map([...listeners, ...aliasListeners]));\n\t\t\t\tglobalEvents.eventsMap.delete(alias);\n\t\t\t}\n\n\t\t\tconst aliasOnceListeners = globalEvents.onceMap.get(alias);\n\t\t\tif (aliasOnceListeners)\n\t\t\t{\n\t\t\t\tconst onceListeners = globalEvents.onceMap.get(fullEventName) || new Map();\n\t\t\t\tglobalEvents.onceMap.set(fullEventName, new Map([...onceListeners, ...aliasOnceListeners]));\n\t\t\t\tglobalEvents.onceMap.delete(alias);\n\t\t\t}\n\n\t\t\tconst aliasMaxListeners = globalEvents.eventsMaxListeners.get(alias);\n\t\t\tif (aliasMaxListeners)\n\t\t\t{\n\t\t\t\tconst eventMaxListeners = globalEvents.eventsMaxListeners.get(fullEventName) || 0;\n\t\t\t\tglobalEvents.eventsMaxListeners.set(fullEventName, Math.max(eventMaxListeners, aliasMaxListeners));\n\t\t\t\tglobalEvents.eventsMaxListeners.delete(alias);\n\t\t\t}\n\t\t});\n\t}\n\n\t/**\n\t * Returns true if the target is an instance of Event.EventEmitter\n\t * @param {object} target\n\t * @returns {boolean}\n\t */\n\tstatic isEventEmitter(target: Object)\n\t{\n\t\treturn Type.isObject(target) && target[isEmitterProperty] === true;\n\t}\n\n\t/**\n\t * @private\n\t * @param {string} eventName\n\t * @returns {string}\n\t */\n\tstatic normalizeEventName(eventName: string): string\n\t{\n\t\tif (!Type.isStringFilled(eventName))\n\t\t{\n\t\t\treturn '';\n\t\t}\n\n\t\treturn eventName.toLowerCase();\n\t}\n\n\t/**\n\t * @private\n\t */\n\tstatic normalizeListener(listener: Function | string): Function\n\t{\n\t\tif (Type.isString(listener))\n\t\t{\n\t\t\tlistener = Reflection.getClass(listener);\n\t\t}\n\n\t\tif (!Type.isFunction(listener))\n\t\t{\n\t\t\tthrow new TypeError(\n\t\t\t\t`The \"listener\" argument must be of type Function. Received type ${typeof listener}.`\n\t\t\t);\n\t\t}\n\n\t\treturn listener;\n\t}\n\n\t/**\n\t * @private\n\t * @param eventName\n\t * @param target\n\t * @param useGlobalNaming\n\t * @returns {string}\n\t */\n\tstatic resolveEventName(eventName: string, target: Object, useGlobalNaming: boolean = false)\n\t{\n\t\teventName = this.normalizeEventName(eventName);\n\t\tif (!Type.isStringFilled(eventName))\n\t\t{\n\t\t\treturn '';\n\t\t}\n\n\t\tif (this.isEventEmitter(target) && useGlobalNaming !== true)\n\t\t{\n\t\t\tif (target.getEventNamespace() !== null && eventName.includes('.'))\n\t\t\t{\n\t\t\t\tconsole.warn(`Possible the wrong event name \"${eventName}\".`);\n\t\t\t}\n\n\t\t\teventName = target.getFullEventName(eventName);\n\t\t}\n\t\telse if (aliasStore.has(eventName))\n\t\t{\n\t\t\tconst { namespace, eventName: actualEventName } = aliasStore.get(eventName);\n\t\t\teventName = this.makeFullEventName(namespace, actualEventName);\n\t\t}\n\n\t\treturn eventName;\n\t}\n\n\t/**\n\t * @private\n\t * @param {string} namespace\n\t * @param {string} eventName\n\t * @returns {string}\n\t */\n\tstatic makeFullEventName(namespace: string, eventName: string)\n\t{\n\t\tconst fullName = Type.isStringFilled(namespace) ? `${namespace}:${eventName}` : eventName;\n\n\t\treturn Type.isStringFilled(fullName) ? fullName.toLowerCase() : '';\n\t}\n}","import Type from '../type';\nimport bindOnce from './bind-once';\n\nlet stack: Array<Function> = [];\n/**\n * For compatibility only\n * @type {boolean}\n */\n// eslint-disable-next-line\nexport let isReady = false;\n\nexport default function ready(handler: () => void)\n{\n\tif (!Type.isFunction(handler))\n\t{\n\t\treturn;\n\t}\n\n\tif (isReady)\n\t{\n\t\thandler();\n\t}\n\telse\n\t{\n\t\tstack.push(handler);\n\t}\n}\n\nbindOnce(document, 'DOMContentLoaded', () => {\n\tisReady = true;\n\n\tstack.forEach((handler: Function) => {\n\t\thandler();\n\t});\n\n\tstack = [];\n});\n","import bind from './event/bind';\nimport unbind from './event/unbind';\nimport unbindAll from './event/unbind-all';\nimport bindOnce from './event/bind-once';\nimport EventEmitter from './event/event-emitter';\nimport BaseEvent from './event/base-event';\nimport ready from './event/ready';\n\n/**\n * @memberOf BX\n */\nexport default class Event\n{\n\tstatic bind: bind = bind;\n\tstatic bindOnce: bindOnce = bindOnce;\n\tstatic unbind: unbind = unbind;\n\tstatic unbindAll: unbindAll = unbindAll;\n\tstatic ready: ready = ready;\n\tstatic EventEmitter: EventEmitter = EventEmitter;\n\tstatic BaseEvent: BaseEvent = BaseEvent;\n}\n","import Type from '../lib/type';\nimport Text from '../lib/text';\n\nexport default function encodeAttributeValue(value: any)\n{\n\tif (Type.isPlainObject(value) || Type.isArray(value))\n\t{\n\t\treturn JSON.stringify(value);\n\t}\n\n\treturn Text.encode(Text.decode(value));\n}","import Type from '../lib/type';\nimport Text from '../lib/text';\n\nexport default function decodeAttributeValue(value: any)\n{\n\tif (Type.isString(value))\n\t{\n\t\tconst decodedValue = Text.decode(value);\n\t\tlet result;\n\n\t\ttry\n\t\t{\n\t\t\tresult = JSON.parse(decodedValue);\n\t\t}\n\t\tcatch (e)\n\t\t{\n\t\t\tresult = decodedValue;\n\t\t}\n\n\t\tif (result === decodedValue)\n\t\t{\n\t\t\tif (/^[\\d.]+[.]?\\d+$/.test(result))\n\t\t\t{\n\t\t\t\treturn Number(result);\n\t\t\t}\n\t\t}\n\n\t\tif (result === 'true' || result === 'false')\n\t\t{\n\t\t\treturn Boolean(result);\n\t\t}\n\n\t\treturn result;\n\t}\n\n\treturn value;\n}","export default function getPageScroll(): {scrollTop: number, scrollLeft: number}\n{\n\tconst {documentElement, body} = document;\n\n\tconst scrollTop = Math.max(\n\t\t(window.pageYOffset || 0),\n\t\t(documentElement ? documentElement.scrollTop : 0),\n\t\t(body ? body.scrollTop : 0),\n\t);\n\n\tconst scrollLeft = Math.max(\n\t\t(window.pageXOffset || 0),\n\t\t(documentElement ? documentElement.scrollLeft : 0),\n\t\t(body ? body.scrollLeft : 0),\n\t);\n\n\treturn {scrollTop, scrollLeft};\n}","import Type from './type';\nimport Event from './event';\nimport encodeAttributeValue from '../internal/encode-attribute-value';\nimport decodeAttributeValue from '../internal/decode-attribute-value';\nimport getPageScroll from '../internal/get-page-scroll';\n\n/**\n * @memberOf BX\n */\nexport default class Dom\n{\n\t/**\n\t * Replaces old html element to new html element\n\t * @param oldElement\n\t * @param newElement\n\t */\n\tstatic replace(oldElement: ?HTMLElement, newElement: ?HTMLElement)\n\t{\n\t\tif (Type.isDomNode(oldElement) && Type.isDomNode(newElement))\n\t\t{\n\t\t\tif (Type.isDomNode(oldElement.parentNode))\n\t\t\t{\n\t\t\t\toldElement.parentNode.replaceChild(newElement, oldElement);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Removes element\n\t * @param element\n\t */\n\tstatic remove(element: ?HTMLElement)\n\t{\n\t\tif (Type.isDomNode(element) && Type.isDomNode(element.parentNode))\n\t\t{\n\t\t\telement.parentNode.removeChild(element);\n\t\t}\n\t}\n\n\t/**\n\t * Cleans element\n\t * @param element\n\t */\n\tstatic clean(element: HTMLElement | string)\n\t{\n\t\tif (Type.isDomNode(element))\n\t\t{\n\t\t\twhile (element.childNodes.length > 0)\n\t\t\t{\n\t\t\t\telement.removeChild(element.firstChild);\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tif (Type.isString(element))\n\t\t{\n\t\t\tDom.clean(document.getElementById(element));\n\t\t}\n\t}\n\n\t/**\n\t * Inserts element before target element\n\t * @param current\n\t * @param target\n\t */\n\tstatic insertBefore(current: ?HTMLElement, target: ?HTMLElement)\n\t{\n\t\tif (Type.isDomNode(current) && Type.isDomNode(target))\n\t\t{\n\t\t\tif (Type.isDomNode(target.parentNode))\n\t\t\t{\n\t\t\t\ttarget.parentNode.insertBefore(current, target);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Inserts element after target element\n\t * @param current\n\t * @param target\n\t */\n\tstatic insertAfter(current: ?HTMLElement, target: ?HTMLElement)\n\t{\n\t\tif (Type.isDomNode(current) && Type.isDomNode(target))\n\t\t{\n\t\t\tif (Type.isDomNode(target.parentNode))\n\t\t\t{\n\t\t\t\tconst parent = target.parentNode;\n\n\t\t\t\tif (Type.isDomNode(target.nextSibling))\n\t\t\t\t{\n\t\t\t\t\tparent.insertBefore(current, target.nextSibling);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tparent.appendChild(current);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Appends element to target element\n\t * @param current\n\t * @param target\n\t */\n\tstatic append(current: ?HTMLElement, target: ?HTMLElement)\n\t{\n\t\tif (Type.isDomNode(current) && Type.isDomNode(target))\n\t\t{\n\t\t\ttarget.appendChild(current);\n\t\t}\n\t}\n\n\t/**\n\t * Prepends element to target element\n\t * @param current\n\t * @param target\n\t */\n\tstatic prepend(current: ?HTMLElement, target: ?HTMLElement)\n\t{\n\t\tif (Type.isDomNode(current) && Type.isDomNode(target))\n\t\t{\n\t\t\tif (Type.isDomNode(target.firstChild))\n\t\t\t{\n\t\t\t\ttarget.insertBefore(current, target.firstChild);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tDom.append(current, target);\n\t\t}\n\t}\n\n\t/**\n\t * Checks that element contains class name or class names\n\t * @param element\n\t * @param className\n\t * @return {Boolean}\n\t */\n\tstatic hasClass(element: any, className: string | Array<string>): boolean\n\t{\n\t\tif (Type.isElementNode(element))\n\t\t{\n\t\t\tif (Type.isString(className))\n\t\t\t{\n\t\t\t\tconst preparedClassName = className.trim();\n\n\t\t\t\tif (preparedClassName.length > 0)\n\t\t\t\t{\n\t\t\t\t\tif (preparedClassName.includes(' '))\n\t\t\t\t\t{\n\t\t\t\t\t\treturn preparedClassName.split(' ')\n\t\t\t\t\t\t\t.every(name => Dom.hasClass(element, name));\n\t\t\t\t\t}\n\n\t\t\t\t\tif ('classList' in element)\n\t\t\t\t\t{\n\t\t\t\t\t\treturn element.classList.contains(preparedClassName);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (\n\t\t\t\t\t\tType.isObject(element.className)\n\t\t\t\t\t\t&& Type.isString(element.className.baseVal)\n\t\t\t\t\t)\n\t\t\t\t\t{\n\t\t\t\t\t\treturn element.getAttribute('class').split(' ')\n\t\t\t\t\t\t\t.some(name => name === preparedClassName);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (Type.isArray(className) && className.length > 0)\n\t\t\t{\n\t\t\t\treturn className.every(name => Dom.hasClass(element, name));\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t * Adds class name\n\t * @param element\n\t * @param className\n\t */\n\tstatic addClass(element: any, className: string | Array<string>)\n\t{\n\t\tif (Type.isElementNode(element))\n\t\t{\n\t\t\tif (Type.isString(className))\n\t\t\t{\n\t\t\t\tconst preparedClassName = className.trim();\n\n\t\t\t\tif (preparedClassName.length > 0)\n\t\t\t\t{\n\t\t\t\t\tif (preparedClassName.includes(' '))\n\t\t\t\t\t{\n\t\t\t\t\t\tDom.addClass(element, preparedClassName.split(' '));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tif ('classList' in element)\n\t\t\t\t\t{\n\t\t\t\t\t\telement.classList.add(preparedClassName);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (\n\t\t\t\t\t\tType.isObject(element.className)\n\t\t\t\t\t\t&& Type.isString(element.className.baseVal)\n\t\t\t\t\t)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (element.className.baseVal === '')\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\telement.className.baseVal = preparedClassName;\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst names = element.className.baseVal.split(' ');\n\n\t\t\t\t\t\tif (!names.includes(preparedClassName))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tnames.push(preparedClassName);\n\t\t\t\t\t\t\telement.className.baseVal = names.join(' ').trim();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (Type.isArray(className))\n\t\t\t{\n\t\t\t\tclassName.forEach(name => Dom.addClass(element, name));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Removes class name\n\t * @param element\n\t * @param className\n\t */\n\tstatic removeClass(element: any, className: string | Array<string>)\n\t{\n\t\tif (Type.isElementNode(element))\n\t\t{\n\t\t\tif (Type.isString(className))\n\t\t\t{\n\t\t\t\tconst preparedClassName = className.trim();\n\n\t\t\t\tif (preparedClassName.length > 0)\n\t\t\t\t{\n\t\t\t\t\tif (preparedClassName.includes(' '))\n\t\t\t\t\t{\n\t\t\t\t\t\tDom.removeClass(element, preparedClassName.split(' '));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tif ('classList' in element)\n\t\t\t\t\t{\n\t\t\t\t\t\telement.classList.remove(preparedClassName);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (\n\t\t\t\t\t\tType.isObject(element.className)\n\t\t\t\t\t\t&& Type.isString(element.className.baseVal)\n\t\t\t\t\t)\n\t\t\t\t\t{\n\t\t\t\t\t\tconst names = element.className.baseVal.split(' ')\n\t\t\t\t\t\t\t.filter(name => name !== preparedClassName);\n\n\t\t\t\t\t\telement.className.baseVal = names.join(' ');\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (Type.isArray(className))\n\t\t\t{\n\t\t\t\tclassName.forEach(name => Dom.removeClass(element, name));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Toggles class name\n\t * @param element\n\t * @param className\n\t */\n\tstatic toggleClass(element: any, className: string | Array<string>)\n\t{\n\t\tif (Type.isElementNode(element))\n\t\t{\n\t\t\tif (Type.isString(className))\n\t\t\t{\n\t\t\t\tconst preparedClassName = className.trim();\n\n\t\t\t\tif (preparedClassName.length > 0)\n\t\t\t\t{\n\t\t\t\t\tif (preparedClassName.includes(' '))\n\t\t\t\t\t{\n\t\t\t\t\t\tDom.toggleClass(element, preparedClassName.split(' '));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\telement.classList.toggle(preparedClassName);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (Type.isArray(className))\n\t\t\t{\n\t\t\t\tclassName.forEach(name => Dom.toggleClass(element, name));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Styles element\n\t */\n\tstatic style(\n\t\telement: ?HTMLElement,\n\t\tprop: ?string | {[key: string]: any},\n\t\tvalue?: any,\n\t): ?string | number | Element\n\t{\n\t\tif (Type.isElementNode(element))\n\t\t{\n\t\t\tif (Type.isNull(prop))\n\t\t\t{\n\t\t\t\telement.removeAttribute('style');\n\t\t\t\treturn element;\n\t\t\t}\n\n\t\t\tif (Type.isPlainObject(prop))\n\t\t\t{\n\t\t\t\tObject.entries(prop).forEach((item) => {\n\t\t\t\t\tconst [currentKey, currentValue] = item;\n\t\t\t\t\tDom.style(element, currentKey, currentValue);\n\t\t\t\t});\n\n\t\t\t\treturn element;\n\t\t\t}\n\n\t\t\tif (Type.isString(prop))\n\t\t\t{\n\t\t\t\tif (Type.isUndefined(value)\n\t\t\t\t\t&& element.nodeType !== Node.DOCUMENT_NODE)\n\t\t\t\t{\n\t\t\t\t\tconst computedStyle = getComputedStyle(element);\n\n\t\t\t\t\tif (prop in computedStyle)\n\t\t\t\t\t{\n\t\t\t\t\t\treturn computedStyle[prop];\n\t\t\t\t\t}\n\n\t\t\t\t\treturn computedStyle.getPropertyValue(prop);\n\t\t\t\t}\n\n\t\t\t\tif (\n\t\t\t\t\tType.isNull(value)\n\t\t\t\t\t|| value === ''\n\t\t\t\t\t|| value === 'null'\n\t\t\t\t)\n\t\t\t\t{\n\t\t\t\t\tif (String(prop).startsWith('--'))\n\t\t\t\t\t{\n\t\t\t\t\t\t// eslint-disable-next-line\n\t\t\t\t\t\telement.style.removeProperty(prop);\n\t\t\t\t\t\treturn element;\n\t\t\t\t\t}\n\n\t\t\t\t\t// eslint-disable-next-line\n\t\t\t\t\telement.style[prop] = '';\n\n\t\t\t\t\treturn element;\n\t\t\t\t}\n\n\t\t\t\tif (Type.isString(value) || Type.isNumber(value))\n\t\t\t\t{\n\t\t\t\t\tif (String(prop).startsWith('--'))\n\t\t\t\t\t{\n\t\t\t\t\t\t// eslint-disable-next-line\n\t\t\t\t\t\telement.style.setProperty(prop, value);\n\t\t\t\t\t\treturn element;\n\t\t\t\t\t}\n\n\t\t\t\t\t// eslint-disable-next-line\n\t\t\t\t\telement.style[prop] = value;\n\n\t\t\t\t\treturn element;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn null;\n\t}\n\n\t/**\n\t * Adjusts element\n\t * @param target\n\t * @param data\n\t * @return {*}\n\t */\n\tstatic adjust(\n\t\ttarget: HTMLElement | HTMLDocument,\n\t\tdata: Object = {},\n\t): HTMLElement | HTMLBodyElement\n\t{\n\t\tif (!target.nodeType)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\n\t\tlet element = target;\n\n\t\tif (target.nodeType === Node.DOCUMENT_NODE)\n\t\t{\n\t\t\telement = target.body;\n\t\t}\n\n\t\tif (Type.isPlainObject(data))\n\t\t{\n\t\t\tif (Type.isPlainObject(data.attrs))\n\t\t\t{\n\t\t\t\tObject.keys(data.attrs).forEach((key) => {\n\t\t\t\t\tif (key === 'class' || key.toLowerCase() === 'classname')\n\t\t\t\t\t{\n\t\t\t\t\t\telement.className = data.attrs[key];\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\t// eslint-disable-next-line\n\t\t\t\t\tif (data.attrs[key] == '')\n\t\t\t\t\t{\n\t\t\t\t\t\telement.removeAttribute(key);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\telement.setAttribute(key, data.attrs[key]);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tif (Type.isPlainObject(data.style))\n\t\t\t{\n\t\t\t\tDom.style(element, data.style);\n\t\t\t}\n\n\t\t\tif (Type.isPlainObject(data.props))\n\t\t\t{\n\t\t\t\tObject.keys(data.props).forEach((key) => {\n\t\t\t\t\telement[key] = data.props[key];\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tif (Type.isPlainObject(data.events))\n\t\t\t{\n\t\t\t\tObject.keys(data.events).forEach((key) => {\n\t\t\t\t\tEvent.bind(element, key, data.events[key]);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tif (Type.isPlainObject(data.dataset))\n\t\t\t{\n\t\t\t\tObject.keys(data.dataset).forEach((key) => {\n\t\t\t\t\telement.dataset[key] = data.dataset[key];\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tif (Type.isString(data.children))\n\t\t\t{\n\t\t\t\tdata.children = [data.children];\n\t\t\t}\n\n\t\t\tif (Type.isArray(data.children) && data.children.length > 0)\n\t\t\t{\n\t\t\t\tdata.children.forEach((item) => {\n\t\t\t\t\tif (Type.isDomNode(item))\n\t\t\t\t\t{\n\t\t\t\t\t\tDom.append(item, element);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (Type.isString(item))\n\t\t\t\t\t{\n\t\t\t\t\t\telement.insertAdjacentHTML('beforeend', item);\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\treturn element;\n\t\t\t}\n\n\t\t\tif ('text' in data && !Type.isNil(data.text))\n\t\t\t{\n\t\t\t\telement.innerText = data.text;\n\t\t\t\treturn element;\n\t\t\t}\n\n\t\t\tif ('html' in data && !Type.isNil(data.html))\n\t\t\t{\n\t\t\t\telement.innerHTML = data.html;\n\t\t\t}\n\t\t}\n\n\t\treturn element;\n\t}\n\n\t/**\n\t * Creates element\n\t * @param tag\n\t * @param data\n\t * @param context\n\t * @return {HTMLElement|HTMLBodyElement}\n\t */\n\tstatic create(\n\t\ttag: string | {[key: string]: any},\n\t\tdata?: Object = {},\n\t\tcontext: HTMLDocument = document,\n\t)\n\t{\n\t\tlet tagName = tag;\n\t\tlet options = data;\n\n\t\tif (Type.isObjectLike(tag))\n\t\t{\n\t\t\toptions = tag;\n\t\t\ttagName = tag.tag;\n\t\t}\n\n\t\treturn Dom.adjust(context.createElement(tagName), options);\n\t}\n\n\t/**\n\t * Shows element\n\t * @param element\n\t */\n\tstatic show(element: ?HTMLElement)\n\t{\n\t\tif (Type.isDomNode(element))\n\t\t{\n\t\t\t// eslint-disable-next-line\n\t\t\telement.hidden = false;\n\t\t}\n\t}\n\n\t/**\n\t * Hides element\n\t * @param element\n\t */\n\tstatic hide(element: ?HTMLElement)\n\t{\n\t\tif (Type.isDomNode(element))\n\t\t{\n\t\t\t// eslint-disable-next-line\n\t\t\telement.hidden = true;\n\t\t}\n\t}\n\n\t/**\n\t * Checks that element is shown\n\t * @param element\n\t * @return {*|boolean}\n\t */\n\tstatic isShown(element: ?HTMLElement)\n\t{\n\t\treturn (\n\t\t\tType.isDomNode(element)\n\t\t\t&& !element.hidden\n\t\t\t&& element.style.getPropertyValue('display') !== 'none'\n\t\t);\n\t}\n\n\t/**\n\t * Toggles element visibility\n\t * @param element\n\t */\n\tstatic toggle(element: HTMLElement)\n\t{\n\t\tif (Type.isDomNode(element))\n\t\t{\n\t\t\tif (Dom.isShown(element))\n\t\t\t{\n\t\t\t\tDom.hide(element);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tDom.show(element);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Gets element position relative page\n\t * @param {HTMLElement} element\n\t * @return {DOMRect}\n\t */\n\tstatic getPosition(element: HTMLElement): DOMRect\n\t{\n\t\tif (Type.isDomNode(element))\n\t\t{\n\t\t\tconst elementRect = element.getBoundingClientRect();\n\t\t\tconst {scrollLeft, scrollTop} = getPageScroll();\n\n\t\t\treturn new DOMRect(\n\t\t\t\t(elementRect.left + scrollLeft),\n\t\t\t\t(elementRect.top + scrollTop),\n\t\t\t\telementRect.width,\n\t\t\t\telementRect.height,\n\t\t\t);\n\t\t}\n\n\t\treturn new DOMRect();\n\t}\n\n\t/**\n\t * Gets element position relative specified element position\n\t * @param {HTMLElement} element\n\t * @param {HTMLElement} relationElement\n\t * @return {DOMRect}\n\t */\n\tstatic getRelativePosition(element: HTMLElement, relationElement: HTMLElement): DOMRect\n\t{\n\t\tif (Type.isDomNode(element) && Type.isDomNode(relationElement))\n\t\t{\n\t\t\tconst elementPosition = Dom.getPosition(element);\n\t\t\tconst relationElementPosition = Dom.getPosition(relationElement);\n\n\t\t\treturn new DOMRect(\n\t\t\t\telementPosition.left - relationElementPosition.left,\n\t\t\t\telementPosition.top - relationElementPosition.top,\n\t\t\t\telementPosition.width,\n\t\t\t\telementPosition.height,\n\t\t\t);\n\t\t}\n\n\t\treturn new DOMRect();\n\t}\n\n\tstatic attr(\n\t\telement: ?HTMLElement,\n\t\tattr: string | {[key: string]: any},\n\t\tvalue?: any,\n\t)\n\t{\n\t\tif (Type.isElementNode(element))\n\t\t{\n\t\t\tif (Type.isString(attr))\n\t\t\t{\n\t\t\t\tif (!Type.isNil(value))\n\t\t\t\t{\n\t\t\t\t\treturn element.setAttribute(attr, encodeAttributeValue(value));\n\t\t\t\t}\n\n\t\t\t\tif (Type.isNull(value))\n\t\t\t\t{\n\t\t\t\t\treturn element.removeAttribute(attr);\n\t\t\t\t}\n\n\t\t\t\treturn decodeAttributeValue(element.getAttribute(attr));\n\t\t\t}\n\n\t\t\tif (Type.isPlainObject(attr))\n\t\t\t{\n\t\t\t\treturn Object.entries(attr).forEach(([attrKey, attrValue]) => {\n\t\t\t\t\tDom.attr(element, attrKey, attrValue);\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\treturn null;\n\t}\n}","import Type from './type';\nimport Dom from './dom';\n\nconst UA = navigator.userAgent.toLowerCase();\n\n/**\n * @memberOf BX\n */\nexport default class Browser\n{\n\tstatic isOpera()\n\t{\n\t\treturn UA.includes('opera');\n\t}\n\n\tstatic isIE()\n\t{\n\t\treturn ('attachEvent' in document) && !Browser.isOpera();\n\t}\n\n\tstatic isIE6()\n\t{\n\t\treturn UA.includes('msie 6');\n\t}\n\n\tstatic isIE7()\n\t{\n\t\treturn UA.includes('msie 7');\n\t}\n\n\tstatic isIE8()\n\t{\n\t\treturn UA.includes('msie 8');\n\t}\n\n\tstatic isIE9()\n\t{\n\t\treturn ('documentMode' in document) && document.documentMode >= 9;\n\t}\n\n\tstatic isIE10()\n\t{\n\t\treturn ('documentMode' in document) && document.documentMode >= 10;\n\t}\n\n\tstatic isSafari()\n\t{\n\t\treturn UA.includes('safari') && !UA.includes('chrome');\n\t}\n\n\tstatic isFirefox()\n\t{\n\t\treturn UA.includes('firefox');\n\t}\n\n\tstatic isChrome()\n\t{\n\t\treturn UA.includes('chrome');\n\t}\n\n\tstatic detectIEVersion()\n\t{\n\t\tif (Browser.isOpera() || Browser.isSafari() || Browser.isFirefox() || Browser.isChrome())\n\t\t{\n\t\t\treturn -1;\n\t\t}\n\n\t\tlet rv = -1;\n\n\t\tif (\n\t\t\t!!(window.MSStream)\n\t\t\t&& !(window.ActiveXObject)\n\t\t\t&& ('ActiveXObject' in window)\n\t\t)\n\t\t{\n\t\t\trv = 11;\n\t\t}\n\t\telse if (Browser.isIE10())\n\t\t{\n\t\t\trv = 10;\n\t\t}\n\t\telse if (Browser.isIE9())\n\t\t{\n\t\t\trv = 9;\n\t\t}\n\t\telse if (Browser.isIE())\n\t\t{\n\t\t\trv = 8;\n\t\t}\n\n\t\tif (rv === -1 || rv === 8)\n\t\t{\n\t\t\tif (navigator.appName === 'Microsoft Internet Explorer')\n\t\t\t{\n\t\t\t\tconst re = new RegExp('MSIE ([0-9]+[.0-9]*)');\n\t\t\t\tconst res = navigator.userAgent.match(re);\n\n\t\t\t\tif (Type.isArrayLike(res) && res.length > 0)\n\t\t\t\t{\n\t\t\t\t\trv = parseFloat(res[1]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (navigator.appName === 'Netscape')\n\t\t\t{\n\t\t\t\t// Alternative check for IE 11\n\t\t\t\trv = 11;\n\t\t\t\tconst re = new RegExp('Trident/.*rv:([0-9]+[.0-9]*)');\n\n\t\t\t\tif (re.exec(navigator.userAgent) != null)\n\t\t\t\t{\n\t\t\t\t\tconst res = navigator.userAgent.match(re);\n\n\t\t\t\t\tif (Type.isArrayLike(res) && res.length > 0)\n\t\t\t\t\t{\n\t\t\t\t\t\trv = parseFloat(res[1]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn rv;\n\t}\n\n\tstatic isIE11()\n\t{\n\t\treturn Browser.detectIEVersion() >= 11;\n\t}\n\n\tstatic isMac()\n\t{\n\t\treturn UA.includes('macintosh');\n\t}\n\n\tstatic isWin()\n\t{\n\t\treturn UA.includes('windows');\n\t}\n\n\tstatic isLinux()\n\t{\n\t\treturn UA.includes('linux') && !Browser.isAndroid();\n\t}\n\n\tstatic isAndroid()\n\t{\n\t\treturn UA.includes('android');\n\t}\n\n\tstatic isIPad()\n\t{\n\t\treturn UA.includes('ipad;') || (this.isMac() && this.isTouchDevice());\n\t}\n\n\tstatic isIPhone()\n\t{\n\t\treturn UA.includes('iphone;');\n\t}\n\n\tstatic isIOS()\n\t{\n\t\treturn Browser.isIPad() || Browser.isIPhone();\n\t}\n\n\tstatic isMobile()\n\t{\n\t\treturn (\n\t\t\tBrowser.isIPhone()\n\t\t\t|| Browser.isIPad()\n\t\t\t|| Browser.isAndroid()\n\t\t\t|| UA.includes('mobile')\n\t\t\t|| UA.includes('touch')\n\t\t);\n\t}\n\n\tstatic isRetina()\n\t{\n\t\treturn window.devicePixelRatio && window.devicePixelRatio >= 2;\n\t}\n\n\tstatic isTouchDevice()\n\t{\n\t\treturn (\n\t\t\t('ontouchstart' in window) || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0\n\t\t);\n\t}\n\n\tstatic isDoctype(target: any)\n\t{\n\t\tconst doc = target || document;\n\n\t\tif (doc.compatMode)\n\t\t{\n\t\t\treturn (doc.compatMode === 'CSS1Compat');\n\t\t}\n\n\t\treturn (doc.documentElement && doc.documentElement.clientHeight);\n\t}\n\n\tstatic isLocalStorageSupported()\n\t{\n\t\ttry\n\t\t{\n\t\t\tlocalStorage.setItem('test', 'test');\n\t\t\tlocalStorage.removeItem('test');\n\t\t\treturn true;\n\t\t}\n\t\tcatch (e)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tstatic addGlobalClass(target: Element)\n\t{\n\t\tlet globalClass = 'bx-core';\n\n\t\ttarget = Type.isElementNode(target) ? target : document.documentElement;\n\t\tif (Dom.hasClass(target, globalClass))\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tif (Browser.isIOS())\n\t\t{\n\t\t\tglobalClass += ' bx-ios';\n\t\t}\n\t\telse if (Browser.isWin())\n\t\t{\n\t\t\tglobalClass += ' bx-win';\n\t\t}\n\t\telse if (Browser.isMac())\n\t\t{\n\t\t\tglobalClass += ' bx-mac';\n\t\t}\n\t\telse if (Browser.isLinux())\n\t\t{\n\t\t\tglobalClass += ' bx-linux';\n\t\t}\n\t\telse if (Browser.isAndroid())\n\t\t{\n\t\t\tglobalClass += ' bx-android';\n\t\t}\n\n\t\tglobalClass += (Browser.isMobile() ? ' bx-touch' : ' bx-no-touch');\n\t\tglobalClass += (Browser.isRetina() ? ' bx-retina' : ' bx-no-retina');\n\n\t\tif (/AppleWebKit/.test(navigator.userAgent))\n\t\t{\n\t\t\tglobalClass += ' bx-chrome';\n\t\t}\n\t\telse if (/Opera/.test(navigator.userAgent))\n\t\t{\n\t\t\tglobalClass += ' bx-opera';\n\t\t}\n\t\telse if (Browser.isFirefox())\n\t\t{\n\t\t\tglobalClass += ' bx-firefox';\n\t\t}\n\n\t\tDom.addClass(target, globalClass);\n\t}\n\n\tstatic detectAndroidVersion()\n\t{\n\t\tconst re = new RegExp('Android ([0-9]+[.0-9]*)');\n\n\t\tif (re.exec(navigator.userAgent) != null)\n\t\t{\n\t\t\tconst res = navigator.userAgent.match(re);\n\n\t\t\tif (Type.isArrayLike(res) && res.length > 0)\n\t\t\t{\n\t\t\t\treturn parseFloat(res[1]);\n\t\t\t}\n\t\t}\n\n\t\treturn 0;\n\t}\n\n\tstatic isPropertySupported(jsProperty: any, returnCSSName: any)\n\t{\n\t\tif (jsProperty === '')\n\t\t{\n\t\t\treturn false;\n\t\t}\n\n\t\tfunction getCssName(propertyName)\n\t\t{\n\t\t\treturn propertyName.replace(/([A-Z])/g, (...args) => `-${args[1].toLowerCase()}`);\n\t\t}\n\n\t\tfunction getJsName(cssName)\n\t\t{\n\t\t\tconst reg = /(\\\\-([a-z]))/g;\n\n\t\t\tif (reg.test(cssName))\n\t\t\t{\n\t\t\t\treturn cssName.replace(reg, (...args) => args[2].toUpperCase());\n\t\t\t}\n\n\t\t\treturn cssName;\n\t\t}\n\n\t\tconst property = jsProperty.includes('-') ? getJsName(jsProperty) : jsProperty;\n\t\tconst bReturnCSSName = !!returnCSSName;\n\t\tconst ucProperty = property.charAt(0).toUpperCase() + property.slice(1);\n\t\tconst props = ['Webkit', 'Moz', 'O', 'ms'].join(`${ucProperty} `);\n\t\tconst properties = `${property} ${props} ${ucProperty}`.split(' ');\n\n\t\tconst obj = document.body || document.documentElement;\n\n\t\tfor (let i = 0; i < properties.length; i += 1)\n\t\t{\n\t\t\tconst prop = properties[i];\n\n\t\t\tif (obj && 'style' in obj && prop in obj.style)\n\t\t\t{\n\t\t\t\tconst lowerProp = prop.substr(0, prop.length - property.length).toLowerCase();\n\t\t\t\tconst prefix = prop === property ? '' : `-${lowerProp}-`;\n\t\t\t\treturn bReturnCSSName ? prefix + getCssName(property) : prop;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\tstatic addGlobalFeatures(features: any)\n\t{\n\t\tif (!Type.isArray(features))\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tconst classNames = [];\n\n\t\tfor (let i = 0; i < features.length; i += 1)\n\t\t{\n\t\t\tconst support = !!Browser.isPropertySupported(features[i]);\n\t\t\tclassNames.push(`bx-${(support ? '' : 'no-')}${features[i].toLowerCase()}`);\n\t\t}\n\n\t\tDom.addClass(document.documentElement, classNames.join(' '));\n\t}\n}","import Type from '../type';\n\nexport default class Cookie\n{\n\t/**\n\t * Gets cookies list for current domain\n\t * @return {object}\n\t */\n\tstatic getList(): {[key: string]: string}\n\t{\n\t\treturn document.cookie\n\t\t\t.split(';')\n\t\t\t.map(item => item.split('='))\n\t\t\t.map(item => item.map(subItem => subItem.trim()))\n\t\t\t.reduce((acc, item) => {\n\t\t\t\tconst [key, value] = item;\n\t\t\t\tacc[decodeURIComponent(key)] = (\n\t\t\t\t\tdecodeURIComponent(value)\n\t\t\t\t);\n\t\t\t\treturn acc;\n\t\t\t}, {});\n\t}\n\n\t/**\n\t * Gets cookie value\n\t * @param {string} name\n\t * @return {*}\n\t */\n\tstatic get(name)\n\t{\n\t\tconst cookiesList = Cookie.getList();\n\n\t\tif (name in cookiesList)\n\t\t{\n\t\t\treturn cookiesList[name];\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\t/**\n\t * Sets cookie\n\t * @param {string} name\n\t * @param {*} value\n\t * @param {object} [options]\n\t */\n\tstatic set(name, value, options = {})\n\t{\n\t\tconst attributes = {\n\t\t\texpires: '',\n\t\t\t...options,\n\t\t};\n\n\t\tif (Type.isNumber(attributes.expires))\n\t\t{\n\t\t\tconst now = (+new Date());\n\t\t\tconst days = attributes.expires;\n\t\t\tconst dayInMs = 864e+5;\n\t\t\tattributes.expires = new Date(now + days * dayInMs);\n\t\t}\n\n\t\tif (Type.isDate(attributes.expires))\n\t\t{\n\t\t\tattributes.expires = attributes.expires.toUTCString();\n\t\t}\n\n\t\tconst safeName = decodeURIComponent(String(name))\n\t\t\t.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)\n\t\t\t.replace(/[()]/g, escape);\n\n\t\tconst safeValue = encodeURIComponent(String(value))\n\t\t\t.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);\n\n\t\tconst stringifiedAttributes = Object.keys(attributes)\n\t\t\t.reduce((acc, key) => {\n\t\t\t\tconst attributeValue = attributes[key];\n\n\t\t\t\tif (!attributeValue)\n\t\t\t\t{\n\t\t\t\t\treturn acc;\n\t\t\t\t}\n\n\t\t\t\tif (attributeValue === true)\n\t\t\t\t{\n\t\t\t\t\treturn `${acc}; ${key}`;\n\t\t\t\t}\n\n\t\t\t\t/**\n\t\t\t\t * Considers RFC 6265 section 5.2:\n\t\t\t\t * ...\n\t\t\t\t * 3. If the remaining unparsed-attributes contains a %x3B (';')\n\t\t\t\t * character:\n\t\t\t\t * Consume the characters of the unparsed-attributes up to,\n\t\t\t\t * not including, the first %x3B (';') character.\n\t\t\t\t */\n\t\t\t\treturn `${acc}; ${key}=${attributeValue.split(';')[0]}`;\n\t\t\t}, '');\n\n\t\tdocument.cookie = `${safeName}=${safeValue}${stringifiedAttributes}`;\n\t}\n\n\t/**\n\t * Removes cookie\n\t * @param {string} name\n\t * @param {object} [options]\n\t */\n\tstatic remove(name, options = {})\n\t{\n\t\tCookie.set(name, '', {...options, expires: -1});\n\t}\n}","import Type from '../../type';\n\nexport default function objectToFormData(\n\tsource: {[key: string]: any},\n\tformData: FormData = new FormData(),\n\tpre = null,\n)\n{\n\tif (Type.isUndefined(source))\n\t{\n\t\treturn formData;\n\t}\n\n\tif (Type.isNull(source))\n\t{\n\t\tformData.append(pre, '');\n\t}\n\telse if (Type.isArray(source))\n\t{\n\t\tif (!source.length)\n\t\t{\n\t\t\tconst key = `${pre}[]`;\n\t\t\tformData.append(key, '');\n\t\t}\n\t\telse\n\t\t{\n\t\t\tsource.forEach((value, index) => {\n\t\t\t\tconst key = `${pre}[${index}]`;\n\t\t\t\tobjectToFormData(value, formData, key);\n\t\t\t});\n\t\t}\n\t}\n\telse if (Type.isDate(source))\n\t{\n\t\tformData.append(pre, source.toISOString());\n\t}\n\telse if (Type.isObject(source) && !Type.isFile(source) && !Type.isBlob(source))\n\t{\n\t\tObject.keys(source).forEach((property) => {\n\t\t\tconst value = source[property];\n\t\t\tlet preparedProperty = property;\n\n\t\t\tif (Type.isArray(value))\n\t\t\t{\n\t\t\t\twhile (preparedProperty.length > 2 && preparedProperty.lastIndexOf('[]') === preparedProperty.length - 2)\n\t\t\t\t{\n\t\t\t\t\tpreparedProperty = preparedProperty.substring(0, preparedProperty.length - 2);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst key = pre ? `${pre}[${preparedProperty}]` : preparedProperty;\n\t\t\tobjectToFormData(value, formData, key);\n\t\t});\n\t}\n\telse\n\t{\n\t\tformData.append(pre, source);\n\t}\n\n\treturn formData;\n}","import objectToFormData from './internal/convert-object-to-form-data';\n\nexport default class Data\n{\n\t/**\n\t * Converts object to FormData\n\t * @param source\n\t * @return {FormData}\n\t */\n\tstatic convertObjectToFormData(source: {[key: string]: any}): FormData\n\t{\n\t\treturn objectToFormData(source);\n\t}\n}","import Cookie from './http/cookie';\nimport Data from './http/data';\n\n/**\n * @memberOf BX\n */\nexport default class Http\n{\n\tstatic Cookie = Cookie;\n\tstatic Data = Data;\n}","import Type from '../type';\nimport Runtime from '../runtime';\nimport EventEmitter from '../event/event-emitter';\nimport BaseEvent from '../event/base-event';\n\ntype messageParam = string | {[key: string]: string | number};\n\nexport default function message(value: messageParam): string | boolean | void\n{\n\tif (Type.isString(value))\n\t{\n\t\tif (Type.isNil(message[value]))\n\t\t{\n\t\t\t// eslint-disable-next-line\n\t\t\tEventEmitter.emit('onBXMessageNotFound', new BaseEvent({ compatData: [value] }));\n\n\t\t\tif (Type.isNil(message[value]))\n\t\t\t{\n\t\t\t\tRuntime.debug(`message undefined: ${value}`);\n\t\t\t\tmessage[value] = '';\n\t\t\t}\n\t\t}\n\t}\n\n\tif (Type.isPlainObject(value))\n\t{\n\t\tObject.keys(value).forEach((key) => {\n\t\t\tmessage[key] = value[key];\n\t\t});\n\t}\n\n\treturn message[value];\n}\n\nif (\n\t!Type.isNil(window.BX)\n\t&& Type.isFunction(window.BX.message)\n)\n{\n\tObject.keys(window.BX.message).forEach((key) => {\n\t\tmessage({[key]: window.BX.message[key]});\n\t});\n}","import Type from './type';\nimport message from './loc/message';\n\n/**\n * Implements interface for works with language messages\n * @memberOf BX\n */\nexport default class Loc\n{\n\t/**\n\t * Gets message by id\n\t * @param {string} messageId\n\t * @param {object} replacements\n\t * @return {?string}\n\t */\n\tstatic getMessage(messageId: string, replacements: {[key: string]: string} = null): ?string\n\t{\n\t\tlet mess = message(messageId);\n\t\tif (Type.isString(mess) && Type.isPlainObject(replacements))\n\t\t{\n\t\t\tconst escape: string = (str: string): string => String(str).replace(/[\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n\t\t\tObject.keys(replacements).forEach((replacement: string) => {\n\t\t\t\tconst globalRegexp = new RegExp(escape(replacement), 'gi');\n\t\t\t\tmess = mess.replace(\n\t\t\t\t\tglobalRegexp,\n\t\t\t\t\t() => {\n\t\t\t\t\t\treturn Type.isNil(replacements[replacement]) ? '' : String(replacements[replacement]);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t});\n\t\t}\n\n\t\treturn mess;\n\t}\n\n\tstatic hasMessage(messageId: string): boolean\n\t{\n\t\treturn Type.isString(messageId) && !Type.isNil(message[messageId]);\n\t}\n\n\t/**\n\t * Sets message or messages\n\t * @param {string | Object<string, string>} id\n\t * @param {string} [value]\n\t */\n\tstatic setMessage(id: string | {[key: string]: string}, value?: string)\n\t{\n\t\tif (Type.isString(id) && Type.isString(value))\n\t\t{\n\t\t\tmessage({[id]: value});\n\t\t}\n\n\t\tif (Type.isObject(id))\n\t\t{\n\t\t\tmessage(id);\n\t\t}\n\t}\n\n\t/**\n\t * Gets plural message by id and number\n\t * @param {string} messageId\n\t * @param {number} value\n\t * @param {object} [replacements]\n\t * @return {?string}\n\t */\n\tstatic getMessagePlural(messageId: string, value: number, replacements:? {[key: string]: string} = null)\n\t{\n\t\tlet result = '';\n\n\t\tif (Type.isNumber(value))\n\t\t{\n\t\t\tif (this.hasMessage(`${messageId}_PLURAL_${this.getPluralForm(value)}`))\n\t\t\t{\n\t\t\t\tresult = this.getMessage(`${messageId}_PLURAL_${this.getPluralForm(value)}`, replacements);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tresult = this.getMessage(`${messageId}_PLURAL_1`, replacements);\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tresult = this.getMessage(messageId, replacements);\n\t\t}\n\n\t\treturn result;\n\t}\n\n\t/**\n\t * Gets language plural form id by number\n\t * see http://docs.translatehouse.org/projects/localization-guide/en/latest/l10n/pluralforms.html\n\t * @param {number} value\n\t * @param {string} [languageId]\n\t * @return {?number}\n\t */\n\tstatic getPluralForm(value: number, languageId?: string)\n\t{\n\t\tlet pluralForm;\n\n\t\tif (!Type.isStringFilled(languageId))\n\t\t{\n\t\t\tlanguageId = message('LANGUAGE_ID');\n\t\t}\n\n\t\tif (value < 0)\n\t\t{\n\t\t\tvalue = (-1) * value;\n\t\t}\n\n\t\tswitch (languageId)\n\t\t{\n\t\t\tcase 'ar':\n\t\t\t\tpluralForm = ((value !== 1) ? 1 : 0);\n/*\n\t\t\t\tif (value === 0)\n\t\t\t\t{\n\t\t\t\t\tpluralForm = 0;\n\t\t\t\t}\n\t\t\t\telse if (value === 1)\n\t\t\t\t{\n\t\t\t\t\tpluralForm = 1;\n\t\t\t\t}\n\t\t\t\telse if (value === 2)\n\t\t\t\t{\n\t\t\t\t\tpluralForm = 2;\n\t\t\t\t}\n\t\t\t\telse if (\n\t\t\t\t\tvalue % 100 >= 3\n\t\t\t\t\t&& value % 100 <= 10\n\t\t\t\t)\n\t\t\t\t{\n\t\t\t\t\tpluralForm = 3;\n\t\t\t\t}\n\t\t\t\telse if (value % 100 >= 11)\n\t\t\t\t{\n\t\t\t\t\tpluralForm = 4;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tpluralForm = 5;\n\t\t\t\t}\n */\n\t\t\t\tbreak;\n\n\t\t\tcase 'br':\n\t\t\tcase 'fr':\n\t\t\tcase 'tr':\n\t\t\t\tpluralForm = ((value > 1) ? 1 : 0);\n\t\t\t\tbreak;\n\n\t\t\tcase 'de':\n\t\t\tcase 'en':\n\t\t\tcase 'hi':\n\t\t\tcase 'it':\n\t\t\tcase 'la':\n\t\t\t\tpluralForm = ((value !== 1) ? 1 : 0);\n\t\t\t\tbreak;\n\n\t\t\tcase 'ru':\n\t\t\tcase 'ua':\n\t\t\t\tif (\n\t\t\t\t\t(value % 10 === 1)\n\t\t\t\t\t&& (value % 100 !== 11)\n\t\t\t\t)\n\t\t\t\t{\n\t\t\t\t\tpluralForm = 0;\n\t\t\t\t}\n\t\t\t\telse if (\n\t\t\t\t\t(value % 10 >= 2)\n\t\t\t\t\t&& (value % 10 <= 4)\n\t\t\t\t\t&& (\n\t\t\t\t\t\t(value % 100 < 10)\n\t\t\t\t\t\t|| (value % 100 >= 20)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t\t{\n\t\t\t\t\tpluralForm = 1;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tpluralForm = 2;\n\t\t\t\t}\n\t\t\t\tbreak;\n\n\t\t\tcase 'pl':\n\t\t\t\tif (value === 1)\n\t\t\t\t{\n\t\t\t\t\tpluralForm = 0;\n\t\t\t\t}\n\t\t\t\telse if (\n\t\t\t\t\tvalue % 10 >= 2\n\t\t\t\t\t&& value % 10 <= 4\n\t\t\t\t\t&& (\n\t\t\t\t\t\tvalue % 100 < 10\n\t\t\t\t\t\t|| value % 100 >= 20\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t\t{\n\t\t\t\t\tpluralForm = 1;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tpluralForm = 2;\n\t\t\t\t}\n\t\t\t\tbreak;\n\n\t\t\tcase 'id':\n\t\t\tcase 'ja':\n\t\t\tcase 'ms':\n\t\t\tcase 'sc':\n\t\t\tcase 'tc':\n\t\t\tcase 'th':\n\t\t\tcase 'vn':\n\t\t\t\tpluralForm = 0;\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tpluralForm = 1;\n\t\t\t\tbreak;\n\t\t}\n\n\t\treturn pluralForm;\n\t}\n\n}","const voidElements = [\n\t'area',\n\t'base',\n\t'br',\n\t'col',\n\t'embed',\n\t'hr',\n\t'img',\n\t'input',\n\t'link',\n\t'meta',\n\t'param',\n\t'source',\n\t'track',\n\t'wbr',\n];\n\nexport default function isVoidElement(element: string): boolean\n{\n\treturn voidElements.includes(element);\n}","const matchers = {\n\ttag: /<[a-zA-Z0-9\\-\\!\\/](?:\"[^\"]*\"|'[^']*'|[^'\">])*>|{{uid[0-9]+}}/g,\n\tcomment: /<!--(?!<!)[^\\[>].*?-->/g,\n\ttagName: /<\\/?([^\\s]+?)[/\\s>]/,\n\tattributes: /\\s([\\w\\-_:.]+)\\s?\\n?=\\s?\\n?\"([^\"]+)?\"|\\s([\\w\\-_:.]+)\\s?\\n?=\\s?\\n?'([^']+)?'|\\s([\\w\\-_:.]+)/gs,\n\tplaceholder: /{{uid[0-9]+}}/g,\n};\n\nexport default matchers;","import Type from '../../type';\nimport isVoidElement from './is-void-element';\nimport matchers from './matchers';\n\ntype TagResult = {\n\ttype: 'tag' | 'comment',\n\tname?: string,\n\tsvg?: boolean,\n\tattrs?: {[key: string]: any},\n\tchildren?: Array<TagResult>,\n\tvoidElement: boolean,\n\tcontent?: string,\n};\n\nexport default function parseTag(tag: string): TagResult\n{\n\tconst tagResult: TagResult = {\n\t\ttype: 'tag',\n\t\tname: '',\n\t\tsvg: false,\n\t\tattrs: {},\n\t\tchildren: [],\n\t\tvoidElement: false,\n\t}\n\n\tif (tag.startsWith('<!--'))\n\t{\n\t\tconst endIndex = tag.indexOf('-->');\n\t\tconst openTagLength = '<!--'.length;\n\t\treturn {\n\t\t\ttype: 'comment',\n\t\t\tcontent: endIndex !== -1 ? tag.slice(openTagLength, endIndex) : '',\n\t\t};\n\t}\n\n\tconst tagNameMatch = tag.match(matchers.tagName);\n\tif (Type.isArrayFilled(tagNameMatch))\n\t{\n\t\tconst [, tagName] = tagNameMatch;\n\t\ttagResult.name = tagName;\n\t\ttagResult.svg = tagName === 'svg';\n\t\ttagResult.voidElement = isVoidElement(tagName) || tag.trim().endsWith('/>');\n\t}\n\n\tconst reg = new RegExp(matchers.attributes);\n\tfor (;;)\n\t{\n\t\tconst result = reg.exec(tag);\n\t\tif (!Type.isNil(result))\n\t\t{\n\t\t\t// Attributes with double quotes\n\t\t\tconst [, attrName, attrValue] = result;\n\t\t\tif (!Type.isNil(attrName))\n\t\t\t{\n\t\t\t\ttagResult.attrs[attrName] = Type.isStringFilled(attrValue) ? attrValue : '';\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t// Attributes with single quotes\n\t\t\t\tconst [,,, attrName, attrValue] = result;\n\t\t\t\tif (!Type.isNil(attrName))\n\t\t\t\t{\n\t\t\t\t\ttagResult.attrs[attrName] = Type.isStringFilled(attrValue) ? attrValue : '';\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\t// Attributes without value\n\t\t\t\t\tconst [,,,,, attrName] = result;\n\t\t\t\t\ttagResult.attrs[attrName] = '';\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tbreak;\n\t\t}\n\t}\n\n\treturn tagResult;\n}","import Type from '../../type';\nimport matchers from './matchers';\n\ntype TextResult = {\n\ttype: 'text' | 'placeholder',\n\tcontent?: string,\n\tuid?: number,\n};\n\nexport default function parseText(input: string): Array<TextResult>\n{\n\tconst preparedText = input.replace(/[\\n\\r\\t]$/, '');\n\tconst placeholders = preparedText.match(matchers.placeholder);\n\treturn preparedText.split(matchers.placeholder).reduce((acc, item, index) => {\n\t\tif (Type.isStringFilled(item))\n\t\t{\n\t\t\tacc.push(\n\t\t\t\t...item.split(/\\n/).reduce((textAcc, text) => {\n\t\t\t\t\tconst preparedItemText = text.replace(/[\\t\\r]/g, '');\n\t\t\t\t\tif (Type.isStringFilled(preparedItemText))\n\t\t\t\t\t{\n\t\t\t\t\t\ttextAcc.push({\n\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\tcontent: preparedItemText,\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\treturn textAcc;\n\t\t\t\t}, []),\n\t\t\t);\n\t\t}\n\n\t\tif (placeholders && placeholders[index])\n\t\t{\n\t\t\tacc.push({\n\t\t\t\ttype: 'placeholder',\n\t\t\t\tuid: parseInt(placeholders[index].replace(/{{uid|}}/, '')),\n\t\t\t});\n\t\t}\n\n\t\treturn acc;\n\t}, []);\n}","import parseTag from './parse-tag';\nimport matchers from './matchers';\nimport parseText from './parse-text';\n\nexport default function parse(html: string, substitutions): Array<any>\n{\n\tconst result = [];\n\n\tif (html.indexOf('<') !== 0 && !html.startsWith('{{'))\n\t{\n\t\tconst end = html.indexOf('<');\n\t\tresult.push(...parseText(end === -1 ? html : html.slice(0, end)));\n\t}\n\n\tconst commentsContent = [];\n\tlet commentIndex = -1;\n\thtml = html.replace(matchers.comment, (tag) => {\n\t\tcommentIndex += 1;\n\t\tcommentsContent.push(tag.replace(/^<!--|-->$/g, ''));\n\t\treturn `<!--{{cUid${commentIndex}}}-->`;\n\t});\n\n\tconst arr = [];\n\tlet level = -1;\n\tlet current;\n\thtml.replace(matchers.tag, (tag, index) => {\n\t\tconst start = index + tag.length;\n\t\tconst nextChar = html.charAt(start);\n\t\tlet parent;\n\n\t\tif (tag.startsWith('<!--'))\n\t\t{\n\t\t\tconst comment = parseTag(tag, substitutions);\n\t\t\tcomment.content = commentsContent[tag.replace(/<!--{{cUid|}}-->/g, '')];\n\n\t\t\tif (level < 0)\n\t\t\t{\n\t\t\t\tresult.push(comment);\n\t\t\t\treturn result;\n\t\t\t}\n\n\t\t\tparent = arr[level];\n\t\t\tparent.children.push(comment);\n\n\t\t\treturn result;\n\t\t}\n\n\t\tif (tag.startsWith('{{'))\n\t\t{\n\t\t\tconst [placeholder] = parseText(tag);\n\n\t\t\tif (level < 0)\n\t\t\t{\n\t\t\t\tresult.push(placeholder);\n\t\t\t\treturn result;\n\t\t\t}\n\n\t\t\tparent = arr[level];\n\t\t\tparent.children.push(placeholder);\n\n\t\t\treturn result;\n\t\t}\n\n\t\tif (!tag.startsWith('</'))\n\t\t{\n\t\t\tlevel++;\n\n\t\t\tcurrent = parseTag(tag, substitutions);\n\n\t\t\tif (\n\t\t\t\t!current.voidElement\n\t\t\t\t&& nextChar\n\t\t\t\t&& nextChar !== '<'\n\t\t\t)\n\t\t\t{\n\t\t\t\tcurrent.children.push(\n\t\t\t\t\t...parseText(html.slice(start, html.indexOf('<', start))),\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tif (level === 0)\n\t\t\t{\n\t\t\t\tresult.push(current);\n\t\t\t}\n\n\t\t\tparent = arr[level - 1];\n\n\t\t\tif (parent)\n\t\t\t{\n\t\t\t\tif (!current.svg)\n\t\t\t\t{\n\t\t\t\t\tcurrent.svg = parent.svg;\n\t\t\t\t}\n\n\t\t\t\tparent.children.push(current);\n\t\t\t}\n\n\t\t\tarr[level] = current;\n\t\t}\n\n\t\tif (tag.startsWith('</') || current.voidElement)\n\t\t{\n\t\t\tif (\n\t\t\t\tlevel > -1\n\t\t\t\t&& (current.voidElement || current.name === tag.slice(2, -1))\n\t\t\t)\n\t\t\t{\n\t\t\t\tlevel--;\n\t\t\t\tcurrent = level === -1 ? result : arr[level];\n\t\t\t}\n\n\t\t\tif (nextChar && nextChar !== '<')\n\t\t\t{\n\t\t\t\tparent = level === -1 ? result : arr[level].children;\n\n\t\t\t\tconst end = html.indexOf('<', start);\n\t\t\t\tconst content = html.slice(start, end === -1 ? undefined : end);\n\n\t\t\t\tif ((end > -1 && level + parent.length >= 0) || content !== ' ')\n\t\t\t\t{\n\t\t\t\t\tparent.push(...parseText(content));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t});\n\n\treturn result;\n}","import Type from '../../type';\nimport Dom from '../../dom';\nimport Text from '../../text';\nimport Event from '../../event';\nimport matchers from './matchers';\n\ntype RenderNodeOptions = {\n\tnode: any,\n\tparentElement: HTMLElement,\n\tsubstitutions: Array<any>,\n\trefs: Array<Array<string, HTMLElement | HTMLTemplateElement | SVGElement>>,\n};\n\nconst appendElement = (current: HTMLElement | HTMLTemplateElement, target: HTMLElement | HTMLTemplateElement) => {\n\tif (Type.isDomNode(current) && Type.isDomNode(target))\n\t{\n\t\tif (target.nodeName !== 'TEMPLATE')\n\t\t{\n\t\t\tDom.append(current, target);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t// eslint-disable-next-line bitrix-rules/no-native-dom-methods\n\t\t\ttarget.content.append(current);\n\t\t}\n\t}\n};\n\nexport default function renderNode(options: RenderNodeOptions): HTMLDivElement | Array<HTMLDivElement>\n{\n\tconst {node, parentElement, substitutions, refs = []} = options;\n\n\tif (node.type === 'tag')\n\t{\n\t\tconst element = (() => {\n\t\t\tif (node.svg)\n\t\t\t{\n\t\t\t\treturn document.createElementNS('http://www.w3.org/2000/svg', node.name);\n\t\t\t}\n\n\t\t\treturn document.createElement(node.name);\n\t\t})();\n\n\t\tif (Object.hasOwn(node.attrs, 'ref'))\n\t\t{\n\t\t\trefs.push([node.attrs.ref, element]);\n\t\t\tdelete node.attrs.ref;\n\t\t}\n\n\t\tObject.entries(node.attrs).forEach(([key, value]) => {\n\t\t\tif (key.startsWith('on') && (new RegExp(matchers.placeholder)).test(value))\n\t\t\t{\n\t\t\t\tconst substitution = substitutions[parseInt(value.replace(/{{uid|}}/, '')) - 1];\n\t\t\t\tif (Type.isFunction(substitution))\n\t\t\t\t{\n\t\t\t\t\tconst bindFunctionName = key.endsWith('once') ? 'bindOnce' : 'bind';\n\t\t\t\t\tEvent[bindFunctionName](\n\t\t\t\t\t\telement,\n\t\t\t\t\t\tkey.replace(/^on|once$/g, ''),\n\t\t\t\t\t\tsubstitution,\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\telement.setAttribute(key, substitution);\n\t\t\t\t}\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tif ((new RegExp(matchers.placeholder)).test(value))\n\t\t\t\t{\n\t\t\t\t\tconst preparedValue = value.split(/{{|}}/).reduce((acc, item) => {\n\t\t\t\t\t\tif (item.startsWith('uid'))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tconst substitution = substitutions[parseInt(item.replace('uid', '')) - 1];\n\t\t\t\t\t\t\treturn `${acc}${substitution}`;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn `${acc}${item}`;\n\t\t\t\t\t}, '');\n\n\t\t\t\t\telement.setAttribute(key, preparedValue);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\telement.setAttribute(key, Text.decode(value));\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\tnode.children.forEach((childNode) => {\n\t\t\tconst result = renderNode({\n\t\t\t\tnode: childNode,\n\t\t\t\tparentElement: element,\n\t\t\t\tsubstitutions,\n\t\t\t\trefs,\n\t\t\t});\n\n\t\t\tif (Type.isArray(result))\n\t\t\t{\n\t\t\t\tresult.forEach((subChildElement) => {\n\t\t\t\t\tappendElement(subChildElement, element);\n\t\t\t\t});\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tappendElement(result, element);\n\t\t\t}\n\t\t});\n\n\t\treturn element;\n\t}\n\n\tif (node.type === 'comment')\n\t{\n\t\treturn document.createComment(node.content);\n\t}\n\n\tif (node.type === 'text')\n\t{\n\t\tif (parentElement)\n\t\t{\n\t\t\tif (parentElement.nodeName !== 'TEMPLATE')\n\t\t\t{\n\t\t\t\tparentElement.insertAdjacentHTML('beforeend', node.content);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tparentElement.content.append(node.content);\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\n\t\treturn document.createTextNode(node.content);\n\t}\n\n\tif (node.type === 'placeholder')\n\t{\n\t\treturn substitutions[node.uid - 1];\n\t}\n};","import Type from '../type';\nimport parse from './internal/parse';\nimport renderNode from './internal/render-node';\n\nexport default function render(sections: Array<string>, ...substitutions: Array<any>): HTMLElement | Array<HTMLElement>\n{\n\tconst html = sections\n\t\t.reduce((acc, item, index) => {\n\t\t\tif (index > 0)\n\t\t\t{\n\t\t\t\tconst substitution = substitutions[index - 1];\n\t\t\t\tif (Type.isString(substitution) || Type.isNumber(substitution))\n\t\t\t\t{\n\t\t\t\t\treturn `${acc}${substitution}${item}`;\n\t\t\t\t}\n\n\t\t\t\treturn `${acc}{{uid${index}}}${item}`;\n\t\t\t}\n\n\t\t\treturn acc;\n\t\t}, sections[0])\n\t\t.replace(/^[\\r\\n\\t\\s]+/gm, '')\n\t\t.replace(/>[\\n]+/g, '>')\n\t\t.replace(/[}][\\n]+/g, '}');\n\n\tconst ast = parse(html);\n\n\tif (ast.length === 1)\n\t{\n\t\tconst refs = [];\n\t\tconst renderedNode = renderNode({\n\t\t\tnode: ast[0],\n\t\t\tsubstitutions,\n\t\t\trefs,\n\t\t});\n\n\t\tif (Type.isArrayFilled(refs))\n\t\t{\n\t\t\treturn Object.fromEntries([['root', renderedNode], ...refs]);\n\t\t}\n\n\t\treturn renderedNode;\n\t}\n\n\tif (ast.length > 1)\n\t{\n\t\tconst refs = [];\n\t\tconst renderedNodes = ast.map((node) => {\n\t\t\treturn renderNode({\n\t\t\t\tnode,\n\t\t\t\tsubstitutions,\n\t\t\t\trefs,\n\t\t\t});\n\t\t});\n\n\t\tif (Type.isArrayFilled(refs))\n\t\t{\n\t\t\treturn Object.fromEntries([['root', renderedNodes], ...refs]);\n\t\t}\n\n\t\treturn renderedNodes;\n\t}\n\n\treturn false;\n}","import Type from './type';\nimport Dom from './dom';\nimport Loc from './loc';\nimport Text from './text';\nimport render from './tag/render';\n\nfunction parseProps(sections: string[], ...substitutions: string[]): {[key: string]: string}\n{\n\treturn substitutions\n\t\t.reduce((acc, item, index) => {\n\t\t\tconst nextSectionIndex = index + 1;\n\n\t\t\tif (!Type.isPlainObject(item) && !Type.isArray(item))\n\t\t\t{\n\t\t\t\treturn acc + item + sections[nextSectionIndex];\n\t\t\t}\n\n\t\t\treturn `${acc}__s${index}${sections[nextSectionIndex]}`;\n\t\t}, sections[0])\n\t\t.replace(/[\\r\\t]/gm, '')\n\t\t.split(';\\n')\n\t\t.map(item => item.replace(/\\n/, ''))\n\t\t.reduce((acc, item) => {\n\t\t\tif (item !== '')\n\t\t\t{\n\t\t\t\tconst matches = item.match(/^[\\w-. ]+:/);\n\t\t\t\tconst splitted = item.split(/^[\\w-. ]+:/);\n\t\t\t\tconst key = matches[0].replace(':', '').trim();\n\t\t\t\tconst value = splitted[1].trim();\n\t\t\t\tconst substitutionPlaceholderExp = /^__s\\d+/;\n\n\t\t\t\tif (substitutionPlaceholderExp.test(value))\n\t\t\t\t{\n\t\t\t\t\tacc[key] = substitutions[value.replace('__s', '')];\n\t\t\t\t\treturn acc;\n\t\t\t\t}\n\n\t\t\t\tacc[key] = value;\n\t\t\t}\n\n\t\t\treturn acc;\n\t\t}, {});\n}\n\n/**\n * @memberOf BX\n */\nexport default class Tag\n{\n\t/**\n\t * Encodes all substitutions\n\t * @param sections\n\t * @param substitutions\n\t * @return {string}\n\t */\n\tstatic safe(sections: string[], ...substitutions: string[])\n\t{\n\t\treturn substitutions.reduce((acc, item, index) => (\n\t\t\tacc + Text.encode(item) + sections[index + 1]\n\t\t), sections[0]);\n\t}\n\n\t/**\n\t * Decodes all substitutions\n\t * @param sections\n\t * @param substitutions\n\t * @return {string}\n\t */\n\tstatic unsafe(sections, ...substitutions)\n\t{\n\t\treturn substitutions.reduce((acc, item, index) => (\n\t\t\tacc + Text.decode(item) + sections[index + 1]\n\t\t), sections[0]);\n\t}\n\n\t/**\n\t * Adds styles to specified element\n\t * @param {HTMLElement} element\n\t * @return {Function}\n\t */\n\tstatic style(element: HTMLElement): Function\n\t{\n\t\tif (!Type.isDomNode(element))\n\t\t{\n\t\t\tthrow new Error('element is not HTMLElement');\n\t\t}\n\n\t\treturn function styleTagHandler(...args) {\n\t\t\tDom.style(element, parseProps(...args));\n\t\t};\n\t}\n\n\t/**\n\t * Replace all messages identifiers to real messages\n\t * @param sections\n\t * @param substitutions\n\t * @return {string}\n\t */\n\tstatic message(sections: string[], ...substitutions: string[]): string\n\t{\n\t\treturn substitutions.reduce((acc, item, index) => (\n\t\t\tacc + Loc.getMessage(item) + sections[index + 1]\n\t\t), sections[0]);\n\t}\n\n\tstatic render = render;\n\n\t/**\n\t * Adds attributes to specified element\n\t * @param element\n\t * @return {Function}\n\t */\n\tstatic attrs(element: HTMLElement)\n\t{\n\t\tif (!Type.isDomNode(element))\n\t\t{\n\t\t\tthrow new Error('element is not HTMLElement');\n\t\t}\n\n\t\treturn function attrsTagHandler(...args): string {\n\t\t\tDom.attr(element, parseProps(...args));\n\t\t};\n\t}\n\n\tstatic attr = Tag.attrs;\n}","import Type from '../type';\n\nfunction getParser(format)\n{\n\tswitch (format)\n\t{\n\t\tcase 'index':\n\t\t\treturn (sourceKey, value, accumulator) => {\n\t\t\t\tconst result = /\\[(\\w*)\\]$/.exec(sourceKey);\n\t\t\t\tconst key = sourceKey.replace(/\\[\\w*\\]$/, '');\n\n\t\t\t\tif (Type.isNil(result))\n\t\t\t\t{\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (Type.isUndefined(accumulator[key]))\n\t\t\t\t{\n\t\t\t\t\taccumulator[key] = {};\n\t\t\t\t}\n\n\t\t\t\taccumulator[key][result[1]] = value;\n\t\t\t};\n\t\tcase 'bracket':\n\t\t\treturn (sourceKey, value, accumulator) => {\n\t\t\t\tconst result = /(\\[\\])$/.exec(sourceKey);\n\t\t\t\tconst key = sourceKey.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (Type.isNil(result))\n\t\t\t\t{\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (Type.isUndefined(accumulator[key]))\n\t\t\t\t{\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\t\tdefault:\n\t\t\treturn (sourceKey, value, accumulator) => {\n\t\t\t\tconst key = sourceKey.replace(/\\[\\]$/, '');\n\t\t\t\taccumulator[key] = value;\n\t\t\t};\n\t}\n}\n\nfunction getKeyFormat(key)\n{\n\tif (/^\\w+\\[([\\w]+)\\]$/.test(key))\n\t{\n\t\treturn 'index';\n\t}\n\n\tif (/^\\w+\\[\\]$/.test(key))\n\t{\n\t\treturn 'bracket';\n\t}\n\n\treturn 'default';\n}\n\nfunction isAllowedKey(key: string): boolean\n{\n\treturn !String(key).startsWith('__proto__');\n}\n\nfunction parseQuery(input)\n{\n\tif (!Type.isString(input))\n\t{\n\t\treturn {};\n\t}\n\n\tconst url = input.trim().replace(/^[?#&]/, '');\n\n\tif (!url)\n\t{\n\t\treturn {};\n\t}\n\n\treturn {\n\t\t...url.split('&')\n\t\t\t.reduce((acc, param) => {\n\t\t\t\tconst [key, value] = param.replace(/\\+/g, ' ').split('=');\n\t\t\t\tif (isAllowedKey(key))\n\t\t\t\t{\n\t\t\t\t\tconst keyFormat = getKeyFormat(key);\n\t\t\t\t\tconst formatter = getParser(keyFormat);\n\t\t\t\t\tformatter(key, value, acc);\n\t\t\t\t}\n\t\t\t\treturn acc;\n\t\t\t}, Object.create(null)),\n\t};\n}\n\nconst urlExp = /^((\\w+):)?(\\/\\/((\\w+)?(:(\\w+))?@)?([^\\/\\?:]+)(:(\\d+))?)?(\\/?([^\\/\\?#][^\\?#]*)?)?(\\?([^#]+))?(#(\\w*))?/;\n\nexport default function parseUrl(url)\n{\n\tconst result = url.match(urlExp);\n\n\tif (Type.isArray(result))\n\t{\n\t\tconst queryParams = parseQuery(result[14]);\n\n\t\treturn {\n\t\t\tuseShort: /^\\/\\//.test(url),\n\t\t\thref: result[0] || '',\n\t\t\tschema: result[2] || '',\n\t\t\thost: result[8] || '',\n\t\t\tport: result[10] || '',\n\t\t\tpath: result[11] || '',\n\t\t\tquery: result[14] || '',\n\t\t\tqueryParams,\n\t\t\thash: result[16] || '',\n\t\t\tusername: result[5] || '',\n\t\t\tpassword: result[7] || '',\n\t\t\torigin: result[8] || '',\n\t\t};\n\t}\n\n\treturn {};\n}","import Type from '../type';\n\nexport default function buildQueryString(params = {})\n{\n\tconst queryString = Object.keys(params)\n\t\t.reduce((acc, key) => {\n\t\t\tif (Type.isArray(params[key]))\n\t\t\t{\n\t\t\t\tparams[key].forEach((paramValue) => {\n\t\t\t\t\tacc.push(`${key}[]=${paramValue}`);\n\t\t\t\t}, '');\n\t\t\t}\n\n\t\t\tif (Type.isPlainObject(params[key]))\n\t\t\t{\n\t\t\t\tObject.keys(params[key]).forEach((paramIndex) => {\n\t\t\t\t\tacc.push(`${key}[${paramIndex}]=${params[key][paramIndex]}`);\n\t\t\t\t}, '');\n\t\t\t}\n\n\t\t\tif (!Type.isObject(params[key]) && !Type.isArray(params[key]))\n\t\t\t{\n\t\t\t\tacc.push(`${key}=${params[key]}`);\n\t\t\t}\n\n\t\t\treturn acc;\n\t\t}, []).join('&');\n\n\tif (queryString.length > 0)\n\t{\n\t\treturn `?${queryString}`;\n\t}\n\n\treturn queryString;\n}","import Type from '../type';\n\nexport default function prepareParamValue(value)\n{\n\tif (Type.isArray(value))\n\t{\n\t\treturn value.map(item => String(item));\n\t}\n\n\tif (Type.isPlainObject(value))\n\t{\n\t\treturn {...value};\n\t}\n\n\treturn String(value);\n}","import parseUrl from './uri/parse-url';\nimport buildQueryString from './uri/build-query-string';\nimport prepareParamValue from './uri/prepare-param-value';\nimport Type from './type';\n\nconst map = new WeakMap();\n\n/**\n * Implements interface for works with URI\n * @memberOf BX\n */\nexport default class Uri\n{\n\tstatic addParam(url: string, params = {}): string\n\t{\n\t\treturn (new Uri(url)).setQueryParams(params).toString();\n\t}\n\n\tstatic removeParam(url: string, params: Array<string> | string): string\n\t{\n\t\tconst removableParams = Type.isArray(params) ? params : [params];\n\t\treturn (new Uri(url)).removeQueryParam(...removableParams).toString();\n\t}\n\n\tconstructor(url = '')\n\t{\n\t\tmap.set(this, parseUrl(url));\n\t}\n\n\t/**\n\t * Gets schema\n\t * @return {?string}\n\t */\n\tgetSchema()\n\t{\n\t\treturn map.get(this).schema;\n\t}\n\n\t/**\n\t * Sets schema\n\t * @param {string} schema\n\t * @return {Uri}\n\t */\n\tsetSchema(schema)\n\t{\n\t\tmap.get(this).schema = String(schema);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Gets host\n\t * @return {?string}\n\t */\n\tgetHost()\n\t{\n\t\treturn map.get(this).host;\n\t}\n\n\t/**\n\t * Sets host\n\t * @param {string} host\n\t * @return {Uri}\n\t */\n\tsetHost(host)\n\t{\n\t\tmap.get(this).host = String(host);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Gets port\n\t * @return {?string}\n\t */\n\tgetPort()\n\t{\n\t\treturn map.get(this).port;\n\t}\n\n\t/**\n\t * Sets port\n\t * @param {String | Number} port\n\t * @return {Uri}\n\t */\n\tsetPort(port)\n\t{\n\t\tmap.get(this).port = String(port);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Gets path\n\t * @return {?string}\n\t */\n\tgetPath()\n\t{\n\t\treturn map.get(this).path;\n\t}\n\n\t/**\n\t * Sets path\n\t * @param {string} path\n\t * @return {Uri}\n\t */\n\tsetPath(path)\n\t{\n\t\tif (!/^\\//.test(path))\n\t\t{\n\t\t\tmap.get(this).path = `/${String(path)}`;\n\t\t\treturn this;\n\t\t}\n\n\t\tmap.get(this).path = String(path);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Gets query\n\t * @return {?string}\n\t */\n\tgetQuery()\n\t{\n\t\treturn buildQueryString(map.get(this).queryParams);\n\t}\n\n\t/**\n\t * Gets query param value by name\n\t * @param {string} key\n\t * @return {?string}\n\t */\n\tgetQueryParam(key)\n\t{\n\t\tconst params = this.getQueryParams();\n\n\t\tif (Object.hasOwn(params, key))\n\t\t{\n\t\t\treturn params[key];\n\t\t}\n\n\t\treturn null;\n\t}\n\n\t/**\n\t * Sets query param\n\t * @param {string} key\n\t * @param [value]\n\t * @return {Uri}\n\t */\n\tsetQueryParam(key, value = '')\n\t{\n\t\tmap.get(this).queryParams[key] = prepareParamValue(value);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Gets query params\n\t * @return {Object<string, any>}\n\t */\n\tgetQueryParams()\n\t{\n\t\treturn {...map.get(this).queryParams};\n\t}\n\n\t/**\n\t * Sets query params\n\t * @param {Object<string, any>} params\n\t * @return {Uri}\n\t */\n\tsetQueryParams(params = {})\n\t{\n\t\tconst currentParams = this.getQueryParams();\n\t\tconst newParams = {...currentParams, ...params};\n\n\t\tObject.keys(newParams).forEach((key) => {\n\t\t\tnewParams[key] = prepareParamValue(newParams[key]);\n\t\t});\n\n\t\tmap.get(this).queryParams = newParams;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Removes query params by name\n\t * @param keys\n\t * @return {Uri}\n\t */\n\tremoveQueryParam(...keys)\n\t{\n\t\tconst currentParams = {...map.get(this).queryParams};\n\n\t\tkeys.forEach((key) => {\n\t\t\tif (Object.hasOwn(currentParams, key))\n\t\t\t{\n\t\t\t\tdelete currentParams[key];\n\t\t\t}\n\t\t});\n\n\t\tmap.get(this).queryParams = currentParams;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Gets fragment\n\t * @return {?string}\n\t */\n\tgetFragment()\n\t{\n\t\treturn map.get(this).hash;\n\t}\n\n\t/**\n\t * Sets fragment\n\t * @param {string} hash\n\t * @return {Uri}\n\t */\n\tsetFragment(hash)\n\t{\n\t\tmap.get(this).hash = String(hash);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Serializes URI\n\t * @return {Object}\n\t */\n\tserialize()\n\t{\n\t\tconst serialized = {...map.get(this)};\n\t\tserialized.href = this.toString();\n\t\treturn serialized;\n\t}\n\n\t/**\n\t * Gets URI string\n\t * @return {string}\n\t */\n\ttoString()\n\t{\n\t\tconst data = {...map.get(this)};\n\n\t\tlet protocol = data.schema ? `${data.schema}://` : '';\n\n\t\tif (data.useShort)\n\t\t{\n\t\t\tprotocol = '//';\n\t\t}\n\n\t\tconst port = (() => {\n\t\t\tif (Type.isString(data.port) && !['', '80'].includes(data.port))\n\t\t\t{\n\t\t\t\treturn `:${data.port}`;\n\t\t\t}\n\n\t\t\treturn '';\n\t\t})();\n\n\t\tconst host = this.getHost();\n\t\tconst path = this.getPath();\n\t\tconst query = buildQueryString(data.queryParams);\n\t\tconst hash = data.hash ? `#${data.hash}` : '';\n\n\t\treturn `${host ? protocol : ''}${host}${host ? port : ''}${path}${query}${hash}`;\n\t}\n}\n","/**\n * @memberOf BX\n */\nexport default class Validation\n{\n\t/**\n\t * Checks that value is valid email\n\t * @param value\n\t * @return {boolean}\n\t */\n\tstatic isEmail(value)\n\t{\n\t\tconst exp = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;\n\t\treturn exp.test(String(value).toLowerCase());\n\t}\n}","import Type from '../type';\n\nexport default class BaseCache<T>\n{\n\t/**\n\t * @private\n\t */\n\tstorage: Map<string, T> = new Map();\n\n\t/**\n\t * Gets cached value or default value\n\t */\n\tget(key: string, defaultValue?: T | () => T): T\n\t{\n\t\tif (!this.storage.has(key))\n\t\t{\n\t\t\tif (Type.isFunction(defaultValue))\n\t\t\t{\n\t\t\t\treturn defaultValue();\n\t\t\t}\n\n\t\t\tif (!Type.isUndefined(defaultValue))\n\t\t\t{\n\t\t\t\treturn defaultValue;\n\t\t\t}\n\t\t}\n\n\t\treturn this.storage.get(key);\n\t}\n\n\t/**\n\t * Sets cache entry\n\t */\n\tset(key: string, value: T)\n\t{\n\t\tthis.storage.set(key, value);\n\t}\n\n\t/**\n\t * Deletes cache entry\n\t */\n\tdelete(key: string)\n\t{\n\t\tthis.storage.delete(key);\n\t}\n\n\t/**\n\t * Checks that storage contains entry with specified key\n\t */\n\thas(key: string): boolean\n\t{\n\t\treturn this.storage.has(key);\n\t}\n\n\t/**\n\t * Gets cached value if exists,\n\t */\n\tremember(key: string, defaultValue?: T | () => T): T\n\t{\n\t\tif (!this.storage.has(key))\n\t\t{\n\t\t\tif (Type.isFunction(defaultValue))\n\t\t\t{\n\t\t\t\tthis.storage.set(key, defaultValue());\n\t\t\t}\n\t\t\telse if (!Type.isUndefined(defaultValue))\n\t\t\t{\n\t\t\t\tthis.storage.set(key, defaultValue);\n\t\t\t}\n\t\t}\n\n\t\treturn this.storage.get(key);\n\t}\n\n\t/**\n\t * Gets storage size\n\t */\n\tsize(): number\n\t{\n\t\treturn this.storage.size;\n\t}\n\n\t/**\n\t * Gets storage keys\n\t */\n\tkeys(): Array<string>\n\t{\n\t\treturn [...this.storage.keys()];\n\t}\n\n\t/**\n\t * Gets storage values\n\t */\n\tvalues(): Array<T>\n\t{\n\t\treturn [...this.storage.values()];\n\t}\n}\n","import BaseCache from './base-cache';\nimport MemoryStorage from './storage/memory';\n\nexport default class MemoryCache<T> extends BaseCache<T>\n{\n\t/**\n\t * @private\n\t */\n\tstorage: MemoryStorage = new MemoryStorage();\n}\n","import type {ICacheStorage} from './i-cache-storage';\nimport Type from '../../type';\n\nexport default class LsStorage implements ICacheStorage\n{\n\tstackKey = 'BX.Cache.Storage.LsStorage.stack';\n\tstack = null;\n\n\t/**\n\t * @private\n\t */\n\tgetStack(): {[key: string]: any}\n\t{\n\t\tif (Type.isPlainObject(this.stack))\n\t\t{\n\t\t\treturn this.stack;\n\t\t}\n\n\t\tconst stack = localStorage.getItem(this.stackKey);\n\n\t\tif (Type.isString(stack) && stack !== '')\n\t\t{\n\t\t\tconst parsedStack = JSON.parse(stack);\n\n\t\t\tif (Type.isPlainObject(parsedStack))\n\t\t\t{\n\t\t\t\tthis.stack = parsedStack;\n\t\t\t\treturn this.stack;\n\t\t\t}\n\t\t}\n\n\t\tthis.stack = {};\n\t\treturn this.stack;\n\t}\n\n\t/**\n\t * @private\n\t */\n\tsaveStack()\n\t{\n\t\tif (Type.isPlainObject(this.stack))\n\t\t{\n\t\t\tconst preparedStack = JSON.stringify(this.stack);\n\t\t\tlocalStorage.setItem(this.stackKey, preparedStack);\n\t\t}\n\t}\n\n\tget(key: string)\n\t{\n\t\tconst stack = this.getStack();\n\t\treturn stack[key];\n\t}\n\n\tset(key: string, value: any)\n\t{\n\t\tconst stack = this.getStack();\n\t\tstack[key] = value;\n\t\tthis.saveStack();\n\t}\n\n\tdelete(key: string)\n\t{\n\t\tconst stack = this.getStack();\n\n\t\tif (key in stack)\n\t\t{\n\t\t\tdelete stack[key];\n\t\t}\n\t}\n\n\thas(key: string): boolean\n\t{\n\t\tconst stack = this.getStack();\n\t\treturn key in stack;\n\t}\n\n\tget size(): number\n\t{\n\t\tconst stack = this.getStack();\n\t\treturn Object.keys(stack).length;\n\t}\n\n\tkeys(): Array<string>\n\t{\n\t\tconst stack = this.getStack();\n\t\treturn Object.keys(stack);\n\t}\n\n\tvalues(): Array<any>\n\t{\n\t\tconst stack = this.getStack();\n\t\treturn Object.values(stack);\n\t}\n}","import BaseCache from './base-cache';\nimport LsCacheStorage from './storage/ls-storage';\n\nexport default class LocalStorageCache<T> extends BaseCache<T>\n{\n\t/**\n\t * @private\n\t */\n\tstorage: LsCacheStorage = new LsCacheStorage();\n}\n","import BaseCache from './cache/base-cache';\nimport MemoryCache from './cache/memory-cache';\nimport LocalStorageCache from './cache/local-storage-cache';\n\n/**\n * @memberOf BX\n */\nexport default class Cache\n{\n\tstatic BaseCache: BaseCache = BaseCache;\n\tstatic MemoryCache: MemoryCache = MemoryCache;\n\tstatic LocalStorageCache: LocalStorageCache = LocalStorageCache;\n}\n","import Type from '../../type';\n\nexport default function convertPath(path: string): Array<string>\n{\n\tif (Type.isStringFilled(path))\n\t{\n\t\treturn path\n\t\t\t.split('.')\n\t\t\t.reduce((acc, item) => {\n\t\t\t\titem\n\t\t\t\t\t.split(/\\[['\"]?(.+?)['\"]?\\]/g)\n\t\t\t\t\t.forEach((key) => {\n\t\t\t\t\t\tif (Type.isStringFilled(key))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tacc.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\treturn acc;\n\t\t\t}, []);\n\t}\n\n\treturn [];\n}","import Type from '../../type';\nimport convertPath from './convert-path';\n\nexport default class SettingsCollection\n{\n\tconstructor(options: {[key: string]: any} = {})\n\t{\n\t\tif (Type.isPlainObject(options))\n\t\t{\n\t\t\tObject.assign(this, options);\n\t\t}\n\t}\n\n\tget(path: string, defaultValue: any = null)\n\t{\n\t\tconst convertedPath = convertPath(path);\n\n\t\treturn convertedPath.reduce((acc, key) => {\n\t\t\tif (!Type.isNil(acc) && acc !== defaultValue)\n\t\t\t{\n\t\t\t\tif (!Type.isUndefined(acc[key]))\n\t\t\t\t{\n\t\t\t\t\treturn acc[key];\n\t\t\t\t}\n\n\t\t\t\treturn defaultValue;\n\t\t\t}\n\n\t\t\treturn acc;\n\t\t}, this);\n\t}\n}","import Type from '../../type';\n\nexport default function deepFreeze(target: {[key: string]: any})\n{\n\tif (Type.isObject(target))\n\t{\n\t\tObject.values(target).forEach((value) => {\n\t\t\tdeepFreeze(value);\n\t\t});\n\n\t\treturn Object.freeze(target);\n\t}\n\n\treturn target;\n}","import Type from '../type';\nimport SettingsCollection from './internal/settings-collection';\nimport deepFreeze from './internal/deep-freeze';\n\nconst settingsStorage = new Map();\n\nexport default class Extension\n{\n\tstatic getSettings(extensionName: string)\n\t{\n\t\tif (Type.isStringFilled(extensionName))\n\t\t{\n\t\t\tif (settingsStorage.has(extensionName))\n\t\t\t{\n\t\t\t\treturn settingsStorage.get(extensionName);\n\t\t\t}\n\n\t\t\tconst settingsScriptNode = document.querySelector(\n\t\t\t\t`script[data-extension=\"${extensionName}\"]`,\n\t\t\t);\n\t\t\tif (Type.isDomNode(settingsScriptNode))\n\t\t\t{\n\t\t\t\tconst decodedSettings = (() => {\n\t\t\t\t\ttry\n\t\t\t\t\t{\n\t\t\t\t\t\treturn new SettingsCollection(\n\t\t\t\t\t\t\tJSON.parse(settingsScriptNode.innerHTML),\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tcatch (error)\n\t\t\t\t\t{\n\t\t\t\t\t\treturn new SettingsCollection();\n\t\t\t\t\t}\n\t\t\t\t})();\n\n\t\t\t\tconst frozenSettings = deepFreeze(decodedSettings);\n\t\t\t\tsettingsStorage.set(extensionName, frozenSettings);\n\n\t\t\t\treturn frozenSettings;\n\t\t\t}\n\t\t}\n\n\t\treturn deepFreeze(new SettingsCollection());\n\t}\n}\n","import Type from '../type';\n\nexport default class OrderedArray<T>\n{\n\tcomparator: Function = null;\n\titems: Array<T> = [];\n\n\tconstructor(comparator: Function = null)\n\t{\n\t\tthis.comparator = Type.isFunction(comparator) ? comparator : null;\n\t}\n\n\tadd(item: T): number\n\t{\n\t\tlet index = -1;\n\t\tif (this.comparator)\n\t\t{\n\t\t\tindex = this.#searchIndexToInsert(item);\n\t\t\tthis.items.splice(index, 0, item);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tthis.items.push(item);\n\t\t}\n\n\t\treturn index;\n\t}\n\n\thas(item: T): boolean\n\t{\n\t\treturn this.items.includes(item);\n\t}\n\n\tgetIndex(item: T): number\n\t{\n\t\treturn this.items.indexOf(item);\n\t}\n\n\tgetByIndex(index: number): ?T\n\t{\n\t\tif (Type.isNumber(index) && index >= 0)\n\t\t{\n\t\t\tconst item = this.items[index];\n\t\t\treturn Type.isUndefined(item) ? null : item;\n\t\t}\n\n\t\treturn null;\n\t}\n\n\tgetFirst(): ?T\n\t{\n\t\tconst first = this.items[0];\n\n\t\treturn Type.isUndefined(first) ? null : first;\n\t}\n\n\tgetLast(): ?T\n\t{\n\t\tconst last = this.items[this.count() - 1];\n\n\t\treturn Type.isUndefined(last) ? null : last;\n\t}\n\n\tcount(): number\n\t{\n\t\treturn this.items.length;\n\t}\n\n\tdelete(item: T): boolean\n\t{\n\t\tconst index = this.getIndex(item);\n\t\tif (index !== -1)\n\t\t{\n\t\t\tthis.items.splice(index, 1);\n\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t}\n\n\tclear(): void\n\t{\n\t\tthis.items = [];\n\t}\n\n\t[Symbol.iterator]()\n\t{\n\t\treturn this.items[Symbol.iterator]();\n\t}\n\n\tforEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void\n\t{\n\t\treturn this.items.forEach(callbackfn, thisArg);\n\t}\n\n\tgetAll(): Array<T>\n\t{\n\t\treturn this.items;\n\t}\n\n\tgetComparator(): ?Function\n\t{\n\t\treturn this.comparator;\n\t}\n\n\tsort(): void\n\t{\n\t\tconst comparator = this.getComparator();\n\t\tif (comparator === null)\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\t/*\n\t\tSimple implementation\n\t\tthis.items.sort((item1, item2) => {\n\t\t\treturn comparator(item1, item2);\n\t\t});\n\t\t*/\n\n\t\t// For stable sorting https://v8.dev/features/stable-sort\n\t\tconst length = this.items.length;\n\t\tconst indexes = new Array(length);\n\t\tfor (let i = 0; i < length; i++)\n\t\t{\n\t\t\tindexes[i] = i;\n\t\t}\n\n\t\t// If the comparator returns zero, use the original indexes\n\t\tindexes.sort((index1, index2) => {\n\t\t\treturn comparator(this.items[index1], this.items[index2]) || (index1 - index2);\n\t\t});\n\n\t\tfor (let i = 0; i < length; i++)\n\t\t{\n\t\t\tindexes[i] = this.items[indexes[i]];\n\t\t}\n\n\t\tfor (let i = 0; i < length; i++)\n\t\t{\n\t\t\tthis.items[i] = indexes[i];\n\t\t}\n\t}\n\n\t#searchIndexToInsert(value: T): number\n\t{\n\t\tlet low = 0;\n\t\tlet high = this.items.length;\n\t\twhile (low < high)\n\t\t{\n\t\t\tconst mid = Math.floor((low + high) / 2);\n\t\t\tif (this.comparator(this.items[mid], value) >= 0)\n\t\t\t{\n\t\t\t\thigh = mid;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tlow = mid + 1;\n\t\t\t}\n\t\t}\n\n\t\treturn low;\n\t}\n}","import Type from '../type';\nimport EventEmitter from '../event/event-emitter';\n\nimport type ZIndexStack from './z-index-stack';\nimport type { ZIndexComponentOptions } from './z-index-component-options';\n\nexport default class ZIndexComponent extends EventEmitter\n{\n\tsort: number = 0;\n\talwaysOnTop: boolean | number = false;\n\tzIndex: number = 0;\n\telement: HTMLElement = null;\n\toverlay: HTMLElement = null;\n\toverlayGap: number = -5;\n\tstack: ZIndexStack = null;\n\n\tconstructor(element: HTMLElement, componentOptions: ZIndexComponentOptions = {})\n\t{\n\t\tsuper();\n\t\tthis.setEventNamespace('BX.Main.ZIndexManager.Component');\n\n\t\tif (!Type.isElementNode(element))\n\t\t{\n\t\t\tthrow new Error('ZIndexManager.Component: The argument \\'element\\' must be a DOM element.');\n\t\t}\n\n\t\tthis.element = element;\n\n\t\tconst options = Type.isPlainObject(componentOptions) ? componentOptions : {};\n\n\t\tthis.setAlwaysOnTop(options.alwaysOnTop);\n\t\tthis.setOverlay(options.overlay);\n\t\tthis.setOverlayGap(options.overlayGap);\n\n\t\tthis.subscribeFromOptions(options.events);\n\t}\n\n\tgetSort(): number\n\t{\n\t\treturn this.sort;\n\t}\n\n\t/**\n\t * @internal\n\t * @param sort\n\t */\n\tsetSort(sort: number): void\n\t{\n\t\tif (Type.isNumber(sort))\n\t\t{\n\t\t\tthis.sort = sort;\n\t\t}\n\t}\n\n\t/**\n\t * @internal\n\t * @param stack\n\t */\n\tsetStack(stack: ZIndexStack): void\n\t{\n\t\tthis.stack = stack;\n\t}\n\n\tgetStack(): ?ZIndexStack\n\t{\n\t\treturn this.stack;\n\t}\n\n\tgetZIndex(): number\n\t{\n\t\treturn this.zIndex;\n\t}\n\n\t/**\n\t * @internal\n\t */\n\tsetZIndex(zIndex: number): void\n\t{\n\t\tconst changed = this.getZIndex() !== zIndex;\n\n\t\tthis.getElement().style.setProperty('z-index', zIndex, 'important');\n\t\tthis.zIndex = zIndex;\n\n\t\tif (this.getOverlay() !== null)\n\t\t{\n\t\t\tthis.getOverlay().style.setProperty('z-index', zIndex + this.getOverlayGap(), 'important');\n\t\t}\n\n\t\tif (changed)\n\t\t{\n\t\t\tthis.emit('onZIndexChange', { component: this });\n\t\t}\n\t}\n\n\tgetAlwaysOnTop(): boolean | number\n\t{\n\t\treturn this.alwaysOnTop;\n\t}\n\n\tsetAlwaysOnTop(value: boolean | number): void\n\t{\n\t\tif (Type.isNumber(value) || Type.isBoolean(value))\n\t\t{\n\t\t\tthis.alwaysOnTop = value;\n\t\t}\n\t}\n\n\tgetElement(): HTMLElement\n\t{\n\t\treturn this.element;\n\t}\n\n\tsetOverlay(overlay: HTMLElement, gap?: number): void\n\t{\n\t\tif (Type.isElementNode(overlay) || overlay === null)\n\t\t{\n\t\t\tthis.overlay = overlay;\n\t\t\tthis.setOverlayGap(gap);\n\n\t\t\tif (this.getStack())\n\t\t\t{\n\t\t\t\tthis.getStack().sort();\n\t\t\t}\n\t\t}\n\t}\n\n\tgetOverlay(): ?HTMLElement\n\t{\n\t\treturn this.overlay;\n\t}\n\n\tsetOverlayGap(gap: number): void\n\t{\n\t\tif (Type.isNumber(gap))\n\t\t{\n\t\t\tthis.overlayGap = gap;\n\t\t}\n\t}\n\n\tgetOverlayGap(): number\n\t{\n\t\treturn this.overlayGap;\n\t}\n}","import Type from '../type';\nimport OrderedArray from '../collections/ordered-array';\nimport ZIndexComponent from './z-index-component';\nimport type { ZIndexComponentOptions } from './z-index-component-options';\n\nexport default class ZIndexStack\n{\n\tcontainer: HTMLElement = null;\n\tcomponents: OrderedArray<ZIndexComponent> = null;\n\telements: WeakMap<HTMLElement, ZIndexComponent> = new WeakMap();\n\n\tbaseIndex: number = 1000;\n\tbaseStep: number = 50;\n\tsortCount: number = 0;\n\n\tconstructor(container: HTMLElement)\n\t{\n\t\tif (!Type.isDomNode(container))\n\t\t{\n\t\t\tthrow new Error('ZIndexManager.Stack: The \\'container\\' argument must be a DOM element.');\n\t\t}\n\n\t\tthis.container = container;\n\n\t\tconst comparator = (componentA: ZIndexComponent, componentB: ZIndexComponent) => {\n\t\t\tlet result = (componentA.getAlwaysOnTop() || 0) - (componentB.getAlwaysOnTop() || 0);\n\t\t\tif (!result)\n\t\t\t{\n\t\t\t\tresult = componentA.getSort() - componentB.getSort();\n\t\t\t}\n\n\t\t\treturn result;\n\t\t};\n\n\t\tthis.components = new OrderedArray(comparator);\n\t}\n\n\tgetBaseIndex(): number\n\t{\n\t\treturn this.baseIndex;\n\t}\n\n\tsetBaseIndex(index: number): void\n\t{\n\t\tif (Type.isNumber(index) && index >= 0)\n\t\t{\n\t\t\tthis.baseIndex = index;\n\t\t\tthis.sort();\n\t\t}\n\t}\n\n\tsetBaseStep(step: number): void\n\t{\n\t\tif (Type.isNumber(step) && step > 0)\n\t\t{\n\t\t\tthis.baseStep = step;\n\t\t\tthis.sort();\n\t\t}\n\t}\n\n\tgetBaseStep(): number\n\t{\n\t\treturn this.baseStep;\n\t}\n\n\tregister(element: HTMLElement, options: ZIndexComponentOptions = {}): ZIndexComponent\n\t{\n\t\tif (this.getComponent(element))\n\t\t{\n\t\t\tconsole.warn('ZIndexManager: You cannot register the element twice.', element);\n\n\t\t\treturn this.getComponent(element);\n\t\t}\n\n\t\tconst component = new ZIndexComponent(element, options);\n\t\tcomponent.setStack(this);\n\t\tcomponent.setSort(++this.sortCount);\n\n\t\tthis.elements.set(element, component);\n\t\tthis.components.add(component);\n\n\t\tthis.sort();\n\n\t\treturn component;\n\t}\n\n\tunregister(element: HTMLElement): void\n\t{\n\t\tconst component = this.elements.get(element);\n\n\t\tthis.components.delete(component);\n\t\tthis.elements.delete(element);\n\n\t\tthis.sort();\n\t}\n\n\tgetComponent(element: HTMLElement): ?ZIndexComponent\n\t{\n\t\treturn this.elements.get(element) || null;\n\t}\n\n\tgetComponents(): ZIndexComponent[]\n\t{\n\t\treturn this.components.getAll();\n\t}\n\n\tgetMaxZIndex(): number\n\t{\n\t\tconst last = this.components.getLast();\n\n\t\treturn last ? last.getZIndex() : this.baseIndex;\n\t}\n\n\tsort(): void\n\t{\n\t\tthis.components.sort();\n\n\t\tlet zIndex = this.baseIndex;\n\t\tthis.components.forEach((component: ZIndexComponent) => {\n\t\t\tcomponent.setZIndex(zIndex);\n\t\t\tzIndex += this.baseStep;\n\t\t});\n\t}\n\n\tbringToFront(element: HTMLElement): ?ZIndexComponent\n\t{\n\t\tconst component = this.getComponent(element);\n\t\tif (!component)\n\t\t{\n\t\t\tconsole.error('ZIndexManager: element was not found in the stack.', element);\n\t\t\treturn null;\n\t\t}\n\n\t\tcomponent.setSort(++this.sortCount);\n\n\t\tthis.sort();\n\n\t\treturn component;\n\t}\n}","import Type from '../type';\nimport ZIndexStack from './z-index-stack';\nimport type ZIndexComponent from './z-index-component';\nimport type { ZIndexComponentOptions } from './z-index-component-options';\n\n/**\n * @memberof BX\n */\nexport default class ZIndexManager\n{\n\tstatic stacks: WeakMap<HTMLElement, ZIndexStack> = new WeakMap();\n\n\tstatic register(element: HTMLElement, options: ZIndexComponentOptions = {}): ?ZIndexComponent\n\t{\n\t\tconst parentNode = this.#getParentNode(element);\n\t\tif (!parentNode)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\n\t\tconst stack = this.getOrAddStack(parentNode);\n\n\t\treturn stack.register(element, options);\n\t}\n\n\tstatic unregister(element: HTMLElement)\n\t{\n\t\tconst parentNode = this.#getParentNode(element);\n\t\tconst stack = this.getStack(parentNode);\n\t\tif (stack)\n\t\t{\n\t\t\tstack.unregister(element);\n\t\t}\n\t}\n\n\tstatic addStack(container: HTMLElement): ZIndexStack\n\t{\n\t\tconst stack = new ZIndexStack(container);\n\t\tthis.stacks.set(container, stack);\n\n\t\treturn stack;\n\t}\n\n\tstatic getStack(container: HTMLElement): ?ZIndexStack\n\t{\n\t\treturn this.stacks.get(container) || null;\n\t}\n\n\tstatic getOrAddStack(container: HTMLElement): ?ZIndexStack\n\t{\n\t\treturn this.getStack(container) || this.addStack(container);\n\t}\n\n\tstatic getComponent(element: HTMLElement): ?ZIndexComponent\n\t{\n\t\tconst parentNode = this.#getParentNode(element, true);\n\t\tif (!parentNode)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\n\t\tconst stack = this.getStack(parentNode);\n\n\t\treturn stack ? stack.getComponent(element) : null;\n\t}\n\n\tstatic bringToFront(element: HTMLElement): ?ZIndexComponent\n\t{\n\t\tconst parentNode = this.#getParentNode(element);\n\t\tconst stack = this.getStack(parentNode);\n\n\t\tif (stack)\n\t\t{\n\t\t\treturn stack.bringToFront(element);\n\t\t}\n\n\t\treturn null;\n\t}\n\n\tstatic #getParentNode(element: HTMLElement, suppressWarnings: boolean = false): ?HTMLElement\n\t{\n\t\tif (!Type.isElementNode(element))\n\t\t{\n\t\t\tif (!suppressWarnings)\n\t\t\t{\n\t\t\t\tconsole.error('ZIndexManager: The argument \\'element\\' must be a DOM element.', element);\n\t\t\t}\n\n\t\t\treturn null;\n\t\t}\n\t\telse if (!Type.isElementNode(element.parentNode))\n\t\t{\n\t\t\tif (!suppressWarnings)\n\t\t\t{\n\t\t\t\tconsole.error('ZIndexManager: The \\'element\\' doesn\\'t have a parent node.', element);\n\t\t\t}\n\n\t\t\treturn null;\n\t\t}\n\n\t\treturn element.parentNode;\n\t}\n}","import OrderedArray from './collections/ordered-array';\nimport SettingsCollection from './extension/internal/settings-collection';\n\nexport default {\n\tOrderedArray,\n\tSettingsCollection,\n};\n","import Type from '../lib/type';\n\nexport default function getElement(element: string | HTMLElement)\n{\n\tif (Type.isString(element))\n\t{\n\t\treturn document.getElementById(element);\n\t}\n\n\treturn element;\n}","import Type from '../lib/type';\n\nexport default function getWindow(element)\n{\n\tif (Type.isElementNode(element))\n\t{\n\t\treturn (\n\t\t\telement.ownerDocument.parentWindow\n\t\t\t|| element.ownerDocument.defaultView\n\t\t\t|| window\n\t\t);\n\t}\n\n\tif (Type.isDomNode(element))\n\t{\n\t\treturn (\n\t\t\telement.parentWindow\n\t\t\t|| element.defaultView\n\t\t\t|| window\n\t\t);\n\t}\n\n\treturn window;\n}","/* eslint-disable prefer-rest-params */\n\nimport Type from './lib/type';\nimport Reflection from './lib/reflection';\nimport Dom from './lib/dom';\nimport Browser from './lib/browser';\nimport Event from './lib/event';\nimport Http from './lib/http';\nimport Runtime from './lib/runtime';\nimport Text from './lib/text';\nimport messageFunction from './lib/loc/message';\nimport * as debugNs from './lib/runtime/debug';\nimport {isReady} from './lib/event/ready';\nimport getElement from './internal/get-element';\nimport getWindow from './internal/get-window';\nimport EventEmitter from './lib/event/event-emitter';\nimport BaseEvent from './lib/event/base-event';\n\n// BX.*\nexport const {getClass, namespace} = Reflection;\nexport const message = messageFunction;\n\n/**\n * @memberOf BX\n */\nexport const {\n\treplace,\n\tremove,\n\tclean,\n\tinsertBefore,\n\tinsertAfter,\n\tappend,\n\tprepend,\n\tstyle,\n\tadjust,\n\tcreate,\n\tisShown,\n} = Dom;\n\nexport const addClass = function addClass() {\n\tDom.addClass(...Runtime.merge([], Array.from(arguments), [getElement(arguments[0])]));\n};\n\nexport const removeClass = function removeClass() {\n\tDom.removeClass(...Runtime.merge(Array.from(arguments), [getElement(arguments[0])]));\n};\n\nexport const hasClass = function hasClass() {\n\treturn Dom.hasClass(...Runtime.merge(Array.from(arguments), [getElement(arguments[0])]));\n};\n\nexport const toggleClass = function toggleClass() {\n\tDom.toggleClass(...Runtime.merge(Array.from(arguments), [getElement(arguments[0])]));\n};\n\nexport const cleanNode = (element, removeElement = false) => {\n\tconst currentElement = getElement(element);\n\n\tif (Type.isDomNode(currentElement))\n\t{\n\t\tDom.clean(currentElement);\n\n\t\tif (removeElement)\n\t\t{\n\t\t\tDom.remove(currentElement);\n\t\t\treturn currentElement;\n\t\t}\n\t}\n\n\treturn currentElement;\n};\n\nexport const getCookie = Http.Cookie.get;\nexport const setCookie = (name, value, options = {}) => {\n\tconst attributes = {...options};\n\n\tif (Type.isNumber(attributes.expires))\n\t{\n\t\tattributes.expires /= (3600 * 24);\n\t}\n\n\tHttp.Cookie.set(name, value, attributes);\n};\n\nexport const {\n\tbind,\n\tunbind,\n\tunbindAll,\n\tbindOnce,\n\tready,\n} = Event;\n\nexport {isReady};\nexport const {\n\tdebugState: debugEnableFlag,\n\tisDebugEnabled: debugStatus,\n\tdefault: debug,\n} = debugNs;\n\nexport const debugEnable = (value) => {\n\tif (value)\n\t{\n\t\tdebugNs.enableDebug();\n\t}\n\telse\n\t{\n\t\tdebugNs.disableDebug();\n\t}\n};\n\nexport const {\n\tclone,\n\tloadExtension: loadExt,\n\tdebounce,\n\tthrottle,\n\thtml,\n} = Runtime;\n\n// BX.type\nexport const type = {\n\t...Object.getOwnPropertyNames(Type)\n\t\t.filter(key => !['name', 'length', 'prototype', 'caller', 'arguments'].includes(key))\n\t\t.reduce((acc, key) => {\n\t\t\tacc[key] = Type[key];\n\t\t\treturn acc;\n\t\t}, {}),\n\tisNotEmptyString: value => Type.isString(value) && value !== '',\n\tisNotEmptyObject: value => Type.isObjectLike(value) && Object.keys(value).length > 0,\n\tisMapKey: Type.isObject,\n\tstringToInt: (value) => {\n\t\tconst parsed = parseInt(value);\n\t\treturn !Number.isNaN(parsed) ? parsed : 0;\n\t},\n};\n\n// BX.browser\nexport const browser = {\n\tIsOpera: Browser.isOpera,\n\tIsIE: Browser.isIE,\n\tIsIE6: Browser.isIE6,\n\tIsIE7: Browser.isIE7,\n\tIsIE8: Browser.isIE8,\n\tIsIE9: Browser.isIE9,\n\tIsIE10: Browser.isIE10,\n\tIsIE11: Browser.isIE11,\n\tIsSafari: Browser.isSafari,\n\tIsFirefox: Browser.isFirefox,\n\tIsChrome: Browser.isChrome,\n\tDetectIeVersion: Browser.detectIEVersion,\n\tIsMac: Browser.isMac,\n\tIsAndroid: Browser.isAndroid,\n\tisIPad: Browser.isIPad,\n\tisIPhone: Browser.isIPhone,\n\tIsIOS: Browser.isIOS,\n\tIsMobile: Browser.isMobile,\n\tisRetina: Browser.isRetina,\n\tIsDoctype: Browser.isDoctype,\n\tSupportLocalStorage: Browser.isLocalStorageSupported,\n\taddGlobalClass: Browser.addGlobalClass,\n\tDetectAndroidVersion: Browser.detectAndroidVersion,\n\tisPropertySupported: Browser.isPropertySupported,\n\taddGlobalFeatures: Browser.addGlobalFeatures,\n};\n\n// eslint-disable-next-line\nconst ajax = window.BX ? window.BX.ajax : () => {};\nexport {ajax};\n\nexport function GetWindowScrollSize(doc = document)\n{\n\treturn {\n\t\tscrollWidth: doc.documentElement.scrollWidth,\n\t\tscrollHeight: doc.documentElement.scrollHeight,\n\t};\n}\n\nexport function GetWindowScrollPos(doc = document)\n{\n\tconst win = getWindow(doc);\n\n\treturn {\n\t\tscrollLeft: win.pageXOffset,\n\t\tscrollTop: win.pageYOffset,\n\t};\n}\n\nexport function GetWindowInnerSize(doc = document)\n{\n\tconst win = getWindow(doc);\n\treturn {innerWidth: win.innerWidth, innerHeight: win.innerHeight};\n}\n\nexport function GetWindowSize(doc = document)\n{\n\treturn {\n\t\t...GetWindowInnerSize(doc),\n\t\t...GetWindowScrollPos(doc),\n\t\t...GetWindowScrollSize(doc),\n\t};\n}\n\nexport function GetContext(node)\n{\n\treturn getWindow(node);\n}\n\nexport function pos(element, relative = false)\n{\n\tif (!element)\n\t{\n\t\treturn (new DOMRect()).toJSON();\n\t}\n\n\tif (element.ownerDocument === document && !relative)\n\t{\n\t\tconst clientRect = element.getBoundingClientRect();\n\t\tconst root = document.documentElement;\n\t\tconst {body} = document;\n\n\t\treturn {\n\t\t\ttop: Math.round(clientRect.top + (root.scrollTop || body.scrollTop)),\n\t\t\tleft: Math.round(clientRect.left + (root.scrollLeft || body.scrollLeft)),\n\t\t\twidth: Math.round(clientRect.right - clientRect.left),\n\t\t\theight: Math.round(clientRect.bottom - clientRect.top),\n\t\t\tright: Math.round(clientRect.right + (root.scrollLeft || body.scrollLeft)),\n\t\t\tbottom: Math.round(clientRect.bottom + (root.scrollTop || body.scrollTop)),\n\t\t};\n\t}\n\n\tlet x = 0;\n\tlet y = 0;\n\tconst w = element.offsetWidth;\n\tconst h = element.offsetHeight;\n\tlet first = true;\n\n\t// eslint-disable-next-line no-param-reassign\n\tfor (; element != null; element = element.offsetParent)\n\t{\n\t\tif (!first && relative && BX.is_relative(element))\n\t\t{\n\t\t\tbreak;\n\t\t}\n\n\t\tx += element.offsetLeft;\n\t\ty += element.offsetTop;\n\n\t\tif (first)\n\t\t{\n\t\t\tfirst = false;\n\t\t\t// eslint-disable-next-line no-continue\n\t\t\tcontinue;\n\t\t}\n\n\t\tx += Text.toNumber(Dom.style(element, 'border-left-width'));\n\t\ty += Text.toNumber(Dom.style(element, 'border-top-width'));\n\t}\n\n\treturn (new DOMRect(x, y, w, h)).toJSON();\n}\n\nexport function addCustomEvent(eventObject, eventName, eventHandler)\n{\n\tif (Type.isString(eventObject))\n\t{\n\t\teventHandler = eventName;\n\t\teventName = eventObject;\n\t\teventObject = EventEmitter.GLOBAL_TARGET;\n\t}\n\n\tif (eventObject === window)\n\t{\n\t\teventObject = EventEmitter.GLOBAL_TARGET;\n\t}\n\n\tif (!Type.isObject(eventObject))\n\t{\n\t\tconsole.error('The \"eventObject\" argument must be an object. Received type '+ typeof(eventObject) + '.');\n\t\treturn;\n\t}\n\n\tif (!Type.isStringFilled(eventName))\n\t{\n\t\tconsole.error('The \"eventName\" argument must be a string.');\n\t\treturn;\n\t}\n\n\tif (!Type.isFunction(eventHandler))\n\t{\n\t\tconsole.error('The \"eventHandler\" argument must be a function. Received type '+ typeof(eventHandler) + '.');\n\t\treturn;\n\t}\n\n\teventName = eventName.toLowerCase();\n\n\tEventEmitter.subscribe(eventObject, eventName, eventHandler, { compatMode: true, useGlobalNaming: true });\n}\n\nexport function onCustomEvent(eventObject, eventName, eventParams, secureParams)\n{\n\tif (Type.isString(eventObject))\n\t{\n\t\tsecureParams = eventParams;\n\t\teventParams = eventName;\n\t\teventName = eventObject;\n\t\teventObject = EventEmitter.GLOBAL_TARGET;\n\t}\n\n\tif (!Type.isObject(eventObject) || eventObject === window)\n\t{\n\t\teventObject = EventEmitter.GLOBAL_TARGET;\n\t}\n\n\tif (!eventParams)\n\t{\n\t\teventParams = [];\n\t}\n\n\teventName = eventName.toLowerCase();\n\n\tconst event = new BaseEvent();\n\tevent.setData(eventParams);\n\tevent.setCompatData(eventParams);\n\n\tEventEmitter.emit(eventObject, eventName, event, { cloneData: secureParams === true, useGlobalNaming: true });\n}\n\nexport function removeCustomEvent(eventObject, eventName, eventHandler)\n{\n\tif (Type.isString(eventObject))\n\t{\n\t\teventHandler = eventName;\n\t\teventName = eventObject;\n\t\teventObject = EventEmitter.GLOBAL_TARGET;\n\t}\n\n\tif (!Type.isFunction(eventHandler))\n\t{\n\t\tconsole.error('The \"eventHandler\" argument must be a function. Received type '+ typeof(eventHandler) + '.');\n\t\treturn;\n\t}\n\n\tif (eventObject === window)\n\t{\n\t\teventObject = EventEmitter.GLOBAL_TARGET;\n\t}\n\n\teventName = eventName.toLowerCase();\n\n\tEventEmitter.unsubscribe(eventObject, eventName, eventHandler, { useGlobalNaming: true });\n}\n\nexport function removeAllCustomEvents(eventObject, eventName)\n{\n\tif (Type.isString(eventObject))\n\t{\n\t\teventName = eventObject;\n\t\teventObject = EventEmitter.GLOBAL_TARGET;\n\t}\n\n\tif (eventObject === window)\n\t{\n\t\teventObject = EventEmitter.GLOBAL_TARGET;\n\t}\n\n\teventName = eventName.toLowerCase();\n\n\tEventEmitter.unsubscribeAll(eventObject, eventName, { useGlobalNaming: true });\n}","import './internal/bx';\n\nimport Type from './lib/type';\nimport Reflection from './lib/reflection';\nimport Text from './lib/text';\nimport Dom from './lib/dom';\nimport Browser from './lib/browser';\nimport Event from './lib/event';\nimport Http from './lib/http';\nimport Runtime from './lib/runtime';\nimport Loc from './lib/loc';\nimport Tag from './lib/tag';\nimport Uri from './lib/uri';\nimport Validation from './lib/validation';\nimport Cache from './lib/cache';\nimport BaseError from './lib/base-error';\nimport Extension from './lib/extension/extension';\nimport ZIndexManager from './lib/z-index/z-index-manager';\nimport Collections from './lib/collections';\n\nexport {\n\tType,\n\tReflection,\n\tText,\n\tDom,\n\tBrowser,\n\tEvent,\n\tHttp,\n\tRuntime,\n\tLoc,\n\tTag,\n\tUri,\n\tValidation,\n\tCache,\n\tBaseError,\n\tExtension,\n\tZIndexManager,\n\tCollections,\n};\n\nexport * from './core-compatibility';\nexport type * from './lib/types/index';\n\nif (typeof global === 'object' && global.window && global.window.BX)\n{\n\tObject.assign(global.window.BX, exports);\n}\n",null,null,null,"import {Type} from 'main.core';\nimport 'main.polyfill.intersectionobserver';\n\nconst LazyLoad = {\n\tobserver: null,\n\timages: {},\n\timageStatus: {\n\t\thidden: -2,\n\t\terror: -1,\n\t\t\"undefined\": 0,\n\t\tinited: 1,\n\t\tloaded: 2\n\t},\n\timageTypes: {\n\t\timage: 1,\n\t\tbackground: 2\n\t},\n\n\tinitObserver: function()\n\t{\n\t\tthis.observer = new IntersectionObserver(this.onIntersection.bind(this), {\n\t\t\trootMargin: '20% 0% 20% 0%',\n\t\t\tthreshold: 0.10\n\t\t});\n\t},\n\n\tonIntersection: function(entries)\n\t{\n\t\tentries.forEach(function (entry) {\n\t\t\tif (entry.isIntersecting)\n\t\t\t{\n\t\t\t\tthis.showImage(entry.target);\n\t\t\t}\n\t\t}.bind(this));\n\t},\n\n\tregisterImage: function(id, isImageVisibleCallback, options)\n\t{\n\t\tif (this.observer === null)\n\t\t{\n\t\t\tthis.initObserver();\n\t\t}\n\n\t\toptions = options || {};\n\n\t\tif (!Type.isStringFilled(id))\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tif (Type.isObject(this.images[id]))\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tconst element = document.getElementById(id);\n\t\tif (!Type.isDomNode(element))\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tthis.observer.observe(element);\n\n\t\tthis.images[id] = {\n\t\t\tid: id,\n\t\t\tnode: null,\n\t\t\tsrc: null,\n\t\t\tdataSrcName: options.dataSrcName || 'src',\n\t\t\ttype: null,\n\t\t\tfunc: Type.isFunction(isImageVisibleCallback) ? isImageVisibleCallback : null,\n\t\t\tstatus: this.imageStatus.undefined\n\t\t};\n\t},\n\n\tregisterImages: function(ids, isImageVisibleCallback, options)\n\t{\n\t\tif (Type.isArray(ids))\n\t\t{\n\t\t\tfor (let i = 0, length = ids.length; i < length; i++)\n\t\t\t{\n\t\t\t\tthis.registerImage(ids[i], isImageVisibleCallback, options);\n\t\t\t}\n\t\t}\n\t},\n\n\tshowImage: function(imageNode)\n\t{\n\t\tconst imageNodeId = imageNode.id;\n\t\tif (!Type.isStringFilled(imageNodeId))\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tlet image = this.images[imageNodeId];\n\t\tif (!Type.isPlainObject(image))\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tif (image.status == this.imageStatus.undefined)\n\t\t{\n\t\t\tthis.initImage(image);\n\t\t}\n\n\t\tif (image.status !== this.imageStatus.inited)\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tif (\n\t\t\t!image.node\n\t\t\t|| !image.node.parentNode\n\t\t)\n\t\t{\n\t\t\timage.node = null;\n\t\t\timage.status = this.imageStatus.error;\n\t\t\treturn;\n\t\t}\n\n\t\tif (image.type == this.imageTypes.image)\n\t\t{\n\t\t\timage.node.src = image.src;\n\t\t}\n\t\telse\n\t\t{\n\t\t\timage.node.style.backgroundImage = \"url('\" + image.src + \"')\";\n\t\t}\n\n\t\timage.node.dataset[image.dataSrcName] = \"\";\n\t\timage.status = this.imageStatus.loaded;\n\t},\n\n\tshowImages: function(checkOwnVisibility)\n\t{\n\t\tcheckOwnVisibility = (checkOwnVisibility !== false);\n\n\t\tfor (let id in this.images)\n\t\t{\n\t\t\tif (!this.images.hasOwnProperty(id))\n\t\t\t{\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tlet image = this.images[id];\n\n\t\t\tif (image.status == this.imageStatus.undefined)\n\t\t\t{\n\t\t\t\tthis.initImage(image);\n\t\t\t}\n\n\t\t\tif (image.status !== this.imageStatus.inited)\n\t\t\t{\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (\n\t\t\t\t!image.node\n\t\t\t\t|| !image.node.parentNode\n\t\t\t)\n\t\t\t{\n\t\t\t\timage.node = null;\n\t\t\t\timage.status = this.imageStatus.error;\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tlet isImageVisible = true;\n\t\t\tif (\n\t\t\t\tcheckOwnVisibility\n\t\t\t\t&& Type.isFunction(image.func)\n\t\t\t)\n\t\t\t{\n\t\t\t\tisImageVisible = image.func(image);\n\t\t\t}\n\n\t\t\tif (\n\t\t\t\tisImageVisible === true\n\t\t\t\t&& this.isElementVisibleOnScreen(image.node)\n\t\t\t)\n\t\t\t{\n\t\t\t\tif (image.type == this.imageTypes.image)\n\t\t\t\t{\n\t\t\t\t\timage.node.src = image.src;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\timage.node.style.backgroundImage = \"url('\" + image.src + \"')\";\n\t\t\t\t}\n\n\t\t\t\timage.node.dataset[image.dataSrcName] = \"\";\n\t\t\t\timage.status = this.imageStatus.loaded;\n\t\t\t}\n\t\t}\n\t},\n\n\tinitImage: function(image)\n\t{\n\t\timage.status = this.imageStatus.error;\n\t\tconst node = document.getElementById(image.id);\n\n\t\tif (!Type.isDomNode(node))\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tconst src = node.dataset[image.dataSrcName];\n\t\tif (Type.isStringFilled(src))\n\t\t{\n\t\t\timage.node = node;\n\t\t\timage.src = src;\n\t\t\timage.status = this.imageStatus.inited;\n\t\t\timage.type = (image.node.tagName.toLowerCase() == \"img\"\n\t\t\t\t\t? this.imageTypes.image\n\t\t\t\t\t: this.imageTypes.background\n\t\t\t);\n\t\t}\n\t},\n\n\tisElementVisibleOnScreen: function (element)\n\t{\n\t\tconst coords = this.getElementCoords(element);\n\t\tconst windowTop = window.pageYOffset || document.documentElement.scrollTop;\n\t\tconst windowBottom = windowTop + document.documentElement.clientHeight;\n\n\t\tcoords.bottom = coords.top + element.offsetHeight;\n\n\t\treturn (\n\t\t\t(coords.top > windowTop && coords.top < windowBottom) // topVisible\n\t\t\t|| (coords.bottom < windowBottom && coords.bottom > windowTop) // bottomVisible\n\t\t);\n\t},\n\n\tisElementVisibleOn2Screens: function(element)\n\t{\n\t\tconst windowHeight = document.documentElement.clientHeight;\n\n\n\t\tvar windowTop = window.pageYOffset || document.documentElement.scrollTop;\n\t\tvar windowBottom = windowTop + windowHeight;\n\t\tvar coords = this.getElementCoords(element);\n\n\t\tcoords.bottom = coords.top + element.offsetHeight;\n\n\t\twindowTop -= windowHeight;\n\t\twindowBottom += windowHeight;\n\n\t\treturn (\n\t\t\t(coords.top > windowTop && coords.top < windowBottom) // topVisible\n\t\t\t|| (coords.bottom < windowBottom && coords.bottom > windowTop) // bottomVisible\n\t\t);\n\t},\n\n\tgetElementCoords: function(element)\n\t{\n\t\tconst box = element.getBoundingClientRect();\n\n\t\treturn {\n\t\t\toriginTop: box.top,\n\t\t\toriginLeft: box.left,\n\t\t\ttop: box.top + window.pageYOffset,\n\t\t\tleft: box.left + window.pageXOffset\n\t\t};\n\t},\n\n\tonScroll: function()\n\t{\n\t},\n\n\tclearImages: function ()\n\t{\n\t\tthis.images = [];\n\t}\n};\n\nexport {LazyLoad};","export class ParamBag\n{\n\tconstructor(params = {})\n\t{\n\t\tif (!!params && typeof params === 'object')\n\t\t{\n\t\t\tthis.params = new Map(Object.entries(params));\n\t\t}\n\t\telse\n\t\t{\n\t\t\tthis.params = new Map();\n\t\t}\n\t}\n\n\tstatic create(params = {})\n\t{\n\t\treturn new ParamBag(params);\n\t}\n\n\tgetParam(key: string, defaultValue = null)\n\t{\n\t\tif (this.params.has(key))\n\t\t{\n\t\t\treturn this.params.get(key);\n\t\t}\n\n\t\treturn defaultValue;\n\t}\n\n\tsetParam(key, value)\n\t{\n\t\tthis.params.set(key, value);\n\t}\n\n\tclear()\n\t{\n\t\tthis.params.clear();\n\t}\n}",null,null]}