1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 23:22:52 +01:00
invoiceninja/public/vendor/livewire/livewire.js.map
Benjamin Beganović 4e9bc0552d Rename "Downloads" to "Documents":
- Remove Livewire auto-publish from composer.json
- Replace old DocumentController with DownloadsController
- Rename DownloadsTable & downloads-table to DocumentsTable & documents-table
- New ShowDocumentRequest for displaying documents
- Change authorize() with DownloadMultipleDocumentsRequest
- Change route in PortalComposer
- Update Livewire assets
- Remove old documents routes
2020-09-28 12:04:34 +02:00

1 line
346 KiB
Plaintext

{"version":3,"file":"livewire.js","sources":["../node_modules/core-js/internals/to-integer.js","../node_modules/core-js/internals/require-object-coercible.js","../node_modules/core-js/internals/string-multibyte.js","../node_modules/core-js/internals/global.js","../node_modules/core-js/internals/fails.js","../node_modules/core-js/internals/descriptors.js","../node_modules/core-js/internals/is-object.js","../node_modules/core-js/internals/document-create-element.js","../node_modules/core-js/internals/ie8-dom-define.js","../node_modules/core-js/internals/an-object.js","../node_modules/core-js/internals/to-primitive.js","../node_modules/core-js/internals/object-define-property.js","../node_modules/core-js/internals/create-property-descriptor.js","../node_modules/core-js/internals/create-non-enumerable-property.js","../node_modules/core-js/internals/set-global.js","../node_modules/core-js/internals/shared-store.js","../node_modules/core-js/internals/inspect-source.js","../node_modules/core-js/internals/native-weak-map.js","../node_modules/core-js/internals/has.js","../node_modules/core-js/internals/shared.js","../node_modules/core-js/internals/uid.js","../node_modules/core-js/internals/shared-key.js","../node_modules/core-js/internals/hidden-keys.js","../node_modules/core-js/internals/internal-state.js","../node_modules/core-js/internals/object-property-is-enumerable.js","../node_modules/core-js/internals/classof-raw.js","../node_modules/core-js/internals/indexed-object.js","../node_modules/core-js/internals/to-indexed-object.js","../node_modules/core-js/internals/object-get-own-property-descriptor.js","../node_modules/core-js/internals/redefine.js","../node_modules/core-js/internals/path.js","../node_modules/core-js/internals/get-built-in.js","../node_modules/core-js/internals/to-length.js","../node_modules/core-js/internals/to-absolute-index.js","../node_modules/core-js/internals/array-includes.js","../node_modules/core-js/internals/object-keys-internal.js","../node_modules/core-js/internals/enum-bug-keys.js","../node_modules/core-js/internals/object-get-own-property-names.js","../node_modules/core-js/internals/object-get-own-property-symbols.js","../node_modules/core-js/internals/own-keys.js","../node_modules/core-js/internals/copy-constructor-properties.js","../node_modules/core-js/internals/is-forced.js","../node_modules/core-js/internals/export.js","../node_modules/core-js/internals/to-object.js","../node_modules/core-js/internals/correct-prototype-getter.js","../node_modules/core-js/internals/object-get-prototype-of.js","../node_modules/core-js/internals/native-symbol.js","../node_modules/core-js/internals/use-symbol-as-uid.js","../node_modules/core-js/internals/well-known-symbol.js","../node_modules/core-js/internals/iterators-core.js","../node_modules/core-js/internals/object-keys.js","../node_modules/core-js/internals/object-define-properties.js","../node_modules/core-js/internals/html.js","../node_modules/core-js/internals/object-create.js","../node_modules/core-js/internals/set-to-string-tag.js","../node_modules/core-js/internals/iterators.js","../node_modules/core-js/internals/create-iterator-constructor.js","../node_modules/core-js/internals/a-possible-prototype.js","../node_modules/core-js/internals/object-set-prototype-of.js","../node_modules/core-js/internals/define-iterator.js","../node_modules/core-js/modules/es.string.iterator.js","../node_modules/core-js/internals/a-function.js","../node_modules/core-js/internals/function-bind-context.js","../node_modules/core-js/internals/call-with-safe-iteration-closing.js","../node_modules/core-js/internals/is-array-iterator-method.js","../node_modules/core-js/internals/create-property.js","../node_modules/core-js/internals/to-string-tag-support.js","../node_modules/core-js/internals/classof.js","../node_modules/core-js/internals/get-iterator-method.js","../node_modules/core-js/internals/array-from.js","../node_modules/core-js/internals/check-correctness-of-iteration.js","../node_modules/core-js/modules/es.array.from.js","../node_modules/core-js/es/array/from.js","../node_modules/core-js/internals/add-to-unscopables.js","../node_modules/core-js/internals/array-method-uses-to-length.js","../node_modules/core-js/modules/es.array.includes.js","../node_modules/core-js/internals/entry-unbind.js","../node_modules/core-js/es/array/includes.js","../node_modules/core-js/internals/is-array.js","../node_modules/core-js/internals/flatten-into-array.js","../node_modules/core-js/internals/array-species-create.js","../node_modules/core-js/modules/es.array.flat.js","../node_modules/core-js/modules/es.array.unscopables.flat.js","../node_modules/core-js/es/array/flat.js","../node_modules/core-js/internals/array-iteration.js","../node_modules/core-js/modules/es.array.find.js","../node_modules/core-js/es/array/find.js","../node_modules/core-js/internals/object-assign.js","../node_modules/core-js/modules/es.object.assign.js","../node_modules/core-js/es/object/assign.js","../node_modules/core-js/internals/object-to-string.js","../node_modules/core-js/modules/es.object.to-string.js","../node_modules/core-js/internals/dom-iterables.js","../node_modules/core-js/modules/es.array.iterator.js","../node_modules/core-js/modules/web.dom-collections.iterator.js","../node_modules/core-js/internals/native-promise-constructor.js","../node_modules/core-js/internals/redefine-all.js","../node_modules/core-js/internals/set-species.js","../node_modules/core-js/internals/an-instance.js","../node_modules/core-js/internals/iterate.js","../node_modules/core-js/internals/species-constructor.js","../node_modules/core-js/internals/engine-user-agent.js","../node_modules/core-js/internals/engine-is-ios.js","../node_modules/core-js/internals/task.js","../node_modules/core-js/internals/microtask.js","../node_modules/core-js/internals/new-promise-capability.js","../node_modules/core-js/internals/promise-resolve.js","../node_modules/core-js/internals/host-report-errors.js","../node_modules/core-js/internals/perform.js","../node_modules/core-js/internals/engine-v8-version.js","../node_modules/core-js/modules/es.promise.js","../node_modules/core-js/modules/es.promise.all-settled.js","../node_modules/core-js/modules/es.promise.finally.js","../node_modules/core-js/es/promise/index.js","../node_modules/core-js/modules/esnext.aggregate-error.js","../node_modules/core-js/modules/esnext.promise.try.js","../node_modules/core-js/modules/esnext.promise.any.js","../node_modules/core-js/internals/is-regexp.js","../node_modules/core-js/internals/not-a-regexp.js","../node_modules/core-js/internals/correct-is-regexp-logic.js","../node_modules/core-js/modules/es.string.starts-with.js","../node_modules/core-js/es/string/starts-with.js","../node_modules/whatwg-fetch/fetch.js","../js/dom/polyfills/modules/es.element.get-attribute-names.js","../js/dom/polyfills/modules/es.element.matches.js","../js/dom/polyfills/modules/es.element.closest.js","../js/action/index.js","../js/action/event.js","../js/MessageBus.js","../js/HookManager.js","../js/DirectiveManager.js","../js/Store.js","../js/dom/directive.js","../js/dom/directive_manager.js","../node_modules/isobject/index.js","../node_modules/get-value/index.js","../js/dom/dom_element.js","../js/dom/dom.js","../js/Message.js","../js/PrefetchMessage.js","../js/util/debounce.js","../js/util/walk.js","../js/util/dispatch.js","../js/dom/morphdom/util.js","../js/util/getCsrfToken.js","../js/util/index.js","../js/dom/morphdom/morphAttrs.js","../js/dom/morphdom/specialElHandlers.js","../js/dom/morphdom/morphdom.js","../js/dom/morphdom/index.js","../js/action/model.js","../js/action/method.js","../js/node_initializer.js","../js/component/PrefetchManager.js","../js/component/EchoManager.js","../js/component/LoadingStates.js","../js/MessageBag.js","../js/component/UploadManager.js","../js/component/index.js","../js/connection/index.js","../js/connection/drivers/http.js","../js/connection/drivers/index.js","../js/component/FileUploads.js","../js/component/DisableForms.js","../js/component/DirtyStates.js","../js/component/OfflineStates.js","../js/component/Polling.js","../js/util/query-string.js","../js/component/UpdateQueryString.js","../js/index.js"],"sourcesContent":["var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToInteger` abstract operation\n// https://tc39.github.io/ecma262/#sec-tointeger\nmodule.exports = function (argument) {\n return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);\n};\n","// `RequireObjectCoercible` abstract operation\n// https://tc39.github.io/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `String.prototype.{ codePointAt, at }` methods implementation\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = String(requireObjectCoercible($this));\n var position = toInteger(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = S.charCodeAt(position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING ? S.charAt(position) : first\n : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.github.io/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","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 no-undef\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func\n 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// Thank's IE8 for his funny defineProperty\nmodule.exports = !fails(function () {\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\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 return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it)) {\n throw TypeError(String(it) + ' is not an object');\n } return it;\n};\n","var isObject = require('../internals/is-object');\n\n// `ToPrimitive` abstract operation\n// https://tc39.github.io/ecma262/#sec-toprimitive\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (input, PREFERRED_STRING) {\n if (!isObject(input)) return input;\n var fn, val;\n if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;\n if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar anObject = require('../internals/an-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar nativeDefineProperty = Object.defineProperty;\n\n// `Object.defineProperty` method\n// https://tc39.github.io/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return nativeDefineProperty(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","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 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 global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nmodule.exports = function (key, value) {\n try {\n createNonEnumerableProperty(global, key, value);\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 store = require('../internals/shared-store');\n\nvar functionToString = Function.toString;\n\n// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper\nif (typeof store.inspectSource != 'function') {\n store.inspectSource = function (it) {\n return functionToString.call(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var global = require('../internals/global');\nvar inspectSource = require('../internals/inspect-source');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));\n","var hasOwnProperty = {}.hasOwnProperty;\n\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.6.4',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2020 Denis Pushkarev (zloirock.ru)'\n});\n","var id = 0;\nvar postfix = Math.random();\n\nmodule.exports = function (key) {\n return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);\n};\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 isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar objectHas = require('../internals/has');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\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) {\n var store = new WeakMap();\n var wmget = store.get;\n var wmhas = store.has;\n var wmset = store.set;\n set = function (it, metadata) {\n wmset.call(store, it, metadata);\n return metadata;\n };\n get = function (it) {\n return wmget.call(store, it) || {};\n };\n has = function (it) {\n return wmhas.call(store, it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return objectHas(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return objectHas(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","'use strict';\nvar nativePropertyIsEnumerable = {}.propertyIsEnumerable;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : nativePropertyIsEnumerable;\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","var fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar split = ''.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\n return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split.call(it, '') : Object(it);\n} : Object;\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","var DESCRIPTORS = require('../internals/descriptors');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPrimitive = require('../internals/to-primitive');\nvar has = require('../internals/has');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\nvar nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return nativeGetOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);\n};\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar setGlobal = require('../internals/set-global');\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\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 if (typeof value == 'function') {\n if (typeof key == 'string' && !has(value, 'name')) createNonEnumerableProperty(value, 'name', key);\n enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');\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 typeof this == 'function' && getInternalState(this).source || inspectSource(this);\n});\n","var global = require('../internals/global');\n\nmodule.exports = global;\n","var path = require('../internals/path');\nvar global = require('../internals/global');\n\nvar aFunction = function (variable) {\n return typeof variable == 'function' ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n","var toInteger = require('../internals/to-integer');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.github.io/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var toInteger = require('../internals/to-integer');\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 = toInteger(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\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 = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\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.github.io/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var has = require('../internals/has');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\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) !has(hiddenKeys, key) && has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~indexOf(result, key) || result.push(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.github.io/ecma262/#sec-object.getownpropertynames\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","exports.f = Object.getOwnPropertySymbols;\n","var getBuiltIn = require('../internals/get-built-in');\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\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 ? keys.concat(getOwnPropertySymbols(it)) : keys;\n};\n","var has = require('../internals/has');\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 (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n};\n","var fails = require('../internals/fails');\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 : typeof detection == 'function' ? 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*/\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 requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `ToObject` abstract operation\n// https://tc39.github.io/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return Object(requireObjectCoercible(argument));\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var has = require('../internals/has');\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 ObjectPrototype = Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-object.getprototypeof\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectPrototype : null;\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n // Chrome 38 Symbol has incorrect toString conversion\n // eslint-disable-next-line no-undef\n return !String(Symbol());\n});\n","var NATIVE_SYMBOL = require('../internals/native-symbol');\n\nmodule.exports = NATIVE_SYMBOL\n // eslint-disable-next-line no-undef\n && !Symbol.sham\n // eslint-disable-next-line no-undef\n && typeof Symbol.iterator == 'symbol';\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar has = require('../internals/has');\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 createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!has(WellKnownSymbolsStore, name)) {\n if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];\n else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\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\nvar returnThis = function () { return this; };\n\n// `%IteratorPrototype%` object\n// https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\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\nif (IteratorPrototype == undefined) IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nif (!IS_PURE && !has(IteratorPrototype, ITERATOR)) {\n createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis);\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.github.io/ecma262/#sec-object.keys\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 objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.github.io/ecma262/#sec-object.defineproperties\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\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++], Properties[key]);\n return O;\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","var 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 /* global ActiveXObject */\n activeXDocument = document.domain && new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();\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.github.io/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 defineProperty = require('../internals/object-define-property').f;\nvar has = require('../internals/has');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (it, TAG, STATIC) {\n if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {\n defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n};\n","module.exports = {};\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');\n\nmodule.exports = function (it) {\n if (!isObject(it) && it !== null) {\n throw TypeError(\"Can't set \" + String(it) + ' as a prototype');\n } return it;\n};\n","var anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;\n setter.call(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.call(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","'use strict';\nvar $ = require('../internals/export');\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 IS_PURE = require('../internals/is-pure');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\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 (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {\n createNonEnumerableProperty(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#{values, @@iterator}.name in V8 / FF\n if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return nativeIterator.call(this); };\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator);\n }\n Iterators[NAME] = defaultIterator;\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 return methods;\n};\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/define-iterator');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.github.io/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: String(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.github.io/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return { value: undefined, done: true };\n point = charAt(string, index);\n state.index += point.length;\n return { value: point, done: false };\n});\n","module.exports = function (it) {\n if (typeof it != 'function') {\n throw TypeError(String(it) + ' is not a function');\n } return it;\n};\n","var aFunction = require('../internals/a-function');\n\n// optional / simple context binding\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 0: return function () {\n return fn.call(that);\n };\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","var anObject = require('../internals/an-object');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (error) {\n var returnMethod = iterator['return'];\n if (returnMethod !== undefined) anObject(returnMethod.call(iterator));\n throw error;\n }\n};\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","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPrimitive(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\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 TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\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' && typeof O.callee == 'function' ? 'Arguments' : result;\n};\n","var classof = require('../internals/classof');\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 it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar toLength = require('../internals/to-length');\nvar createProperty = require('../internals/create-property');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\n// `Array.from` method implementation\n// https://tc39.github.io/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var C = typeof this == 'function' ? this : Array;\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 index = 0;\n var length, result, step, iterator, next, value;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) {\n iterator = iteratorMethod.call(O);\n next = iterator.next;\n result = new C();\n for (;!(step = next.call(iterator)).done; index++) {\n value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n createProperty(result, index, value);\n }\n } else {\n length = toLength(O.length);\n result = new C(length);\n for (;length > index; index++) {\n value = mapping ? mapfn(O[index], index) : O[index];\n createProperty(result, index, value);\n }\n }\n result.length = index;\n return result;\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 no-throw-literal\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","var $ = require('../internals/export');\nvar from = require('../internals/array-from');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.github.io/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n from: from\n});\n","require('../../modules/es.string.iterator');\nrequire('../../modules/es.array.from');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Array.from;\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.github.io/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","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar has = require('../internals/has');\n\nvar defineProperty = Object.defineProperty;\nvar cache = {};\n\nvar thrower = function (it) { throw it; };\n\nmodule.exports = function (METHOD_NAME, options) {\n if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];\n if (!options) options = {};\n var method = [][METHOD_NAME];\n var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;\n var argument0 = has(options, 0) ? options[0] : thrower;\n var argument1 = has(options, 1) ? options[1] : undefined;\n\n return cache[METHOD_NAME] = !!method && !fails(function () {\n if (ACCESSORS && !DESCRIPTORS) return true;\n var O = { length: -1 };\n\n if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });\n else O[1] = 1;\n\n method.call(O, argument0, argument1);\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });\n\n// `Array.prototype.includes` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true, forced: !USES_TO_LENGTH }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","var global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\n\nvar call = Function.call;\n\nmodule.exports = function (CONSTRUCTOR, METHOD, length) {\n return bind(call, global[CONSTRUCTOR].prototype[METHOD], length);\n};\n","require('../../modules/es.array.includes');\nvar entryUnbind = require('../../internals/entry-unbind');\n\nmodule.exports = entryUnbind('Array', 'includes');\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.github.io/ecma262/#sec-isarray\nmodule.exports = Array.isArray || function isArray(arg) {\n return classof(arg) == 'Array';\n};\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar toLength = require('../internals/to-length');\nvar bind = require('../internals/function-bind-context');\n\n// `FlattenIntoArray` abstract operation\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? bind(mapper, thisArg, 3) : false;\n var element;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n if (depth > 0 && isArray(element)) {\n targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length');\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n};\n\nmodule.exports = flattenIntoArray;\n","var isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.github.io/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (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 new (C === undefined ? Array : C)(length === 0 ? 0 : length);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar toInteger = require('../internals/to-integer');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flat` method\n// https://github.com/tc39/proposal-flatMap\n$({ target: 'Array', proto: true }, {\n flat: function flat(/* depthArg = 1 */) {\n var depthArg = arguments.length ? arguments[0] : undefined;\n var O = toObject(this);\n var sourceLen = toLength(O.length);\n var A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg));\n return A;\n }\n});\n","// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\naddToUnscopables('flat');\n","require('../../modules/es.array.flat');\nrequire('../../modules/es.array.unscopables.flat');\nvar entryUnbind = require('../../internals/entry-unbind');\n\nmodule.exports = entryUnbind('Array', 'flat');\n","var bind = require('../internals/function-bind-context');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = [].push;\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` 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 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, 3);\n var length = toLength(self.length);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER ? 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.call(target, value); // filter\n } else if (IS_EVERY) return false; // every\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.github.io/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6)\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $find = require('../internals/array-iteration').find;\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength(FIND);\n\n// Shouldn't skip holes\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.find\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);\n","require('../../modules/es.array.find');\nvar entryUnbind = require('../../internals/entry-unbind');\n\nmodule.exports = entryUnbind('Array', 'find');\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\nvar nativeAssign = Object.assign;\nvar defineProperty = Object.defineProperty;\n\n// `Object.assign` method\n// https://tc39.github.io/ecma262/#sec-object.assign\nmodule.exports = !nativeAssign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && nativeAssign({ b: 1 }, nativeAssign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var symbol = Symbol();\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return nativeAssign({}, A)[symbol] != 7 || objectKeys(nativeAssign({}, B)).join('') != alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || propertyIsEnumerable.call(S, key)) T[key] = S[key];\n }\n } return T;\n} : nativeAssign;\n","var $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.github.io/ecma262/#sec-object.assign\n$({ target: 'Object', stat: true, forced: Object.assign !== assign }, {\n assign: assign\n});\n","require('../../modules/es.object.assign');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.assign;\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.github.io/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar redefine = require('../internals/redefine');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.github.io/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n redefine(Object.prototype, 'toString', toString, { unsafe: true });\n}\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","'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.github.io/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.github.io/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.github.io/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.github.io/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.github.io/ecma262/#sec-createmappedargumentsobject\nIterators.Arguments = Iterators.Array;\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\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\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\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","var global = require('../internals/global');\n\nmodule.exports = global.Promise;\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","'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","module.exports = function (it, Constructor, name) {\n if (!(it instanceof Constructor)) {\n throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');\n } return it;\n};\n","var anObject = require('../internals/an-object');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar toLength = require('../internals/to-length');\nvar bind = require('../internals/function-bind-context');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar iterate = module.exports = function (iterable, fn, that, AS_ENTRIES, IS_ITERATOR) {\n var boundFunction = bind(fn, that, AS_ENTRIES ? 2 : 1);\n var iterator, iterFn, index, length, result, next, step;\n\n if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (typeof iterFn != 'function') throw TypeError('Target is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = toLength(iterable.length); length > index; index++) {\n result = AS_ENTRIES\n ? boundFunction(anObject(step = iterable[index])[0], step[1])\n : boundFunction(iterable[index]);\n if (result && result instanceof Result) return result;\n } return new Result(false);\n }\n iterator = iterFn.call(iterable);\n }\n\n next = iterator.next;\n while (!(step = next.call(iterator)).done) {\n result = callWithSafeIterationClosing(iterator, boundFunction, step.value, AS_ENTRIES);\n if (typeof result == 'object' && result && result instanceof Result) return result;\n } return new Result(false);\n};\n\niterate.stop = function (result) {\n return new Result(true, result);\n};\n","var anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.github.io/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 : aFunction(S);\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /(iphone|ipod|ipad).*applewebkit/i.test(userAgent);\n","var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\nvar bind = require('../internals/function-bind-context');\nvar html = require('../internals/html');\nvar createElement = require('../internals/document-create-element');\nvar IS_IOS = require('../internals/engine-is-ios');\n\nvar location = global.location;\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar MessageChannel = global.MessageChannel;\nvar Dispatch = global.Dispatch;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar defer, channel, port;\n\nvar run = function (id) {\n // eslint-disable-next-line no-prototype-builtins\n if (queue.hasOwnProperty(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(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 = [];\n var i = 1;\n while (arguments.length > i) args.push(arguments[i++]);\n queue[++counter] = function () {\n // eslint-disable-next-line no-new-func\n (typeof fn == 'function' ? fn : Function(fn)).apply(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 (classof(process) == 'process') {\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, 1);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts && !fails(post)) {\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 global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar classof = require('../internals/classof-raw');\nvar macrotask = require('../internals/task').set;\nvar IS_IOS = require('../internals/engine-is-ios');\n\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\nvar process = global.process;\nvar Promise = global.Promise;\nvar IS_NODE = classof(process) == 'process';\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 // Node.js\n if (IS_NODE) {\n notify = function () {\n process.nextTick(flush);\n };\n // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n } else if (MutationObserver && !IS_IOS) {\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 (Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n promise = Promise.resolve(undefined);\n then = promise.then;\n notify = function () {\n then.call(promise, flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessag\n // - onreadystatechange\n // - setTimeout\n } else {\n notify = function () {\n // strange IE + webpack dev server bug - use .call(global)\n macrotask.call(global, 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","'use strict';\nvar aFunction = require('../internals/a-function');\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 = aFunction(resolve);\n this.reject = aFunction(reject);\n};\n\n// 25.4.1.5 NewPromiseCapability(C)\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\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","var global = require('../internals/global');\n\nmodule.exports = function (a, b) {\n var console = global.console;\n if (console && console.error) {\n arguments.length === 1 ? console.error(a) : console.error(a, b);\n }\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","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n version = match[0] + match[1];\n} else if (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 && +version;\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar NativePromise = require('../internals/native-promise-constructor');\nvar redefine = require('../internals/redefine');\nvar redefineAll = require('../internals/redefine-all');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar isObject = require('../internals/is-object');\nvar aFunction = require('../internals/a-function');\nvar anInstance = require('../internals/an-instance');\nvar classof = require('../internals/classof-raw');\nvar inspectSource = require('../internals/inspect-source');\nvar iterate = require('../internals/iterate');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar promiseResolve = require('../internals/promise-resolve');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar InternalStateModule = require('../internals/internal-state');\nvar isForced = require('../internals/is-forced');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\nvar PROMISE = 'Promise';\nvar getInternalState = InternalStateModule.get;\nvar setInternalState = InternalStateModule.set;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar PromiseConstructor = NativePromise;\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar $fetch = getBuiltIn('fetch');\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\nvar IS_NODE = classof(process) == 'process';\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\nvar FORCED = isForced(PROMISE, function () {\n var GLOBAL_CORE_JS_PROMISE = inspectSource(PromiseConstructor) !== String(PromiseConstructor);\n if (!GLOBAL_CORE_JS_PROMISE) {\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (V8_VERSION === 66) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n if (!IS_NODE && typeof PromiseRejectionEvent != 'function') return true;\n }\n // We need Promise#finally in the pure version for preventing prototype pollution\n if (IS_PURE && !PromiseConstructor.prototype['finally']) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (V8_VERSION >= 51 && /native code/.test(PromiseConstructor)) return false;\n // Detect correctness of subclassing with @@species support\n var promise = PromiseConstructor.resolve(1);\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n return !(promise.then(function () { /* empty */ }) instanceof FakePromise);\n});\n\nvar INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {\n PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });\n});\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\n\nvar notify = function (promise, state, isReject) {\n if (state.notified) return;\n state.notified = true;\n var chain = state.reactions;\n microtask(function () {\n var value = state.value;\n var ok = state.state == FULFILLED;\n var index = 0;\n // variable length - can't use forEach\n while (chain.length > index) {\n var reaction = chain[index++];\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(promise, state);\n state.rejection = HANDLED;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // can throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n then.call(result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n }\n state.reactions = [];\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(promise, state);\n });\n};\n\nvar dispatchEvent = function (name, promise, reason) {\n var event, handler;\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n global.dispatchEvent(event);\n } else event = { promise: promise, reason: reason };\n if (handler = global['on' + name]) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (promise, state) {\n task.call(global, function () {\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\n\nvar isUnhandled = function (state) {\n return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function (promise, state) {\n task.call(global, function () {\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function (fn, promise, state, unwrap) {\n return function (value) {\n fn(promise, state, value, unwrap);\n };\n};\n\nvar internalReject = function (promise, state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(promise, state, true);\n};\n\nvar internalResolve = function (promise, state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (promise === value) throw TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n if (then) {\n microtask(function () {\n var wrapper = { done: false };\n try {\n then.call(value,\n bind(internalResolve, promise, wrapper, state),\n bind(internalReject, promise, wrapper, state)\n );\n } catch (error) {\n internalReject(promise, wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(promise, state, false);\n }\n } catch (error) {\n internalReject(promise, { done: false }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromiseConstructor, PROMISE);\n aFunction(executor);\n Internal.call(this);\n var state = getInternalState(this);\n try {\n executor(bind(internalResolve, this, state), bind(internalReject, this, state));\n } catch (error) {\n internalReject(this, state, error);\n }\n };\n // eslint-disable-next-line no-unused-vars\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: [],\n rejection: false,\n state: PENDING,\n value: undefined\n });\n };\n Internal.prototype = redefineAll(PromiseConstructor.prototype, {\n // `Promise.prototype.then` method\n // https://tc39.github.io/ecma262/#sec-promise.prototype.then\n then: function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n reaction.fail = typeof onRejected == 'function' && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n state.parent = true;\n state.reactions.push(reaction);\n if (state.state != PENDING) notify(this, state, false);\n return reaction.promise;\n },\n // `Promise.prototype.catch` method\n // https://tc39.github.io/ecma262/#sec-promise.prototype.catch\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n });\n OwnPromiseCapability = function () {\n var promise = new Internal();\n var state = getInternalState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, promise, state);\n this.reject = bind(internalReject, promise, state);\n };\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === PromiseConstructor || C === PromiseWrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n\n if (!IS_PURE && typeof NativePromise == 'function') {\n nativeThen = NativePromise.prototype.then;\n\n // wrap native Promise#then for native async functions\n redefine(NativePromise.prototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n nativeThen.call(that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, { unsafe: true });\n\n // wrap fetch result\n if (typeof $fetch == 'function') $({ global: true, enumerable: true, forced: true }, {\n // eslint-disable-next-line no-unused-vars\n fetch: function fetch(input /* , init */) {\n return promiseResolve(PromiseConstructor, $fetch.apply(global, arguments));\n }\n });\n }\n}\n\n$({ global: true, wrap: true, forced: FORCED }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n\nPromiseWrapper = getBuiltIn(PROMISE);\n\n// statics\n$({ target: PROMISE, stat: true, forced: FORCED }, {\n // `Promise.reject` method\n // https://tc39.github.io/ecma262/#sec-promise.reject\n reject: function reject(r) {\n var capability = newPromiseCapability(this);\n capability.reject.call(undefined, r);\n return capability.promise;\n }\n});\n\n$({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, {\n // `Promise.resolve` method\n // https://tc39.github.io/ecma262/#sec-promise.resolve\n resolve: function resolve(x) {\n return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);\n }\n});\n\n$({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {\n // `Promise.all` method\n // https://tc39.github.io/ecma262/#sec-promise.all\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aFunction(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 values.push(undefined);\n remaining++;\n $promiseResolve.call(C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n },\n // `Promise.race` method\n // https://tc39.github.io/ecma262/#sec-promise.race\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aFunction(C.resolve);\n iterate(iterable, function (promise) {\n $promiseResolve.call(C, promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar aFunction = require('../internals/a-function');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\n\n// `Promise.allSettled` method\n// https://github.com/tc39/proposal-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 = aFunction(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 values.push(undefined);\n remaining++;\n promiseResolve.call(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 (e) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = { status: 'rejected', reason: e };\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 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 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.github.io/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 = typeof onFinally == 'function';\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// patch native Promise.prototype for native async functions\nif (!IS_PURE && typeof NativePromise == 'function' && !NativePromise.prototype['finally']) {\n redefine(NativePromise.prototype, 'finally', getBuiltIn('Promise').prototype['finally']);\n}\n","require('../../modules/es.object.to-string');\nrequire('../../modules/es.string.iterator');\nrequire('../../modules/web.dom-collections.iterator');\nrequire('../../modules/es.promise');\nrequire('../../modules/es.promise.all-settled');\nrequire('../../modules/es.promise.finally');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Promise;\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar iterate = require('../internals/iterate');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalAggregateErrorState = InternalStateModule.getterFor('AggregateError');\n\nvar $AggregateError = function AggregateError(errors, message) {\n var that = this;\n if (!(that instanceof $AggregateError)) return new $AggregateError(errors, message);\n if (setPrototypeOf) {\n that = setPrototypeOf(new Error(message), getPrototypeOf(that));\n }\n var errorsArray = [];\n iterate(errors, errorsArray.push, errorsArray);\n if (DESCRIPTORS) setInternalState(that, { errors: errorsArray, type: 'AggregateError' });\n else that.errors = errorsArray;\n if (message !== undefined) createNonEnumerableProperty(that, 'message', String(message));\n return that;\n};\n\n$AggregateError.prototype = create(Error.prototype, {\n constructor: createPropertyDescriptor(5, $AggregateError),\n message: createPropertyDescriptor(5, ''),\n name: createPropertyDescriptor(5, 'AggregateError')\n});\n\nif (DESCRIPTORS) defineProperty.f($AggregateError.prototype, 'errors', {\n get: function () {\n return getInternalAggregateErrorState(this).errors;\n },\n configurable: true\n});\n\n$({ global: true }, {\n AggregateError: $AggregateError\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\n\n// `Promise.try` method\n// https://github.com/tc39/proposal-promise-try\n$({ target: 'Promise', stat: true }, {\n 'try': function (callbackfn) {\n var promiseCapability = newPromiseCapabilityModule.f(this);\n var result = perform(callbackfn);\n (result.error ? promiseCapability.reject : promiseCapability.resolve)(result.value);\n return promiseCapability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar aFunction = require('../internals/a-function');\nvar getBuiltIn = require('../internals/get-built-in');\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://github.com/tc39/proposal-promise-any\n$({ target: 'Promise', stat: true }, {\n any: function any(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 = aFunction(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 errors.push(undefined);\n remaining++;\n promiseResolve.call(C, promise).then(function (value) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyResolved = true;\n resolve(value);\n }, function (e) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyRejected = true;\n errors[index] = e;\n --remaining || reject(new (getBuiltIn('AggregateError'))(errors, PROMISE_ANY_ERROR));\n });\n });\n --remaining || reject(new (getBuiltIn('AggregateError'))(errors, PROMISE_ANY_ERROR));\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\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.github.io/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","var isRegExp = require('../internals/is-regexp');\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (e) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (f) { /* empty */ }\n } return false;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\nvar nativeStartsWith = ''.startsWith;\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = String(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = String(searchString);\n return nativeStartsWith\n ? nativeStartsWith.call(that, search, index)\n : that.slice(index, index + search.length) === search;\n }\n});\n","require('../../modules/es.string.starts-with');\nvar entryUnbind = require('../../internals/entry-unbind');\n\nmodule.exports = entryUnbind('String', 'startsWith');\n","var support = {\n searchParams: 'URLSearchParams' in self,\n iterable: 'Symbol' in self && 'iterator' in Symbol,\n blob:\n 'FileReader' in self &&\n 'Blob' in self &&\n (function() {\n try {\n new Blob()\n return true\n } catch (e) {\n return false\n }\n })(),\n formData: 'FormData' in self,\n arrayBuffer: 'ArrayBuffer' in self\n}\n\nfunction isDataView(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj)\n}\n\nif (support.arrayBuffer) {\n var viewClasses = [\n '[object Int8Array]',\n '[object Uint8Array]',\n '[object Uint8ClampedArray]',\n '[object Int16Array]',\n '[object Uint16Array]',\n '[object Int32Array]',\n '[object Uint32Array]',\n '[object Float32Array]',\n '[object Float64Array]'\n ]\n\n var isArrayBufferView =\n ArrayBuffer.isView ||\n function(obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n }\n}\n\nfunction normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name)\n }\n if (/[^a-z0-9\\-#$%&'*+.^_`|~]/i.test(name)) {\n throw new TypeError('Invalid character in header field name')\n }\n return name.toLowerCase()\n}\n\nfunction normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value)\n }\n return value\n}\n\n// Build a destructive iterator for the value list\nfunction iteratorFor(items) {\n var iterator = {\n next: function() {\n var value = items.shift()\n return {done: value === undefined, value: value}\n }\n }\n\n if (support.iterable) {\n iterator[Symbol.iterator] = function() {\n return iterator\n }\n }\n\n return iterator\n}\n\nexport function Headers(headers) {\n this.map = {}\n\n if (headers instanceof Headers) {\n headers.forEach(function(value, name) {\n this.append(name, value)\n }, this)\n } else if (Array.isArray(headers)) {\n headers.forEach(function(header) {\n this.append(header[0], header[1])\n }, this)\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function(name) {\n this.append(name, headers[name])\n }, this)\n }\n}\n\nHeaders.prototype.append = function(name, value) {\n name = normalizeName(name)\n value = normalizeValue(value)\n var oldValue = this.map[name]\n this.map[name] = oldValue ? oldValue + ', ' + value : value\n}\n\nHeaders.prototype['delete'] = function(name) {\n delete this.map[normalizeName(name)]\n}\n\nHeaders.prototype.get = function(name) {\n name = normalizeName(name)\n return this.has(name) ? this.map[name] : null\n}\n\nHeaders.prototype.has = function(name) {\n return this.map.hasOwnProperty(normalizeName(name))\n}\n\nHeaders.prototype.set = function(name, value) {\n this.map[normalizeName(name)] = normalizeValue(value)\n}\n\nHeaders.prototype.forEach = function(callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this)\n }\n }\n}\n\nHeaders.prototype.keys = function() {\n var items = []\n this.forEach(function(value, name) {\n items.push(name)\n })\n return iteratorFor(items)\n}\n\nHeaders.prototype.values = function() {\n var items = []\n this.forEach(function(value) {\n items.push(value)\n })\n return iteratorFor(items)\n}\n\nHeaders.prototype.entries = function() {\n var items = []\n this.forEach(function(value, name) {\n items.push([name, value])\n })\n return iteratorFor(items)\n}\n\nif (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries\n}\n\nfunction consumed(body) {\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'))\n }\n body.bodyUsed = true\n}\n\nfunction fileReaderReady(reader) {\n return new Promise(function(resolve, reject) {\n reader.onload = function() {\n resolve(reader.result)\n }\n reader.onerror = function() {\n reject(reader.error)\n }\n })\n}\n\nfunction readBlobAsArrayBuffer(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n reader.readAsArrayBuffer(blob)\n return promise\n}\n\nfunction readBlobAsText(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n reader.readAsText(blob)\n return promise\n}\n\nfunction readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf)\n var chars = new Array(view.length)\n\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i])\n }\n return chars.join('')\n}\n\nfunction bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0)\n } else {\n var view = new Uint8Array(buf.byteLength)\n view.set(new Uint8Array(buf))\n return view.buffer\n }\n}\n\nfunction Body() {\n this.bodyUsed = false\n\n this._initBody = function(body) {\n this._bodyInit = body\n if (!body) {\n this._bodyText = ''\n } else if (typeof body === 'string') {\n this._bodyText = body\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString()\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer)\n // IE 10-11 can't handle a DataView body.\n this._bodyInit = new Blob([this._bodyArrayBuffer])\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body)\n } else {\n this._bodyText = body = Object.prototype.toString.call(body)\n }\n\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8')\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type)\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8')\n }\n }\n }\n\n if (support.blob) {\n this.blob = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob')\n } else {\n return Promise.resolve(new Blob([this._bodyText]))\n }\n }\n\n this.arrayBuffer = function() {\n if (this._bodyArrayBuffer) {\n return consumed(this) || Promise.resolve(this._bodyArrayBuffer)\n } else {\n return this.blob().then(readBlobAsArrayBuffer)\n }\n }\n }\n\n this.text = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text')\n } else {\n return Promise.resolve(this._bodyText)\n }\n }\n\n if (support.formData) {\n this.formData = function() {\n return this.text().then(decode)\n }\n }\n\n this.json = function() {\n return this.text().then(JSON.parse)\n }\n\n return this\n}\n\n// HTTP methods whose capitalization should be normalized\nvar methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']\n\nfunction normalizeMethod(method) {\n var upcased = method.toUpperCase()\n return methods.indexOf(upcased) > -1 ? upcased : method\n}\n\nexport function Request(input, options) {\n options = options || {}\n var body = options.body\n\n if (input instanceof Request) {\n if (input.bodyUsed) {\n throw new TypeError('Already read')\n }\n this.url = input.url\n this.credentials = input.credentials\n if (!options.headers) {\n this.headers = new Headers(input.headers)\n }\n this.method = input.method\n this.mode = input.mode\n this.signal = input.signal\n if (!body && input._bodyInit != null) {\n body = input._bodyInit\n input.bodyUsed = true\n }\n } else {\n this.url = String(input)\n }\n\n this.credentials = options.credentials || this.credentials || 'same-origin'\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers)\n }\n this.method = normalizeMethod(options.method || this.method || 'GET')\n this.mode = options.mode || this.mode || null\n this.signal = options.signal || this.signal\n this.referrer = null\n\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests')\n }\n this._initBody(body)\n}\n\nRequest.prototype.clone = function() {\n return new Request(this, {body: this._bodyInit})\n}\n\nfunction decode(body) {\n var form = new FormData()\n body\n .trim()\n .split('&')\n .forEach(function(bytes) {\n if (bytes) {\n var split = bytes.split('=')\n var name = split.shift().replace(/\\+/g, ' ')\n var value = split.join('=').replace(/\\+/g, ' ')\n form.append(decodeURIComponent(name), decodeURIComponent(value))\n }\n })\n return form\n}\n\nfunction parseHeaders(rawHeaders) {\n var headers = new Headers()\n // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n // https://tools.ietf.org/html/rfc7230#section-3.2\n var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ')\n preProcessedHeaders.split(/\\r?\\n/).forEach(function(line) {\n var parts = line.split(':')\n var key = parts.shift().trim()\n if (key) {\n var value = parts.join(':').trim()\n headers.append(key, value)\n }\n })\n return headers\n}\n\nBody.call(Request.prototype)\n\nexport function Response(bodyInit, options) {\n if (!options) {\n options = {}\n }\n\n this.type = 'default'\n this.status = options.status === undefined ? 200 : options.status\n this.ok = this.status >= 200 && this.status < 300\n this.statusText = 'statusText' in options ? options.statusText : 'OK'\n this.headers = new Headers(options.headers)\n this.url = options.url || ''\n this._initBody(bodyInit)\n}\n\nBody.call(Response.prototype)\n\nResponse.prototype.clone = function() {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n })\n}\n\nResponse.error = function() {\n var response = new Response(null, {status: 0, statusText: ''})\n response.type = 'error'\n return response\n}\n\nvar redirectStatuses = [301, 302, 303, 307, 308]\n\nResponse.redirect = function(url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code')\n }\n\n return new Response(null, {status: status, headers: {location: url}})\n}\n\nexport var DOMException = self.DOMException\ntry {\n new DOMException()\n} catch (err) {\n DOMException = function(message, name) {\n this.message = message\n this.name = name\n var error = Error(message)\n this.stack = error.stack\n }\n DOMException.prototype = Object.create(Error.prototype)\n DOMException.prototype.constructor = DOMException\n}\n\nexport function fetch(input, init) {\n return new Promise(function(resolve, reject) {\n var request = new Request(input, init)\n\n if (request.signal && request.signal.aborted) {\n return reject(new DOMException('Aborted', 'AbortError'))\n }\n\n var xhr = new XMLHttpRequest()\n\n function abortXhr() {\n xhr.abort()\n }\n\n xhr.onload = function() {\n var options = {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n }\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL')\n var body = 'response' in xhr ? xhr.response : xhr.responseText\n resolve(new Response(body, options))\n }\n\n xhr.onerror = function() {\n reject(new TypeError('Network request failed'))\n }\n\n xhr.ontimeout = function() {\n reject(new TypeError('Network request failed'))\n }\n\n xhr.onabort = function() {\n reject(new DOMException('Aborted', 'AbortError'))\n }\n\n xhr.open(request.method, request.url, true)\n\n if (request.credentials === 'include') {\n xhr.withCredentials = true\n } else if (request.credentials === 'omit') {\n xhr.withCredentials = false\n }\n\n if ('responseType' in xhr && support.blob) {\n xhr.responseType = 'blob'\n }\n\n request.headers.forEach(function(value, name) {\n xhr.setRequestHeader(name, value)\n })\n\n if (request.signal) {\n request.signal.addEventListener('abort', abortXhr)\n\n xhr.onreadystatechange = function() {\n // DONE (success or failure)\n if (xhr.readyState === 4) {\n request.signal.removeEventListener('abort', abortXhr)\n }\n }\n }\n\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit)\n })\n}\n\nfetch.polyfill = true\n\nif (!self.fetch) {\n self.fetch = fetch\n self.Headers = Headers\n self.Request = Request\n self.Response = Response\n}\n","// https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNames#Polyfill\nif (Element.prototype.getAttributeNames == undefined) {\n Element.prototype.getAttributeNames = function () {\n var attributes = this.attributes;\n var length = attributes.length;\n var result = new Array(length);\n for (var i = 0; i < length; i++) {\n result[i] = attributes[i].name;\n }\n return result;\n };\n}\n","// https://developer.mozilla.org/en-US/docs/Web/API/Element/matches#Polyfill\nif (!Element.prototype.matches) {\n Element.prototype.matches =\n Element.prototype.matchesSelector ||\n Element.prototype.mozMatchesSelector ||\n Element.prototype.msMatchesSelector ||\n Element.prototype.oMatchesSelector ||\n Element.prototype.webkitMatchesSelector ||\n function(s) {\n var matches = (this.document || this.ownerDocument).querySelectorAll(s),\n i = matches.length;\n while (--i >= 0 && matches.item(i) !== this) {}\n return i > -1;\n };\n}\n","// https://developer.mozilla.org/en-US/docs/Web/API/Element/closest#Polyfill\nif (!Element.prototype.matches) {\n Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\n}\n\nif (!Element.prototype.closest) {\n Element.prototype.closest = function(s) {\n var el = this;\n\n do {\n if (el.matches(s)) return el;\n el = el.parentElement || el.parentNode;\n } while (el !== null && el.nodeType === 1);\n\n return null;\n };\n}\n","\nexport default class {\n constructor(el) {\n this.el = el\n }\n\n get ref() {\n return this.el ? this.el.ref : null\n }\n\n toId() {\n return btoa(encodeURIComponent(this.el.el.outerHTML))\n }\n}\n","import Action from '.'\n\nexport default class extends Action {\n constructor(event, params, el) {\n super(el)\n\n this.type = 'fireEvent'\n this.payload = {\n event,\n params,\n }\n }\n\n // Overriding toId() becuase some EventActions don't have an \"el\"\n toId() {\n return btoa(encodeURIComponent(this.type, this.payload.event, JSON.stringify(this.payload.params)))\n }\n}\n","\nexport default class MessageBus {\n constructor() {\n this.listeners = {}\n }\n\n register(name, callback) {\n if (! this.listeners[name]) {\n this.listeners[name] = []\n }\n\n this.listeners[name].push(callback)\n }\n\n call(name, ...params) {\n (this.listeners[name] || []).forEach(callback => {\n callback(...params)\n })\n }\n\n has(name) {\n return Object.keys(this.listeners).includes(name)\n }\n}\n","import MessageBus from \"./MessageBus\"\n\nexport default {\n availableHooks: [\n 'componentInitialized',\n 'elementInitialized',\n 'elementRemoved',\n 'messageSent',\n 'messageFailed',\n 'responseReceived',\n 'beforeDomUpdate',\n 'beforeElementUpdate',\n 'afterElementUpdate',\n 'afterDomUpdate',\n 'interceptWireModelSetValue',\n 'interceptWireModelAttachListener',\n ],\n\n bus: new MessageBus,\n\n register(name, callback) {\n if (! this.availableHooks.includes(name)) {\n throw `Livewire: Referencing unknown hook: [${name}]`\n }\n\n this.bus.register(name, callback)\n },\n\n call(name, ...params) {\n this.bus.call(name, ...params)\n }\n}\n","import MessageBus from \"./MessageBus\"\n\nexport default {\n directives: new MessageBus,\n\n register(name, callback) {\n if (this.has(name)) {\n throw `Livewire: Directive already registered: [${name}]`\n }\n\n this.directives.register(name, callback)\n },\n\n call(name, el, directive, component) {\n this.directives.call(name, el, directive, component)\n },\n\n has(name) {\n return this.directives.has(name)\n },\n}\n","import EventAction from '@/action/event'\nimport HookManager from '@/HookManager'\nimport DirectiveManager from '@/DirectiveManager'\nimport MessageBus from './MessageBus'\n\nconst store = {\n componentsById: {},\n listeners: new MessageBus(),\n initialRenderIsFinished: false,\n livewireIsInBackground: false,\n livewireIsOffline: false,\n sessionHasExpired: false,\n hooks: HookManager,\n directives: DirectiveManager,\n onErrorCallback: () => {},\n\n components() {\n return Object.keys(this.componentsById).map(key => {\n return this.componentsById[key]\n })\n },\n\n addComponent(component) {\n return (this.componentsById[component.id] = component)\n },\n\n findComponent(id) {\n return this.componentsById[id]\n },\n\n getComponentsByName(name) {\n return this.components().filter(component => {\n return component.name === name\n })\n },\n\n hasComponent(id) {\n return !!this.componentsById[id]\n },\n\n tearDownComponents() {\n this.components().forEach(component => {\n this.removeComponent(component)\n })\n },\n\n on(event, callback) {\n this.listeners.register(event, callback)\n },\n\n emit(event, ...params) {\n this.listeners.call(event, ...params)\n\n this.componentsListeningForEvent(event).forEach(component =>\n component.addAction(new EventAction(event, params))\n )\n },\n\n emitUp(el, event, ...params) {\n this.componentsListeningForEventThatAreTreeAncestors(\n el,\n event\n ).forEach(component =>\n component.addAction(new EventAction(event, params))\n )\n },\n\n emitSelf(componentId, event, ...params) {\n let component = this.findComponent(componentId)\n\n if (component.events.includes(event)) {\n component.addAction(new EventAction(event, params))\n }\n },\n\n emitTo(componentName, event, ...params) {\n let components = this.getComponentsByName(componentName)\n\n components.forEach(component => {\n if (component.events.includes(event)) {\n component.addAction(new EventAction(event, params))\n }\n })\n },\n\n componentsListeningForEventThatAreTreeAncestors(el, event) {\n var parentIds = []\n\n var parent = el.rawNode().parentElement.closest('[wire\\\\:id]')\n\n while (parent) {\n parentIds.push(parent.getAttribute('wire:id'))\n\n parent = parent.parentElement.closest('[wire\\\\:id]')\n }\n\n return this.components().filter(component => {\n return (\n component.events.includes(event) &&\n parentIds.includes(component.id)\n )\n })\n },\n\n componentsListeningForEvent(event) {\n return this.components().filter(component => {\n return component.events.includes(event)\n })\n },\n\n registerDirective(name, callback) {\n this.directives.register(name, callback)\n },\n\n registerHook(name, callback) {\n this.hooks.register(name, callback)\n },\n\n callHook(name, ...params) {\n this.hooks.call(name, ...params)\n },\n\n removeComponent(component) {\n // Remove event listeners attached to the DOM.\n component.tearDown()\n // Remove the component from the store.\n delete this.componentsById[component.id]\n },\n\n onError(callback) {\n this.onErrorCallback = callback\n },\n}\n\nexport default store\n","\nexport default class {\n constructor(type, modifiers, rawName, el) {\n this.type = type\n this.modifiers = modifiers\n this.rawName = rawName\n this.el = el\n this.eventContext\n }\n\n setEventContext(context) {\n this.eventContext = context\n }\n\n get value() {\n return this.el.getAttribute(this.rawName)\n }\n\n get method() {\n const { method } = this.parseOutMethodAndParams(this.value)\n\n return method\n }\n\n get params() {\n const { params } = this.parseOutMethodAndParams(this.value)\n\n return params\n }\n\n durationOr(defaultDuration) {\n let durationInMilliSeconds\n const durationInMilliSecondsString = this.modifiers.find(mod => mod.match(/([0-9]+)ms/))\n const durationInSecondsString = this.modifiers.find(mod => mod.match(/([0-9]+)s/))\n\n if (durationInMilliSecondsString) {\n durationInMilliSeconds = Number(durationInMilliSecondsString.replace('ms', ''))\n } else if (durationInSecondsString){\n durationInMilliSeconds = Number(durationInSecondsString.replace('s', '')) * 1000\n }\n\n return durationInMilliSeconds || defaultDuration\n }\n\n parseOutMethodAndParams(rawMethod) {\n let method = rawMethod\n let params = []\n const methodAndParamString = method.match(/(.*?)\\((.*)\\)/)\n\n if (methodAndParamString) {\n // This \"$event\" is for use inside the livewire event handler.\n const $event = this.eventContext\n method = methodAndParamString[1]\n // use a function that returns it's arguments to parse and eval all params\n params = eval(`(function () {\n for (var l=arguments.length, p=new Array(l), k=0; k<l; k++) {\n p[k] = arguments[k];\n }\n return [].concat(p);\n })(${methodAndParamString[2]})`)\n }\n\n return { method, params }\n }\n\n cardinalDirectionOr(fallback = 'right') {\n if (this.modifiers.includes('up')) return 'up'\n if (this.modifiers.includes('down')) return 'down'\n if (this.modifiers.includes('left')) return 'left'\n if (this.modifiers.includes('right')) return 'right'\n return fallback\n }\n}\n","import ElementDirective from './directive';\n\nexport default class {\n constructor(el) {\n this.el = el\n this.directives = this.extractTypeModifiersAndValue()\n }\n\n all() {\n return this.directives\n }\n\n has(type) {\n return this.directives.map(directive => directive.type).includes(type)\n }\n\n missing(type) {\n return ! this.has(type)\n }\n\n get(type) {\n return this.directives.find(directive => directive.type === type)\n }\n\n extractTypeModifiersAndValue() {\n return Array.from(this.el.getAttributeNames()\n // Filter only the livewire directives.\n .filter(name => name.match(new RegExp('wire:')))\n // Parse out the type, modifiers, and value from it.\n .map(name => {\n const [type, ...modifiers] = name.replace(new RegExp('wire:'), '').split('.')\n\n return new ElementDirective(type, modifiers, name, this.el)\n }))\n }\n}\n","/*!\n * isobject <https://github.com/jonschlinkert/isobject>\n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n'use strict';\n\nmodule.exports = function isObject(val) {\n return val != null && typeof val === 'object' && Array.isArray(val) === false;\n};\n","/*!\n * get-value <https://github.com/jonschlinkert/get-value>\n *\n * Copyright (c) 2014-2018, Jon Schlinkert.\n * Released under the MIT License.\n */\n\nconst isObject = require('isobject');\n\nmodule.exports = function(target, path, options) {\n if (!isObject(options)) {\n options = { default: options };\n }\n\n if (!isValidObject(target)) {\n return typeof options.default !== 'undefined' ? options.default : target;\n }\n\n if (typeof path === 'number') {\n path = String(path);\n }\n\n const isArray = Array.isArray(path);\n const isString = typeof path === 'string';\n const splitChar = options.separator || '.';\n const joinChar = options.joinChar || (typeof splitChar === 'string' ? splitChar : '.');\n\n if (!isString && !isArray) {\n return target;\n }\n\n if (isString && path in target) {\n return isValid(path, target, options) ? target[path] : options.default;\n }\n\n let segs = isArray ? path : split(path, splitChar, options);\n let len = segs.length;\n let idx = 0;\n\n do {\n let prop = segs[idx];\n if (typeof prop === 'number') {\n prop = String(prop);\n }\n\n while (prop && prop.slice(-1) === '\\\\') {\n prop = join([prop.slice(0, -1), segs[++idx] || ''], joinChar, options);\n }\n\n if (prop in target) {\n if (!isValid(prop, target, options)) {\n return options.default;\n }\n\n target = target[prop];\n } else {\n let hasProp = false;\n let n = idx + 1;\n\n while (n < len) {\n prop = join([prop, segs[n++]], joinChar, options);\n\n if ((hasProp = prop in target)) {\n if (!isValid(prop, target, options)) {\n return options.default;\n }\n\n target = target[prop];\n idx = n - 1;\n break;\n }\n }\n\n if (!hasProp) {\n return options.default;\n }\n }\n } while (++idx < len && isValidObject(target));\n\n if (idx === len) {\n return target;\n }\n\n return options.default;\n};\n\nfunction join(segs, joinChar, options) {\n if (typeof options.join === 'function') {\n return options.join(segs);\n }\n return segs[0] + joinChar + segs[1];\n}\n\nfunction split(path, splitChar, options) {\n if (typeof options.split === 'function') {\n return options.split(path);\n }\n return path.split(splitChar);\n}\n\nfunction isValid(key, target, options) {\n if (typeof options.isValid === 'function') {\n return options.isValid(key, target);\n }\n return true;\n}\n\nfunction isValidObject(val) {\n return isObject(val) || Array.isArray(val) || typeof val === 'function';\n}\n","import ElementDirectives from './directive_manager'\nimport get from 'get-value'\nimport store from '@/Store'\n\n/**\n * Consider this a decorator for the ElementNode JavaScript object. (Hence the\n * method forwarding I have to do at the bottom)\n */\nexport default class DOMElement {\n constructor(el) {\n this.el = el\n this.directives = new ElementDirectives(el)\n }\n\n nextFrame(fn) {\n requestAnimationFrame(() => {\n requestAnimationFrame(fn.bind(this))\n })\n }\n\n rawNode() {\n return this.el\n }\n\n closestRoot() {\n return this.closestByAttribute('id')\n }\n\n closestByAttribute(attribute) {\n const closestEl = this.el.closest(`[wire\\\\:${attribute}]`)\n\n if (!closestEl) {\n throw `\nLivewire Error:\\n\nCannot find parent element in DOM tree containing attribute: [wire:${attribute}].\\n\nUsually this is caused by Livewire's DOM-differ not being able to properly track changes.\\n\nReference the following guide for common causes: https://laravel-livewire.com/docs/troubleshooting \\n\nReferenced element:\\n\n${this.el.outerHTML}\n`\n }\n\n return new DOMElement(closestEl)\n }\n\n isComponentRootEl() {\n return this.hasAttribute('id')\n }\n\n hasAttribute(attribute) {\n return this.el.hasAttribute(`wire:${attribute}`)\n }\n\n getAttribute(attribute) {\n return this.el.getAttribute(`wire:${attribute}`)\n }\n\n removeAttribute(attribute) {\n return this.el.removeAttribute(`wire:${attribute}`)\n }\n\n setAttribute(attribute, value) {\n return this.el.setAttribute(`wire:${attribute}`, value)\n }\n\n isFocused() {\n return this.el === document.activeElement\n }\n\n hasFocus() {\n return this.el === document.activeElement\n }\n\n isInput() {\n return ['INPUT', 'TEXTAREA', 'SELECT'].includes(\n this.el.tagName.toUpperCase()\n )\n }\n\n isTextInput() {\n return (\n ['INPUT', 'TEXTAREA'].includes(this.el.tagName.toUpperCase()) &&\n !['checkbox', 'radio'].includes(this.el.type)\n )\n }\n\n valueFromInput(component) {\n if (this.el.type === 'checkbox') {\n const modelName = this.directives.get('model').value\n var modelValue = get(component.data, modelName)\n\n if (Array.isArray(modelValue)) {\n if (this.el.checked) {\n modelValue = modelValue.includes(this.el.value)\n ? modelValue\n : modelValue.concat(this.el.value)\n } else {\n modelValue = modelValue.filter(\n item => item !== this.el.value\n )\n }\n\n return modelValue\n }\n\n if (this.el.checked) {\n return this.el.getAttribute('value') || true\n } else {\n return false\n }\n } else if (this.el.tagName === 'SELECT' && this.el.multiple) {\n return this.getSelectValues()\n }\n\n return this.el.value\n }\n\n setInputValueFromModel(component) {\n const modelString = this.directives.get('model').value\n const modelValue = get(component.data, modelString)\n if (modelValue === undefined) return\n // Don't manually set file input's values.\n if (\n this.el.tagName.toLowerCase() === 'input' &&\n this.el.type === 'file'\n )\n return\n\n this.setInputValue(modelValue)\n }\n\n setInputValue(value) {\n store.callHook('interceptWireModelSetValue', this, value)\n\n if (this.el.type === 'radio') {\n this.el.checked = this.el.value == value\n } else if (this.el.type === 'checkbox') {\n if (Array.isArray(value)) {\n // I'm purposely not using Array.includes here because it's\n // strict, and because of Numeric/String mis-casting, I\n // want the \"includes\" to be \"fuzzy\".\n let valueFound = false\n value.forEach(val => {\n if (val == this.el.value) {\n valueFound = true\n }\n })\n\n this.el.checked = valueFound\n } else {\n this.el.checked = !!value\n }\n } else if (this.el.tagName === 'SELECT') {\n this.updateSelect(value)\n } else {\n this.el.value = value\n }\n }\n\n getSelectValues() {\n return Array.from(this.el.options)\n .filter(option => option.selected)\n .map(option => {\n return option.value || option.text\n })\n }\n\n updateSelect(value) {\n const arrayWrappedValue = [].concat(value).map(value => {\n return value + ''\n })\n\n Array.from(this.el.options).forEach(option => {\n option.selected = arrayWrappedValue.includes(option.value)\n })\n }\n\n get ref() {\n return this.directives.has('ref')\n ? this.directives.get('ref').value\n : null\n }\n\n isSameNode(el) {\n // We need to drop down to the raw node if we are comparing\n // to another \"DOMElement\" Instance.\n if (typeof el.rawNode === 'function') {\n return this.el.isSameNode(el.rawNode())\n }\n\n return this.el.isSameNode(el)\n }\n\n getAttributeNames() {\n return this.el.getAttributeNames(...arguments)\n }\n\n addEventListener() {\n return this.el.addEventListener(...arguments)\n }\n\n removeEventListener() {\n return this.el.removeEventListener(...arguments)\n }\n\n get classList() {\n return this.el.classList\n }\n\n querySelector() {\n return this.el.querySelector(...arguments)\n }\n\n querySelectorAll() {\n return this.el.querySelectorAll(...arguments)\n }\n}\n","import DOMElement from './dom_element'\n\n/**\n * This is intended to isolate all native DOM operations. The operations that happen\n * one specific element will be instance methods, the operations you would normally\n * perform on the \"document\" (like \"document.querySelector\") will be static methods.\n */\nexport default class DOM {\n static rootComponentElements() {\n return Array.from(document.querySelectorAll(`[wire\\\\:id]`))\n .map(el => new DOMElement(el))\n }\n\n static rootComponentElementsWithNoParents() {\n // In CSS, it's simple to select all elements that DO have a certain ancestor.\n // However, it's not simple (kinda impossible) to select elements that DONT have\n // a certain ancestor. Therefore, we will flip the logic: select all roots that DO have\n // have a root ancestor, then select all roots that DONT, then diff the two.\n\n // Convert NodeLists to Arrays so we can use \".includes()\". Ew.\n const allEls = Array.from(document.querySelectorAll(`[wire\\\\:id]`))\n const onlyChildEls = Array.from(document.querySelectorAll(`[wire\\\\:id] [wire\\\\:id]`))\n\n return allEls\n .filter(el => ! onlyChildEls.includes(el))\n .map(el => new DOMElement(el))\n }\n\n static allModelElementsInside(root) {\n return Array.from(\n root.querySelectorAll(`[wire\\\\:model]`)\n ).map(el => new DOMElement(el))\n }\n\n static getByAttributeAndValue(attribute, value) {\n return new DOMElement(document.querySelector(`[wire\\\\:${attribute}=\"${value}\"]`))\n }\n}\n","import store from '@/Store'\n\nexport default class {\n constructor(component, actionQueue) {\n this.component = component\n this.actionQueue = actionQueue\n }\n\n get refs() {\n return this.actionQueue\n .map(action => {\n return action.ref\n })\n .filter(ref => ref)\n }\n\n payload() {\n let payload = {\n id: this.component.id,\n data: this.component.data,\n name: this.component.name,\n checksum: this.component.checksum,\n locale: this.component.locale,\n children: this.component.children,\n actionQueue: this.actionQueue.map(action => {\n // This ensures only the type & payload properties only get sent over.\n return {\n type: action.type,\n payload: action.payload,\n }\n }),\n }\n\n if (Object.keys(this.component.errorBag).length > 0) {\n payload.errorBag = this.component.errorBag\n }\n\n return payload\n }\n\n storeResponse(payload) {\n return this.response = {\n id: payload.id,\n dom: payload.dom,\n checksum: payload.checksum,\n locale: payload.locale,\n children: payload.children,\n dirtyInputs: payload.dirtyInputs,\n eventQueue: payload.eventQueue,\n dispatchQueue: payload.dispatchQueue,\n events: payload.events,\n data: payload.data,\n redirectTo: payload.redirectTo,\n errorBag: payload.errorBag || {},\n updatesQueryString: payload.updatesQueryString,\n }\n }\n}\n","import Message from '@/Message'\n\nexport default class extends Message {\n constructor(component, action) {\n super(component, [action])\n }\n\n get prefetchId() {\n return this.actionQueue[0].toId()\n }\n\n payload() {\n return {\n fromPrefetch: this.prefetchId,\n ...super.payload()\n }\n }\n\n storeResponse(payload) {\n super.storeResponse(payload)\n\n this.response.fromPrefetch = payload.fromPrefetch\n\n return this.response\n }\n}\n","// This is kindof like a normal debouncer, except it behaves like both \"immediate\" and\n// \"non-immediate\" strategies. I'll try to visually demonstrate the differences:\n// [normal] = .......|\n// [immediate] = |.......\n// [both] = |......|\n\n// The reason I want it to fire on both ends of the debounce is for the following scenario:\n// - a user types a letter into an input\n// - the debouncer is waiting 200ms to send the ajax request\n// - in the meantime a user hits the enter key\n// - the debouncer is not up yet, so the \"enter\" request will get fired before the \"key\" request\n\n// Note: I also added a checker in here (\"wasInterupted\") for the the case of a user\n// only typing one key, but two ajax requests getting sent.\n\nexport function debounceWithFiringOnBothEnds(func, wait) {\n var timeout;\n var timesInterupted = 0;\n\n\treturn function() {\n var context = this, args = arguments;\n\n var callNow = ! timeout;\n\n if (timeout) {\n clearTimeout(timeout);\n timesInterupted++\n }\n\n timeout = setTimeout(function () {\n timeout = null;\n if (timesInterupted > 0) {\n func.apply(context, args);\n timesInterupted = 0\n }\n }, wait);\n\n\t\tif (callNow) {\n func.apply(context, args);\n }\n\t};\n};\n\nexport function debounce(func, wait, immediate) {\n var timeout\n return function () {\n var context = this, args = arguments\n var later = function () {\n timeout = null\n if (!immediate) func.apply(context, args)\n }\n var callNow = immediate && !timeout\n clearTimeout(timeout)\n timeout = setTimeout(later, wait)\n if (callNow) func.apply(context, args)\n }\n}\n","\n// A little DOM-tree walker.\n// (TreeWalker won't do because I need to conditionaly ignore sub-trees using the callback)\nexport function walk(root, callback) {\n if (callback(root) === false) return\n\n let node = root.firstElementChild\n\n while (node) {\n walk(node, callback)\n node = node.nextElementSibling\n }\n}\n","// I grabbed this from Turbolink's codebase.\nexport function dispatch(eventName, { target, cancelable, data } = {}) {\n const event = document.createEvent(\"Events\")\n event.initEvent(eventName, true, cancelable == true)\n event.data = data || {}\n\n // Fix setting `defaultPrevented` when `preventDefault()` is called\n // http://stackoverflow.com/questions/23349191/event-preventdefault-is-not-working-in-ie-11-for-custom-events\n if (event.cancelable && ! preventDefaultSupported) {\n const { preventDefault } = event\n event.preventDefault = function () {\n if (! this.defaultPrevented) {\n Object.defineProperty(this, \"defaultPrevented\", { get: () => true })\n }\n preventDefault.call(this)\n }\n }\n\n (target || document).dispatchEvent(event)\n return event\n}\n\nconst preventDefaultSupported = (() => {\n const event = document.createEvent(\"Events\")\n event.initEvent(\"test\", true, true)\n event.preventDefault()\n return event.defaultPrevented\n})()\n","var range; // Create a range object for efficently rendering strings to elements.\nvar NS_XHTML = 'http://www.w3.org/1999/xhtml';\n\nexport var doc = typeof document === 'undefined' ? undefined : document;\nvar HAS_TEMPLATE_SUPPORT = !!doc && 'content' in doc.createElement('template');\nvar HAS_RANGE_SUPPORT = !!doc && doc.createRange && 'createContextualFragment' in doc.createRange();\n\nfunction createFragmentFromTemplate(str) {\n var template = doc.createElement('template');\n template.innerHTML = str;\n return template.content.childNodes[0];\n}\n\nfunction createFragmentFromRange(str) {\n if (!range) {\n range = doc.createRange();\n range.selectNode(doc.body);\n }\n\n var fragment = range.createContextualFragment(str);\n return fragment.childNodes[0];\n}\n\nfunction createFragmentFromWrap(str) {\n var fragment = doc.createElement('body');\n fragment.innerHTML = str;\n return fragment.childNodes[0];\n}\n\n/**\n * This is about the same\n * var html = new DOMParser().parseFromString(str, 'text/html');\n * return html.body.firstChild;\n *\n * @method toElement\n * @param {String} str\n */\nexport function toElement(str) {\n str = str.trim();\n if (HAS_TEMPLATE_SUPPORT) {\n // avoid restrictions on content for things like `<tr><th>Hi</th></tr>` which\n // createContextualFragment doesn't support\n // <template> support not available in IE\n return createFragmentFromTemplate(str);\n } else if (HAS_RANGE_SUPPORT) {\n return createFragmentFromRange(str);\n }\n\n return createFragmentFromWrap(str);\n}\n\n/**\n * Returns true if two node's names are the same.\n *\n * NOTE: We don't bother checking `namespaceURI` because you will never find two HTML elements with the same\n * nodeName and different namespace URIs.\n *\n * @param {Element} a\n * @param {Element} b The target element\n * @return {boolean}\n */\nexport function compareNodeNames(fromEl, toEl) {\n var fromNodeName = fromEl.nodeName;\n var toNodeName = toEl.nodeName;\n\n if (fromNodeName === toNodeName) {\n return true;\n }\n\n if (toEl.actualize &&\n fromNodeName.charCodeAt(0) < 91 && /* from tag name is upper case */\n toNodeName.charCodeAt(0) > 90 /* target tag name is lower case */) {\n // If the target element is a virtual DOM node then we may need to normalize the tag name\n // before comparing. Normal HTML elements that are in the \"http://www.w3.org/1999/xhtml\"\n // are converted to upper case\n return fromNodeName === toNodeName.toUpperCase();\n } else {\n return false;\n }\n}\n\n/**\n * Create an element, optionally with a known namespace URI.\n *\n * @param {string} name the element name, e.g. 'div' or 'svg'\n * @param {string} [namespaceURI] the element's namespace URI, i.e. the value of\n * its `xmlns` attribute or its inferred namespace.\n *\n * @return {Element}\n */\nexport function createElementNS(name, namespaceURI) {\n return !namespaceURI || namespaceURI === NS_XHTML ?\n doc.createElement(name) :\n doc.createElementNS(namespaceURI, name);\n}\n\n/**\n * Copies the children of one DOM element to another DOM element\n */\nexport function moveChildren(fromEl, toEl) {\n var curChild = fromEl.firstChild;\n while (curChild) {\n var nextChild = curChild.nextSibling;\n toEl.appendChild(curChild);\n curChild = nextChild;\n }\n return toEl;\n}\n","export function getCsrfToken() {\n const tokenTag = document.head.querySelector('meta[name=\"csrf-token\"]')\n let token\n\n if (!tokenTag) {\n if (!window.livewire_token) {\n throw new Error('Whoops, looks like you haven\\'t added a \"csrf-token\" meta tag')\n }\n\n token = window.livewire_token\n } else {\n token = tokenTag.content\n }\n\n return token\n}\n","\nexport * from './debounce'\nexport * from './walk'\nexport * from './dispatch'\nexport * from './getCsrfToken'\n\nexport function kebabCase(subject) {\n return subject.replace(/([a-z])([A-Z])/g, '$1-$2').replace(/[_\\s]/, '-').toLowerCase()\n}\n\nexport function tap(output, callback) {\n callback(output)\n\n return output\n}\n","/**\n * I don't want to look at \"value\" attributes when diffing.\n * I commented out all the lines that compare \"value\"\n *\n */\n\nexport default function morphAttrs(fromNode, toNode) {\n var attrs = toNode.attributes;\n var i;\n var attr;\n var attrName;\n var attrNamespaceURI;\n var attrValue;\n var fromValue;\n\n // update attributes on original DOM element\n for (i = attrs.length - 1; i >= 0; --i) {\n attr = attrs[i];\n attrName = attr.name;\n attrNamespaceURI = attr.namespaceURI;\n attrValue = attr.value;\n\n if (attrNamespaceURI) {\n attrName = attr.localName || attrName;\n fromValue = fromNode.getAttributeNS(attrNamespaceURI, attrName);\n\n if (fromValue !== attrValue) {\n if (attr.prefix === 'xmlns'){\n attrName = attr.name; // It's not allowed to set an attribute with the XMLNS namespace without specifying the `xmlns` prefix\n }\n fromNode.setAttributeNS(attrNamespaceURI, attrName, attrValue);\n }\n } else {\n fromValue = fromNode.getAttribute(attrName);\n\n if (fromValue !== attrValue) {\n fromNode.setAttribute(attrName, attrValue);\n }\n }\n }\n\n // Remove any extra attributes found on the original DOM element that\n // weren't found on the target element.\n attrs = fromNode.attributes;\n\n for (i = attrs.length - 1; i >= 0; --i) {\n attr = attrs[i];\n if (attr.specified !== false) {\n attrName = attr.name;\n attrNamespaceURI = attr.namespaceURI;\n\n if (attrNamespaceURI) {\n attrName = attr.localName || attrName;\n\n if (!toNode.hasAttributeNS(attrNamespaceURI, attrName)) {\n fromNode.removeAttributeNS(attrNamespaceURI, attrName);\n }\n } else {\n if (!toNode.hasAttribute(attrName)) {\n fromNode.removeAttribute(attrName);\n }\n }\n }\n }\n}\n","function syncBooleanAttrProp(fromEl, toEl, name) {\n if (fromEl[name] !== toEl[name]) {\n fromEl[name] = toEl[name];\n if (fromEl[name]) {\n fromEl.setAttribute(name, '');\n } else {\n fromEl.removeAttribute(name);\n }\n }\n}\n\nexport default {\n OPTION: function(fromEl, toEl) {\n var parentNode = fromEl.parentNode;\n if (parentNode) {\n var parentName = parentNode.nodeName.toUpperCase();\n if (parentName === 'OPTGROUP') {\n parentNode = parentNode.parentNode;\n parentName = parentNode && parentNode.nodeName.toUpperCase();\n }\n if (parentName === 'SELECT' && !parentNode.hasAttribute('multiple')) {\n if (fromEl.hasAttribute('selected') && !toEl.selected) {\n // Workaround for MS Edge bug where the 'selected' attribute can only be\n // removed if set to a non-empty value:\n // https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/12087679/\n fromEl.setAttribute('selected', 'selected');\n fromEl.removeAttribute('selected');\n }\n // We have to reset select element's selectedIndex to -1, otherwise setting\n // fromEl.selected using the syncBooleanAttrProp below has no effect.\n // The correct selectedIndex will be set in the SELECT special handler below.\n parentNode.selectedIndex = -1;\n }\n }\n syncBooleanAttrProp(fromEl, toEl, 'selected');\n },\n /**\n * The \"value\" attribute is special for the <input> element since it sets\n * the initial value. Changing the \"value\" attribute without changing the\n * \"value\" property will have no effect since it is only used to the set the\n * initial value. Similar for the \"checked\" attribute, and \"disabled\".\n */\n INPUT: function(fromEl, toEl) {\n syncBooleanAttrProp(fromEl, toEl, 'checked');\n syncBooleanAttrProp(fromEl, toEl, 'disabled');\n\n if (fromEl.value !== toEl.value) {\n fromEl.value = toEl.value;\n }\n\n if (!toEl.hasAttribute('value')) {\n fromEl.removeAttribute('value');\n }\n },\n\n TEXTAREA: function(fromEl, toEl) {\n var newValue = toEl.value;\n if (fromEl.value !== newValue) {\n fromEl.value = newValue;\n }\n\n var firstChild = fromEl.firstChild;\n if (firstChild) {\n // Needed for IE. Apparently IE sets the placeholder as the\n // node value and vise versa. This ignores an empty update.\n var oldValue = firstChild.nodeValue;\n\n if (oldValue == newValue || (!newValue && oldValue == fromEl.placeholder)) {\n return;\n }\n\n firstChild.nodeValue = newValue;\n }\n },\n SELECT: function(fromEl, toEl) {\n if (!toEl.hasAttribute('multiple')) {\n var selectedIndex = -1;\n var i = 0;\n // We have to loop through children of fromEl, not toEl since nodes can be moved\n // from toEl to fromEl directly when morphing.\n // At the time this special handler is invoked, all children have already been morphed\n // and appended to / removed from fromEl, so using fromEl here is safe and correct.\n var curChild = fromEl.firstChild;\n var optgroup;\n var nodeName;\n while(curChild) {\n nodeName = curChild.nodeName && curChild.nodeName.toUpperCase();\n if (nodeName === 'OPTGROUP') {\n optgroup = curChild;\n curChild = optgroup.firstChild;\n } else {\n if (nodeName === 'OPTION') {\n if (curChild.hasAttribute('selected')) {\n selectedIndex = i;\n break;\n }\n i++;\n }\n curChild = curChild.nextSibling;\n if (!curChild && optgroup) {\n curChild = optgroup.nextSibling;\n optgroup = null;\n }\n }\n }\n\n fromEl.selectedIndex = selectedIndex;\n }\n }\n};\n","// From Caleb: I had to change all the \"isSameNode\"s to \"isEqualNode\"s and now everything is working great!\n/**\n * I pulled in my own version of morphdom, so I could tweak it as needed.\n * Here are the tweaks I've made so far:\n *\n * 1) Changed all the \"isSameNode\"s to \"isEqualNode\"s so that morhing doesn't check by reference, only by equality.\n * 2) Automatically filter out any non-\"ElementNode\"s from the lifecycle hooks.\n * 3) Tagged other changes with \"@livewireModification\".\n */\n\n'use strict';\n\nimport { compareNodeNames, toElement, moveChildren, createElementNS, doc } from './util';\nimport specialElHandlers from './specialElHandlers';\n\nvar ELEMENT_NODE = 1;\nvar DOCUMENT_FRAGMENT_NODE = 11;\nvar TEXT_NODE = 3;\nvar COMMENT_NODE = 8;\n\nfunction noop() {}\n\nfunction defaultGetNodeKey(node) {\n return node.id;\n}\n\nfunction callHook(hook, ...params) {\n if (hook.name !== 'getNodeKey' && hook.name !== 'onBeforeElUpdated') {\n // console.log(hook.name, ...params)\n }\n\n // Don't call hook on non-\"DOMElement\" elements.\n if (typeof params[0].hasAttribute !== 'function') return\n\n return hook(...params)\n}\n\nexport default function morphdomFactory(morphAttrs) {\n\n return function morphdom(fromNode, toNode, options) {\n if (!options) {\n options = {};\n }\n\n if (typeof toNode === 'string') {\n if (fromNode.nodeName === '#document' || fromNode.nodeName === 'HTML') {\n var toNodeHtml = toNode;\n toNode = doc.createElement('html');\n toNode.innerHTML = toNodeHtml;\n } else {\n toNode = toElement(toNode);\n }\n }\n\n var getNodeKey = options.getNodeKey || defaultGetNodeKey;\n var onBeforeNodeAdded = options.onBeforeNodeAdded || noop;\n var onNodeAdded = options.onNodeAdded || noop;\n var onBeforeElUpdated = options.onBeforeElUpdated || noop;\n var onElUpdated = options.onElUpdated || noop;\n var onBeforeNodeDiscarded = options.onBeforeNodeDiscarded || noop;\n var onNodeDiscarded = options.onNodeDiscarded || noop;\n var onBeforeElChildrenUpdated = options.onBeforeElChildrenUpdated || noop;\n var childrenOnly = options.childrenOnly === true;\n\n // This object is used as a lookup to quickly find all keyed elements in the original DOM tree.\n var fromNodesLookup = Object.create(null);\n var keyedRemovalList = [];\n\n function addKeyedRemoval(key) {\n keyedRemovalList.push(key);\n }\n\n function walkDiscardedChildNodes(node, skipKeyedNodes) {\n if (node.nodeType === ELEMENT_NODE) {\n var curChild = node.firstChild;\n while (curChild) {\n\n var key = undefined;\n\n if (skipKeyedNodes && (key = callHook(getNodeKey, curChild))) {\n // If we are skipping keyed nodes then we add the key\n // to a list so that it can be handled at the very end.\n addKeyedRemoval(key);\n } else {\n // Only report the node as discarded if it is not keyed. We do this because\n // at the end we loop through all keyed elements that were unmatched\n // and then discard them in one final pass.\n callHook(onNodeDiscarded, curChild);\n if (curChild.firstChild) {\n walkDiscardedChildNodes(curChild, skipKeyedNodes);\n }\n }\n\n curChild = curChild.nextSibling;\n }\n }\n }\n\n /**\n * Removes a DOM node out of the original DOM\n *\n * @param {Node} node The node to remove\n * @param {Node} parentNode The nodes parent\n * @param {Boolean} skipKeyedNodes If true then elements with keys will be skipped and not discarded.\n * @return {undefined}\n */\n function removeNode(node, parentNode, skipKeyedNodes) {\n if (callHook(onBeforeNodeDiscarded, node) === false) {\n return;\n }\n\n if (parentNode) {\n parentNode.removeChild(node);\n }\n\n callHook(onNodeDiscarded, node);\n walkDiscardedChildNodes(node, skipKeyedNodes);\n }\n\n function indexTree(node) {\n if (node.nodeType === ELEMENT_NODE || node.nodeType === DOCUMENT_FRAGMENT_NODE) {\n var curChild = node.firstChild;\n while (curChild) {\n var key = callHook(getNodeKey, curChild);\n if (key) {\n fromNodesLookup[key] = curChild;\n }\n\n // Walk recursively\n indexTree(curChild);\n\n curChild = curChild.nextSibling;\n }\n }\n }\n\n indexTree(fromNode);\n\n function handleNodeAdded(el) {\n callHook(onNodeAdded, el);\n\n if (el.skipAddingChildren) {\n return\n }\n\n var curChild = el.firstChild;\n while (curChild) {\n var nextSibling = curChild.nextSibling;\n\n var key = callHook(getNodeKey, curChild);\n if (key) {\n var unmatchedFromEl = fromNodesLookup[key];\n if (unmatchedFromEl && compareNodeNames(curChild, unmatchedFromEl)) {\n curChild.parentNode.replaceChild(unmatchedFromEl, curChild);\n morphEl(unmatchedFromEl, curChild);\n\n // @livewireModification\n // Otherwise, \"curChild\" will be unnatached when it is passed to \"handleNodeAdde\"\n // things like .parent and .closest will break.\n curChild = unmatchedFromEl\n }\n }\n\n handleNodeAdded(curChild);\n curChild = nextSibling;\n }\n }\n\n function cleanupFromEl(fromEl, curFromNodeChild, curFromNodeKey) {\n // We have processed all of the \"to nodes\". If curFromNodeChild is\n // non-null then we still have some from nodes left over that need\n // to be removed\n while (curFromNodeChild) {\n var fromNextSibling = curFromNodeChild.nextSibling;\n if ((curFromNodeKey = callHook(getNodeKey, curFromNodeChild))) {\n // Since the node is keyed it might be matched up later so we defer\n // the actual removal to later\n addKeyedRemoval(curFromNodeKey);\n } else {\n // NOTE: we skip nested keyed nodes from being removed since there is\n // still a chance they will be matched up later\n removeNode(curFromNodeChild, fromEl, true /* skip keyed nodes */);\n }\n curFromNodeChild = fromNextSibling;\n }\n }\n\n\n function morphEl(fromEl, toEl, childrenOnly) {\n var toElKey = callHook(getNodeKey, toEl);\n\n if (toElKey) {\n // If an element with an ID is being morphed then it will be in the final\n // DOM so clear it out of the saved elements collection\n delete fromNodesLookup[toElKey];\n }\n\n if (!childrenOnly) {\n if (callHook(onBeforeElUpdated, fromEl, toEl) === false) {\n return;\n }\n\n // @livewireModification.\n // I added this check to enable wire:ignore.self to not fire\n // morphAttrs, but not skip updating children as well.\n // A task that's currently impossible with the provided hooks.\n if (! fromEl.skipElUpdatingButStillUpdateChildren) {\n morphAttrs(fromEl, toEl);\n }\n\n callHook(onElUpdated, fromEl);\n\n if (callHook(onBeforeElChildrenUpdated, fromEl, toEl) === false) {\n return;\n }\n }\n\n if (fromEl.nodeName !== 'TEXTAREA') {\n morphChildren(fromEl, toEl);\n } else {\n if (fromEl.innerHTML != toEl.innerHTML) {\n // @livewireModification\n // Only mess with the \"value\" of textarea if the new dom has something\n // inside the <textarea></textarea> tag.\n specialElHandlers.TEXTAREA(fromEl, toEl);\n }\n }\n }\n\n function morphChildren(fromEl, toEl) {\n var curToNodeChild = toEl.firstChild;\n var curFromNodeChild = fromEl.firstChild;\n var curToNodeKey;\n var curFromNodeKey;\n\n var fromNextSibling;\n var toNextSibling;\n var matchingFromEl;\n\n // walk the children\n outer: while (curToNodeChild) {\n toNextSibling = curToNodeChild.nextSibling;\n curToNodeKey = callHook(getNodeKey, curToNodeChild);\n\n // walk the fromNode children all the way through\n while (curFromNodeChild) {\n fromNextSibling = curFromNodeChild.nextSibling;\n\n if (curToNodeChild.isSameNode && curToNodeChild.isSameNode(curFromNodeChild)) {\n curToNodeChild = toNextSibling;\n curFromNodeChild = fromNextSibling;\n continue outer;\n }\n\n curFromNodeKey = callHook(getNodeKey, curFromNodeChild);\n\n var curFromNodeType = curFromNodeChild.nodeType;\n\n // this means if the curFromNodeChild doesnt have a match with the curToNodeChild\n var isCompatible = undefined;\n\n if (curFromNodeType === curToNodeChild.nodeType) {\n if (curFromNodeType === ELEMENT_NODE) {\n // Both nodes being compared are Element nodes\n\n if (curToNodeKey) {\n // The target node has a key so we want to match it up with the correct element\n // in the original DOM tree\n if (curToNodeKey !== curFromNodeKey) {\n // The current element in the original DOM tree does not have a matching key so\n // let's check our lookup to see if there is a matching element in the original\n // DOM tree\n if ((matchingFromEl = fromNodesLookup[curToNodeKey])) {\n if (fromNextSibling === matchingFromEl) {\n // Special case for single element removals. To avoid removing the original\n // DOM node out of the tree (since that can break CSS transitions, etc.),\n // we will instead discard the current node and wait until the next\n // iteration to properly match up the keyed target element with its matching\n // element in the original tree\n isCompatible = false;\n } else {\n // We found a matching keyed element somewhere in the original DOM tree.\n // Let's move the original DOM node into the current position and morph\n // it.\n\n // NOTE: We use insertBefore instead of replaceChild because we want to go through\n // the `removeNode()` function for the node that is being discarded so that\n // all lifecycle hooks are correctly invoked\n fromEl.insertBefore(matchingFromEl, curFromNodeChild);\n\n // fromNextSibling = curFromNodeChild.nextSibling;\n if (curFromNodeKey) {\n // Since the node is keyed it might be matched up later so we defer\n // the actual removal to later\n addKeyedRemoval(curFromNodeKey);\n } else {\n // NOTE: we skip nested keyed nodes from being removed since there is\n // still a chance they will be matched up later\n removeNode(curFromNodeChild, fromEl, true /* skip keyed nodes */);\n }\n\n curFromNodeChild = matchingFromEl;\n }\n } else {\n // The nodes are not compatible since the \"to\" node has a key and there\n // is no matching keyed node in the source tree\n isCompatible = false;\n }\n }\n } else if (curFromNodeKey) {\n // The original has a key\n isCompatible = false;\n }\n\n isCompatible = isCompatible !== false && compareNodeNames(curFromNodeChild, curToNodeChild);\n if (isCompatible) {\n // @livewireModification\n // If the two nodes are different, but the next element is an exact match,\n // we can assume that the new node is meant to be inserted, instead of\n // used as a morph target.\n if (\n ! curToNodeChild.isEqualNode(curFromNodeChild)\n && curToNodeChild.nextElementSibling\n && curToNodeChild.nextElementSibling.isEqualNode(curFromNodeChild)\n ) {\n isCompatible = false\n } else {\n // We found compatible DOM elements so transform\n // the current \"from\" node to match the current\n // target DOM node.\n // MORPH\n morphEl(curFromNodeChild, curToNodeChild);\n }\n }\n\n } else if (curFromNodeType === TEXT_NODE || curFromNodeType == COMMENT_NODE) {\n // Both nodes being compared are Text or Comment nodes\n isCompatible = true;\n // Simply update nodeValue on the original node to\n // change the text value\n if (curFromNodeChild.nodeValue !== curToNodeChild.nodeValue) {\n curFromNodeChild.nodeValue = curToNodeChild.nodeValue;\n }\n }\n }\n\n if (isCompatible) {\n // Advance both the \"to\" child and the \"from\" child since we found a match\n // Nothing else to do as we already recursively called morphChildren above\n curToNodeChild = toNextSibling;\n curFromNodeChild = fromNextSibling;\n continue outer;\n }\n\n // @livewireModification\n // Before we just remove the original element, let's see if it's the very next\n // element in the \"to\" list. If it is, we can assume we can insert the new\n // element before the original one instead of removing it. This is kind of\n // a \"look-ahead\".\n if (curToNodeChild.nextElementSibling && curToNodeChild.nextElementSibling.isEqualNode(curFromNodeChild)) {\n const nodeToBeAdded = curToNodeChild.cloneNode(true)\n fromEl.insertBefore(nodeToBeAdded, curFromNodeChild)\n handleNodeAdded(nodeToBeAdded)\n curToNodeChild = curToNodeChild.nextElementSibling.nextSibling;\n curFromNodeChild = fromNextSibling;\n continue outer;\n } else {\n // No compatible match so remove the old node from the DOM and continue trying to find a\n // match in the original DOM. However, we only do this if the from node is not keyed\n // since it is possible that a keyed node might match up with a node somewhere else in the\n // target tree and we don't want to discard it just yet since it still might find a\n // home in the final DOM tree. After everything is done we will remove any keyed nodes\n // that didn't find a home\n if (curFromNodeKey) {\n // Since the node is keyed it might be matched up later so we defer\n // the actual removal to later\n addKeyedRemoval(curFromNodeKey);\n } else {\n // NOTE: we skip nested keyed nodes from being removed since there is\n // still a chance they will be matched up later\n removeNode(curFromNodeChild, fromEl, true /* skip keyed nodes */);\n }\n }\n\n curFromNodeChild = fromNextSibling;\n } // END: while(curFromNodeChild) {}\n\n // If we got this far then we did not find a candidate match for\n // our \"to node\" and we exhausted all of the children \"from\"\n // nodes. Therefore, we will just append the current \"to\" node\n // to the end\n if (curToNodeKey && (matchingFromEl = fromNodesLookup[curToNodeKey]) && compareNodeNames(matchingFromEl, curToNodeChild)) {\n fromEl.appendChild(matchingFromEl);\n // MORPH\n morphEl(matchingFromEl, curToNodeChild);\n } else {\n var onBeforeNodeAddedResult = callHook(onBeforeNodeAdded, curToNodeChild);\n if (onBeforeNodeAddedResult !== false) {\n if (onBeforeNodeAddedResult) {\n curToNodeChild = onBeforeNodeAddedResult;\n }\n\n if (curToNodeChild.actualize) {\n curToNodeChild = curToNodeChild.actualize(fromEl.ownerDocument || doc);\n }\n fromEl.appendChild(curToNodeChild);\n handleNodeAdded(curToNodeChild);\n }\n }\n\n curToNodeChild = toNextSibling;\n curFromNodeChild = fromNextSibling;\n }\n\n cleanupFromEl(fromEl, curFromNodeChild, curFromNodeKey);\n\n var specialElHandler = specialElHandlers[fromEl.nodeName];\n if (specialElHandler && ! fromEl.isLivewireModel) {\n specialElHandler(fromEl, toEl);\n }\n } // END: morphChildren(...)\n\n var morphedNode = fromNode;\n var morphedNodeType = morphedNode.nodeType;\n var toNodeType = toNode.nodeType;\n\n if (!childrenOnly) {\n // Handle the case where we are given two DOM nodes that are not\n // compatible (e.g. <div> --> <span> or <div> --> TEXT)\n if (morphedNodeType === ELEMENT_NODE) {\n if (toNodeType === ELEMENT_NODE) {\n if (!compareNodeNames(fromNode, toNode)) {\n callHook(onNodeDiscarded, fromNode);\n morphedNode = moveChildren(fromNode, createElementNS(toNode.nodeName, toNode.namespaceURI));\n }\n } else {\n // Going from an element node to a text node\n morphedNode = toNode;\n }\n } else if (morphedNodeType === TEXT_NODE || morphedNodeType === COMMENT_NODE) { // Text or comment node\n if (toNodeType === morphedNodeType) {\n if (morphedNode.nodeValue !== toNode.nodeValue) {\n morphedNode.nodeValue = toNode.nodeValue;\n }\n\n return morphedNode;\n } else {\n // Text node to something else\n morphedNode = toNode;\n }\n }\n }\n\n if (morphedNode === toNode) {\n // The \"to node\" was not compatible with the \"from node\" so we had to\n // toss out the \"from node\" and use the \"to node\"\n callHook(onNodeDiscarded, fromNode);\n } else {\n if (toNode.isSameNode && toNode.isSameNode(morphedNode)) {\n return;\n }\n\n morphEl(morphedNode, toNode, childrenOnly);\n\n // We now need to loop over any keyed nodes that might need to be\n // removed. We only do the removal if we know that the keyed node\n // never found a match. When a keyed node is matched up we remove\n // it out of fromNodesLookup and we use fromNodesLookup to determine\n // if a keyed node has been matched up or not\n if (keyedRemovalList) {\n for (var i=0, len=keyedRemovalList.length; i<len; i++) {\n var elToRemove = fromNodesLookup[keyedRemovalList[i]];\n if (elToRemove) {\n removeNode(elToRemove, elToRemove.parentNode, false);\n }\n }\n }\n }\n\n if (!childrenOnly && morphedNode !== fromNode && fromNode.parentNode) {\n if (morphedNode.actualize) {\n morphedNode = morphedNode.actualize(fromNode.ownerDocument || doc);\n }\n // If we had to swap out the from node with a new node because the old\n // node was not compatible with the target node then we need to\n // replace the old DOM node in the original DOM tree. This is only\n // possible if the original DOM node was part of a DOM tree which\n // we know is the case if it has a parent node.\n fromNode.parentNode.replaceChild(morphedNode, fromNode);\n }\n\n return morphedNode;\n };\n}\n","import morphAttrs from './morphAttrs';\nimport morphdomFactory from './morphdom';\n\nvar morphdom = morphdomFactory(morphAttrs);\n\nexport default morphdom;","import Action from '.'\n\nexport default class extends Action {\n constructor(name, value, el) {\n super(el)\n\n this.type = 'syncInput'\n this.payload = {\n name,\n value,\n }\n }\n}\n","import Action from '.'\n\nexport default class extends Action {\n constructor(method, params, el) {\n super(el)\n\n this.type = 'callMethod'\n this.payload = {\n method,\n params,\n }\n }\n}\n","import { kebabCase, debounce } from '@/util'\nimport ModelAction from '@/action/model'\nimport MethodAction from '@/action/method'\nimport DOMElement from '@/dom/dom_element'\nimport store from '@/Store'\n\nexport default {\n initialize(el, component) {\n if (\n store.initialRenderIsFinished &&\n el.rawNode().tagName.toLowerCase() === 'script'\n ) {\n eval(el.rawNode().innerHTML)\n return false\n }\n\n el.directives.all().forEach(directive => {\n switch (directive.type) {\n case 'init':\n this.fireActionRightAway(el, directive, component)\n break\n\n case 'model':\n el.setInputValueFromModel(component)\n this.attachModelListener(el, directive, component)\n break\n\n default:\n if (store.directives.has(directive.type)) {\n store.directives.call(\n directive.type,\n el.el,\n directive,\n component\n )\n }\n\n this.attachDomListener(el, directive, component)\n break\n }\n })\n\n store.callHook('elementInitialized', el, component)\n },\n\n fireActionRightAway(el, directive, component) {\n const method = directive.value ? directive.method : '$refresh'\n\n component.addAction(new MethodAction(method, directive.params, el))\n },\n\n attachModelListener(el, directive, component) {\n // This is used by morphdom: morphdom.js:391\n el.el.isLivewireModel = true\n\n const isLazy = directive.modifiers.includes('lazy')\n const debounceIf = (condition, callback, time) => {\n return condition\n ? component.modelSyncDebounce(callback, time)\n : callback\n }\n const hasDebounceModifier = directive.modifiers.includes('debounce')\n\n store.callHook(\n 'interceptWireModelAttachListener',\n el,\n directive,\n component,\n debounceIf\n )\n\n // File uploads are handled by UploadFiles.js.\n if (\n el.rawNode().tagName.toLowerCase() === 'input' &&\n el.rawNode().type === 'file'\n )\n return\n\n const event =\n el.rawNode().tagName.toLowerCase() === 'select' ||\n ['checkbox', 'radio'].includes(el.rawNode().type) ||\n directive.modifiers.includes('lazy')\n ? 'change'\n : 'input'\n\n // If it's a text input and not .lazy, debounce, otherwise fire immediately.\n let handler = debounceIf(\n hasDebounceModifier || (el.isTextInput() && !isLazy),\n e => {\n const model = directive.value\n const el = new DOMElement(e.target)\n // We have to check for typeof e.detail here for IE 11.\n const value =\n e instanceof CustomEvent && typeof e.detail != 'undefined' && typeof window.document.documentMode == 'undefined'\n ? e.detail\n : el.valueFromInput(component)\n\n component.addAction(new ModelAction(model, value, el))\n },\n directive.durationOr(150)\n )\n\n el.addEventListener(event, handler)\n\n component.addListenerForTeardown(() => {\n el.removeEventListener(event, handler)\n })\n },\n\n attachDomListener(el, directive, component) {\n switch (directive.type) {\n case 'keydown':\n case 'keyup':\n this.attachListener(el, directive, component, e => {\n // Detect system modifier key combinations if specified.\n const systemKeyModifiers = [\n 'ctrl',\n 'shift',\n 'alt',\n 'meta',\n 'cmd',\n 'super',\n ]\n const selectedSystemKeyModifiers = systemKeyModifiers.filter(\n key => directive.modifiers.includes(key)\n )\n\n if (selectedSystemKeyModifiers.length > 0) {\n const selectedButNotPressedKeyModifiers = selectedSystemKeyModifiers.filter(\n key => {\n // Alias \"cmd\" and \"super\" to \"meta\"\n if (key === 'cmd' || key === 'super')\n key = 'meta'\n\n return !e[`${key}Key`]\n }\n )\n\n if (selectedButNotPressedKeyModifiers.length > 0)\n return false\n }\n\n // Strip 'debounce' modifier and time modifiers from modifiers list\n let modifiers = directive.modifiers.filter(modifier => {\n return (\n !modifier.match(/^debounce$/) &&\n !modifier.match(/^[0-9]+m?s$/)\n )\n })\n\n // Only handle listener if no, or matching key modifiers are passed.\n return (\n modifiers.length === 0 ||\n modifiers.includes(kebabCase(e.key))\n )\n })\n break\n case 'click':\n this.attachListener(el, directive, component, e => {\n // We only care about elements that have the .self modifier on them.\n if (!directive.modifiers.includes('self')) return\n\n // This ensures a listener is only run if the event originated\n // on the elemenet that registered it (not children).\n // This is useful for things like modal back-drop listeners.\n return el.isSameNode(e.target)\n })\n break\n default:\n this.attachListener(el, directive, component)\n break\n }\n },\n\n attachListener(el, directive, component, callback) {\n if (directive.modifiers.includes('prefetch')) {\n el.addEventListener('mouseenter', () => {\n component.addPrefetchAction(\n new MethodAction(directive.method, directive.params, el)\n )\n })\n }\n\n const event = directive.type\n const handler = e => {\n if (callback && callback(e) === false) {\n return\n }\n \n component.callAfterModelDebounce(() => {\n const el = new DOMElement(e.target)\n\n directive.setEventContext(e)\n\n // This is outside the conditional below so \"wire:click.prevent\" without\n // a value still prevents default.\n this.preventAndStop(e, directive.modifiers)\n const method = directive.method\n let params = directive.params\n\n if (\n params.length === 0 &&\n e instanceof CustomEvent &&\n e.detail\n ) {\n params.push(e.detail)\n }\n\n // Check for global event emission.\n if (method === '$emit') {\n component.scopedListeners.call(...params)\n store.emit(...params)\n return\n }\n\n if (method === '$emitUp') {\n store.emitUp(el, ...params)\n return\n }\n\n if (method === '$emitSelf') {\n store.emitSelf(component.id, ...params)\n return\n }\n\n if (method === '$emitTo') {\n store.emitTo(...params)\n return\n }\n\n if (directive.value) {\n component.addAction(new MethodAction(method, params, el))\n }\n })\n }\n\n const debounceIf = (condition, callback, time) => {\n return condition ? debounce(callback, time) : callback\n }\n\n const hasDebounceModifier = directive.modifiers.includes('debounce')\n const debouncedHandler = debounceIf(\n hasDebounceModifier,\n handler,\n directive.durationOr(150)\n )\n\n el.addEventListener(event, debouncedHandler)\n\n component.addListenerForTeardown(() => {\n el.removeEventListener(event, debouncedHandler)\n })\n },\n\n preventAndStop(event, modifiers) {\n modifiers.includes('prevent') && event.preventDefault()\n\n modifiers.includes('stop') && event.stopPropagation()\n },\n}\n","\nclass PrefetchManager {\n constructor(component) {\n this.component = component\n this.prefetchMessagesByActionId = {}\n }\n\n addMessage(message) {\n this.prefetchMessagesByActionId[message.prefetchId] = message\n }\n\n storeResponseInMessageForPayload(payload) {\n const message = this.prefetchMessagesByActionId[payload.fromPrefetch]\n\n if (message) message.storeResponse(payload)\n }\n\n actionHasPrefetch(action) {\n return Object.keys(this.prefetchMessagesByActionId).includes(action.toId())\n }\n\n actionPrefetchResponseHasBeenReceived(action) {\n return !! this.getPrefetchMessageByAction(action).response\n }\n\n getPrefetchMessageByAction(action) {\n return this.prefetchMessagesByActionId[action.toId()]\n }\n\n clearPrefetches() {\n this.prefetchMessagesByActionId = {}\n }\n}\n\nexport default PrefetchManager\n","import store from '@/Store'\n\nclass EchoManager {\n constructor(component) {\n this.component = component\n }\n\n registerListeners() {\n if (Array.isArray(this.component.events)) {\n this.component.events.forEach(event => {\n if (event.startsWith('echo')) {\n if (typeof Echo === 'undefined') {\n console.warn('Laravel Echo cannot be found')\n return\n }\n\n let event_parts = event.split(/(echo:|echo-)|:|,/)\n\n if (event_parts[1] == 'echo:') {\n event_parts.splice(2,0,'channel',undefined)\n }\n\n if (event_parts[2] == 'notification') {\n event_parts.push(undefined, undefined)\n }\n\n let [s1, signature, channel_type, s2, channel, s3, event_name] = event_parts\n\n if (['channel','private'].includes(channel_type)) {\n Echo[channel_type](channel).listen(event_name, (e) => {\n store.emit(event, e)\n })\n } else if (channel_type == 'presence') {\n Echo.join(channel)[event_name]((e) => {\n store.emit(event, e)\n })\n } else if (channel_type == 'notification') {\n Echo.private(channel).notification((notification) => {\n store.emit(event, notification)\n })\n } else{\n console.warn('Echo channel type not yet supported')\n }\n }\n })\n }\n }\n}\n\nexport default EchoManager\n","import store from '@/Store'\n\nexport default function () {\n store.registerHook('componentInitialized', component => {\n component.targetedLoadingElsByAction = {}\n component.genericLoadingEls = []\n component.currentlyActiveLoadingEls = []\n component.currentlyActiveUploadLoadingEls = []\n })\n\n store.registerHook('elementInitialized', (el, component) => {\n if (el.directives.missing('loading')) return\n\n const loadingDirectives = el.directives.directives.filter(i => i.type === 'loading')\n\n loadingDirectives.forEach(directive => {\n processLoadingDirective(component, el, directive)\n })\n })\n\n store.registerHook('messageSent', (component, message) => {\n const actions = message.actionQueue.filter(action => {\n return action.type === 'callMethod'\n }).map(action => action.payload.method);\n\n const models = message.actionQueue.filter(action => {\n return action.type === 'syncInput'\n }).map(action => action.payload.name);\n\n setLoading(component, actions.concat(models))\n })\n\n store.registerHook('messageFailed', component => {\n unsetLoading(component)\n })\n\n store.registerHook('responseReceived', component => {\n unsetLoading(component)\n })\n\n store.registerHook('elementRemoved', (el, component) => {\n removeLoadingEl(component, el)\n })\n}\n\nfunction processLoadingDirective(component, el, directive) {\n var actionNames = false\n\n if (el.directives.get('target')) {\n // wire:target overrides any automatic loading scoping we do.\n actionNames = el.directives.get('target').value.split(',').map(s => s.trim())\n } else {\n // If there is no wire:target, let's check for the existance of a wire:click=\"foo\" or something,\n // and automatically scope this loading directive to that action.\n const nonActionOrModelLivewireDirectives = ['init', 'dirty', 'offline', 'target', 'loading', 'poll', 'ignore', 'key', 'id']\n\n actionNames = el.directives\n .all()\n .filter(i => ! nonActionOrModelLivewireDirectives.includes(i.type))\n .map(i => i.method)\n\n // If we found nothing, just set the loading directive to the global component. (run on every request)\n if (actionNames.length < 1) actionNames = false\n }\n\n addLoadingEl(\n component,\n el,\n directive,\n actionNames,\n )\n}\n\nfunction addLoadingEl(component, el, directive, actionsNames) {\n if (actionsNames) {\n actionsNames.forEach(actionsName => {\n if (component.targetedLoadingElsByAction[actionsName]) {\n component.targetedLoadingElsByAction[actionsName].push({el, directive})\n } else {\n component.targetedLoadingElsByAction[actionsName] = [{el, directive}]\n }\n })\n } else {\n component.genericLoadingEls.push({el, directive})\n }\n}\n\nfunction removeLoadingEl(component, el) {\n // Look through the global/generic elements for the element to remove.\n component.genericLoadingEls.forEach((element, index) => {\n if (element.el.isSameNode(el)) {\n component.genericLoadingEls.splice(index, 1)\n }\n })\n\n // Look through the targeted elements to remove.\n Object.keys(component.targetedLoadingElsByAction).forEach(key => {\n component.targetedLoadingElsByAction[key] = component.targetedLoadingElsByAction[key].filter(element => {\n return ! element.el.isSameNode(el)\n })\n })\n}\n\nfunction setLoading(component, actions) {\n const actionTargetedEls = actions.map(action => component.targetedLoadingElsByAction[action]).filter(el => el).flat()\n\n const allEls = component.genericLoadingEls.concat(actionTargetedEls)\n\n startLoading(allEls)\n\n component.currentlyActiveLoadingEls = allEls\n}\n\nexport function setUploadLoading(component, modelName) {\n const actionTargetedEls = component.targetedLoadingElsByAction[modelName] || []\n\n const allEls = component.genericLoadingEls.concat(actionTargetedEls)\n\n startLoading(allEls)\n\n component.currentlyActiveUploadLoadingEls = allEls\n}\n\nexport function unsetUploadLoading(component) {\n endLoading(component.currentlyActiveUploadLoadingEls)\n\n component.currentlyActiveUploadLoadingEls = []\n}\n\nfunction unsetLoading(component) {\n endLoading(component.currentlyActiveLoadingEls)\n\n component.currentlyActiveLoadingEls = []\n}\n\nfunction startLoading(els) {\n els.forEach(({ el, directive }) => {\n el = el.el // I'm so sorry @todo\n\n if (directive.modifiers.includes('class')) {\n // This is because wire:loading.class=\"border border-red\"\n // wouldn't work with classList.add.\n const classes = directive.value.split(' ').filter(Boolean)\n\n if (directive.modifiers.includes('remove')) {\n el.classList.remove(...classes)\n } else {\n el.classList.add(...classes)\n }\n } else if (directive.modifiers.includes('attr')) {\n if (directive.modifiers.includes('remove')) {\n el.removeAttribute(directive.value)\n } else {\n el.setAttribute(directive.value, true)\n }\n } else {\n if (directive.modifiers.includes('remove')) {\n el.style.display = 'none'\n } else {\n el.style.display = 'inline-block'\n }\n }\n })\n}\n\nfunction endLoading(els) {\n els.forEach(({ el, directive }) => {\n el = el.el // I'm so sorry @todo\n\n if (directive.modifiers.includes('class')) {\n const classes = directive.value.split(' ').filter(Boolean)\n\n if (directive.modifiers.includes('remove')) {\n el.classList.add(...classes)\n } else {\n el.classList.remove(...classes)\n }\n } else if (directive.modifiers.includes('attr')) {\n if (directive.modifiers.includes('remove')) {\n el.setAttribute(directive.value, true)\n } else {\n el.removeAttribute(directive.value)\n }\n } else {\n el.style.display = 'none'\n }\n })\n}\n","\nexport default class MessageBag {\n constructor() {\n this.bag = {}\n }\n\n add(name, thing) {\n if (! this.bag[name]) {\n this.bag[name] = []\n }\n\n this.bag[name].push(thing)\n }\n\n push(name, thing) {\n this.add(name, thing)\n }\n\n first(name) {\n if (! this.bag[name]) return null\n\n return this.bag[name][0]\n }\n\n last(name) {\n return this.bag[name].slice(-1)[0]\n }\n\n get(name) {\n return this.bag[name]\n }\n\n shift(name) {\n return this.bag[name].shift()\n }\n\n call(name, ...params) {\n (this.listeners[name] || []).forEach(callback => {\n callback(...params)\n })\n }\n\n has(name) {\n return Object.keys(this.listeners).includes(name)\n }\n}\n","import { setUploadLoading, unsetUploadLoading } from './LoadingStates'\nimport { getCsrfToken } from '@/util'\nimport MessageBag from '../MessageBag'\n\nclass UploadManager {\n constructor(component) {\n this.component = component\n this.uploadBag = new MessageBag\n this.removeBag = new MessageBag\n }\n\n registerListeners() {\n this.component.on('upload:generatedSignedUrl', (name, url) => {\n // We have to add reduntant \"setLoading\" calls because the dom-patch\n // from the first response will clear the setUploadLoading call\n // from the first upload call.\n setUploadLoading(this.component, name)\n\n this.handleSignedUrl(name, url)\n })\n\n this.component.on('upload:generatedSignedUrlForS3', (name, payload) => {\n setUploadLoading(this.component, name)\n\n this.handleS3PreSignedUrl(name, payload)\n })\n\n this.component.on('upload:finished', (name, tmpFilenames) => this.markUploadFinished(name, tmpFilenames))\n this.component.on('upload:errored', (name) => this.markUploadErrored(name))\n this.component.on('upload:removed', (name, tmpFilename) => this.removeBag.shift(name).finishCallback(tmpFilename))\n }\n\n upload(name, file, finishCallback, errorCallback, progressCallback) {\n this.setUpload(name, {\n files: [file],\n multiple: false,\n finishCallback,\n errorCallback,\n progressCallback,\n })\n }\n\n uploadMultiple(name, files, finishCallback, errorCallback, progressCallback) {\n this.setUpload(name, {\n files: Array.from(files),\n multiple: true,\n finishCallback,\n errorCallback,\n progressCallback,\n })\n }\n\n removeUpload(name, tmpFilename, finishCallback) {\n this.removeBag.push(name, {\n tmpFilename, finishCallback\n })\n\n this.component.call('removeUpload', name, tmpFilename);\n }\n\n setUpload(name, uploadObject) {\n this.uploadBag.add(name, uploadObject)\n\n if (this.uploadBag.get(name).length === 1) {\n this.startUpload(name, uploadObject)\n }\n }\n\n handleSignedUrl(name, url) {\n let formData = new FormData()\n Array.from(this.uploadBag.first(name).files).forEach(file => formData.append('files[]', file))\n\n let headers = {\n 'X-CSRF-TOKEN': getCsrfToken(),\n 'Accept': 'application/json',\n }\n\n this.makeRequest(name, formData, 'post', url, headers, response => {\n return response.paths\n })\n }\n\n handleS3PreSignedUrl(name, payload) {\n let formData = this.uploadBag.first(name).files[0]\n\n let headers = payload.headers\n if ('Host' in headers) delete headers.Host\n let url = payload.url\n\n this.makeRequest(name, formData, 'put', url, headers, response => {\n return [payload.path]\n })\n }\n\n makeRequest(name, formData, method, url, headers, retrievePaths) {\n let request = new XMLHttpRequest()\n request.open(method, url)\n\n Object.entries(headers).forEach(([key, value]) => {\n request.setRequestHeader(key, value)\n })\n\n request.upload.addEventListener('progress', e => {\n e.detail = {}\n e.detail.progress = Math.round((e.loaded * 100) / e.total)\n\n this.uploadBag.first(name).progressCallback(e)\n })\n\n request.addEventListener('load', () => {\n if ((request.status+'')[0] === '2') {\n let paths = retrievePaths(request.response && JSON.parse(request.response))\n\n this.component.call('finishUpload', name, paths, this.uploadBag.first(name).multiple)\n\n return\n }\n\n let errors = null\n\n if (request.status === 422) {\n errors = request.response\n }\n\n this.component.call('uploadErrored', name, errors, this.uploadBag.first(name).multiple)\n })\n\n request.send(formData)\n }\n\n startUpload(name, uploadObject) {\n let fileInfos = uploadObject.files.map(file => {\n return { name: file.name, size: file.size, type: file.type }\n })\n\n this.component.call('startUpload', name, fileInfos, uploadObject.multiple);\n\n setUploadLoading(this.component, name)\n }\n\n markUploadFinished(name, tmpFilenames) {\n unsetUploadLoading(this.component)\n\n let uploadObject = this.uploadBag.shift(name)\n uploadObject.finishCallback(uploadObject.multiple ? tmpFilenames : tmpFilenames[0])\n\n if (this.uploadBag.get(name).length > 0) this.startUpload(name, this.uploadBag.last(name))\n }\n\n markUploadErrored(name) {\n unsetUploadLoading(this.component)\n\n this.uploadBag.shift(name).errorCallback()\n\n if (this.uploadBag.get(name).length > 0) this.startUpload(name, this.uploadBag.last(name))\n }\n}\n\nexport default UploadManager\n","import Message from '@/Message'\nimport PrefetchMessage from '@/PrefetchMessage'\nimport { debounce, walk } from '@/util'\nimport morphdom from '@/dom/morphdom'\nimport DOM from '@/dom/dom'\nimport DOMElement from '@/dom/dom_element'\nimport nodeInitializer from '@/node_initializer'\nimport store from '@/Store'\nimport PrefetchManager from './PrefetchManager'\nimport EchoManager from './EchoManager'\nimport UploadManager from './UploadManager'\nimport MethodAction from '@/action/method'\nimport ModelAction from '@/action/model'\nimport MessageBus from '../MessageBus'\n\nexport default class Component {\n constructor(el, connection) {\n el.rawNode().__livewire = this\n this.id = el.getAttribute('id')\n const initialData = JSON.parse(\n this.extractLivewireAttribute('initial-data')\n )\n this.data = initialData.data || {}\n this.events = initialData.events || []\n this.children = initialData.children || {}\n this.checksum = initialData.checksum || ''\n this.locale = initialData.locale || null\n this.name = initialData.name || ''\n this.errorBag = initialData.errorBag || {}\n this.redirectTo = initialData.redirectTo || false\n ;(this.scopedListeners = new MessageBus()),\n (this.connection = connection)\n this.actionQueue = []\n this.messageInTransit = null\n this.modelTimeout = null\n this.tearDownCallbacks = []\n this.prefetchManager = new PrefetchManager(this)\n this.echoManager = new EchoManager(this)\n this.uploadManager = new UploadManager(this)\n\n store.callHook('componentInitialized', this)\n\n this.initialize()\n\n this.echoManager.registerListeners()\n this.uploadManager.registerListeners()\n\n if (this.redirectTo) {\n this.redirect(this.redirectTo)\n\n return\n }\n }\n\n get el() {\n return DOM.getByAttributeAndValue('id', this.id)\n }\n\n get root() {\n return this.el\n }\n\n extractLivewireAttribute(name) {\n const value = this.el.getAttribute(name)\n\n this.el.removeAttribute(name)\n\n return value\n }\n\n initialize() {\n this.walk(\n el => {\n // Will run for every node in the component tree (not child component nodes).\n nodeInitializer.initialize(el, this)\n },\n el => {\n // When new component is encountered in the tree, add it.\n store.addComponent(new Component(el, this.connection))\n }\n )\n }\n\n get(name) {\n // The .split() stuff is to support dot-notation.\n return name\n .split('.')\n .reduce(\n (carry, dotSeperatedSegment) => carry[dotSeperatedSegment],\n this.data\n )\n }\n\n set(name, value) {\n this.addAction(new ModelAction(name, value, this.el))\n }\n\n call(method, ...params) {\n this.addAction(new MethodAction(method, params, this.el))\n }\n\n on(event, callback) {\n this.scopedListeners.register(event, callback)\n }\n\n addAction(action) {\n if (\n this.prefetchManager.actionHasPrefetch(action) &&\n this.prefetchManager.actionPrefetchResponseHasBeenReceived(action)\n ) {\n const message = this.prefetchManager.getPrefetchMessageByAction(\n action\n )\n\n this.handleResponse(message.response)\n\n this.prefetchManager.clearPrefetches()\n\n return\n }\n\n this.actionQueue.push(action)\n\n // This debounce is here in-case two events fire at the \"same\" time:\n // For example: if you are listening for a click on element A,\n // and a \"blur\" on element B. If element B has focus, and then,\n // you click on element A, the blur event will fire before the \"click\"\n // event. This debounce captures them both in the actionsQueue and sends\n // them off at the same time.\n // Note: currently, it's set to 5ms, that might not be the right amount, we'll see.\n debounce(this.fireMessage, 5).apply(this)\n\n // Clear prefetches.\n this.prefetchManager.clearPrefetches()\n }\n\n fireMessage() {\n if (this.messageInTransit) return\n\n this.messageInTransit = new Message(this, this.actionQueue)\n\n this.connection.sendMessage(this.messageInTransit)\n\n store.callHook('messageSent', this, this.messageInTransit)\n\n this.actionQueue = []\n }\n\n messageSendFailed() {\n store.callHook('messageFailed', this)\n\n this.messageInTransit = null\n }\n\n receiveMessage(payload) {\n var response = this.messageInTransit.storeResponse(payload)\n\n this.handleResponse(response)\n\n // This bit of logic ensures that if actions were queued while a request was\n // out to the server, they are sent when the request comes back.\n if (this.actionQueue.length > 0) {\n this.fireMessage()\n }\n }\n\n handleResponse(response) {\n this.data = response.data\n this.checksum = response.checksum\n this.children = response.children\n this.errorBag = response.errorBag\n\n store.callHook('responseReceived', this, response)\n\n // This means \"$this->redirect()\" was called in the component. let's just bail and redirect.\n if (response.redirectTo) {\n this.redirect(response.redirectTo)\n\n return\n }\n\n this.replaceDom(response.dom, response.dirtyInputs)\n\n this.forceRefreshDataBoundElementsMarkedAsDirty(response.dirtyInputs)\n\n this.messageInTransit = null\n\n if (response.eventQueue && response.eventQueue.length > 0) {\n response.eventQueue.forEach(event => {\n this.scopedListeners.call(event.event, ...event.params)\n\n if (event.selfOnly) {\n store.emitSelf(this.id, event.event, ...event.params)\n } else if (event.to) {\n store.emitTo(event.to, event.event, ...event.params)\n } else if (event.ancestorsOnly) {\n store.emitUp(this.el, event.event, ...event.params)\n } else {\n store.emit(event.event, ...event.params)\n }\n })\n }\n\n if (response.dispatchQueue && response.dispatchQueue.length > 0) {\n response.dispatchQueue.forEach(event => {\n const data = event.data ? event.data : {}\n const e = new CustomEvent(event.event, {\n bubbles: true,\n detail: data,\n })\n this.el.el.dispatchEvent(e)\n })\n }\n }\n\n redirect(url) {\n if (window.Turbolinks && window.Turbolinks.supported) {\n window.Turbolinks.visit(url)\n } else {\n window.location.href = url\n }\n }\n\n forceRefreshDataBoundElementsMarkedAsDirty(dirtyInputs) {\n this.walk(el => {\n if (el.directives.missing('model')) return\n\n const modelValue = el.directives.get('model').value\n\n if (el.isFocused() && !dirtyInputs.includes(modelValue)) return\n\n el.setInputValueFromModel(this)\n })\n }\n\n replaceDom(rawDom) {\n let objectContainingRawDomToFakePassingByReferenceToBeAbleToMutateFromWithinAHook = {\n html: rawDom,\n }\n store.callHook(\n 'beforeDomUpdate',\n this,\n objectContainingRawDomToFakePassingByReferenceToBeAbleToMutateFromWithinAHook\n )\n\n this.handleMorph(\n objectContainingRawDomToFakePassingByReferenceToBeAbleToMutateFromWithinAHook.html.trim()\n )\n\n store.callHook('afterDomUpdate', this)\n }\n\n addPrefetchAction(action) {\n if (this.prefetchManager.actionHasPrefetch(action)) {\n return\n }\n\n const message = new PrefetchMessage(this, action)\n\n this.prefetchManager.addMessage(message)\n\n this.connection.sendMessage(message)\n }\n\n receivePrefetchMessage(payload) {\n this.prefetchManager.storeResponseInMessageForPayload(payload)\n }\n\n handleMorph(dom) {\n this.morphChanges = { changed: [], added: [], removed: [] }\n\n morphdom(this.el.rawNode(), dom, {\n childrenOnly: false,\n\n getNodeKey: node => {\n // This allows the tracking of elements by the \"key\" attribute, like in VueJs.\n return node.hasAttribute(`wire:key`)\n ? node.getAttribute(`wire:key`)\n : // If no \"key\", then first check for \"wire:id\", then \"id\"\n node.hasAttribute(`wire:id`)\n ? node.getAttribute(`wire:id`)\n : node.id\n },\n\n onBeforeNodeAdded: node => {\n //\n },\n\n onBeforeNodeDiscarded: node => {\n //\n },\n\n onNodeDiscarded: node => {\n const el = new DOMElement(node)\n\n store.callHook('elementRemoved', el, this)\n\n if (node.__livewire) {\n store.removeComponent(node.__livewire)\n }\n\n this.morphChanges.removed.push(node)\n },\n\n onBeforeElChildrenUpdated: node => {\n //\n },\n\n onBeforeElUpdated: (from, to) => {\n // Because morphdom also supports vDom nodes, it uses isSameNode to detect\n // sameness. When dealing with DOM nodes, we want isEqualNode, otherwise\n // isSameNode will ALWAYS return false.\n if (from.isEqualNode(to)) {\n return false\n }\n\n store.callHook('beforeElementUpdate', from, to, this)\n\n const fromEl = new DOMElement(from)\n\n // Reset the index of wire:modeled select elements in the\n // \"to\" node before doing the diff, so that the options\n // have the proper in-memory .selected value set.\n if (\n fromEl.hasAttribute('model') &&\n fromEl.rawNode().tagName.toUpperCase() === 'SELECT'\n ) {\n to.selectedIndex = -1\n }\n\n // Honor the \"wire:ignore\" attribute or the .__livewire_ignore element property.\n if (\n fromEl.directives.has('ignore') ||\n from.__livewire_ignore === true ||\n from.__livewire_ignore_self === true\n ) {\n if (\n (fromEl.directives.has('ignore') &&\n fromEl.directives\n .get('ignore')\n .modifiers.includes('self')) ||\n from.__livewire_ignore_self === true\n ) {\n // Don't update children of \"wire:ingore.self\" attribute.\n from.skipElUpdatingButStillUpdateChildren = true\n } else {\n return false\n }\n }\n\n // Children will update themselves.\n if (\n fromEl.isComponentRootEl() &&\n fromEl.getAttribute('id') !== this.id\n )\n return false\n\n // If the element we are updating is an Alpine component...\n if (from.__x) {\n // Then temporarily clone it (with it's data) to the \"to\" element.\n // This should simulate backend Livewire being aware of Alpine changes.\n window.Alpine.clone(from.__x, to)\n }\n },\n\n onElUpdated: node => {\n this.morphChanges.changed.push(node)\n\n store.callHook('afterElementUpdate', node, this)\n },\n\n onNodeAdded: node => {\n const el = new DOMElement(node)\n\n const closestComponentId = el.closestRoot().getAttribute('id')\n\n if (closestComponentId === this.id) {\n if (nodeInitializer.initialize(el, this) === false) {\n return false\n }\n } else if (el.isComponentRootEl()) {\n store.addComponent(new Component(el, this.connection))\n\n // We don't need to initialize children, the\n // new Component constructor will do that for us.\n node.skipAddingChildren = true\n }\n\n this.morphChanges.added.push(node)\n },\n })\n }\n\n walk(callback, callbackWhenNewComponentIsEncountered = el => {}) {\n walk(this.el.rawNode(), node => {\n const el = new DOMElement(node)\n\n // Skip the root component element.\n if (el.isSameNode(this.el)) {\n callback(el)\n return\n }\n\n // If we encounter a nested component, skip walking that tree.\n if (el.isComponentRootEl()) {\n callbackWhenNewComponentIsEncountered(el)\n\n return false\n }\n\n if (callback(el) === false) {\n return false\n }\n })\n }\n\n modelSyncDebounce(callback, time) {\n // Prepare yourself for what's happening here.\n // Any text input with wire:model on it should be \"debounced\" by ~150ms by default.\n // We can't use a simple debounce function because we need a way to clear all the pending\n // debounces if a user submits a form or performs some other action.\n // This is a modified debounce function that acts just like a debounce, except it stores\n // the pending callbacks in a global property so we can \"clear them\" on command instead\n // of waiting for their setTimeouts to expire. I know.\n if (!this.modelDebounceCallbacks) this.modelDebounceCallbacks = []\n\n // This is a \"null\" callback. Each wire:model will resister one of these upon initialization.\n let callbackRegister = { callback: () => {} }\n this.modelDebounceCallbacks.push(callbackRegister)\n\n // This is a normal \"timeout\" for a debounce function.\n var timeout\n\n return e => {\n clearTimeout(timeout)\n\n timeout = setTimeout(() => {\n callback(e)\n timeout = undefined\n\n // Because we just called the callback, let's return the\n // callback register to it's normal \"null\" state.\n callbackRegister.callback = () => {}\n }, time)\n\n // Register the current callback in the register as a kind-of \"escape-hatch\".\n callbackRegister.callback = () => {\n clearTimeout(timeout)\n callback(e)\n }\n }\n }\n\n callAfterModelDebounce(callback) {\n // This is to protect against the following scenario:\n // A user is typing into a debounced input, and hits the enter key.\n // If the enter key submits a form or something, the submission\n // will happen BEFORE the model input finishes syncing because\n // of the debounce. This makes sure to clear anything in the debounce queue.\n\n if (this.modelDebounceCallbacks) {\n this.modelDebounceCallbacks.forEach(callbackRegister => {\n callbackRegister.callback()\n callbackRegister = () => {}\n })\n }\n\n callback()\n }\n\n addListenerForTeardown(teardownCallback) {\n this.tearDownCallbacks.push(teardownCallback)\n }\n\n tearDown() {\n this.tearDownCallbacks.forEach(callback => callback())\n }\n\n upload(\n name,\n file,\n finishCallback = () => {},\n errorCallback = () => {},\n progressCallback = () => {}\n ) {\n this.uploadManager.upload(\n name,\n file,\n finishCallback,\n errorCallback,\n progressCallback\n )\n }\n\n uploadMultiple(\n name,\n files,\n finishCallback = () => {},\n errorCallback = () => {},\n progressCallback = () => {}\n ) {\n this.uploadManager.uploadMultiple(\n name,\n files,\n finishCallback,\n errorCallback,\n progressCallback\n )\n }\n\n removeUpload(\n name,\n tmpFilename,\n finishCallback = () => {},\n errorCallback = () => {}\n ) {\n this.uploadManager.removeUpload(\n name,\n tmpFilename,\n finishCallback,\n errorCallback\n )\n }\n}\n","import { dispatch } from '../util'\nimport componentStore from '../Store';\n\nexport default class Connection {\n constructor(driver) {\n this.driver = driver\n\n this.driver.onMessage = (payload) => {\n this.onMessage(payload)\n }\n\n this.driver.onError = (payload, status) => {\n return this.onError(payload, status)\n }\n\n this.driver.init()\n }\n\n onMessage(payload) {\n if (payload.fromPrefetch) {\n componentStore.findComponent(payload.id).receivePrefetchMessage(payload)\n } else {\n let component = componentStore.findComponent(payload.id)\n\n if (! component) {\n console.warn(`Livewire: Component [${payload.name}] triggered an update, but not found on page.`)\n return\n }\n\n component.receiveMessage(payload)\n\n dispatch('livewire:update')\n }\n }\n\n onError(payloadThatFailedSending, status) {\n componentStore.findComponent(payloadThatFailedSending.id).messageSendFailed()\n\n return componentStore.onErrorCallback(status)\n }\n\n sendMessage(message) {\n this.driver.sendMessage(message.payload());\n }\n}\n","import { getCsrfToken } from '@/util'\nimport store from '@/Store'\n\nexport default {\n onError: null,\n onMessage: null,\n\n init() {\n //\n },\n\n sendMessage(payload) {\n // Forward the query string for the ajax requests.\n fetch(`${window.livewire_app_url}/livewire/message/${payload.name}${window.location.search}`, {\n method: 'POST',\n body: JSON.stringify(payload),\n // This enables \"cookies\".\n credentials: \"same-origin\",\n headers: {\n 'Content-Type': 'application/json',\n 'Accept': 'text/html, application/xhtml+xml',\n 'X-CSRF-TOKEN': getCsrfToken(),\n 'X-Socket-ID': this.getSocketId(),\n 'X-Livewire': true,\n },\n }).then(response => {\n if (response.ok) {\n response.text().then(response => {\n if (this.isOutputFromDump(response)) {\n this.onError(payload)\n this.showHtmlModal(response)\n } else {\n this.onMessage.call(this, JSON.parse(response))\n }\n })\n } else {\n if (this.onError(payload, response.status) === false) return\n\n if (response.status === 419) {\n if (store.sessionHasExpired) return\n\n store.sessionHasExpired = true\n\n confirm(\"This page has expired due to inactivity.\\nWould you like to refresh the page?\")\n && window.location.reload()\n } else {\n response.text().then(response => {\n this.showHtmlModal(response)\n })\n }\n }\n }).catch(() => {\n this.onError(payload)\n })\n },\n\n isOutputFromDump(output) {\n return !! output.match(/<script>Sfdump\\(\".+\"\\)<\\/script>/)\n },\n\n getSocketId() {\n if (typeof Echo !== 'undefined') {\n return Echo.socketId();\n }\n },\n\n // This code and concept is all Jonathan Reinink - thanks main!\n showHtmlModal(html) {\n let page = document.createElement('html')\n page.innerHTML = html\n page.querySelectorAll('a').forEach(a => a.setAttribute('target', '_top'))\n\n let modal = document.getElementById('burst-error');\n\n if(typeof(modal) != 'undefined' && modal != null){\n // Modal already exists.\n modal.innerHTML = ''\n } else {\n modal = document.createElement('div')\n modal.id = 'burst-error'\n modal.style.position = 'fixed'\n modal.style.width = '100vw'\n modal.style.height = '100vh'\n modal.style.padding = '50px'\n modal.style.backgroundColor = 'rgba(0, 0, 0, .6)'\n modal.style.zIndex = 200000\n }\n\n let iframe = document.createElement('iframe')\n iframe.style.backgroundColor = '#17161A'\n iframe.style.borderRadius = '5px'\n iframe.style.width = '100%'\n iframe.style.height = '100%'\n modal.appendChild(iframe)\n\n document.body.prepend(modal)\n document.body.style.overflow = 'hidden'\n iframe.contentWindow.document.open()\n iframe.contentWindow.document.write(page.outerHTML)\n iframe.contentWindow.document.close()\n\n // Close on click.\n modal.addEventListener('click', () => this.hideHtmlModal(modal))\n\n // Close on escape key press.\n modal.setAttribute('tabindex', 0)\n modal.addEventListener('keydown', (e) => { if (e.key === 'Escape') this.hideHtmlModal(modal) })\n modal.focus()\n },\n\n hideHtmlModal(modal) {\n modal.outerHTML = ''\n document.body.style.overflow = 'visible'\n },\n}\n","import http from './http'\n\nexport default { http }\n","import store from '@/Store'\n\nexport default function () {\n store.registerHook('interceptWireModelAttachListener', (el, directive, component) => {\n if (! (el.rawNode().tagName.toLowerCase() === 'input' && el.rawNode().type === 'file')) return\n\n let start = () => el.rawNode().dispatchEvent(new CustomEvent('livewire-upload-start', { bubbles: true }))\n let finish = () => el.rawNode().dispatchEvent(new CustomEvent('livewire-upload-finish', { bubbles: true }))\n let error = () => el.rawNode().dispatchEvent(new CustomEvent('livewire-upload-error', { bubbles: true }))\n let progress = (progressEvent) => {\n var percentCompleted = Math.round( (progressEvent.loaded * 100) / progressEvent.total )\n\n el.rawNode().dispatchEvent(\n new CustomEvent('livewire-upload-progress', {\n bubbles: true, detail: { progress: percentCompleted }\n })\n )\n }\n\n let eventHandler = e => {\n if (e.target.files.length === 0) return\n\n start()\n\n if (e.target.multiple) {\n component.uploadMultiple(directive.value, e.target.files, finish, error, progress)\n } else {\n component.upload(directive.value, e.target.files[0], finish, error, progress)\n }\n }\n\n el.addEventListener('change', eventHandler)\n\n component.addListenerForTeardown(() => {\n el.removeEventListener('change', eventHandler)\n })\n })\n}\n","import store from '@/Store'\n\nexport default function () {\n let cleanupStackByComponentId = {}\n\n store.registerHook('elementInitialized', (el, component) => {\n if (el.directives.missing('submit')) return\n\n // Set a forms \"disabled\" state on inputs and buttons.\n // Livewire will clean it all up automatically when the form\n // submission returns and the new DOM lacks these additions.\n el.el.addEventListener('submit', () => {\n cleanupStackByComponentId[component.id] = []\n\n component.walk(elem => {\n const node = elem.el\n\n if (! el.el.contains(node)) return\n\n if (elem.hasAttribute('ignore')) return false\n\n if (\n // <button type=\"submit\">\n (node.tagName.toLowerCase() === 'button' && node.type === 'submit')\n // <select>\n || (node.tagName.toLowerCase() === 'select')\n // <input type=\"checkbox|radio\">\n || (node.tagName.toLowerCase() === 'input' && (node.type === 'checkbox' || node.type === 'radio'))\n ) {\n if (! node.disabled) cleanupStackByComponentId[component.id].push(() => node.disabled = false)\n\n node.disabled = true\n } else if (\n // <input type=\"text\">\n node.tagName.toLowerCase() === 'input'\n // <textarea>\n || node.tagName.toLowerCase() === 'textarea'\n ) {\n if (! node.readOnly) cleanupStackByComponentId[component.id].push(() => node.readOnly = false)\n\n node.readOnly = true\n }\n })\n })\n })\n\n store.registerHook('messageFailed', (component, message) => {\n if (! cleanupStackByComponentId[component.id]) return\n\n while (cleanupStackByComponentId[component.id].length > 0) {\n cleanupStackByComponentId[component.id].shift()()\n }\n })\n}\n","import DOMElement from '@/dom/dom_element'\nimport store from '@/Store'\n\nexport default function () {\n store.registerHook('componentInitialized', component => {\n component.targetedDirtyElsByProperty = {}\n component.genericDirtyEls = []\n\n registerListener(component)\n })\n\n store.registerHook('elementInitialized', (el, component) => {\n if (el.directives.missing('dirty')) return\n\n const propertyNames = el.directives.has('target')\n && el.directives.get('target').value.split(',').map(s => s.trim())\n\n addDirtyEls(\n component,\n el,\n propertyNames,\n )\n })\n\n store.registerHook('elementRemoved', (el, component) => {\n // Look through the targeted elements to remove.\n Object.keys(component.targetedDirtyElsByProperty).forEach(key => {\n component.targetedDirtyElsByProperty[key] = component.targetedDirtyElsByProperty[key].filter(element => {\n return ! element.isSameNode(el)\n })\n })\n\n // Look through the global/generic elements for the element to remove.\n component.genericDirtyEls.forEach((element, index) => {\n if (element.isSameNode(el)) {\n component.genericDirtyEls.splice(index, 1)\n }\n })\n })\n}\n\nfunction addDirtyEls(component, el, targetProperties) {\n if (targetProperties) {\n targetProperties.forEach(targetProperty => {\n if (component.targetedDirtyElsByProperty[targetProperty]) {\n component.targetedDirtyElsByProperty[targetProperty].push(el)\n } else {\n component.targetedDirtyElsByProperty[targetProperty] = [el]\n }\n })\n } else {\n component.genericDirtyEls.push(el)\n }\n }\n\nfunction registerListener(component) {\n component.el.addEventListener('input', (e) => {\n const el = new DOMElement(e.target)\n\n let allEls = []\n\n if (el.directives.has('model') && component.targetedDirtyElsByProperty[el.directives.get('model').value]) {\n allEls.push(...component.targetedDirtyElsByProperty[el.directives.get('model').value])\n }\n\n if (el.directives.has('dirty')) {\n allEls.push(...component.genericDirtyEls.filter(dirtyEl => dirtyEl.directives.get('model').value === el.directives.get('model').value))\n }\n\n if (allEls.length < 1) return\n\n if (el.directives.missing('model')) {\n console.warn('`wire:model` must be present on any element that uses `wire:dirty` or is a `wire:dirty` target.')\n }\n\n const isDirty = el.valueFromInput(component) != component.data[el.directives.get('model').value]\n\n allEls.forEach(el => {\n setDirtyState(el, isDirty)\n });\n })\n}\n\nfunction setDirtyState(el, isDirty) {\n const directive = el.directives.get('dirty')\n\n if (directive.modifiers.includes('class')) {\n const classes = directive.value.split(' ')\n if (directive.modifiers.includes('remove') !== isDirty) {\n el.classList.add(...classes)\n } else {\n el.classList.remove(...classes)\n }\n } else if (directive.modifiers.includes('attr')) {\n if (directive.modifiers.includes('remove') !== isDirty) {\n el.setAttribute(directive.value, true)\n } else {\n el.removeAttrsibute(directive.value)\n }\n } else if (! el.directives.get('model')) {\n el.el.style.display = isDirty ? 'inline-block' : 'none'\n }\n}\n","import store from '@/Store'\n\nvar offlineEls = [];\n\nexport default function () {\n store.registerHook('elementInitialized', el => {\n if (el.directives.missing('offline')) return\n\n offlineEls.push(el)\n })\n\n window.addEventListener('offline', () => {\n store.livewireIsOffline = true\n\n offlineEls.forEach(el => {\n toggleOffline(el, true)\n })\n })\n\n window.addEventListener('online', () => {\n store.livewireIsOffline = false\n\n offlineEls.forEach(el => {\n toggleOffline(el, false)\n })\n })\n\n store.registerHook('elementRemoved', el => {\n offlineEls = offlineEls.filter(el => ! el.isSameNode(el))\n })\n}\n\nfunction toggleOffline(el, isOffline) {\n const directive = el.directives.get('offline')\n\n if (directive.modifiers.includes('class')) {\n const classes = directive.value.split(' ')\n if (directive.modifiers.includes('remove') !== isOffline) {\n el.rawNode().classList.add(...classes)\n } else {\n el.rawNode().classList.remove(...classes)\n }\n } else if (directive.modifiers.includes('attr')) {\n if (directive.modifiers.includes('remove') !== isOffline) {\n el.rawNode().setAttribute(directive.value, true)\n } else {\n el.rawNode().removeAttribute(directive.value)\n }\n } else if (! el.directives.get('model')) {\n el.rawNode().style.display = isOffline ? 'inline-block' : 'none'\n }\n}\n","import MethodAction from '@/action/method'\nimport DOMElement from '@/dom/dom_element'\nimport store from '@/Store'\n\nexport default function () {\n store.registerHook('elementInitialized', (el, component) => {\n if (el.directives.missing('poll')) return\n\n let intervalId = fireActionOnInterval(el.el, component)\n\n component.addListenerForTeardown(() => {\n clearInterval(intervalId)\n })\n\n el.el.__livewire_polling_interval = intervalId\n })\n\n store.registerHook('beforeElementUpdate', (from, to, component) => {\n if (from.__livewire_polling_interval !== undefined) return\n\n let fromEl = new DOMElement(from)\n let toEl = new DOMElement(to)\n\n if (fromEl.directives.missing('poll') && toEl.directives.has('poll')) {\n setTimeout(() => {\n let intervalId = fireActionOnInterval(fromEl.el, component)\n\n component.addListenerForTeardown(() => {\n clearInterval(intervalId)\n })\n\n from.__livewire_polling_interval = intervalId\n }, 0)\n }\n })\n}\n\nfunction fireActionOnInterval(node, component) {\n let interval = (new DOMElement(node)).directives.get('poll').durationOr(2000);\n\n return setInterval(() => {\n if (node.isConnected === false) return\n\n let el = new DOMElement(node);\n\n // Don't poll when directive is removed from element.\n if (el.directives.missing('poll')) return\n\n const directive = el.directives.get('poll')\n const method = directive.method || '$refresh'\n\n // Don't poll when the tab is in the background.\n // The \"Math.random\" business effectivlly prevents 95% of requests\n // from executing. We still want \"some\" requests to get through.\n if (store.livewireIsInBackground && Math.random() < .95) return\n\n // Don't poll if livewire is offline as well.\n if (store.livewireIsOffline) return\n\n component.addAction(new MethodAction(method, directive.params, el))\n }, interval);\n}\n","const { toString, hasOwnProperty } = Object.prototype\nconst OBJECT_TYPE = \"[object Object]\"\nconst ARRAY_TYPE = \"[object Array]\"\n\nexport default {\n join(path, key) {\n return path != null ? path + \"[\" + key + \"]\" : key\n },\n\n flatten(obj, path, result) {\n const type = toString.call(obj)\n\n if (result === undefined) {\n if (type === OBJECT_TYPE) {\n result = {}\n } else if (type === ARRAY_TYPE) {\n result = []\n } else {\n return\n }\n }\n\n for (const key in obj) {\n if (! hasOwnProperty.call(obj, key)) {\n continue\n }\n\n const val = obj[key]\n if (val == null) {\n continue\n }\n\n switch (toString.call(val)) {\n case ARRAY_TYPE:\n case OBJECT_TYPE:\n this.flatten(val, this.join(path, key), result)\n break\n default:\n result[this.join(path, key)] = val\n break\n }\n }\n\n return result\n },\n\n stringify(obj) {\n let parts = this.flatten(obj)\n\n return Object\n .keys(parts)\n .map(key => `${key}=${parts[key]}`)\n .join('&')\n },\n\n parse(query) {\n let obj = {}\n if (query.slice(0, 1) === '?') {\n query = query.slice(1)\n }\n query = query.split('&')\n\n query.map(part => {\n let parts = part.split('=')\n let key = parts[0]\n let value = parts[1]\n\n parts = key.split('[')\n parts = parts.map(part => part.replace(']', ''))\n\n if (parts.length > 1) {\n let endValue = value\n value = {}\n parts.forEach((part, index) => {\n if (index > 1) {\n if (parts.length == (index + 1)) {\n value[part] = endValue\n } else {\n value[part] = {}\n }\n }\n })\n }\n\n obj[parts[0]] = value\n })\n\n return obj\n }\n}\n","import store from '@/Store'\nimport queryString from '@/util/query-string'\n\nexport default function () {\n store.registerHook('responseReceived', (component, response) => {\n if (response.updatesQueryString === undefined) return\n\n var excepts = []\n var dataDestinedForQueryString = {}\n\n if (Array.isArray(response.updatesQueryString)) {\n // User passed in a plain array to `$updatesQueryString`\n response.updatesQueryString.forEach(i => dataDestinedForQueryString[i] = component.data[i])\n } else {\n // User specified an \"except\", and therefore made this an object.\n Object.keys(response.updatesQueryString).forEach(key => {\n if (isNaN(key)) {\n // If the key is non-numeric (presumably has an \"except\" key)\n dataDestinedForQueryString[key] = component.data[key]\n\n if (response.updatesQueryString[key].except !== undefined) {\n excepts.push({key: key, value: response.updatesQueryString[key].except})\n }\n } else {\n // If key is numeric.\n const dataKey = response.updatesQueryString[key]\n dataDestinedForQueryString[dataKey] = component.data[dataKey]\n }\n })\n }\n\n var queryData = {\n ...queryString.parse(window.location.search),\n ...dataDestinedForQueryString,\n }\n\n // Remove data items that are specified in the \"except\" key option.\n excepts.forEach(({ key, value }) => {\n if (queryData[key] == value) {\n delete queryData[key]\n }\n })\n\n var stringifiedQueryString = queryString.stringify(queryData)\n\n history.replaceState({turbolinks: {}}, \"\", [window.location.pathname, stringifiedQueryString].filter(Boolean).join('?'))\n })\n}\n","import '@/dom/polyfills/index'\nimport componentStore from '@/Store'\nimport DOM from '@/dom/dom'\nimport Component from '@/component/index'\nimport Connection from '@/connection'\nimport drivers from '@/connection/drivers'\nimport { dispatch } from './util'\nimport FileUploads from '@/component/FileUploads'\nimport LoadingStates from '@/component/LoadingStates'\nimport DisableForms from '@/component/DisableForms'\nimport DirtyStates from '@/component/DirtyStates'\nimport OfflineStates from '@/component/OfflineStates'\nimport Polling from '@/component/Polling'\nimport UpdateQueryString from '@/component/UpdateQueryString'\n\nclass Livewire {\n constructor(options = {}) {\n const defaults = {\n driver: 'http',\n }\n\n options = Object.assign({}, defaults, options)\n\n const driver =\n typeof options.driver === 'object'\n ? options.driver\n : drivers[options.driver]\n\n this.connection = new Connection(driver)\n this.components = componentStore\n this.onLoadCallback = () => {}\n }\n\n find(componentId) {\n return this.components.componentsById[componentId]\n }\n\n directive(name, callback) {\n this.components.registerDirective(name, callback)\n }\n\n hook(name, callback) {\n this.components.registerHook(name, callback)\n }\n\n onLoad(callback) {\n this.onLoadCallback = callback\n }\n\n onError(callback) {\n this.components.onErrorCallback = callback\n }\n\n emit(event, ...params) {\n this.components.emit(event, ...params)\n }\n\n emitTo(name, event, ...params) {\n this.components.emitTo(name, event, ...params)\n }\n\n on(event, callback) {\n this.components.on(event, callback)\n }\n\n restart() {\n this.stop()\n this.start()\n }\n\n stop() {\n this.components.tearDownComponents()\n }\n\n start() {\n DOM.rootComponentElementsWithNoParents().forEach(el => {\n this.components.addComponent(new Component(el, this.connection))\n })\n\n this.onLoadCallback()\n dispatch('livewire:load')\n\n document.addEventListener(\n 'visibilitychange',\n () => {\n this.components.livewireIsInBackground = document.hidden\n },\n false\n )\n\n this.components.initialRenderIsFinished = true\n }\n\n rescan() {\n DOM.rootComponentElementsWithNoParents().forEach(el => {\n const componentId = el.getAttribute('id')\n if (this.components.hasComponent(componentId)) return\n\n this.components.addComponent(new Component(el, this.connection))\n })\n }\n\n plugin(callable) {\n callable(this)\n }\n}\n\nif (!window.Livewire) {\n window.Livewire = Livewire\n}\n\nUpdateQueryString()\nOfflineStates()\nLoadingStates()\nDisableForms()\nFileUploads()\nDirtyStates()\nPolling()\n\ndispatch('livewire:available')\n\nexport default Livewire\n"],"names":["ceil","Math","floor","argument","isNaN","it","undefined","TypeError","createMethod","CONVERT_TO_STRING","$this","pos","first","second","S","String","requireObjectCoercible","position","toInteger","size","length","charCodeAt","charAt","slice","codeAt","check","globalThis","window","self","global","Function","exec","error","fails","Object","defineProperty","get","document","EXISTS","isObject","createElement","DESCRIPTORS","a","input","PREFERRED_STRING","fn","val","toString","call","valueOf","nativeDefineProperty","O","P","Attributes","anObject","toPrimitive","IE8_DOM_DEFINE","value","bitmap","enumerable","configurable","writable","object","key","definePropertyModule","f","createPropertyDescriptor","createNonEnumerableProperty","SHARED","store","setGlobal","functionToString","inspectSource","WeakMap","test","hasOwnProperty","module","push","version","mode","copyright","id","postfix","random","keys","shared","uid","set","has","enforce","getterFor","TYPE","state","type","NATIVE_WEAK_MAP","wmget","wmhas","wmset","metadata","STATE","sharedKey","hiddenKeys","objectHas","nativePropertyIsEnumerable","propertyIsEnumerable","getOwnPropertyDescriptor","NASHORN_BUG","1","V","descriptor","this","split","classof","IndexedObject","nativeGetOwnPropertyDescriptor","toIndexedObject","propertyIsEnumerableModule","getInternalState","InternalStateModule","enforceInternalState","TEMPLATE","options","unsafe","simple","noTargetGet","source","join","prototype","aFunction","variable","namespace","method","arguments","path","min","max","index","integer","IS_INCLUDES","el","fromIndex","toLength","toAbsoluteIndex","includes","indexOf","require$$0","names","i","result","enumBugKeys","concat","getOwnPropertyNames","internalObjectKeys","getOwnPropertySymbols","getBuiltIn","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","target","ownKeys","getOwnPropertyDescriptorModule","replacement","isForced","feature","detection","data","normalize","POLYFILL","NATIVE","string","replace","toLowerCase","targetProperty","sourceProperty","TARGET","GLOBAL","STATIC","stat","forced","copyConstructorProperties","sham","redefine","F","constructor","getPrototypeOf","IE_PROTO","ObjectPrototype","CORRECT_PROTOTYPE_GETTER","toObject","Symbol","NATIVE_SYMBOL","iterator","WellKnownSymbolsStore","createWellKnownSymbol","USE_SYMBOL_AS_UID","withoutSetter","name","ITERATOR","wellKnownSymbol","BUGGY_SAFARI_ITERATORS","returnThis","IteratorPrototype","PrototypeOfArrayIteratorPrototype","arrayIterator","defineProperties","Properties","objectKeys","GT","LT","PROTOTYPE","SCRIPT","EmptyConstructor","scriptTag","content","NullProtoObjectViaActiveX","activeXDocument","write","close","temp","parentWindow","NullProtoObjectViaIFrame","iframeDocument","iframe","documentCreateElement","JS","style","display","html","appendChild","src","contentWindow","open","NullProtoObject","domain","ActiveXObject","create","TO_STRING_TAG","TAG","IteratorConstructor","NAME","next","setToStringTag","Iterators","setPrototypeOf","setter","CORRECT_SETTER","Array","proto","aPossiblePrototype","__proto__","IteratorsCore","KEYS","VALUES","ENTRIES","Iterable","DEFAULT","IS_SET","FORCED","createIteratorConstructor","CurrentIteratorPrototype","methods","KEY","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","entries","values","$","STRING_ITERATOR","setInternalState","defineIterator","iterated","point","done","that","b","c","apply","returnMethod","ArrayPrototype","propertyKey","CORRECT_ARGUMENTS","classofRaw","tryGet","TO_STRING_TAG_SUPPORT","tag","callee","arrayLike","step","C","argumentsLength","mapfn","mapping","iteratorMethod","getIteratorMethod","bind","isArrayIteratorMethod","createProperty","callWithSafeIterationClosing","SAFE_CLOSING","called","iteratorWithReturn","return","from","SKIP_CLOSING","ITERATION_SUPPORT","INCORRECT_ITERATION","checkCorrectnessOfIteration","iterable","UNSCOPABLES","cache","thrower","METHOD_NAME","ACCESSORS","argument0","argument1","$includes","USES_TO_LENGTH","arrayMethodUsesToLength","addToUnscopables","CONSTRUCTOR","METHOD","entryUnbind","isArray","arg","flattenIntoArray","original","sourceLen","start","depth","mapper","thisArg","element","targetIndex","sourceIndex","mapFn","SPECIES","originalArray","flat","depthArg","A","arraySpeciesCreate","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","NO_HOLES","callbackfn","specificCreate","boundFunction","forEach","map","filter","some","every","find","findIndex","$find","FIND","SKIPS_HOLES","nativeAssign","assign","B","symbol","chr","T","j","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","ARRAY_ITERATOR","kind","Arguments","ArrayValues","ArrayIteratorMethods","COLLECTION_NAME","DOMIterables","Collection","CollectionPrototype","Promise","CONSTRUCTOR_NAME","Constructor","Result","stopped","AS_ENTRIES","IS_ITERATOR","iterFn","stop","defaultConstructor","userAgent","location","setImmediate","clear","clearImmediate","process","MessageChannel","Dispatch","counter","queue","ONREADYSTATECHANGE","defer","channel","port","run","runner","listener","event","post","postMessage","protocol","host","args","nextTick","now","IS_IOS","port2","port1","onmessage","addEventListener","importScripts","removeChild","setTimeout","macrotask","require$$1","MutationObserver","WebKitMutationObserver","IS_NODE","queueMicrotaskDescriptor","queueMicrotask","flush","head","last","notify","toggle","node","promise","then","parent","exit","enter","createTextNode","observe","characterData","resolve","task","PromiseCapability","reject","$$resolve","$$reject","x","promiseCapability","newPromiseCapability","console","versions","v8","match","PROMISE","getInternalPromiseState","PromiseConstructor","NativePromise","$fetch","newPromiseCapabilityModule","newGenericPromiseCapability","DISPATCH_EVENT","createEvent","dispatchEvent","UNHANDLED_REJECTION","REJECTION_HANDLED","PENDING","FULFILLED","REJECTED","HANDLED","UNHANDLED","Internal","OwnPromiseCapability","PromiseWrapper","nativeThen","V8_VERSION","PromiseRejectionEvent","FakePromise","all","isThenable","isReject","notified","chain","reactions","microtask","ok","exited","reaction","handler","fail","rejection","onHandleUnhandled","onUnhandled","reason","initEvent","hostReportErrors","isUnhandled","perform","emit","unwrap","internalReject","internalResolve","wrapper","executor","anInstance","redefineAll","onFulfilled","onRejected","speciesConstructor","catch","fetch","promiseResolve","wrap","setSpecies","r","capability","$promiseResolve","remaining","iterate","alreadyCalled","race","allSettled","status","e","NON_GENERIC","real","finally","onFinally","isFunction","getInternalAggregateErrorState","$AggregateError","errors","message","Error","errorsArray","AggregateError","try","PROMISE_ANY_ERROR","any","alreadyResolved","alreadyRejected","MATCH","isRegExp","regexp","nativeStartsWith","startsWith","CORRECT_IS_REGEXP_LOGIC","correctIsRegExpLogic","MDN_POLYFILL_BUG","searchString","notARegExp","search","support","searchParams","blob","Blob","formData","arrayBuffer","isDataView","obj","DataView","isPrototypeOf","viewClasses","isArrayBufferView","ArrayBuffer","isView","normalizeName","normalizeValue","iteratorFor","items","shift","Headers","headers","append","header","consumed","body","bodyUsed","fileReaderReady","reader","onload","onerror","readBlobAsArrayBuffer","FileReader","readAsArrayBuffer","readBlobAsText","readAsText","readArrayBufferAsText","buf","view","Uint8Array","chars","fromCharCode","bufferClone","byteLength","buffer","Body","_initBody","_bodyInit","_bodyText","_bodyBlob","FormData","_bodyFormData","URLSearchParams","_bodyArrayBuffer","rejected","text","decode","json","JSON","parse","oldValue","callback","normalizeMethod","upcased","toUpperCase","Request","url","credentials","signal","referrer","form","trim","bytes","decodeURIComponent","parseHeaders","rawHeaders","line","parts","Response","bodyInit","statusText","clone","response","redirectStatuses","redirect","RangeError","DOMException","err","stack","init","request","aborted","xhr","XMLHttpRequest","abortXhr","abort","getAllResponseHeaders","responseURL","responseText","ontimeout","onabort","withCredentials","responseType","setRequestHeader","onreadystatechange","readyState","removeEventListener","send","polyfill","Element","getAttributeNames","attributes","matches","matchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","webkitMatchesSelector","s","ownerDocument","querySelectorAll","item","closest","parentElement","parentNode","nodeType","btoa","encodeURIComponent","outerHTML","ref","params","payload","stringify","Action","MessageBus","listeners","availableHooks","bus","register","directives","directive","component","componentsById","initialRenderIsFinished","livewireIsInBackground","livewireIsOffline","sessionHasExpired","hooks","HookManager","DirectiveManager","onErrorCallback","components","_this","addComponent","findComponent","getComponentsByName","hasComponent","tearDownComponents","_this2","removeComponent","on","componentsListeningForEvent","addAction","EventAction","emitUp","componentsListeningForEventThatAreTreeAncestors","emitSelf","componentId","events","emitTo","componentName","parentIds","rawNode","getAttribute","registerDirective","registerHook","callHook","tearDown","onError","modifiers","rawName","eventContext","context","defaultDuration","durationInMilliSeconds","durationInMilliSecondsString","mod","durationInSecondsString","Number","rawMethod","methodAndParamString","$event","eval","fallback","parseOutMethodAndParams","extractTypeModifiersAndValue","RegExp","ElementDirective","default","isValidObject","isString","splitChar","separator","joinChar","isValid","segs","len","idx","prop","hasProp","n","DOMElement","ElementDirectives","requestAnimationFrame","closestByAttribute","attribute","closestEl","hasAttribute","removeAttribute","setAttribute","activeElement","tagName","modelName","modelValue","checked","multiple","getSelectValues","modelString","setInputValue","valueFound","_this3","updateSelect","option","selected","arrayWrappedValue","isSameNode","querySelector","classList","DOM","allEls","onlyChildEls","root","actionQueue","checksum","locale","children","action","errorBag","dom","dirtyInputs","eventQueue","dispatchQueue","redirectTo","updatesQueryString","fromPrefetch","prefetchId","toId","Message","debounce","func","wait","immediate","timeout","later","callNow","clearTimeout","walk","firstElementChild","nextElementSibling","dispatch","eventName","cancelable","preventDefaultSupported","preventDefault","defaultPrevented","range","getCsrfToken","token","tokenTag","livewire_token","kebabCase","subject","morphAttrs","fromNode","toNode","attr","attrName","attrNamespaceURI","attrValue","attrs","namespaceURI","localName","getAttributeNS","prefix","setAttributeNS","specified","hasAttributeNS","removeAttributeNS","NS_XHTML","doc","HAS_TEMPLATE_SUPPORT","HAS_RANGE_SUPPORT","createRange","createFragmentFromTemplate","str","template","innerHTML","childNodes","createFragmentFromRange","selectNode","createContextualFragment","createFragmentFromWrap","fragment","toElement","compareNodeNames","fromEl","toEl","fromNodeName","nodeName","toNodeName","actualize","createElementNS","moveChildren","curChild","firstChild","nextChild","nextSibling","syncBooleanAttrProp","OPTION","parentName","selectedIndex","INPUT","TEXTAREA","newValue","nodeValue","placeholder","SELECT","optgroup","ELEMENT_NODE","DOCUMENT_FRAGMENT_NODE","TEXT_NODE","COMMENT_NODE","noop","defaultGetNodeKey","hook","morphdomFactory","toNodeHtml","getNodeKey","onBeforeNodeAdded","onNodeAdded","onBeforeElUpdated","onElUpdated","onBeforeNodeDiscarded","onNodeDiscarded","onBeforeElChildrenUpdated","childrenOnly","fromNodesLookup","keyedRemovalList","addKeyedRemoval","removeNode","skipKeyedNodes","walkDiscardedChildNodes","handleNodeAdded","skipAddingChildren","unmatchedFromEl","replaceChild","morphEl","toElKey","skipElUpdatingButStillUpdateChildren","curToNodeKey","curFromNodeKey","fromNextSibling","toNextSibling","matchingFromEl","curToNodeChild","curFromNodeChild","outer","curFromNodeType","isCompatible","insertBefore","isEqualNode","nodeToBeAdded","cloneNode","onBeforeNodeAddedResult","cleanupFromEl","specialElHandler","specialElHandlers","isLivewireModel","morphChildren","indexTree","morphedNode","morphedNodeType","toNodeType","elToRemove","morphdom","initialize","fireActionRightAway","setInputValueFromModel","attachModelListener","attachDomListener","MethodAction","isLazy","debounceIf","condition","time","modelSyncDebounce","hasDebounceModifier","isTextInput","model","CustomEvent","detail","documentMode","valueFromInput","ModelAction","durationOr","addListenerForTeardown","attachListener","selectedSystemKeyModifiers","modifier","addPrefetchAction","debouncedHandler","callAfterModelDebounce","setEventContext","preventAndStop","scopedListeners","stopPropagation","PrefetchManager","prefetchMessagesByActionId","storeResponse","getPrefetchMessageByAction","EchoManager","Echo","warn","event_parts","splice","channel_type","event_name","listen","private","notification","targetedLoadingElsByAction","genericLoadingEls","currentlyActiveLoadingEls","currentlyActiveUploadLoadingEls","missing","processLoadingDirective","actions","models","setLoading","unsetLoading","removeLoadingEl","actionNames","nonActionOrModelLivewireDirectives","addLoadingEl","actionsNames","actionsName","actionTargetedEls","startLoading","setUploadLoading","unsetUploadLoading","endLoading","els","classes","Boolean","remove","add","MessageBag","bag","thing","UploadManager","uploadBag","removeBag","handleSignedUrl","handleS3PreSignedUrl","tmpFilenames","markUploadFinished","markUploadErrored","tmpFilename","finishCallback","file","errorCallback","progressCallback","setUpload","files","uploadObject","startUpload","makeRequest","paths","Host","retrievePaths","upload","progress","round","loaded","total","fileInfos","Component","connection","__livewire","initialData","extractLivewireAttribute","messageInTransit","modelTimeout","tearDownCallbacks","prefetchManager","echoManager","uploadManager","registerListeners","nodeInitializer","reduce","carry","dotSeperatedSegment","actionHasPrefetch","actionPrefetchResponseHasBeenReceived","handleResponse","clearPrefetches","fireMessage","sendMessage","replaceDom","forceRefreshDataBoundElementsMarkedAsDirty","selfOnly","to","ancestorsOnly","bubbles","Turbolinks","supported","visit","href","isFocused","rawDom","objectContainingRawDomToFakePassingByReferenceToBeAbleToMutateFromWithinAHook","handleMorph","PrefetchMessage","addMessage","storeResponseInMessageForPayload","morphChanges","changed","added","removed","_this4","__livewire_ignore","__livewire_ignore_self","isComponentRootEl","__x","Alpine","closestRoot","callbackWhenNewComponentIsEncountered","_this5","modelDebounceCallbacks","callbackRegister","teardownCallback","uploadMultiple","removeUpload","getByAttributeAndValue","Connection","driver","onMessage","componentStore","receivePrefetchMessage","receiveMessage","payloadThatFailedSending","messageSendFailed","livewire_app_url","getSocketId","isOutputFromDump","showHtmlModal","confirm","reload","output","socketId","page","modal","getElementById","width","height","padding","backgroundColor","zIndex","borderRadius","prepend","overflow","hideHtmlModal","focus","http","finish","progressEvent","percentCompleted","eventHandler","cleanupStackByComponentId","elem","contains","disabled","readOnly","targetedDirtyElsByProperty","genericDirtyEls","registerListener","propertyNames","addDirtyEls","targetProperties","dirtyEl","isDirty","setDirtyState","removeAttrsibute","offlineEls","toggleOffline","isOffline","intervalId","fireActionOnInterval","clearInterval","__livewire_polling_interval","interval","setInterval","isConnected","OBJECT_TYPE","ARRAY_TYPE","flatten","query","part","endValue","excepts","dataDestinedForQueryString","except","dataKey","queryData","queryString","stringifiedQueryString","history","replaceState","turbolinks","pathname","Livewire","defaults","_typeof","drivers","onLoadCallback","rootComponentElementsWithNoParents","hidden","callable","UpdateQueryString","OfflineStates","LoadingStates","DisableForms","FileUploads","DirtyStates","Polling"],"mappings":"omJAAA,IAAIA,KAAOC,KAAKD,KACZE,MAAQD,KAAKC,gBAIA,SAAUC,UACzB,OAAOC,MAAMD,UAAYA,UAAY,GAAKA,SAAW,EAAID,MAAQF,MAAMG,kCCJxD,SAAUE,IACzB,GAAUC,MAAND,GAAiB,MAAME,UAAU,wBAA0BF,IAC/D,OAAOA,ICALG,aAAe,SAAUC,mBAC3B,OAAO,SAAUC,MAAOC,KACtB,IAGIC,MAAOC,OAHPC,EAAIC,OAAOC,uBAAuBN,QAClCO,SAAWC,UAAUP,KACrBQ,KAAOL,EAAEM,OAEb,OAAIH,SAAW,GAAKA,UAAYE,KAAaV,kBAAoB,QAAKH,GACtEM,MAAQE,EAAEO,WAAWJ,WACN,OAAUL,MAAQ,OAAUK,SAAW,IAAME,OACtDN,OAASC,EAAEO,WAAWJ,SAAW,IAAM,OAAUJ,OAAS,MAC1DJ,kBAAoBK,EAAEQ,OAAOL,UAAYL,MACzCH,kBAAoBK,EAAES,MAAMN,SAAUA,SAAW,GAA+BJ,OAAS,OAAlCD,MAAQ,OAAU,IAA0B,wBAI5F,CAGfY,OAAQhB,cAAa,GAGrBc,OAAQd,cAAa,wQCzBvB,IAAIiB,MAAQ,SAAUpB,IACpB,OAAOA,IAAMA,GAAGJ,MAAQA,MAAQI,aAMhCoB,MAA2B,iBAAdC,YAA0BA,aACvCD,MAAuB,iBAAVE,QAAsBA,SACnCF,MAAqB,iBAARG,MAAoBA,OACjCH,MAAuB,iBAAVI,gBAAsBA,iBAEnCC,SAAS,cAATA,SCZe,SAAUC,MACzB,IACE,QAASA,OACT,MAAOC,OACP,OAAO,iBCDOC,OAAM,WACtB,OAA8E,GAAvEC,OAAOC,eAAe,GAAI,EAAG,CAAEC,IAAK,WAAc,OAAO,KAAQ,eCJzD,SAAU/B,IACzB,MAA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