@event-calendar/build 0.14.2 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- {"version":3,"file":"event-calendar-modern.min.js","sources":["../../node_modules/core-js-pure/internals/engine-v8-version.js","../../node_modules/core-js-pure/internals/fails.js","../../node_modules/core-js-pure/internals/function-bind-native.js","../../node_modules/core-js-pure/internals/function-uncurry-this.js","../../node_modules/core-js-pure/internals/classof-raw.js","../../node_modules/core-js-pure/internals/indexed-object.js","../../node_modules/core-js-pure/internals/is-null-or-undefined.js","../../node_modules/core-js-pure/internals/require-object-coercible.js","../../node_modules/core-js-pure/internals/to-indexed-object.js","../../node_modules/core-js-pure/internals/iterators.js","../../node_modules/core-js-pure/internals/global.js","../../node_modules/core-js-pure/internals/document-all.js","../../node_modules/core-js-pure/internals/is-callable.js","../../node_modules/core-js-pure/internals/weak-map-basic-detection.js","../../node_modules/core-js-pure/internals/is-object.js","../../node_modules/core-js-pure/internals/descriptors.js","../../node_modules/core-js-pure/internals/document-create-element.js","../../node_modules/core-js-pure/internals/ie8-dom-define.js","../../node_modules/core-js-pure/internals/v8-prototype-define-bug.js","../../node_modules/core-js-pure/internals/an-object.js","../../node_modules/core-js-pure/internals/function-call.js","../../node_modules/core-js-pure/internals/path.js","../../node_modules/core-js-pure/internals/get-built-in.js","../../node_modules/core-js-pure/internals/object-is-prototype-of.js","../../node_modules/core-js-pure/internals/engine-user-agent.js","../../node_modules/core-js-pure/internals/symbol-constructor-detection.js","../../node_modules/core-js-pure/internals/use-symbol-as-uid.js","../../node_modules/core-js-pure/internals/is-symbol.js","../../node_modules/core-js-pure/internals/try-to-string.js","../../node_modules/core-js-pure/internals/a-callable.js","../../node_modules/core-js-pure/internals/get-method.js","../../node_modules/core-js-pure/internals/ordinary-to-primitive.js","../../node_modules/core-js-pure/internals/define-global-property.js","../../node_modules/core-js-pure/internals/shared-store.js","../../node_modules/core-js-pure/internals/shared.js","../../node_modules/core-js-pure/internals/to-object.js","../../node_modules/core-js-pure/internals/has-own-property.js","../../node_modules/core-js-pure/internals/uid.js","../../node_modules/core-js-pure/internals/well-known-symbol.js","../../node_modules/core-js-pure/internals/to-primitive.js","../../node_modules/core-js-pure/internals/to-property-key.js","../../node_modules/core-js-pure/internals/object-define-property.js","../../node_modules/core-js-pure/internals/create-property-descriptor.js","../../node_modules/core-js-pure/internals/internal-state.js","../../node_modules/core-js-pure/internals/create-non-enumerable-property.js","../../node_modules/core-js-pure/internals/shared-key.js","../../node_modules/core-js-pure/internals/hidden-keys.js","../../node_modules/core-js-pure/internals/function-apply.js","../../node_modules/core-js-pure/internals/function-uncurry-this-clause.js","../../node_modules/core-js-pure/internals/object-property-is-enumerable.js","../../node_modules/core-js-pure/internals/object-get-own-property-descriptor.js","../../node_modules/core-js-pure/internals/is-forced.js","../../node_modules/core-js-pure/internals/function-bind-context.js","../../node_modules/core-js-pure/internals/export.js","../../node_modules/core-js-pure/internals/function-name.js","../../node_modules/core-js-pure/internals/math-trunc.js","../../node_modules/core-js-pure/internals/to-integer-or-infinity.js","../../node_modules/core-js-pure/internals/to-absolute-index.js","../../node_modules/core-js-pure/internals/to-length.js","../../node_modules/core-js-pure/internals/length-of-array-like.js","../../node_modules/core-js-pure/internals/array-includes.js","../../node_modules/core-js-pure/internals/object-keys-internal.js","../../node_modules/core-js-pure/internals/enum-bug-keys.js","../../node_modules/core-js-pure/internals/object-keys.js","../../node_modules/core-js-pure/internals/object-define-properties.js","../../node_modules/core-js-pure/internals/html.js","../../node_modules/core-js-pure/internals/object-create.js","../../node_modules/core-js-pure/internals/iterators-core.js","../../node_modules/core-js-pure/internals/correct-prototype-getter.js","../../node_modules/core-js-pure/internals/object-get-prototype-of.js","../../node_modules/core-js-pure/internals/define-built-in.js","../../node_modules/core-js-pure/internals/to-string-tag-support.js","../../node_modules/core-js-pure/internals/classof.js","../../node_modules/core-js-pure/internals/object-to-string.js","../../node_modules/core-js-pure/internals/set-to-string-tag.js","../../node_modules/core-js-pure/internals/iterator-create-constructor.js","../../node_modules/core-js-pure/internals/a-possible-prototype.js","../../node_modules/core-js-pure/internals/object-set-prototype-of.js","../../node_modules/core-js-pure/internals/iterator-define.js","../../node_modules/core-js-pure/internals/create-iter-result-object.js","../../node_modules/core-js-pure/modules/es.array.iterator.js","../../node_modules/core-js-pure/internals/add-to-unscopables.js","../../node_modules/core-js-pure/internals/object-get-own-property-names.js","../../node_modules/core-js-pure/internals/create-property.js","../../node_modules/core-js-pure/internals/array-slice-simple.js","../../node_modules/core-js-pure/internals/object-get-own-property-names-external.js","../../node_modules/core-js-pure/internals/array-buffer-non-extensible.js","../../node_modules/core-js-pure/internals/object-is-extensible.js","../../node_modules/core-js-pure/internals/freezing.js","../../node_modules/core-js-pure/internals/internal-metadata.js","../../node_modules/core-js-pure/internals/is-array-iterator-method.js","../../node_modules/core-js-pure/internals/get-iterator-method.js","../../node_modules/core-js-pure/internals/get-iterator.js","../../node_modules/core-js-pure/internals/iterator-close.js","../../node_modules/core-js-pure/internals/iterate.js","../../node_modules/core-js-pure/internals/an-instance.js","../../node_modules/core-js-pure/internals/is-array.js","../../node_modules/core-js-pure/internals/inspect-source.js","../../node_modules/core-js-pure/internals/is-constructor.js","../../node_modules/core-js-pure/internals/array-species-constructor.js","../../node_modules/core-js-pure/internals/array-species-create.js","../../node_modules/core-js-pure/internals/array-iteration.js","../../node_modules/core-js-pure/internals/collection.js","../../node_modules/core-js-pure/internals/define-built-ins.js","../../node_modules/core-js-pure/internals/set-species.js","../../node_modules/core-js-pure/internals/collection-strong.js","../../node_modules/core-js-pure/modules/es.set.constructor.js","../../node_modules/core-js-pure/internals/to-string.js","../../node_modules/core-js-pure/internals/string-multibyte.js","../../node_modules/core-js-pure/modules/es.string.iterator.js","../../node_modules/core-js-pure/es/set/index.js","../../node_modules/core-js-pure/modules/web.dom-collections.iterator.js","../../node_modules/core-js-pure/internals/dom-iterables.js","../../node_modules/core-js-pure/stable/set/index.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/set.js","../../node_modules/core-js-pure/internals/array-method-has-species-support.js","../../node_modules/core-js-pure/modules/es.array.map.js","../../node_modules/core-js-pure/internals/entry-virtual.js","../../node_modules/core-js-pure/es/array/virtual/map.js","../../node_modules/core-js-pure/es/instance/map.js","../../node_modules/core-js-pure/stable/instance/map.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js","../../node_modules/core-js-pure/modules/es.object.keys.js","../../node_modules/core-js-pure/es/object/keys.js","../../node_modules/core-js-pure/stable/object/keys.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js","../../node_modules/core-js-pure/modules/es.array.includes.js","../../node_modules/core-js-pure/es/array/virtual/includes.js","../../node_modules/core-js-pure/internals/is-regexp.js","../../node_modules/core-js-pure/internals/not-a-regexp.js","../../node_modules/core-js-pure/internals/correct-is-regexp-logic.js","../../node_modules/core-js-pure/modules/es.string.includes.js","../../node_modules/core-js-pure/es/string/virtual/includes.js","../../node_modules/core-js-pure/es/instance/includes.js","../../node_modules/core-js-pure/stable/instance/includes.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js","../../node_modules/core-js-pure/internals/does-not-exceed-safe-integer.js","../../node_modules/core-js-pure/modules/es.array.concat.js","../../node_modules/core-js-pure/es/array/virtual/concat.js","../../node_modules/core-js-pure/es/instance/concat.js","../../node_modules/core-js-pure/stable/instance/concat.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js","../../node_modules/core-js-pure/internals/object-get-own-property-symbols.js","../../node_modules/core-js-pure/internals/own-keys.js","../../node_modules/core-js-pure/internals/copy-constructor-properties.js","../../node_modules/core-js-pure/internals/error-stack-clear.js","../../node_modules/core-js-pure/internals/install-error-cause.js","../../node_modules/core-js-pure/internals/normalize-string-argument.js","../../node_modules/core-js-pure/internals/error-stack-installable.js","../../node_modules/core-js-pure/modules/es.aggregate-error.constructor.js","../../node_modules/core-js-pure/internals/engine-is-node.js","../../node_modules/core-js-pure/internals/task.js","../../node_modules/core-js-pure/internals/a-constructor.js","../../node_modules/core-js-pure/internals/species-constructor.js","../../node_modules/core-js-pure/internals/array-slice.js","../../node_modules/core-js-pure/internals/validate-arguments-length.js","../../node_modules/core-js-pure/internals/engine-is-ios.js","../../node_modules/core-js-pure/internals/microtask.js","../../node_modules/core-js-pure/internals/engine-is-ios-pebble.js","../../node_modules/core-js-pure/internals/engine-is-webos-webkit.js","../../node_modules/core-js-pure/internals/host-report-errors.js","../../node_modules/core-js-pure/internals/perform.js","../../node_modules/core-js-pure/internals/queue.js","../../node_modules/core-js-pure/internals/promise-native-constructor.js","../../node_modules/core-js-pure/internals/engine-is-deno.js","../../node_modules/core-js-pure/internals/engine-is-browser.js","../../node_modules/core-js-pure/internals/promise-constructor-detection.js","../../node_modules/core-js-pure/internals/new-promise-capability.js","../../node_modules/core-js-pure/modules/es.promise.constructor.js","../../node_modules/core-js-pure/internals/check-correctness-of-iteration.js","../../node_modules/core-js-pure/internals/promise-statics-incorrect-iteration.js","../../node_modules/core-js-pure/modules/es.promise.all.js","../../node_modules/core-js-pure/modules/es.promise.catch.js","../../node_modules/core-js-pure/modules/es.promise.race.js","../../node_modules/core-js-pure/modules/es.promise.reject.js","../../node_modules/core-js-pure/internals/promise-resolve.js","../../node_modules/core-js-pure/modules/es.promise.resolve.js","../../node_modules/core-js-pure/modules/es.promise.all-settled.js","../../node_modules/core-js-pure/modules/es.promise.any.js","../../node_modules/core-js-pure/modules/es.promise.finally.js","../../node_modules/core-js-pure/es/promise/index.js","../../node_modules/core-js-pure/stable/promise/index.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/promise.js","../../node_modules/core-js-pure/internals/url-constructor-detection.js","../../node_modules/core-js-pure/internals/array-sort.js","../../node_modules/core-js-pure/modules/web.url-search-params.constructor.js","../../node_modules/core-js-pure/web/url-search-params.js","../../node_modules/core-js-pure/stable/url-search-params/index.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/url-search-params.js","../../node_modules/core-js-pure/internals/object-to-array.js","../../node_modules/core-js-pure/modules/es.object.entries.js","../../node_modules/core-js-pure/es/object/entries.js","../../node_modules/core-js-pure/stable/object/entries.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/object/entries.js","../../node_modules/core-js-pure/modules/es.array.slice.js","../../node_modules/core-js-pure/es/array/virtual/slice.js","../../node_modules/core-js-pure/es/instance/slice.js","../../node_modules/core-js-pure/stable/instance/slice.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js","../../node_modules/core-js-pure/modules/es.array.filter.js","../../node_modules/core-js-pure/es/array/virtual/filter.js","../../node_modules/core-js-pure/es/instance/filter.js","../../node_modules/core-js-pure/stable/instance/filter.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js","../../node_modules/core-js-pure/internals/delete-property-or-throw.js","../../node_modules/core-js-pure/internals/array-method-is-strict.js","../../node_modules/core-js-pure/internals/engine-ff-version.js","../../node_modules/core-js-pure/internals/engine-is-ie-or-edge.js","../../node_modules/core-js-pure/internals/engine-webkit-version.js","../../node_modules/core-js-pure/modules/es.array.sort.js","../../node_modules/core-js-pure/es/array/virtual/sort.js","../../node_modules/core-js-pure/es/instance/sort.js","../../node_modules/core-js-pure/stable/instance/sort.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/sort.js","../../node_modules/core-js-pure/modules/es.array.index-of.js","../../node_modules/core-js-pure/es/array/virtual/index-of.js","../../node_modules/core-js-pure/es/instance/index-of.js","../../node_modules/core-js-pure/stable/instance/index-of.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/index-of.js","../../node_modules/core-js-pure/modules/es.object.get-own-property-descriptors.js","../../node_modules/core-js-pure/es/object/get-own-property-descriptors.js","../../node_modules/core-js-pure/stable/object/get-own-property-descriptors.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors.js","../../node_modules/core-js-pure/internals/call-with-safe-iteration-closing.js","../../node_modules/core-js-pure/internals/array-from.js","../../node_modules/core-js-pure/modules/es.array.from.js","../../node_modules/core-js-pure/es/array/from.js","../../node_modules/core-js-pure/stable/array/from.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js","../../node_modules/core-js-pure/internals/array-set-length.js","../../node_modules/core-js-pure/modules/es.array.splice.js","../../node_modules/core-js-pure/es/array/virtual/splice.js","../../node_modules/core-js-pure/es/instance/splice.js","../../node_modules/core-js-pure/stable/instance/splice.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js","../../node_modules/core-js-pure/modules/es.string.starts-with.js","../../node_modules/core-js-pure/es/string/virtual/starts-with.js","../../node_modules/core-js-pure/es/instance/starts-with.js","../../node_modules/core-js-pure/stable/instance/starts-with.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/starts-with.js","../../node_modules/core-js-pure/internals/whitespaces.js","../../node_modules/core-js-pure/internals/string-trim.js","../../node_modules/core-js-pure/internals/string-trim-forced.js","../../node_modules/core-js-pure/modules/es.string.trim.js","../../node_modules/core-js-pure/es/string/virtual/trim.js","../../node_modules/core-js-pure/es/instance/trim.js","../../node_modules/core-js-pure/stable/instance/trim.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim.js","../../node_modules/core-js-pure/modules/es.map.constructor.js","../../node_modules/core-js-pure/es/map/index.js","../../node_modules/core-js-pure/stable/map/index.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/map.js","../../node_modules/core-js-pure/modules/es.global-this.js","../../node_modules/core-js-pure/es/global-this.js","../../node_modules/core-js-pure/stable/global-this.js","../../node_modules/core-js-pure/full/global-this.js","../../node_modules/core-js-pure/features/global-this.js","../../node_modules/@babel/runtime-corejs3/core-js/global-this.js","../../node_modules/core-js-pure/internals/object-assign.js","../../node_modules/core-js-pure/modules/es.object.assign.js","../../node_modules/core-js-pure/es/object/assign.js","../../node_modules/core-js-pure/stable/object/assign.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/object/assign.js","../../node_modules/core-js-pure/internals/array-fill.js","../../node_modules/core-js-pure/modules/es.array.fill.js","../../node_modules/core-js-pure/es/array/virtual/fill.js","../../node_modules/core-js-pure/es/instance/fill.js","../../node_modules/core-js-pure/stable/instance/fill.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/fill.js","../../node_modules/core-js-pure/internals/well-known-symbol-wrapped.js","../../node_modules/core-js-pure/internals/well-known-symbol-define.js","../../node_modules/core-js-pure/internals/symbol-define-to-primitive.js","../../node_modules/core-js-pure/modules/es.symbol.constructor.js","../../node_modules/core-js-pure/internals/symbol-registry-detection.js","../../node_modules/core-js-pure/modules/es.symbol.for.js","../../node_modules/core-js-pure/modules/es.symbol.key-for.js","../../node_modules/core-js-pure/modules/es.json.stringify.js","../../node_modules/core-js-pure/modules/es.object.get-own-property-symbols.js","../../node_modules/core-js-pure/modules/es.symbol.async-iterator.js","../../node_modules/core-js-pure/modules/es.symbol.has-instance.js","../../node_modules/core-js-pure/modules/es.symbol.is-concat-spreadable.js","../../node_modules/core-js-pure/modules/es.symbol.iterator.js","../../node_modules/core-js-pure/modules/es.symbol.match.js","../../node_modules/core-js-pure/modules/es.symbol.match-all.js","../../node_modules/core-js-pure/modules/es.symbol.replace.js","../../node_modules/core-js-pure/modules/es.symbol.search.js","../../node_modules/core-js-pure/modules/es.symbol.species.js","../../node_modules/core-js-pure/modules/es.symbol.split.js","../../node_modules/core-js-pure/modules/es.symbol.to-primitive.js","../../node_modules/core-js-pure/modules/es.symbol.to-string-tag.js","../../node_modules/core-js-pure/modules/es.symbol.unscopables.js","../../node_modules/core-js-pure/modules/es.json.to-string-tag.js","../../node_modules/core-js-pure/es/symbol/index.js","../../node_modules/core-js-pure/stable/symbol/index.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/symbol.js","../../node_modules/core-js-pure/internals/is-iterable.js","../../node_modules/core-js-pure/full/is-iterable.js","../../node_modules/svelte/internal/index.mjs","../../node_modules/core-js-pure/features/is-iterable.js","../../node_modules/@babel/runtime-corejs3/core-js/is-iterable.js","../../node_modules/svelte/store/index.mjs","../../node_modules/core-js-pure/internals/number-parse-int.js","../../node_modules/core-js-pure/modules/es.parse-int.js","../../node_modules/core-js-pure/es/parse-int.js","../../node_modules/core-js-pure/stable/parse-int.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/parse-int.js","../../node_modules/core-js-pure/internals/string-trim-end.js","../../node_modules/core-js-pure/modules/es.string.trim-right.js","../../node_modules/core-js-pure/modules/es.string.trim-end.js","../../node_modules/core-js-pure/es/string/virtual/trim-end.js","../../node_modules/core-js-pure/es/instance/trim-end.js","../../node_modules/core-js-pure/stable/instance/trim-end.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim-end.js","../common/index.js","../core/index.js","../day-grid/index.js","../list/index.js","../time-grid/index.js","../resource-time-grid/index.js","../../node_modules/core-js-pure/modules/es.object.values.js","../../node_modules/core-js-pure/es/object/values.js","../../node_modules/core-js-pure/stable/object/values.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/object/values.js","../interaction/index.js","src/index-modern.js"],"sourcesContent":["var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","var isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","module.exports = {};\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 es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","var documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","var $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","var isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var 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// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","module.exports = {};\n","var path = require('../internals/path');\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (variable) {\n return isCallable(variable) ? 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 uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n return !String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","var $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","var aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","var call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.27.1',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar symbolFor = Symbol && Symbol['for'];\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n var description = 'Symbol.' + name;\n if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {\n WellKnownSymbolsStore[name] = Symbol[name];\n } else if (USE_SYMBOL_AS_UID && symbolFor) {\n WellKnownSymbolsStore[name] = symbolFor(description);\n } else {\n WellKnownSymbolsStore[name] = createWellKnownSymbol(description);\n }\n } return WellKnownSymbolsStore[name];\n};\n","var call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","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 NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar 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 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_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","var classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","var uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar isCallable = require('../internals/is-callable');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar isForced = require('../internals/is-forced');\nvar path = require('../internals/path');\nvar bind = require('../internals/function-bind-context');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\n\nvar wrapConstructor = function (NativeConstructor) {\n var Wrapper = function (a, b, c) {\n if (this instanceof Wrapper) {\n switch (arguments.length) {\n case 0: return new NativeConstructor();\n case 1: return new NativeConstructor(a);\n case 2: return new NativeConstructor(a, b);\n } return new NativeConstructor(a, b, c);\n } return apply(NativeConstructor, this, arguments);\n };\n Wrapper.prototype = NativeConstructor.prototype;\n return Wrapper;\n};\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.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var PROTO = options.proto;\n\n var nativeSource = GLOBAL ? global : STATIC ? global[TARGET] : (global[TARGET] || {}).prototype;\n\n var target = GLOBAL ? path : path[TARGET] || createNonEnumerableProperty(path, TARGET, {})[TARGET];\n var targetPrototype = target.prototype;\n\n var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;\n var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;\n\n for (key in source) {\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contains in native\n USE_NATIVE = !FORCED && nativeSource && hasOwn(nativeSource, key);\n\n targetProperty = target[key];\n\n if (USE_NATIVE) if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(nativeSource, key);\n nativeProperty = descriptor && descriptor.value;\n } else nativeProperty = nativeSource[key];\n\n // export native or implementation\n sourceProperty = (USE_NATIVE && nativeProperty) ? nativeProperty : source[key];\n\n if (USE_NATIVE && typeof targetProperty == typeof sourceProperty) continue;\n\n // bind timers to global for call from export context\n if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, global);\n // wrap global constructors for prevent changs in this version\n else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty);\n // make static versions for prototype methods\n else if (PROTO && isCallable(sourceProperty)) resultProperty = uncurryThis(sourceProperty);\n // default case\n else resultProperty = sourceProperty;\n\n // add a flag to not completely full polyfills\n if (options.sham || (sourceProperty && sourceProperty.sham) || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(resultProperty, 'sham', true);\n }\n\n createNonEnumerableProperty(target, key, resultProperty);\n\n if (PROTO) {\n VIRTUAL_PROTOTYPE = TARGET + 'Prototype';\n if (!hasOwn(path, VIRTUAL_PROTOTYPE)) {\n createNonEnumerableProperty(path, VIRTUAL_PROTOTYPE, {});\n }\n // export virtual prototype methods\n createNonEnumerableProperty(path[VIRTUAL_PROTOTYPE], key, sourceProperty);\n // export real prototype methods\n if (options.real && targetPrototype && (FORCED || !targetPrototype[key])) {\n createNonEnumerableProperty(targetPrototype, key, sourceProperty);\n }\n }\n }\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","var trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\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 : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n","var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nmodule.exports = function (target, key, value, options) {\n if (options && options.enumerable) target[key] = value;\n else createNonEnumerableProperty(target, key, value);\n return target;\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 isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'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.es/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 defineProperty = require('../internals/object-define-property').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar toString = require('../internals/object-to-string');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (it, TAG, STATIC, SET_METHOD) {\n if (it) {\n var target = STATIC ? it : it.prototype;\n if (!hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n if (SET_METHOD && !TO_STRING_TAG_SUPPORT) {\n createNonEnumerableProperty(target, 'toString', toString);\n }\n }\n};\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","var isCallable = require('../internals/is-callable');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (typeof argument == 'object' || isCallable(argument)) return argument;\n throw $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","/* eslint-disable no-proto -- safe */\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/iterator-create-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 defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n } return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n } else {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return call(nativeIterator, this); };\n }\n }\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n defineBuiltIn(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n }\n Iterators[NAME] = defaultIterator;\n\n return methods;\n};\n","// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n return { value: value, done: done };\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 defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return createIterResultObject(undefined, true);\n }\n if (kind == 'keys') return createIterResultObject(index, false);\n if (kind == 'values') return createIterResultObject(target[index], false);\n return createIterResultObject([index, target[index]], false);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n","module.exports = function () { /* empty */ };\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPropertyKey(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","var toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\n\nvar $Array = Array;\nvar max = Math.max;\n\nmodule.exports = function (O, start, end) {\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = $Array(max(fin - k, 0));\n for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n};\n","/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar classof = require('../internals/classof-raw');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return arraySlice(windowNames);\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && classof(it) == 'Window'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\n\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n }\n});\n","var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","var classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","var call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw $TypeError(tryToString(argument) + ' is not iterable');\n};\n","var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};\n","var bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_RECORD = !!(options && options.IS_RECORD);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_RECORD) {\n iterator = iterable.iterator;\n } else if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = IS_RECORD ? iterable.next : iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n","var isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw $TypeError('Incorrect invocation');\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, empty, argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","var isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? $Array : C;\n};\n","var arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","var bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var IS_FILTER_REJECT = TYPE == 7;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that);\n var length = lengthOfArrayLike(self);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar fails = require('../internals/fails');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar defineProperty = require('../internals/object-define-property').f;\nvar forEach = require('../internals/array-iteration').forEach;\nvar DESCRIPTORS = require('../internals/descriptors');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var exported = {};\n var Constructor;\n\n if (!DESCRIPTORS || !isCallable(NativeConstructor)\n || !(IS_WEAK || NativePrototype.forEach && !fails(function () { new NativeConstructor().entries().next(); }))\n ) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else {\n Constructor = wrapper(function (target, iterable) {\n setInternalState(anInstance(target, Prototype), {\n type: CONSTRUCTOR_NAME,\n collection: new NativeConstructor()\n });\n if (iterable != undefined) iterate(iterable, target[ADDER], { that: target, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n forEach(['add', 'clear', 'delete', 'forEach', 'get', 'has', 'set', 'keys', 'values', 'entries'], function (KEY) {\n var IS_ADDER = KEY == 'add' || KEY == 'set';\n if (KEY in NativePrototype && !(IS_WEAK && KEY == 'clear')) {\n createNonEnumerableProperty(Prototype, KEY, function (a, b) {\n var collection = getInternalState(this).collection;\n if (!IS_ADDER && IS_WEAK && !isObject(a)) return KEY == 'get' ? undefined : false;\n var result = collection[KEY](a === 0 ? 0 : a, b);\n return IS_ADDER ? this : result;\n });\n }\n });\n\n IS_WEAK || defineProperty(Prototype, 'size', {\n configurable: true,\n get: function () {\n return getInternalState(this).collection.size;\n }\n });\n }\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME, false, true);\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, forced: true }, exported);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) {\n if (options && options.unsafe && target[key]) target[key] = src[key];\n else defineBuiltIn(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","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar create = require('../internals/object-create');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar bind = require('../internals/function-bind-context');\nvar anInstance = require('../internals/an-instance');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar iterate = require('../internals/iterate');\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar setSpecies = require('../internals/set-species');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fastKey = require('../internals/internal-metadata').fastKey;\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n index: create(null),\n first: undefined,\n last: undefined,\n size: 0\n });\n if (!DESCRIPTORS) that.size = 0;\n if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n var previous, index;\n // change existing entry\n if (entry) {\n entry.value = value;\n // create new entry\n } else {\n state.last = entry = {\n index: index = fastKey(key, true),\n key: key,\n value: value,\n previous: previous = state.last,\n next: undefined,\n removed: false\n };\n if (!state.first) state.first = entry;\n if (previous) previous.next = entry;\n if (DESCRIPTORS) state.size++;\n else that.size++;\n // add to index\n if (index !== 'F') state.index[index] = entry;\n } return that;\n };\n\n var getEntry = function (that, key) {\n var state = getInternalState(that);\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return state.index[index];\n // frozen object case\n for (entry = state.first; entry; entry = entry.next) {\n if (entry.key == key) return entry;\n }\n };\n\n defineBuiltIns(Prototype, {\n // `{ Map, Set }.prototype.clear()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.clear\n // https://tc39.es/ecma262/#sec-set.prototype.clear\n clear: function clear() {\n var that = this;\n var state = getInternalState(that);\n var data = state.index;\n var entry = state.first;\n while (entry) {\n entry.removed = true;\n if (entry.previous) entry.previous = entry.previous.next = undefined;\n delete data[entry.index];\n entry = entry.next;\n }\n state.first = state.last = undefined;\n if (DESCRIPTORS) state.size = 0;\n else that.size = 0;\n },\n // `{ Map, Set }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.delete\n // https://tc39.es/ecma262/#sec-set.prototype.delete\n 'delete': function (key) {\n var that = this;\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.next;\n var prev = entry.previous;\n delete state.index[entry.index];\n entry.removed = true;\n if (prev) prev.next = next;\n if (next) next.previous = prev;\n if (state.first == entry) state.first = next;\n if (state.last == entry) state.last = prev;\n if (DESCRIPTORS) state.size--;\n else that.size--;\n } return !!entry;\n },\n // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.foreach\n // https://tc39.es/ecma262/#sec-set.prototype.foreach\n forEach: function forEach(callbackfn /* , that = undefined */) {\n var state = getInternalState(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // `{ Map, Set}.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.has\n // https://tc39.es/ecma262/#sec-set.prototype.has\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n defineBuiltIns(Prototype, IS_MAP ? {\n // `Map.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-map.prototype.get\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // `Map.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-map.prototype.set\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // `Set.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-set.prototype.add\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineProperty(Prototype, 'size', {\n get: function () {\n return getInternalState(this).size;\n }\n });\n return Constructor;\n },\n setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.entries\n // https://tc39.es/ecma262/#sec-map.prototype.keys\n // https://tc39.es/ecma262/#sec-map.prototype.values\n // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n // https://tc39.es/ecma262/#sec-set.prototype.entries\n // https://tc39.es/ecma262/#sec-set.prototype.keys\n // https://tc39.es/ecma262/#sec-set.prototype.values\n // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return createIterResultObject(undefined, true);\n }\n // return step by kind\n if (kind == 'keys') return createIterResultObject(entry.key, false);\n if (kind == 'values') return createIterResultObject(entry.value, false);\n return createIterResultObject([entry.key, entry.value], false);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // `{ Map, Set }.prototype[@@species]` accessors\n // https://tc39.es/ecma262/#sec-get-map-@@species\n // https://tc39.es/ecma262/#sec-get-set-@@species\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\ncollection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","var classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\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.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: toString(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/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 createIterResultObject(undefined, true);\n point = charAt(string, index);\n state.index += point.length;\n return createIterResultObject(point, false);\n});\n","require('../../modules/es.array.iterator');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.set');\nrequire('../../modules/es.string.iterator');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Set;\n","require('../modules/es.array.iterator');\nvar DOMIterables = require('../internals/dom-iterables');\nvar global = require('../internals/global');\nvar classof = require('../internals/classof');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\n if (CollectionPrototype && classof(CollectionPrototype) !== TO_STRING_TAG) {\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n }\n Iterators[COLLECTION_NAME] = Iterators.Array;\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","var parent = require('../../es/set');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/set\");","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var path = require('../internals/path');\n\nmodule.exports = function (CONSTRUCTOR) {\n return path[CONSTRUCTOR + 'Prototype'];\n};\n","require('../../../modules/es.array.map');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').map;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/map');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.map;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.map) ? method : own;\n};\n","var parent = require('../../es/instance/map');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/map\");","var $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});\n","require('../../modules/es.object.keys');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.keys;\n","var parent = require('../../es/object/keys');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/object/keys\");","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar fails = require('../internals/fails');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// FF99+ bug\nvar BROKEN_ON_SPARSE = fails(function () {\n return !Array(1).includes();\n});\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","require('../../../modules/es.array.includes');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').includes;\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","var isRegExp = require('../internals/is-regexp');\n\nvar $TypeError = TypeError;\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 (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\n\nvar stringIndexOf = uncurryThis(''.indexOf);\n\n// `String.prototype.includes` method\n// https://tc39.es/ecma262/#sec-string.prototype.includes\n$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~stringIndexOf(\n toString(requireObjectCoercible(this)),\n toString(notARegExp(searchString)),\n arguments.length > 1 ? arguments[1] : undefined\n );\n }\n});\n","require('../../../modules/es.string.includes');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('String').includes;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar arrayMethod = require('../array/virtual/includes');\nvar stringMethod = require('../string/virtual/includes');\n\nvar ArrayPrototype = Array.prototype;\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n var own = it.includes;\n if (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.includes)) return arrayMethod;\n if (typeof it == 'string' || it === StringPrototype || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.includes)) {\n return stringMethod;\n } return own;\n};\n","var parent = require('../../es/instance/includes');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/includes\");","var $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n concat: function concat(arg) {\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = lengthOfArrayLike(E);\n doesNotExceedSafeInteger(n + len);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n doesNotExceedSafeInteger(n + 1);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","require('../../../modules/es.array.concat');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').concat;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/concat');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.concat;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.concat) ? method : own;\n};\n","var parent = require('../../es/instance/concat');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/concat\");","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar $Error = Error;\nvar replace = uncurryThis(''.replace);\n\nvar TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd');\nvar V8_OR_CHAKRA_STACK_ENTRY = /\\n\\s*at [^:]*:[^\\n]*/;\nvar IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);\n\nmodule.exports = function (stack, dropEntries) {\n if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {\n while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');\n } return stack;\n};\n","var isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\n// `InstallErrorCause` abstract operation\n// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause\nmodule.exports = function (O, options) {\n if (isObject(options) && 'cause' in options) {\n createNonEnumerableProperty(O, 'cause', options.cause);\n }\n};\n","var toString = require('../internals/to-string');\n\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n","var fails = require('../internals/fails');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = !fails(function () {\n var error = Error('a');\n if (!('stack' in error)) return true;\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));\n return error.stack !== 7;\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar create = require('../internals/object-create');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar clearErrorStack = require('../internals/error-stack-clear');\nvar installErrorCause = require('../internals/install-error-cause');\nvar iterate = require('../internals/iterate');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Error = Error;\nvar push = [].push;\n\nvar $AggregateError = function AggregateError(errors, message /* , options */) {\n var options = arguments.length > 2 ? arguments[2] : undefined;\n var isInstance = isPrototypeOf(AggregateErrorPrototype, this);\n var that;\n if (setPrototypeOf) {\n that = setPrototypeOf($Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype);\n } else {\n that = isInstance ? this : create(AggregateErrorPrototype);\n createNonEnumerableProperty(that, TO_STRING_TAG, 'Error');\n }\n if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message));\n if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty(that, 'stack', clearErrorStack(that.stack, 1));\n installErrorCause(that, options);\n var errorsArray = [];\n iterate(errors, push, { that: errorsArray });\n createNonEnumerableProperty(that, 'errors', errorsArray);\n return that;\n};\n\nif (setPrototypeOf) setPrototypeOf($AggregateError, $Error);\nelse copyConstructorProperties($AggregateError, $Error, { name: true });\n\nvar AggregateErrorPrototype = $AggregateError.prototype = create($Error.prototype, {\n constructor: createPropertyDescriptor(1, $AggregateError),\n message: createPropertyDescriptor(1, ''),\n name: createPropertyDescriptor(1, 'AggregateError')\n});\n\n// `AggregateError` constructor\n// https://tc39.es/ecma262/#sec-aggregate-error-constructor\n$({ global: true, constructor: true, arity: 2 }, {\n AggregateError: $AggregateError\n});\n","var classof = require('../internals/classof-raw');\nvar global = require('../internals/global');\n\nmodule.exports = classof(global.process) == 'process';\n","var global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind-context');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar fails = require('../internals/fails');\nvar html = require('../internals/html');\nvar arraySlice = require('../internals/array-slice');\nvar createElement = require('../internals/document-create-element');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar Dispatch = global.Dispatch;\nvar Function = global.Function;\nvar MessageChannel = global.MessageChannel;\nvar String = global.String;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar $location, defer, channel, port;\n\ntry {\n // Deno throws a ReferenceError on `location` access without `--location` flag\n $location = global.location;\n} catch (error) { /* empty */ }\n\nvar run = function (id) {\n if (hasOwn(queue, id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\n\nvar runner = function (id) {\n return function () {\n run(id);\n };\n};\n\nvar listener = function (event) {\n run(event.data);\n};\n\nvar post = function (id) {\n // old engines have not location.origin\n global.postMessage(String(id), $location.protocol + '//' + $location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(handler) {\n validateArgumentsLength(arguments.length, 1);\n var fn = isCallable(handler) ? handler : Function(handler);\n var args = arraySlice(arguments, 1);\n queue[++counter] = function () {\n apply(fn, undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function (id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = bind(port.postMessage, port);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (\n global.addEventListener &&\n isCallable(global.postMessage) &&\n !global.importScripts &&\n $location && $location.protocol !== 'file:' &&\n !fails(post)\n ) {\n defer = post;\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function (id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(runner(id), 0);\n };\n }\n}\n\nmodule.exports = {\n set: set,\n clear: clear\n};\n","var isConstructor = require('../internals/is-constructor');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsConstructor(argument) is true`\nmodule.exports = function (argument) {\n if (isConstructor(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a constructor');\n};\n","var anObject = require('../internals/an-object');\nvar aConstructor = require('../internals/a-constructor');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","var $TypeError = TypeError;\n\nmodule.exports = function (passed, required) {\n if (passed < required) throw $TypeError('Not enough arguments');\n return passed;\n};\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);\n","var global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar macrotask = require('../internals/task').set;\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_IOS_PEBBLE = require('../internals/engine-is-ios-pebble');\nvar IS_WEBOS_WEBKIT = require('../internals/engine-is-webos-webkit');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\nvar document = global.document;\nvar process = global.process;\nvar Promise = global.Promise;\n// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\nvar queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');\nvar queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\n\nvar flush, head, last, notify, toggle, node, promise, then;\n\n// modern engines have queueMicrotask method\nif (!queueMicrotask) {\n flush = function () {\n var parent, fn;\n if (IS_NODE && (parent = process.domain)) parent.exit();\n while (head) {\n fn = head.fn;\n head = head.next;\n try {\n fn();\n } catch (error) {\n if (head) notify();\n else last = undefined;\n throw error;\n }\n } last = undefined;\n if (parent) parent.enter();\n };\n\n // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898\n if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {\n toggle = true;\n node = document.createTextNode('');\n new MutationObserver(flush).observe(node, { characterData: true });\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n promise = Promise.resolve(undefined);\n // workaround of WebKit ~ iOS Safari 10.1 bug\n promise.constructor = Promise;\n then = bind(promise.then, promise);\n notify = function () {\n then(flush);\n };\n // Node.js without promises\n } else if (IS_NODE) {\n notify = function () {\n process.nextTick(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessage\n // - onreadystatechange\n // - setTimeout\n } else {\n // strange IE + webpack dev server bug - use .bind(global)\n macrotask = bind(macrotask, global);\n notify = function () {\n macrotask(flush);\n };\n }\n}\n\nmodule.exports = queueMicrotask || function (fn) {\n var task = { fn: fn, next: undefined };\n if (last) last.next = task;\n if (!head) {\n head = task;\n notify();\n } last = task;\n};\n","var userAgent = require('../internals/engine-user-agent');\nvar global = require('../internals/global');\n\nmodule.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefined;\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /web0s(?!.*chrome)/i.test(userAgent);\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 Queue = function () {\n this.head = null;\n this.tail = null;\n};\n\nQueue.prototype = {\n add: function (item) {\n var entry = { item: item, next: null };\n if (this.head) this.tail.next = entry;\n else this.head = entry;\n this.tail = entry;\n },\n get: function () {\n var entry = this.head;\n if (entry) {\n this.head = entry.next;\n if (this.tail === entry) this.tail = null;\n return entry.item;\n }\n }\n};\n\nmodule.exports = Queue;\n","var global = require('../internals/global');\n\nmodule.exports = global.Promise;\n","/* global Deno -- Deno case */\nmodule.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';\n","var IS_DENO = require('../internals/engine-is-deno');\nvar IS_NODE = require('../internals/engine-is-node');\n\nmodule.exports = !IS_DENO && !IS_NODE\n && typeof window == 'object'\n && typeof document == 'object';\n","var global = require('../internals/global');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar isCallable = require('../internals/is-callable');\nvar isForced = require('../internals/is-forced');\nvar inspectSource = require('../internals/inspect-source');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_BROWSER = require('../internals/engine-is-browser');\nvar IS_DENO = require('../internals/engine-is-deno');\nvar IS_PURE = require('../internals/is-pure');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar SPECIES = wellKnownSymbol('species');\nvar SUBCLASSING = false;\nvar NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);\n\nvar FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {\n var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);\n var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);\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 (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;\n // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution\n if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['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 || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {\n // Detect correctness of subclassing with @@species support\n var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;\n if (!SUBCLASSING) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT;\n});\n\nmodule.exports = {\n CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,\n REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,\n SUBCLASSING: SUBCLASSING\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\n\nvar $TypeError = TypeError;\n\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw $TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aCallable(resolve);\n this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar IS_NODE = require('../internals/engine-is-node');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar aCallable = require('../internals/a-callable');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar perform = require('../internals/perform');\nvar Queue = require('../internals/queue');\nvar InternalStateModule = require('../internals/internal-state');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar PromiseConstructorDetection = require('../internals/promise-constructor-detection');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\n\nvar PROMISE = 'Promise';\nvar FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;\nvar NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;\nvar NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar setInternalState = InternalStateModule.set;\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar PromiseConstructor = NativePromiseConstructor;\nvar PromisePrototype = NativePromisePrototype;\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\n\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;\n\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && isCallable(then = it.then) ? then : false;\n};\n\nvar callReaction = function (reaction, state) {\n var value = state.value;\n var ok = state.state == FULFILLED;\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(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 call(then, 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\nvar notify = function (state, isReject) {\n if (state.notified) return;\n state.notified = true;\n microtask(function () {\n var reactions = state.reactions;\n var reaction;\n while (reaction = reactions.get()) {\n callReaction(reaction, state);\n }\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(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 (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\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 (state) {\n call(task, global, function () {\n var promise = state.facade;\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function (fn, state, unwrap) {\n return function (value) {\n fn(state, value, unwrap);\n };\n};\n\nvar internalReject = function (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(state, true);\n};\n\nvar internalResolve = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (state.facade === 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 call(then, value,\n bind(internalResolve, wrapper, state),\n bind(internalReject, wrapper, state)\n );\n } catch (error) {\n internalReject(wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(state, false);\n }\n } catch (error) {\n internalReject({ done: false }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED_PROMISE_CONSTRUCTOR) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromisePrototype);\n aCallable(executor);\n call(Internal, this);\n var state = getInternalPromiseState(this);\n try {\n executor(bind(internalResolve, state), bind(internalReject, state));\n } catch (error) {\n internalReject(state, error);\n }\n };\n\n PromisePrototype = PromiseConstructor.prototype;\n\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: new Queue(),\n rejection: false,\n state: PENDING,\n value: undefined\n });\n };\n\n // `Promise.prototype.then` method\n // https://tc39.es/ecma262/#sec-promise.prototype.then\n Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n state.parent = true;\n reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;\n reaction.fail = isCallable(onRejected) && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n if (state.state == PENDING) state.reactions.add(reaction);\n else microtask(function () {\n callReaction(reaction, state);\n });\n return reaction.promise;\n });\n\n OwnPromiseCapability = function () {\n var promise = new Internal();\n var state = getInternalPromiseState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, state);\n this.reject = bind(internalReject, state);\n };\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 && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {\n nativeThen = NativePromisePrototype.then;\n\n if (!NATIVE_PROMISE_SUBCLASSING) {\n // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs\n defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n call(nativeThen, that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, { unsafe: true });\n }\n\n // make `.constructor === Promise` work for native promise-based APIs\n try {\n delete NativePromisePrototype.constructor;\n } catch (error) { /* empty */ }\n\n // make `instanceof Promise` work for native promise-based APIs\n if (setPrototypeOf) {\n setPrototypeOf(NativePromisePrototype, PromisePrototype);\n }\n }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","var NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\nmodule.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {\n NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.all` method\n// https://tc39.es/ecma262/#sec-promise.all\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call($promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = 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});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\n\n// `Promise.prototype.catch` method\n// https://tc39.es/ecma262/#sec-promise.prototype.catch\n$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, {\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n});\n\n// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromiseConstructor)) {\n var method = getBuiltIn('Promise').prototype['catch'];\n if (NativePromisePrototype['catch'] !== method) {\n defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });\n }\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.race` method\n// https://tc39.es/ecma262/#sec-promise.race\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n iterate(iterable, function (promise) {\n call($promiseResolve, 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 call = require('../internals/function-call');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\n// `Promise.reject` method\n// https://tc39.es/ecma262/#sec-promise.reject\n$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n reject: function reject(r) {\n var capability = newPromiseCapabilityModule.f(this);\n call(capability.reject, undefined, r);\n return capability.promise;\n }\n});\n","var anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar promiseResolve = require('../internals/promise-resolve');\n\nvar PromiseConstructorWrapper = getBuiltIn('Promise');\nvar CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;\n\n// `Promise.resolve` method\n// https://tc39.es/ecma262/#sec-promise.resolve\n$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {\n resolve: function resolve(x) {\n return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\n\n// `Promise.allSettled` method\n// https://tc39.es/ecma262/#sec-promise.allsettled\n$({ target: 'Promise', stat: true }, {\n allSettled: function allSettled(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call(promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = { status: 'fulfilled', value: value };\n --remaining || resolve(values);\n }, function (error) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = { status: 'rejected', reason: error };\n --remaining || resolve(values);\n });\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\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://tc39.es/ecma262/#sec-promise.any\n$({ target: 'Promise', stat: true }, {\n any: function any(iterable) {\n var C = this;\n var AggregateError = getBuiltIn('AggregateError');\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var promiseResolve = aCallable(C.resolve);\n var errors = [];\n var counter = 0;\n var remaining = 1;\n var alreadyResolved = false;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyRejected = false;\n remaining++;\n call(promiseResolve, C, promise).then(function (value) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyResolved = true;\n resolve(value);\n }, function (error) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyRejected = true;\n errors[index] = error;\n --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n });\n });\n --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar fails = require('../internals/fails');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar speciesConstructor = require('../internals/species-constructor');\nvar promiseResolve = require('../internals/promise-resolve');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\n\n// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829\nvar NON_GENERIC = !!NativePromiseConstructor && fails(function () {\n // eslint-disable-next-line unicorn/no-thenable -- required for testing\n NativePromisePrototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });\n});\n\n// `Promise.prototype.finally` method\n// https://tc39.es/ecma262/#sec-promise.prototype.finally\n$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {\n 'finally': function (onFinally) {\n var C = speciesConstructor(this, getBuiltIn('Promise'));\n var isFunction = isCallable(onFinally);\n return this.then(\n isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () { return x; });\n } : onFinally,\n isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () { throw e; });\n } : onFinally\n );\n }\n});\n\n// makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromiseConstructor)) {\n var method = getBuiltIn('Promise').prototype['finally'];\n if (NativePromisePrototype['finally'] !== method) {\n defineBuiltIn(NativePromisePrototype, 'finally', method, { unsafe: true });\n }\n}\n","require('../../modules/es.aggregate-error');\nrequire('../../modules/es.array.iterator');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.promise');\nrequire('../../modules/es.promise.all-settled');\nrequire('../../modules/es.promise.any');\nrequire('../../modules/es.promise.finally');\nrequire('../../modules/es.string.iterator');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Promise;\n","var parent = require('../../es/promise');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/promise\");","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line unicorn/relative-url-style -- required for testing\n var url = new URL('b?a=1&b=2&c=3', 'http://a');\n var searchParams = url.searchParams;\n var result = '';\n url.pathname = 'c%20d';\n searchParams.forEach(function (value, key) {\n searchParams['delete']('b');\n result += key + value;\n });\n return (IS_PURE && !url.toJSON)\n || !searchParams.sort\n || url.href !== 'http://a/c%20d?a=1&c=3'\n || searchParams.get('c') !== '3'\n || String(new URLSearchParams('?a=1')) !== 'a=1'\n || !searchParams[ITERATOR]\n // throws in Edge\n || new URL('https://a@b').username !== 'a'\n || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'\n // not punycoded in Edge\n || new URL('http://тест').host !== 'xn--e1aybc'\n // not escaped in Chrome 62-\n || new URL('http://a#б').hash !== '#%D0%B1'\n // fails in Chrome 66-\n || result !== 'a1c3'\n // throws in Safari\n || new URL('http://x', undefined).host !== 'x';\n});\n","var arraySlice = require('../internals/array-slice-simple');\n\nvar floor = Math.floor;\n\nvar mergeSort = function (array, comparefn) {\n var length = array.length;\n var middle = floor(length / 2);\n return length < 8 ? insertionSort(array, comparefn) : merge(\n array,\n mergeSort(arraySlice(array, 0, middle), comparefn),\n mergeSort(arraySlice(array, middle), comparefn),\n comparefn\n );\n};\n\nvar insertionSort = function (array, comparefn) {\n var length = array.length;\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n } return array;\n};\n\nvar merge = function (array, left, right, comparefn) {\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n } return array;\n};\n\nmodule.exports = mergeSort;\n","'use strict';\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nrequire('../modules/es.array.iterator');\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar USE_NATIVE_URL = require('../internals/url-constructor-detection');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createIteratorConstructor = require('../internals/iterator-create-constructor');\nvar InternalStateModule = require('../internals/internal-state');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar bind = require('../internals/function-bind-context');\nvar classof = require('../internals/classof');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar $toString = require('../internals/to-string');\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arraySort = require('../internals/array-sort');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar URL_SEARCH_PARAMS = 'URLSearchParams';\nvar URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS);\nvar getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR);\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Avoid NodeJS experimental warning\nvar safeGetBuiltIn = function (name) {\n if (!DESCRIPTORS) return global[name];\n var descriptor = getOwnPropertyDescriptor(global, name);\n return descriptor && descriptor.value;\n};\n\nvar nativeFetch = safeGetBuiltIn('fetch');\nvar NativeRequest = safeGetBuiltIn('Request');\nvar Headers = safeGetBuiltIn('Headers');\nvar RequestPrototype = NativeRequest && NativeRequest.prototype;\nvar HeadersPrototype = Headers && Headers.prototype;\nvar RegExp = global.RegExp;\nvar TypeError = global.TypeError;\nvar decodeURIComponent = global.decodeURIComponent;\nvar encodeURIComponent = global.encodeURIComponent;\nvar charAt = uncurryThis(''.charAt);\nvar join = uncurryThis([].join);\nvar push = uncurryThis([].push);\nvar replace = uncurryThis(''.replace);\nvar shift = uncurryThis([].shift);\nvar splice = uncurryThis([].splice);\nvar split = uncurryThis(''.split);\nvar stringSlice = uncurryThis(''.slice);\n\nvar plus = /\\+/g;\nvar sequences = Array(4);\n\nvar percentSequence = function (bytes) {\n return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp('((?:%[\\\\da-f]{2}){' + bytes + '})', 'gi'));\n};\n\nvar percentDecode = function (sequence) {\n try {\n return decodeURIComponent(sequence);\n } catch (error) {\n return sequence;\n }\n};\n\nvar deserialize = function (it) {\n var result = replace(it, plus, ' ');\n var bytes = 4;\n try {\n return decodeURIComponent(result);\n } catch (error) {\n while (bytes) {\n result = replace(result, percentSequence(bytes--), percentDecode);\n }\n return result;\n }\n};\n\nvar find = /[!'()~]|%20/g;\n\nvar replacements = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+'\n};\n\nvar replacer = function (match) {\n return replacements[match];\n};\n\nvar serialize = function (it) {\n return replace(encodeURIComponent(it), find, replacer);\n};\n\nvar URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {\n setInternalState(this, {\n type: URL_SEARCH_PARAMS_ITERATOR,\n iterator: getIterator(getInternalParamsState(params).entries),\n kind: kind\n });\n}, 'Iterator', function next() {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var step = state.iterator.next();\n var entry = step.value;\n if (!step.done) {\n step.value = kind === 'keys' ? entry.key : kind === 'values' ? entry.value : [entry.key, entry.value];\n } return step;\n}, true);\n\nvar URLSearchParamsState = function (init) {\n this.entries = [];\n this.url = null;\n\n if (init !== undefined) {\n if (isObject(init)) this.parseObject(init);\n else this.parseQuery(typeof init == 'string' ? charAt(init, 0) === '?' ? stringSlice(init, 1) : init : $toString(init));\n }\n};\n\nURLSearchParamsState.prototype = {\n type: URL_SEARCH_PARAMS,\n bindURL: function (url) {\n this.url = url;\n this.update();\n },\n parseObject: function (object) {\n var iteratorMethod = getIteratorMethod(object);\n var iterator, next, step, entryIterator, entryNext, first, second;\n\n if (iteratorMethod) {\n iterator = getIterator(object, iteratorMethod);\n next = iterator.next;\n while (!(step = call(next, iterator)).done) {\n entryIterator = getIterator(anObject(step.value));\n entryNext = entryIterator.next;\n if (\n (first = call(entryNext, entryIterator)).done ||\n (second = call(entryNext, entryIterator)).done ||\n !call(entryNext, entryIterator).done\n ) throw TypeError('Expected sequence with length 2');\n push(this.entries, { key: $toString(first.value), value: $toString(second.value) });\n }\n } else for (var key in object) if (hasOwn(object, key)) {\n push(this.entries, { key: key, value: $toString(object[key]) });\n }\n },\n parseQuery: function (query) {\n if (query) {\n var attributes = split(query, '&');\n var index = 0;\n var attribute, entry;\n while (index < attributes.length) {\n attribute = attributes[index++];\n if (attribute.length) {\n entry = split(attribute, '=');\n push(this.entries, {\n key: deserialize(shift(entry)),\n value: deserialize(join(entry, '='))\n });\n }\n }\n }\n },\n serialize: function () {\n var entries = this.entries;\n var result = [];\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n push(result, serialize(entry.key) + '=' + serialize(entry.value));\n } return join(result, '&');\n },\n update: function () {\n this.entries.length = 0;\n this.parseQuery(this.url.query);\n },\n updateURL: function () {\n if (this.url) this.url.update();\n }\n};\n\n// `URLSearchParams` constructor\n// https://url.spec.whatwg.org/#interface-urlsearchparams\nvar URLSearchParamsConstructor = function URLSearchParams(/* init */) {\n anInstance(this, URLSearchParamsPrototype);\n var init = arguments.length > 0 ? arguments[0] : undefined;\n setInternalState(this, new URLSearchParamsState(init));\n};\n\nvar URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;\n\ndefineBuiltIns(URLSearchParamsPrototype, {\n // `URLSearchParams.prototype.append` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-append\n append: function append(name, value) {\n validateArgumentsLength(arguments.length, 2);\n var state = getInternalParamsState(this);\n push(state.entries, { key: $toString(name), value: $toString(value) });\n state.updateURL();\n },\n // `URLSearchParams.prototype.delete` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-delete\n 'delete': function (name) {\n validateArgumentsLength(arguments.length, 1);\n var state = getInternalParamsState(this);\n var entries = state.entries;\n var key = $toString(name);\n var index = 0;\n while (index < entries.length) {\n if (entries[index].key === key) splice(entries, index, 1);\n else index++;\n }\n state.updateURL();\n },\n // `URLSearchParams.prototype.get` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-get\n get: function get(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) return entries[index].value;\n }\n return null;\n },\n // `URLSearchParams.prototype.getAll` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-getall\n getAll: function getAll(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var result = [];\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) push(result, entries[index].value);\n }\n return result;\n },\n // `URLSearchParams.prototype.has` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-has\n has: function has(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var index = 0;\n while (index < entries.length) {\n if (entries[index++].key === key) return true;\n }\n return false;\n },\n // `URLSearchParams.prototype.set` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-set\n set: function set(name, value) {\n validateArgumentsLength(arguments.length, 1);\n var state = getInternalParamsState(this);\n var entries = state.entries;\n var found = false;\n var key = $toString(name);\n var val = $toString(value);\n var index = 0;\n var entry;\n for (; index < entries.length; index++) {\n entry = entries[index];\n if (entry.key === key) {\n if (found) splice(entries, index--, 1);\n else {\n found = true;\n entry.value = val;\n }\n }\n }\n if (!found) push(entries, { key: key, value: val });\n state.updateURL();\n },\n // `URLSearchParams.prototype.sort` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-sort\n sort: function sort() {\n var state = getInternalParamsState(this);\n arraySort(state.entries, function (a, b) {\n return a.key > b.key ? 1 : -1;\n });\n state.updateURL();\n },\n // `URLSearchParams.prototype.forEach` method\n forEach: function forEach(callback /* , thisArg */) {\n var entries = getInternalParamsState(this).entries;\n var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined);\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n boundFunction(entry.value, entry.key, this);\n }\n },\n // `URLSearchParams.prototype.keys` method\n keys: function keys() {\n return new URLSearchParamsIterator(this, 'keys');\n },\n // `URLSearchParams.prototype.values` method\n values: function values() {\n return new URLSearchParamsIterator(this, 'values');\n },\n // `URLSearchParams.prototype.entries` method\n entries: function entries() {\n return new URLSearchParamsIterator(this, 'entries');\n }\n}, { enumerable: true });\n\n// `URLSearchParams.prototype[@@iterator]` method\ndefineBuiltIn(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' });\n\n// `URLSearchParams.prototype.toString` method\n// https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior\ndefineBuiltIn(URLSearchParamsPrototype, 'toString', function toString() {\n return getInternalParamsState(this).serialize();\n}, { enumerable: true });\n\nsetToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS);\n\n$({ global: true, constructor: true, forced: !USE_NATIVE_URL }, {\n URLSearchParams: URLSearchParamsConstructor\n});\n\n// Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`\nif (!USE_NATIVE_URL && isCallable(Headers)) {\n var headersHas = uncurryThis(HeadersPrototype.has);\n var headersSet = uncurryThis(HeadersPrototype.set);\n\n var wrapRequestOptions = function (init) {\n if (isObject(init)) {\n var body = init.body;\n var headers;\n if (classof(body) === URL_SEARCH_PARAMS) {\n headers = init.headers ? new Headers(init.headers) : new Headers();\n if (!headersHas(headers, 'content-type')) {\n headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n return create(init, {\n body: createPropertyDescriptor(0, $toString(body)),\n headers: createPropertyDescriptor(0, headers)\n });\n }\n } return init;\n };\n\n if (isCallable(nativeFetch)) {\n $({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {\n fetch: function fetch(input /* , init */) {\n return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n }\n });\n }\n\n if (isCallable(NativeRequest)) {\n var RequestConstructor = function Request(input /* , init */) {\n anInstance(this, RequestPrototype);\n return new NativeRequest(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n };\n\n RequestPrototype.constructor = RequestConstructor;\n RequestConstructor.prototype = RequestPrototype;\n\n $({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {\n Request: RequestConstructor\n });\n }\n}\n\nmodule.exports = {\n URLSearchParams: URLSearchParamsConstructor,\n getState: getInternalParamsState\n};\n","require('../modules/web.url-search-params');\nvar path = require('../internals/path');\n\nmodule.exports = path.URLSearchParams;\n","var parent = require('../../web/url-search-params');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/url-search-params\");","var DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar objectKeys = require('../internals/object-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $propertyIsEnumerable = require('../internals/object-property-is-enumerable').f;\n\nvar propertyIsEnumerable = uncurryThis($propertyIsEnumerable);\nvar push = uncurryThis([].push);\n\n// `Object.{ entries, values }` methods implementation\nvar createMethod = function (TO_ENTRIES) {\n return function (it) {\n var O = toIndexedObject(it);\n var keys = objectKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || propertyIsEnumerable(O, key)) {\n push(result, TO_ENTRIES ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n\nmodule.exports = {\n // `Object.entries` method\n // https://tc39.es/ecma262/#sec-object.entries\n entries: createMethod(true),\n // `Object.values` method\n // https://tc39.es/ecma262/#sec-object.values\n values: createMethod(false)\n};\n","var $ = require('../internals/export');\nvar $entries = require('../internals/object-to-array').entries;\n\n// `Object.entries` method\n// https://tc39.es/ecma262/#sec-object.entries\n$({ target: 'Object', stat: true }, {\n entries: function entries(O) {\n return $entries(O);\n }\n});\n","require('../../modules/es.object.entries');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.entries;\n","var parent = require('../../es/object/entries');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/object/entries\");","'use strict';\nvar $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar nativeSlice = require('../internals/array-slice');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === $Array || Constructor === undefined) {\n return nativeSlice(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","require('../../../modules/es.array.slice');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').slice;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/slice');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.slice;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.slice) ? method : own;\n};\n","var parent = require('../../es/instance/slice');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/slice\");","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","require('../../../modules/es.array.filter');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').filter;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/filter');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.filter;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.filter) ? method : own;\n};\n","var parent = require('../../es/instance/filter');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/filter\");","'use strict';\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (O, P) {\n if (!delete O[P]) throw $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","var userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","var UA = require('../internals/engine-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","var userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar test = [];\nvar nativeSort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return toString(x) > toString(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);\n\n var items = [];\n var arrayLength = lengthOfArrayLike(array);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) push(items, array[index]);\n }\n\n internalSort(items, getSortCompare(comparefn));\n\n itemsLength = lengthOfArrayLike(items);\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) deletePropertyOrThrow(array, index++);\n\n return array;\n }\n});\n","require('../../../modules/es.array.sort');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').sort;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/sort');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.sort;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.sort) ? method : own;\n};\n","var parent = require('../../es/instance/sort');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/sort\");","'use strict';\n/* eslint-disable es/no-array-prototype-indexof -- required for testing */\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar $indexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeIndexOf = uncurryThis([].indexOf);\n\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('indexOf');\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n var fromIndex = arguments.length > 1 ? arguments[1] : undefined;\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? nativeIndexOf(this, searchElement, fromIndex) || 0\n : $indexOf(this, searchElement, fromIndex);\n }\n});\n","require('../../../modules/es.array.index-of');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').indexOf;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/index-of');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.indexOf;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.indexOf) ? method : own;\n};\n","var parent = require('../../es/instance/index-of');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/index-of\");","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar ownKeys = require('../internals/own-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar createProperty = require('../internals/create-property');\n\n// `Object.getOwnPropertyDescriptors` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIndexedObject(object);\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n var keys = ownKeys(O);\n var result = {};\n var index = 0;\n var key, descriptor;\n while (keys.length > index) {\n descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);\n if (descriptor !== undefined) createProperty(result, key, descriptor);\n }\n return result;\n }\n});\n","require('../../modules/es.object.get-own-property-descriptors');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.getOwnPropertyDescriptors;\n","var parent = require('../../es/object/get-own-property-descriptors');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/object/get-own-property-descriptors\");","var anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\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 } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar isConstructor = require('../internals/is-constructor');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $Array = Array;\n\n// `Array.from` method implementation\n// https://tc39.es/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var IS_CONSTRUCTOR = isConstructor(this);\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);\n var iteratorMethod = getIteratorMethod(O);\n var index = 0;\n var length, result, step, iterator, next, value;\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {\n iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n result = IS_CONSTRUCTOR ? new this() : [];\n for (;!(step = call(next, 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 = lengthOfArrayLike(O);\n result = IS_CONSTRUCTOR ? new this(length) : $Array(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 $ = 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 // eslint-disable-next-line es/no-array-from -- required for testing\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.es/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 parent = require('../../es/array/from');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/array/from\");","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar isArray = require('../internals/is-array');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n // makes no sense without proper strict mode support\n if (this !== undefined) return true;\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).length = 1;\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n throw $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);\n }\n doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1);\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n setArrayLength(O, len - actualDeleteCount + insertCount);\n return A;\n }\n});\n","require('../../../modules/es.array.splice');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').splice;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/splice');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.splice;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.splice) ? method : own;\n};\n","var parent = require('../../es/instance/splice');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/splice\");","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\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\n// eslint-disable-next-line es/no-string-prototype-startswith -- safe\nvar nativeStartsWith = uncurryThis(''.startsWith);\nvar stringSlice = uncurryThis(''.slice);\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.es/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 = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = toString(searchString);\n return nativeStartsWith\n ? nativeStartsWith(that, search, index)\n : stringSlice(that, index, index + search.length) === search;\n }\n});\n","require('../../../modules/es.string.starts-with');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('String').startsWith;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../string/virtual/starts-with');\n\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n var own = it.startsWith;\n return typeof it == 'string' || it === StringPrototype\n || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.startsWith) ? method : own;\n};\n","var parent = require('../../es/instance/starts-with');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/starts-with\");","// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar whitespace = '[' + whitespaces + ']';\nvar ltrim = RegExp('^' + whitespace + whitespace + '*');\nvar rtrim = RegExp(whitespace + whitespace + '*$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","require('../../../modules/es.string.trim');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('String').trim;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../string/virtual/trim');\n\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n var own = it.trim;\n return typeof it == 'string' || it === StringPrototype\n || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.trim) ? method : own;\n};\n","var parent = require('../../es/instance/trim');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/trim\");","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Map` constructor\n// https://tc39.es/ecma262/#sec-map-objects\ncollection('Map', function (init) {\n return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","require('../../modules/es.array.iterator');\nrequire('../../modules/es.map');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.string.iterator');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Map;\n","var parent = require('../../es/map');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/map\");","var $ = require('../internals/export');\nvar global = require('../internals/global');\n\n// `globalThis` object\n// https://tc39.es/ecma262/#sec-globalthis\n$({ global: true, forced: global.globalThis !== global }, {\n globalThis: global\n});\n","require('../modules/es.global-this');\n\nmodule.exports = require('../internals/global');\n","var parent = require('../es/global-this');\n\nmodule.exports = parent;\n","// TODO: remove from `core-js@4`\nrequire('../modules/esnext.global-this');\n\nvar parent = require('../actual/global-this');\n\nmodule.exports = parent;\n","module.exports = require('../full/global-this');\n","module.exports = require(\"core-js-pure/features/global-this\");","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\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\n// eslint-disable-next-line es/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\nvar concat = uncurryThis([].concat);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({ b: 1 }, $assign(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 es/no-symbol -- safe\n var symbol = Symbol();\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\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 ? concat(objectKeys(S), 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 || call(propertyIsEnumerable, S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","var $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es/no-object-assign -- required for testing\n$({ target: 'Object', stat: true, arity: 2, 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","var parent = require('../../es/object/assign');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/object/assign\");","'use strict';\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.fill` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.fill\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = lengthOfArrayLike(O);\n var argumentsLength = arguments.length;\n var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);\n var end = argumentsLength > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","var $ = require('../internals/export');\nvar fill = require('../internals/array-fill');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.fill` method\n// https://tc39.es/ecma262/#sec-array.prototype.fill\n$({ target: 'Array', proto: true }, {\n fill: fill\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('fill');\n","require('../../../modules/es.array.fill');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').fill;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/fill');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.fill;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.fill) ? method : own;\n};\n","var parent = require('../../es/instance/fill');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/fill\");","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","var path = require('../internals/path');\nvar hasOwn = require('../internals/has-own-property');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n var Symbol = path.Symbol || (path.Symbol = {});\n if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};\n","var call = require('../internals/function-call');\nvar getBuiltIn = require('../internals/get-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function () {\n var Symbol = getBuiltIn('Symbol');\n var SymbolPrototype = Symbol && Symbol.prototype;\n var valueOf = SymbolPrototype && SymbolPrototype.valueOf;\n var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) {\n // `Symbol.prototype[@@toPrimitive]` method\n // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\n // eslint-disable-next-line no-unused-vars -- required for .length\n defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function (hint) {\n return call(valueOf, this);\n }, { arity: 1 });\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar $toString = require('../internals/to-string');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar nativeObjectCreate = require('../internals/object-create');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar shared = require('../internals/shared');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar uid = require('../internals/uid');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar HIDDEN = sharedKey('hidden');\nvar SYMBOL = 'Symbol';\nvar PROTOTYPE = 'prototype';\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SYMBOL);\n\nvar ObjectPrototype = Object[PROTOTYPE];\nvar $Symbol = global.Symbol;\nvar SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];\nvar TypeError = global.TypeError;\nvar QObject = global.QObject;\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\nvar nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\nvar push = uncurryThis([].push);\n\nvar AllSymbols = shared('symbols');\nvar ObjectPrototypeSymbols = shared('op-symbols');\nvar WellKnownSymbolsStore = shared('wks');\n\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDescriptor = DESCRIPTORS && fails(function () {\n return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (O, P, Attributes) {\n var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n nativeDefineProperty(O, P, Attributes);\n if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n }\n} : nativeDefineProperty;\n\nvar wrap = function (tag, description) {\n var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);\n setInternalState(symbol, {\n type: SYMBOL,\n tag: tag,\n description: description\n });\n if (!DESCRIPTORS) symbol.description = description;\n return symbol;\n};\n\nvar $defineProperty = function defineProperty(O, P, Attributes) {\n if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n anObject(O);\n var key = toPropertyKey(P);\n anObject(Attributes);\n if (hasOwn(AllSymbols, key)) {\n if (!Attributes.enumerable) {\n if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));\n O[HIDDEN][key] = true;\n } else {\n if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });\n } return setSymbolDescriptor(O, key, Attributes);\n } return nativeDefineProperty(O, key, Attributes);\n};\n\nvar $defineProperties = function defineProperties(O, Properties) {\n anObject(O);\n var properties = toIndexedObject(Properties);\n var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n $forEach(keys, function (key) {\n if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);\n });\n return O;\n};\n\nvar $create = function create(O, Properties) {\n return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n};\n\nvar $propertyIsEnumerable = function propertyIsEnumerable(V) {\n var P = toPropertyKey(V);\n var enumerable = call(nativePropertyIsEnumerable, this, P);\n if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;\n return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]\n ? enumerable : true;\n};\n\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n var it = toIndexedObject(O);\n var key = toPropertyKey(P);\n if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;\n var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {\n descriptor.enumerable = true;\n }\n return descriptor;\n};\n\nvar $getOwnPropertyNames = function getOwnPropertyNames(O) {\n var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);\n });\n return result;\n};\n\nvar $getOwnPropertySymbols = function (O) {\n var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {\n push(result, AllSymbols[key]);\n }\n });\n return result;\n};\n\n// `Symbol` constructor\n// https://tc39.es/ecma262/#sec-symbol-constructor\nif (!NATIVE_SYMBOL) {\n $Symbol = function Symbol() {\n if (isPrototypeOf(SymbolPrototype, this)) throw TypeError('Symbol is not a constructor');\n var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);\n var tag = uid(description);\n var setter = function (value) {\n if (this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);\n if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));\n };\n if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });\n return wrap(tag, description);\n };\n\n SymbolPrototype = $Symbol[PROTOTYPE];\n\n defineBuiltIn(SymbolPrototype, 'toString', function toString() {\n return getInternalState(this).tag;\n });\n\n defineBuiltIn($Symbol, 'withoutSetter', function (description) {\n return wrap(uid(description), description);\n });\n\n propertyIsEnumerableModule.f = $propertyIsEnumerable;\n definePropertyModule.f = $defineProperty;\n definePropertiesModule.f = $defineProperties;\n getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n\n wrappedWellKnownSymbolModule.f = function (name) {\n return wrap(wellKnownSymbol(name), name);\n };\n\n if (DESCRIPTORS) {\n // https://github.com/tc39/proposal-Symbol-description\n nativeDefineProperty(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n return getInternalState(this).description;\n }\n });\n if (!IS_PURE) {\n defineBuiltIn(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });\n }\n }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {\n Symbol: $Symbol\n});\n\n$forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n defineWellKnownSymbol(name);\n});\n\n$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {\n useSetter: function () { USE_SETTER = true; },\n useSimple: function () { USE_SETTER = false; }\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {\n // `Object.create` method\n // https://tc39.es/ecma262/#sec-object.create\n create: $create,\n // `Object.defineProperty` method\n // https://tc39.es/ecma262/#sec-object.defineproperty\n defineProperty: $defineProperty,\n // `Object.defineProperties` method\n // https://tc39.es/ecma262/#sec-object.defineproperties\n defineProperties: $defineProperties,\n // `Object.getOwnPropertyDescriptor` method\n // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {\n // `Object.getOwnPropertyNames` method\n // https://tc39.es/ecma262/#sec-object.getownpropertynames\n getOwnPropertyNames: $getOwnPropertyNames\n});\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag($Symbol, SYMBOL);\n\nhiddenKeys[HIDDEN] = true;\n","var NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\n/* eslint-disable es/no-symbol -- safe */\nmodule.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor;\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar toString = require('../internals/to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection');\n\nvar StringToSymbolRegistry = shared('string-to-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.for` method\n// https://tc39.es/ecma262/#sec-symbol.for\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n 'for': function (key) {\n var string = toString(key);\n if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n var symbol = getBuiltIn('Symbol')(string);\n StringToSymbolRegistry[string] = symbol;\n SymbolToStringRegistry[symbol] = string;\n return symbol;\n }\n});\n","var $ = require('../internals/export');\nvar hasOwn = require('../internals/has-own-property');\nvar isSymbol = require('../internals/is-symbol');\nvar tryToString = require('../internals/try-to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection');\n\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.keyFor` method\n// https://tc39.es/ecma262/#sec-symbol.keyfor\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(tryToString(sym) + ' is not a symbol');\n if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n }\n});\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar arraySlice = require('../internals/array-slice');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar exec = uncurryThis(/./.exec);\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar replace = uncurryThis(''.replace);\nvar numberToString = uncurryThis(1.0.toString);\n\nvar tester = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {\n var symbol = getBuiltIn('Symbol')();\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) != '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) != '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) != '{}';\n});\n\n// https://github.com/tc39/proposal-well-formed-stringify\nvar ILL_FORMED_UNICODE = fails(function () {\n return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nvar stringifyWithSymbolsFix = function (it, replacer) {\n var args = arraySlice(arguments);\n var $replacer = replacer;\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (isCallable($replacer)) value = call($replacer, this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return apply($stringify, null, args);\n};\n\nvar fixIllFormed = function (match, offset, string) {\n var prev = charAt(string, offset - 1);\n var next = charAt(string, offset + 1);\n if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {\n return '\\\\u' + numberToString(charCodeAt(match, 0), 16);\n } return match;\n};\n\nif ($stringify) {\n // `JSON.stringify` method\n // https://tc39.es/ecma262/#sec-json.stringify\n $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n var args = arraySlice(arguments);\n var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);\n return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;\n }\n });\n}\n","var $ = require('../internals/export');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar fails = require('../internals/fails');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar toObject = require('../internals/to-object');\n\n// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FORCED = !NATIVE_SYMBOL || fails(function () { getOwnPropertySymbolsModule.f(1); });\n\n// `Object.getOwnPropertySymbols` method\n// https://tc39.es/ecma262/#sec-object.getownpropertysymbols\n$({ target: 'Object', stat: true, forced: FORCED }, {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : [];\n }\n});\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.asyncIterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.asynciterator\ndefineWellKnownSymbol('asyncIterator');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.hasInstance` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.hasinstance\ndefineWellKnownSymbol('hasInstance');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.isConcatSpreadable` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable\ndefineWellKnownSymbol('isConcatSpreadable');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.match` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.match\ndefineWellKnownSymbol('match');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.matchAll` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.matchall\ndefineWellKnownSymbol('matchAll');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.replace` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.replace\ndefineWellKnownSymbol('replace');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.search` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.search\ndefineWellKnownSymbol('search');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.species` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.species\ndefineWellKnownSymbol('species');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.split` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.split\ndefineWellKnownSymbol('split');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');\n\n// `Symbol.toPrimitive` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.toprimitive\ndefineWellKnownSymbol('toPrimitive');\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n","var getBuiltIn = require('../internals/get-built-in');\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// `Symbol.toStringTag` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.tostringtag\ndefineWellKnownSymbol('toStringTag');\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag(getBuiltIn('Symbol'), 'Symbol');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.unscopables` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.unscopables\ndefineWellKnownSymbol('unscopables');\n","var global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// JSON[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-json-@@tostringtag\nsetToStringTag(global.JSON, 'JSON', true);\n","require('../../modules/es.array.concat');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.symbol');\nrequire('../../modules/es.symbol.async-iterator');\nrequire('../../modules/es.symbol.description');\nrequire('../../modules/es.symbol.has-instance');\nrequire('../../modules/es.symbol.is-concat-spreadable');\nrequire('../../modules/es.symbol.iterator');\nrequire('../../modules/es.symbol.match');\nrequire('../../modules/es.symbol.match-all');\nrequire('../../modules/es.symbol.replace');\nrequire('../../modules/es.symbol.search');\nrequire('../../modules/es.symbol.species');\nrequire('../../modules/es.symbol.split');\nrequire('../../modules/es.symbol.to-primitive');\nrequire('../../modules/es.symbol.to-string-tag');\nrequire('../../modules/es.symbol.unscopables');\nrequire('../../modules/es.json.to-string-tag');\nrequire('../../modules/es.math.to-string-tag');\nrequire('../../modules/es.reflect.to-string-tag');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Symbol;\n","var parent = require('../../es/symbol');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/symbol\");","var classof = require('../internals/classof');\nvar hasOwn = require('../internals/has-own-property');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar $Object = Object;\n\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) return false;\n var O = $Object(it);\n return O[ITERATOR] !== undefined\n || '@@iterator' in O\n || hasOwn(Iterators, classof(O));\n};\n","var parent = require('../actual/is-iterable');\n\nmodule.exports = parent;\n","function noop() { }\nconst identity = x => x;\nfunction assign(tar, src) {\n // @ts-ignore\n for (const k in src)\n tar[k] = src[k];\n return tar;\n}\nfunction is_promise(value) {\n return value && typeof value === 'object' && typeof value.then === 'function';\n}\nfunction add_location(element, file, line, column, char) {\n element.__svelte_meta = {\n loc: { file, line, column, char }\n };\n}\nfunction run(fn) {\n return fn();\n}\nfunction blank_object() {\n return Object.create(null);\n}\nfunction run_all(fns) {\n fns.forEach(run);\n}\nfunction is_function(thing) {\n return typeof thing === 'function';\n}\nfunction safe_not_equal(a, b) {\n return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');\n}\nlet src_url_equal_anchor;\nfunction src_url_equal(element_src, url) {\n if (!src_url_equal_anchor) {\n src_url_equal_anchor = document.createElement('a');\n }\n src_url_equal_anchor.href = url;\n return element_src === src_url_equal_anchor.href;\n}\nfunction not_equal(a, b) {\n return a != a ? b == b : a !== b;\n}\nfunction is_empty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction validate_store(store, name) {\n if (store != null && typeof store.subscribe !== 'function') {\n throw new Error(`'${name}' is not a store with a 'subscribe' method`);\n }\n}\nfunction subscribe(store, ...callbacks) {\n if (store == null) {\n return noop;\n }\n const unsub = store.subscribe(...callbacks);\n return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;\n}\nfunction get_store_value(store) {\n let value;\n subscribe(store, _ => value = _)();\n return value;\n}\nfunction component_subscribe(component, store, callback) {\n component.$$.on_destroy.push(subscribe(store, callback));\n}\nfunction create_slot(definition, ctx, $$scope, fn) {\n if (definition) {\n const slot_ctx = get_slot_context(definition, ctx, $$scope, fn);\n return definition[0](slot_ctx);\n }\n}\nfunction get_slot_context(definition, ctx, $$scope, fn) {\n return definition[1] && fn\n ? assign($$scope.ctx.slice(), definition[1](fn(ctx)))\n : $$scope.ctx;\n}\nfunction get_slot_changes(definition, $$scope, dirty, fn) {\n if (definition[2] && fn) {\n const lets = definition[2](fn(dirty));\n if ($$scope.dirty === undefined) {\n return lets;\n }\n if (typeof lets === 'object') {\n const merged = [];\n const len = Math.max($$scope.dirty.length, lets.length);\n for (let i = 0; i < len; i += 1) {\n merged[i] = $$scope.dirty[i] | lets[i];\n }\n return merged;\n }\n return $$scope.dirty | lets;\n }\n return $$scope.dirty;\n}\nfunction update_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn) {\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction update_slot(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n update_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn);\n}\nfunction get_all_dirty_from_scope($$scope) {\n if ($$scope.ctx.length > 32) {\n const dirty = [];\n const length = $$scope.ctx.length / 32;\n for (let i = 0; i < length; i++) {\n dirty[i] = -1;\n }\n return dirty;\n }\n return -1;\n}\nfunction exclude_internal_props(props) {\n const result = {};\n for (const k in props)\n if (k[0] !== '$')\n result[k] = props[k];\n return result;\n}\nfunction compute_rest_props(props, keys) {\n const rest = {};\n keys = new Set(keys);\n for (const k in props)\n if (!keys.has(k) && k[0] !== '$')\n rest[k] = props[k];\n return rest;\n}\nfunction compute_slots(slots) {\n const result = {};\n for (const key in slots) {\n result[key] = true;\n }\n return result;\n}\nfunction once(fn) {\n let ran = false;\n return function (...args) {\n if (ran)\n return;\n ran = true;\n fn.call(this, ...args);\n };\n}\nfunction null_to_empty(value) {\n return value == null ? '' : value;\n}\nfunction set_store_value(store, ret, value) {\n store.set(value);\n return ret;\n}\nconst has_prop = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);\nfunction action_destroyer(action_result) {\n return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;\n}\n\nconst is_client = typeof window !== 'undefined';\nlet now = is_client\n ? () => window.performance.now()\n : () => Date.now();\nlet raf = is_client ? cb => requestAnimationFrame(cb) : noop;\n// used internally for testing\nfunction set_now(fn) {\n now = fn;\n}\nfunction set_raf(fn) {\n raf = fn;\n}\n\nconst tasks = new Set();\nfunction run_tasks(now) {\n tasks.forEach(task => {\n if (!task.c(now)) {\n tasks.delete(task);\n task.f();\n }\n });\n if (tasks.size !== 0)\n raf(run_tasks);\n}\n/**\n * For testing purposes only!\n */\nfunction clear_loops() {\n tasks.clear();\n}\n/**\n * Creates a new task that runs on each raf frame\n * until it returns a falsy value or is aborted\n */\nfunction loop(callback) {\n let task;\n if (tasks.size === 0)\n raf(run_tasks);\n return {\n promise: new Promise(fulfill => {\n tasks.add(task = { c: callback, f: fulfill });\n }),\n abort() {\n tasks.delete(task);\n }\n };\n}\n\n// Track which nodes are claimed during hydration. Unclaimed nodes can then be removed from the DOM\n// at the end of hydration without touching the remaining nodes.\nlet is_hydrating = false;\nfunction start_hydrating() {\n is_hydrating = true;\n}\nfunction end_hydrating() {\n is_hydrating = false;\n}\nfunction upper_bound(low, high, key, value) {\n // Return first index of value larger than input value in the range [low, high)\n while (low < high) {\n const mid = low + ((high - low) >> 1);\n if (key(mid) <= value) {\n low = mid + 1;\n }\n else {\n high = mid;\n }\n }\n return low;\n}\nfunction init_hydrate(target) {\n if (target.hydrate_init)\n return;\n target.hydrate_init = true;\n // We know that all children have claim_order values since the unclaimed have been detached if target is not <head>\n let children = target.childNodes;\n // If target is <head>, there may be children without claim_order\n if (target.nodeName === 'HEAD') {\n const myChildren = [];\n for (let i = 0; i < children.length; i++) {\n const node = children[i];\n if (node.claim_order !== undefined) {\n myChildren.push(node);\n }\n }\n children = myChildren;\n }\n /*\n * Reorder claimed children optimally.\n * We can reorder claimed children optimally by finding the longest subsequence of\n * nodes that are already claimed in order and only moving the rest. The longest\n * subsequence of nodes that are claimed in order can be found by\n * computing the longest increasing subsequence of .claim_order values.\n *\n * This algorithm is optimal in generating the least amount of reorder operations\n * possible.\n *\n * Proof:\n * We know that, given a set of reordering operations, the nodes that do not move\n * always form an increasing subsequence, since they do not move among each other\n * meaning that they must be already ordered among each other. Thus, the maximal\n * set of nodes that do not move form a longest increasing subsequence.\n */\n // Compute longest increasing subsequence\n // m: subsequence length j => index k of smallest value that ends an increasing subsequence of length j\n const m = new Int32Array(children.length + 1);\n // Predecessor indices + 1\n const p = new Int32Array(children.length);\n m[0] = -1;\n let longest = 0;\n for (let i = 0; i < children.length; i++) {\n const current = children[i].claim_order;\n // Find the largest subsequence length such that it ends in a value less than our current value\n // upper_bound returns first greater value, so we subtract one\n // with fast path for when we are on the current longest subsequence\n const seqLen = ((longest > 0 && children[m[longest]].claim_order <= current) ? longest + 1 : upper_bound(1, longest, idx => children[m[idx]].claim_order, current)) - 1;\n p[i] = m[seqLen] + 1;\n const newLen = seqLen + 1;\n // We can guarantee that current is the smallest value. Otherwise, we would have generated a longer sequence.\n m[newLen] = i;\n longest = Math.max(newLen, longest);\n }\n // The longest increasing subsequence of nodes (initially reversed)\n const lis = [];\n // The rest of the nodes, nodes that will be moved\n const toMove = [];\n let last = children.length - 1;\n for (let cur = m[longest] + 1; cur != 0; cur = p[cur - 1]) {\n lis.push(children[cur - 1]);\n for (; last >= cur; last--) {\n toMove.push(children[last]);\n }\n last--;\n }\n for (; last >= 0; last--) {\n toMove.push(children[last]);\n }\n lis.reverse();\n // We sort the nodes being moved to guarantee that their insertion order matches the claim order\n toMove.sort((a, b) => a.claim_order - b.claim_order);\n // Finally, we move the nodes\n for (let i = 0, j = 0; i < toMove.length; i++) {\n while (j < lis.length && toMove[i].claim_order >= lis[j].claim_order) {\n j++;\n }\n const anchor = j < lis.length ? lis[j] : null;\n target.insertBefore(toMove[i], anchor);\n }\n}\nfunction append(target, node) {\n target.appendChild(node);\n}\nfunction append_styles(target, style_sheet_id, styles) {\n const append_styles_to = get_root_for_style(target);\n if (!append_styles_to.getElementById(style_sheet_id)) {\n const style = element('style');\n style.id = style_sheet_id;\n style.textContent = styles;\n append_stylesheet(append_styles_to, style);\n }\n}\nfunction get_root_for_style(node) {\n if (!node)\n return document;\n const root = node.getRootNode ? node.getRootNode() : node.ownerDocument;\n if (root && root.host) {\n return root;\n }\n return node.ownerDocument;\n}\nfunction append_empty_stylesheet(node) {\n const style_element = element('style');\n append_stylesheet(get_root_for_style(node), style_element);\n return style_element.sheet;\n}\nfunction append_stylesheet(node, style) {\n append(node.head || node, style);\n return style.sheet;\n}\nfunction append_hydration(target, node) {\n if (is_hydrating) {\n init_hydrate(target);\n if ((target.actual_end_child === undefined) || ((target.actual_end_child !== null) && (target.actual_end_child.parentNode !== target))) {\n target.actual_end_child = target.firstChild;\n }\n // Skip nodes of undefined ordering\n while ((target.actual_end_child !== null) && (target.actual_end_child.claim_order === undefined)) {\n target.actual_end_child = target.actual_end_child.nextSibling;\n }\n if (node !== target.actual_end_child) {\n // We only insert if the ordering of this node should be modified or the parent node is not target\n if (node.claim_order !== undefined || node.parentNode !== target) {\n target.insertBefore(node, target.actual_end_child);\n }\n }\n else {\n target.actual_end_child = node.nextSibling;\n }\n }\n else if (node.parentNode !== target || node.nextSibling !== null) {\n target.appendChild(node);\n }\n}\nfunction insert(target, node, anchor) {\n target.insertBefore(node, anchor || null);\n}\nfunction insert_hydration(target, node, anchor) {\n if (is_hydrating && !anchor) {\n append_hydration(target, node);\n }\n else if (node.parentNode !== target || node.nextSibling != anchor) {\n target.insertBefore(node, anchor || null);\n }\n}\nfunction detach(node) {\n if (node.parentNode) {\n node.parentNode.removeChild(node);\n }\n}\nfunction destroy_each(iterations, detaching) {\n for (let i = 0; i < iterations.length; i += 1) {\n if (iterations[i])\n iterations[i].d(detaching);\n }\n}\nfunction element(name) {\n return document.createElement(name);\n}\nfunction element_is(name, is) {\n return document.createElement(name, { is });\n}\nfunction object_without_properties(obj, exclude) {\n const target = {};\n for (const k in obj) {\n if (has_prop(obj, k)\n // @ts-ignore\n && exclude.indexOf(k) === -1) {\n // @ts-ignore\n target[k] = obj[k];\n }\n }\n return target;\n}\nfunction svg_element(name) {\n return document.createElementNS('http://www.w3.org/2000/svg', name);\n}\nfunction text(data) {\n return document.createTextNode(data);\n}\nfunction space() {\n return text(' ');\n}\nfunction empty() {\n return text('');\n}\nfunction listen(node, event, handler, options) {\n node.addEventListener(event, handler, options);\n return () => node.removeEventListener(event, handler, options);\n}\nfunction prevent_default(fn) {\n return function (event) {\n event.preventDefault();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction stop_propagation(fn) {\n return function (event) {\n event.stopPropagation();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction self(fn) {\n return function (event) {\n // @ts-ignore\n if (event.target === this)\n fn.call(this, event);\n };\n}\nfunction trusted(fn) {\n return function (event) {\n // @ts-ignore\n if (event.isTrusted)\n fn.call(this, event);\n };\n}\nfunction attr(node, attribute, value) {\n if (value == null)\n node.removeAttribute(attribute);\n else if (node.getAttribute(attribute) !== value)\n node.setAttribute(attribute, value);\n}\nfunction set_attributes(node, attributes) {\n // @ts-ignore\n const descriptors = Object.getOwnPropertyDescriptors(node.__proto__);\n for (const key in attributes) {\n if (attributes[key] == null) {\n node.removeAttribute(key);\n }\n else if (key === 'style') {\n node.style.cssText = attributes[key];\n }\n else if (key === '__value') {\n node.value = node[key] = attributes[key];\n }\n else if (descriptors[key] && descriptors[key].set) {\n node[key] = attributes[key];\n }\n else {\n attr(node, key, attributes[key]);\n }\n }\n}\nfunction set_svg_attributes(node, attributes) {\n for (const key in attributes) {\n attr(node, key, attributes[key]);\n }\n}\nfunction set_custom_element_data_map(node, data_map) {\n Object.keys(data_map).forEach((key) => {\n set_custom_element_data(node, key, data_map[key]);\n });\n}\nfunction set_custom_element_data(node, prop, value) {\n if (prop in node) {\n node[prop] = typeof node[prop] === 'boolean' && value === '' ? true : value;\n }\n else {\n attr(node, prop, value);\n }\n}\nfunction xlink_attr(node, attribute, value) {\n node.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);\n}\nfunction get_binding_group_value(group, __value, checked) {\n const value = new Set();\n for (let i = 0; i < group.length; i += 1) {\n if (group[i].checked)\n value.add(group[i].__value);\n }\n if (!checked) {\n value.delete(__value);\n }\n return Array.from(value);\n}\nfunction to_number(value) {\n return value === '' ? null : +value;\n}\nfunction time_ranges_to_array(ranges) {\n const array = [];\n for (let i = 0; i < ranges.length; i += 1) {\n array.push({ start: ranges.start(i), end: ranges.end(i) });\n }\n return array;\n}\nfunction children(element) {\n return Array.from(element.childNodes);\n}\nfunction init_claim_info(nodes) {\n if (nodes.claim_info === undefined) {\n nodes.claim_info = { last_index: 0, total_claimed: 0 };\n }\n}\nfunction claim_node(nodes, predicate, processNode, createNode, dontUpdateLastIndex = false) {\n // Try to find nodes in an order such that we lengthen the longest increasing subsequence\n init_claim_info(nodes);\n const resultNode = (() => {\n // We first try to find an element after the previous one\n for (let i = nodes.claim_info.last_index; i < nodes.length; i++) {\n const node = nodes[i];\n if (predicate(node)) {\n const replacement = processNode(node);\n if (replacement === undefined) {\n nodes.splice(i, 1);\n }\n else {\n nodes[i] = replacement;\n }\n if (!dontUpdateLastIndex) {\n nodes.claim_info.last_index = i;\n }\n return node;\n }\n }\n // Otherwise, we try to find one before\n // We iterate in reverse so that we don't go too far back\n for (let i = nodes.claim_info.last_index - 1; i >= 0; i--) {\n const node = nodes[i];\n if (predicate(node)) {\n const replacement = processNode(node);\n if (replacement === undefined) {\n nodes.splice(i, 1);\n }\n else {\n nodes[i] = replacement;\n }\n if (!dontUpdateLastIndex) {\n nodes.claim_info.last_index = i;\n }\n else if (replacement === undefined) {\n // Since we spliced before the last_index, we decrease it\n nodes.claim_info.last_index--;\n }\n return node;\n }\n }\n // If we can't find any matching node, we create a new one\n return createNode();\n })();\n resultNode.claim_order = nodes.claim_info.total_claimed;\n nodes.claim_info.total_claimed += 1;\n return resultNode;\n}\nfunction claim_element_base(nodes, name, attributes, create_element) {\n return claim_node(nodes, (node) => node.nodeName === name, (node) => {\n const remove = [];\n for (let j = 0; j < node.attributes.length; j++) {\n const attribute = node.attributes[j];\n if (!attributes[attribute.name]) {\n remove.push(attribute.name);\n }\n }\n remove.forEach(v => node.removeAttribute(v));\n return undefined;\n }, () => create_element(name));\n}\nfunction claim_element(nodes, name, attributes) {\n return claim_element_base(nodes, name, attributes, element);\n}\nfunction claim_svg_element(nodes, name, attributes) {\n return claim_element_base(nodes, name, attributes, svg_element);\n}\nfunction claim_text(nodes, data) {\n return claim_node(nodes, (node) => node.nodeType === 3, (node) => {\n const dataStr = '' + data;\n if (node.data.startsWith(dataStr)) {\n if (node.data.length !== dataStr.length) {\n return node.splitText(dataStr.length);\n }\n }\n else {\n node.data = dataStr;\n }\n }, () => text(data), true // Text nodes should not update last index since it is likely not worth it to eliminate an increasing subsequence of actual elements\n );\n}\nfunction claim_space(nodes) {\n return claim_text(nodes, ' ');\n}\nfunction find_comment(nodes, text, start) {\n for (let i = start; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeType === 8 /* comment node */ && node.textContent.trim() === text) {\n return i;\n }\n }\n return nodes.length;\n}\nfunction claim_html_tag(nodes, is_svg) {\n // find html opening tag\n const start_index = find_comment(nodes, 'HTML_TAG_START', 0);\n const end_index = find_comment(nodes, 'HTML_TAG_END', start_index);\n if (start_index === end_index) {\n return new HtmlTagHydration(undefined, is_svg);\n }\n init_claim_info(nodes);\n const html_tag_nodes = nodes.splice(start_index, end_index - start_index + 1);\n detach(html_tag_nodes[0]);\n detach(html_tag_nodes[html_tag_nodes.length - 1]);\n const claimed_nodes = html_tag_nodes.slice(1, html_tag_nodes.length - 1);\n for (const n of claimed_nodes) {\n n.claim_order = nodes.claim_info.total_claimed;\n nodes.claim_info.total_claimed += 1;\n }\n return new HtmlTagHydration(claimed_nodes, is_svg);\n}\nfunction set_data(text, data) {\n data = '' + data;\n if (text.wholeText !== data)\n text.data = data;\n}\nfunction set_input_value(input, value) {\n input.value = value == null ? '' : value;\n}\nfunction set_input_type(input, type) {\n try {\n input.type = type;\n }\n catch (e) {\n // do nothing\n }\n}\nfunction set_style(node, key, value, important) {\n if (value === null) {\n node.style.removeProperty(key);\n }\n else {\n node.style.setProperty(key, value, important ? 'important' : '');\n }\n}\nfunction select_option(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n if (option.__value === value) {\n option.selected = true;\n return;\n }\n }\n select.selectedIndex = -1; // no option should be selected\n}\nfunction select_options(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n option.selected = ~value.indexOf(option.__value);\n }\n}\nfunction select_value(select) {\n const selected_option = select.querySelector(':checked') || select.options[0];\n return selected_option && selected_option.__value;\n}\nfunction select_multiple_value(select) {\n return [].map.call(select.querySelectorAll(':checked'), option => option.__value);\n}\n// unfortunately this can't be a constant as that wouldn't be tree-shakeable\n// so we cache the result instead\nlet crossorigin;\nfunction is_crossorigin() {\n if (crossorigin === undefined) {\n crossorigin = false;\n try {\n if (typeof window !== 'undefined' && window.parent) {\n void window.parent.document;\n }\n }\n catch (error) {\n crossorigin = true;\n }\n }\n return crossorigin;\n}\nfunction add_resize_listener(node, fn) {\n const computed_style = getComputedStyle(node);\n if (computed_style.position === 'static') {\n node.style.position = 'relative';\n }\n const iframe = element('iframe');\n iframe.setAttribute('style', 'display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; ' +\n 'overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;');\n iframe.setAttribute('aria-hidden', 'true');\n iframe.tabIndex = -1;\n const crossorigin = is_crossorigin();\n let unsubscribe;\n if (crossorigin) {\n iframe.src = \"data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}</script>\";\n unsubscribe = listen(window, 'message', (event) => {\n if (event.source === iframe.contentWindow)\n fn();\n });\n }\n else {\n iframe.src = 'about:blank';\n iframe.onload = () => {\n unsubscribe = listen(iframe.contentWindow, 'resize', fn);\n };\n }\n append(node, iframe);\n return () => {\n if (crossorigin) {\n unsubscribe();\n }\n else if (unsubscribe && iframe.contentWindow) {\n unsubscribe();\n }\n detach(iframe);\n };\n}\nfunction toggle_class(element, name, toggle) {\n element.classList[toggle ? 'add' : 'remove'](name);\n}\nfunction custom_event(type, detail, { bubbles = false, cancelable = false } = {}) {\n const e = document.createEvent('CustomEvent');\n e.initCustomEvent(type, bubbles, cancelable, detail);\n return e;\n}\nfunction query_selector_all(selector, parent = document.body) {\n return Array.from(parent.querySelectorAll(selector));\n}\nfunction head_selector(nodeId, head) {\n const result = [];\n let started = 0;\n for (const node of head.childNodes) {\n if (node.nodeType === 8 /* comment node */) {\n const comment = node.textContent.trim();\n if (comment === `HEAD_${nodeId}_END`) {\n started -= 1;\n result.push(node);\n }\n else if (comment === `HEAD_${nodeId}_START`) {\n started += 1;\n result.push(node);\n }\n }\n else if (started > 0) {\n result.push(node);\n }\n }\n return result;\n}\nclass HtmlTag {\n constructor(is_svg = false) {\n this.is_svg = false;\n this.is_svg = is_svg;\n this.e = this.n = null;\n }\n c(html) {\n this.h(html);\n }\n m(html, target, anchor = null) {\n if (!this.e) {\n if (this.is_svg)\n this.e = svg_element(target.nodeName);\n else\n this.e = element(target.nodeName);\n this.t = target;\n this.c(html);\n }\n this.i(anchor);\n }\n h(html) {\n this.e.innerHTML = html;\n this.n = Array.from(this.e.childNodes);\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert(this.t, this.n[i], anchor);\n }\n }\n p(html) {\n this.d();\n this.h(html);\n this.i(this.a);\n }\n d() {\n this.n.forEach(detach);\n }\n}\nclass HtmlTagHydration extends HtmlTag {\n constructor(claimed_nodes, is_svg = false) {\n super(is_svg);\n this.e = this.n = null;\n this.l = claimed_nodes;\n }\n c(html) {\n if (this.l) {\n this.n = this.l;\n }\n else {\n super.c(html);\n }\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert_hydration(this.t, this.n[i], anchor);\n }\n }\n}\nfunction attribute_to_object(attributes) {\n const result = {};\n for (const attribute of attributes) {\n result[attribute.name] = attribute.value;\n }\n return result;\n}\nfunction get_custom_elements_slots(element) {\n const result = {};\n element.childNodes.forEach((node) => {\n result[node.slot || 'default'] = true;\n });\n return result;\n}\nfunction construct_svelte_component(component, props) {\n return new component(props);\n}\n\n// we need to store the information for multiple documents because a Svelte application could also contain iframes\n// https://github.com/sveltejs/svelte/issues/3624\nconst managed_styles = new Map();\nlet active = 0;\n// https://github.com/darkskyapp/string-hash/blob/master/index.js\nfunction hash(str) {\n let hash = 5381;\n let i = str.length;\n while (i--)\n hash = ((hash << 5) - hash) ^ str.charCodeAt(i);\n return hash >>> 0;\n}\nfunction create_style_information(doc, node) {\n const info = { stylesheet: append_empty_stylesheet(node), rules: {} };\n managed_styles.set(doc, info);\n return info;\n}\nfunction create_rule(node, a, b, duration, delay, ease, fn, uid = 0) {\n const step = 16.666 / duration;\n let keyframes = '{\\n';\n for (let p = 0; p <= 1; p += step) {\n const t = a + (b - a) * ease(p);\n keyframes += p * 100 + `%{${fn(t, 1 - t)}}\\n`;\n }\n const rule = keyframes + `100% {${fn(b, 1 - b)}}\\n}`;\n const name = `__svelte_${hash(rule)}_${uid}`;\n const doc = get_root_for_style(node);\n const { stylesheet, rules } = managed_styles.get(doc) || create_style_information(doc, node);\n if (!rules[name]) {\n rules[name] = true;\n stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length);\n }\n const animation = node.style.animation || '';\n node.style.animation = `${animation ? `${animation}, ` : ''}${name} ${duration}ms linear ${delay}ms 1 both`;\n active += 1;\n return name;\n}\nfunction delete_rule(node, name) {\n const previous = (node.style.animation || '').split(', ');\n const next = previous.filter(name\n ? anim => anim.indexOf(name) < 0 // remove specific animation\n : anim => anim.indexOf('__svelte') === -1 // remove all Svelte animations\n );\n const deleted = previous.length - next.length;\n if (deleted) {\n node.style.animation = next.join(', ');\n active -= deleted;\n if (!active)\n clear_rules();\n }\n}\nfunction clear_rules() {\n raf(() => {\n if (active)\n return;\n managed_styles.forEach(info => {\n const { ownerNode } = info.stylesheet;\n // there is no ownerNode if it runs on jsdom.\n if (ownerNode)\n detach(ownerNode);\n });\n managed_styles.clear();\n });\n}\n\nfunction create_animation(node, from, fn, params) {\n if (!from)\n return noop;\n const to = node.getBoundingClientRect();\n if (from.left === to.left && from.right === to.right && from.top === to.top && from.bottom === to.bottom)\n return noop;\n const { delay = 0, duration = 300, easing = identity, \n // @ts-ignore todo: should this be separated from destructuring? Or start/end added to public api and documentation?\n start: start_time = now() + delay, \n // @ts-ignore todo:\n end = start_time + duration, tick = noop, css } = fn(node, { from, to }, params);\n let running = true;\n let started = false;\n let name;\n function start() {\n if (css) {\n name = create_rule(node, 0, 1, duration, delay, easing, css);\n }\n if (!delay) {\n started = true;\n }\n }\n function stop() {\n if (css)\n delete_rule(node, name);\n running = false;\n }\n loop(now => {\n if (!started && now >= start_time) {\n started = true;\n }\n if (started && now >= end) {\n tick(1, 0);\n stop();\n }\n if (!running) {\n return false;\n }\n if (started) {\n const p = now - start_time;\n const t = 0 + 1 * easing(p / duration);\n tick(t, 1 - t);\n }\n return true;\n });\n start();\n tick(0, 1);\n return stop;\n}\nfunction fix_position(node) {\n const style = getComputedStyle(node);\n if (style.position !== 'absolute' && style.position !== 'fixed') {\n const { width, height } = style;\n const a = node.getBoundingClientRect();\n node.style.position = 'absolute';\n node.style.width = width;\n node.style.height = height;\n add_transform(node, a);\n }\n}\nfunction add_transform(node, a) {\n const b = node.getBoundingClientRect();\n if (a.left !== b.left || a.top !== b.top) {\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n node.style.transform = `${transform} translate(${a.left - b.left}px, ${a.top - b.top}px)`;\n }\n}\n\nlet current_component;\nfunction set_current_component(component) {\n current_component = component;\n}\nfunction get_current_component() {\n if (!current_component)\n throw new Error('Function called outside component initialization');\n return current_component;\n}\n/**\n * Schedules a callback to run immediately before the component is updated after any state change.\n *\n * The first time the callback runs will be before the initial `onMount`\n *\n * https://svelte.dev/docs#run-time-svelte-beforeupdate\n */\nfunction beforeUpdate(fn) {\n get_current_component().$$.before_update.push(fn);\n}\n/**\n * The `onMount` function schedules a callback to run as soon as the component has been mounted to the DOM.\n * It must be called during the component's initialisation (but doesn't need to live *inside* the component;\n * it can be called from an external module).\n *\n * `onMount` does not run inside a [server-side component](/docs#run-time-server-side-component-api).\n *\n * https://svelte.dev/docs#run-time-svelte-onmount\n */\nfunction onMount(fn) {\n get_current_component().$$.on_mount.push(fn);\n}\n/**\n * Schedules a callback to run immediately after the component has been updated.\n *\n * The first time the callback runs will be after the initial `onMount`\n */\nfunction afterUpdate(fn) {\n get_current_component().$$.after_update.push(fn);\n}\n/**\n * Schedules a callback to run immediately before the component is unmounted.\n *\n * Out of `onMount`, `beforeUpdate`, `afterUpdate` and `onDestroy`, this is the\n * only one that runs inside a server-side component.\n *\n * https://svelte.dev/docs#run-time-svelte-ondestroy\n */\nfunction onDestroy(fn) {\n get_current_component().$$.on_destroy.push(fn);\n}\n/**\n * Creates an event dispatcher that can be used to dispatch [component events](/docs#template-syntax-component-directives-on-eventname).\n * Event dispatchers are functions that can take two arguments: `name` and `detail`.\n *\n * Component events created with `createEventDispatcher` create a\n * [CustomEvent](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent).\n * These events do not [bubble](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Events#Event_bubbling_and_capture).\n * The `detail` argument corresponds to the [CustomEvent.detail](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/detail)\n * property and can contain any type of data.\n *\n * https://svelte.dev/docs#run-time-svelte-createeventdispatcher\n */\nfunction createEventDispatcher() {\n const component = get_current_component();\n return (type, detail, { cancelable = false } = {}) => {\n const callbacks = component.$$.callbacks[type];\n if (callbacks) {\n // TODO are there situations where events could be dispatched\n // in a server (non-DOM) environment?\n const event = custom_event(type, detail, { cancelable });\n callbacks.slice().forEach(fn => {\n fn.call(component, event);\n });\n return !event.defaultPrevented;\n }\n return true;\n };\n}\n/**\n * Associates an arbitrary `context` object with the current component and the specified `key`\n * and returns that object. The context is then available to children of the component\n * (including slotted content) with `getContext`.\n *\n * Like lifecycle functions, this must be called during component initialisation.\n *\n * https://svelte.dev/docs#run-time-svelte-setcontext\n */\nfunction setContext(key, context) {\n get_current_component().$$.context.set(key, context);\n return context;\n}\n/**\n * Retrieves the context that belongs to the closest parent component with the specified `key`.\n * Must be called during component initialisation.\n *\n * https://svelte.dev/docs#run-time-svelte-getcontext\n */\nfunction getContext(key) {\n return get_current_component().$$.context.get(key);\n}\n/**\n * Retrieves the whole context map that belongs to the closest parent component.\n * Must be called during component initialisation. Useful, for example, if you\n * programmatically create a component and want to pass the existing context to it.\n *\n * https://svelte.dev/docs#run-time-svelte-getallcontexts\n */\nfunction getAllContexts() {\n return get_current_component().$$.context;\n}\n/**\n * Checks whether a given `key` has been set in the context of a parent component.\n * Must be called during component initialisation.\n *\n * https://svelte.dev/docs#run-time-svelte-hascontext\n */\nfunction hasContext(key) {\n return get_current_component().$$.context.has(key);\n}\n// TODO figure out if we still want to support\n// shorthand events, or if we want to implement\n// a real bubbling mechanism\nfunction bubble(component, event) {\n const callbacks = component.$$.callbacks[event.type];\n if (callbacks) {\n // @ts-ignore\n callbacks.slice().forEach(fn => fn.call(this, event));\n }\n}\n\nconst dirty_components = [];\nconst intros = { enabled: false };\nconst binding_callbacks = [];\nconst render_callbacks = [];\nconst flush_callbacks = [];\nconst resolved_promise = Promise.resolve();\nlet update_scheduled = false;\nfunction schedule_update() {\n if (!update_scheduled) {\n update_scheduled = true;\n resolved_promise.then(flush);\n }\n}\nfunction tick() {\n schedule_update();\n return resolved_promise;\n}\nfunction add_render_callback(fn) {\n render_callbacks.push(fn);\n}\nfunction add_flush_callback(fn) {\n flush_callbacks.push(fn);\n}\n// flush() calls callbacks in this order:\n// 1. All beforeUpdate callbacks, in order: parents before children\n// 2. All bind:this callbacks, in reverse order: children before parents.\n// 3. All afterUpdate callbacks, in order: parents before children. EXCEPT\n// for afterUpdates called during the initial onMount, which are called in\n// reverse order: children before parents.\n// Since callbacks might update component values, which could trigger another\n// call to flush(), the following steps guard against this:\n// 1. During beforeUpdate, any updated components will be added to the\n// dirty_components array and will cause a reentrant call to flush(). Because\n// the flush index is kept outside the function, the reentrant call will pick\n// up where the earlier call left off and go through all dirty components. The\n// current_component value is saved and restored so that the reentrant call will\n// not interfere with the \"parent\" flush() call.\n// 2. bind:this callbacks cannot trigger new flush() calls.\n// 3. During afterUpdate, any updated components will NOT have their afterUpdate\n// callback called a second time; the seen_callbacks set, outside the flush()\n// function, guarantees this behavior.\nconst seen_callbacks = new Set();\nlet flushidx = 0; // Do *not* move this inside the flush() function\nfunction flush() {\n const saved_component = current_component;\n do {\n // first, call beforeUpdate functions\n // and update components\n while (flushidx < dirty_components.length) {\n const component = dirty_components[flushidx];\n flushidx++;\n set_current_component(component);\n update(component.$$);\n }\n set_current_component(null);\n dirty_components.length = 0;\n flushidx = 0;\n while (binding_callbacks.length)\n binding_callbacks.pop()();\n // then, once components are updated, call\n // afterUpdate functions. This may cause\n // subsequent updates...\n for (let i = 0; i < render_callbacks.length; i += 1) {\n const callback = render_callbacks[i];\n if (!seen_callbacks.has(callback)) {\n // ...so guard against infinite loops\n seen_callbacks.add(callback);\n callback();\n }\n }\n render_callbacks.length = 0;\n } while (dirty_components.length);\n while (flush_callbacks.length) {\n flush_callbacks.pop()();\n }\n update_scheduled = false;\n seen_callbacks.clear();\n set_current_component(saved_component);\n}\nfunction update($$) {\n if ($$.fragment !== null) {\n $$.update();\n run_all($$.before_update);\n const dirty = $$.dirty;\n $$.dirty = [-1];\n $$.fragment && $$.fragment.p($$.ctx, dirty);\n $$.after_update.forEach(add_render_callback);\n }\n}\n\nlet promise;\nfunction wait() {\n if (!promise) {\n promise = Promise.resolve();\n promise.then(() => {\n promise = null;\n });\n }\n return promise;\n}\nfunction dispatch(node, direction, kind) {\n node.dispatchEvent(custom_event(`${direction ? 'intro' : 'outro'}${kind}`));\n}\nconst outroing = new Set();\nlet outros;\nfunction group_outros() {\n outros = {\n r: 0,\n c: [],\n p: outros // parent group\n };\n}\nfunction check_outros() {\n if (!outros.r) {\n run_all(outros.c);\n }\n outros = outros.p;\n}\nfunction transition_in(block, local) {\n if (block && block.i) {\n outroing.delete(block);\n block.i(local);\n }\n}\nfunction transition_out(block, local, detach, callback) {\n if (block && block.o) {\n if (outroing.has(block))\n return;\n outroing.add(block);\n outros.c.push(() => {\n outroing.delete(block);\n if (callback) {\n if (detach)\n block.d(1);\n callback();\n }\n });\n block.o(local);\n }\n else if (callback) {\n callback();\n }\n}\nconst null_transition = { duration: 0 };\nfunction create_in_transition(node, fn, params) {\n const options = { direction: 'in' };\n let config = fn(node, params, options);\n let running = false;\n let animation_name;\n let task;\n let uid = 0;\n function cleanup() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 0, 1, duration, delay, easing, css, uid++);\n tick(0, 1);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n if (task)\n task.abort();\n running = true;\n add_render_callback(() => dispatch(node, true, 'start'));\n task = loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(1, 0);\n dispatch(node, true, 'end');\n cleanup();\n return running = false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(t, 1 - t);\n }\n }\n return running;\n });\n }\n let started = false;\n return {\n start() {\n if (started)\n return;\n started = true;\n delete_rule(node);\n if (is_function(config)) {\n config = config(options);\n wait().then(go);\n }\n else {\n go();\n }\n },\n invalidate() {\n started = false;\n },\n end() {\n if (running) {\n cleanup();\n running = false;\n }\n }\n };\n}\nfunction create_out_transition(node, fn, params) {\n const options = { direction: 'out' };\n let config = fn(node, params, options);\n let running = true;\n let animation_name;\n const group = outros;\n group.r += 1;\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 1, 0, duration, delay, easing, css);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n add_render_callback(() => dispatch(node, false, 'start'));\n loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(0, 1);\n dispatch(node, false, 'end');\n if (!--group.r) {\n // this will result in `end()` being called,\n // so we don't need to clean up here\n run_all(group.c);\n }\n return false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(1 - t, t);\n }\n }\n return running;\n });\n }\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config(options);\n go();\n });\n }\n else {\n go();\n }\n return {\n end(reset) {\n if (reset && config.tick) {\n config.tick(1, 0);\n }\n if (running) {\n if (animation_name)\n delete_rule(node, animation_name);\n running = false;\n }\n }\n };\n}\nfunction create_bidirectional_transition(node, fn, params, intro) {\n const options = { direction: 'both' };\n let config = fn(node, params, options);\n let t = intro ? 0 : 1;\n let running_program = null;\n let pending_program = null;\n let animation_name = null;\n function clear_animation() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function init(program, duration) {\n const d = (program.b - t);\n duration *= Math.abs(d);\n return {\n a: t,\n b: program.b,\n d,\n duration,\n start: program.start,\n end: program.start + duration,\n group: program.group\n };\n }\n function go(b) {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n const program = {\n start: now() + delay,\n b\n };\n if (!b) {\n // @ts-ignore todo: improve typings\n program.group = outros;\n outros.r += 1;\n }\n if (running_program || pending_program) {\n pending_program = program;\n }\n else {\n // if this is an intro, and there's a delay, we need to do\n // an initial tick and/or apply CSS animation immediately\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, b, duration, delay, easing, css);\n }\n if (b)\n tick(0, 1);\n running_program = init(program, duration);\n add_render_callback(() => dispatch(node, b, 'start'));\n loop(now => {\n if (pending_program && now > pending_program.start) {\n running_program = init(pending_program, duration);\n pending_program = null;\n dispatch(node, running_program.b, 'start');\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, running_program.b, running_program.duration, 0, easing, config.css);\n }\n }\n if (running_program) {\n if (now >= running_program.end) {\n tick(t = running_program.b, 1 - t);\n dispatch(node, running_program.b, 'end');\n if (!pending_program) {\n // we're done\n if (running_program.b) {\n // intro — we can tidy up immediately\n clear_animation();\n }\n else {\n // outro — needs to be coordinated\n if (!--running_program.group.r)\n run_all(running_program.group.c);\n }\n }\n running_program = null;\n }\n else if (now >= running_program.start) {\n const p = now - running_program.start;\n t = running_program.a + running_program.d * easing(p / running_program.duration);\n tick(t, 1 - t);\n }\n }\n return !!(running_program || pending_program);\n });\n }\n }\n return {\n run(b) {\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config(options);\n go(b);\n });\n }\n else {\n go(b);\n }\n },\n end() {\n clear_animation();\n running_program = pending_program = null;\n }\n };\n}\n\nfunction handle_promise(promise, info) {\n const token = info.token = {};\n function update(type, index, key, value) {\n if (info.token !== token)\n return;\n info.resolved = value;\n let child_ctx = info.ctx;\n if (key !== undefined) {\n child_ctx = child_ctx.slice();\n child_ctx[key] = value;\n }\n const block = type && (info.current = type)(child_ctx);\n let needs_flush = false;\n if (info.block) {\n if (info.blocks) {\n info.blocks.forEach((block, i) => {\n if (i !== index && block) {\n group_outros();\n transition_out(block, 1, 1, () => {\n if (info.blocks[i] === block) {\n info.blocks[i] = null;\n }\n });\n check_outros();\n }\n });\n }\n else {\n info.block.d(1);\n }\n block.c();\n transition_in(block, 1);\n block.m(info.mount(), info.anchor);\n needs_flush = true;\n }\n info.block = block;\n if (info.blocks)\n info.blocks[index] = block;\n if (needs_flush) {\n flush();\n }\n }\n if (is_promise(promise)) {\n const current_component = get_current_component();\n promise.then(value => {\n set_current_component(current_component);\n update(info.then, 1, info.value, value);\n set_current_component(null);\n }, error => {\n set_current_component(current_component);\n update(info.catch, 2, info.error, error);\n set_current_component(null);\n if (!info.hasCatch) {\n throw error;\n }\n });\n // if we previously had a then/catch block, destroy it\n if (info.current !== info.pending) {\n update(info.pending, 0);\n return true;\n }\n }\n else {\n if (info.current !== info.then) {\n update(info.then, 1, info.value, promise);\n return true;\n }\n info.resolved = promise;\n }\n}\nfunction update_await_block_branch(info, ctx, dirty) {\n const child_ctx = ctx.slice();\n const { resolved } = info;\n if (info.current === info.then) {\n child_ctx[info.value] = resolved;\n }\n if (info.current === info.catch) {\n child_ctx[info.error] = resolved;\n }\n info.block.p(child_ctx, dirty);\n}\n\nconst globals = (typeof window !== 'undefined'\n ? window\n : typeof globalThis !== 'undefined'\n ? globalThis\n : global);\n\nfunction destroy_block(block, lookup) {\n block.d(1);\n lookup.delete(block.key);\n}\nfunction outro_and_destroy_block(block, lookup) {\n transition_out(block, 1, 1, () => {\n lookup.delete(block.key);\n });\n}\nfunction fix_and_destroy_block(block, lookup) {\n block.f();\n destroy_block(block, lookup);\n}\nfunction fix_and_outro_and_destroy_block(block, lookup) {\n block.f();\n outro_and_destroy_block(block, lookup);\n}\nfunction update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) {\n let o = old_blocks.length;\n let n = list.length;\n let i = o;\n const old_indexes = {};\n while (i--)\n old_indexes[old_blocks[i].key] = i;\n const new_blocks = [];\n const new_lookup = new Map();\n const deltas = new Map();\n i = n;\n while (i--) {\n const child_ctx = get_context(ctx, list, i);\n const key = get_key(child_ctx);\n let block = lookup.get(key);\n if (!block) {\n block = create_each_block(key, child_ctx);\n block.c();\n }\n else if (dynamic) {\n block.p(child_ctx, dirty);\n }\n new_lookup.set(key, new_blocks[i] = block);\n if (key in old_indexes)\n deltas.set(key, Math.abs(i - old_indexes[key]));\n }\n const will_move = new Set();\n const did_move = new Set();\n function insert(block) {\n transition_in(block, 1);\n block.m(node, next);\n lookup.set(block.key, block);\n next = block.first;\n n--;\n }\n while (o && n) {\n const new_block = new_blocks[n - 1];\n const old_block = old_blocks[o - 1];\n const new_key = new_block.key;\n const old_key = old_block.key;\n if (new_block === old_block) {\n // do nothing\n next = new_block.first;\n o--;\n n--;\n }\n else if (!new_lookup.has(old_key)) {\n // remove old block\n destroy(old_block, lookup);\n o--;\n }\n else if (!lookup.has(new_key) || will_move.has(new_key)) {\n insert(new_block);\n }\n else if (did_move.has(old_key)) {\n o--;\n }\n else if (deltas.get(new_key) > deltas.get(old_key)) {\n did_move.add(new_key);\n insert(new_block);\n }\n else {\n will_move.add(old_key);\n o--;\n }\n }\n while (o--) {\n const old_block = old_blocks[o];\n if (!new_lookup.has(old_block.key))\n destroy(old_block, lookup);\n }\n while (n)\n insert(new_blocks[n - 1]);\n return new_blocks;\n}\nfunction validate_each_keys(ctx, list, get_context, get_key) {\n const keys = new Set();\n for (let i = 0; i < list.length; i++) {\n const key = get_key(get_context(ctx, list, i));\n if (keys.has(key)) {\n throw new Error('Cannot have duplicate keys in a keyed each');\n }\n keys.add(key);\n }\n}\n\nfunction get_spread_update(levels, updates) {\n const update = {};\n const to_null_out = {};\n const accounted_for = { $$scope: 1 };\n let i = levels.length;\n while (i--) {\n const o = levels[i];\n const n = updates[i];\n if (n) {\n for (const key in o) {\n if (!(key in n))\n to_null_out[key] = 1;\n }\n for (const key in n) {\n if (!accounted_for[key]) {\n update[key] = n[key];\n accounted_for[key] = 1;\n }\n }\n levels[i] = n;\n }\n else {\n for (const key in o) {\n accounted_for[key] = 1;\n }\n }\n }\n for (const key in to_null_out) {\n if (!(key in update))\n update[key] = undefined;\n }\n return update;\n}\nfunction get_spread_object(spread_props) {\n return typeof spread_props === 'object' && spread_props !== null ? spread_props : {};\n}\n\n// source: https://html.spec.whatwg.org/multipage/indices.html\nconst boolean_attributes = new Set([\n 'allowfullscreen',\n 'allowpaymentrequest',\n 'async',\n 'autofocus',\n 'autoplay',\n 'checked',\n 'controls',\n 'default',\n 'defer',\n 'disabled',\n 'formnovalidate',\n 'hidden',\n 'inert',\n 'ismap',\n 'itemscope',\n 'loop',\n 'multiple',\n 'muted',\n 'nomodule',\n 'novalidate',\n 'open',\n 'playsinline',\n 'readonly',\n 'required',\n 'reversed',\n 'selected'\n]);\n\n/** regex of all html void element names */\nconst void_element_names = /^(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/;\nfunction is_void(name) {\n return void_element_names.test(name) || name.toLowerCase() === '!doctype';\n}\n\nconst invalid_attribute_name_character = /[\\s'\">/=\\u{FDD0}-\\u{FDEF}\\u{FFFE}\\u{FFFF}\\u{1FFFE}\\u{1FFFF}\\u{2FFFE}\\u{2FFFF}\\u{3FFFE}\\u{3FFFF}\\u{4FFFE}\\u{4FFFF}\\u{5FFFE}\\u{5FFFF}\\u{6FFFE}\\u{6FFFF}\\u{7FFFE}\\u{7FFFF}\\u{8FFFE}\\u{8FFFF}\\u{9FFFE}\\u{9FFFF}\\u{AFFFE}\\u{AFFFF}\\u{BFFFE}\\u{BFFFF}\\u{CFFFE}\\u{CFFFF}\\u{DFFFE}\\u{DFFFF}\\u{EFFFE}\\u{EFFFF}\\u{FFFFE}\\u{FFFFF}\\u{10FFFE}\\u{10FFFF}]/u;\n// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n// https://infra.spec.whatwg.org/#noncharacter\nfunction spread(args, attrs_to_add) {\n const attributes = Object.assign({}, ...args);\n if (attrs_to_add) {\n const classes_to_add = attrs_to_add.classes;\n const styles_to_add = attrs_to_add.styles;\n if (classes_to_add) {\n if (attributes.class == null) {\n attributes.class = classes_to_add;\n }\n else {\n attributes.class += ' ' + classes_to_add;\n }\n }\n if (styles_to_add) {\n if (attributes.style == null) {\n attributes.style = style_object_to_string(styles_to_add);\n }\n else {\n attributes.style = style_object_to_string(merge_ssr_styles(attributes.style, styles_to_add));\n }\n }\n }\n let str = '';\n Object.keys(attributes).forEach(name => {\n if (invalid_attribute_name_character.test(name))\n return;\n const value = attributes[name];\n if (value === true)\n str += ' ' + name;\n else if (boolean_attributes.has(name.toLowerCase())) {\n if (value)\n str += ' ' + name;\n }\n else if (value != null) {\n str += ` ${name}=\"${value}\"`;\n }\n });\n return str;\n}\nfunction merge_ssr_styles(style_attribute, style_directive) {\n const style_object = {};\n for (const individual_style of style_attribute.split(';')) {\n const colon_index = individual_style.indexOf(':');\n const name = individual_style.slice(0, colon_index).trim();\n const value = individual_style.slice(colon_index + 1).trim();\n if (!name)\n continue;\n style_object[name] = value;\n }\n for (const name in style_directive) {\n const value = style_directive[name];\n if (value) {\n style_object[name] = value;\n }\n else {\n delete style_object[name];\n }\n }\n return style_object;\n}\nconst ATTR_REGEX = /[&\"]/g;\nconst CONTENT_REGEX = /[&<]/g;\n/**\n * Note: this method is performance sensitive and has been optimized\n * https://github.com/sveltejs/svelte/pull/5701\n */\nfunction escape(value, is_attr = false) {\n const str = String(value);\n const pattern = is_attr ? ATTR_REGEX : CONTENT_REGEX;\n pattern.lastIndex = 0;\n let escaped = '';\n let last = 0;\n while (pattern.test(str)) {\n const i = pattern.lastIndex - 1;\n const ch = str[i];\n escaped += str.substring(last, i) + (ch === '&' ? '&amp;' : (ch === '\"' ? '&quot;' : '&lt;'));\n last = i + 1;\n }\n return escaped + str.substring(last);\n}\nfunction escape_attribute_value(value) {\n // keep booleans, null, and undefined for the sake of `spread`\n const should_escape = typeof value === 'string' || (value && typeof value === 'object');\n return should_escape ? escape(value, true) : value;\n}\nfunction escape_object(obj) {\n const result = {};\n for (const key in obj) {\n result[key] = escape_attribute_value(obj[key]);\n }\n return result;\n}\nfunction each(items, fn) {\n let str = '';\n for (let i = 0; i < items.length; i += 1) {\n str += fn(items[i], i);\n }\n return str;\n}\nconst missing_component = {\n $$render: () => ''\n};\nfunction validate_component(component, name) {\n if (!component || !component.$$render) {\n if (name === 'svelte:component')\n name += ' this={...}';\n throw new Error(`<${name}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules. Otherwise you may need to fix a <${name}>.`);\n }\n return component;\n}\nfunction debug(file, line, column, values) {\n console.log(`{@debug} ${file ? file + ' ' : ''}(${line}:${column})`); // eslint-disable-line no-console\n console.log(values); // eslint-disable-line no-console\n return '';\n}\nlet on_destroy;\nfunction create_ssr_component(fn) {\n function $$render(result, props, bindings, slots, context) {\n const parent_component = current_component;\n const $$ = {\n on_destroy,\n context: new Map(context || (parent_component ? parent_component.$$.context : [])),\n // these will be immediately discarded\n on_mount: [],\n before_update: [],\n after_update: [],\n callbacks: blank_object()\n };\n set_current_component({ $$ });\n const html = fn(result, props, bindings, slots);\n set_current_component(parent_component);\n return html;\n }\n return {\n render: (props = {}, { $$slots = {}, context = new Map() } = {}) => {\n on_destroy = [];\n const result = { title: '', head: '', css: new Set() };\n const html = $$render(result, props, {}, $$slots, context);\n run_all(on_destroy);\n return {\n html,\n css: {\n code: Array.from(result.css).map(css => css.code).join('\\n'),\n map: null // TODO\n },\n head: result.title + result.head\n };\n },\n $$render\n };\n}\nfunction add_attribute(name, value, boolean) {\n if (value == null || (boolean && !value))\n return '';\n const assignment = (boolean && value === true) ? '' : `=\"${escape(value, true)}\"`;\n return ` ${name}${assignment}`;\n}\nfunction add_classes(classes) {\n return classes ? ` class=\"${classes}\"` : '';\n}\nfunction style_object_to_string(style_object) {\n return Object.keys(style_object)\n .filter(key => style_object[key])\n .map(key => `${key}: ${escape_attribute_value(style_object[key])};`)\n .join(' ');\n}\nfunction add_styles(style_object) {\n const styles = style_object_to_string(style_object);\n return styles ? ` style=\"${styles}\"` : '';\n}\n\nfunction bind(component, name, callback, value) {\n const index = component.$$.props[name];\n if (index !== undefined) {\n component.$$.bound[index] = callback;\n if (value === undefined) {\n callback(component.$$.ctx[index]);\n }\n }\n}\nfunction create_component(block) {\n block && block.c();\n}\nfunction claim_component(block, parent_nodes) {\n block && block.l(parent_nodes);\n}\nfunction mount_component(component, target, anchor, customElement) {\n const { fragment, after_update } = component.$$;\n fragment && fragment.m(target, anchor);\n if (!customElement) {\n // onMount happens before the initial afterUpdate\n add_render_callback(() => {\n const new_on_destroy = component.$$.on_mount.map(run).filter(is_function);\n // if the component was destroyed immediately\n // it will update the `$$.on_destroy` reference to `null`.\n // the destructured on_destroy may still reference to the old array\n if (component.$$.on_destroy) {\n component.$$.on_destroy.push(...new_on_destroy);\n }\n else {\n // Edge case - component was destroyed immediately,\n // most likely as a result of a binding initialising\n run_all(new_on_destroy);\n }\n component.$$.on_mount = [];\n });\n }\n after_update.forEach(add_render_callback);\n}\nfunction destroy_component(component, detaching) {\n const $$ = component.$$;\n if ($$.fragment !== null) {\n run_all($$.on_destroy);\n $$.fragment && $$.fragment.d(detaching);\n // TODO null out other refs, including component.$$ (but need to\n // preserve final state?)\n $$.on_destroy = $$.fragment = null;\n $$.ctx = [];\n }\n}\nfunction make_dirty(component, i) {\n if (component.$$.dirty[0] === -1) {\n dirty_components.push(component);\n schedule_update();\n component.$$.dirty.fill(0);\n }\n component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31));\n}\nfunction init(component, options, instance, create_fragment, not_equal, props, append_styles, dirty = [-1]) {\n const parent_component = current_component;\n set_current_component(component);\n const $$ = component.$$ = {\n fragment: null,\n ctx: [],\n // state\n props,\n update: noop,\n not_equal,\n bound: blank_object(),\n // lifecycle\n on_mount: [],\n on_destroy: [],\n on_disconnect: [],\n before_update: [],\n after_update: [],\n context: new Map(options.context || (parent_component ? parent_component.$$.context : [])),\n // everything else\n callbacks: blank_object(),\n dirty,\n skip_bound: false,\n root: options.target || parent_component.$$.root\n };\n append_styles && append_styles($$.root);\n let ready = false;\n $$.ctx = instance\n ? instance(component, options.props || {}, (i, ret, ...rest) => {\n const value = rest.length ? rest[0] : ret;\n if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {\n if (!$$.skip_bound && $$.bound[i])\n $$.bound[i](value);\n if (ready)\n make_dirty(component, i);\n }\n return ret;\n })\n : [];\n $$.update();\n ready = true;\n run_all($$.before_update);\n // `false` as a special case of no DOM component\n $$.fragment = create_fragment ? create_fragment($$.ctx) : false;\n if (options.target) {\n if (options.hydrate) {\n start_hydrating();\n const nodes = children(options.target);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.l(nodes);\n nodes.forEach(detach);\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.c();\n }\n if (options.intro)\n transition_in(component.$$.fragment);\n mount_component(component, options.target, options.anchor, options.customElement);\n end_hydrating();\n flush();\n }\n set_current_component(parent_component);\n}\nlet SvelteElement;\nif (typeof HTMLElement === 'function') {\n SvelteElement = class extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: 'open' });\n }\n connectedCallback() {\n const { on_mount } = this.$$;\n this.$$.on_disconnect = on_mount.map(run).filter(is_function);\n // @ts-ignore todo: improve typings\n for (const key in this.$$.slotted) {\n // @ts-ignore todo: improve typings\n this.appendChild(this.$$.slotted[key]);\n }\n }\n attributeChangedCallback(attr, _oldValue, newValue) {\n this[attr] = newValue;\n }\n disconnectedCallback() {\n run_all(this.$$.on_disconnect);\n }\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n // TODO should this delegate to addEventListener?\n if (!is_function(callback)) {\n return noop;\n }\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n };\n}\n/**\n * Base class for Svelte components. Used when dev=false.\n */\nclass SvelteComponent {\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n if (!is_function(callback)) {\n return noop;\n }\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n}\n\nfunction dispatch_dev(type, detail) {\n document.dispatchEvent(custom_event(type, Object.assign({ version: '3.55.0' }, detail), { bubbles: true }));\n}\nfunction append_dev(target, node) {\n dispatch_dev('SvelteDOMInsert', { target, node });\n append(target, node);\n}\nfunction append_hydration_dev(target, node) {\n dispatch_dev('SvelteDOMInsert', { target, node });\n append_hydration(target, node);\n}\nfunction insert_dev(target, node, anchor) {\n dispatch_dev('SvelteDOMInsert', { target, node, anchor });\n insert(target, node, anchor);\n}\nfunction insert_hydration_dev(target, node, anchor) {\n dispatch_dev('SvelteDOMInsert', { target, node, anchor });\n insert_hydration(target, node, anchor);\n}\nfunction detach_dev(node) {\n dispatch_dev('SvelteDOMRemove', { node });\n detach(node);\n}\nfunction detach_between_dev(before, after) {\n while (before.nextSibling && before.nextSibling !== after) {\n detach_dev(before.nextSibling);\n }\n}\nfunction detach_before_dev(after) {\n while (after.previousSibling) {\n detach_dev(after.previousSibling);\n }\n}\nfunction detach_after_dev(before) {\n while (before.nextSibling) {\n detach_dev(before.nextSibling);\n }\n}\nfunction listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) {\n const modifiers = options === true ? ['capture'] : options ? Array.from(Object.keys(options)) : [];\n if (has_prevent_default)\n modifiers.push('preventDefault');\n if (has_stop_propagation)\n modifiers.push('stopPropagation');\n dispatch_dev('SvelteDOMAddEventListener', { node, event, handler, modifiers });\n const dispose = listen(node, event, handler, options);\n return () => {\n dispatch_dev('SvelteDOMRemoveEventListener', { node, event, handler, modifiers });\n dispose();\n };\n}\nfunction attr_dev(node, attribute, value) {\n attr(node, attribute, value);\n if (value == null)\n dispatch_dev('SvelteDOMRemoveAttribute', { node, attribute });\n else\n dispatch_dev('SvelteDOMSetAttribute', { node, attribute, value });\n}\nfunction prop_dev(node, property, value) {\n node[property] = value;\n dispatch_dev('SvelteDOMSetProperty', { node, property, value });\n}\nfunction dataset_dev(node, property, value) {\n node.dataset[property] = value;\n dispatch_dev('SvelteDOMSetDataset', { node, property, value });\n}\nfunction set_data_dev(text, data) {\n data = '' + data;\n if (text.wholeText === data)\n return;\n dispatch_dev('SvelteDOMSetData', { node: text, data });\n text.data = data;\n}\nfunction validate_each_argument(arg) {\n if (typeof arg !== 'string' && !(arg && typeof arg === 'object' && 'length' in arg)) {\n let msg = '{#each} only iterates over array-like objects.';\n if (typeof Symbol === 'function' && arg && Symbol.iterator in arg) {\n msg += ' You can use a spread to convert this iterable into an array.';\n }\n throw new Error(msg);\n }\n}\nfunction validate_slots(name, slot, keys) {\n for (const slot_key of Object.keys(slot)) {\n if (!~keys.indexOf(slot_key)) {\n console.warn(`<${name}> received an unexpected slot \"${slot_key}\".`);\n }\n }\n}\nfunction validate_dynamic_element(tag) {\n const is_string = typeof tag === 'string';\n if (tag && !is_string) {\n throw new Error('<svelte:element> expects \"this\" attribute to be a string.');\n }\n}\nfunction validate_void_dynamic_element(tag) {\n if (tag && is_void(tag)) {\n console.warn(`<svelte:element this=\"${tag}\"> is self-closing and cannot have content.`);\n }\n}\nfunction construct_svelte_component_dev(component, props) {\n const error_message = 'this={...} of <svelte:component> should specify a Svelte component.';\n try {\n const instance = new component(props);\n if (!instance.$$ || !instance.$set || !instance.$on || !instance.$destroy) {\n throw new Error(error_message);\n }\n return instance;\n }\n catch (err) {\n const { message } = err;\n if (typeof message === 'string' && message.indexOf('is not a constructor') !== -1) {\n throw new Error(error_message);\n }\n else {\n throw err;\n }\n }\n}\n/**\n * Base class for Svelte components with some minor dev-enhancements. Used when dev=true.\n */\nclass SvelteComponentDev extends SvelteComponent {\n constructor(options) {\n if (!options || (!options.target && !options.$$inline)) {\n throw new Error(\"'target' is a required option\");\n }\n super();\n }\n $destroy() {\n super.$destroy();\n this.$destroy = () => {\n console.warn('Component was already destroyed'); // eslint-disable-line no-console\n };\n }\n $capture_state() { }\n $inject_state() { }\n}\n/**\n * Base class to create strongly typed Svelte components.\n * This only exists for typing purposes and should be used in `.d.ts` files.\n *\n * ### Example:\n *\n * You have component library on npm called `component-library`, from which\n * you export a component called `MyComponent`. For Svelte+TypeScript users,\n * you want to provide typings. Therefore you create a `index.d.ts`:\n * ```ts\n * import { SvelteComponentTyped } from \"svelte\";\n * export class MyComponent extends SvelteComponentTyped<{foo: string}> {}\n * ```\n * Typing this makes it possible for IDEs like VS Code with the Svelte extension\n * to provide intellisense and to use the component like this in a Svelte file\n * with TypeScript:\n * ```svelte\n * <script lang=\"ts\">\n * \timport { MyComponent } from \"component-library\";\n * </script>\n * <MyComponent foo={'bar'} />\n * ```\n *\n * #### Why not make this part of `SvelteComponent(Dev)`?\n * Because\n * ```ts\n * class ASubclassOfSvelteComponent extends SvelteComponent<{foo: string}> {}\n * const component: typeof SvelteComponent = ASubclassOfSvelteComponent;\n * ```\n * will throw a type error, so we need to separate the more strictly typed class.\n */\nclass SvelteComponentTyped extends SvelteComponentDev {\n constructor(options) {\n super(options);\n }\n}\nfunction loop_guard(timeout) {\n const start = Date.now();\n return () => {\n if (Date.now() - start > timeout) {\n throw new Error('Infinite loop detected');\n }\n };\n}\n\nexport { HtmlTag, HtmlTagHydration, SvelteComponent, SvelteComponentDev, SvelteComponentTyped, SvelteElement, action_destroyer, add_attribute, add_classes, add_flush_callback, add_location, add_render_callback, add_resize_listener, add_styles, add_transform, afterUpdate, append, append_dev, append_empty_stylesheet, append_hydration, append_hydration_dev, append_styles, assign, attr, attr_dev, attribute_to_object, beforeUpdate, bind, binding_callbacks, blank_object, bubble, check_outros, children, claim_component, claim_element, claim_html_tag, claim_space, claim_svg_element, claim_text, clear_loops, component_subscribe, compute_rest_props, compute_slots, construct_svelte_component, construct_svelte_component_dev, createEventDispatcher, create_animation, create_bidirectional_transition, create_component, create_in_transition, create_out_transition, create_slot, create_ssr_component, current_component, custom_event, dataset_dev, debug, destroy_block, destroy_component, destroy_each, detach, detach_after_dev, detach_before_dev, detach_between_dev, detach_dev, dirty_components, dispatch_dev, each, element, element_is, empty, end_hydrating, escape, escape_attribute_value, escape_object, exclude_internal_props, fix_and_destroy_block, fix_and_outro_and_destroy_block, fix_position, flush, getAllContexts, getContext, get_all_dirty_from_scope, get_binding_group_value, get_current_component, get_custom_elements_slots, get_root_for_style, get_slot_changes, get_spread_object, get_spread_update, get_store_value, globals, group_outros, handle_promise, hasContext, has_prop, head_selector, identity, init, insert, insert_dev, insert_hydration, insert_hydration_dev, intros, invalid_attribute_name_character, is_client, is_crossorigin, is_empty, is_function, is_promise, is_void, listen, listen_dev, loop, loop_guard, merge_ssr_styles, missing_component, mount_component, noop, not_equal, now, null_to_empty, object_without_properties, onDestroy, onMount, once, outro_and_destroy_block, prevent_default, prop_dev, query_selector_all, raf, run, run_all, safe_not_equal, schedule_update, select_multiple_value, select_option, select_options, select_value, self, setContext, set_attributes, set_current_component, set_custom_element_data, set_custom_element_data_map, set_data, set_data_dev, set_input_type, set_input_value, set_now, set_raf, set_store_value, set_style, set_svg_attributes, space, spread, src_url_equal, start_hydrating, stop_propagation, subscribe, svg_element, text, tick, time_ranges_to_array, to_number, toggle_class, transition_in, transition_out, trusted, update_await_block_branch, update_keyed_each, update_slot, update_slot_base, validate_component, validate_dynamic_element, validate_each_argument, validate_each_keys, validate_slots, validate_store, validate_void_dynamic_element, xlink_attr };\n","module.exports = require('../full/is-iterable');\n","module.exports = require(\"core-js-pure/features/is-iterable\");","import { noop, safe_not_equal, subscribe, run_all, is_function } from '../internal/index.mjs';\nexport { get_store_value as get } from '../internal/index.mjs';\n\nconst subscriber_queue = [];\n/**\n * Creates a `Readable` store that allows reading by subscription.\n * @param value initial value\n * @param {StartStopNotifier}start start and stop notifications for subscriptions\n */\nfunction readable(value, start) {\n return {\n subscribe: writable(value, start).subscribe\n };\n}\n/**\n * Create a `Writable` store that allows both updating and reading by subscription.\n * @param {*=}value initial value\n * @param {StartStopNotifier=}start start and stop notifications for subscriptions\n */\nfunction writable(value, start = noop) {\n let stop;\n const subscribers = new Set();\n function set(new_value) {\n if (safe_not_equal(value, new_value)) {\n value = new_value;\n if (stop) { // store is ready\n const run_queue = !subscriber_queue.length;\n for (const subscriber of subscribers) {\n subscriber[1]();\n subscriber_queue.push(subscriber, value);\n }\n if (run_queue) {\n for (let i = 0; i < subscriber_queue.length; i += 2) {\n subscriber_queue[i][0](subscriber_queue[i + 1]);\n }\n subscriber_queue.length = 0;\n }\n }\n }\n }\n function update(fn) {\n set(fn(value));\n }\n function subscribe(run, invalidate = noop) {\n const subscriber = [run, invalidate];\n subscribers.add(subscriber);\n if (subscribers.size === 1) {\n stop = start(set) || noop;\n }\n run(value);\n return () => {\n subscribers.delete(subscriber);\n if (subscribers.size === 0) {\n stop();\n stop = null;\n }\n };\n }\n return { set, update, subscribe };\n}\nfunction derived(stores, fn, initial_value) {\n const single = !Array.isArray(stores);\n const stores_array = single\n ? [stores]\n : stores;\n const auto = fn.length < 2;\n return readable(initial_value, (set) => {\n let inited = false;\n const values = [];\n let pending = 0;\n let cleanup = noop;\n const sync = () => {\n if (pending) {\n return;\n }\n cleanup();\n const result = fn(single ? values[0] : values, set);\n if (auto) {\n set(result);\n }\n else {\n cleanup = is_function(result) ? result : noop;\n }\n };\n const unsubscribers = stores_array.map((store, i) => subscribe(store, (value) => {\n values[i] = value;\n pending &= ~(1 << i);\n if (inited) {\n sync();\n }\n }, () => {\n pending |= (1 << i);\n }));\n inited = true;\n sync();\n return function stop() {\n run_all(unsubscribers);\n cleanup();\n };\n });\n}\n\nexport { derived, readable, writable };\n","var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar $parseInt = global.parseInt;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar hex = /^[+-]?0x/i;\nvar exec = uncurryThis(hex.exec);\nvar FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22\n // MS Edge 18- broken with boxed symbols\n || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\nmodule.exports = FORCED ? function parseInt(string, radix) {\n var S = trim(toString(string));\n return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));\n} : $parseInt;\n","var $ = require('../internals/export');\nvar $parseInt = require('../internals/number-parse-int');\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\n$({ global: true, forced: parseInt != $parseInt }, {\n parseInt: $parseInt\n});\n","require('../modules/es.parse-int');\nvar path = require('../internals/path');\n\nmodule.exports = path.parseInt;\n","var parent = require('../es/parse-int');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/parse-int\");","'use strict';\nvar $trimEnd = require('../internals/string-trim').end;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.{ trimEnd, trimRight }` method\n// https://tc39.es/ecma262/#sec-string.prototype.trimend\n// https://tc39.es/ecma262/#String.prototype.trimright\nmodule.exports = forcedStringTrimMethod('trimEnd') ? function trimEnd() {\n return $trimEnd(this);\n// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe\n} : ''.trimEnd;\n","var $ = require('../internals/export');\nvar trimEnd = require('../internals/string-trim-end');\n\n// `String.prototype.trimRight` method\n// https://tc39.es/ecma262/#sec-string.prototype.trimend\n// eslint-disable-next-line es/no-string-prototype-trimleft-trimright -- safe\n$({ target: 'String', proto: true, name: 'trimEnd', forced: ''.trimRight !== trimEnd }, {\n trimRight: trimEnd\n});\n","// TODO: Remove this line from `core-js@4`\nrequire('../modules/es.string.trim-right');\nvar $ = require('../internals/export');\nvar trimEnd = require('../internals/string-trim-end');\n\n// `String.prototype.trimEnd` method\n// https://tc39.es/ecma262/#sec-string.prototype.trimend\n// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe\n$({ target: 'String', proto: true, name: 'trimEnd', forced: ''.trimEnd !== trimEnd }, {\n trimEnd: trimEnd\n});\n","require('../../../modules/es.string.trim-end');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('String').trimRight;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../string/virtual/trim-end');\n\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n var own = it.trimEnd;\n return typeof it == 'string' || it === StringPrototype\n || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.trimEnd) ? method : own;\n};\n","var parent = require('../../es/instance/trim-end');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/trim-end\");","import { is_function } from 'svelte/internal';\nimport { writable, derived, get } from 'svelte/store';\n\nfunction assign(...args) {\n return Object.assign(...args);\n}\n\nfunction hasYScroll(el) {\n // return el.scrollHeight > el.clientHeight;\n return el.offsetWidth - el.clientWidth - el.clientLeft*2 > 0; // ie11 (consider border right == border left)\n}\n\nfunction rect(el) {\n return el.getBoundingClientRect();\n}\n\nfunction ancestor(el, up) {\n while (up--) {\n el = el.parentElement;\n }\n return el;\n}\n\nfunction height(el) {\n return el.offsetHeight;\n}\n\nlet ignoreProp = Symbol('ec');\nfunction ignore(jsEvent) {\n jsEvent[ignoreProp] = true;\n}\n\nfunction maybeIgnore(fn) {\n return jsEvent => {\n if (!jsEvent[ignoreProp]) {\n fn && fn(jsEvent);\n // Make upper listeners ignore the event\n ignore(jsEvent);\n }\n };\n}\n\nfunction isObject(test) {\n return typeof test === 'object' && test !== null;\n}\n\nfunction createElement(tag, className, html, text) {\n let el = document.createElement(tag);\n el.className = className;\n if (html) {\n el.innerHTML = html;\n } else if (text) {\n el.innerText = text;\n }\n return el;\n}\n\nfunction setContent(node, content) {\n let actions = {\n update(content) {\n while (node.firstChild) {\n node.removeChild(node.lastChild);\n }\n if (!isObject(content)) {\n node.innerText = content;\n } else if (content.domNodes) {\n for (let child of content.domNodes) {\n node.appendChild(child);\n }\n } else if (content.html) {\n node.innerHTML = content.html;\n }\n }\n };\n actions.update(content);\n\n return actions;\n}\n\n/** Dispatch event occurred outside of node */\nfunction outsideEvent(node, type) {\n\n const handlePointerDown = jsEvent => {\n if (node && !node.contains(jsEvent.target)) {\n node.dispatchEvent(\n new CustomEvent(type + 'outside', {detail: {jsEvent}})\n );\n }\n };\n\n document.addEventListener(type, handlePointerDown, true);\n\n return {\n destroy() {\n document.removeEventListener(type, handlePointerDown, true);\n }\n };\n}\n\nconst DAY_IN_SECONDS = 86400;\n\nfunction createDate(input) {\n if (input !== undefined) {\n return input instanceof Date ? _fromLocalDate(input) : _fromISOString(input);\n }\n\n return _fromLocalDate(new Date());\n}\n\nfunction createDuration(input) {\n if (typeof input === 'number') {\n input = {seconds: input};\n } else if (typeof input === 'string') {\n // Expected format hh[:mm[:ss]]\n let seconds = 0, exp = 2;\n for (let part of input.split(':', 3)) {\n seconds += parseInt(part, 10) * Math.pow(60, exp--);\n }\n input = {seconds};\n } else if (input instanceof Date) {\n input = {hours: input.getUTCHours(), minutes: input.getUTCMinutes(), seconds: input.getUTCSeconds()};\n }\n\n let weeks = input.weeks || input.week || 0;\n\n return {\n years: input.years || input.year || 0,\n months: input.months || input.month || 0,\n days: weeks * 7 + (input.days || input.day || 0),\n seconds: (input.hours || input.hour || 0) * 60 * 60 +\n (input.minutes || input.minute || 0) * 60 +\n (input.seconds || input.second || 0),\n inWeeks: !!weeks\n };\n}\n\nfunction cloneDate(date) {\n return new Date(date.getTime());\n}\n\nfunction addDuration(date, duration, x) {\n if (x === undefined) {\n x = 1;\n }\n date.setUTCFullYear(date.getUTCFullYear() + x * duration.years);\n let month = date.getUTCMonth() + x * duration.months;\n date.setUTCMonth(month);\n month %= 12;\n if (month < 0) {\n month += 12;\n }\n while (date.getUTCMonth() !== month) {\n subtractDay(date);\n }\n date.setUTCDate(date.getUTCDate() + x * duration.days);\n date.setUTCSeconds(date.getUTCSeconds() + x * duration.seconds);\n\n return date;\n}\n\nfunction subtractDuration(date, duration, x) {\n return addDuration(date, duration, x === undefined ? -1 : -x);\n}\n\nfunction addDay(date, x) {\n date.setUTCDate(date.getUTCDate() + (x === undefined ? 1 : x));\n\n return date;\n}\n\nfunction subtractDay(date, x) {\n return addDay(date, x === undefined ? -1 : -x);\n}\n\nfunction setMidnight(date) {\n date.setUTCHours(0, 0, 0, 0);\n\n return date;\n}\n\nfunction toLocalDate(date) {\n return new Date(\n date.getUTCFullYear(),\n date.getUTCMonth(),\n date.getUTCDate(),\n date.getUTCHours(),\n date.getUTCMinutes(),\n date.getUTCSeconds()\n );\n}\n\nfunction toISOString(date) {\n return date.toISOString().substring(0, 19);\n}\n\nfunction formatRange(start, end, intl) {\n if (start.getFullYear() !== end.getFullYear()) {\n return intl.format(start) + ' - ' + intl.format(end);\n }\n\n let diff = [];\n if (start.getMonth() !== end.getMonth()) {\n diff.push('month');\n }\n if (start.getDate() !== end.getDate()) {\n diff.push('day');\n }\n\n if (!diff.length) {\n return intl.format(start);\n }\n\n let opts1 = intl.resolvedOptions();\n let opts2 = {};\n for (let key of diff) {\n opts2[key] = opts1[key];\n }\n let intl2 = new Intl.DateTimeFormat(opts1.locale, opts2);\n\n let full1 = intl.format(start);\n let full2 = intl.format(end);\n let part1 = intl2.format(start);\n let part2 = intl2.format(end);\n\n let common = _commonChunks(full1, part1, full2, part2);\n if (common) {\n return common.head + part1 + ' - ' + part2 + common.tail;\n }\n\n return full1 + ' - ' + full2;\n}\n\nfunction datesEqual(date1, ...dates2) {\n return dates2.every(date2 => date1.getTime() === date2.getTime());\n}\n\nfunction nextClosestDay(date, day) {\n let diff = day - date.getUTCDay();\n date.setUTCDate(date.getUTCDate() + (diff >= 0 ? diff : diff + 7));\n return date;\n}\n\nfunction prevClosestDay(date, day) {\n let diff = day - date.getUTCDay();\n date.setUTCDate(date.getUTCDate() + (diff <= 0 ? diff : diff - 7));\n return date;\n}\n\n/**\n * Private functions\n */\n\nfunction _fromLocalDate(date) {\n return new Date(Date.UTC(\n date.getFullYear(),\n date.getMonth(),\n date.getDate(),\n date.getHours(),\n date.getMinutes(),\n date.getSeconds()\n ));\n}\n\nfunction _fromISOString(str) {\n const parts = str.match(/\\d+/g);\n return new Date(Date.UTC(\n Number(parts[0]),\n Number(parts[1]) - 1,\n Number(parts[2]),\n Number(parts[3] || 0),\n Number(parts[4] || 0),\n Number(parts[5] || 0)\n ));\n}\n\nfunction _commonChunks(str1, substr1, str2, substr2) {\n let i = 0;\n while (i < str1.length) {\n let res1;\n [i, res1] = _cut(str1, substr1, i);\n if (!res1) {\n break;\n }\n\n let j = 0;\n while (j < str2.length) {\n let res2;\n [j, res2] = _cut(str2, substr2, j);\n if (!res2) {\n break;\n }\n\n if (res1.head === res2.head && res1.tail === res2.tail) {\n return res1;\n }\n }\n }\n\n return null\n}\n\nfunction _cut(str, substr, from) {\n let start = str.indexOf(substr, from);\n if (start >= 0) {\n let end = start + substr.length;\n\n return [end, {\n head: str.substr(0, start),\n tail: str.substr(end)\n }];\n }\n\n return [-1, null];\n}\n\nfunction createView(view, _viewTitle, _currentRange, _activeRange) {\n return {\n type: view,\n title: _viewTitle,\n currentStart: _currentRange.start,\n currentEnd: _currentRange.end,\n activeStart: _activeRange.start,\n activeEnd: _activeRange.end,\n calendar: undefined\n };\n}\n\nfunction toViewWithLocalDates(view) {\n view = assign({}, view);\n view.currentStart = toLocalDate(view.currentStart);\n view.currentEnd = toLocalDate(view.currentEnd);\n view.activeStart = toLocalDate(view.activeStart);\n view.activeEnd = toLocalDate(view.activeEnd);\n\n return view;\n}\n\nconst display = ['background'];\n\nlet eventId = 1;\nfunction createEvents(input) {\n return input.map(event => ({\n id: 'id' in event ? String(event.id) : `{generated-${eventId++}}`,\n resourceIds: Array.isArray(event.resourceIds)\n ? event.resourceIds.map(String)\n : ('resourceId' in event ? [String(event.resourceId)] : []),\n allDay: event.allDay || false,\n start: createDate(event.start),\n end: createDate(event.end),\n title: event.title || '',\n titleHTML: event.titleHTML || '',\n editable: event.editable,\n startEditable: event.startEditable,\n durationEditable: event.durationEditable,\n display: display.includes(event.display) ? event.display : 'auto',\n extendedProps: event.extendedProps || {},\n backgroundColor: event.backgroundColor || event.color\n }));\n}\n\nfunction createEventSources(input) {\n return input.map(source => ({\n events: source.events,\n url: (source.url && source.url.trimEnd('&')) || '',\n method: (source.method && source.method.toUpperCase()) || 'GET',\n extraParams: source.extraParams || {}\n }));\n}\n\nfunction createEventChunk(event, start, end) {\n return {\n start: event.start > start ? event.start : start,\n end: event.end < end ? event.end : end,\n event\n };\n}\n\nfunction sortEventChunks(chunks) {\n // Sort by start date\n chunks.sort((a, b) => {\n if (a.start < b.start) {\n return -1;\n }\n if (a.start > b.start) {\n return 1;\n }\n return 0;\n });\n}\n\n/**\n * Prepare event chunks for month view and all-day slot in week view\n */\nfunction prepareEventChunks(chunks, hiddenDays) {\n if (!chunks.length) {\n return;\n }\n\n sortEventChunks(chunks);\n\n let longChunks = {};\n let prevChunk;\n for (let chunk of chunks) {\n let dates = [];\n let date = setMidnight(cloneDate(chunk.start));\n while (chunk.end > date) {\n if (!hiddenDays.includes(date.getUTCDay())) {\n dates.push(cloneDate(date));\n if (dates.length > 1) {\n let key = date.getTime();\n if (longChunks[key]) {\n longChunks[key].push(chunk);\n } else {\n longChunks[key] = [chunk];\n }\n }\n }\n addDay(date);\n }\n if (dates.length) {\n chunk.date = dates[0];\n chunk.days = dates.length;\n chunk.dates = dates;\n if (chunk.start < dates[0]) {\n chunk.start = dates[0];\n }\n if (setMidnight(cloneDate(chunk.end)) > dates[dates.length - 1]) {\n chunk.end = dates[dates.length - 1];\n }\n } else {\n chunk.date = setMidnight(cloneDate(chunk.start));\n chunk.days = 1;\n chunk.dates = [chunk.date];\n }\n\n if (prevChunk && datesEqual(prevChunk.date, chunk.date)) {\n chunk.prev = prevChunk;\n }\n prevChunk = chunk;\n }\n\n return longChunks;\n}\n\nfunction createEventContent(chunk, displayEventEnd, eventContent, theme, _intlEventTime, _view) {\n let timeText = _intlEventTime.format(chunk.start), content;\n if (displayEventEnd && chunk.event.display !== 'pointer') {\n timeText += ` - ${_intlEventTime.format(chunk.end)}`;\n }\n if (eventContent) {\n content = is_function(eventContent)\n ? eventContent({\n event: toEventWithLocalDates(chunk.event),\n timeText,\n view: toViewWithLocalDates(_view)\n })\n : eventContent;\n } else {\n switch (chunk.event.display) {\n case 'background':\n content = '';\n break;\n case 'pointer':\n content = {\n domNodes: [createElement('div', theme.eventTime, null, timeText)]\n };\n break;\n default:\n content = {\n domNodes: [\n createElement('div', theme.eventTime, null, timeText),\n createElement('div', theme.eventTitle, chunk.event.titleHTML, chunk.event.title)\n ]\n };\n }\n }\n\n return [timeText, content];\n}\n\nfunction toEventWithLocalDates(event) {\n return _cloneEvent(event, toLocalDate);\n}\n\nfunction cloneEvent(event) {\n return _cloneEvent(event, cloneDate);\n}\n\nfunction _cloneEvent(event, dateFn) {\n event = assign({}, event);\n event.start = dateFn(event.start);\n event.end = dateFn(event.end);\n\n return event;\n}\n\nfunction writable2(value, parser, start) {\n return {\n ...writable(parser ? parser(value) : value, start),\n parse: parser\n };\n}\n\nfunction derived2(stores, fn, initValue) {\n let storeValue = initValue;\n let hasSubscribers = false;\n let auto = fn.length < 2;\n let fn2 = (_, set) => {\n hasSubscribers = true;\n if (auto) {\n storeValue = fn(_, set);\n set(storeValue);\n } else {\n fn(_, value => {storeValue = value; set(value);});\n }\n return () => {hasSubscribers = false;};\n };\n let store = derived(stores, fn2, storeValue);\n return {\n ...store,\n get: () => hasSubscribers ? storeValue : get(store)\n };\n}\n\nfunction intl(locale, format) {\n return derived([locale, format], ([$locale, $format]) => {\n let intl = is_function($format)\n ? {format: $format}\n : new Intl.DateTimeFormat($locale, $format);\n return {\n format: date => intl.format(toLocalDate(date))\n };\n });\n}\n\nfunction intlRange(locale, format) {\n return derived([locale, format], ([$locale, $format]) => {\n if (is_function($format)) {\n return {format: (start, end) => $format(toLocalDate(start), toLocalDate(end))};\n }\n let intl = new Intl.DateTimeFormat($locale, $format);\n return {\n format: (start, end) => formatRange(toLocalDate(start), toLocalDate(end), intl)\n };\n });\n}\n\nexport { DAY_IN_SECONDS, addDay, addDuration, ancestor, assign, cloneDate, cloneEvent, createDate, createDuration, createElement, createEventChunk, createEventContent, createEventSources, createEvents, createView, datesEqual, derived2, formatRange, hasYScroll, height, ignore, intl, intlRange, isObject, maybeIgnore, nextClosestDay, outsideEvent, prepareEventChunks, prevClosestDay, rect, setContent, setMidnight, sortEventChunks, subtractDay, subtractDuration, toEventWithLocalDates, toISOString, toLocalDate, toViewWithLocalDates, writable2 };\n","import { is_function, tick, noop, identity, SvelteComponent, init, safe_not_equal, empty, insert, destroy_each, detach, component_subscribe, set_store_value, element, text, attr, append, listen, set_data, transition_in, group_outros, check_outros, transition_out, space, create_component, mount_component, destroy_component, construct_svelte_component, set_style } from 'svelte/internal';\nimport { getContext, setContext } from 'svelte';\nimport { derived, writable, readable, get } from 'svelte/store';\nimport { assign, setMidnight, createDate, createDuration, createEvents, createEventSources, cloneDate, prevClosestDay, nextClosestDay, DAY_IN_SECONDS, addDuration, subtractDay, toLocalDate, toISOString, derived2, addDay, createView, writable2, intl, intlRange, subtractDuration, toEventWithLocalDates, toViewWithLocalDates, ignore } from '@event-calendar/common';\n\nfunction createOptions(plugins) {\n let options = {\n allDayContent: undefined,\n allDaySlot: true,\n buttonText: {\n today: 'today',\n },\n date: new Date(),\n dateClick: undefined,\n datesSet: undefined,\n dayHeaderFormat: {\n weekday: 'short',\n month: 'numeric',\n day: 'numeric'\n },\n displayEventEnd: true,\n duration: {weeks: 1},\n events: [],\n eventBackgroundColor: undefined,\n eventClick: undefined,\n eventColor: undefined,\n eventContent: undefined,\n eventDidMount: undefined,\n eventMouseEnter: undefined,\n eventMouseLeave: undefined,\n eventSources: [],\n eventTimeFormat: {\n hour: 'numeric',\n minute: '2-digit'\n },\n firstDay: 0,\n flexibleSlotTimeLimits: false, // ec option\n headerToolbar: {\n start: 'title',\n center: '',\n end: 'today prev,next'\n },\n height: 'auto',\n hiddenDays: [],\n highlightedDates: [], // ec option\n lazyFetching: true,\n loading: undefined,\n locale: undefined,\n monthMode: false,\n nowIndicator: false,\n selectable: false,\n scrollTime: '06:00:00',\n slotDuration: '00:30:00',\n slotHeight: 24, // ec option\n slotLabelFormat: {\n hour: 'numeric',\n minute: '2-digit'\n },\n slotMaxTime: '24:00:00',\n slotMinTime: '00:00:00',\n theme: {\n allDay: 'ec-all-day',\n active: 'ec-active',\n bgEvent: 'ec-bg-event',\n bgEvents: 'ec-bg-events',\n body: 'ec-body',\n button: 'ec-button',\n buttonGroup: 'ec-button-group',\n calendar: 'ec',\n compact: 'ec-compact',\n content: 'ec-content',\n day: 'ec-day',\n dayHead: 'ec-day-head',\n days: 'ec-days',\n event: 'ec-event',\n eventBody: 'ec-event-body',\n eventTime: 'ec-event-time',\n eventTitle: 'ec-event-title',\n events: 'ec-events',\n extra: 'ec-extra',\n handle: 'ec-handle',\n header: 'ec-header',\n hiddenScroll: 'ec-hidden-scroll',\n hiddenTimes: 'ec-hidden-times',\n highlight: 'ec-highlight',\n icon: 'ec-icon',\n line: 'ec-line',\n lines: 'ec-lines',\n nowIndicator: 'ec-now-indicator',\n otherMonth: 'ec-other-month',\n sidebar: 'ec-sidebar',\n sidebarTitle: 'ec-sidebar-title',\n today: 'ec-today',\n time: 'ec-time',\n title: 'ec-title',\n toolbar: 'ec-toolbar',\n week: 'ec-week',\n withScroll: 'ec-with-scroll'\n },\n titleFormat: {\n year: 'numeric',\n month: 'short',\n day: 'numeric'\n },\n view: undefined,\n viewDidMount: undefined,\n views: {}\n };\n\n for (let plugin of plugins) {\n if ('createOptions' in plugin) {\n plugin.createOptions(options);\n }\n }\n\n return options;\n}\n\nfunction createParsers(options, plugins) {\n let parsers = {\n buttonText: input => is_function(input) ? input(options.buttonText) : input,\n date: date => setMidnight(createDate(date)),\n duration: createDuration,\n events: createEvents,\n eventSources: createEventSources,\n hiddenDays: days => [...new Set(days)],\n highlightedDates: dates => dates.map(createDate),\n scrollTime: createDuration,\n slotDuration: createDuration,\n slotMaxTime: createDuration,\n slotMinTime: createDuration,\n theme: input => is_function(input) ? input(options.theme) : input\n };\n\n for (let plugin of plugins) {\n if ('createParsers' in plugin) {\n plugin.createParsers(parsers, options);\n }\n }\n\n return parsers;\n}\n\nlet prev;\nfunction diff(options) {\n let diff = [];\n if (prev) {\n for (let name of Object.keys(options)) {\n if (options[name] !== prev[name]) {\n diff.push([name, options[name]]);\n }\n }\n }\n prev = assign({}, options);\n\n return diff;\n}\n\nfunction activeRange(state) {\n let _activeRange = derived(\n [state._currentRange, state.firstDay, state.monthMode, state.slotMinTime, state.slotMaxTime],\n ([$_currentRange, $firstDay, $monthMode, $slotMinTime, $slotMaxTime]) => {\n let start = cloneDate($_currentRange.start);\n let end = cloneDate($_currentRange.end);\n\n if ($monthMode) {\n // First day of week\n prevClosestDay(start, $firstDay);\n nextClosestDay(end, $firstDay);\n } else if ($slotMaxTime.days || $slotMaxTime.seconds > DAY_IN_SECONDS) {\n addDuration(subtractDay(end), $slotMaxTime);\n let start2 = subtractDay(cloneDate(end));\n if (start2 < start) {\n start = start2;\n }\n }\n\n return {start, end};\n }\n );\n\n let debounce = 0;\n derived([_activeRange, state.datesSet], ([$_activeRange, $datesSet]) => {\n if ($datesSet && !debounce) {\n ++debounce;\n tick().then(() => {\n --debounce;\n $datesSet({\n start: toLocalDate($_activeRange.start),\n end: toLocalDate($_activeRange.end),\n startStr: toISOString($_activeRange.start),\n endStr: toISOString($_activeRange.end)\n });\n });\n }\n }).subscribe(noop);\n\n return _activeRange;\n}\n\nfunction currentRange(state) {\n return derived(\n [state.date, state.duration, state.monthMode, state.firstDay],\n ([$date, $duration, $monthMode, $firstDay]) => {\n let start = cloneDate($date), end;\n if ($monthMode) {\n start.setUTCDate(1);\n } else if ($duration.inWeeks) {\n // First day of week\n prevClosestDay(start, $firstDay);\n }\n end = addDuration(cloneDate(start), $duration);\n\n return {start, end};\n }\n );\n}\n\nfunction viewDates(state) {\n return derived2([state._activeRange, state.hiddenDays], ([$_activeRange, $hiddenDays]) => {\n let dates = [];\n let date = setMidnight(cloneDate($_activeRange.start));\n let end = setMidnight(cloneDate($_activeRange.end));\n while (date < end) {\n if (!$hiddenDays.includes(date.getUTCDay())) {\n dates.push(cloneDate(date));\n }\n addDay(date);\n }\n if (!dates.length && $hiddenDays.length && $hiddenDays.length < 7) {\n // Try to move the date\n state.date.update(date => {\n while ($hiddenDays.includes(date.getUTCDay())) {\n addDay(date);\n }\n return date;\n });\n dates = state._viewDates.get();\n }\n\n return dates;\n });\n}\n\nfunction viewTitle(state) {\n return derived(\n [state.date, state._activeRange, state._titleIntlRange, state.monthMode],\n ([$date, $_activeRange, $_titleIntlRange, $monthMode]) => {\n return $monthMode\n ? $_titleIntlRange.format($date, $date)\n : $_titleIntlRange.format($_activeRange.start, subtractDay(cloneDate($_activeRange.end)));\n }\n );\n}\n\nfunction view(state) {\n return derived2([state.view, state._viewTitle, state._currentRange, state._activeRange], args => createView(...args));\n}\n\nfunction events(state) {\n let _events = writable([]);\n let abortController;\n let fetching = 0;\n derived(\n [state.events, state.eventSources, state._activeRange, state._fetchedRange, state.lazyFetching, state.loading],\n (values, set) => tick().then(() => {\n let [$events, $eventSources, $_activeRange, $_fetchedRange, $lazyFetching, $loading] = values;\n if (!$eventSources.length) {\n set($events);\n return;\n }\n // Do not fetch if new range is within the previous one\n if (!$_fetchedRange.start || $_fetchedRange.start > $_activeRange.start || $_fetchedRange.end < $_activeRange.end || !$lazyFetching) {\n if (abortController) {\n // Abort previous request\n abortController.abort();\n }\n // Create new abort controller\n abortController = new AbortController();\n // Call loading hook\n if (is_function($loading) && !fetching) {\n $loading(true);\n }\n let stopLoading = () => {\n if (--fetching === 0 && is_function($loading)) {\n $loading(false);\n }\n };\n let events = [];\n // Prepare handlers\n let failure = e => stopLoading();\n let success = data => {\n events = events.concat(createEvents(data));\n set(events);\n stopLoading();\n };\n // Prepare other stuff\n let startStr = toISOString($_activeRange.start);\n let endStr = toISOString($_activeRange.end);\n // Loop over event sources\n for (let source of $eventSources) {\n if (is_function(source.events)) {\n // Events as a function\n let result = source.events({\n start: toLocalDate($_activeRange.start),\n end: toLocalDate($_activeRange.end),\n startStr,\n endStr\n }, success, failure);\n if (result !== undefined) {\n Promise.resolve(result).then(success, failure);\n }\n } else {\n // Events as a JSON feed\n // Prepare params\n let params = is_function(source.extraParams) ? source.extraParams() : assign({}, source.extraParams);\n params.start = startStr;\n params.end = endStr;\n params = new URLSearchParams(params);\n // Prepare fetch\n let url = source.url, headers = {}, body;\n if (['GET', 'HEAD'].includes(source.method)) {\n url += (url.includes('?') ? '&' : '?') + params;\n } else {\n headers['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';\n body = String(params); // Safari 10.1 doesn't convert to string automatically\n }\n // Do the fetch\n fetch(url, {method: source.method, headers, body, signal: abortController.signal, credentials: 'same-origin'})\n .then(response => response.json())\n .then(success)\n .catch(failure);\n }\n ++fetching;\n }\n // Save current range for future requests\n $_fetchedRange.start = $_activeRange.start;\n $_fetchedRange.end = $_activeRange.end;\n }\n }),\n []\n ).subscribe(_events.set);\n\n return _events;\n}\n\nfunction now() {\n return readable(createDate(), set => {\n let interval = setInterval(() => {\n set(createDate());\n }, 1000);\n\n return () => clearInterval(interval);\n });\n}\n\nfunction today(state) {\n return derived(state._now, $_now => setMidnight(cloneDate($_now)));\n}\n\nclass State {\n constructor(plugins, input) {\n plugins = plugins || [];\n\n // Create options\n let options = createOptions(plugins);\n let parsers = createParsers(options, plugins);\n\n // Create stores for options\n for (let [option, value] of Object.entries(options)) {\n this[option] = writable2(value, parsers[option]);\n }\n\n // Private stores\n this._currentRange = currentRange(this);\n this._activeRange = activeRange(this);\n this._fetchedRange = writable({start: undefined, end: undefined});\n this._events = events(this);\n this._now = now();\n this._today = today(this);\n this._ignoreClick = writable(false);\n this._intlEventTime = intl(this.locale, this.eventTimeFormat);\n this._intlSlotLabel = intl(this.locale, this.slotLabelFormat);\n this._intlDayHeader = intl(this.locale, this.dayHeaderFormat);\n this._titleIntlRange = intlRange(this.locale, this.titleFormat);\n this._scrollable = writable(false);\n this._viewTitle = viewTitle(this);\n this._viewDates = viewDates(this);\n this._view = view(this);\n this._viewComponent = writable(undefined);\n this._viewClass = writable(undefined);\n // Interaction\n this._interaction = writable({});\n this._iEvents = writable([null, null]); // interaction events: [drag/resize, pointer]\n this._draggable = writable(noop);\n this._resizable = writable(noop);\n this._classes = writable(identity);\n this._iClass = writable(undefined);\n this._scroll = writable(undefined);\n\n // Let plugins create their private stores\n for (let plugin of plugins) {\n if ('createStores' in plugin) {\n plugin.createStores(this);\n }\n }\n\n if (input.view) {\n // Set initial view based on input\n this.view.set(input.view);\n }\n\n // Set options for each view\n let commonOpts = assign({}, options, input);\n parseOpts(commonOpts, this);\n let views = new Set([...Object.keys(options.views), ...Object.keys(input.views || {})]);\n for (let view of views) {\n let viewOpts = assign({}, options.views[view] || {}, input.views && input.views[view] || {});\n parseOpts(viewOpts, this);\n let opts = assign({}, commonOpts, viewOpts);\n // Change view component when view changes\n this.view.subscribe(newView => {\n if (newView === view) {\n this._viewComponent.set(opts.component);\n if (is_function(opts.viewDidMount)) {\n tick().then(() => opts.viewDidMount(this._view.get()));\n }\n }\n });\n for (let key of Object.keys(opts)) {\n if (this.hasOwnProperty(key) && key[0] !== '_') {\n let {set, _set, ...rest} = this[key];\n\n if (!_set) {\n // Original set\n _set = set;\n }\n\n this[key] = {\n // Set value in all views\n set: value => {opts[key] = value; set(value);},\n _set,\n ...rest\n };\n\n // Change value when view changes\n this.view.subscribe(newView => {\n if (newView === view) {\n _set(opts[key]);\n }\n });\n }\n }\n }\n }\n}\n\nfunction parseOpts(opts, state) {\n for (let key of Object.keys(opts)) {\n if (state.hasOwnProperty(key) && key[0] !== '_') {\n if (state[key].parse) {\n opts[key] = state[key].parse(opts[key]);\n }\n }\n }\n}\n\n/* packages/core/src/Buttons.svelte generated by Svelte v3.55.0 */\n\nfunction get_each_context$1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[23] = list[i];\n\treturn child_ctx;\n}\n\n// (38:4) {:else}\nfunction create_else_block$1(ctx) {\n\tlet button;\n\tlet t_value = /*$buttonText*/ ctx[5][/*button*/ ctx[23]] + \"\";\n\tlet t;\n\tlet button_class_value;\n\tlet mounted;\n\tlet dispose;\n\n\tfunction click_handler_1() {\n\t\treturn /*click_handler_1*/ ctx[20](/*button*/ ctx[23]);\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tbutton = element(\"button\");\n\t\t\tt = text(t_value);\n\n\t\t\tattr(button, \"class\", button_class_value = \"\" + (/*$theme*/ ctx[3].button + (/*$view*/ ctx[6] === /*button*/ ctx[23]\n\t\t\t? ' ' + /*$theme*/ ctx[3].active\n\t\t\t: '') + \" ec-\" + /*button*/ ctx[23]));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, button, anchor);\n\t\t\tappend(button, t);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(button, \"click\", click_handler_1);\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\t\t\tif (dirty & /*$buttonText, buttons*/ 33 && t_value !== (t_value = /*$buttonText*/ ctx[5][/*button*/ ctx[23]] + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty & /*$theme, $view, buttons*/ 73 && button_class_value !== (button_class_value = \"\" + (/*$theme*/ ctx[3].button + (/*$view*/ ctx[6] === /*button*/ ctx[23]\n\t\t\t? ' ' + /*$theme*/ ctx[3].active\n\t\t\t: '') + \" ec-\" + /*button*/ ctx[23]))) {\n\t\t\t\tattr(button, \"class\", button_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(button);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\n// (36:33) \nfunction create_if_block_4(ctx) {\n\tlet button;\n\tlet t_value = /*$buttonText*/ ctx[5][/*button*/ ctx[23]] + \"\";\n\tlet t;\n\tlet button_class_value;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tbutton = element(\"button\");\n\t\t\tt = text(t_value);\n\t\t\tattr(button, \"class\", button_class_value = \"\" + (/*$theme*/ ctx[3].button + \" ec-\" + /*button*/ ctx[23]));\n\t\t\tbutton.disabled = /*isToday*/ ctx[1];\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, button, anchor);\n\t\t\tappend(button, t);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(button, \"click\", /*click_handler*/ ctx[19]);\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$buttonText, buttons*/ 33 && t_value !== (t_value = /*$buttonText*/ ctx[5][/*button*/ ctx[23]] + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty & /*$theme, buttons*/ 9 && button_class_value !== (button_class_value = \"\" + (/*$theme*/ ctx[3].button + \" ec-\" + /*button*/ ctx[23]))) {\n\t\t\t\tattr(button, \"class\", button_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*isToday*/ 2) {\n\t\t\t\tbutton.disabled = /*isToday*/ ctx[1];\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(button);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\n// (34:32) \nfunction create_if_block_3(ctx) {\n\tlet button;\n\tlet i;\n\tlet i_class_value;\n\tlet button_class_value;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tbutton = element(\"button\");\n\t\t\ti = element(\"i\");\n\t\t\tattr(i, \"class\", i_class_value = \"\" + (/*$theme*/ ctx[3].icon + \" ec-\" + /*button*/ ctx[23]));\n\t\t\tattr(button, \"class\", button_class_value = \"\" + (/*$theme*/ ctx[3].button + \" ec-\" + /*button*/ ctx[23]));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, button, anchor);\n\t\t\tappend(button, i);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(button, \"click\", /*next*/ ctx[17]);\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$theme, buttons*/ 9 && i_class_value !== (i_class_value = \"\" + (/*$theme*/ ctx[3].icon + \" ec-\" + /*button*/ ctx[23]))) {\n\t\t\t\tattr(i, \"class\", i_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*$theme, buttons*/ 9 && button_class_value !== (button_class_value = \"\" + (/*$theme*/ ctx[3].button + \" ec-\" + /*button*/ ctx[23]))) {\n\t\t\t\tattr(button, \"class\", button_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(button);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\n// (32:31) \nfunction create_if_block_2(ctx) {\n\tlet button;\n\tlet i;\n\tlet i_class_value;\n\tlet button_class_value;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tbutton = element(\"button\");\n\t\t\ti = element(\"i\");\n\t\t\tattr(i, \"class\", i_class_value = \"\" + (/*$theme*/ ctx[3].icon + \" ec-\" + /*button*/ ctx[23]));\n\t\t\tattr(button, \"class\", button_class_value = \"\" + (/*$theme*/ ctx[3].button + \" ec-\" + /*button*/ ctx[23]));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, button, anchor);\n\t\t\tappend(button, i);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(button, \"click\", /*prev*/ ctx[16]);\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$theme, buttons*/ 9 && i_class_value !== (i_class_value = \"\" + (/*$theme*/ ctx[3].icon + \" ec-\" + /*button*/ ctx[23]))) {\n\t\t\t\tattr(i, \"class\", i_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*$theme, buttons*/ 9 && button_class_value !== (button_class_value = \"\" + (/*$theme*/ ctx[3].button + \" ec-\" + /*button*/ ctx[23]))) {\n\t\t\t\tattr(button, \"class\", button_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(button);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\n// (30:32) \nfunction create_if_block_1(ctx) {\n\tlet h2;\n\tlet t;\n\tlet h2_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\th2 = element(\"h2\");\n\t\t\tt = text(/*$_viewTitle*/ ctx[4]);\n\t\t\tattr(h2, \"class\", h2_class_value = /*$theme*/ ctx[3].title);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, h2, anchor);\n\t\t\tappend(h2, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$_viewTitle*/ 16) set_data(t, /*$_viewTitle*/ ctx[4]);\n\n\t\t\tif (dirty & /*$theme*/ 8 && h2_class_value !== (h2_class_value = /*$theme*/ ctx[3].title)) {\n\t\t\t\tattr(h2, \"class\", h2_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(h2);\n\t\t}\n\t};\n}\n\n// (29:4) {#if button == ''}\nfunction create_if_block$1(ctx) {\n\treturn { c: noop, m: noop, p: noop, d: noop };\n}\n\n// (28:0) {#each buttons as button}\nfunction create_each_block$1(ctx) {\n\tlet if_block_anchor;\n\n\tfunction select_block_type(ctx, dirty) {\n\t\tif (/*button*/ ctx[23] == '') return create_if_block$1;\n\t\tif (/*button*/ ctx[23] == 'title') return create_if_block_1;\n\t\tif (/*button*/ ctx[23] == 'prev') return create_if_block_2;\n\t\tif (/*button*/ ctx[23] === 'next') return create_if_block_3;\n\t\tif (/*button*/ ctx[23] === 'today') return create_if_block_4;\n\t\treturn create_else_block$1;\n\t}\n\n\tlet current_block_type = select_block_type(ctx);\n\tlet if_block = current_block_type(ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif_block.m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {\n\t\t\t\tif_block.p(ctx, dirty);\n\t\t\t} else {\n\t\t\t\tif_block.d(1);\n\t\t\t\tif_block = current_block_type(ctx);\n\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.c();\n\t\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif_block.d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\nfunction create_fragment$2(ctx) {\n\tlet each_1_anchor;\n\tlet each_value = /*buttons*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*buttons, $theme, $_viewTitle, prev, next, isToday, $date, cloneDate, today, $buttonText, $view*/ 229503) {\n\t\t\t\teach_value = /*buttons*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$1(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value.length;\n\t\t\t}\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\nfunction instance$2($$self, $$props, $$invalidate) {\n\tlet $duration;\n\tlet $date;\n\tlet $hiddenDays;\n\tlet $_currentRange;\n\tlet $theme;\n\tlet $_viewTitle;\n\tlet $buttonText;\n\tlet $view;\n\tlet { buttons } = $$props;\n\tlet { _currentRange, _viewTitle, buttonText, date, duration, hiddenDays, theme, view } = getContext('state');\n\tcomponent_subscribe($$self, _currentRange, value => $$invalidate(18, $_currentRange = value));\n\tcomponent_subscribe($$self, _viewTitle, value => $$invalidate(4, $_viewTitle = value));\n\tcomponent_subscribe($$self, buttonText, value => $$invalidate(5, $buttonText = value));\n\tcomponent_subscribe($$self, date, value => $$invalidate(2, $date = value));\n\tcomponent_subscribe($$self, duration, value => $$invalidate(21, $duration = value));\n\tcomponent_subscribe($$self, hiddenDays, value => $$invalidate(22, $hiddenDays = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(3, $theme = value));\n\tcomponent_subscribe($$self, view, value => $$invalidate(6, $view = value));\n\tlet today = setMidnight(createDate()), isToday;\n\n\tfunction prev() {\n\t\tlet d = subtractDuration($date, $duration);\n\n\t\tif ($hiddenDays.length && $hiddenDays.length < 7) {\n\t\t\twhile ($hiddenDays.includes(d.getUTCDay())) {\n\t\t\t\tsubtractDay(d);\n\t\t\t}\n\t\t}\n\n\t\tset_store_value(date, $date = d, $date);\n\t}\n\n\tfunction next() {\n\t\tset_store_value(date, $date = addDuration($date, $duration), $date);\n\t}\n\n\tconst click_handler = () => set_store_value(date, $date = cloneDate(today), $date);\n\tconst click_handler_1 = button => set_store_value(view, $view = button, $view);\n\n\t$$self.$$set = $$props => {\n\t\tif ('buttons' in $$props) $$invalidate(0, buttons = $$props.buttons);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$_currentRange*/ 262144) {\n\t\t\t$$invalidate(1, isToday = today >= $_currentRange.start && today < $_currentRange.end || null);\n\t\t}\n\t};\n\n\treturn [\n\t\tbuttons,\n\t\tisToday,\n\t\t$date,\n\t\t$theme,\n\t\t$_viewTitle,\n\t\t$buttonText,\n\t\t$view,\n\t\t_currentRange,\n\t\t_viewTitle,\n\t\tbuttonText,\n\t\tdate,\n\t\tduration,\n\t\thiddenDays,\n\t\ttheme,\n\t\tview,\n\t\ttoday,\n\t\tprev,\n\t\tnext,\n\t\t$_currentRange,\n\t\tclick_handler,\n\t\tclick_handler_1\n\t];\n}\n\nclass Buttons extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$2, create_fragment$2, safe_not_equal, { buttons: 0 });\n\t}\n}\n\n/* packages/core/src/Toolbar.svelte generated by Svelte v3.55.0 */\n\nfunction get_each_context(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[5] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[8] = list[i];\n\treturn child_ctx;\n}\n\n// (28:16) {:else}\nfunction create_else_block(ctx) {\n\tlet buttons;\n\tlet current;\n\tbuttons = new Buttons({ props: { buttons: /*buttons*/ ctx[8] } });\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(buttons.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(buttons, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst buttons_changes = {};\n\t\t\tif (dirty & /*sections*/ 1) buttons_changes.buttons = /*buttons*/ ctx[8];\n\t\t\tbuttons.$set(buttons_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(buttons.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(buttons.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(buttons, detaching);\n\t\t}\n\t};\n}\n\n// (24:16) {#if buttons.length > 1}\nfunction create_if_block(ctx) {\n\tlet div;\n\tlet buttons;\n\tlet div_class_value;\n\tlet current;\n\tbuttons = new Buttons({ props: { buttons: /*buttons*/ ctx[8] } });\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tcreate_component(buttons.$$.fragment);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[1].buttonGroup);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tmount_component(buttons, div, null);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst buttons_changes = {};\n\t\t\tif (dirty & /*sections*/ 1) buttons_changes.buttons = /*buttons*/ ctx[8];\n\t\t\tbuttons.$set(buttons_changes);\n\n\t\t\tif (!current || dirty & /*$theme*/ 2 && div_class_value !== (div_class_value = /*$theme*/ ctx[1].buttonGroup)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(buttons.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(buttons.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_component(buttons);\n\t\t}\n\t};\n}\n\n// (23:12) {#each sections[key] as buttons}\nfunction create_each_block_1(ctx) {\n\tlet current_block_type_index;\n\tlet if_block;\n\tlet if_block_anchor;\n\tlet current;\n\tconst if_block_creators = [create_if_block, create_else_block];\n\tconst if_blocks = [];\n\n\tfunction select_block_type(ctx, dirty) {\n\t\tif (/*buttons*/ ctx[8].length > 1) return 0;\n\t\treturn 1;\n\t}\n\n\tcurrent_block_type_index = select_block_type(ctx);\n\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif_blocks[current_block_type_index].m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tlet previous_block_index = current_block_type_index;\n\t\t\tcurrent_block_type_index = select_block_type(ctx);\n\n\t\t\tif (current_block_type_index === previous_block_index) {\n\t\t\t\tif_blocks[current_block_type_index].p(ctx, dirty);\n\t\t\t} else {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_blocks[previous_block_index], 1, 1, () => {\n\t\t\t\t\tif_blocks[previous_block_index] = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t\tif_block = if_blocks[current_block_type_index];\n\n\t\t\t\tif (!if_block) {\n\t\t\t\t\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t} else {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\t\t\t\t}\n\n\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif_blocks[current_block_type_index].d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\n// (21:4) {#each Object.keys(sections) as key}\nfunction create_each_block(ctx) {\n\tlet div;\n\tlet t;\n\tlet current;\n\tlet each_value_1 = /*sections*/ ctx[0][/*key*/ ctx[5]];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt = space();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t}\n\n\t\t\tappend(div, t);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$theme, sections, Object*/ 3) {\n\t\t\t\teach_value_1 = /*sections*/ ctx[0][/*key*/ ctx[5]];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_1(ctx, each_value_1, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div, t);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_1.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$1(ctx) {\n\tlet div;\n\tlet div_class_value;\n\tlet current;\n\tlet each_value = Object.keys(/*sections*/ ctx[0]);\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[1].toolbar);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*sections, Object, $theme*/ 3) {\n\t\t\t\teach_value = Object.keys(/*sections*/ ctx[0]);\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 2 && div_class_value !== (div_class_value = /*$theme*/ ctx[1].toolbar)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\nfunction instance$1($$self, $$props, $$invalidate) {\n\tlet $headerToolbar;\n\tlet $theme;\n\tlet { headerToolbar, theme } = getContext('state');\n\tcomponent_subscribe($$self, headerToolbar, value => $$invalidate(4, $headerToolbar = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\tlet sections = { start: [], center: [], end: [] };\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*sections, $headerToolbar*/ 17) {\n\t\t\t{\n\t\t\t\tfor (let key of Object.keys(sections)) {\n\t\t\t\t\t$$invalidate(0, sections[key] = $headerToolbar[key].split(' ').map(group => group.split(',')), sections);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [sections, $theme, headerToolbar, theme, $headerToolbar];\n}\n\nclass Toolbar extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$1, create_fragment$1, safe_not_equal, {});\n\t}\n}\n\n/* packages/core/src/Calendar.svelte generated by Svelte v3.55.0 */\n\nfunction create_fragment(ctx) {\n\tlet div;\n\tlet toolbar;\n\tlet t0;\n\tlet switch_instance0;\n\tlet t1;\n\tlet switch_instance1;\n\tlet div_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\ttoolbar = new Toolbar({});\n\tvar switch_value = /*$_viewComponent*/ ctx[5];\n\n\tfunction switch_props(ctx) {\n\t\treturn {};\n\t}\n\n\tif (switch_value) {\n\t\tswitch_instance0 = construct_svelte_component(switch_value, switch_props());\n\t}\n\n\tvar switch_value_1 = /*$_interaction*/ ctx[0].component;\n\n\tfunction switch_props_1(ctx) {\n\t\treturn {};\n\t}\n\n\tif (switch_value_1) {\n\t\tswitch_instance1 = construct_svelte_component(switch_value_1, switch_props_1());\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tcreate_component(toolbar.$$.fragment);\n\t\t\tt0 = space();\n\t\t\tif (switch_instance0) create_component(switch_instance0.$$.fragment);\n\t\t\tt1 = space();\n\t\t\tif (switch_instance1) create_component(switch_instance1.$$.fragment);\n\n\t\t\tattr(div, \"class\", div_class_value = \"\" + (/*$theme*/ ctx[1].calendar + (/*$_viewClass*/ ctx[2]\n\t\t\t? ' ' + /*$theme*/ ctx[1][/*$_viewClass*/ ctx[2]]\n\t\t\t: '') + (/*$_iClass*/ ctx[3]\n\t\t\t? ' ' + /*$theme*/ ctx[1][/*$_iClass*/ ctx[3]]\n\t\t\t: '')));\n\n\t\t\tset_style(div, \"height\", /*$height*/ ctx[4]);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tmount_component(toolbar, div, null);\n\t\t\tappend(div, t0);\n\t\t\tif (switch_instance0) mount_component(switch_instance0, div, null);\n\t\t\tappend(div, t1);\n\t\t\tif (switch_instance1) mount_component(switch_instance1, div, null);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(window, \"click\", /*handleClick*/ ctx[16], true);\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (switch_value !== (switch_value = /*$_viewComponent*/ ctx[5])) {\n\t\t\t\tif (switch_instance0) {\n\t\t\t\t\tgroup_outros();\n\t\t\t\t\tconst old_component = switch_instance0;\n\n\t\t\t\t\ttransition_out(old_component.$$.fragment, 1, 0, () => {\n\t\t\t\t\t\tdestroy_component(old_component, 1);\n\t\t\t\t\t});\n\n\t\t\t\t\tcheck_outros();\n\t\t\t\t}\n\n\t\t\t\tif (switch_value) {\n\t\t\t\t\tswitch_instance0 = construct_svelte_component(switch_value, switch_props());\n\t\t\t\t\tcreate_component(switch_instance0.$$.fragment);\n\t\t\t\t\ttransition_in(switch_instance0.$$.fragment, 1);\n\t\t\t\t\tmount_component(switch_instance0, div, t1);\n\t\t\t\t} else {\n\t\t\t\t\tswitch_instance0 = null;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (switch_value_1 !== (switch_value_1 = /*$_interaction*/ ctx[0].component)) {\n\t\t\t\tif (switch_instance1) {\n\t\t\t\t\tgroup_outros();\n\t\t\t\t\tconst old_component = switch_instance1;\n\n\t\t\t\t\ttransition_out(old_component.$$.fragment, 1, 0, () => {\n\t\t\t\t\t\tdestroy_component(old_component, 1);\n\t\t\t\t\t});\n\n\t\t\t\t\tcheck_outros();\n\t\t\t\t}\n\n\t\t\t\tif (switch_value_1) {\n\t\t\t\t\tswitch_instance1 = construct_svelte_component(switch_value_1, switch_props_1());\n\t\t\t\t\tcreate_component(switch_instance1.$$.fragment);\n\t\t\t\t\ttransition_in(switch_instance1.$$.fragment, 1);\n\t\t\t\t\tmount_component(switch_instance1, div, null);\n\t\t\t\t} else {\n\t\t\t\t\tswitch_instance1 = null;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme, $_viewClass, $_iClass*/ 14 && div_class_value !== (div_class_value = \"\" + (/*$theme*/ ctx[1].calendar + (/*$_viewClass*/ ctx[2]\n\t\t\t? ' ' + /*$theme*/ ctx[1][/*$_viewClass*/ ctx[2]]\n\t\t\t: '') + (/*$_iClass*/ ctx[3]\n\t\t\t? ' ' + /*$theme*/ ctx[1][/*$_iClass*/ ctx[3]]\n\t\t\t: '')))) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$height*/ 16) {\n\t\t\t\tset_style(div, \"height\", /*$height*/ ctx[4]);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(toolbar.$$.fragment, local);\n\t\t\tif (switch_instance0) transition_in(switch_instance0.$$.fragment, local);\n\t\t\tif (switch_instance1) transition_in(switch_instance1.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(toolbar.$$.fragment, local);\n\t\t\tif (switch_instance0) transition_out(switch_instance0.$$.fragment, local);\n\t\t\tif (switch_instance1) transition_out(switch_instance1.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_component(toolbar);\n\t\t\tif (switch_instance0) destroy_component(switch_instance0);\n\t\t\tif (switch_instance1) destroy_component(switch_instance1);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\nfunction instance($$self, $$props, $$invalidate) {\n\tlet $_ignoreClick;\n\tlet $events;\n\tlet $_events;\n\tlet $eventSources;\n\tlet $_interaction;\n\tlet $theme;\n\tlet $_viewClass;\n\tlet $_iClass;\n\tlet $height;\n\tlet $_viewComponent;\n\tlet { plugins = [] } = $$props;\n\tlet { options = {} } = $$props;\n\tlet state = new State(plugins, options);\n\tsetContext('state', state);\n\tlet { _viewComponent, _viewClass, _ignoreClick, _interaction, _iClass, _events, events, eventSources, height, theme } = state;\n\tcomponent_subscribe($$self, _viewComponent, value => $$invalidate(5, $_viewComponent = value));\n\tcomponent_subscribe($$self, _viewClass, value => $$invalidate(2, $_viewClass = value));\n\tcomponent_subscribe($$self, _ignoreClick, value => $$invalidate(29, $_ignoreClick = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(0, $_interaction = value));\n\tcomponent_subscribe($$self, _iClass, value => $$invalidate(3, $_iClass = value));\n\tcomponent_subscribe($$self, _events, value => $$invalidate(31, $_events = value));\n\tcomponent_subscribe($$self, events, value => $$invalidate(30, $events = value));\n\tcomponent_subscribe($$self, eventSources, value => $$invalidate(32, $eventSources = value));\n\tcomponent_subscribe($$self, height, value => $$invalidate(4, $height = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\n\tfunction setOption(name, value) {\n\t\tif (state.hasOwnProperty(name)) {\n\t\t\tif (state[name].parse) {\n\t\t\t\tvalue = state[name].parse(value);\n\t\t\t}\n\n\t\t\tstate[name].set(value);\n\t\t}\n\n\t\treturn this;\n\t}\n\n\tfunction getOption(name) {\n\t\tlet value = state.hasOwnProperty(name)\n\t\t? get(state[name])\n\t\t: undefined;\n\n\t\treturn value instanceof Date ? toLocalDate(value) : value;\n\t}\n\n\tfunction refetchEvents() {\n\t\tstate._fetchedRange.set({ start: undefined, end: undefined });\n\t\treturn this;\n\t}\n\n\tfunction getEvents() {\n\t\treturn get(state._events).map(toEventWithLocalDates);\n\t}\n\n\tfunction getEventById(id) {\n\t\tfor (let event of get(state._events)) {\n\t\t\tif (event.id == id) {\n\t\t\t\treturn toEventWithLocalDates(event);\n\t\t\t}\n\t\t}\n\n\t\treturn null;\n\t}\n\n\tfunction addEvent(event) {\n\t\tupdateEvents(events => events.concat(state.events.parse([event])));\n\t\treturn this;\n\t}\n\n\tfunction updateEvent(event) {\n\t\tupdateEvents(events => {\n\t\t\tfor (let e of events) {\n\t\t\t\tif (e.id == event.id) {\n\t\t\t\t\tassign(e, state.events.parse([event])[0]);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn events;\n\t\t});\n\n\t\treturn this;\n\t}\n\n\tfunction removeEventById(id) {\n\t\tupdateEvents(events => events.filter(event => event.id != id));\n\t\treturn this;\n\t}\n\n\tfunction getView() {\n\t\treturn toViewWithLocalDates(state._view.get());\n\t}\n\n\tfunction unselect() {\n\t\tif ($_interaction.action) {\n\t\t\t$_interaction.action.unselect();\n\t\t}\n\n\t\treturn this;\n\t}\n\n\tfunction updateEvents(func) {\n\t\tif ($eventSources.length) {\n\t\t\tset_store_value(_events, $_events = func($_events), $_events);\n\t\t} else {\n\t\t\tset_store_value(events, $events = func($events), $events);\n\t\t}\n\t}\n\n\tfunction handleClick(jsEvent) {\n\t\tif ($_ignoreClick) {\n\t\t\tignore(jsEvent);\n\t\t\tset_store_value(_ignoreClick, $_ignoreClick = false, $_ignoreClick);\n\t\t}\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('plugins' in $$props) $$invalidate(17, plugins = $$props.plugins);\n\t\tif ('options' in $$props) $$invalidate(18, options = $$props.options);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[0] & /*options*/ 262144) {\n\t\t\t// Reactively update options that did change\n\t\t\tfor (let [name, value] of diff(options)) {\n\t\t\t\tsetOption(name, value);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\t$_interaction,\n\t\t$theme,\n\t\t$_viewClass,\n\t\t$_iClass,\n\t\t$height,\n\t\t$_viewComponent,\n\t\t_viewComponent,\n\t\t_viewClass,\n\t\t_ignoreClick,\n\t\t_interaction,\n\t\t_iClass,\n\t\t_events,\n\t\tevents,\n\t\teventSources,\n\t\theight,\n\t\ttheme,\n\t\thandleClick,\n\t\tplugins,\n\t\toptions,\n\t\tsetOption,\n\t\tgetOption,\n\t\trefetchEvents,\n\t\tgetEvents,\n\t\tgetEventById,\n\t\taddEvent,\n\t\tupdateEvent,\n\t\tremoveEventById,\n\t\tgetView,\n\t\tunselect\n\t];\n}\n\nclass Calendar extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\n\t\tinit(\n\t\t\tthis,\n\t\t\toptions,\n\t\t\tinstance,\n\t\t\tcreate_fragment,\n\t\t\tsafe_not_equal,\n\t\t\t{\n\t\t\t\tplugins: 17,\n\t\t\t\toptions: 18,\n\t\t\t\tsetOption: 19,\n\t\t\t\tgetOption: 20,\n\t\t\t\trefetchEvents: 21,\n\t\t\t\tgetEvents: 22,\n\t\t\t\tgetEventById: 23,\n\t\t\t\taddEvent: 24,\n\t\t\t\tupdateEvent: 25,\n\t\t\t\tremoveEventById: 26,\n\t\t\t\tgetView: 27,\n\t\t\t\tunselect: 28\n\t\t\t},\n\t\t\tnull,\n\t\t\t[-1, -1]\n\t\t);\n\t}\n\n\tget setOption() {\n\t\treturn this.$$.ctx[19];\n\t}\n\n\tget getOption() {\n\t\treturn this.$$.ctx[20];\n\t}\n\n\tget refetchEvents() {\n\t\treturn this.$$.ctx[21];\n\t}\n\n\tget getEvents() {\n\t\treturn this.$$.ctx[22];\n\t}\n\n\tget getEventById() {\n\t\treturn this.$$.ctx[23];\n\t}\n\n\tget addEvent() {\n\t\treturn this.$$.ctx[24];\n\t}\n\n\tget updateEvent() {\n\t\treturn this.$$.ctx[25];\n\t}\n\n\tget removeEventById() {\n\t\treturn this.$$.ctx[26];\n\t}\n\n\tget getView() {\n\t\treturn this.$$.ctx[27];\n\t}\n\n\tget unselect() {\n\t\treturn this.$$.ctx[28];\n\t}\n}\n\nexport { Calendar as default };\n","import { SvelteComponent, init, safe_not_equal, element, space, attr, insert, append, noop, detach, destroy_each, component_subscribe, text, set_data, create_slot, listen, is_function, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, run_all, set_store_value, binding_callbacks, construct_svelte_component, create_component, mount_component, action_destroyer, group_outros, destroy_component, check_outros, stop_propagation, bubble, update_keyed_each, outro_and_destroy_block, empty } from 'svelte/internal';\nimport { getContext, tick, createEventDispatcher, onMount, afterUpdate, setContext } from 'svelte';\nimport { derived, writable } from 'svelte/store';\nimport { cloneDate, subtractDay, addDay, hasYScroll, setContent, maybeIgnore, toEventWithLocalDates, toViewWithLocalDates, createEventContent, height, ancestor, outsideEvent, rect, datesEqual, setMidnight, createDate, toLocalDate, toISOString, assign, createEventChunk, prepareEventChunks, intl } from '@event-calendar/common';\n\nfunction days(state) {\n return derived([state.date, state.firstDay, state.hiddenDays], ([$date, $firstDay, $hiddenDays]) => {\n let days = [];\n let day = cloneDate($date);\n let max = 7;\n // First day of week\n while (day.getUTCDay() !== $firstDay && max) {\n subtractDay(day);\n --max;\n }\n for (let i = 0; i < 7; ++i) {\n if (!$hiddenDays.includes(day.getUTCDay())) {\n days.push(cloneDate(day));\n }\n addDay(day);\n }\n\n return days;\n });\n}\n\nclass State {\n constructor(state) {\n this._days = days(state);\n this._hiddenEvents = writable({});\n this._popupDate = writable(null);\n this._popupChunks = writable([]);\n }\n}\n\n/* packages/day-grid/src/Header.svelte generated by Svelte v3.55.0 */\n\nfunction get_each_context$4(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[8] = list[i];\n\treturn child_ctx;\n}\n\n// (10:8) {#each $_days as day}\nfunction create_each_block$4(ctx) {\n\tlet div;\n\tlet t_value = /*$_intlDayHeader*/ ctx[3].format(/*day*/ ctx[8]) + \"\";\n\tlet t;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt = text(t_value);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[0].day);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$_intlDayHeader, $_days*/ 12 && t_value !== (t_value = /*$_intlDayHeader*/ ctx[3].format(/*day*/ ctx[8]) + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty & /*$theme*/ 1 && div_class_value !== (div_class_value = /*$theme*/ ctx[0].day)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\nfunction create_fragment$6(ctx) {\n\tlet div2;\n\tlet div0;\n\tlet div0_class_value;\n\tlet t;\n\tlet div1;\n\tlet div1_class_value;\n\tlet div2_class_value;\n\tlet each_value = /*$_days*/ ctx[2];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$4(get_each_context$4(ctx, each_value, i));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tdiv2 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt = space();\n\t\t\tdiv1 = element(\"div\");\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[0].days);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[0].hiddenScroll);\n\n\t\t\tattr(div2, \"class\", div2_class_value = \"\" + (/*$theme*/ ctx[0].header + (/*$_scrollable*/ ctx[1]\n\t\t\t? ' ' + /*$theme*/ ctx[0].withScroll\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div2, anchor);\n\t\t\tappend(div2, div0);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div0, null);\n\t\t\t}\n\n\t\t\tappend(div2, t);\n\t\t\tappend(div2, div1);\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*$theme, $_intlDayHeader, $_days*/ 13) {\n\t\t\t\teach_value = /*$_days*/ ctx[2];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$4(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$4(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(div0, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value.length;\n\t\t\t}\n\n\t\t\tif (dirty & /*$theme*/ 1 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[0].days)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*$theme*/ 1 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[0].hiddenScroll)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*$theme, $_scrollable*/ 3 && div2_class_value !== (div2_class_value = \"\" + (/*$theme*/ ctx[0].header + (/*$_scrollable*/ ctx[1]\n\t\t\t? ' ' + /*$theme*/ ctx[0].withScroll\n\t\t\t: '')))) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div2);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\nfunction instance$6($$self, $$props, $$invalidate) {\n\tlet $theme;\n\tlet $_scrollable;\n\tlet $_days;\n\tlet $_intlDayHeader;\n\tlet { theme, _intlDayHeader, _scrollable } = getContext('state');\n\tcomponent_subscribe($$self, theme, value => $$invalidate(0, $theme = value));\n\tcomponent_subscribe($$self, _intlDayHeader, value => $$invalidate(3, $_intlDayHeader = value));\n\tcomponent_subscribe($$self, _scrollable, value => $$invalidate(1, $_scrollable = value));\n\tlet { _days } = getContext('view-state');\n\tcomponent_subscribe($$self, _days, value => $$invalidate(2, $_days = value));\n\n\treturn [\n\t\t$theme,\n\t\t$_scrollable,\n\t\t$_days,\n\t\t$_intlDayHeader,\n\t\ttheme,\n\t\t_intlDayHeader,\n\t\t_scrollable,\n\t\t_days\n\t];\n}\n\nclass Header extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$6, create_fragment$6, safe_not_equal, {});\n\t}\n}\n\n/* packages/day-grid/src/Body.svelte generated by Svelte v3.55.0 */\n\nfunction create_fragment$5(ctx) {\n\tlet div1;\n\tlet div0;\n\tlet div0_class_value;\n\tlet div1_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tconst default_slot_template = /*#slots*/ ctx[12].default;\n\tconst default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[11], null);\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tif (default_slot) default_slot.c();\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[1].content);\n\n\t\t\tattr(div1, \"class\", div1_class_value = \"\" + (/*$theme*/ ctx[1].body + (/*$dayMaxEvents*/ ctx[2] === true\n\t\t\t? ' ' + /*$theme*/ ctx[1].uniform\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tappend(div1, div0);\n\n\t\t\tif (default_slot) {\n\t\t\t\tdefault_slot.m(div0, null);\n\t\t\t}\n\n\t\t\t/*div1_binding*/ ctx[13](div1);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(window, \"resize\", /*recheckScrollable*/ ctx[9]),\n\t\t\t\t\tlisten(div1, \"scroll\", function () {\n\t\t\t\t\t\tif (is_function(/*$_scroll*/ ctx[3])) /*$_scroll*/ ctx[3].apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, [dirty]) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (default_slot) {\n\t\t\t\tif (default_slot.p && (!current || dirty & /*$$scope*/ 2048)) {\n\t\t\t\t\tupdate_slot_base(\n\t\t\t\t\t\tdefault_slot,\n\t\t\t\t\t\tdefault_slot_template,\n\t\t\t\t\t\tctx,\n\t\t\t\t\t\t/*$$scope*/ ctx[11],\n\t\t\t\t\t\t!current\n\t\t\t\t\t\t? get_all_dirty_from_scope(/*$$scope*/ ctx[11])\n\t\t\t\t\t\t: get_slot_changes(default_slot_template, /*$$scope*/ ctx[11], dirty, null),\n\t\t\t\t\t\tnull\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 2 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[1].content)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme, $dayMaxEvents*/ 6 && div1_class_value !== (div1_class_value = \"\" + (/*$theme*/ ctx[1].body + (/*$dayMaxEvents*/ ctx[2] === true\n\t\t\t? ' ' + /*$theme*/ ctx[1].uniform\n\t\t\t: '')))) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(default_slot, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(default_slot, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (default_slot) default_slot.d(detaching);\n\t\t\t/*div1_binding*/ ctx[13](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$5($$self, $$props, $$invalidate) {\n\tlet $_scrollable;\n\tlet $_events;\n\tlet $theme;\n\tlet $dayMaxEvents;\n\tlet $_scroll;\n\tlet { $$slots: slots = {}, $$scope } = $$props;\n\tlet { dayMaxEvents, _events, _scrollable, _scroll, theme } = getContext('state');\n\tcomponent_subscribe($$self, dayMaxEvents, value => $$invalidate(2, $dayMaxEvents = value));\n\tcomponent_subscribe($$self, _events, value => $$invalidate(10, $_events = value));\n\tcomponent_subscribe($$self, _scrollable, value => $$invalidate(14, $_scrollable = value));\n\tcomponent_subscribe($$self, _scroll, value => $$invalidate(3, $_scroll = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\tlet el;\n\n\tfunction recheckScrollable() {\n\t\tset_store_value(_scrollable, $_scrollable = hasYScroll(el), $_scrollable);\n\t}\n\n\tfunction div1_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(0, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('$$scope' in $$props) $$invalidate(11, $$scope = $$props.$$scope);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*el, $_events*/ 1025) {\n\t\t\tif (el && $_events) {\n\t\t\t\ttick().then(recheckScrollable);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tel,\n\t\t$theme,\n\t\t$dayMaxEvents,\n\t\t$_scroll,\n\t\tdayMaxEvents,\n\t\t_events,\n\t\t_scrollable,\n\t\t_scroll,\n\t\ttheme,\n\t\trecheckScrollable,\n\t\t$_events,\n\t\t$$scope,\n\t\tslots,\n\t\tdiv1_binding\n\t];\n}\n\nclass Body extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$5, create_fragment$5, safe_not_equal, {});\n\t}\n}\n\n/* packages/day-grid/src/Event.svelte generated by Svelte v3.55.0 */\n\nfunction create_fragment$4(ctx) {\n\tlet div1;\n\tlet div0;\n\tlet div0_class_value;\n\tlet setContent_action;\n\tlet t;\n\tlet switch_instance;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tvar switch_value = /*$_interaction*/ ctx[7].resizer;\n\n\tfunction switch_props(ctx) {\n\t\treturn { props: { event: /*event*/ ctx[0] } };\n\t}\n\n\tif (switch_value) {\n\t\tswitch_instance = construct_svelte_component(switch_value, switch_props(ctx));\n\t\tswitch_instance.$on(\"pointerdown\", /*createDragHandler*/ ctx[29](true));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt = space();\n\t\t\tif (switch_instance) create_component(switch_instance.$$.fragment);\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[1].eventBody);\n\t\t\tattr(div1, \"class\", /*classes*/ ctx[3]);\n\t\t\tattr(div1, \"style\", /*style*/ ctx[4]);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tappend(div1, div0);\n\t\t\tappend(div1, t);\n\t\t\tif (switch_instance) mount_component(switch_instance, div1, null);\n\t\t\t/*div1_binding*/ ctx[44](div1);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(window, \"resize\", /*reposition*/ ctx[30]),\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, div0, /*content*/ ctx[5])),\n\t\t\t\t\tlisten(div1, \"click\", function () {\n\t\t\t\t\t\tif (is_function(maybeIgnore(/*createHandler*/ ctx[28](/*$eventClick*/ ctx[8], /*display*/ ctx[6])))) maybeIgnore(/*createHandler*/ ctx[28](/*$eventClick*/ ctx[8], /*display*/ ctx[6])).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"mouseenter\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[28](/*$eventMouseEnter*/ ctx[9], /*display*/ ctx[6]))) /*createHandler*/ ctx[28](/*$eventMouseEnter*/ ctx[9], /*display*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"mouseleave\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[28](/*$eventMouseLeave*/ ctx[10], /*display*/ ctx[6]))) /*createHandler*/ ctx[28](/*$eventMouseLeave*/ ctx[10], /*display*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"pointerdown\", function () {\n\t\t\t\t\t\tif (is_function(/*display*/ ctx[6] === 'auto' && /*$_draggable*/ ctx[11](/*event*/ ctx[0])\n\t\t\t\t\t\t? /*createDragHandler*/ ctx[29]()\n\t\t\t\t\t\t: undefined)) (/*display*/ ctx[6] === 'auto' && /*$_draggable*/ ctx[11](/*event*/ ctx[0])\n\t\t\t\t\t\t? /*createDragHandler*/ ctx[29]()\n\t\t\t\t\t\t: undefined).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[1].eventBody)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty[0] & /*content*/ 32) setContent_action.update.call(null, /*content*/ ctx[5]);\n\t\t\tconst switch_instance_changes = {};\n\t\t\tif (dirty[0] & /*event*/ 1) switch_instance_changes.event = /*event*/ ctx[0];\n\n\t\t\tif (switch_value !== (switch_value = /*$_interaction*/ ctx[7].resizer)) {\n\t\t\t\tif (switch_instance) {\n\t\t\t\t\tgroup_outros();\n\t\t\t\t\tconst old_component = switch_instance;\n\n\t\t\t\t\ttransition_out(old_component.$$.fragment, 1, 0, () => {\n\t\t\t\t\t\tdestroy_component(old_component, 1);\n\t\t\t\t\t});\n\n\t\t\t\t\tcheck_outros();\n\t\t\t\t}\n\n\t\t\t\tif (switch_value) {\n\t\t\t\t\tswitch_instance = construct_svelte_component(switch_value, switch_props(ctx));\n\t\t\t\t\tswitch_instance.$on(\"pointerdown\", /*createDragHandler*/ ctx[29](true));\n\t\t\t\t\tcreate_component(switch_instance.$$.fragment);\n\t\t\t\t\ttransition_in(switch_instance.$$.fragment, 1);\n\t\t\t\t\tmount_component(switch_instance, div1, null);\n\t\t\t\t} else {\n\t\t\t\t\tswitch_instance = null;\n\t\t\t\t}\n\t\t\t} else if (switch_value) {\n\t\t\t\tswitch_instance.$set(switch_instance_changes);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*classes*/ 8) {\n\t\t\t\tattr(div1, \"class\", /*classes*/ ctx[3]);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*style*/ 16) {\n\t\t\t\tattr(div1, \"style\", /*style*/ ctx[4]);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\tif (switch_instance) transition_in(switch_instance.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\tif (switch_instance) transition_out(switch_instance.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (switch_instance) destroy_component(switch_instance);\n\t\t\t/*div1_binding*/ ctx[44](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$4($$self, $$props, $$invalidate) {\n\tlet $_hiddenEvents;\n\tlet $dayMaxEvents;\n\tlet $_interaction;\n\tlet $_view;\n\tlet $eventDidMount;\n\tlet $_intlEventTime;\n\tlet $theme;\n\tlet $eventContent;\n\tlet $displayEventEnd;\n\tlet $_classes;\n\tlet $eventColor;\n\tlet $eventBackgroundColor;\n\tlet $eventClick;\n\tlet $eventMouseEnter;\n\tlet $eventMouseLeave;\n\tlet $_draggable;\n\tlet { chunk } = $$props;\n\tlet { longChunks = {} } = $$props;\n\tlet { inPopup = false } = $$props;\n\tlet { dayMaxEvents, displayEventEnd, eventBackgroundColor, eventClick, eventColor, eventContent, eventDidMount, eventMouseEnter, eventMouseLeave, theme, _view, _intlEventTime, _interaction, _classes, _draggable } = getContext('state');\n\tcomponent_subscribe($$self, dayMaxEvents, value => $$invalidate(46, $dayMaxEvents = value));\n\tcomponent_subscribe($$self, displayEventEnd, value => $$invalidate(40, $displayEventEnd = value));\n\tcomponent_subscribe($$self, eventBackgroundColor, value => $$invalidate(43, $eventBackgroundColor = value));\n\tcomponent_subscribe($$self, eventClick, value => $$invalidate(8, $eventClick = value));\n\tcomponent_subscribe($$self, eventColor, value => $$invalidate(42, $eventColor = value));\n\tcomponent_subscribe($$self, eventContent, value => $$invalidate(39, $eventContent = value));\n\tcomponent_subscribe($$self, eventDidMount, value => $$invalidate(47, $eventDidMount = value));\n\tcomponent_subscribe($$self, eventMouseEnter, value => $$invalidate(9, $eventMouseEnter = value));\n\tcomponent_subscribe($$self, eventMouseLeave, value => $$invalidate(10, $eventMouseLeave = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(37, $_view = value));\n\tcomponent_subscribe($$self, _intlEventTime, value => $$invalidate(38, $_intlEventTime = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(7, $_interaction = value));\n\tcomponent_subscribe($$self, _classes, value => $$invalidate(41, $_classes = value));\n\tcomponent_subscribe($$self, _draggable, value => $$invalidate(11, $_draggable = value));\n\tlet { _hiddenEvents } = getContext('view-state');\n\tcomponent_subscribe($$self, _hiddenEvents, value => $$invalidate(36, $_hiddenEvents = value));\n\tcreateEventDispatcher();\n\tlet el;\n\tlet event;\n\tlet classes;\n\tlet style;\n\tlet content;\n\tlet timeText;\n\tlet margin = 1;\n\tlet hidden = false;\n\tlet display;\n\n\tonMount(() => {\n\t\tif (is_function($eventDidMount)) {\n\t\t\t$eventDidMount({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\ttimeText,\n\t\t\t\tel,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t});\n\t\t}\n\t});\n\n\tafterUpdate(reposition);\n\n\tfunction createHandler(fn, display) {\n\t\treturn display !== 'preview' && is_function(fn)\n\t\t? jsEvent => fn({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\tel,\n\t\t\t\tjsEvent,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t})\n\t\t: undefined;\n\t}\n\n\tfunction createDragHandler(resize) {\n\t\treturn jsEvent => $_interaction.action.dragDayGrid(event, el, jsEvent, inPopup, resize);\n\t}\n\n\tfunction reposition() {\n\t\tif (!el || display === 'preview' || inPopup) {\n\t\t\treturn;\n\t\t}\n\n\t\t$$invalidate(31, chunk.top = 0, chunk);\n\n\t\tif (chunk.prev) {\n\t\t\tif (chunk.prev.bottom === undefined) {\n\t\t\t\t// 'prev' is not ready yet, try again later\n\t\t\t\ttick().then(reposition);\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$$invalidate(31, chunk.top = chunk.prev.bottom + 1, chunk);\n\t\t}\n\n\t\t$$invalidate(31, chunk.bottom = chunk.top + height(el), chunk);\n\t\tlet m = 1;\n\t\tlet key = chunk.date.getTime();\n\n\t\tif (longChunks[key]) {\n\t\t\tfor (let longChunk of longChunks[key]) {\n\t\t\t\tif (longChunk.bottom === undefined) {\n\t\t\t\t\t// 'longChunk' is not ready yet, try again later\n\t\t\t\t\ttick().then(reposition);\n\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (chunk.top < longChunk.bottom && chunk.bottom > longChunk.top) {\n\t\t\t\t\tlet offset = longChunk.bottom - chunk.top + 1;\n\t\t\t\t\tm += offset;\n\t\t\t\t\t$$invalidate(31, chunk.top += offset, chunk);\n\t\t\t\t\t$$invalidate(31, chunk.bottom += offset, chunk);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t$$invalidate(34, margin = m);\n\n\t\tif ($dayMaxEvents === true) {\n\t\t\thide();\n\t\t} else {\n\t\t\t$$invalidate(35, hidden = false);\n\t\t}\n\t}\n\n\tfunction hide() {\n\t\tif (!el) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet dayEl = ancestor(el, 2);\n\t\tlet h = height(dayEl) - height(dayEl.firstElementChild) - footHeight(dayEl);\n\t\t$$invalidate(35, hidden = chunk.bottom > h);\n\t\tcloneDate(chunk.date);\n\t\tlet update = false;\n\n\t\t// Hide or show the event throughout all days\n\t\tfor (let date of chunk.dates) {\n\t\t\tlet hiddenEvents = $_hiddenEvents[date.getTime()];\n\n\t\t\tif (hiddenEvents) {\n\t\t\t\tlet size = hiddenEvents.size;\n\n\t\t\t\tif (hidden) {\n\t\t\t\t\thiddenEvents.add(chunk.event);\n\t\t\t\t} else {\n\t\t\t\t\thiddenEvents.delete(chunk.event);\n\t\t\t\t}\n\n\t\t\t\tif (size !== hiddenEvents.size) {\n\t\t\t\t\tupdate = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (update) {\n\t\t\t_hiddenEvents.set($_hiddenEvents);\n\t\t}\n\t}\n\n\tfunction footHeight(dayEl) {\n\t\tlet h = 0;\n\n\t\tfor (let i = 0; i < chunk.days; ++i) {\n\t\t\th = Math.max(h, height(dayEl.lastElementChild));\n\t\t\tdayEl = dayEl.nextElementSibling;\n\n\t\t\tif (!dayEl) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\treturn h;\n\t}\n\n\tfunction div1_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(2, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('chunk' in $$props) $$invalidate(31, chunk = $$props.chunk);\n\t\tif ('longChunks' in $$props) $$invalidate(32, longChunks = $$props.longChunks);\n\t\tif ('inPopup' in $$props) $$invalidate(33, inPopup = $$props.inPopup);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[1] & /*chunk*/ 1) {\n\t\t\t$$invalidate(0, event = chunk.event);\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*event, style, $theme*/ 19 | $$self.$$.dirty[1] & /*$eventBackgroundColor, $eventColor, chunk, margin, hidden, $_classes*/ 7193) {\n\t\t\t{\n\t\t\t\t$$invalidate(6, display = event.display);\n\n\t\t\t\t// Class & Style\n\t\t\t\tlet bgColor = event.backgroundColor || $eventBackgroundColor || $eventColor;\n\n\t\t\t\t$$invalidate(4, style = `width:calc(${chunk.days * 100}% + ${(chunk.days - 1) * 7}px);` + `margin-top:${margin}px;`);\n\n\t\t\t\tif (bgColor) {\n\t\t\t\t\t$$invalidate(4, style += `background-color:${bgColor};`);\n\t\t\t\t}\n\n\t\t\t\tif (hidden) {\n\t\t\t\t\t$$invalidate(4, style += 'visibility:hidden;');\n\t\t\t\t}\n\n\t\t\t\t$$invalidate(3, classes = $_classes($theme.event, event));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*$theme*/ 2 | $$self.$$.dirty[1] & /*chunk, $displayEventEnd, $eventContent, $_intlEventTime, $_view*/ 961) {\n\t\t\t// Content\n\t\t\t$$invalidate(5, [timeText, content] = createEventContent(chunk, $displayEventEnd, $eventContent, $theme, $_intlEventTime, $_view), content);\n\t\t}\n\n\t\tif ($$self.$$.dirty[1] & /*$_hiddenEvents*/ 32) {\n\t\t\tif ($_hiddenEvents) {\n\t\t\t\ttick().then(reposition);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tevent,\n\t\t$theme,\n\t\tel,\n\t\tclasses,\n\t\tstyle,\n\t\tcontent,\n\t\tdisplay,\n\t\t$_interaction,\n\t\t$eventClick,\n\t\t$eventMouseEnter,\n\t\t$eventMouseLeave,\n\t\t$_draggable,\n\t\tdayMaxEvents,\n\t\tdisplayEventEnd,\n\t\teventBackgroundColor,\n\t\teventClick,\n\t\teventColor,\n\t\teventContent,\n\t\teventDidMount,\n\t\teventMouseEnter,\n\t\teventMouseLeave,\n\t\ttheme,\n\t\t_view,\n\t\t_intlEventTime,\n\t\t_interaction,\n\t\t_classes,\n\t\t_draggable,\n\t\t_hiddenEvents,\n\t\tcreateHandler,\n\t\tcreateDragHandler,\n\t\treposition,\n\t\tchunk,\n\t\tlongChunks,\n\t\tinPopup,\n\t\tmargin,\n\t\thidden,\n\t\t$_hiddenEvents,\n\t\t$_view,\n\t\t$_intlEventTime,\n\t\t$eventContent,\n\t\t$displayEventEnd,\n\t\t$_classes,\n\t\t$eventColor,\n\t\t$eventBackgroundColor,\n\t\tdiv1_binding\n\t];\n}\n\nclass Event extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$4, create_fragment$4, safe_not_equal, { chunk: 31, longChunks: 32, inPopup: 33 }, null, [-1, -1]);\n\t}\n}\n\n/* packages/day-grid/src/Popup.svelte generated by Svelte v3.55.0 */\n\nfunction get_each_context$3(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[16] = list[i];\n\treturn child_ctx;\n}\n\n// (56:8) {#each $_popupChunks as chunk}\nfunction create_each_block$3(ctx) {\n\tlet event;\n\tlet current;\n\n\tevent = new Event({\n\t\t\tprops: { chunk: /*chunk*/ ctx[16], inPopup: true }\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty & /*$_popupChunks*/ 32) event_changes.chunk = /*chunk*/ ctx[16];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$3(ctx) {\n\tlet div2;\n\tlet div0;\n\tlet t0_value = /*$_intlDayPopover*/ ctx[4].format(/*$_popupDate*/ ctx[2]) + \"\";\n\tlet t0;\n\tlet t1;\n\tlet a;\n\tlet div0_class_value;\n\tlet t3;\n\tlet div1;\n\tlet div1_class_value;\n\tlet div2_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet each_value = /*$_popupChunks*/ ctx[5];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv2 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt0 = text(t0_value);\n\t\t\tt1 = space();\n\t\t\ta = element(\"a\");\n\t\t\ta.textContent = \"×\";\n\t\t\tt3 = space();\n\t\t\tdiv1 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[3].dayHead);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[3].events);\n\t\t\tattr(div2, \"class\", div2_class_value = /*$theme*/ ctx[3].popup);\n\t\t\tattr(div2, \"style\", /*style*/ ctx[1]);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div2, anchor);\n\t\t\tappend(div2, div0);\n\t\t\tappend(div0, t0);\n\t\t\tappend(div0, t1);\n\t\t\tappend(div0, a);\n\t\t\tappend(div2, t3);\n\t\t\tappend(div2, div1);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t}\n\n\t\t\t/*div2_binding*/ ctx[14](div2);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(a, \"click\", stop_propagation(/*close*/ ctx[11])),\n\t\t\t\t\taction_destroyer(outsideEvent.call(null, div2, 'pointerdown')),\n\t\t\t\t\tlisten(div2, \"pointerdown\", stop_propagation(/*pointerdown_handler*/ ctx[13])),\n\t\t\t\t\tlisten(div2, \"pointerdownoutside\", /*handlePointerDownOutside*/ ctx[12])\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif ((!current || dirty & /*$_intlDayPopover, $_popupDate*/ 20) && t0_value !== (t0_value = /*$_intlDayPopover*/ ctx[4].format(/*$_popupDate*/ ctx[2]) + \"\")) set_data(t0, t0_value);\n\n\t\t\tif (!current || dirty & /*$theme*/ 8 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[3].dayHead)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*$_popupChunks*/ 32) {\n\t\t\t\teach_value = /*$_popupChunks*/ ctx[5];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$3(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$3(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 8 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[3].events)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 8 && div2_class_value !== (div2_class_value = /*$theme*/ ctx[3].popup)) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*style*/ 2) {\n\t\t\t\tattr(div2, \"style\", /*style*/ ctx[1]);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div2);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\t/*div2_binding*/ ctx[14](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$3($$self, $$props, $$invalidate) {\n\tlet $_ignoreClick;\n\tlet $_popupDate;\n\tlet $theme;\n\tlet $_intlDayPopover;\n\tlet $_popupChunks;\n\tlet { theme, _ignoreClick, _intlDayPopover } = getContext('state');\n\tcomponent_subscribe($$self, theme, value => $$invalidate(3, $theme = value));\n\tcomponent_subscribe($$self, _ignoreClick, value => $$invalidate(15, $_ignoreClick = value));\n\tcomponent_subscribe($$self, _intlDayPopover, value => $$invalidate(4, $_intlDayPopover = value));\n\tlet { _popupDate, _popupChunks } = getContext('view-state');\n\tcomponent_subscribe($$self, _popupDate, value => $$invalidate(2, $_popupDate = value));\n\tcomponent_subscribe($$self, _popupChunks, value => $$invalidate(5, $_popupChunks = value));\n\tlet el;\n\tlet style = '';\n\n\tonMount(() => {\n\t\tlet dayEl = ancestor(el, 1);\n\t\tlet bodyEl = ancestor(dayEl, 3);\n\t\tlet popupRect = rect(el);\n\t\tlet bodyRect = rect(bodyEl);\n\n\t\tif (!dayEl.previousElementSibling) {\n\t\t\t$$invalidate(1, style = 'left:0;');\n\t\t} else if (!dayEl.nextElementSibling) {\n\t\t\t$$invalidate(1, style = 'right:0;');\n\t\t} else {\n\t\t\tlet left = (dayEl.offsetWidth - popupRect.width) / 2;\n\t\t\t$$invalidate(1, style = `left:${left}px;`);\n\t\t}\n\n\t\tlet top = (dayEl.offsetHeight - popupRect.height) / 2;\n\n\t\tif (popupRect.top + top < bodyRect.top) {\n\t\t\ttop = bodyRect.top - popupRect.top;\n\t\t} else if (popupRect.bottom + top > bodyRect.bottom) {\n\t\t\ttop = bodyRect.bottom - popupRect.bottom;\n\t\t}\n\n\t\t$$invalidate(1, style += `top:${top}px;`);\n\t});\n\n\tfunction close(e) {\n\t\tset_store_value(_popupDate, $_popupDate = null, $_popupDate);\n\t}\n\n\tfunction handlePointerDownOutside(e) {\n\t\tclose();\n\t\tset_store_value(_ignoreClick, $_ignoreClick = true, $_ignoreClick);\n\t}\n\n\tfunction pointerdown_handler(event) {\n\t\tbubble.call(this, $$self, event);\n\t}\n\n\tfunction div2_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(0, el);\n\t\t});\n\t}\n\n\treturn [\n\t\tel,\n\t\tstyle,\n\t\t$_popupDate,\n\t\t$theme,\n\t\t$_intlDayPopover,\n\t\t$_popupChunks,\n\t\ttheme,\n\t\t_ignoreClick,\n\t\t_intlDayPopover,\n\t\t_popupDate,\n\t\t_popupChunks,\n\t\tclose,\n\t\thandlePointerDownOutside,\n\t\tpointerdown_handler,\n\t\tdiv2_binding\n\t];\n}\n\nclass Popup extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$3, create_fragment$3, safe_not_equal, {});\n\t}\n}\n\n/* packages/day-grid/src/Day.svelte generated by Svelte v3.55.0 */\n\nfunction get_each_context$2(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[43] = list[i];\n\treturn child_ctx;\n}\n\n// (138:4) {#if iChunks[1] && datesEqual(iChunks[1].date, date)}\nfunction create_if_block_3(ctx) {\n\tlet div;\n\tlet event;\n\tlet div_class_value;\n\tlet current;\n\tevent = new Event({ props: { chunk: /*iChunks*/ ctx[2][1] } });\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tcreate_component(event.$$.fragment);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[11].events);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tmount_component(event, div, null);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*iChunks*/ 4) event_changes.chunk = /*iChunks*/ ctx[2][1];\n\t\t\tevent.$set(event_changes);\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2048 && div_class_value !== (div_class_value = /*$theme*/ ctx[11].events)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_component(event);\n\t\t}\n\t};\n}\n\n// (144:4) {#if iChunks[0] && datesEqual(iChunks[0].date, date)}\nfunction create_if_block_2(ctx) {\n\tlet div;\n\tlet event;\n\tlet div_class_value;\n\tlet current;\n\tevent = new Event({ props: { chunk: /*iChunks*/ ctx[2][0] } });\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tcreate_component(event.$$.fragment);\n\t\t\tattr(div, \"class\", div_class_value = \"\" + (/*$theme*/ ctx[11].events + \" \" + /*$theme*/ ctx[11].preview));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tmount_component(event, div, null);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*iChunks*/ 4) event_changes.chunk = /*iChunks*/ ctx[2][0];\n\t\t\tevent.$set(event_changes);\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2048 && div_class_value !== (div_class_value = \"\" + (/*$theme*/ ctx[11].events + \" \" + /*$theme*/ ctx[11].preview))) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_component(event);\n\t\t}\n\t};\n}\n\n// (150:8) {#each dayChunks as chunk (chunk.event)}\nfunction create_each_block$2(key_1, ctx) {\n\tlet first;\n\tlet event;\n\tlet current;\n\n\tevent = new Event({\n\t\t\tprops: {\n\t\t\t\tchunk: /*chunk*/ ctx[43],\n\t\t\t\tlongChunks: /*longChunks*/ ctx[1]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tkey: key_1,\n\t\tfirst: null,\n\t\tc() {\n\t\t\tfirst = empty();\n\t\t\tcreate_component(event.$$.fragment);\n\t\t\tthis.first = first;\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, first, anchor);\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*dayChunks*/ 8) event_changes.chunk = /*chunk*/ ctx[43];\n\t\t\tif (dirty[0] & /*longChunks*/ 2) event_changes.longChunks = /*longChunks*/ ctx[1];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(first);\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\n// (154:4) {#if $_popupDate && datesEqual(date, $_popupDate)}\nfunction create_if_block_1(ctx) {\n\tlet popup;\n\tlet current;\n\tpopup = new Popup({});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(popup.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(popup, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(popup.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(popup.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(popup, detaching);\n\t\t}\n\t};\n}\n\n// (158:8) {#if hiddenEvents.size}\nfunction create_if_block(ctx) {\n\tlet a;\n\tlet setContent_action;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\ta = element(\"a\");\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, a, anchor);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(a, \"click\", stop_propagation(/*showMore*/ ctx[28])),\n\t\t\t\t\tlisten(a, \"pointerdown\", stop_propagation(/*pointerdown_handler*/ ctx[35])),\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, a, /*moreLink*/ ctx[5]))\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty[0] & /*moreLink*/ 32) setContent_action.update.call(null, /*moreLink*/ ctx[5]);\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(a);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction create_fragment$2(ctx) {\n\tlet div3;\n\tlet div0;\n\tlet t0_value = /*date*/ ctx[0].getUTCDate() + \"\";\n\tlet t0;\n\tlet div0_class_value;\n\tlet t1;\n\tlet show_if_2 = /*iChunks*/ ctx[2][1] && datesEqual(/*iChunks*/ ctx[2][1].date, /*date*/ ctx[0]);\n\tlet t2;\n\tlet show_if_1 = /*iChunks*/ ctx[2][0] && datesEqual(/*iChunks*/ ctx[2][0].date, /*date*/ ctx[0]);\n\tlet t3;\n\tlet div1;\n\tlet each_blocks = [];\n\tlet each_1_lookup = new Map();\n\tlet div1_class_value;\n\tlet t4;\n\tlet show_if = /*$_popupDate*/ ctx[6] && datesEqual(/*date*/ ctx[0], /*$_popupDate*/ ctx[6]);\n\tlet t5;\n\tlet div2;\n\tlet div2_class_value;\n\tlet div3_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet if_block0 = show_if_2 && create_if_block_3(ctx);\n\tlet if_block1 = show_if_1 && create_if_block_2(ctx);\n\tlet each_value = /*dayChunks*/ ctx[3];\n\tconst get_key = ctx => /*chunk*/ ctx[43].event;\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\tlet child_ctx = get_each_context$2(ctx, each_value, i);\n\t\tlet key = get_key(child_ctx);\n\t\teach_1_lookup.set(key, each_blocks[i] = create_each_block$2(key, child_ctx));\n\t}\n\n\tlet if_block2 = show_if && create_if_block_1();\n\tlet if_block3 = /*hiddenEvents*/ ctx[4].size && create_if_block(ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tdiv3 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt0 = text(t0_value);\n\t\t\tt1 = space();\n\t\t\tif (if_block0) if_block0.c();\n\t\t\tt2 = space();\n\t\t\tif (if_block1) if_block1.c();\n\t\t\tt3 = space();\n\t\t\tdiv1 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt4 = space();\n\t\t\tif (if_block2) if_block2.c();\n\t\t\tt5 = space();\n\t\t\tdiv2 = element(\"div\");\n\t\t\tif (if_block3) if_block3.c();\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[11].dayHead);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[11].events);\n\t\t\tattr(div2, \"class\", div2_class_value = /*$theme*/ ctx[11].dayFoot);\n\n\t\t\tattr(div3, \"class\", div3_class_value = \"\" + (/*$theme*/ ctx[11].day + (/*isToday*/ ctx[8] ? ' ' + /*$theme*/ ctx[11].today : '') + (/*otherMonth*/ ctx[9]\n\t\t\t? ' ' + /*$theme*/ ctx[11].otherMonth\n\t\t\t: '') + (/*highlight*/ ctx[10]\n\t\t\t? ' ' + /*$theme*/ ctx[11].highlight\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div3, anchor);\n\t\t\tappend(div3, div0);\n\t\t\tappend(div0, t0);\n\t\t\tappend(div3, t1);\n\t\t\tif (if_block0) if_block0.m(div3, null);\n\t\t\tappend(div3, t2);\n\t\t\tif (if_block1) if_block1.m(div3, null);\n\t\t\tappend(div3, t3);\n\t\t\tappend(div3, div1);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t}\n\n\t\t\tappend(div3, t4);\n\t\t\tif (if_block2) if_block2.m(div3, null);\n\t\t\tappend(div3, t5);\n\t\t\tappend(div3, div2);\n\t\t\tif (if_block3) if_block3.m(div2, null);\n\t\t\t/*div3_binding*/ ctx[36](div3);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(div3, \"click\", function () {\n\t\t\t\t\t\tif (is_function(maybeIgnore(/*createClickHandler*/ ctx[26](/*$dateClick*/ ctx[12])))) maybeIgnore(/*createClickHandler*/ ctx[26](/*$dateClick*/ ctx[12])).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div3, \"pointerenter\", function () {\n\t\t\t\t\t\tif (is_function(/*createPointerEnterHandler*/ ctx[27](/*$_interaction*/ ctx[13]))) /*createPointerEnterHandler*/ ctx[27](/*$_interaction*/ ctx[13]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div3, \"pointerleave\", function () {\n\t\t\t\t\t\tif (is_function(createPointerLeaveHandler(/*$_interaction*/ ctx[13]))) createPointerLeaveHandler(/*$_interaction*/ ctx[13]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div3, \"pointerdown\", function () {\n\t\t\t\t\t\tif (is_function(/*createPointerDownHandler*/ ctx[29](/*$_interaction*/ ctx[13], /*$selectable*/ ctx[14]))) /*createPointerDownHandler*/ ctx[29](/*$_interaction*/ ctx[13], /*$selectable*/ ctx[14]).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\t\t\tif ((!current || dirty[0] & /*date*/ 1) && t0_value !== (t0_value = /*date*/ ctx[0].getUTCDate() + \"\")) set_data(t0, t0_value);\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2048 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[11].dayHead)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*iChunks, date*/ 5) show_if_2 = /*iChunks*/ ctx[2][1] && datesEqual(/*iChunks*/ ctx[2][1].date, /*date*/ ctx[0]);\n\n\t\t\tif (show_if_2) {\n\t\t\t\tif (if_block0) {\n\t\t\t\t\tif_block0.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty[0] & /*iChunks, date*/ 5) {\n\t\t\t\t\t\ttransition_in(if_block0, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block0 = create_if_block_3(ctx);\n\t\t\t\t\tif_block0.c();\n\t\t\t\t\ttransition_in(if_block0, 1);\n\t\t\t\t\tif_block0.m(div3, t2);\n\t\t\t\t}\n\t\t\t} else if (if_block0) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block0, 1, 1, () => {\n\t\t\t\t\tif_block0 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*iChunks, date*/ 5) show_if_1 = /*iChunks*/ ctx[2][0] && datesEqual(/*iChunks*/ ctx[2][0].date, /*date*/ ctx[0]);\n\n\t\t\tif (show_if_1) {\n\t\t\t\tif (if_block1) {\n\t\t\t\t\tif_block1.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty[0] & /*iChunks, date*/ 5) {\n\t\t\t\t\t\ttransition_in(if_block1, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block1 = create_if_block_2(ctx);\n\t\t\t\t\tif_block1.c();\n\t\t\t\t\ttransition_in(if_block1, 1);\n\t\t\t\t\tif_block1.m(div3, t3);\n\t\t\t\t}\n\t\t\t} else if (if_block1) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block1, 1, 1, () => {\n\t\t\t\t\tif_block1 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*dayChunks, longChunks*/ 10) {\n\t\t\t\teach_value = /*dayChunks*/ ctx[3];\n\t\t\t\tgroup_outros();\n\t\t\t\teach_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div1, outro_and_destroy_block, create_each_block$2, null, get_each_context$2);\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2048 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[11].events)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*$_popupDate, date*/ 65) show_if = /*$_popupDate*/ ctx[6] && datesEqual(/*date*/ ctx[0], /*$_popupDate*/ ctx[6]);\n\n\t\t\tif (show_if) {\n\t\t\t\tif (if_block2) {\n\t\t\t\t\tif (dirty[0] & /*$_popupDate, date*/ 65) {\n\t\t\t\t\t\ttransition_in(if_block2, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block2 = create_if_block_1();\n\t\t\t\t\tif_block2.c();\n\t\t\t\t\ttransition_in(if_block2, 1);\n\t\t\t\t\tif_block2.m(div3, t5);\n\t\t\t\t}\n\t\t\t} else if (if_block2) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block2, 1, 1, () => {\n\t\t\t\t\tif_block2 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (/*hiddenEvents*/ ctx[4].size) {\n\t\t\t\tif (if_block3) {\n\t\t\t\t\tif_block3.p(ctx, dirty);\n\t\t\t\t} else {\n\t\t\t\t\tif_block3 = create_if_block(ctx);\n\t\t\t\t\tif_block3.c();\n\t\t\t\t\tif_block3.m(div2, null);\n\t\t\t\t}\n\t\t\t} else if (if_block3) {\n\t\t\t\tif_block3.d(1);\n\t\t\t\tif_block3 = null;\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2048 && div2_class_value !== (div2_class_value = /*$theme*/ ctx[11].dayFoot)) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme, isToday, otherMonth, highlight*/ 3840 && div3_class_value !== (div3_class_value = \"\" + (/*$theme*/ ctx[11].day + (/*isToday*/ ctx[8] ? ' ' + /*$theme*/ ctx[11].today : '') + (/*otherMonth*/ ctx[9]\n\t\t\t? ' ' + /*$theme*/ ctx[11].otherMonth\n\t\t\t: '') + (/*highlight*/ ctx[10]\n\t\t\t? ' ' + /*$theme*/ ctx[11].highlight\n\t\t\t: '')))) {\n\t\t\t\tattr(div3, \"class\", div3_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block0);\n\t\t\ttransition_in(if_block1);\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\ttransition_in(if_block2);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block0);\n\t\t\ttransition_out(if_block1);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\ttransition_out(if_block2);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div3);\n\t\t\tif (if_block0) if_block0.d();\n\t\t\tif (if_block1) if_block1.d();\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].d();\n\t\t\t}\n\n\t\t\tif (if_block2) if_block2.d();\n\t\t\tif (if_block3) if_block3.d();\n\t\t\t/*div3_binding*/ ctx[36](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction createPointerLeaveHandler(interaction) {\n\treturn interaction.pointer\n\t? interaction.pointer.leave\n\t: undefined;\n}\n\nfunction sortChunks(chunks) {\n\tchunks.sort((a, b) => a.top - b.top);\n}\n\nfunction instance$2($$self, $$props, $$invalidate) {\n\tlet $_popupChunks;\n\tlet $_popupDate;\n\tlet $_view;\n\tlet $moreLinkContent;\n\tlet $_hiddenEvents;\n\tlet $highlightedDates;\n\tlet $currentDate;\n\tlet $theme;\n\tlet $dateClick;\n\tlet $_interaction;\n\tlet $selectable;\n\tlet { date } = $$props;\n\tlet { chunks } = $$props;\n\tlet { longChunks } = $$props;\n\tlet { iChunks = [] } = $$props;\n\tlet { date: currentDate, dateClick, dayMaxEvents, highlightedDates, moreLinkContent, theme, _view, _interaction, selectable } = getContext('state');\n\tcomponent_subscribe($$self, currentDate, value => $$invalidate(34, $currentDate = value));\n\tcomponent_subscribe($$self, dateClick, value => $$invalidate(12, $dateClick = value));\n\tcomponent_subscribe($$self, highlightedDates, value => $$invalidate(33, $highlightedDates = value));\n\tcomponent_subscribe($$self, moreLinkContent, value => $$invalidate(31, $moreLinkContent = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(11, $theme = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(38, $_view = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(13, $_interaction = value));\n\tcomponent_subscribe($$self, selectable, value => $$invalidate(14, $selectable = value));\n\tlet { _hiddenEvents, _popupDate, _popupChunks } = getContext('view-state');\n\tcomponent_subscribe($$self, _hiddenEvents, value => $$invalidate(32, $_hiddenEvents = value));\n\tcomponent_subscribe($$self, _popupDate, value => $$invalidate(6, $_popupDate = value));\n\tcomponent_subscribe($$self, _popupChunks, value => $$invalidate(37, $_popupChunks = value));\n\tlet el;\n\tlet dayChunks;\n\tlet today = setMidnight(createDate());\n\tlet isToday;\n\tlet otherMonth;\n\tlet highlight;\n\tlet hiddenEvents = new Set(); // hidden events of this day\n\tlet moreLink = '';\n\n\tfunction createClickHandler(fn) {\n\t\treturn is_function(fn)\n\t\t? jsEvent => fn({\n\t\t\t\tallDay: true,\n\t\t\t\tdate: toLocalDate(date),\n\t\t\t\tdateStr: toISOString(date),\n\t\t\t\tdayEl: el,\n\t\t\t\tjsEvent,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t})\n\t\t: undefined;\n\t}\n\n\tfunction createPointerEnterHandler(interaction) {\n\t\treturn interaction.pointer\n\t\t? jsEvent => interaction.pointer.enterDayGrid(date, jsEvent)\n\t\t: undefined;\n\t}\n\n\tfunction showMore() {\n\t\tsetPopupChunks();\n\t\tset_store_value(_popupDate, $_popupDate = date, $_popupDate);\n\t}\n\n\tfunction setPopupChunks() {\n\t\tlet chunks = createPopupChunks();\n\n\t\tif (chunks.length) {\n\t\t\tif (chunks[0].top) {\n\t\t\t\t// @todo check for the presence of top in all chunks\n\t\t\t\t// top is available, sort now\n\t\t\t\tsortChunks(chunks);\n\t\t\t} else {\n\t\t\t\t// sort later\n\t\t\t\ttick().then(() => {\n\t\t\t\t\tlet chunks = createPopupChunks();\n\t\t\t\t\tsortChunks(chunks);\n\t\t\t\t\tset_store_value(_popupChunks, $_popupChunks = chunks, $_popupChunks);\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\tset_store_value(_popupChunks, $_popupChunks = chunks, $_popupChunks);\n\t}\n\n\tfunction createPopupChunks() {\n\t\tlet nextDay = addDay(cloneDate(date));\n\t\treturn dayChunks.concat(longChunks[date.getTime()] || []).map(c => assign({}, c, createEventChunk(c.event, date, nextDay), { days: 1, dates: [date] }));\n\t}\n\n\tfunction createPointerDownHandler(interaction, selectable) {\n\t\treturn selectable && interaction.action\n\t\t? jsEvent => interaction.action.selectDayGrid(date, el, jsEvent)\n\t\t: undefined;\n\t}\n\n\tfunction pointerdown_handler(event) {\n\t\tbubble.call(this, $$self, event);\n\t}\n\n\tfunction div3_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(7, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('date' in $$props) $$invalidate(0, date = $$props.date);\n\t\tif ('chunks' in $$props) $$invalidate(30, chunks = $$props.chunks);\n\t\tif ('longChunks' in $$props) $$invalidate(1, longChunks = $$props.longChunks);\n\t\tif ('iChunks' in $$props) $$invalidate(2, iChunks = $$props.iChunks);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[0] & /*hiddenEvents, chunks, date, dayChunks*/ 1073741849) {\n\t\t\t{\n\t\t\t\t$$invalidate(3, dayChunks = []);\n\t\t\t\thiddenEvents.clear();\n\t\t\t\t((($$invalidate(4, hiddenEvents), $$invalidate(30, chunks)), $$invalidate(0, date)), $$invalidate(3, dayChunks));\n\n\t\t\t\tfor (let chunk of chunks) {\n\t\t\t\t\tif (datesEqual(chunk.date, date)) {\n\t\t\t\t\t\tdayChunks.push(chunk);\n\t\t\t\t\t} // if ($dayMaxEvents !== false && dayChunks.length > $dayMaxEvents) {\n\t\t\t\t\t// \tchunk.hidden = true;\n\t\t\t\t} // }\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*date, hiddenEvents*/ 17) {\n\t\t\tset_store_value(_hiddenEvents, $_hiddenEvents[date.getTime()] = hiddenEvents, $_hiddenEvents);\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*date*/ 1 | $$self.$$.dirty[1] & /*$currentDate, $highlightedDates*/ 12) {\n\t\t\t{\n\t\t\t\t$$invalidate(8, isToday = datesEqual(date, today));\n\t\t\t\t$$invalidate(9, otherMonth = date.getUTCMonth() !== $currentDate.getUTCMonth());\n\t\t\t\t$$invalidate(10, highlight = $highlightedDates.some(d => datesEqual(d, date)));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*hiddenEvents, moreLink*/ 48 | $$self.$$.dirty[1] & /*$_hiddenEvents, $moreLinkContent*/ 3) {\n\t\t\tif ($_hiddenEvents && hiddenEvents.size) {\n\t\t\t\t// make Svelte update this block on $_hiddenEvents update\n\t\t\t\tlet text = '+' + hiddenEvents.size + ' more';\n\n\t\t\t\tif ($moreLinkContent) {\n\t\t\t\t\t$$invalidate(5, moreLink = is_function($moreLinkContent)\n\t\t\t\t\t? $moreLinkContent({ num: hiddenEvents.size, text })\n\t\t\t\t\t: $moreLinkContent);\n\n\t\t\t\t\tif (typeof moreLink === 'string') {\n\t\t\t\t\t\t$$invalidate(5, moreLink = { html: moreLink });\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t$$invalidate(5, moreLink = { html: text });\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*$_popupDate, date, longChunks, dayChunks*/ 75) {\n\t\t\tif ($_popupDate && datesEqual(date, $_popupDate) && longChunks && dayChunks) {\n\t\t\t\tsetPopupChunks();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tdate,\n\t\tlongChunks,\n\t\tiChunks,\n\t\tdayChunks,\n\t\thiddenEvents,\n\t\tmoreLink,\n\t\t$_popupDate,\n\t\tel,\n\t\tisToday,\n\t\totherMonth,\n\t\thighlight,\n\t\t$theme,\n\t\t$dateClick,\n\t\t$_interaction,\n\t\t$selectable,\n\t\tcurrentDate,\n\t\tdateClick,\n\t\thighlightedDates,\n\t\tmoreLinkContent,\n\t\ttheme,\n\t\t_view,\n\t\t_interaction,\n\t\tselectable,\n\t\t_hiddenEvents,\n\t\t_popupDate,\n\t\t_popupChunks,\n\t\tcreateClickHandler,\n\t\tcreatePointerEnterHandler,\n\t\tshowMore,\n\t\tcreatePointerDownHandler,\n\t\tchunks,\n\t\t$moreLinkContent,\n\t\t$_hiddenEvents,\n\t\t$highlightedDates,\n\t\t$currentDate,\n\t\tpointerdown_handler,\n\t\tdiv3_binding\n\t];\n}\n\nclass Day extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\n\t\tinit(\n\t\t\tthis,\n\t\t\toptions,\n\t\t\tinstance$2,\n\t\t\tcreate_fragment$2,\n\t\t\tsafe_not_equal,\n\t\t\t{\n\t\t\t\tdate: 0,\n\t\t\t\tchunks: 30,\n\t\t\t\tlongChunks: 1,\n\t\t\t\tiChunks: 2\n\t\t\t},\n\t\t\tnull,\n\t\t\t[-1, -1]\n\t\t);\n\t}\n}\n\n/* packages/day-grid/src/Week.svelte generated by Svelte v3.55.0 */\n\nfunction get_each_context$1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[15] = list[i];\n\treturn child_ctx;\n}\n\n// (49:4) {#each dates as date}\nfunction create_each_block$1(ctx) {\n\tlet day;\n\tlet current;\n\n\tday = new Day({\n\t\t\tprops: {\n\t\t\t\tdate: /*date*/ ctx[15],\n\t\t\t\tchunks: /*chunks*/ ctx[1],\n\t\t\t\tlongChunks: /*longChunks*/ ctx[2],\n\t\t\t\tiChunks: /*iChunks*/ ctx[3]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(day.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(day, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst day_changes = {};\n\t\t\tif (dirty & /*dates*/ 1) day_changes.date = /*date*/ ctx[15];\n\t\t\tif (dirty & /*chunks*/ 2) day_changes.chunks = /*chunks*/ ctx[1];\n\t\t\tif (dirty & /*longChunks*/ 4) day_changes.longChunks = /*longChunks*/ ctx[2];\n\t\t\tif (dirty & /*iChunks*/ 8) day_changes.iChunks = /*iChunks*/ ctx[3];\n\t\t\tday.$set(day_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(day.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(day.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(day, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$1(ctx) {\n\tlet div;\n\tlet div_class_value;\n\tlet current;\n\tlet each_value = /*dates*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[4].days);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*dates, chunks, longChunks, iChunks*/ 15) {\n\t\t\t\teach_value = /*dates*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$1(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 16 && div_class_value !== (div_class_value = /*$theme*/ ctx[4].days)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\nfunction instance$1($$self, $$props, $$invalidate) {\n\tlet $hiddenDays;\n\tlet $_iEvents;\n\tlet $_events;\n\tlet $theme;\n\tlet { dates } = $$props;\n\tlet { _events, _iEvents, hiddenDays, theme } = getContext('state');\n\tcomponent_subscribe($$self, _events, value => $$invalidate(13, $_events = value));\n\tcomponent_subscribe($$self, _iEvents, value => $$invalidate(12, $_iEvents = value));\n\tcomponent_subscribe($$self, hiddenDays, value => $$invalidate(11, $hiddenDays = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(4, $theme = value));\n\tlet chunks, longChunks, iChunks = [];\n\tlet start;\n\tlet end;\n\n\tfunction intersects(event) {\n\t\treturn event.start < end && event.end > start || datesEqual(event.start, event.end, start);\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('dates' in $$props) $$invalidate(0, dates = $$props.dates);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*dates*/ 1) {\n\t\t\t{\n\t\t\t\t$$invalidate(9, start = dates[0]);\n\t\t\t\t$$invalidate(10, end = addDay(cloneDate(dates[dates.length - 1])));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$_events, start, end, chunks, $hiddenDays*/ 11778) {\n\t\t\t{\n\t\t\t\t$$invalidate(1, chunks = []);\n\n\t\t\t\tfor (let event of $_events) {\n\t\t\t\t\tif (event.display !== 'background' && intersects(event)) {\n\t\t\t\t\t\tlet chunk = createEventChunk(event, start, end);\n\t\t\t\t\t\tchunks.push(chunk);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t$$invalidate(2, longChunks = prepareEventChunks(chunks, $hiddenDays));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$_iEvents, start, end, $hiddenDays*/ 7680) {\n\t\t\t$$invalidate(3, iChunks = $_iEvents.map(event => {\n\t\t\t\tlet chunk;\n\n\t\t\t\tif (event && intersects(event)) {\n\t\t\t\t\tchunk = createEventChunk(event, start, end);\n\t\t\t\t\tprepareEventChunks([chunk], $hiddenDays);\n\t\t\t\t} else {\n\t\t\t\t\tchunk = null;\n\t\t\t\t}\n\n\t\t\t\treturn chunk;\n\t\t\t}));\n\t\t}\n\t};\n\n\treturn [\n\t\tdates,\n\t\tchunks,\n\t\tlongChunks,\n\t\tiChunks,\n\t\t$theme,\n\t\t_events,\n\t\t_iEvents,\n\t\thiddenDays,\n\t\ttheme,\n\t\tstart,\n\t\tend,\n\t\t$hiddenDays,\n\t\t$_iEvents,\n\t\t$_events\n\t];\n}\n\nclass Week extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$1, create_fragment$1, safe_not_equal, { dates: 0 });\n\t}\n}\n\n/* packages/day-grid/src/View.svelte generated by Svelte v3.55.0 */\n\nfunction get_each_context(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[14] = list[i];\n\treturn child_ctx;\n}\n\n// (37:0) {#each weeks as dates}\nfunction create_each_block(ctx) {\n\tlet week;\n\tlet current;\n\tweek = new Week({ props: { dates: /*dates*/ ctx[14] } });\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(week.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(week, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst week_changes = {};\n\t\t\tif (dirty & /*weeks*/ 1) week_changes.dates = /*dates*/ ctx[14];\n\t\t\tweek.$set(week_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(week.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(week.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(week, detaching);\n\t\t}\n\t};\n}\n\n// (36:0) <Body>\nfunction create_default_slot(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value = /*weeks*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*weeks*/ 1) {\n\t\t\t\teach_value = /*weeks*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\nfunction create_fragment(ctx) {\n\tlet header;\n\tlet t;\n\tlet body;\n\tlet current;\n\theader = new Header({});\n\n\tbody = new Body({\n\t\t\tprops: {\n\t\t\t\t$$slots: { default: [create_default_slot] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(header.$$.fragment);\n\t\t\tt = space();\n\t\t\tcreate_component(body.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(header, target, anchor);\n\t\t\tinsert(target, t, anchor);\n\t\t\tmount_component(body, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tconst body_changes = {};\n\n\t\t\tif (dirty & /*$$scope, weeks*/ 131073) {\n\t\t\t\tbody_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\tbody.$set(body_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(header.$$.fragment, local);\n\t\t\ttransition_in(body.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(header.$$.fragment, local);\n\t\t\ttransition_out(body.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(header, detaching);\n\t\t\tif (detaching) detach(t);\n\t\t\tdestroy_component(body, detaching);\n\t\t}\n\t};\n}\n\nfunction instance($$self, $$props, $$invalidate) {\n\tlet $_viewDates;\n\tlet $dayMaxEvents;\n\tlet $_hiddenEvents;\n\tlet $hiddenDays;\n\tlet $_viewClass;\n\tlet { _viewDates, _viewClass, dayMaxEvents, hiddenDays, theme } = getContext('state');\n\tcomponent_subscribe($$self, _viewDates, value => $$invalidate(7, $_viewDates = value));\n\tcomponent_subscribe($$self, _viewClass, value => $$invalidate(11, $_viewClass = value));\n\tcomponent_subscribe($$self, dayMaxEvents, value => $$invalidate(8, $dayMaxEvents = value));\n\tcomponent_subscribe($$self, hiddenDays, value => $$invalidate(9, $hiddenDays = value));\n\tlet viewState = new State(getContext('state'));\n\tsetContext('view-state', viewState);\n\tlet { _hiddenEvents } = viewState;\n\tcomponent_subscribe($$self, _hiddenEvents, value => $$invalidate(10, $_hiddenEvents = value));\n\tset_store_value(_viewClass, $_viewClass = 'month', $_viewClass);\n\tlet weeks;\n\tlet days;\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$hiddenDays, $dayMaxEvents, $_viewDates, days, weeks*/ 961) {\n\t\t\t{\n\t\t\t\t$$invalidate(0, weeks = []);\n\t\t\t\t$$invalidate(6, days = 7 - $hiddenDays.length);\n\t\t\t\tset_store_value(_hiddenEvents, $_hiddenEvents = {}, $_hiddenEvents);\n\n\t\t\t\tfor (let i = 0; i < $_viewDates.length / days; ++i) {\n\t\t\t\t\tlet dates = [];\n\n\t\t\t\t\tfor (let j = 0; j < days; ++j) {\n\t\t\t\t\t\tdates.push($_viewDates[i * days + j]);\n\t\t\t\t\t}\n\n\t\t\t\t\tweeks.push(dates);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tweeks,\n\t\t_viewDates,\n\t\t_viewClass,\n\t\tdayMaxEvents,\n\t\thiddenDays,\n\t\t_hiddenEvents,\n\t\tdays,\n\t\t$_viewDates,\n\t\t$dayMaxEvents,\n\t\t$hiddenDays\n\t];\n}\n\nclass View extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance, create_fragment, safe_not_equal, {});\n\t}\n}\n\nvar index = {\n\tcreateOptions(options) {\n\t\toptions.dayMaxEvents = false;\n\t\toptions.dayPopoverFormat = {month: 'long', day: 'numeric', year: 'numeric'};\n\t\toptions.moreLinkContent = undefined;\n\t\t// Common options\n\t\toptions.buttonText.dayGridMonth = 'month';\n\t\toptions.theme.uniform = 'ec-uniform';\n\t\toptions.theme.dayFoot = 'ec-day-foot';\n\t\toptions.theme.month = 'ec-month';\n\t\toptions.theme.popup = 'ec-popup';\n\t\toptions.view = 'dayGridMonth';\n\t\toptions.views.dayGridMonth = {\n\t\t\tcomponent: View,\n\t\t\tdayHeaderFormat: {weekday: 'short'},\n\t\t\tdisplayEventEnd: false,\n\t\t\tduration: {months: 1},\n\t\t\tmonthMode: true,\n\t\t\ttitleFormat: {year: 'numeric', month: 'long'}\n\t\t};\n\t},\n\n\tcreateStores(state) {\n\t\tstate._intlDayPopover = intl(state.locale, state.dayPopoverFormat);\n\t}\n};\n\nexport { index as default };\n","import { SvelteComponent, init, safe_not_equal, create_slot, element, attr, insert, append, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, detach, component_subscribe, space, action_destroyer, listen, is_function, noop, run_all, binding_callbacks, empty, group_outros, check_outros, text, set_data, update_keyed_each, outro_and_destroy_block, create_component, mount_component, destroy_component, set_store_value, destroy_each } from 'svelte/internal';\nimport { getContext, onMount, setContext } from 'svelte';\nimport { setContent, toEventWithLocalDates, toViewWithLocalDates, createEventContent, setMidnight, createDate, addDay, cloneDate, createEventChunk, sortEventChunks, datesEqual, toLocalDate, toISOString, intl } from '@event-calendar/common';\n\n/* packages/list/src/Body.svelte generated by Svelte v3.55.0 */\n\nfunction create_fragment$3(ctx) {\n\tlet div1;\n\tlet div0;\n\tlet div0_class_value;\n\tlet div1_class_value;\n\tlet current;\n\tconst default_slot_template = /*#slots*/ ctx[3].default;\n\tconst default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[2], null);\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tif (default_slot) default_slot.c();\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[0].content);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[0].body);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tappend(div1, div0);\n\n\t\t\tif (default_slot) {\n\t\t\t\tdefault_slot.m(div0, null);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (default_slot) {\n\t\t\t\tif (default_slot.p && (!current || dirty & /*$$scope*/ 4)) {\n\t\t\t\t\tupdate_slot_base(\n\t\t\t\t\t\tdefault_slot,\n\t\t\t\t\t\tdefault_slot_template,\n\t\t\t\t\t\tctx,\n\t\t\t\t\t\t/*$$scope*/ ctx[2],\n\t\t\t\t\t\t!current\n\t\t\t\t\t\t? get_all_dirty_from_scope(/*$$scope*/ ctx[2])\n\t\t\t\t\t\t: get_slot_changes(default_slot_template, /*$$scope*/ ctx[2], dirty, null),\n\t\t\t\t\t\tnull\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 1 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[0].content)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 1 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[0].body)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(default_slot, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(default_slot, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (default_slot) default_slot.d(detaching);\n\t\t}\n\t};\n}\n\nfunction instance$3($$self, $$props, $$invalidate) {\n\tlet $theme;\n\tlet { $$slots: slots = {}, $$scope } = $$props;\n\tlet { theme } = getContext('state');\n\tcomponent_subscribe($$self, theme, value => $$invalidate(0, $theme = value));\n\n\t$$self.$$set = $$props => {\n\t\tif ('$$scope' in $$props) $$invalidate(2, $$scope = $$props.$$scope);\n\t};\n\n\treturn [$theme, theme, $$scope, slots];\n}\n\nclass Body extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$3, create_fragment$3, safe_not_equal, {});\n\t}\n}\n\n/* packages/list/src/Event.svelte generated by Svelte v3.55.0 */\n\nfunction create_fragment$2(ctx) {\n\tlet div2;\n\tlet div0;\n\tlet div0_class_value;\n\tlet t;\n\tlet div1;\n\tlet div1_class_value;\n\tlet setContent_action;\n\tlet div2_class_value;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv2 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt = space();\n\t\t\tdiv1 = element(\"div\");\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[0].eventTag);\n\t\t\tattr(div0, \"style\", /*style*/ ctx[2]);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[0].eventBody);\n\t\t\tattr(div2, \"class\", div2_class_value = /*$theme*/ ctx[0].event);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div2, anchor);\n\t\t\tappend(div2, div0);\n\t\t\tappend(div2, t);\n\t\t\tappend(div2, div1);\n\t\t\t/*div2_binding*/ ctx[26](div2);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, div1, /*content*/ ctx[3])),\n\t\t\t\t\tlisten(div2, \"click\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[18](/*$eventClick*/ ctx[4]))) /*createHandler*/ ctx[18](/*$eventClick*/ ctx[4]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div2, \"mouseenter\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[18](/*$eventMouseEnter*/ ctx[5]))) /*createHandler*/ ctx[18](/*$eventMouseEnter*/ ctx[5]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div2, \"mouseleave\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[18](/*$eventMouseLeave*/ ctx[6]))) /*createHandler*/ ctx[18](/*$eventMouseLeave*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, [dirty]) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (dirty & /*$theme*/ 1 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[0].eventTag)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*style*/ 4) {\n\t\t\t\tattr(div0, \"style\", /*style*/ ctx[2]);\n\t\t\t}\n\n\t\t\tif (dirty & /*$theme*/ 1 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[0].eventBody)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty & /*content*/ 8) setContent_action.update.call(null, /*content*/ ctx[3]);\n\n\t\t\tif (dirty & /*$theme*/ 1 && div2_class_value !== (div2_class_value = /*$theme*/ ctx[0].event)) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div2);\n\t\t\t/*div2_binding*/ ctx[26](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$2($$self, $$props, $$invalidate) {\n\tlet $_view;\n\tlet $eventDidMount;\n\tlet $_intlEventTime;\n\tlet $theme;\n\tlet $eventContent;\n\tlet $displayEventEnd;\n\tlet $eventColor;\n\tlet $eventBackgroundColor;\n\tlet $eventClick;\n\tlet $eventMouseEnter;\n\tlet $eventMouseLeave;\n\tlet { chunk } = $$props;\n\tlet { displayEventEnd, eventBackgroundColor, eventColor, eventContent, eventClick, eventDidMount, eventMouseEnter, eventMouseLeave, theme, _view, _intlEventTime } = getContext('state');\n\tcomponent_subscribe($$self, displayEventEnd, value => $$invalidate(23, $displayEventEnd = value));\n\tcomponent_subscribe($$self, eventBackgroundColor, value => $$invalidate(25, $eventBackgroundColor = value));\n\tcomponent_subscribe($$self, eventColor, value => $$invalidate(24, $eventColor = value));\n\tcomponent_subscribe($$self, eventContent, value => $$invalidate(22, $eventContent = value));\n\tcomponent_subscribe($$self, eventClick, value => $$invalidate(4, $eventClick = value));\n\tcomponent_subscribe($$self, eventDidMount, value => $$invalidate(28, $eventDidMount = value));\n\tcomponent_subscribe($$self, eventMouseEnter, value => $$invalidate(5, $eventMouseEnter = value));\n\tcomponent_subscribe($$self, eventMouseLeave, value => $$invalidate(6, $eventMouseLeave = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(0, $theme = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(20, $_view = value));\n\tcomponent_subscribe($$self, _intlEventTime, value => $$invalidate(21, $_intlEventTime = value));\n\tlet el;\n\tlet style;\n\tlet content;\n\tlet timeText;\n\n\tonMount(() => {\n\t\tif (is_function($eventDidMount)) {\n\t\t\t$eventDidMount({\n\t\t\t\tevent: toEventWithLocalDates(chunk.event),\n\t\t\t\ttimeText,\n\t\t\t\tel,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t});\n\t\t}\n\t});\n\n\tfunction createHandler(fn) {\n\t\treturn jsEvent => {\n\t\t\tif (is_function(fn)) {\n\t\t\t\tfn({\n\t\t\t\t\tevent: toEventWithLocalDates(chunk.event),\n\t\t\t\t\tel,\n\t\t\t\t\tjsEvent,\n\t\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\t}\n\n\tfunction div2_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(1, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('chunk' in $$props) $$invalidate(19, chunk = $$props.chunk);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*chunk, $eventBackgroundColor, $eventColor*/ 50855936) {\n\t\t\t{\n\t\t\t\t// Class & Style\n\t\t\t\tlet bgColor = chunk.event.backgroundColor || $eventBackgroundColor || $eventColor;\n\n\t\t\t\tif (bgColor) {\n\t\t\t\t\t$$invalidate(2, style = `background-color:${bgColor};`);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*chunk, $displayEventEnd, $eventContent, $theme, $_intlEventTime, $_view*/ 16252929) {\n\t\t\t{\n\t\t\t\t// Content\n\t\t\t\t$$invalidate(3, [timeText, content] = createEventContent(chunk, $displayEventEnd, $eventContent, $theme, $_intlEventTime, $_view), content);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\t$theme,\n\t\tel,\n\t\tstyle,\n\t\tcontent,\n\t\t$eventClick,\n\t\t$eventMouseEnter,\n\t\t$eventMouseLeave,\n\t\tdisplayEventEnd,\n\t\teventBackgroundColor,\n\t\teventColor,\n\t\teventContent,\n\t\teventClick,\n\t\teventDidMount,\n\t\teventMouseEnter,\n\t\teventMouseLeave,\n\t\ttheme,\n\t\t_view,\n\t\t_intlEventTime,\n\t\tcreateHandler,\n\t\tchunk,\n\t\t$_view,\n\t\t$_intlEventTime,\n\t\t$eventContent,\n\t\t$displayEventEnd,\n\t\t$eventColor,\n\t\t$eventBackgroundColor,\n\t\tdiv2_binding\n\t];\n}\n\nclass Event extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$2, create_fragment$2, safe_not_equal, { chunk: 19 });\n\t}\n}\n\n/* packages/list/src/Day.svelte generated by Svelte v3.55.0 */\n\nfunction get_each_context$1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[24] = list[i];\n\treturn child_ctx;\n}\n\n// (61:0) {#if chunks.length}\nfunction create_if_block$1(ctx) {\n\tlet div;\n\tlet t0_value = /*$_intlListDayFormat*/ ctx[7].format(/*date*/ ctx[0]) + \"\";\n\tlet t0;\n\tlet t1;\n\tlet span;\n\tlet t2_value = /*$_intlListDaySideFormat*/ ctx[8].format(/*date*/ ctx[0]) + \"\";\n\tlet t2;\n\tlet span_class_value;\n\tlet div_class_value;\n\tlet t3;\n\tlet each_blocks = [];\n\tlet each_1_lookup = new Map();\n\tlet each_1_anchor;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet each_value = /*chunks*/ ctx[1];\n\tconst get_key = ctx => /*chunk*/ ctx[24].event;\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\tlet child_ctx = get_each_context$1(ctx, each_value, i);\n\t\tlet key = get_key(child_ctx);\n\t\teach_1_lookup.set(key, each_blocks[i] = create_each_block$1(key, child_ctx));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt0 = text(t0_value);\n\t\t\tt1 = space();\n\t\t\tspan = element(\"span\");\n\t\t\tt2 = text(t2_value);\n\t\t\tt3 = space();\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t\tattr(span, \"class\", span_class_value = /*$theme*/ ctx[5].daySide);\n\n\t\t\tattr(div, \"class\", div_class_value = \"\" + (/*$theme*/ ctx[5].day + (/*isToday*/ ctx[3] ? ' ' + /*$theme*/ ctx[5].today : '') + (/*highlight*/ ctx[4]\n\t\t\t? ' ' + /*$theme*/ ctx[5].highlight\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t0);\n\t\t\tappend(div, t1);\n\t\t\tappend(div, span);\n\t\t\tappend(span, t2);\n\t\t\t/*div_binding*/ ctx[19](div);\n\t\t\tinsert(target, t3, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(div, \"click\", function () {\n\t\t\t\t\tif (is_function(/*createClickHandler*/ ctx[16](/*$dateClick*/ ctx[6]))) /*createClickHandler*/ ctx[16](/*$dateClick*/ ctx[6]).apply(this, arguments);\n\t\t\t\t});\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\t\t\tif ((!current || dirty & /*$_intlListDayFormat, date*/ 129) && t0_value !== (t0_value = /*$_intlListDayFormat*/ ctx[7].format(/*date*/ ctx[0]) + \"\")) set_data(t0, t0_value);\n\t\t\tif ((!current || dirty & /*$_intlListDaySideFormat, date*/ 257) && t2_value !== (t2_value = /*$_intlListDaySideFormat*/ ctx[8].format(/*date*/ ctx[0]) + \"\")) set_data(t2, t2_value);\n\n\t\t\tif (!current || dirty & /*$theme*/ 32 && span_class_value !== (span_class_value = /*$theme*/ ctx[5].daySide)) {\n\t\t\t\tattr(span, \"class\", span_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme, isToday, highlight*/ 56 && div_class_value !== (div_class_value = \"\" + (/*$theme*/ ctx[5].day + (/*isToday*/ ctx[3] ? ' ' + /*$theme*/ ctx[5].today : '') + (/*highlight*/ ctx[4]\n\t\t\t? ' ' + /*$theme*/ ctx[5].highlight\n\t\t\t: '')))) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*chunks*/ 2) {\n\t\t\t\teach_value = /*chunks*/ ctx[1];\n\t\t\t\tgroup_outros();\n\t\t\t\teach_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, each_1_anchor.parentNode, outro_and_destroy_block, create_each_block$1, each_1_anchor, get_each_context$1);\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\t/*div_binding*/ ctx[19](null);\n\t\t\tif (detaching) detach(t3);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].d(detaching);\n\t\t\t}\n\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\n// (70:4) {#each chunks as chunk (chunk.event)}\nfunction create_each_block$1(key_1, ctx) {\n\tlet first;\n\tlet event;\n\tlet current;\n\tevent = new Event({ props: { chunk: /*chunk*/ ctx[24] } });\n\n\treturn {\n\t\tkey: key_1,\n\t\tfirst: null,\n\t\tc() {\n\t\t\tfirst = empty();\n\t\t\tcreate_component(event.$$.fragment);\n\t\t\tthis.first = first;\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, first, anchor);\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty & /*chunks*/ 2) event_changes.chunk = /*chunk*/ ctx[24];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(first);\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$1(ctx) {\n\tlet if_block_anchor;\n\tlet current;\n\tlet if_block = /*chunks*/ ctx[1].length && create_if_block$1(ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif (if_block) if_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif (if_block) if_block.m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (/*chunks*/ ctx[1].length) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty & /*chunks*/ 2) {\n\t\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block$1(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block, 1, 1, () => {\n\t\t\t\t\tif_block = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (if_block) if_block.d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\nfunction instance$1($$self, $$props, $$invalidate) {\n\tlet $_view;\n\tlet $highlightedDates;\n\tlet $_events;\n\tlet $theme;\n\tlet $dateClick;\n\tlet $_intlListDayFormat;\n\tlet $_intlListDaySideFormat;\n\tlet { date } = $$props;\n\tlet { _events, _intlDayHeader, _view, date: currentDate, dateClick, highlightedDates, theme } = getContext('state');\n\tcomponent_subscribe($$self, _events, value => $$invalidate(18, $_events = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(20, $_view = value));\n\tcomponent_subscribe($$self, dateClick, value => $$invalidate(6, $dateClick = value));\n\tcomponent_subscribe($$self, highlightedDates, value => $$invalidate(17, $highlightedDates = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(5, $theme = value));\n\tlet { _intlListDayFormat, _intlListDaySideFormat } = getContext('view-state');\n\tcomponent_subscribe($$self, _intlListDayFormat, value => $$invalidate(7, $_intlListDayFormat = value));\n\tcomponent_subscribe($$self, _intlListDaySideFormat, value => $$invalidate(8, $_intlListDaySideFormat = value));\n\tlet el;\n\tlet chunks;\n\tlet today = setMidnight(createDate()), isToday, highlight;\n\n\tfunction createClickHandler(fn) {\n\t\treturn is_function(fn)\n\t\t? jsEvent => {\n\t\t\t\tfn({\n\t\t\t\t\tallDay: true,\n\t\t\t\t\tdate: toLocalDate(date),\n\t\t\t\t\tdateStr: toISOString(date),\n\t\t\t\t\tdayEl: el,\n\t\t\t\t\tjsEvent,\n\t\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t\t});\n\t\t\t}\n\t\t: undefined;\n\t}\n\n\tfunction div_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(2, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('date' in $$props) $$invalidate(0, date = $$props.date);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*date, $_events, chunks*/ 262147) {\n\t\t\t{\n\t\t\t\t$$invalidate(1, chunks = []);\n\t\t\t\tlet start = date;\n\t\t\t\tlet end = addDay(cloneDate(date));\n\n\t\t\t\tfor (let event of $_events) {\n\t\t\t\t\tif (event.display === 'auto' && event.start < end && event.end > start) {\n\t\t\t\t\t\tlet chunk = createEventChunk(event, start, end);\n\t\t\t\t\t\tchunks.push(chunk);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tsortEventChunks(chunks);\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*date, $highlightedDates*/ 131073) {\n\t\t\t{\n\t\t\t\t$$invalidate(3, isToday = datesEqual(date, today));\n\t\t\t\t$$invalidate(4, highlight = $highlightedDates.some(d => datesEqual(d, date)));\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tdate,\n\t\tchunks,\n\t\tel,\n\t\tisToday,\n\t\thighlight,\n\t\t$theme,\n\t\t$dateClick,\n\t\t$_intlListDayFormat,\n\t\t$_intlListDaySideFormat,\n\t\t_events,\n\t\t_view,\n\t\tdateClick,\n\t\thighlightedDates,\n\t\ttheme,\n\t\t_intlListDayFormat,\n\t\t_intlListDaySideFormat,\n\t\tcreateClickHandler,\n\t\t$highlightedDates,\n\t\t$_events,\n\t\tdiv_binding\n\t];\n}\n\nclass Day extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$1, create_fragment$1, safe_not_equal, { date: 0 });\n\t}\n}\n\nclass State {\n constructor(state) {\n this._intlListDayFormat = intl(state.locale, state.listDayFormat);\n this._intlListDaySideFormat = intl(state.locale, state.listDaySideFormat);\n }\n}\n\n/* packages/list/src/View.svelte generated by Svelte v3.55.0 */\n\nfunction get_each_context(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[18] = list[i];\n\treturn child_ctx;\n}\n\n// (49:0) {:else}\nfunction create_else_block(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value = /*$_viewDates*/ ctx[1];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$_viewDates*/ 2) {\n\t\t\t\teach_value = /*$_viewDates*/ ctx[1];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\n// (47:0) {#if noEvents}\nfunction create_if_block(ctx) {\n\tlet div;\n\tlet div_class_value;\n\tlet setContent_action;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[3].noEvents);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, div, /*content*/ ctx[0])),\n\t\t\t\t\tlisten(div, \"click\", /*handleClick*/ ctx[11])\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$theme*/ 8 && div_class_value !== (div_class_value = /*$theme*/ ctx[3].noEvents)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty & /*content*/ 1) setContent_action.update.call(null, /*content*/ ctx[0]);\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\n// (50:4) {#each $_viewDates as date}\nfunction create_each_block(ctx) {\n\tlet day;\n\tlet current;\n\tday = new Day({ props: { date: /*date*/ ctx[18] } });\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(day.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(day, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst day_changes = {};\n\t\t\tif (dirty & /*$_viewDates*/ 2) day_changes.date = /*date*/ ctx[18];\n\t\t\tday.$set(day_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(day.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(day.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(day, detaching);\n\t\t}\n\t};\n}\n\n// (46:0) <Body>\nfunction create_default_slot(ctx) {\n\tlet current_block_type_index;\n\tlet if_block;\n\tlet if_block_anchor;\n\tlet current;\n\tconst if_block_creators = [create_if_block, create_else_block];\n\tconst if_blocks = [];\n\n\tfunction select_block_type(ctx, dirty) {\n\t\tif (/*noEvents*/ ctx[2]) return 0;\n\t\treturn 1;\n\t}\n\n\tcurrent_block_type_index = select_block_type(ctx);\n\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif_blocks[current_block_type_index].m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tlet previous_block_index = current_block_type_index;\n\t\t\tcurrent_block_type_index = select_block_type(ctx);\n\n\t\t\tif (current_block_type_index === previous_block_index) {\n\t\t\t\tif_blocks[current_block_type_index].p(ctx, dirty);\n\t\t\t} else {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_blocks[previous_block_index], 1, 1, () => {\n\t\t\t\t\tif_blocks[previous_block_index] = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t\tif_block = if_blocks[current_block_type_index];\n\n\t\t\t\tif (!if_block) {\n\t\t\t\t\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t} else {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\t\t\t\t}\n\n\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif_blocks[current_block_type_index].d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\nfunction create_fragment(ctx) {\n\tlet body;\n\tlet current;\n\n\tbody = new Body({\n\t\t\tprops: {\n\t\t\t\t$$slots: { default: [create_default_slot] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(body.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(body, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tconst body_changes = {};\n\n\t\t\tif (dirty & /*$$scope, $theme, content, noEvents, $_viewDates*/ 2097167) {\n\t\t\t\tbody_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\tbody.$set(body_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(body.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(body.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(body, detaching);\n\t\t}\n\t};\n}\n\nfunction instance($$self, $$props, $$invalidate) {\n\tlet $_view;\n\tlet $noEventsClick;\n\tlet $noEventsContent;\n\tlet $_events;\n\tlet $_viewDates;\n\tlet $_viewClass;\n\tlet $theme;\n\tlet { _events, _view, _viewDates, _viewClass, noEventsClick, noEventsContent, theme } = getContext('state');\n\tcomponent_subscribe($$self, _events, value => $$invalidate(13, $_events = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(14, $_view = value));\n\tcomponent_subscribe($$self, _viewDates, value => $$invalidate(1, $_viewDates = value));\n\tcomponent_subscribe($$self, _viewClass, value => $$invalidate(16, $_viewClass = value));\n\tcomponent_subscribe($$self, noEventsClick, value => $$invalidate(15, $noEventsClick = value));\n\tcomponent_subscribe($$self, noEventsContent, value => $$invalidate(12, $noEventsContent = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(3, $theme = value));\n\tlet state = new State(getContext('state'));\n\tsetContext('view-state', state);\n\tset_store_value(_viewClass, $_viewClass = 'list', $_viewClass);\n\tlet noEvents, content;\n\n\tfunction handleClick(jsEvent) {\n\t\tif (is_function($noEventsClick)) {\n\t\t\t$noEventsClick({\n\t\t\t\tjsEvent,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t});\n\t\t}\n\t}\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$_viewDates, $_events*/ 8194) {\n\t\t\t{\n\t\t\t\t$$invalidate(2, noEvents = true);\n\n\t\t\t\tif ($_viewDates.length) {\n\t\t\t\t\tlet start = $_viewDates[0];\n\t\t\t\t\tlet end = addDay(cloneDate($_viewDates[$_viewDates.length - 1]));\n\n\t\t\t\t\tfor (let event of $_events) {\n\t\t\t\t\t\tif (event.display === 'auto' && event.start < end && event.end > start) {\n\t\t\t\t\t\t\t$$invalidate(2, noEvents = false);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$noEventsContent, content*/ 4097) {\n\t\t\t{\n\t\t\t\t$$invalidate(0, content = is_function($noEventsContent)\n\t\t\t\t? $noEventsContent()\n\t\t\t\t: $noEventsContent);\n\n\t\t\t\tif (typeof content === 'string') {\n\t\t\t\t\t$$invalidate(0, content = { html: content });\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tcontent,\n\t\t$_viewDates,\n\t\tnoEvents,\n\t\t$theme,\n\t\t_events,\n\t\t_view,\n\t\t_viewDates,\n\t\t_viewClass,\n\t\tnoEventsClick,\n\t\tnoEventsContent,\n\t\ttheme,\n\t\thandleClick,\n\t\t$noEventsContent,\n\t\t$_events\n\t];\n}\n\nclass View extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance, create_fragment, safe_not_equal, {});\n\t}\n}\n\nvar index = {\n\tcreateOptions(options) {\n\t\t// Common options\n\t\toptions.buttonText.listDay = 'list';\n\t\toptions.buttonText.listWeek = 'list';\n\t\toptions.buttonText.listMonth = 'list';\n\t\toptions.buttonText.listYear = 'list';\n\t\toptions.listDayFormat = {weekday: 'long'};\n\t\toptions.listDaySideFormat = {year: 'numeric', month: 'long', day: 'numeric'};\n\t\toptions.noEventsClick = undefined; // ec option\n\t\toptions.noEventsContent = 'No events';\n\t\toptions.theme.daySide = 'ec-day-side';\n\t\toptions.theme.eventTag = 'ec-event-tag';\n\t\toptions.theme.list = 'ec-list';\n\t\toptions.theme.noEvents = 'ec-no-events';\n\t\toptions.view = 'listWeek';\n\t\toptions.views.listDay = {\n\t\t\tcomponent: View,\n\t\t\tduration: {days: 1}\n\t\t};\n\t\toptions.views.listWeek = {\n\t\t\tcomponent: View,\n\t\t\tduration: {weeks: 1}\n\t\t};\n\t\toptions.views.listMonth = {\n\t\t\tcomponent: View,\n\t\t\tduration: {months: 1}\n\t\t};\n\t\toptions.views.listYear = {\n\t\t\tcomponent: View,\n\t\t\tduration: {years: 1}\n\t\t};\n\t}\n};\n\nexport { index as default };\n","import { is_function, SvelteComponent, init, safe_not_equal, create_slot, element, space, attr, insert, append, action_destroyer, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, detach, destroy_each, component_subscribe, text, set_data, listen, run_all, set_store_value, binding_callbacks, construct_svelte_component, create_component, mount_component, group_outros, destroy_component, check_outros, set_style, noop, update_keyed_each, outro_and_destroy_block, empty } from 'svelte/internal';\nimport { getContext, onMount, createEventDispatcher, afterUpdate, tick, setContext } from 'svelte';\nimport { derived } from 'svelte/store';\nimport { createDate, cloneDate, addDuration, createDuration, DAY_IN_SECONDS, sortEventChunks, setContent, hasYScroll, maybeIgnore, toEventWithLocalDates, toViewWithLocalDates, createEventContent, createEventChunk, datesEqual, rect, toLocalDate, toISOString, height, setMidnight, addDay, prepareEventChunks } from '@event-calendar/common';\n\nfunction times(state, localState) {\n return derived(\n [localState._slotTimeLimits, state._intlSlotLabel, state.slotDuration],\n ([$_slotTimeLimits, $_intlSlotLabel, $slotDuration]) => {\n let compact = $slotDuration.seconds >= 3600;\n let times = [];\n let date = createDate('2020-01-01');\n let end = cloneDate(date);\n let i = 1;\n addDuration(date, $_slotTimeLimits.min);\n addDuration(end, $_slotTimeLimits.max);\n while (date < end) {\n times.push(times.length && (i || compact) ? $_intlSlotLabel.format(date) : '');\n addDuration(date, $slotDuration);\n i = 1 - i;\n }\n\n return times;\n }\n );\n}\n\nfunction slotTimeLimits(state) {\n return derived(\n [state._events, state._viewDates, state.flexibleSlotTimeLimits, state.slotMinTime, state.slotMaxTime],\n ([$_events, $_viewDates, $flexibleSlotTimeLimits, $slotMinTime, $slotMaxTime]) => {\n let min = createDuration($slotMinTime);\n let max = createDuration($slotMaxTime);\n\n if ($flexibleSlotTimeLimits) {\n let minMin = createDuration(Math.min(min.seconds, Math.max(0, max.seconds - DAY_IN_SECONDS)));\n let maxMax = createDuration(Math.max(max.seconds, minMin.seconds + DAY_IN_SECONDS));\n loop: for (let date of $_viewDates) {\n let start = addDuration(cloneDate(date), min);\n let end = addDuration(cloneDate(date), max);\n let minStart = addDuration(cloneDate(date), minMin);\n let maxEnd = addDuration(cloneDate(date), maxMax);\n for (let event of $_events) {\n if (event.display === 'auto' && event.start < maxEnd && event.end > minStart) {\n if (event.start < start) {\n let seconds = Math.max((event.start - date) / 1000, minMin.seconds);\n if (seconds < min.seconds) {\n min.seconds = seconds;\n }\n }\n if (event.end > end) {\n let seconds = Math.min((event.end - date) / 1000, maxMax.seconds);\n if (seconds > max.seconds) {\n max.seconds = seconds;\n }\n }\n if (min.seconds === minMin.seconds && max.seconds === maxMax.seconds) {\n break loop;\n }\n }\n }\n }\n }\n\n return {min, max};\n }\n );\n}\n\nclass State {\n constructor(state) {\n this._slotTimeLimits = slotTimeLimits(state); // flexible limits\n this._times = times(state, this);\n }\n}\n\nfunction groupEventChunks(chunks) {\n if (!chunks.length) {\n return;\n }\n\n sortEventChunks(chunks);\n\n // Group\n let group = {\n columns: [],\n end: chunks[0].end\n };\n for (let chunk of chunks) {\n let c = 0;\n if (chunk.start < group.end) {\n for (; c < group.columns.length; ++c) {\n if (group.columns[c][group.columns[c].length - 1].end <= chunk.start) {\n break;\n }\n }\n if (chunk.end > group.end) {\n group.end = chunk.end;\n }\n } else {\n group = {\n columns: [],\n end: chunk.end\n };\n }\n\n if (group.columns.length < c + 1) {\n group.columns.push([]);\n }\n group.columns[c].push(chunk);\n\n chunk.group = group;\n chunk.column = c;\n }\n}\n\nfunction createAllDayContent(allDayContent) {\n let text = 'all-day';\n let content;\n if (allDayContent) {\n content = is_function(allDayContent) ? allDayContent({text}) : allDayContent;\n if (typeof content === 'string') {\n content = {html: content};\n }\n } else {\n content = {\n html: text\n };\n }\n\n return content;\n}\n\n/* packages/time-grid/src/Header.svelte generated by Svelte v3.55.0 */\n\nfunction get_each_context$5(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[12] = list[i];\n\treturn child_ctx;\n}\n\n// (19:12) {#each $_times as time}\nfunction create_each_block$5(ctx) {\n\tlet div;\n\tlet t_value = /*time*/ ctx[12] + \"\";\n\tlet t;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt = text(t_value);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[2].time);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$_times*/ 16 && t_value !== (t_value = /*time*/ ctx[12] + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty & /*$theme*/ 4 && div_class_value !== (div_class_value = /*$theme*/ ctx[2].time)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\nfunction create_fragment$8(ctx) {\n\tlet div6;\n\tlet div2;\n\tlet div0;\n\tlet div0_class_value;\n\tlet setContent_action;\n\tlet t0;\n\tlet div1;\n\tlet div1_class_value;\n\tlet div2_class_value;\n\tlet t1;\n\tlet div4;\n\tlet div3;\n\tlet div3_class_value;\n\tlet t2;\n\tlet div4_class_value;\n\tlet t3;\n\tlet div5;\n\tlet div5_class_value;\n\tlet div6_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet each_value = /*$_times*/ ctx[4];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$5(get_each_context$5(ctx, each_value, i));\n\t}\n\n\tconst default_slot_template = /*#slots*/ ctx[11].default;\n\tconst default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[10], null);\n\n\treturn {\n\t\tc() {\n\t\t\tdiv6 = element(\"div\");\n\t\t\tdiv2 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt0 = space();\n\t\t\tdiv1 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt1 = space();\n\t\t\tdiv4 = element(\"div\");\n\t\t\tdiv3 = element(\"div\");\n\t\t\tt2 = space();\n\t\t\tif (default_slot) default_slot.c();\n\t\t\tt3 = space();\n\t\t\tdiv5 = element(\"div\");\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[2].sidebarTitle);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[2].hiddenTimes);\n\t\t\tattr(div2, \"class\", div2_class_value = /*$theme*/ ctx[2].sidebar);\n\t\t\tattr(div3, \"class\", div3_class_value = /*$theme*/ ctx[2].lines);\n\t\t\tattr(div4, \"class\", div4_class_value = /*$theme*/ ctx[2].days);\n\t\t\tattr(div5, \"class\", div5_class_value = /*$theme*/ ctx[2].hiddenScroll);\n\n\t\t\tattr(div6, \"class\", div6_class_value = \"\" + ((/*allDay*/ ctx[0]\n\t\t\t? /*$theme*/ ctx[2].allDay\n\t\t\t: /*$theme*/ ctx[2].header) + (/*$_scrollable*/ ctx[3]\n\t\t\t? ' ' + /*$theme*/ ctx[2].withScroll\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div6, anchor);\n\t\t\tappend(div6, div2);\n\t\t\tappend(div2, div0);\n\t\t\tappend(div2, t0);\n\t\t\tappend(div2, div1);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t}\n\n\t\t\tappend(div6, t1);\n\t\t\tappend(div6, div4);\n\t\t\tappend(div4, div3);\n\t\t\tappend(div4, t2);\n\n\t\t\tif (default_slot) {\n\t\t\t\tdefault_slot.m(div4, null);\n\t\t\t}\n\n\t\t\tappend(div6, t3);\n\t\t\tappend(div6, div5);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = action_destroyer(setContent_action = setContent.call(null, div0, /*allDayText*/ ctx[1]));\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (!current || dirty & /*$theme*/ 4 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[2].sidebarTitle)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty & /*allDayText*/ 2) setContent_action.update.call(null, /*allDayText*/ ctx[1]);\n\n\t\t\tif (dirty & /*$theme, $_times*/ 20) {\n\t\t\t\teach_value = /*$_times*/ ctx[4];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$5(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$5(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value.length;\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 4 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[2].hiddenTimes)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 4 && div2_class_value !== (div2_class_value = /*$theme*/ ctx[2].sidebar)) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 4 && div3_class_value !== (div3_class_value = /*$theme*/ ctx[2].lines)) {\n\t\t\t\tattr(div3, \"class\", div3_class_value);\n\t\t\t}\n\n\t\t\tif (default_slot) {\n\t\t\t\tif (default_slot.p && (!current || dirty & /*$$scope*/ 1024)) {\n\t\t\t\t\tupdate_slot_base(\n\t\t\t\t\t\tdefault_slot,\n\t\t\t\t\t\tdefault_slot_template,\n\t\t\t\t\t\tctx,\n\t\t\t\t\t\t/*$$scope*/ ctx[10],\n\t\t\t\t\t\t!current\n\t\t\t\t\t\t? get_all_dirty_from_scope(/*$$scope*/ ctx[10])\n\t\t\t\t\t\t: get_slot_changes(default_slot_template, /*$$scope*/ ctx[10], dirty, null),\n\t\t\t\t\t\tnull\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 4 && div4_class_value !== (div4_class_value = /*$theme*/ ctx[2].days)) {\n\t\t\t\tattr(div4, \"class\", div4_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 4 && div5_class_value !== (div5_class_value = /*$theme*/ ctx[2].hiddenScroll)) {\n\t\t\t\tattr(div5, \"class\", div5_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*allDay, $theme, $_scrollable*/ 13 && div6_class_value !== (div6_class_value = \"\" + ((/*allDay*/ ctx[0]\n\t\t\t? /*$theme*/ ctx[2].allDay\n\t\t\t: /*$theme*/ ctx[2].header) + (/*$_scrollable*/ ctx[3]\n\t\t\t? ' ' + /*$theme*/ ctx[2].withScroll\n\t\t\t: '')))) {\n\t\t\t\tattr(div6, \"class\", div6_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(default_slot, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(default_slot, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div6);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (default_slot) default_slot.d(detaching);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\nfunction instance$8($$self, $$props, $$invalidate) {\n\tlet $allDayContent;\n\tlet $theme;\n\tlet $_scrollable;\n\tlet $_times;\n\tlet { $$slots: slots = {}, $$scope } = $$props;\n\tlet { allDay = false } = $$props;\n\tlet { _scrollable, allDayContent, theme } = getContext('state');\n\tcomponent_subscribe($$self, _scrollable, value => $$invalidate(3, $_scrollable = value));\n\tcomponent_subscribe($$self, allDayContent, value => $$invalidate(9, $allDayContent = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(2, $theme = value));\n\tlet { _times } = getContext('view-state');\n\tcomponent_subscribe($$self, _times, value => $$invalidate(4, $_times = value));\n\tlet allDayText;\n\n\t$$self.$$set = $$props => {\n\t\tif ('allDay' in $$props) $$invalidate(0, allDay = $$props.allDay);\n\t\tif ('$$scope' in $$props) $$invalidate(10, $$scope = $$props.$$scope);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$allDayContent*/ 512) {\n\t\t\t$$invalidate(1, allDayText = createAllDayContent($allDayContent));\n\t\t}\n\t};\n\n\treturn [\n\t\tallDay,\n\t\tallDayText,\n\t\t$theme,\n\t\t$_scrollable,\n\t\t$_times,\n\t\t_scrollable,\n\t\tallDayContent,\n\t\ttheme,\n\t\t_times,\n\t\t$allDayContent,\n\t\t$$scope,\n\t\tslots\n\t];\n}\n\nclass Header extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$8, create_fragment$8, safe_not_equal, { allDay: 0 });\n\t}\n}\n\n/* packages/time-grid/src/Body.svelte generated by Svelte v3.55.0 */\n\nfunction get_each_context$4(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[30] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_1$2(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[33] = list[i];\n\treturn child_ctx;\n}\n\n// (46:12) {#each $_times as time}\nfunction create_each_block_1$2(ctx) {\n\tlet div;\n\tlet t_value = /*time*/ ctx[33] + \"\";\n\tlet t;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt = text(t_value);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[5].time);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$_times*/ 2 && t_value !== (t_value = /*time*/ ctx[33] + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty[0] & /*$theme*/ 32 && div_class_value !== (div_class_value = /*$theme*/ ctx[5].time)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\n// (52:16) {#each lines as line}\nfunction create_each_block$4(ctx) {\n\tlet div;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[5].line);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$theme*/ 32 && div_class_value !== (div_class_value = /*$theme*/ ctx[5].line)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\nfunction create_fragment$7(ctx) {\n\tlet div5;\n\tlet div4;\n\tlet div1;\n\tlet div0;\n\tlet div0_class_value;\n\tlet setContent_action;\n\tlet t0;\n\tlet div1_class_value;\n\tlet t1;\n\tlet div3;\n\tlet div2;\n\tlet div2_class_value;\n\tlet t2;\n\tlet div3_class_value;\n\tlet div4_class_value;\n\tlet div5_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet each_value_1 = /*$_times*/ ctx[1];\n\tlet each_blocks_1 = [];\n\n\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\teach_blocks_1[i] = create_each_block_1$2(get_each_context_1$2(ctx, each_value_1, i));\n\t}\n\n\tlet each_value = /*lines*/ ctx[3];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$4(get_each_context$4(ctx, each_value, i));\n\t}\n\n\tconst default_slot_template = /*#slots*/ ctx[26].default;\n\tconst default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[25], null);\n\n\treturn {\n\t\tc() {\n\t\t\tdiv5 = element(\"div\");\n\t\t\tdiv4 = element(\"div\");\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt0 = space();\n\n\t\t\tfor (let i = 0; i < each_blocks_1.length; i += 1) {\n\t\t\t\teach_blocks_1[i].c();\n\t\t\t}\n\n\t\t\tt1 = space();\n\t\t\tdiv3 = element(\"div\");\n\t\t\tdiv2 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt2 = space();\n\t\t\tif (default_slot) default_slot.c();\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[5].sidebarTitle);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[5].sidebar);\n\t\t\tattr(div2, \"class\", div2_class_value = /*$theme*/ ctx[5].lines);\n\t\t\tattr(div3, \"class\", div3_class_value = /*$theme*/ ctx[5].days);\n\t\t\tattr(div4, \"class\", div4_class_value = /*$theme*/ ctx[5].content);\n\n\t\t\tattr(div5, \"class\", div5_class_value = \"\" + (/*$theme*/ ctx[5].body + (/*compact*/ ctx[2]\n\t\t\t? ' ' + /*$theme*/ ctx[5].compact\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div5, anchor);\n\t\t\tappend(div5, div4);\n\t\t\tappend(div4, div1);\n\t\t\tappend(div1, div0);\n\t\t\tappend(div1, t0);\n\n\t\t\tfor (let i = 0; i < each_blocks_1.length; i += 1) {\n\t\t\t\teach_blocks_1[i].m(div1, null);\n\t\t\t}\n\n\t\t\tappend(div4, t1);\n\t\t\tappend(div4, div3);\n\t\t\tappend(div3, div2);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div2, null);\n\t\t\t}\n\n\t\t\tappend(div3, t2);\n\n\t\t\tif (default_slot) {\n\t\t\t\tdefault_slot.m(div3, null);\n\t\t\t}\n\n\t\t\t/*div5_binding*/ ctx[27](div5);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(window, \"resize\", /*recheckScrollable*/ ctx[17]),\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, div0, /*allDayText*/ ctx[4])),\n\t\t\t\t\tlisten(div5, \"scroll\", function () {\n\t\t\t\t\t\tif (is_function(/*$_scroll*/ ctx[6])) /*$_scroll*/ ctx[6].apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[5].sidebarTitle)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty[0] & /*allDayText*/ 16) setContent_action.update.call(null, /*allDayText*/ ctx[4]);\n\n\t\t\tif (dirty[0] & /*$theme, $_times*/ 34) {\n\t\t\t\teach_value_1 = /*$_times*/ ctx[1];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_1$2(ctx, each_value_1, i);\n\n\t\t\t\t\tif (each_blocks_1[i]) {\n\t\t\t\t\t\teach_blocks_1[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks_1[i] = create_each_block_1$2(child_ctx);\n\t\t\t\t\t\teach_blocks_1[i].c();\n\t\t\t\t\t\teach_blocks_1[i].m(div1, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks_1.length; i += 1) {\n\t\t\t\t\teach_blocks_1[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks_1.length = each_value_1.length;\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[5].sidebar)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*$theme, lines*/ 40) {\n\t\t\t\teach_value = /*lines*/ ctx[3];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$4(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$4(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(div2, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value.length;\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div2_class_value !== (div2_class_value = /*$theme*/ ctx[5].lines)) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\n\t\t\tif (default_slot) {\n\t\t\t\tif (default_slot.p && (!current || dirty[0] & /*$$scope*/ 33554432)) {\n\t\t\t\t\tupdate_slot_base(\n\t\t\t\t\t\tdefault_slot,\n\t\t\t\t\t\tdefault_slot_template,\n\t\t\t\t\t\tctx,\n\t\t\t\t\t\t/*$$scope*/ ctx[25],\n\t\t\t\t\t\t!current\n\t\t\t\t\t\t? get_all_dirty_from_scope(/*$$scope*/ ctx[25])\n\t\t\t\t\t\t: get_slot_changes(default_slot_template, /*$$scope*/ ctx[25], dirty, null),\n\t\t\t\t\t\tnull\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div3_class_value !== (div3_class_value = /*$theme*/ ctx[5].days)) {\n\t\t\t\tattr(div3, \"class\", div3_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div4_class_value !== (div4_class_value = /*$theme*/ ctx[5].content)) {\n\t\t\t\tattr(div4, \"class\", div4_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme, compact*/ 36 && div5_class_value !== (div5_class_value = \"\" + (/*$theme*/ ctx[5].body + (/*compact*/ ctx[2]\n\t\t\t? ' ' + /*$theme*/ ctx[5].compact\n\t\t\t: '')))) {\n\t\t\t\tattr(div5, \"class\", div5_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(default_slot, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(default_slot, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div5);\n\t\t\tdestroy_each(each_blocks_1, detaching);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (default_slot) default_slot.d(detaching);\n\t\t\t/*div5_binding*/ ctx[27](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$7($$self, $$props, $$invalidate) {\n\tlet $_scrollable;\n\tlet $slotDuration;\n\tlet $_times;\n\tlet $slotHeight;\n\tlet $scrollTime;\n\tlet $_viewDates;\n\tlet $allDayContent;\n\tlet $_slotTimeLimits;\n\tlet $theme;\n\tlet $_scroll;\n\tlet { $$slots: slots = {}, $$scope } = $$props;\n\tlet { _intlSlotLabel, _viewDates, scrollTime, _scrollable, _scroll, allDayContent, slotDuration, slotHeight, theme } = getContext('state');\n\tcomponent_subscribe($$self, _viewDates, value => $$invalidate(22, $_viewDates = value));\n\tcomponent_subscribe($$self, scrollTime, value => $$invalidate(21, $scrollTime = value));\n\tcomponent_subscribe($$self, _scrollable, value => $$invalidate(28, $_scrollable = value));\n\tcomponent_subscribe($$self, _scroll, value => $$invalidate(6, $_scroll = value));\n\tcomponent_subscribe($$self, allDayContent, value => $$invalidate(23, $allDayContent = value));\n\tcomponent_subscribe($$self, slotDuration, value => $$invalidate(19, $slotDuration = value));\n\tcomponent_subscribe($$self, slotHeight, value => $$invalidate(20, $slotHeight = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(5, $theme = value));\n\tlet { _slotTimeLimits, _times } = getContext('view-state');\n\tcomponent_subscribe($$self, _slotTimeLimits, value => $$invalidate(24, $_slotTimeLimits = value));\n\tcomponent_subscribe($$self, _times, value => $$invalidate(1, $_times = value));\n\tlet el;\n\tlet compact;\n\tlet lines = [];\n\tlet timeLimitMin;\n\tlet allDayText;\n\n\tfunction recheckScrollable() {\n\t\tset_store_value(_scrollable, $_scrollable = hasYScroll(el), $_scrollable);\n\t}\n\n\tfunction div5_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t((((((($$invalidate(0, el), $$invalidate(22, $_viewDates)), $$invalidate(21, $scrollTime)), $$invalidate(18, timeLimitMin)), $$invalidate(19, $slotDuration)), $$invalidate(20, $slotHeight)), $$invalidate(1, $_times)), $$invalidate(24, $_slotTimeLimits));\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('$$scope' in $$props) $$invalidate(25, $$scope = $$props.$$scope);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[0] & /*$slotDuration, $_times, $_slotTimeLimits*/ 17301506) {\n\t\t\t{\n\t\t\t\t$$invalidate(2, compact = $slotDuration.seconds >= 3600);\n\t\t\t\t$$invalidate(3, lines.length = $_times.length, lines);\n\n\t\t\t\t// Use intermediate variable so that changes in _slotTimeLimits do not trigger setting the el.scrollTop\n\t\t\t\t$$invalidate(18, timeLimitMin = $_slotTimeLimits.min.seconds);\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*$allDayContent*/ 8388608) {\n\t\t\t$$invalidate(4, allDayText = createAllDayContent($allDayContent));\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*el, $_viewDates, $scrollTime, timeLimitMin, $slotDuration, $slotHeight*/ 8126465) {\n\t\t\tif (el && $_viewDates) {\n\t\t\t\t$$invalidate(0, el.scrollTop = (($scrollTime.seconds - timeLimitMin) / $slotDuration.seconds - 0.5) * $slotHeight, el);\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*el, $_times, $slotDuration*/ 524291) {\n\t\t\tif (el && $_times && $slotDuration) {\n\t\t\t\tsetTimeout(recheckScrollable);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tel,\n\t\t$_times,\n\t\tcompact,\n\t\tlines,\n\t\tallDayText,\n\t\t$theme,\n\t\t$_scroll,\n\t\t_viewDates,\n\t\tscrollTime,\n\t\t_scrollable,\n\t\t_scroll,\n\t\tallDayContent,\n\t\tslotDuration,\n\t\tslotHeight,\n\t\ttheme,\n\t\t_slotTimeLimits,\n\t\t_times,\n\t\trecheckScrollable,\n\t\ttimeLimitMin,\n\t\t$slotDuration,\n\t\t$slotHeight,\n\t\t$scrollTime,\n\t\t$_viewDates,\n\t\t$allDayContent,\n\t\t$_slotTimeLimits,\n\t\t$$scope,\n\t\tslots,\n\t\tdiv5_binding\n\t];\n}\n\nclass Body extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$7, create_fragment$7, safe_not_equal, {}, null, [-1, -1]);\n\t}\n}\n\n/* packages/time-grid/src/Event.svelte generated by Svelte v3.55.0 */\n\nfunction create_fragment$6(ctx) {\n\tlet div1;\n\tlet div0;\n\tlet div0_class_value;\n\tlet setContent_action;\n\tlet t;\n\tlet switch_instance;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tvar switch_value = /*$_interaction*/ ctx[7].resizer;\n\n\tfunction switch_props(ctx) {\n\t\treturn { props: { event: /*event*/ ctx[0] } };\n\t}\n\n\tif (switch_value) {\n\t\tswitch_instance = construct_svelte_component(switch_value, switch_props(ctx));\n\t\tswitch_instance.$on(\"pointerdown\", /*createDragHandler*/ ctx[30](true));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt = space();\n\t\t\tif (switch_instance) create_component(switch_instance.$$.fragment);\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[2].eventBody);\n\t\t\tattr(div1, \"class\", /*classes*/ ctx[4]);\n\t\t\tattr(div1, \"style\", /*style*/ ctx[5]);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tappend(div1, div0);\n\t\t\tappend(div1, t);\n\t\t\tif (switch_instance) mount_component(switch_instance, div1, null);\n\t\t\t/*div1_binding*/ ctx[43](div1);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, div0, /*content*/ ctx[6])),\n\t\t\t\t\tlisten(div1, \"click\", function () {\n\t\t\t\t\t\tif (is_function(maybeIgnore(/*createHandler*/ ctx[29](/*$eventClick*/ ctx[8], /*display*/ ctx[1])))) maybeIgnore(/*createHandler*/ ctx[29](/*$eventClick*/ ctx[8], /*display*/ ctx[1])).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"mouseenter\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[29](/*$eventMouseEnter*/ ctx[9], /*display*/ ctx[1]))) /*createHandler*/ ctx[29](/*$eventMouseEnter*/ ctx[9], /*display*/ ctx[1]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"mouseleave\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[29](/*$eventMouseLeave*/ ctx[10], /*display*/ ctx[1]))) /*createHandler*/ ctx[29](/*$eventMouseLeave*/ ctx[10], /*display*/ ctx[1]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"pointerdown\", function () {\n\t\t\t\t\t\tif (is_function(/*display*/ ctx[1] === 'auto' && /*$_draggable*/ ctx[11](/*event*/ ctx[0])\n\t\t\t\t\t\t? /*createDragHandler*/ ctx[30]()\n\t\t\t\t\t\t: undefined)) (/*display*/ ctx[1] === 'auto' && /*$_draggable*/ ctx[11](/*event*/ ctx[0])\n\t\t\t\t\t\t? /*createDragHandler*/ ctx[30]()\n\t\t\t\t\t\t: undefined).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 4 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[2].eventBody)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty[0] & /*content*/ 64) setContent_action.update.call(null, /*content*/ ctx[6]);\n\t\t\tconst switch_instance_changes = {};\n\t\t\tif (dirty[0] & /*event*/ 1) switch_instance_changes.event = /*event*/ ctx[0];\n\n\t\t\tif (switch_value !== (switch_value = /*$_interaction*/ ctx[7].resizer)) {\n\t\t\t\tif (switch_instance) {\n\t\t\t\t\tgroup_outros();\n\t\t\t\t\tconst old_component = switch_instance;\n\n\t\t\t\t\ttransition_out(old_component.$$.fragment, 1, 0, () => {\n\t\t\t\t\t\tdestroy_component(old_component, 1);\n\t\t\t\t\t});\n\n\t\t\t\t\tcheck_outros();\n\t\t\t\t}\n\n\t\t\t\tif (switch_value) {\n\t\t\t\t\tswitch_instance = construct_svelte_component(switch_value, switch_props(ctx));\n\t\t\t\t\tswitch_instance.$on(\"pointerdown\", /*createDragHandler*/ ctx[30](true));\n\t\t\t\t\tcreate_component(switch_instance.$$.fragment);\n\t\t\t\t\ttransition_in(switch_instance.$$.fragment, 1);\n\t\t\t\t\tmount_component(switch_instance, div1, null);\n\t\t\t\t} else {\n\t\t\t\t\tswitch_instance = null;\n\t\t\t\t}\n\t\t\t} else if (switch_value) {\n\t\t\t\tswitch_instance.$set(switch_instance_changes);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*classes*/ 16) {\n\t\t\t\tattr(div1, \"class\", /*classes*/ ctx[4]);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*style*/ 32) {\n\t\t\t\tattr(div1, \"style\", /*style*/ ctx[5]);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\tif (switch_instance) transition_in(switch_instance.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\tif (switch_instance) transition_out(switch_instance.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (switch_instance) destroy_component(switch_instance);\n\t\t\t/*div1_binding*/ ctx[43](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$6($$self, $$props, $$invalidate) {\n\tlet $_interaction;\n\tlet $_view;\n\tlet $eventDidMount;\n\tlet $_intlEventTime;\n\tlet $theme;\n\tlet $eventContent;\n\tlet $displayEventEnd;\n\tlet $_classes;\n\tlet $eventColor;\n\tlet $eventBackgroundColor;\n\tlet $slotHeight;\n\tlet $_slotTimeLimits;\n\tlet $slotDuration;\n\tlet $eventClick;\n\tlet $eventMouseEnter;\n\tlet $eventMouseLeave;\n\tlet $_draggable;\n\tlet { date } = $$props;\n\tlet { chunk } = $$props;\n\tlet { displayEventEnd, eventBackgroundColor, eventColor, eventContent, eventClick, eventDidMount, eventMouseEnter, eventMouseLeave, slotDuration, slotHeight, theme, _view, _intlEventTime, _interaction, _classes, _draggable } = getContext('state');\n\tcomponent_subscribe($$self, displayEventEnd, value => $$invalidate(36, $displayEventEnd = value));\n\tcomponent_subscribe($$self, eventBackgroundColor, value => $$invalidate(39, $eventBackgroundColor = value));\n\tcomponent_subscribe($$self, eventColor, value => $$invalidate(38, $eventColor = value));\n\tcomponent_subscribe($$self, eventContent, value => $$invalidate(35, $eventContent = value));\n\tcomponent_subscribe($$self, eventClick, value => $$invalidate(8, $eventClick = value));\n\tcomponent_subscribe($$self, eventDidMount, value => $$invalidate(45, $eventDidMount = value));\n\tcomponent_subscribe($$self, eventMouseEnter, value => $$invalidate(9, $eventMouseEnter = value));\n\tcomponent_subscribe($$self, eventMouseLeave, value => $$invalidate(10, $eventMouseLeave = value));\n\tcomponent_subscribe($$self, slotDuration, value => $$invalidate(42, $slotDuration = value));\n\tcomponent_subscribe($$self, slotHeight, value => $$invalidate(40, $slotHeight = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(2, $theme = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(33, $_view = value));\n\tcomponent_subscribe($$self, _intlEventTime, value => $$invalidate(34, $_intlEventTime = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(7, $_interaction = value));\n\tcomponent_subscribe($$self, _classes, value => $$invalidate(37, $_classes = value));\n\tcomponent_subscribe($$self, _draggable, value => $$invalidate(11, $_draggable = value));\n\tlet { _slotTimeLimits, _viewResources } = getContext('view-state');\n\tcomponent_subscribe($$self, _slotTimeLimits, value => $$invalidate(41, $_slotTimeLimits = value));\n\tlet el;\n\tlet event;\n\tlet display;\n\tlet classes;\n\tlet style;\n\tlet content;\n\tlet timeText;\n\n\tonMount(() => {\n\t\tif (is_function($eventDidMount)) {\n\t\t\t$eventDidMount({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\ttimeText,\n\t\t\t\tel,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t});\n\t\t}\n\t});\n\n\tfunction createHandler(fn, display) {\n\t\treturn display !== 'preview' && is_function(fn)\n\t\t? jsEvent => fn({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\tel,\n\t\t\t\tjsEvent,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t})\n\t\t: undefined;\n\t}\n\n\tfunction createDragHandler(resize) {\n\t\treturn jsEvent => $_interaction.action.dragTimeGrid(event, el, jsEvent, _viewResources, false, resize);\n\t}\n\n\tfunction div1_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(3, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('date' in $$props) $$invalidate(31, date = $$props.date);\n\t\tif ('chunk' in $$props) $$invalidate(32, chunk = $$props.chunk);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[1] & /*chunk*/ 2) {\n\t\t\t$$invalidate(0, event = chunk.event);\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*event, style, display, $theme*/ 39 | $$self.$$.dirty[1] & /*$slotDuration, $_slotTimeLimits, chunk, date, $slotHeight, $eventBackgroundColor, $eventColor, $_classes*/ 4035) {\n\t\t\t{\n\t\t\t\t$$invalidate(1, display = event.display);\n\n\t\t\t\t// Style\n\t\t\t\tlet step = $slotDuration.seconds / 60;\n\n\t\t\t\tlet offset = $_slotTimeLimits.min.seconds / 60;\n\t\t\t\tlet start = (chunk.start - date) / 1000 / 60;\n\t\t\t\tlet end = (chunk.end - date) / 1000 / 60;\n\t\t\t\tlet top = (start - offset) / step * $slotHeight;\n\t\t\t\tlet height = (end - start) / step * $slotHeight;\n\t\t\t\tlet maxHeight = ($_slotTimeLimits.max.seconds / 60 - start) / step * $slotHeight;\n\t\t\t\tlet bgColor = event.backgroundColor || $eventBackgroundColor || $eventColor;\n\t\t\t\t$$invalidate(5, style = `top:${top}px;` + `min-height:${height}px;` + `height:${height}px;` + `max-height:${maxHeight}px;`);\n\n\t\t\t\tif (bgColor) {\n\t\t\t\t\t$$invalidate(5, style += `background-color:${bgColor};`);\n\t\t\t\t}\n\n\t\t\t\tif (display === 'auto' || display === 'ghost') {\n\t\t\t\t\t$$invalidate(5, style += `z-index:${chunk.column + 1};` + `left:${100 / chunk.group.columns.length * chunk.column}%;` + `width:${100 / chunk.group.columns.length * 0.5 * (1 + chunk.group.columns.length - chunk.column)}%;`);\n\t\t\t\t}\n\n\t\t\t\t// Class\n\t\t\t\t$$invalidate(4, classes = $_classes(display === 'background' ? $theme.bgEvent : $theme.event, event));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*$theme*/ 4 | $$self.$$.dirty[1] & /*chunk, $displayEventEnd, $eventContent, $_intlEventTime, $_view*/ 62) {\n\t\t\t// Content\n\t\t\t$$invalidate(6, [timeText, content] = createEventContent(chunk, $displayEventEnd, $eventContent, $theme, $_intlEventTime, $_view), content);\n\t\t}\n\t};\n\n\treturn [\n\t\tevent,\n\t\tdisplay,\n\t\t$theme,\n\t\tel,\n\t\tclasses,\n\t\tstyle,\n\t\tcontent,\n\t\t$_interaction,\n\t\t$eventClick,\n\t\t$eventMouseEnter,\n\t\t$eventMouseLeave,\n\t\t$_draggable,\n\t\tdisplayEventEnd,\n\t\teventBackgroundColor,\n\t\teventColor,\n\t\teventContent,\n\t\teventClick,\n\t\teventDidMount,\n\t\teventMouseEnter,\n\t\teventMouseLeave,\n\t\tslotDuration,\n\t\tslotHeight,\n\t\ttheme,\n\t\t_view,\n\t\t_intlEventTime,\n\t\t_interaction,\n\t\t_classes,\n\t\t_draggable,\n\t\t_slotTimeLimits,\n\t\tcreateHandler,\n\t\tcreateDragHandler,\n\t\tdate,\n\t\tchunk,\n\t\t$_view,\n\t\t$_intlEventTime,\n\t\t$eventContent,\n\t\t$displayEventEnd,\n\t\t$_classes,\n\t\t$eventColor,\n\t\t$eventBackgroundColor,\n\t\t$slotHeight,\n\t\t$_slotTimeLimits,\n\t\t$slotDuration,\n\t\tdiv1_binding\n\t];\n}\n\nclass Event$1 extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$6, create_fragment$6, safe_not_equal, { date: 31, chunk: 32 }, null, [-1, -1]);\n\t}\n}\n\n/* packages/time-grid/src/NowIndicator.svelte generated by Svelte v3.55.0 */\n\nfunction create_fragment$5(ctx) {\n\tlet div;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[1].nowIndicator);\n\t\t\tset_style(div, \"top\", /*top*/ ctx[0] + \"px\");\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*$theme*/ 2 && div_class_value !== (div_class_value = /*$theme*/ ctx[1].nowIndicator)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*top*/ 1) {\n\t\t\t\tset_style(div, \"top\", /*top*/ ctx[0] + \"px\");\n\t\t\t}\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\nfunction instance$5($$self, $$props, $$invalidate) {\n\tlet $slotHeight;\n\tlet $_slotTimeLimits;\n\tlet $slotDuration;\n\tlet $_today;\n\tlet $_now;\n\tlet $theme;\n\tlet { slotDuration, slotHeight, theme, _now, _today } = getContext('state');\n\tcomponent_subscribe($$self, slotDuration, value => $$invalidate(11, $slotDuration = value));\n\tcomponent_subscribe($$self, slotHeight, value => $$invalidate(9, $slotHeight = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\tcomponent_subscribe($$self, _now, value => $$invalidate(13, $_now = value));\n\tcomponent_subscribe($$self, _today, value => $$invalidate(12, $_today = value));\n\tlet { _slotTimeLimits } = getContext('view-state');\n\tcomponent_subscribe($$self, _slotTimeLimits, value => $$invalidate(10, $_slotTimeLimits = value));\n\tlet start;\n\tlet top = 0;\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$_now, $_today*/ 12288) {\n\t\t\t$$invalidate(8, start = ($_now - $_today) / 1000 / 60);\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$slotDuration, $_slotTimeLimits, start, $slotHeight*/ 3840) {\n\t\t\t{\n\t\t\t\t// Style\n\t\t\t\tlet step = $slotDuration.seconds / 60;\n\n\t\t\t\tlet offset = $_slotTimeLimits.min.seconds / 60;\n\t\t\t\t$$invalidate(0, top = (start - offset) / step * $slotHeight);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\ttop,\n\t\t$theme,\n\t\tslotDuration,\n\t\tslotHeight,\n\t\ttheme,\n\t\t_now,\n\t\t_today,\n\t\t_slotTimeLimits,\n\t\tstart,\n\t\t$slotHeight,\n\t\t$_slotTimeLimits,\n\t\t$slotDuration,\n\t\t$_today,\n\t\t$_now\n\t];\n}\n\nclass NowIndicator extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$5, create_fragment$5, safe_not_equal, {});\n\t}\n}\n\n/* packages/time-grid/src/Day.svelte generated by Svelte v3.55.0 */\n\nfunction get_each_context$3(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[42] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_1$1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[42] = list[i];\n\treturn child_ctx;\n}\n\n// (112:8) {#each bgChunks as chunk (chunk.event)}\nfunction create_each_block_1$1(key_1, ctx) {\n\tlet first;\n\tlet event;\n\tlet current;\n\n\tevent = new Event$1({\n\t\t\tprops: {\n\t\t\t\tdate: /*date*/ ctx[0],\n\t\t\t\tchunk: /*chunk*/ ctx[42]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tkey: key_1,\n\t\tfirst: null,\n\t\tc() {\n\t\t\tfirst = empty();\n\t\t\tcreate_component(event.$$.fragment);\n\t\t\tthis.first = first;\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, first, anchor);\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*date*/ 1) event_changes.date = /*date*/ ctx[0];\n\t\t\tif (dirty[0] & /*bgChunks*/ 4) event_changes.chunk = /*chunk*/ ctx[42];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(first);\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\n// (118:8) {#if iChunks[1]}\nfunction create_if_block_2(ctx) {\n\tlet event;\n\tlet current;\n\n\tevent = new Event$1({\n\t\t\tprops: {\n\t\t\t\tdate: /*date*/ ctx[0],\n\t\t\t\tchunk: /*iChunks*/ ctx[4][1]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*date*/ 1) event_changes.date = /*date*/ ctx[0];\n\t\t\tif (dirty[0] & /*iChunks*/ 16) event_changes.chunk = /*iChunks*/ ctx[4][1];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\n// (121:8) {#each chunks as chunk (chunk.event)}\nfunction create_each_block$3(key_1, ctx) {\n\tlet first;\n\tlet event;\n\tlet current;\n\n\tevent = new Event$1({\n\t\t\tprops: {\n\t\t\t\tdate: /*date*/ ctx[0],\n\t\t\t\tchunk: /*chunk*/ ctx[42]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tkey: key_1,\n\t\tfirst: null,\n\t\tc() {\n\t\t\tfirst = empty();\n\t\t\tcreate_component(event.$$.fragment);\n\t\t\tthis.first = first;\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, first, anchor);\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*date*/ 1) event_changes.date = /*date*/ ctx[0];\n\t\t\tif (dirty[0] & /*chunks*/ 2) event_changes.chunk = /*chunk*/ ctx[42];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(first);\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\n// (125:8) {#if iChunks[0] && !iChunks[0].event.allDay}\nfunction create_if_block_1(ctx) {\n\tlet event;\n\tlet current;\n\n\tevent = new Event$1({\n\t\t\tprops: {\n\t\t\t\tdate: /*date*/ ctx[0],\n\t\t\t\tchunk: /*iChunks*/ ctx[4][0]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*date*/ 1) event_changes.date = /*date*/ ctx[0];\n\t\t\tif (dirty[0] & /*iChunks*/ 16) event_changes.chunk = /*iChunks*/ ctx[4][0];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\n// (131:8) {#if $nowIndicator && isToday}\nfunction create_if_block$2(ctx) {\n\tlet nowindicator;\n\tlet current;\n\tnowindicator = new NowIndicator({});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(nowindicator.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(nowindicator, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(nowindicator.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(nowindicator.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(nowindicator, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$4(ctx) {\n\tlet div3;\n\tlet div0;\n\tlet each_blocks_1 = [];\n\tlet each0_lookup = new Map();\n\tlet div0_class_value;\n\tlet t0;\n\tlet div1;\n\tlet t1;\n\tlet each_blocks = [];\n\tlet each1_lookup = new Map();\n\tlet t2;\n\tlet div1_class_value;\n\tlet t3;\n\tlet div2;\n\tlet div2_class_value;\n\tlet div3_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet each_value_1 = /*bgChunks*/ ctx[2];\n\tconst get_key = ctx => /*chunk*/ ctx[42].event;\n\n\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\tlet child_ctx = get_each_context_1$1(ctx, each_value_1, i);\n\t\tlet key = get_key(child_ctx);\n\t\teach0_lookup.set(key, each_blocks_1[i] = create_each_block_1$1(key, child_ctx));\n\t}\n\n\tlet if_block0 = /*iChunks*/ ctx[4][1] && create_if_block_2(ctx);\n\tlet each_value = /*chunks*/ ctx[1];\n\tconst get_key_1 = ctx => /*chunk*/ ctx[42].event;\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\tlet child_ctx = get_each_context$3(ctx, each_value, i);\n\t\tlet key = get_key_1(child_ctx);\n\t\teach1_lookup.set(key, each_blocks[i] = create_each_block$3(key, child_ctx));\n\t}\n\n\tlet if_block1 = /*iChunks*/ ctx[4][0] && !/*iChunks*/ ctx[4][0].event.allDay && create_if_block_1(ctx);\n\tlet if_block2 = /*$nowIndicator*/ ctx[11] && /*isToday*/ ctx[5] && create_if_block$2();\n\n\treturn {\n\t\tc() {\n\t\t\tdiv3 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks_1.length; i += 1) {\n\t\t\t\teach_blocks_1[i].c();\n\t\t\t}\n\n\t\t\tt0 = space();\n\t\t\tdiv1 = element(\"div\");\n\t\t\tif (if_block0) if_block0.c();\n\t\t\tt1 = space();\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt2 = space();\n\t\t\tif (if_block1) if_block1.c();\n\t\t\tt3 = space();\n\t\t\tdiv2 = element(\"div\");\n\t\t\tif (if_block2) if_block2.c();\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[7].bgEvents);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[7].events);\n\t\t\tattr(div2, \"class\", div2_class_value = /*$theme*/ ctx[7].extra);\n\n\t\t\tattr(div3, \"class\", div3_class_value = \"\" + (/*$theme*/ ctx[7].day + (/*isToday*/ ctx[5] ? ' ' + /*$theme*/ ctx[7].today : '') + (/*highlight*/ ctx[6]\n\t\t\t? ' ' + /*$theme*/ ctx[7].highlight\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div3, anchor);\n\t\t\tappend(div3, div0);\n\n\t\t\tfor (let i = 0; i < each_blocks_1.length; i += 1) {\n\t\t\t\teach_blocks_1[i].m(div0, null);\n\t\t\t}\n\n\t\t\tappend(div3, t0);\n\t\t\tappend(div3, div1);\n\t\t\tif (if_block0) if_block0.m(div1, null);\n\t\t\tappend(div1, t1);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t}\n\n\t\t\tappend(div1, t2);\n\t\t\tif (if_block1) if_block1.m(div1, null);\n\t\t\tappend(div3, t3);\n\t\t\tappend(div3, div2);\n\t\t\tif (if_block2) if_block2.m(div2, null);\n\t\t\t/*div3_binding*/ ctx[36](div3);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(div3, \"click\", function () {\n\t\t\t\t\t\tif (is_function(maybeIgnore(/*createClickHandler*/ ctx[25](/*$dateClick*/ ctx[8])))) maybeIgnore(/*createClickHandler*/ ctx[25](/*$dateClick*/ ctx[8])).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div3, \"pointerenter\", function () {\n\t\t\t\t\t\tif (is_function(/*createPointerEnterHandler*/ ctx[26](/*$_interaction*/ ctx[9]))) /*createPointerEnterHandler*/ ctx[26](/*$_interaction*/ ctx[9]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div3, \"pointerleave\", function () {\n\t\t\t\t\t\tif (is_function(createPointerLeaveHandler(/*$_interaction*/ ctx[9]))) createPointerLeaveHandler(/*$_interaction*/ ctx[9]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div3, \"pointerdown\", function () {\n\t\t\t\t\t\tif (is_function(/*createPointerDownHandler*/ ctx[27](/*$_interaction*/ ctx[9], /*$selectable*/ ctx[10]))) /*createPointerDownHandler*/ ctx[27](/*$_interaction*/ ctx[9], /*$selectable*/ ctx[10]).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (dirty[0] & /*date, bgChunks*/ 5) {\n\t\t\t\teach_value_1 = /*bgChunks*/ ctx[2];\n\t\t\t\tgroup_outros();\n\t\t\t\teach_blocks_1 = update_keyed_each(each_blocks_1, dirty, get_key, 1, ctx, each_value_1, each0_lookup, div0, outro_and_destroy_block, create_each_block_1$1, null, get_each_context_1$1);\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 128 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[7].bgEvents)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (/*iChunks*/ ctx[4][1]) {\n\t\t\t\tif (if_block0) {\n\t\t\t\t\tif_block0.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty[0] & /*iChunks*/ 16) {\n\t\t\t\t\t\ttransition_in(if_block0, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block0 = create_if_block_2(ctx);\n\t\t\t\t\tif_block0.c();\n\t\t\t\t\ttransition_in(if_block0, 1);\n\t\t\t\t\tif_block0.m(div1, t1);\n\t\t\t\t}\n\t\t\t} else if (if_block0) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block0, 1, 1, () => {\n\t\t\t\t\tif_block0 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*date, chunks*/ 3) {\n\t\t\t\teach_value = /*chunks*/ ctx[1];\n\t\t\t\tgroup_outros();\n\t\t\t\teach_blocks = update_keyed_each(each_blocks, dirty, get_key_1, 1, ctx, each_value, each1_lookup, div1, outro_and_destroy_block, create_each_block$3, t2, get_each_context$3);\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (/*iChunks*/ ctx[4][0] && !/*iChunks*/ ctx[4][0].event.allDay) {\n\t\t\t\tif (if_block1) {\n\t\t\t\t\tif_block1.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty[0] & /*iChunks*/ 16) {\n\t\t\t\t\t\ttransition_in(if_block1, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block1 = create_if_block_1(ctx);\n\t\t\t\t\tif_block1.c();\n\t\t\t\t\ttransition_in(if_block1, 1);\n\t\t\t\t\tif_block1.m(div1, null);\n\t\t\t\t}\n\t\t\t} else if (if_block1) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block1, 1, 1, () => {\n\t\t\t\t\tif_block1 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 128 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[7].events)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (/*$nowIndicator*/ ctx[11] && /*isToday*/ ctx[5]) {\n\t\t\t\tif (if_block2) {\n\t\t\t\t\tif (dirty[0] & /*$nowIndicator, isToday*/ 2080) {\n\t\t\t\t\t\ttransition_in(if_block2, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block2 = create_if_block$2();\n\t\t\t\t\tif_block2.c();\n\t\t\t\t\ttransition_in(if_block2, 1);\n\t\t\t\t\tif_block2.m(div2, null);\n\t\t\t\t}\n\t\t\t} else if (if_block2) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block2, 1, 1, () => {\n\t\t\t\t\tif_block2 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 128 && div2_class_value !== (div2_class_value = /*$theme*/ ctx[7].extra)) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme, isToday, highlight*/ 224 && div3_class_value !== (div3_class_value = \"\" + (/*$theme*/ ctx[7].day + (/*isToday*/ ctx[5] ? ' ' + /*$theme*/ ctx[7].today : '') + (/*highlight*/ ctx[6]\n\t\t\t? ' ' + /*$theme*/ ctx[7].highlight\n\t\t\t: '')))) {\n\t\t\t\tattr(div3, \"class\", div3_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks_1[i]);\n\t\t\t}\n\n\t\t\ttransition_in(if_block0);\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\ttransition_in(if_block1);\n\t\t\ttransition_in(if_block2);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\tfor (let i = 0; i < each_blocks_1.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks_1[i]);\n\t\t\t}\n\n\t\t\ttransition_out(if_block0);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\ttransition_out(if_block1);\n\t\t\ttransition_out(if_block2);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div3);\n\n\t\t\tfor (let i = 0; i < each_blocks_1.length; i += 1) {\n\t\t\t\teach_blocks_1[i].d();\n\t\t\t}\n\n\t\t\tif (if_block0) if_block0.d();\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].d();\n\t\t\t}\n\n\t\t\tif (if_block1) if_block1.d();\n\t\t\tif (if_block2) if_block2.d();\n\t\t\t/*div3_binding*/ ctx[36](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction createPointerLeaveHandler(interaction) {\n\treturn interaction.pointer\n\t? interaction.pointer.leave\n\t: undefined;\n}\n\nfunction instance$4($$self, $$props, $$invalidate) {\n\tlet $_slotTimeLimits;\n\tlet $_view;\n\tlet $slotDuration;\n\tlet $slotHeight;\n\tlet $highlightedDates;\n\tlet $_today;\n\tlet $_iEvents;\n\tlet $_events;\n\tlet $theme;\n\tlet $dateClick;\n\tlet $_interaction;\n\tlet $selectable;\n\tlet $nowIndicator;\n\tlet { date } = $$props;\n\tlet { resource = undefined } = $$props;\n\tlet { _events, _iEvents, dateClick, highlightedDates, nowIndicator, slotDuration, slotHeight, selectable, theme, _interaction, _today, _view } = getContext('state');\n\tcomponent_subscribe($$self, _events, value => $$invalidate(35, $_events = value));\n\tcomponent_subscribe($$self, _iEvents, value => $$invalidate(34, $_iEvents = value));\n\tcomponent_subscribe($$self, dateClick, value => $$invalidate(8, $dateClick = value));\n\tcomponent_subscribe($$self, highlightedDates, value => $$invalidate(32, $highlightedDates = value));\n\tcomponent_subscribe($$self, nowIndicator, value => $$invalidate(11, $nowIndicator = value));\n\tcomponent_subscribe($$self, slotDuration, value => $$invalidate(38, $slotDuration = value));\n\tcomponent_subscribe($$self, slotHeight, value => $$invalidate(39, $slotHeight = value));\n\tcomponent_subscribe($$self, selectable, value => $$invalidate(10, $selectable = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(7, $theme = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(9, $_interaction = value));\n\tcomponent_subscribe($$self, _today, value => $$invalidate(33, $_today = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(37, $_view = value));\n\tlet { _slotTimeLimits, _viewResources } = getContext('view-state');\n\tcomponent_subscribe($$self, _slotTimeLimits, value => $$invalidate(31, $_slotTimeLimits = value));\n\tlet el;\n\tlet chunks, bgChunks, iChunks = [];\n\tlet isToday, highlight;\n\tlet start, end;\n\n\tfunction createClickHandler(fn) {\n\t\treturn is_function(fn)\n\t\t? jsEvent => {\n\t\t\t\tlet r = rect(el);\n\t\t\t\tlet y = jsEvent.clientY - r.top;\n\t\t\t\tlet d = addDuration(cloneDate(date), $slotDuration, Math.floor(y / $slotHeight + $_slotTimeLimits.min.seconds / $slotDuration.seconds));\n\n\t\t\t\tfn({\n\t\t\t\t\tallDay: false,\n\t\t\t\t\tdate: toLocalDate(d),\n\t\t\t\t\tdateStr: toISOString(d),\n\t\t\t\t\tdayEl: el,\n\t\t\t\t\tjsEvent,\n\t\t\t\t\tview: toViewWithLocalDates($_view),\n\t\t\t\t\tresource\n\t\t\t\t});\n\t\t\t}\n\t\t: undefined;\n\t}\n\n\tfunction createPointerEnterHandler(interaction) {\n\t\treturn interaction.pointer\n\t\t? jsEvent => interaction.pointer.enterTimeGrid(date, el, jsEvent, _slotTimeLimits, resource)\n\t\t: undefined;\n\t}\n\n\tfunction createPointerDownHandler(interaction, selectable) {\n\t\treturn selectable && interaction.action\n\t\t? jsEvent => interaction.action.selectTimeGrid(date, el, jsEvent, _viewResources, $_slotTimeLimits, false)\n\t\t: undefined;\n\t}\n\n\tfunction intersects(event) {\n\t\treturn event.start < end && event.end > start && (resource === undefined || event.resourceIds.includes(resource.id));\n\t}\n\n\tfunction div3_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(3, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('date' in $$props) $$invalidate(0, date = $$props.date);\n\t\tif ('resource' in $$props) $$invalidate(28, resource = $$props.resource);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[0] & /*date*/ 1 | $$self.$$.dirty[1] & /*$_slotTimeLimits*/ 1) {\n\t\t\t{\n\t\t\t\t$$invalidate(29, start = addDuration(cloneDate(date), $_slotTimeLimits.min));\n\t\t\t\t$$invalidate(30, end = addDuration(cloneDate(date), $_slotTimeLimits.max));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*start, end, bgChunks, chunks*/ 1610612742 | $$self.$$.dirty[1] & /*$_events*/ 16) {\n\t\t\t{\n\t\t\t\t$$invalidate(1, chunks = []);\n\t\t\t\t$$invalidate(2, bgChunks = []);\n\n\t\t\t\tfor (let event of $_events) {\n\t\t\t\t\tif (!event.allDay && intersects(event)) {\n\t\t\t\t\t\tlet chunk = createEventChunk(event, start, end);\n\n\t\t\t\t\t\tswitch (event.display) {\n\t\t\t\t\t\t\tcase 'background':\n\t\t\t\t\t\t\t\tbgChunks.push(chunk);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\tchunks.push(chunk);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroupEventChunks(chunks);\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*start, end*/ 1610612736 | $$self.$$.dirty[1] & /*$_iEvents*/ 8) {\n\t\t\t$$invalidate(4, iChunks = $_iEvents.map(event => event && intersects(event)\n\t\t\t? createEventChunk(event, start, end)\n\t\t\t: null));\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*date*/ 1 | $$self.$$.dirty[1] & /*$_today*/ 4) {\n\t\t\t$$invalidate(5, isToday = datesEqual(date, $_today));\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*date*/ 1 | $$self.$$.dirty[1] & /*$highlightedDates*/ 2) {\n\t\t\t$$invalidate(6, highlight = $highlightedDates.some(d => datesEqual(d, date)));\n\t\t}\n\t};\n\n\treturn [\n\t\tdate,\n\t\tchunks,\n\t\tbgChunks,\n\t\tel,\n\t\tiChunks,\n\t\tisToday,\n\t\thighlight,\n\t\t$theme,\n\t\t$dateClick,\n\t\t$_interaction,\n\t\t$selectable,\n\t\t$nowIndicator,\n\t\t_events,\n\t\t_iEvents,\n\t\tdateClick,\n\t\thighlightedDates,\n\t\tnowIndicator,\n\t\tslotDuration,\n\t\tslotHeight,\n\t\tselectable,\n\t\ttheme,\n\t\t_interaction,\n\t\t_today,\n\t\t_view,\n\t\t_slotTimeLimits,\n\t\tcreateClickHandler,\n\t\tcreatePointerEnterHandler,\n\t\tcreatePointerDownHandler,\n\t\tresource,\n\t\tstart,\n\t\tend,\n\t\t$_slotTimeLimits,\n\t\t$highlightedDates,\n\t\t$_today,\n\t\t$_iEvents,\n\t\t$_events,\n\t\tdiv3_binding\n\t];\n}\n\nclass Day$1 extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$4, create_fragment$4, safe_not_equal, { date: 0, resource: 28 }, null, [-1, -1]);\n\t}\n}\n\n/* packages/time-grid/src/all-day/Event.svelte generated by Svelte v3.55.0 */\n\nfunction create_fragment$3(ctx) {\n\tlet div1;\n\tlet div0;\n\tlet div0_class_value;\n\tlet setContent_action;\n\tlet t;\n\tlet switch_instance;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tvar switch_value = /*$_interaction*/ ctx[7].resizer;\n\n\tfunction switch_props(ctx) {\n\t\treturn { props: { event: /*event*/ ctx[0] } };\n\t}\n\n\tif (switch_value) {\n\t\tswitch_instance = construct_svelte_component(switch_value, switch_props(ctx));\n\t\tswitch_instance.$on(\"pointerdown\", /*createDragHandler*/ ctx[27](true));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt = space();\n\t\t\tif (switch_instance) create_component(switch_instance.$$.fragment);\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[1].eventBody);\n\t\t\tattr(div1, \"class\", /*classes*/ ctx[3]);\n\t\t\tattr(div1, \"style\", /*style*/ ctx[4]);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tappend(div1, div0);\n\t\t\tappend(div1, t);\n\t\t\tif (switch_instance) mount_component(switch_instance, div1, null);\n\t\t\t/*div1_binding*/ ctx[39](div1);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(window, \"resize\", /*reposition*/ ctx[28]),\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, div0, /*content*/ ctx[5])),\n\t\t\t\t\tlisten(div1, \"click\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[26](/*$eventClick*/ ctx[8], /*display*/ ctx[6]))) /*createHandler*/ ctx[26](/*$eventClick*/ ctx[8], /*display*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"mouseenter\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[26](/*$eventMouseEnter*/ ctx[9], /*display*/ ctx[6]))) /*createHandler*/ ctx[26](/*$eventMouseEnter*/ ctx[9], /*display*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"mouseleave\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[26](/*$eventMouseLeave*/ ctx[10], /*display*/ ctx[6]))) /*createHandler*/ ctx[26](/*$eventMouseLeave*/ ctx[10], /*display*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"pointerdown\", function () {\n\t\t\t\t\t\tif (is_function(/*display*/ ctx[6] === 'auto' && /*$_draggable*/ ctx[11](/*event*/ ctx[0])\n\t\t\t\t\t\t? /*createDragHandler*/ ctx[27]()\n\t\t\t\t\t\t: undefined)) (/*display*/ ctx[6] === 'auto' && /*$_draggable*/ ctx[11](/*event*/ ctx[0])\n\t\t\t\t\t\t? /*createDragHandler*/ ctx[27]()\n\t\t\t\t\t\t: undefined).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[1].eventBody)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty[0] & /*content*/ 32) setContent_action.update.call(null, /*content*/ ctx[5]);\n\t\t\tconst switch_instance_changes = {};\n\t\t\tif (dirty[0] & /*event*/ 1) switch_instance_changes.event = /*event*/ ctx[0];\n\n\t\t\tif (switch_value !== (switch_value = /*$_interaction*/ ctx[7].resizer)) {\n\t\t\t\tif (switch_instance) {\n\t\t\t\t\tgroup_outros();\n\t\t\t\t\tconst old_component = switch_instance;\n\n\t\t\t\t\ttransition_out(old_component.$$.fragment, 1, 0, () => {\n\t\t\t\t\t\tdestroy_component(old_component, 1);\n\t\t\t\t\t});\n\n\t\t\t\t\tcheck_outros();\n\t\t\t\t}\n\n\t\t\t\tif (switch_value) {\n\t\t\t\t\tswitch_instance = construct_svelte_component(switch_value, switch_props(ctx));\n\t\t\t\t\tswitch_instance.$on(\"pointerdown\", /*createDragHandler*/ ctx[27](true));\n\t\t\t\t\tcreate_component(switch_instance.$$.fragment);\n\t\t\t\t\ttransition_in(switch_instance.$$.fragment, 1);\n\t\t\t\t\tmount_component(switch_instance, div1, null);\n\t\t\t\t} else {\n\t\t\t\t\tswitch_instance = null;\n\t\t\t\t}\n\t\t\t} else if (switch_value) {\n\t\t\t\tswitch_instance.$set(switch_instance_changes);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*classes*/ 8) {\n\t\t\t\tattr(div1, \"class\", /*classes*/ ctx[3]);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*style*/ 16) {\n\t\t\t\tattr(div1, \"style\", /*style*/ ctx[4]);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\tif (switch_instance) transition_in(switch_instance.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\tif (switch_instance) transition_out(switch_instance.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (switch_instance) destroy_component(switch_instance);\n\t\t\t/*div1_binding*/ ctx[39](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$3($$self, $$props, $$invalidate) {\n\tlet $_interaction;\n\tlet $_view;\n\tlet $eventDidMount;\n\tlet $_intlEventTime;\n\tlet $theme;\n\tlet $eventContent;\n\tlet $displayEventEnd;\n\tlet $_classes;\n\tlet $eventColor;\n\tlet $eventBackgroundColor;\n\tlet $eventClick;\n\tlet $eventMouseEnter;\n\tlet $eventMouseLeave;\n\tlet $_draggable;\n\tlet { chunk } = $$props;\n\tlet { longChunks = {} } = $$props;\n\tlet { displayEventEnd, eventBackgroundColor, eventClick, eventColor, eventContent, eventDidMount, eventMouseEnter, eventMouseLeave, theme, _view, _intlEventTime, _interaction, _classes, _draggable } = getContext('state');\n\tcomponent_subscribe($$self, displayEventEnd, value => $$invalidate(35, $displayEventEnd = value));\n\tcomponent_subscribe($$self, eventBackgroundColor, value => $$invalidate(38, $eventBackgroundColor = value));\n\tcomponent_subscribe($$self, eventClick, value => $$invalidate(8, $eventClick = value));\n\tcomponent_subscribe($$self, eventColor, value => $$invalidate(37, $eventColor = value));\n\tcomponent_subscribe($$self, eventContent, value => $$invalidate(34, $eventContent = value));\n\tcomponent_subscribe($$self, eventDidMount, value => $$invalidate(41, $eventDidMount = value));\n\tcomponent_subscribe($$self, eventMouseEnter, value => $$invalidate(9, $eventMouseEnter = value));\n\tcomponent_subscribe($$self, eventMouseLeave, value => $$invalidate(10, $eventMouseLeave = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(32, $_view = value));\n\tcomponent_subscribe($$self, _intlEventTime, value => $$invalidate(33, $_intlEventTime = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(7, $_interaction = value));\n\tcomponent_subscribe($$self, _classes, value => $$invalidate(36, $_classes = value));\n\tcomponent_subscribe($$self, _draggable, value => $$invalidate(11, $_draggable = value));\n\tlet { _viewResources } = getContext('view-state');\n\tcreateEventDispatcher();\n\tlet el;\n\tlet event;\n\tlet classes;\n\tlet style;\n\tlet content;\n\tlet timeText;\n\tlet margin = 1;\n\tlet display;\n\n\tonMount(() => {\n\t\tif (is_function($eventDidMount)) {\n\t\t\t$eventDidMount({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\ttimeText,\n\t\t\t\tel,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t});\n\t\t}\n\t});\n\n\tafterUpdate(reposition);\n\n\tfunction createHandler(fn, display) {\n\t\treturn display !== 'preview' && is_function(fn)\n\t\t? jsEvent => fn({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\tel,\n\t\t\t\tjsEvent,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t})\n\t\t: undefined;\n\t}\n\n\tfunction createDragHandler(resize) {\n\t\treturn jsEvent => $_interaction.action.dragTimeGrid(event, el, jsEvent, _viewResources, true, resize);\n\t}\n\n\tfunction reposition() {\n\t\tif (!el || display === 'preview') {\n\t\t\treturn;\n\t\t}\n\n\t\t$$invalidate(29, chunk.top = 0, chunk);\n\n\t\tif (chunk.prev) {\n\t\t\tif (chunk.prev.bottom === undefined) {\n\t\t\t\t// 'prev' is not ready yet, try again later\n\t\t\t\ttick().then(reposition);\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$$invalidate(29, chunk.top = chunk.prev.bottom + 1, chunk);\n\t\t}\n\n\t\t$$invalidate(29, chunk.bottom = chunk.top + height(el), chunk);\n\t\tlet m = 1;\n\t\tlet key = chunk.date.getTime();\n\n\t\tif (longChunks[key]) {\n\t\t\tfor (let longChunk of longChunks[key]) {\n\t\t\t\tif (longChunk.bottom === undefined) {\n\t\t\t\t\t// 'longChunk' is not ready yet, try again later\n\t\t\t\t\ttick().then(reposition);\n\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (chunk.top < longChunk.bottom && chunk.bottom > longChunk.top) {\n\t\t\t\t\tlet offset = longChunk.bottom - chunk.top + 1;\n\t\t\t\t\tm += offset;\n\t\t\t\t\t$$invalidate(29, chunk.top += offset, chunk);\n\t\t\t\t\t$$invalidate(29, chunk.bottom += offset, chunk);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t$$invalidate(31, margin = m);\n\t}\n\n\tfunction div1_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(2, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('chunk' in $$props) $$invalidate(29, chunk = $$props.chunk);\n\t\tif ('longChunks' in $$props) $$invalidate(30, longChunks = $$props.longChunks);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[0] & /*chunk*/ 536870912) {\n\t\t\t$$invalidate(0, event = chunk.event);\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*event, chunk, style, $theme*/ 536870931 | $$self.$$.dirty[1] & /*$eventBackgroundColor, $eventColor, margin, $_classes*/ 225) {\n\t\t\t{\n\t\t\t\t$$invalidate(6, display = event.display);\n\n\t\t\t\t// Class & Style\n\t\t\t\tlet bgColor = event.backgroundColor || $eventBackgroundColor || $eventColor;\n\n\t\t\t\t$$invalidate(4, style = `width:calc(${chunk.days * 100}% + ${(chunk.days - 1) * 7}px);` + `margin-top:${margin}px;`);\n\n\t\t\t\tif (bgColor) {\n\t\t\t\t\t$$invalidate(4, style += `background-color:${bgColor};`);\n\t\t\t\t}\n\n\t\t\t\t$$invalidate(3, classes = $_classes($theme.event, event));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*chunk, $theme*/ 536870914 | $$self.$$.dirty[1] & /*$displayEventEnd, $eventContent, $_intlEventTime, $_view*/ 30) {\n\t\t\t// Content\n\t\t\t$$invalidate(5, [timeText, content] = createEventContent(chunk, $displayEventEnd, $eventContent, $theme, $_intlEventTime, $_view), content);\n\t\t}\n\t};\n\n\treturn [\n\t\tevent,\n\t\t$theme,\n\t\tel,\n\t\tclasses,\n\t\tstyle,\n\t\tcontent,\n\t\tdisplay,\n\t\t$_interaction,\n\t\t$eventClick,\n\t\t$eventMouseEnter,\n\t\t$eventMouseLeave,\n\t\t$_draggable,\n\t\tdisplayEventEnd,\n\t\teventBackgroundColor,\n\t\teventClick,\n\t\teventColor,\n\t\teventContent,\n\t\teventDidMount,\n\t\teventMouseEnter,\n\t\teventMouseLeave,\n\t\ttheme,\n\t\t_view,\n\t\t_intlEventTime,\n\t\t_interaction,\n\t\t_classes,\n\t\t_draggable,\n\t\tcreateHandler,\n\t\tcreateDragHandler,\n\t\treposition,\n\t\tchunk,\n\t\tlongChunks,\n\t\tmargin,\n\t\t$_view,\n\t\t$_intlEventTime,\n\t\t$eventContent,\n\t\t$displayEventEnd,\n\t\t$_classes,\n\t\t$eventColor,\n\t\t$eventBackgroundColor,\n\t\tdiv1_binding\n\t];\n}\n\nclass Event extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$3, create_fragment$3, safe_not_equal, { chunk: 29, longChunks: 30 }, null, [-1, -1]);\n\t}\n}\n\n/* packages/time-grid/src/all-day/Day.svelte generated by Svelte v3.55.0 */\n\nfunction get_each_context$2(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[29] = list[i];\n\treturn child_ctx;\n}\n\n// (66:4) {#if iChunks[0] && datesEqual(iChunks[0].date, date)}\nfunction create_if_block$1(ctx) {\n\tlet div;\n\tlet event;\n\tlet div_class_value;\n\tlet current;\n\tevent = new Event({ props: { chunk: /*iChunks*/ ctx[2][0] } });\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tcreate_component(event.$$.fragment);\n\t\t\tattr(div, \"class\", div_class_value = \"\" + (/*$theme*/ ctx[7].events + \" \" + /*$theme*/ ctx[7].preview));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tmount_component(event, div, null);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*iChunks*/ 4) event_changes.chunk = /*iChunks*/ ctx[2][0];\n\t\t\tevent.$set(event_changes);\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 128 && div_class_value !== (div_class_value = \"\" + (/*$theme*/ ctx[7].events + \" \" + /*$theme*/ ctx[7].preview))) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_component(event);\n\t\t}\n\t};\n}\n\n// (72:8) {#each dayChunks as chunk}\nfunction create_each_block$2(ctx) {\n\tlet event;\n\tlet current;\n\n\tevent = new Event({\n\t\t\tprops: {\n\t\t\t\tchunk: /*chunk*/ ctx[29],\n\t\t\t\tlongChunks: /*longChunks*/ ctx[1]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*dayChunks*/ 8) event_changes.chunk = /*chunk*/ ctx[29];\n\t\t\tif (dirty[0] & /*longChunks*/ 2) event_changes.longChunks = /*longChunks*/ ctx[1];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$2(ctx) {\n\tlet div1;\n\tlet show_if = /*iChunks*/ ctx[2][0] && datesEqual(/*iChunks*/ ctx[2][0].date, /*date*/ ctx[0]);\n\tlet t;\n\tlet div0;\n\tlet div0_class_value;\n\tlet div1_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet if_block = show_if && create_if_block$1(ctx);\n\tlet each_value = /*dayChunks*/ ctx[3];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tif (if_block) if_block.c();\n\t\t\tt = space();\n\t\t\tdiv0 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[7].events);\n\n\t\t\tattr(div1, \"class\", div1_class_value = \"\" + (/*$theme*/ ctx[7].day + (/*isToday*/ ctx[5] ? ' ' + /*$theme*/ ctx[7].today : '') + (/*highlight*/ ctx[6]\n\t\t\t? ' ' + /*$theme*/ ctx[7].highlight\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tif (if_block) if_block.m(div1, null);\n\t\t\tappend(div1, t);\n\t\t\tappend(div1, div0);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div0, null);\n\t\t\t}\n\n\t\t\t/*div1_binding*/ ctx[23](div1);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(div1, \"click\", function () {\n\t\t\t\t\t\tif (is_function(/*createClickHandler*/ ctx[18](/*$dateClick*/ ctx[8]))) /*createClickHandler*/ ctx[18](/*$dateClick*/ ctx[8]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"pointerdown\", function () {\n\t\t\t\t\t\tif (is_function(/*createPointerDownHandler*/ ctx[19](/*$_interaction*/ ctx[9], /*$selectable*/ ctx[10]))) /*createPointerDownHandler*/ ctx[19](/*$_interaction*/ ctx[9], /*$selectable*/ ctx[10]).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\t\t\tif (dirty[0] & /*iChunks, date*/ 5) show_if = /*iChunks*/ ctx[2][0] && datesEqual(/*iChunks*/ ctx[2][0].date, /*date*/ ctx[0]);\n\n\t\t\tif (show_if) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty[0] & /*iChunks, date*/ 5) {\n\t\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block$1(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\tif_block.m(div1, t);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block, 1, 1, () => {\n\t\t\t\t\tif_block = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*dayChunks, longChunks*/ 10) {\n\t\t\t\teach_value = /*dayChunks*/ ctx[3];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$2(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$2(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div0, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 128 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[7].events)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme, isToday, highlight*/ 224 && div1_class_value !== (div1_class_value = \"\" + (/*$theme*/ ctx[7].day + (/*isToday*/ ctx[5] ? ' ' + /*$theme*/ ctx[7].today : '') + (/*highlight*/ ctx[6]\n\t\t\t? ' ' + /*$theme*/ ctx[7].highlight\n\t\t\t: '')))) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block);\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block);\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (if_block) if_block.d();\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\t/*div1_binding*/ ctx[23](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$2($$self, $$props, $$invalidate) {\n\tlet $_slotTimeLimits;\n\tlet $_view;\n\tlet $highlightedDates;\n\tlet $theme;\n\tlet $dateClick;\n\tlet $_interaction;\n\tlet $selectable;\n\tlet { date } = $$props;\n\tlet { chunks } = $$props;\n\tlet { longChunks } = $$props;\n\tlet { iChunks = [] } = $$props;\n\tlet { resource = undefined } = $$props;\n\tlet { date: currentDate, dateClick, highlightedDates, theme, _view, _interaction, selectable } = getContext('state');\n\tcomponent_subscribe($$self, dateClick, value => $$invalidate(8, $dateClick = value));\n\tcomponent_subscribe($$self, highlightedDates, value => $$invalidate(22, $highlightedDates = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(7, $theme = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(25, $_view = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(9, $_interaction = value));\n\tcomponent_subscribe($$self, selectable, value => $$invalidate(10, $selectable = value));\n\tlet { _slotTimeLimits, _viewResources } = getContext('view-state');\n\tcomponent_subscribe($$self, _slotTimeLimits, value => $$invalidate(24, $_slotTimeLimits = value));\n\tlet el;\n\tlet dayChunks;\n\tlet today = setMidnight(createDate());\n\tlet isToday;\n\tlet highlight;\n\n\tfunction createClickHandler(fn) {\n\t\treturn is_function(fn)\n\t\t? jsEvent => {\n\t\t\t\tfn({\n\t\t\t\t\tallDay: true,\n\t\t\t\t\tdate: toLocalDate(date),\n\t\t\t\t\tdateStr: toISOString(date),\n\t\t\t\t\tdayEl: el,\n\t\t\t\t\tjsEvent,\n\t\t\t\t\tview: toViewWithLocalDates($_view),\n\t\t\t\t\tresource\n\t\t\t\t});\n\t\t\t}\n\t\t: undefined;\n\t}\n\n\tfunction createPointerDownHandler(interaction, selectable) {\n\t\treturn selectable && interaction.action\n\t\t? jsEvent => interaction.action.selectTimeGrid(date, el, jsEvent, _viewResources, $_slotTimeLimits, true)\n\t\t: undefined;\n\t}\n\n\tfunction div1_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(4, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('date' in $$props) $$invalidate(0, date = $$props.date);\n\t\tif ('chunks' in $$props) $$invalidate(20, chunks = $$props.chunks);\n\t\tif ('longChunks' in $$props) $$invalidate(1, longChunks = $$props.longChunks);\n\t\tif ('iChunks' in $$props) $$invalidate(2, iChunks = $$props.iChunks);\n\t\tif ('resource' in $$props) $$invalidate(21, resource = $$props.resource);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[0] & /*chunks, date, dayChunks*/ 1048585) {\n\t\t\t{\n\t\t\t\t$$invalidate(3, dayChunks = []);\n\n\t\t\t\tfor (let chunk of chunks) {\n\t\t\t\t\tif (datesEqual(chunk.date, date)) {\n\t\t\t\t\t\tdayChunks.push(chunk);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*date, $highlightedDates*/ 4194305) {\n\t\t\t{\n\t\t\t\t$$invalidate(5, isToday = datesEqual(date, today));\n\t\t\t\t$$invalidate(6, highlight = $highlightedDates.some(d => datesEqual(d, date)));\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tdate,\n\t\tlongChunks,\n\t\tiChunks,\n\t\tdayChunks,\n\t\tel,\n\t\tisToday,\n\t\thighlight,\n\t\t$theme,\n\t\t$dateClick,\n\t\t$_interaction,\n\t\t$selectable,\n\t\tdateClick,\n\t\thighlightedDates,\n\t\ttheme,\n\t\t_view,\n\t\t_interaction,\n\t\tselectable,\n\t\t_slotTimeLimits,\n\t\tcreateClickHandler,\n\t\tcreatePointerDownHandler,\n\t\tchunks,\n\t\tresource,\n\t\t$highlightedDates,\n\t\tdiv1_binding\n\t];\n}\n\nclass Day extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\n\t\tinit(\n\t\t\tthis,\n\t\t\toptions,\n\t\t\tinstance$2,\n\t\t\tcreate_fragment$2,\n\t\t\tsafe_not_equal,\n\t\t\t{\n\t\t\t\tdate: 0,\n\t\t\t\tchunks: 20,\n\t\t\t\tlongChunks: 1,\n\t\t\t\tiChunks: 2,\n\t\t\t\tresource: 21\n\t\t\t},\n\t\t\tnull,\n\t\t\t[-1, -1]\n\t\t);\n\t}\n}\n\n/* packages/time-grid/src/all-day/Week.svelte generated by Svelte v3.55.0 */\n\nfunction get_each_context$1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[15] = list[i];\n\treturn child_ctx;\n}\n\n// (49:0) {#each dates as date}\nfunction create_each_block$1(ctx) {\n\tlet day;\n\tlet current;\n\n\tday = new Day({\n\t\t\tprops: {\n\t\t\t\tdate: /*date*/ ctx[15],\n\t\t\t\tchunks: /*chunks*/ ctx[2],\n\t\t\t\tlongChunks: /*longChunks*/ ctx[3],\n\t\t\t\tiChunks: /*iChunks*/ ctx[4],\n\t\t\t\tresource: /*resource*/ ctx[1]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(day.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(day, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst day_changes = {};\n\t\t\tif (dirty & /*dates*/ 1) day_changes.date = /*date*/ ctx[15];\n\t\t\tif (dirty & /*chunks*/ 4) day_changes.chunks = /*chunks*/ ctx[2];\n\t\t\tif (dirty & /*longChunks*/ 8) day_changes.longChunks = /*longChunks*/ ctx[3];\n\t\t\tif (dirty & /*iChunks*/ 16) day_changes.iChunks = /*iChunks*/ ctx[4];\n\t\t\tif (dirty & /*resource*/ 2) day_changes.resource = /*resource*/ ctx[1];\n\t\t\tday.$set(day_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(day.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(day.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(day, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$1(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value = /*dates*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*dates, chunks, longChunks, iChunks, resource*/ 31) {\n\t\t\t\teach_value = /*dates*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$1(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\nfunction instance$1($$self, $$props, $$invalidate) {\n\tlet $hiddenDays;\n\tlet $_iEvents;\n\tlet $_events;\n\tlet { dates } = $$props;\n\tlet { resource = undefined } = $$props;\n\tlet { _events, _iEvents, hiddenDays, theme } = getContext('state');\n\tcomponent_subscribe($$self, _events, value => $$invalidate(12, $_events = value));\n\tcomponent_subscribe($$self, _iEvents, value => $$invalidate(11, $_iEvents = value));\n\tcomponent_subscribe($$self, hiddenDays, value => $$invalidate(10, $hiddenDays = value));\n\tlet chunks, longChunks, iChunks = [];\n\tlet start;\n\tlet end;\n\n\tfunction intersects(event) {\n\t\treturn event.start < end && event.end > start && (resource === undefined || event.resourceIds.includes(resource.id));\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('dates' in $$props) $$invalidate(0, dates = $$props.dates);\n\t\tif ('resource' in $$props) $$invalidate(1, resource = $$props.resource);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*dates*/ 1) {\n\t\t\t{\n\t\t\t\t$$invalidate(8, start = dates[0]);\n\t\t\t\t$$invalidate(9, end = addDay(cloneDate(dates[dates.length - 1])));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$_events, start, end, chunks, $hiddenDays*/ 5892) {\n\t\t\t{\n\t\t\t\t$$invalidate(2, chunks = []);\n\n\t\t\t\tfor (let event of $_events) {\n\t\t\t\t\tif (event.allDay && event.display !== 'background' && intersects(event)) {\n\t\t\t\t\t\tlet chunk = createEventChunk(event, start, end);\n\t\t\t\t\t\tchunks.push(chunk);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t$$invalidate(3, longChunks = prepareEventChunks(chunks, $hiddenDays));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$_iEvents, start, end, $hiddenDays*/ 3840) {\n\t\t\t$$invalidate(4, iChunks = $_iEvents.map(event => {\n\t\t\t\tlet chunk;\n\n\t\t\t\tif (event && event.allDay && intersects(event)) {\n\t\t\t\t\tchunk = createEventChunk(event, start, end);\n\t\t\t\t\tprepareEventChunks([chunk], $hiddenDays);\n\t\t\t\t} else {\n\t\t\t\t\tchunk = null;\n\t\t\t\t}\n\n\t\t\t\treturn chunk;\n\t\t\t}));\n\t\t}\n\t};\n\n\treturn [\n\t\tdates,\n\t\tresource,\n\t\tchunks,\n\t\tlongChunks,\n\t\tiChunks,\n\t\t_events,\n\t\t_iEvents,\n\t\thiddenDays,\n\t\tstart,\n\t\tend,\n\t\t$hiddenDays,\n\t\t$_iEvents,\n\t\t$_events\n\t];\n}\n\nclass Week extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$1, create_fragment$1, safe_not_equal, { dates: 0, resource: 1 });\n\t}\n}\n\n/* packages/time-grid/src/View.svelte generated by Svelte v3.55.0 */\n\nfunction get_each_context(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[11] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[11] = list[i];\n\treturn child_ctx;\n}\n\n// (18:4) {#each $_viewDates as date}\nfunction create_each_block_1(ctx) {\n\tlet div;\n\tlet t_value = /*$_intlDayHeader*/ ctx[2].format(/*date*/ ctx[11]) + \"\";\n\tlet t;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt = text(t_value);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[1].day);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$_intlDayHeader, $_viewDates*/ 5 && t_value !== (t_value = /*$_intlDayHeader*/ ctx[2].format(/*date*/ ctx[11]) + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty & /*$theme*/ 2 && div_class_value !== (div_class_value = /*$theme*/ ctx[1].day)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\n// (17:0) <Header>\nfunction create_default_slot_2(ctx) {\n\tlet each_1_anchor;\n\tlet each_value_1 = /*$_viewDates*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$theme, $_intlDayHeader, $_viewDates*/ 7) {\n\t\t\t\teach_value_1 = /*$_viewDates*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_1(ctx, each_value_1, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value_1.length;\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\n// (22:0) {#if $allDaySlot}\nfunction create_if_block(ctx) {\n\tlet header;\n\tlet current;\n\n\theader = new Header({\n\t\t\tprops: {\n\t\t\t\tallDay: true,\n\t\t\t\t$$slots: { default: [create_default_slot_1] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(header.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(header, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst header_changes = {};\n\n\t\t\tif (dirty & /*$$scope, $_viewDates*/ 65537) {\n\t\t\t\theader_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\theader.$set(header_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(header.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(header.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(header, detaching);\n\t\t}\n\t};\n}\n\n// (23:4) <Header allDay>\nfunction create_default_slot_1(ctx) {\n\tlet week;\n\tlet current;\n\tweek = new Week({ props: { dates: /*$_viewDates*/ ctx[0] } });\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(week.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(week, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst week_changes = {};\n\t\t\tif (dirty & /*$_viewDates*/ 1) week_changes.dates = /*$_viewDates*/ ctx[0];\n\t\t\tweek.$set(week_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(week.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(week.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(week, detaching);\n\t\t}\n\t};\n}\n\n// (28:0) {#each $_viewDates as date}\nfunction create_each_block(ctx) {\n\tlet day;\n\tlet current;\n\tday = new Day$1({ props: { date: /*date*/ ctx[11] } });\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(day.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(day, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst day_changes = {};\n\t\t\tif (dirty & /*$_viewDates*/ 1) day_changes.date = /*date*/ ctx[11];\n\t\t\tday.$set(day_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(day.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(day.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(day, detaching);\n\t\t}\n\t};\n}\n\n// (27:0) <Body>\nfunction create_default_slot(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value = /*$_viewDates*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$_viewDates*/ 1) {\n\t\t\t\teach_value = /*$_viewDates*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\nfunction create_fragment(ctx) {\n\tlet header;\n\tlet t0;\n\tlet t1;\n\tlet body;\n\tlet current;\n\n\theader = new Header({\n\t\t\tprops: {\n\t\t\t\t$$slots: { default: [create_default_slot_2] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\tlet if_block = /*$allDaySlot*/ ctx[3] && create_if_block(ctx);\n\n\tbody = new Body({\n\t\t\tprops: {\n\t\t\t\t$$slots: { default: [create_default_slot] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(header.$$.fragment);\n\t\t\tt0 = space();\n\t\t\tif (if_block) if_block.c();\n\t\t\tt1 = space();\n\t\t\tcreate_component(body.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(header, target, anchor);\n\t\t\tinsert(target, t0, anchor);\n\t\t\tif (if_block) if_block.m(target, anchor);\n\t\t\tinsert(target, t1, anchor);\n\t\t\tmount_component(body, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tconst header_changes = {};\n\n\t\t\tif (dirty & /*$$scope, $_viewDates, $theme, $_intlDayHeader*/ 65543) {\n\t\t\t\theader_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\theader.$set(header_changes);\n\n\t\t\tif (/*$allDaySlot*/ ctx[3]) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty & /*$allDaySlot*/ 8) {\n\t\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\tif_block.m(t1.parentNode, t1);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block, 1, 1, () => {\n\t\t\t\t\tif_block = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tconst body_changes = {};\n\n\t\t\tif (dirty & /*$$scope, $_viewDates*/ 65537) {\n\t\t\t\tbody_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\tbody.$set(body_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(header.$$.fragment, local);\n\t\t\ttransition_in(if_block);\n\t\t\ttransition_in(body.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(header.$$.fragment, local);\n\t\t\ttransition_out(if_block);\n\t\t\ttransition_out(body.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(header, detaching);\n\t\t\tif (detaching) detach(t0);\n\t\t\tif (if_block) if_block.d(detaching);\n\t\t\tif (detaching) detach(t1);\n\t\t\tdestroy_component(body, detaching);\n\t\t}\n\t};\n}\n\nfunction instance($$self, $$props, $$invalidate) {\n\tlet $_viewClass;\n\tlet $_viewDates;\n\tlet $theme;\n\tlet $_intlDayHeader;\n\tlet $allDaySlot;\n\tlet state = getContext('state');\n\tlet { _viewDates, _intlDayHeader, _viewClass, allDaySlot, theme } = state;\n\tcomponent_subscribe($$self, _viewDates, value => $$invalidate(0, $_viewDates = value));\n\tcomponent_subscribe($$self, _intlDayHeader, value => $$invalidate(2, $_intlDayHeader = value));\n\tcomponent_subscribe($$self, _viewClass, value => $$invalidate(9, $_viewClass = value));\n\tcomponent_subscribe($$self, allDaySlot, value => $$invalidate(3, $allDaySlot = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\tsetContext('view-state', new State(state));\n\tset_store_value(_viewClass, $_viewClass = 'week', $_viewClass);\n\n\treturn [\n\t\t$_viewDates,\n\t\t$theme,\n\t\t$_intlDayHeader,\n\t\t$allDaySlot,\n\t\t_viewDates,\n\t\t_intlDayHeader,\n\t\t_viewClass,\n\t\tallDaySlot,\n\t\ttheme\n\t];\n}\n\nclass View extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance, create_fragment, safe_not_equal, {});\n\t}\n}\n\nvar index = {\n\tcreateOptions(options) {\n\t\t// Common options\n\t\toptions.buttonText.timeGridDay = 'day';\n\t\toptions.buttonText.timeGridWeek = 'week';\n\t\toptions.view = 'timeGridWeek';\n\t\toptions.views.timeGridDay = {\n\t\t\tcomponent: View,\n\t\t\tdayHeaderFormat: {weekday: 'long'},\n\t\t\tduration: {days: 1},\n\t\t\ttitleFormat: {year: 'numeric', month: 'long', day: 'numeric'}\n\t\t};\n\t\toptions.views.timeGridWeek = {\n\t\t\tcomponent: View,\n\t\t\tduration: {weeks: 1}\n\t\t};\n\t}\n};\n\nexport { Body, Day$1 as Day, Header, State, Week, index as default };\n","import { SvelteComponent, init, safe_not_equal, element, attr, insert, action_destroyer, is_function, noop, detach, component_subscribe, binding_callbacks, create_component, space, mount_component, transition_in, group_outros, transition_out, check_outros, destroy_component, set_store_value, empty, destroy_each, append, text, set_data } from 'svelte/internal';\nimport { getContext, onMount, setContext } from 'svelte';\nimport { State as State$1, Header, Body, Week, Day } from '@event-calendar/time-grid';\nimport { derived } from 'svelte/store';\n\nfunction viewResources(state) {\n return derived(\n [state.resources, state.filterResourcesWithEvents, state._events, state._activeRange],\n ([$resources, $filterResourcesWithEvents, $_events, $_activeRange]) => {\n let result = $resources;\n\n if ($filterResourcesWithEvents) {\n result = $resources.filter(resource => {\n for (let event of $_events) {\n if (\n event.display !== 'background' &&\n event.resourceIds.includes(resource.id) &&\n event.start < $_activeRange.end &&\n event.end > $_activeRange.start\n ) {\n return true;\n }\n }\n return false;\n });\n }\n\n if (!result.length) {\n result = state.resources.parse([{}]);\n }\n\n return result;\n }\n );\n}\n\nclass State extends State$1 {\n constructor(state) {\n super(state);\n\n this._viewResources = viewResources(state);\n }\n}\n\nfunction isObject(test) {\n return typeof test === 'object' && test !== null;\n}\n\nfunction setContent(node, content) {\n let actions = {\n update(content) {\n while (node.firstChild) {\n node.removeChild(node.lastChild);\n }\n if (!isObject(content)) {\n node.innerText = content;\n } else if (content.domNodes) {\n for (let child of content.domNodes) {\n node.appendChild(child);\n }\n } else if (content.html) {\n node.innerHTML = content.html;\n }\n }\n };\n actions.update(content);\n\n return actions;\n}\n\nfunction toLocalDate(date) {\n return new Date(\n date.getUTCFullYear(),\n date.getUTCMonth(),\n date.getUTCDate(),\n date.getUTCHours(),\n date.getUTCMinutes(),\n date.getUTCSeconds()\n );\n}\n\n/* packages/resource-time-grid/src/Label.svelte generated by Svelte v3.55.0 */\n\nfunction create_fragment$1(ctx) {\n\tlet div;\n\tlet div_class_value;\n\tlet setContent_action;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[2].day);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\t/*div_binding*/ ctx[9](div);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = action_destroyer(setContent_action = setContent.call(null, div, /*content*/ ctx[1]));\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*$theme*/ 4 && div_class_value !== (div_class_value = /*$theme*/ ctx[2].day)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty & /*content*/ 2) setContent_action.update.call(null, /*content*/ ctx[1]);\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\t/*div_binding*/ ctx[9](null);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\nfunction instance$1($$self, $$props, $$invalidate) {\n\tlet $resourceLabelDidMount;\n\tlet $resourceLabelContent;\n\tlet $theme;\n\tlet { resource } = $$props;\n\tlet { date = undefined } = $$props;\n\tlet { resourceLabelContent, resourceLabelDidMount, theme } = getContext('state');\n\tcomponent_subscribe($$self, resourceLabelContent, value => $$invalidate(8, $resourceLabelContent = value));\n\tcomponent_subscribe($$self, resourceLabelDidMount, value => $$invalidate(10, $resourceLabelDidMount = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(2, $theme = value));\n\tlet el;\n\tlet content;\n\n\tonMount(() => {\n\t\tif (is_function($resourceLabelDidMount)) {\n\t\t\t$resourceLabelDidMount({\n\t\t\t\tresource,\n\t\t\t\tdate: date ? toLocalDate(date) : undefined,\n\t\t\t\tel\n\t\t\t});\n\t\t}\n\t});\n\n\tfunction div_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(0, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('resource' in $$props) $$invalidate(6, resource = $$props.resource);\n\t\tif ('date' in $$props) $$invalidate(7, date = $$props.date);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$resourceLabelContent, resource, date*/ 448) {\n\t\t\t// Content\n\t\t\tif ($resourceLabelContent) {\n\t\t\t\t$$invalidate(1, content = is_function($resourceLabelContent)\n\t\t\t\t? $resourceLabelContent({\n\t\t\t\t\t\tresource,\n\t\t\t\t\t\tdate: date ? toLocalDate(date) : undefined\n\t\t\t\t\t})\n\t\t\t\t: $resourceLabelContent);\n\t\t\t} else {\n\t\t\t\t$$invalidate(1, content = resource.titleHTML\n\t\t\t\t? { html: resource.titleHTML }\n\t\t\t\t: resource.title);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tel,\n\t\tcontent,\n\t\t$theme,\n\t\tresourceLabelContent,\n\t\tresourceLabelDidMount,\n\t\ttheme,\n\t\tresource,\n\t\tdate,\n\t\t$resourceLabelContent,\n\t\tdiv_binding\n\t];\n}\n\nclass Label extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$1, create_fragment$1, safe_not_equal, { resource: 6, date: 7 });\n\t}\n}\n\n/* packages/resource-time-grid/src/View.svelte generated by Svelte v3.55.0 */\n\nfunction get_each_context(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[17] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[20] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_4(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[26] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_2(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[23] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_3(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[26] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_5(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[17] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_6(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[20] = list[i];\n\treturn child_ctx;\n}\n\n// (26:12) {:else}\nfunction create_else_block_2(ctx) {\n\tlet label;\n\tlet current;\n\tlabel = new Label({ props: { resource: /*item0*/ ctx[17] } });\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(label.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(label, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst label_changes = {};\n\t\t\tif (dirty[0] & /*loops*/ 8) label_changes.resource = /*item0*/ ctx[17];\n\t\t\tlabel.$set(label_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(label.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(label.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(label, detaching);\n\t\t}\n\t};\n}\n\n// (24:12) {#if $datesAboveResources}\nfunction create_if_block_4(ctx) {\n\tlet div;\n\tlet t_value = /*$_intlDayHeader*/ ctx[5].format(/*item0*/ ctx[17]) + \"\";\n\tlet t;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt = text(t_value);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[4].day);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$_intlDayHeader, loops*/ 40 && t_value !== (t_value = /*$_intlDayHeader*/ ctx[5].format(/*item0*/ ctx[17]) + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty[0] & /*$theme*/ 16 && div_class_value !== (div_class_value = /*$theme*/ ctx[4].day)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\n// (29:12) {#if loops[1].length > 1}\nfunction create_if_block_2(ctx) {\n\tlet div;\n\tlet div_class_value;\n\tlet current;\n\tlet each_value_6 = /*loops*/ ctx[3][1];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_6.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_6(get_each_context_6(ctx, each_value_6, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[4].days);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*loops, $datesAboveResources, $theme, $_intlDayHeader*/ 60) {\n\t\t\t\teach_value_6 = /*loops*/ ctx[3][1];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_6.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_6(ctx, each_value_6, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_6(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_6.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 16 && div_class_value !== (div_class_value = /*$theme*/ ctx[4].days)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_6.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\n// (34:24) {:else}\nfunction create_else_block_1(ctx) {\n\tlet div;\n\tlet t_value = /*$_intlDayHeader*/ ctx[5].format(/*item1*/ ctx[20]) + \"\";\n\tlet t;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt = text(t_value);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[4].day);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$_intlDayHeader, loops*/ 40 && t_value !== (t_value = /*$_intlDayHeader*/ ctx[5].format(/*item1*/ ctx[20]) + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty[0] & /*$theme*/ 16 && div_class_value !== (div_class_value = /*$theme*/ ctx[4].day)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\n// (32:24) {#if $datesAboveResources}\nfunction create_if_block_3(ctx) {\n\tlet label;\n\tlet current;\n\n\tlabel = new Label({\n\t\t\tprops: {\n\t\t\t\tresource: /*item1*/ ctx[20],\n\t\t\t\tdate: /*item0*/ ctx[17]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(label.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(label, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst label_changes = {};\n\t\t\tif (dirty[0] & /*loops*/ 8) label_changes.resource = /*item1*/ ctx[20];\n\t\t\tif (dirty[0] & /*loops*/ 8) label_changes.date = /*item0*/ ctx[17];\n\t\t\tlabel.$set(label_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(label.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(label.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(label, detaching);\n\t\t}\n\t};\n}\n\n// (31:20) {#each loops[1] as item1}\nfunction create_each_block_6(ctx) {\n\tlet current_block_type_index;\n\tlet if_block;\n\tlet if_block_anchor;\n\tlet current;\n\tconst if_block_creators = [create_if_block_3, create_else_block_1];\n\tconst if_blocks = [];\n\n\tfunction select_block_type_1(ctx, dirty) {\n\t\tif (/*$datesAboveResources*/ ctx[2]) return 0;\n\t\treturn 1;\n\t}\n\n\tcurrent_block_type_index = select_block_type_1(ctx);\n\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif_blocks[current_block_type_index].m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tlet previous_block_index = current_block_type_index;\n\t\t\tcurrent_block_type_index = select_block_type_1(ctx);\n\n\t\t\tif (current_block_type_index === previous_block_index) {\n\t\t\t\tif_blocks[current_block_type_index].p(ctx, dirty);\n\t\t\t} else {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_blocks[previous_block_index], 1, 1, () => {\n\t\t\t\t\tif_blocks[previous_block_index] = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t\tif_block = if_blocks[current_block_type_index];\n\n\t\t\t\tif (!if_block) {\n\t\t\t\t\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t} else {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\t\t\t\t}\n\n\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif_blocks[current_block_type_index].d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\n// (22:4) {#each loops[0] as item0}\nfunction create_each_block_5(ctx) {\n\tlet div;\n\tlet current_block_type_index;\n\tlet if_block0;\n\tlet t0;\n\tlet t1;\n\tlet div_class_value;\n\tlet current;\n\tconst if_block_creators = [create_if_block_4, create_else_block_2];\n\tconst if_blocks = [];\n\n\tfunction select_block_type(ctx, dirty) {\n\t\tif (/*$datesAboveResources*/ ctx[2]) return 0;\n\t\treturn 1;\n\t}\n\n\tcurrent_block_type_index = select_block_type(ctx);\n\tif_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\tlet if_block1 = /*loops*/ ctx[3][1].length > 1 && create_if_block_2(ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tif_block0.c();\n\t\t\tt0 = space();\n\t\t\tif (if_block1) if_block1.c();\n\t\t\tt1 = space();\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[4].resource);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tif_blocks[current_block_type_index].m(div, null);\n\t\t\tappend(div, t0);\n\t\t\tif (if_block1) if_block1.m(div, null);\n\t\t\tappend(div, t1);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tlet previous_block_index = current_block_type_index;\n\t\t\tcurrent_block_type_index = select_block_type(ctx);\n\n\t\t\tif (current_block_type_index === previous_block_index) {\n\t\t\t\tif_blocks[current_block_type_index].p(ctx, dirty);\n\t\t\t} else {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_blocks[previous_block_index], 1, 1, () => {\n\t\t\t\t\tif_blocks[previous_block_index] = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t\tif_block0 = if_blocks[current_block_type_index];\n\n\t\t\t\tif (!if_block0) {\n\t\t\t\t\tif_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\t\t\t\t\tif_block0.c();\n\t\t\t\t} else {\n\t\t\t\t\tif_block0.p(ctx, dirty);\n\t\t\t\t}\n\n\t\t\t\ttransition_in(if_block0, 1);\n\t\t\t\tif_block0.m(div, t0);\n\t\t\t}\n\n\t\t\tif (/*loops*/ ctx[3][1].length > 1) {\n\t\t\t\tif (if_block1) {\n\t\t\t\t\tif_block1.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty[0] & /*loops*/ 8) {\n\t\t\t\t\t\ttransition_in(if_block1, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block1 = create_if_block_2(ctx);\n\t\t\t\t\tif_block1.c();\n\t\t\t\t\ttransition_in(if_block1, 1);\n\t\t\t\t\tif_block1.m(div, t1);\n\t\t\t\t}\n\t\t\t} else if (if_block1) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block1, 1, 1, () => {\n\t\t\t\t\tif_block1 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 16 && div_class_value !== (div_class_value = /*$theme*/ ctx[4].resource)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block0);\n\t\t\ttransition_in(if_block1);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block0);\n\t\t\ttransition_out(if_block1);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tif_blocks[current_block_type_index].d();\n\t\t\tif (if_block1) if_block1.d();\n\t\t}\n\t};\n}\n\n// (21:0) <Header>\nfunction create_default_slot_2(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value_5 = /*loops*/ ctx[3][0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_5.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_5(get_each_context_5(ctx, each_value_5, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$theme, loops, $datesAboveResources, $_intlDayHeader*/ 60) {\n\t\t\t\teach_value_5 = /*loops*/ ctx[3][0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_5.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_5(ctx, each_value_5, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_5(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_5.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_5.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\n// (43:0) {#if $allDaySlot}\nfunction create_if_block(ctx) {\n\tlet header;\n\tlet current;\n\n\theader = new Header({\n\t\t\tprops: {\n\t\t\t\tallDay: true,\n\t\t\t\t$$slots: { default: [create_default_slot_1] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(header.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(header, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst header_changes = {};\n\n\t\t\tif (dirty[0] & /*$_viewDates, $theme, $_viewResources, $datesAboveResources*/ 23 | dirty[1] & /*$$scope*/ 16) {\n\t\t\t\theader_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\theader.$set(header_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(header.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(header.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(header, detaching);\n\t\t}\n\t};\n}\n\n// (53:8) {:else}\nfunction create_else_block(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value_4 = /*$_viewResources*/ ctx[1];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_4.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_4(get_each_context_4(ctx, each_value_4, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$theme, $_viewDates, $_viewResources*/ 19) {\n\t\t\t\teach_value_4 = /*$_viewResources*/ ctx[1];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_4.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_4(ctx, each_value_4, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_4(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_4.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_4.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\n// (45:8) {#if $datesAboveResources}\nfunction create_if_block_1(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value_2 = /*$_viewDates*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_2.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_2(get_each_context_2(ctx, each_value_2, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$theme, $_viewResources, $_viewDates*/ 19) {\n\t\t\t\teach_value_2 = /*$_viewDates*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_2.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_2(ctx, each_value_2, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_2(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_2.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_2.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\n// (54:12) {#each $_viewResources as resource}\nfunction create_each_block_4(ctx) {\n\tlet div;\n\tlet week;\n\tlet t;\n\tlet div_class_value;\n\tlet current;\n\n\tweek = new Week({\n\t\t\tprops: {\n\t\t\t\tdates: /*$_viewDates*/ ctx[0],\n\t\t\t\tresource: /*resource*/ ctx[26]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tcreate_component(week.$$.fragment);\n\t\t\tt = space();\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[4].resource);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tmount_component(week, div, null);\n\t\t\tappend(div, t);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst week_changes = {};\n\t\t\tif (dirty[0] & /*$_viewDates*/ 1) week_changes.dates = /*$_viewDates*/ ctx[0];\n\t\t\tif (dirty[0] & /*$_viewResources*/ 2) week_changes.resource = /*resource*/ ctx[26];\n\t\t\tweek.$set(week_changes);\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 16 && div_class_value !== (div_class_value = /*$theme*/ ctx[4].resource)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(week.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(week.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_component(week);\n\t\t}\n\t};\n}\n\n// (48:20) {#each $_viewResources as resource}\nfunction create_each_block_3(ctx) {\n\tlet week;\n\tlet current;\n\n\tweek = new Week({\n\t\t\tprops: {\n\t\t\t\tdates: [/*date*/ ctx[23]],\n\t\t\t\tresource: /*resource*/ ctx[26]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(week.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(week, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst week_changes = {};\n\t\t\tif (dirty[0] & /*$_viewDates*/ 1) week_changes.dates = [/*date*/ ctx[23]];\n\t\t\tif (dirty[0] & /*$_viewResources*/ 2) week_changes.resource = /*resource*/ ctx[26];\n\t\t\tweek.$set(week_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(week.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(week.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(week, detaching);\n\t\t}\n\t};\n}\n\n// (46:12) {#each $_viewDates as date}\nfunction create_each_block_2(ctx) {\n\tlet div;\n\tlet t;\n\tlet div_class_value;\n\tlet current;\n\tlet each_value_3 = /*$_viewResources*/ ctx[1];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_3.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_3(get_each_context_3(ctx, each_value_3, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt = space();\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[4].resource);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t}\n\n\t\t\tappend(div, t);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$_viewDates, $_viewResources*/ 3) {\n\t\t\t\teach_value_3 = /*$_viewResources*/ ctx[1];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_3.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_3(ctx, each_value_3, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_3(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div, t);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_3.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 16 && div_class_value !== (div_class_value = /*$theme*/ ctx[4].resource)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_3.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\n// (44:4) <Header allDay>\nfunction create_default_slot_1(ctx) {\n\tlet current_block_type_index;\n\tlet if_block;\n\tlet if_block_anchor;\n\tlet current;\n\tconst if_block_creators = [create_if_block_1, create_else_block];\n\tconst if_blocks = [];\n\n\tfunction select_block_type_2(ctx, dirty) {\n\t\tif (/*$datesAboveResources*/ ctx[2]) return 0;\n\t\treturn 1;\n\t}\n\n\tcurrent_block_type_index = select_block_type_2(ctx);\n\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif_blocks[current_block_type_index].m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tlet previous_block_index = current_block_type_index;\n\t\t\tcurrent_block_type_index = select_block_type_2(ctx);\n\n\t\t\tif (current_block_type_index === previous_block_index) {\n\t\t\t\tif_blocks[current_block_type_index].p(ctx, dirty);\n\t\t\t} else {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_blocks[previous_block_index], 1, 1, () => {\n\t\t\t\t\tif_blocks[previous_block_index] = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t\tif_block = if_blocks[current_block_type_index];\n\n\t\t\t\tif (!if_block) {\n\t\t\t\t\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t} else {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\t\t\t\t}\n\n\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif_blocks[current_block_type_index].d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\n// (65:8) {#each loops[1] as item1}\nfunction create_each_block_1(ctx) {\n\tlet day;\n\tlet current;\n\n\tday = new Day({\n\t\t\tprops: {\n\t\t\t\tdate: /*$datesAboveResources*/ ctx[2]\n\t\t\t\t? /*item0*/ ctx[17]\n\t\t\t\t: /*item1*/ ctx[20],\n\t\t\t\tresource: /*$datesAboveResources*/ ctx[2]\n\t\t\t\t? /*item1*/ ctx[20]\n\t\t\t\t: /*item0*/ ctx[17]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(day.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(day, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst day_changes = {};\n\n\t\t\tif (dirty[0] & /*$datesAboveResources, loops*/ 12) day_changes.date = /*$datesAboveResources*/ ctx[2]\n\t\t\t? /*item0*/ ctx[17]\n\t\t\t: /*item1*/ ctx[20];\n\n\t\t\tif (dirty[0] & /*$datesAboveResources, loops*/ 12) day_changes.resource = /*$datesAboveResources*/ ctx[2]\n\t\t\t? /*item1*/ ctx[20]\n\t\t\t: /*item0*/ ctx[17];\n\n\t\t\tday.$set(day_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(day.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(day.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(day, detaching);\n\t\t}\n\t};\n}\n\n// (63:0) {#each loops[0] as item0}\nfunction create_each_block(ctx) {\n\tlet div;\n\tlet t;\n\tlet div_class_value;\n\tlet current;\n\tlet each_value_1 = /*loops*/ ctx[3][1];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt = space();\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[4].resource);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t}\n\n\t\t\tappend(div, t);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$datesAboveResources, loops*/ 12) {\n\t\t\t\teach_value_1 = /*loops*/ ctx[3][1];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_1(ctx, each_value_1, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div, t);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_1.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 16 && div_class_value !== (div_class_value = /*$theme*/ ctx[4].resource)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\n// (62:0) <Body>\nfunction create_default_slot(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value = /*loops*/ ctx[3][0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$theme, loops, $datesAboveResources*/ 28) {\n\t\t\t\teach_value = /*loops*/ ctx[3][0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\nfunction create_fragment(ctx) {\n\tlet header;\n\tlet t0;\n\tlet t1;\n\tlet body;\n\tlet current;\n\n\theader = new Header({\n\t\t\tprops: {\n\t\t\t\t$$slots: { default: [create_default_slot_2] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\tlet if_block = /*$allDaySlot*/ ctx[6] && create_if_block(ctx);\n\n\tbody = new Body({\n\t\t\tprops: {\n\t\t\t\t$$slots: { default: [create_default_slot] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(header.$$.fragment);\n\t\t\tt0 = space();\n\t\t\tif (if_block) if_block.c();\n\t\t\tt1 = space();\n\t\t\tcreate_component(body.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(header, target, anchor);\n\t\t\tinsert(target, t0, anchor);\n\t\t\tif (if_block) if_block.m(target, anchor);\n\t\t\tinsert(target, t1, anchor);\n\t\t\tmount_component(body, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst header_changes = {};\n\n\t\t\tif (dirty[0] & /*loops, $theme, $datesAboveResources, $_intlDayHeader*/ 60 | dirty[1] & /*$$scope*/ 16) {\n\t\t\t\theader_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\theader.$set(header_changes);\n\n\t\t\tif (/*$allDaySlot*/ ctx[6]) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty[0] & /*$allDaySlot*/ 64) {\n\t\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\tif_block.m(t1.parentNode, t1);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block, 1, 1, () => {\n\t\t\t\t\tif_block = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tconst body_changes = {};\n\n\t\t\tif (dirty[0] & /*loops, $theme, $datesAboveResources*/ 28 | dirty[1] & /*$$scope*/ 16) {\n\t\t\t\tbody_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\tbody.$set(body_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(header.$$.fragment, local);\n\t\t\ttransition_in(if_block);\n\t\t\ttransition_in(body.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(header.$$.fragment, local);\n\t\t\ttransition_out(if_block);\n\t\t\ttransition_out(body.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(header, detaching);\n\t\t\tif (detaching) detach(t0);\n\t\t\tif (if_block) if_block.d(detaching);\n\t\t\tif (detaching) detach(t1);\n\t\t\tdestroy_component(body, detaching);\n\t\t}\n\t};\n}\n\nfunction instance($$self, $$props, $$invalidate) {\n\tlet $_viewDates;\n\tlet $_viewResources;\n\tlet $datesAboveResources;\n\tlet $_viewClass;\n\tlet $theme;\n\tlet $_intlDayHeader;\n\tlet $allDaySlot;\n\tlet state = getContext('state');\n\tlet { datesAboveResources, _viewDates, _intlDayHeader, _viewClass, allDaySlot, theme } = state;\n\tcomponent_subscribe($$self, datesAboveResources, value => $$invalidate(2, $datesAboveResources = value));\n\tcomponent_subscribe($$self, _viewDates, value => $$invalidate(0, $_viewDates = value));\n\tcomponent_subscribe($$self, _intlDayHeader, value => $$invalidate(5, $_intlDayHeader = value));\n\tcomponent_subscribe($$self, _viewClass, value => $$invalidate(14, $_viewClass = value));\n\tcomponent_subscribe($$self, allDaySlot, value => $$invalidate(6, $allDaySlot = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(4, $theme = value));\n\tlet viewState = new State(state);\n\tsetContext('view-state', viewState);\n\tlet { _viewResources } = viewState;\n\tcomponent_subscribe($$self, _viewResources, value => $$invalidate(1, $_viewResources = value));\n\tset_store_value(_viewClass, $_viewClass = 'week', $_viewClass);\n\tlet loops;\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[0] & /*$datesAboveResources, $_viewDates, $_viewResources*/ 7) {\n\t\t\t$$invalidate(3, loops = $datesAboveResources\n\t\t\t? [$_viewDates, $_viewResources]\n\t\t\t: [$_viewResources, $_viewDates]);\n\t\t}\n\t};\n\n\treturn [\n\t\t$_viewDates,\n\t\t$_viewResources,\n\t\t$datesAboveResources,\n\t\tloops,\n\t\t$theme,\n\t\t$_intlDayHeader,\n\t\t$allDaySlot,\n\t\tdatesAboveResources,\n\t\t_viewDates,\n\t\t_intlDayHeader,\n\t\t_viewClass,\n\t\tallDaySlot,\n\t\ttheme,\n\t\t_viewResources\n\t];\n}\n\nclass View extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance, create_fragment, safe_not_equal, {}, null, [-1, -1]);\n\t}\n}\n\nvar index = {\n\tcreateOptions(options) {\n\t\toptions.resources = [];\n\t\toptions.datesAboveResources = false;\n\t\toptions.filterResourcesWithEvents = false;\n\t\toptions.resourceLabelContent = undefined;\n\t\toptions.resourceLabelDidMount = undefined;\n\t\t// Common options\n\t\toptions.buttonText.resourceTimeGridDay = 'day';\n\t\toptions.buttonText.resourceTimeGridWeek = 'week';\n\t\toptions.theme.resource = 'ec-resource';\n\t\toptions.theme.resourceTitle = 'ec-resource-title';\n\t\toptions.view = 'resourceTimeGridWeek';\n\t\toptions.views.resourceTimeGridDay = {\n\t\t\tcomponent: View,\n\t\t\tduration: {days: 1}\n\t\t};\n\t\toptions.views.resourceTimeGridWeek = {\n\t\t\tcomponent: View,\n\t\t\tduration: {weeks: 1}\n\t\t};\n\t},\n\tcreateParsers(parsers, options) {\n\t\tparsers.resources = createResources;\n\t}\n};\n\nfunction createResources(input) {\n\treturn input.map(resource => ({\n\t\tid: String(resource.id),\n\t\ttitle: resource.title || '',\n\t\ttitleHTML: resource.titleHTML || ''\n\t}));\n}\n\nexport { index as default };\n","var $ = require('../internals/export');\nvar $values = require('../internals/object-to-array').values;\n\n// `Object.values` method\n// https://tc39.es/ecma262/#sec-object.values\n$({ target: 'Object', stat: true }, {\n values: function values(O) {\n return $values(O);\n }\n});\n","require('../../modules/es.object.values');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.values;\n","var parent = require('../../es/object/values');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/object/values\");","import { SvelteComponent, init, safe_not_equal, noop, listen, is_function, run_all, component_subscribe, globals, set_store_value, bubble, subscribe, create_component, space, empty, mount_component, insert, transition_in, group_outros, transition_out, check_outros, destroy_component, detach, binding_callbacks, element, attr } from 'svelte/internal';\nimport { getContext } from 'svelte';\nimport { ancestor, addDuration, cloneDate, addDay, rect, createDuration, toEventWithLocalDates, toISOString, toViewWithLocalDates, cloneEvent, assign } from '@event-calendar/common';\n\nfunction traverseTimeGrid(dayEl) {\n let colEl = child(ancestor(dayEl, 1), 1);\n let bodyEl = ancestor(dayEl, 3);\n let col = pos(dayEl) - 1;\n\n return [colEl, bodyEl, col];\n}\n\nfunction traverseResourceTimeGrid(dayEl, datesAboveResources) {\n let colEl = child(child(ancestor(dayEl, 2), 1), 0);\n let resourceEl = ancestor(dayEl, 1);\n let bodyEl = ancestor(resourceEl, 3);\n let col = pos(dayEl);\n let resourceCol = pos(resourceEl) - 1;\n\n return datesAboveResources ? [colEl, bodyEl, resourceCol, col] : [colEl, bodyEl, col, resourceCol];\n}\n\nfunction traverseDayGrid(dayEl) {\n let daysEl = ancestor(dayEl, 1);\n let contentEl = ancestor(daysEl, 1);\n let colEl = child(child(contentEl, 0), 0);\n let bodyEl = ancestor(contentEl, 1);\n let col = pos(dayEl);\n let row = pos(daysEl);\n\n return [colEl, bodyEl, col, row, contentEl.children];\n}\n\nfunction child(el, pos) {\n return el.children[pos];\n}\n\nfunction pos(el) {\n let result = 0;\n while ((el = el.previousElementSibling)) {\n ++result;\n }\n return result;\n}\n\nlet busy = false;\nfunction animate(fn) {\n if (!busy) {\n busy = true;\n window.requestAnimationFrame(() => {\n fn();\n busy = false;\n });\n }\n}\n\nfunction limit(value, max) {\n return Math.max(0, Math.min(max, value));\n}\n\nfunction floor(value) {\n return Math.floor(value);\n}\n\n/* packages/interaction/src/Action.svelte generated by Svelte v3.55.0 */\n\nconst { window: window_1 } = globals;\n\nfunction create_fragment$3(ctx) {\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc: noop,\n\t\tm(target, anchor) {\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(window_1, \"pointermove\", /*handlePointerMove*/ ctx[32]),\n\t\t\t\t\tlisten(window_1, \"pointerup\", /*handlePointerUp*/ ctx[33]),\n\t\t\t\t\tlisten(window_1, \"pointercancel\", /*handlePointerUp*/ ctx[33]),\n\t\t\t\t\tlisten(window_1, \"scroll\", /*handleScroll*/ ctx[0]),\n\t\t\t\t\tlisten(window_1, \"click\", function () {\n\t\t\t\t\t\tif (is_function(/*$unselectAuto*/ ctx[4]\n\t\t\t\t\t\t? /*handleClick*/ ctx[34]\n\t\t\t\t\t\t: undefined)) (/*$unselectAuto*/ ctx[4]\n\t\t\t\t\t\t? /*handleClick*/ ctx[34]\n\t\t\t\t\t\t: undefined).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(window_1, \"selectstart\", function () {\n\t\t\t\t\t\tif (is_function(createPreventDefaultHandler(/*selectstart_handler*/ ctx[42]))) createPreventDefaultHandler(/*selectstart_handler*/ ctx[42]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(window_1, \"contextmenu\", function () {\n\t\t\t\t\t\tif (is_function(createPreventDefaultHandler(/*contextmenu_handler*/ ctx[43]))) createPreventDefaultHandler(/*contextmenu_handler*/ ctx[43]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(window_1, \"touchstart\", /*handleTouchStart*/ ctx[35]),\n\t\t\t\t\tlisten(window_1, \"touchmove\", /*touchmove_handler*/ ctx[41], { passive: false })\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nconst ACTION_DRAG = 1;\nconst ACTION_RESIZE = 2;\nconst ACTION_SELECT = 3;\nconst VIEW_TIME_GRID = 1;\nconst VIEW_DAY_GRID = 2;\n\nfunction createPreventDefaultHandler(condition) {\n\treturn jsEvent => {\n\t\tif (condition()) {\n\t\t\tjsEvent.preventDefault();\n\t\t}\n\t};\n}\n\nfunction instance$3($$self, $$props, $$invalidate) {\n\tlet $unselectCancel;\n\tlet $_view;\n\tlet $unselectFn;\n\tlet $_events;\n\tlet $_iEvents;\n\tlet $selectBackgroundColor;\n\tlet $_iClass;\n\n\tlet $_viewResources,\n\t\t$$unsubscribe__viewResources = noop,\n\t\t$$subscribe__viewResources = () => ($$unsubscribe__viewResources(), $$unsubscribe__viewResources = subscribe(_viewResources, $$value => $$invalidate(74, $_viewResources = $$value)), _viewResources);\n\n\tlet $eventDrop;\n\tlet $eventResize;\n\tlet $eventDragStop;\n\tlet $eventResizeStop;\n\tlet $select;\n\tlet $dragScroll;\n\tlet $eventDragStart;\n\tlet $eventResizeStart;\n\tlet $_viewDates;\n\tlet $hiddenDays;\n\tlet $slotDuration;\n\tlet $slotHeight;\n\tlet $datesAboveResources;\n\tlet $_ignoreClick;\n\tlet $eventDragMinDistance;\n\tlet $selectMinDistance;\n\tlet $longPressDelay;\n\tlet $eventLongPressDelay;\n\tlet $selectLongPressDelay;\n\tlet $unselectAuto;\n\t$$self.$$.on_destroy.push(() => $$unsubscribe__viewResources());\n\tlet { _iEvents, _iClass, _ignoreClick, _events, _viewDates, _view, datesAboveResources, dragScroll, editable, eventStartEditable, eventDragMinDistance, eventDragStart, eventDragStop, eventDrop, eventLongPressDelay, eventResizeStart, eventResizeStop, eventResize, longPressDelay, select, selectBackgroundColor, selectLongPressDelay, selectMinDistance, slotDuration, slotHeight, hiddenDays, unselect: unselectFn, unselectAuto, unselectCancel } = getContext('state');\n\tcomponent_subscribe($$self, _iEvents, value => $$invalidate(71, $_iEvents = value));\n\tcomponent_subscribe($$self, _iClass, value => $$invalidate(73, $_iClass = value));\n\tcomponent_subscribe($$self, _ignoreClick, value => $$invalidate(88, $_ignoreClick = value));\n\tcomponent_subscribe($$self, _events, value => $$invalidate(70, $_events = value));\n\tcomponent_subscribe($$self, _viewDates, value => $$invalidate(83, $_viewDates = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(68, $_view = value));\n\tcomponent_subscribe($$self, datesAboveResources, value => $$invalidate(87, $datesAboveResources = value));\n\tcomponent_subscribe($$self, dragScroll, value => $$invalidate(80, $dragScroll = value));\n\tcomponent_subscribe($$self, eventDragMinDistance, value => $$invalidate(89, $eventDragMinDistance = value));\n\tcomponent_subscribe($$self, eventDragStart, value => $$invalidate(81, $eventDragStart = value));\n\tcomponent_subscribe($$self, eventDragStop, value => $$invalidate(77, $eventDragStop = value));\n\tcomponent_subscribe($$self, eventDrop, value => $$invalidate(75, $eventDrop = value));\n\tcomponent_subscribe($$self, eventLongPressDelay, value => $$invalidate(92, $eventLongPressDelay = value));\n\tcomponent_subscribe($$self, eventResizeStart, value => $$invalidate(82, $eventResizeStart = value));\n\tcomponent_subscribe($$self, eventResizeStop, value => $$invalidate(78, $eventResizeStop = value));\n\tcomponent_subscribe($$self, eventResize, value => $$invalidate(76, $eventResize = value));\n\tcomponent_subscribe($$self, longPressDelay, value => $$invalidate(91, $longPressDelay = value));\n\tcomponent_subscribe($$self, select, value => $$invalidate(79, $select = value));\n\tcomponent_subscribe($$self, selectBackgroundColor, value => $$invalidate(72, $selectBackgroundColor = value));\n\tcomponent_subscribe($$self, selectLongPressDelay, value => $$invalidate(93, $selectLongPressDelay = value));\n\tcomponent_subscribe($$self, selectMinDistance, value => $$invalidate(90, $selectMinDistance = value));\n\tcomponent_subscribe($$self, slotDuration, value => $$invalidate(85, $slotDuration = value));\n\tcomponent_subscribe($$self, slotHeight, value => $$invalidate(86, $slotHeight = value));\n\tcomponent_subscribe($$self, hiddenDays, value => $$invalidate(84, $hiddenDays = value));\n\tcomponent_subscribe($$self, unselectFn, value => $$invalidate(69, $unselectFn = value));\n\tcomponent_subscribe($$self, unselectAuto, value => $$invalidate(4, $unselectAuto = value));\n\tcomponent_subscribe($$self, unselectCancel, value => $$invalidate(67, $unselectCancel = value));\n\tlet action;\n\tlet view;\n\tlet interacting;\n\tlet event;\n\tlet col, row;\n\tlet offsetX, offsetY;\n\tlet fromX, fromY;\n\tlet toX, toY;\n\tlet delta;\n\tlet colEl, rowEls, bodyEl;\n\tlet colRect, bodyRect;\n\tlet _viewResources;\n\tlet resourceCol, newResourceCol;\n\tlet isAllDay = false;\n\tlet iClass;\n\tlet minEnd; // minimum end time when resizing\n\tlet selected; // whether selection has been made\n\tlet timer; // timer for long press delays\n\n\tfunction dragTimeGrid(eventToDrag, el, jsEvent, resourcesStore, allDay, resize) {\n\t\tif (!action && jsEvent.isPrimary) {\n\t\t\t$$invalidate(1, action = resize ? ACTION_RESIZE : ACTION_DRAG);\n\t\t\tview = VIEW_TIME_GRID;\n\t\t\tevent = eventToDrag;\n\t\t\t$$subscribe__viewResources($$invalidate(2, _viewResources = resourcesStore));\n\t\t\tisAllDay = allDay;\n\t\t\tiClass = resize ? allDay ? 'resizingX' : 'resizingY' : 'dragging';\n\t\t\tlet dayEl = ancestor(el, 2);\n\n\t\t\tif (resourcesStore) {\n\t\t\t\t[colEl, bodyEl, col, resourceCol] = traverseResourceTimeGrid(dayEl, $datesAboveResources);\n\t\t\t} else {\n\t\t\t\t[colEl, bodyEl, col] = traverseTimeGrid(dayEl);\n\t\t\t}\n\n\t\t\tcommon(jsEvent);\n\t\t\toffsetY = floor((jsEvent.clientY - colRect.top) / $slotHeight);\n\t\t\toffsetX = 0; // applicable for all-day slot\n\n\t\t\tif (allDay && (!resourcesStore || !$datesAboveResources)) {\n\t\t\t\toffsetX = floor((jsEvent.clientX - colRect.left) / colRect.width) - col - (resourceCol || 0) * $_viewDates.length;\n\t\t\t}\n\n\t\t\tif (resize) {\n\t\t\t\tminEnd = addDuration(cloneDate(event.start), $slotDuration);\n\t\t\t}\n\n\t\t\tmove(jsEvent);\n\t\t}\n\t}\n\n\tfunction dragDayGrid(eventToDrag, el, jsEvent, inPopup, resize) {\n\t\tif (!action && jsEvent.isPrimary) {\n\t\t\t$$invalidate(1, action = resize ? ACTION_RESIZE : ACTION_DRAG);\n\t\t\tview = VIEW_DAY_GRID;\n\t\t\tevent = eventToDrag;\n\t\t\tiClass = resize ? 'resizingX' : 'dragging';\n\t\t\tlet dayEl = ancestor(el, inPopup ? 3 : 2);\n\t\t\t[colEl, bodyEl, col, row, rowEls] = traverseDayGrid(dayEl);\n\t\t\tcommon(jsEvent);\n\n\t\t\toffsetX = inPopup\n\t\t\t? 0\n\t\t\t: floor((jsEvent.clientX - colRect.left) / colRect.width) - col;\n\n\t\t\tif (resize) {\n\t\t\t\tminEnd = cloneDate(event.start);\n\t\t\t\tminEnd.setUTCHours(event.end.getUTCHours(), event.end.getUTCMinutes(), event.end.getUTCSeconds());\n\n\t\t\t\tif (minEnd < event.start) {\n\t\t\t\t\taddDay(minEnd);\n\t\t\t\t} // minEnd = addDuration(cloneDate(event.start), $slotDuration); alternative version\n\t\t\t}\n\n\t\t\tmove(jsEvent);\n\t\t}\n\t}\n\n\tfunction selectTimeGrid(colDate, dayEl, jsEvent, resourcesStore, _slotTimeLimits, allDay) {\n\t\tif (!action && jsEvent.isPrimary) {\n\t\t\t$$invalidate(1, action = ACTION_SELECT);\n\t\t\tview = VIEW_TIME_GRID;\n\t\t\t$$subscribe__viewResources($$invalidate(2, _viewResources = resourcesStore));\n\t\t\tisAllDay = allDay;\n\t\t\tiClass = 'selecting';\n\n\t\t\tif (resourcesStore) {\n\t\t\t\t[colEl, bodyEl, col, resourceCol] = traverseResourceTimeGrid(dayEl, $datesAboveResources);\n\t\t\t} else {\n\t\t\t\t[colEl, bodyEl, col] = traverseTimeGrid(dayEl);\n\t\t\t}\n\n\t\t\tcommon(jsEvent);\n\t\t\toffsetY = floor((jsEvent.clientY - colRect.top) / $slotHeight);\n\t\t\toffsetX = 0; // applicable for all-day slot\n\n\t\t\tif (allDay && (!resourcesStore || !$datesAboveResources)) {\n\t\t\t\toffsetX = floor((jsEvent.clientX - colRect.left) / colRect.width) - col - (resourceCol || 0) * $_viewDates.length;\n\t\t\t}\n\n\t\t\t// Create dummy source event\n\t\t\tlet date = cloneDate(colDate);\n\n\t\t\tif (!allDay) {\n\t\t\t\taddDuration(date, $slotDuration, offsetY + _slotTimeLimits.min.seconds / $slotDuration.seconds);\n\t\t\t}\n\n\t\t\tevent = {\n\t\t\t\tallDay,\n\t\t\t\tstart: date,\n\t\t\t\tend: allDay\n\t\t\t\t? addDay(cloneDate(date))\n\t\t\t\t: addDuration(cloneDate(date), $slotDuration),\n\t\t\t\tresourceIds: _viewResources ? [$_viewResources[resourceCol].id] : []\n\t\t\t};\n\n\t\t\tmove(jsEvent);\n\t\t}\n\t}\n\n\tfunction selectDayGrid(dayDate, dayEl, jsEvent) {\n\t\tif (!action && jsEvent.isPrimary) {\n\t\t\t$$invalidate(1, action = ACTION_SELECT);\n\t\t\tview = VIEW_DAY_GRID;\n\t\t\tiClass = 'selecting';\n\t\t\t[colEl, bodyEl, col, row, rowEls] = traverseDayGrid(dayEl);\n\t\t\tcommon(jsEvent);\n\t\t\toffsetX = floor((jsEvent.clientX - colRect.left) / colRect.width) - col;\n\n\t\t\t// Create dummy source event\n\t\t\tlet date = cloneDate(dayDate);\n\n\t\t\tevent = {\n\t\t\t\tallDay: false,\n\t\t\t\tstart: date,\n\t\t\t\tend: addDay(cloneDate(date)),\n\t\t\t\tresourceIds: []\n\t\t\t};\n\n\t\t\tmove(jsEvent);\n\t\t}\n\t}\n\n\tfunction common(jsEvent) {\n\t\twindow.getSelection().removeAllRanges();\n\t\tcolRect = rect(colEl);\n\t\tbodyRect = rect(bodyEl);\n\t\tfromX = toX = jsEvent.clientX;\n\t\tfromY = toY = jsEvent.clientY;\n\n\t\tif (jsEvent.pointerType !== 'mouse') {\n\t\t\t// For touch devices init long press delay\n\t\t\t$$invalidate(3, timer = setTimeout(\n\t\t\t\t() => {\n\t\t\t\t\tif (action) {\n\t\t\t\t\t\tinteracting = true;\n\t\t\t\t\t\tmove(jsEvent);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t(selecting()\n\t\t\t\t? $selectLongPressDelay\n\t\t\t\t: $eventLongPressDelay) ?? $longPressDelay\n\t\t\t));\n\t\t}\n\t}\n\n\tfunction move(jsEvent) {\n\t\tlet rx = toX - colRect.left;\n\t\tlet ry = toY - colRect.top;\n\n\t\tif (interacting || jsEvent && jsEvent.pointerType === 'mouse' && distance() >= (selecting() ? $selectMinDistance : $eventDragMinDistance)) {\n\t\t\tinteracting = true;\n\t\t\tunselect(jsEvent);\n\t\t\tset_store_value(_iClass, $_iClass = iClass, $_iClass);\n\t\t\tset_store_value(_ignoreClick, $_ignoreClick = true, $_ignoreClick);\n\t\t\tlet newCol = floor(rx / colRect.width);\n\n\t\t\tif (view === VIEW_TIME_GRID) {\n\t\t\t\t// timeGrid\n\t\t\t\tif (_viewResources) {\n\t\t\t\t\tif (dragging()) {\n\t\t\t\t\t\tif ($datesAboveResources) {\n\t\t\t\t\t\t\tlet dayCol = limit(floor(newCol / $_viewResources.length), $_viewDates.length - 1);\n\t\t\t\t\t\t\tnewResourceCol = limit(newCol - dayCol * $_viewResources.length, $_viewResources.length - 1);\n\t\t\t\t\t\t\tnewCol = dayCol;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tnewResourceCol = limit(floor(newCol / $_viewDates.length), $_viewResources.length - 1);\n\t\t\t\t\t\t\tnewCol -= newResourceCol * $_viewDates.length;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif ($datesAboveResources) {\n\t\t\t\t\t\t\tnewCol = floor(newCol / $_viewResources.length);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tnewCol -= resourceCol * $_viewDates.length;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tnewCol = limit(newCol, $_viewDates.length - 1);\n\n\t\t\t\tdelta = createDuration({\n\t\t\t\t\tdays: ($_viewDates[newCol] - $_viewDates[col]) / 1000 / 60 / 60 / 24 - offsetX,\n\t\t\t\t\tseconds: isAllDay\n\t\t\t\t\t? 0\n\t\t\t\t\t: (floor(ry / $slotHeight) - offsetY) * $slotDuration.seconds\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\t// dayGrid\n\t\t\t\tlet cols = 7 - $hiddenDays.length;\n\n\t\t\t\tnewCol = limit(newCol, cols - 1);\n\t\t\t\tlet newRow = -1;\n\n\t\t\t\tdo {\n\t\t\t\t\t++newRow;\n\t\t\t\t\try -= rowEls[newRow].offsetHeight;\n\t\t\t\t} while (ry > 0 && newRow < rowEls.length - 1);\n\n\t\t\t\tdelta = createDuration({\n\t\t\t\t\tdays: ($_viewDates[newRow * cols + newCol] - $_viewDates[row * cols + col]) / 1000 / 60 / 60 / 24 - offsetX\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tif (!$_iEvents[0]) {\n\t\t\t\tif (selecting()) {\n\t\t\t\t\tcreateIEventSelect();\n\t\t\t\t} else {\n\t\t\t\t\tcreateIEvent(jsEvent, resizing() ? $eventResizeStart : $eventDragStart);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tset_store_value(_iEvents, $_iEvents[0].end = addDuration(cloneDate(event.end), delta), $_iEvents);\n\n\t\t\tif (resizing()) {\n\t\t\t\tif ($_iEvents[0].end < minEnd) {\n\t\t\t\t\tset_store_value(_iEvents, $_iEvents[0].end = minEnd, $_iEvents);\n\t\t\t\t\tdelta = createDuration(($_iEvents[0].end - event.end) / 1000);\n\t\t\t\t}\n\t\t\t} else if (selecting()) {\n\t\t\t\tif ($_iEvents[0].end < event.end) {\n\t\t\t\t\tset_store_value(_iEvents, $_iEvents[0].end = event.end, $_iEvents);\n\t\t\t\t\tset_store_value(_iEvents, $_iEvents[0].start = addDuration(cloneDate(event.start), delta), $_iEvents);\n\t\t\t\t} else {\n\t\t\t\t\tset_store_value(_iEvents, $_iEvents[0].start = event.start, $_iEvents);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tset_store_value(_iEvents, $_iEvents[0].start = addDuration(cloneDate(event.start), delta), $_iEvents);\n\n\t\t\t\tif (_viewResources) {\n\t\t\t\t\tset_store_value(_iEvents, $_iEvents[0].resourceIds = event.resourceIds.filter(id => id !== $_viewResources[resourceCol].id), $_iEvents);\n\t\t\t\t\t$_iEvents[0].resourceIds.push($_viewResources[newResourceCol].id);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ($dragScroll) {\n\t\t\tanimate(() => {\n\t\t\t\tif (toY < 0) {\n\t\t\t\t\twindow.scrollBy(0, Math.max(-10, toY / 3));\n\t\t\t\t}\n\n\t\t\t\tif (toY < bodyRect.top) {\n\t\t\t\t\tbodyEl.scrollTop += Math.max(-10, (toY - bodyRect.top) / 3);\n\t\t\t\t}\n\n\t\t\t\tif (toY > window.innerHeight) {\n\t\t\t\t\twindow.scrollBy(0, Math.min(10, (toY - window.innerHeight) / 3));\n\t\t\t\t}\n\n\t\t\t\tif (toY > bodyRect.bottom) {\n\t\t\t\t\tbodyEl.scrollTop += Math.min(10, (toY - bodyRect.bottom) / 3);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tfunction handleScroll() {\n\t\tif (action) {\n\t\t\tcolRect = rect(colEl);\n\t\t\tbodyRect = rect(bodyEl);\n\t\t\tmove();\n\t\t}\n\t}\n\n\tfunction handlePointerMove(jsEvent) {\n\t\tif (action && jsEvent.isPrimary) {\n\t\t\ttoX = jsEvent.clientX;\n\t\t\ttoY = jsEvent.clientY;\n\t\t\tmove(jsEvent);\n\t\t}\n\t}\n\n\tfunction handlePointerUp(jsEvent) {\n\t\tif (action && jsEvent.isPrimary) {\n\t\t\tif (interacting) {\n\t\t\t\tif (selecting()) {\n\t\t\t\t\tif (is_function($select)) {\n\t\t\t\t\t\tlet { start, end } = toEventWithLocalDates($_iEvents[0]);\n\n\t\t\t\t\t\t$select({\n\t\t\t\t\t\t\tstart,\n\t\t\t\t\t\t\tend,\n\t\t\t\t\t\t\tstartStr: toISOString($_iEvents[0].start),\n\t\t\t\t\t\t\tendStr: toISOString($_iEvents[0].end),\n\t\t\t\t\t\t\tallDay: isAllDay,\n\t\t\t\t\t\t\tjsEvent,\n\t\t\t\t\t\t\tview: toViewWithLocalDates($_view),\n\t\t\t\t\t\t\tresource: resourceCol && $_viewResources[resourceCol]\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\tsetTimeout(() => selected = true, 5); /*add some delay for touch devices*/\n\t\t\t\t} else {\n\t\t\t\t\tevent.display = 'auto';\n\t\t\t\t\tlet callback = resizing() ? $eventResizeStop : $eventDragStop;\n\n\t\t\t\t\tif (is_function(callback)) {\n\t\t\t\t\t\tcallback({\n\t\t\t\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\t\t\t\tjsEvent,\n\t\t\t\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\tlet oldEvent = cloneEvent(event);\n\t\t\t\t\tupdateEvent(event, $_iEvents[0]);\n\t\t\t\t\tdestroyIEvent();\n\t\t\t\t\tcallback = resizing() ? $eventResize : $eventDrop;\n\n\t\t\t\t\tif (is_function(callback)) {\n\t\t\t\t\t\tlet eventRef = event;\n\n\t\t\t\t\t\tlet info = resizing()\n\t\t\t\t\t\t? { endDelta: delta }\n\t\t\t\t\t\t: {\n\t\t\t\t\t\t\t\tdelta,\n\t\t\t\t\t\t\t\toldResource: resourceCol !== newResourceCol\n\t\t\t\t\t\t\t\t? $_viewResources[resourceCol]\n\t\t\t\t\t\t\t\t: undefined,\n\t\t\t\t\t\t\t\tnewResource: resourceCol !== newResourceCol\n\t\t\t\t\t\t\t\t? $_viewResources[newResourceCol]\n\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\tcallback(assign(info, {\n\t\t\t\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\t\t\t\toldEvent: toEventWithLocalDates(oldEvent),\n\t\t\t\t\t\t\tjsEvent,\n\t\t\t\t\t\t\tview: toViewWithLocalDates($_view),\n\t\t\t\t\t\t\trevert() {\n\t\t\t\t\t\t\t\tupdateEvent(eventRef, oldEvent);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tcolEl = rowEls = bodyEl = null;\n\t\t\tresourceCol = newResourceCol = undefined;\n\t\t\t$$invalidate(1, action = view = interacting = false);\n\t\t\tisAllDay = false;\n\t\t\tset_store_value(_iClass, $_iClass = undefined, $_iClass);\n\t\t\t$$subscribe__viewResources($$invalidate(2, _viewResources = undefined));\n\n\t\t\tif (timer) {\n\t\t\t\tclearTimeout(timer);\n\t\t\t\t$$invalidate(3, timer = undefined);\n\t\t\t}\n\t\t}\n\t}\n\n\tfunction createIEvent(jsEvent, callback) {\n\t\tif (is_function(callback)) {\n\t\t\tcallback({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\tjsEvent,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t});\n\t\t}\n\n\t\tevent.display = 'preview';\n\t\tset_store_value(_iEvents, $_iEvents[0] = cloneEvent(event), $_iEvents);\n\t\tevent.display = 'ghost';\n\t\t_events.set($_events);\n\t}\n\n\tfunction createIEventSelect() {\n\t\tset_store_value(\n\t\t\t_iEvents,\n\t\t\t$_iEvents[0] = {\n\t\t\t\tid: '{select}',\n\t\t\t\tallDay: event.allDay,\n\t\t\t\tstart: event.start,\n\t\t\t\ttitle: '',\n\t\t\t\tdisplay: 'preview',\n\t\t\t\textendedProps: {},\n\t\t\t\tbackgroundColor: $selectBackgroundColor,\n\t\t\t\tresourceIds: event.resourceIds\n\t\t\t},\n\t\t\t$_iEvents\n\t\t);\n\t}\n\n\tfunction destroyIEvent() {\n\t\tset_store_value(_iEvents, $_iEvents[0] = null, $_iEvents);\n\t}\n\n\tfunction updateEvent(target, source) {\n\t\ttarget.start = source.start;\n\t\ttarget.end = source.end;\n\t\ttarget.resourceIds = source.resourceIds;\n\t\t_events.set($_events);\n\t}\n\n\tfunction distance() {\n\t\treturn Math.sqrt(Math.pow(toX - fromX, 2) + Math.pow(toY - fromY, 2));\n\t}\n\n\tfunction dragging() {\n\t\treturn action === ACTION_DRAG;\n\t}\n\n\tfunction resizing() {\n\t\treturn action === ACTION_RESIZE;\n\t}\n\n\tfunction selecting() {\n\t\treturn action === ACTION_SELECT;\n\t}\n\n\tfunction unselect(jsEvent) {\n\t\tif (selected) {\n\t\t\tselected = false;\n\t\t\tdestroyIEvent();\n\n\t\t\tif (is_function($unselectFn)) {\n\t\t\t\t$unselectFn({\n\t\t\t\t\tjsEvent,\n\t\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}\n\n\t// Clear selection on view params change\n\t_view.subscribe(unselect);\n\n\tfunction handleClick(jsEvent) {\n\t\tif (selected && !($unselectCancel && jsEvent.target.closest($unselectCancel))) {\n\t\t\tunselect();\n\t\t}\n\t}\n\n\tfunction handleTouchStart(jsEvent) {\n\t\tif (action) {\n\t\t\tlet target = jsEvent.target;\n\t\t\tlet stops = [];\n\t\t\tlet stop = () => run_all(stops);\n\t\t\tstops.push(listen(target, 'touchmove', createPreventDefaultHandler(() => interacting)));\n\t\t\tstops.push(listen(target, 'touchend', stop));\n\t\t\tstops.push(listen(target, 'touchcancel', stop));\n\t\t}\n\t}\n\n\tfunction touchmove_handler(event) {\n\t\tbubble.call(this, $$self, event);\n\t}\n\n\tconst selectstart_handler = () => action;\n\tconst contextmenu_handler = () => timer;\n\n\treturn [\n\t\thandleScroll,\n\t\taction,\n\t\t_viewResources,\n\t\ttimer,\n\t\t$unselectAuto,\n\t\t_iEvents,\n\t\t_iClass,\n\t\t_ignoreClick,\n\t\t_events,\n\t\t_viewDates,\n\t\t_view,\n\t\tdatesAboveResources,\n\t\tdragScroll,\n\t\teventDragMinDistance,\n\t\teventDragStart,\n\t\teventDragStop,\n\t\teventDrop,\n\t\teventLongPressDelay,\n\t\teventResizeStart,\n\t\teventResizeStop,\n\t\teventResize,\n\t\tlongPressDelay,\n\t\tselect,\n\t\tselectBackgroundColor,\n\t\tselectLongPressDelay,\n\t\tselectMinDistance,\n\t\tslotDuration,\n\t\tslotHeight,\n\t\thiddenDays,\n\t\tunselectFn,\n\t\tunselectAuto,\n\t\tunselectCancel,\n\t\thandlePointerMove,\n\t\thandlePointerUp,\n\t\thandleClick,\n\t\thandleTouchStart,\n\t\tdragTimeGrid,\n\t\tdragDayGrid,\n\t\tselectTimeGrid,\n\t\tselectDayGrid,\n\t\tunselect,\n\t\ttouchmove_handler,\n\t\tselectstart_handler,\n\t\tcontextmenu_handler\n\t];\n}\n\nclass Action extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\n\t\tinit(\n\t\t\tthis,\n\t\t\toptions,\n\t\t\tinstance$3,\n\t\t\tcreate_fragment$3,\n\t\t\tsafe_not_equal,\n\t\t\t{\n\t\t\t\tdragTimeGrid: 36,\n\t\t\t\tdragDayGrid: 37,\n\t\t\t\tselectTimeGrid: 38,\n\t\t\t\tselectDayGrid: 39,\n\t\t\t\thandleScroll: 0,\n\t\t\t\tunselect: 40\n\t\t\t},\n\t\t\tnull,\n\t\t\t[-1, -1, -1, -1]\n\t\t);\n\t}\n\n\tget dragTimeGrid() {\n\t\treturn this.$$.ctx[36];\n\t}\n\n\tget dragDayGrid() {\n\t\treturn this.$$.ctx[37];\n\t}\n\n\tget selectTimeGrid() {\n\t\treturn this.$$.ctx[38];\n\t}\n\n\tget selectDayGrid() {\n\t\treturn this.$$.ctx[39];\n\t}\n\n\tget handleScroll() {\n\t\treturn this.$$.ctx[0];\n\t}\n\n\tget unselect() {\n\t\treturn this.$$.ctx[40];\n\t}\n}\n\n/* packages/interaction/src/Pointer.svelte generated by Svelte v3.55.0 */\n\nfunction create_fragment$2(ctx) {\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc: noop,\n\t\tm(target, anchor) {\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(window, \"pointermove\", /*handlePointerMove*/ ctx[5]),\n\t\t\t\t\tlisten(window, \"scroll\", /*handleScroll*/ ctx[0])\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp: noop,\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction validEvent(jsEvent) {\n\treturn jsEvent.isPrimary && jsEvent.pointerType === 'mouse';\n}\n\nfunction instance$2($$self, $$props, $$invalidate) {\n\tlet $_iEvents;\n\tlet $slotDuration;\n\n\tlet $_slotTimeLimits,\n\t\t$$unsubscribe__slotTimeLimits = noop,\n\t\t$$subscribe__slotTimeLimits = () => ($$unsubscribe__slotTimeLimits(), $$unsubscribe__slotTimeLimits = subscribe(_slotTimeLimits, $$value => $$invalidate(17, $_slotTimeLimits = $$value)), _slotTimeLimits);\n\n\tlet $slotHeight;\n\t$$self.$$.on_destroy.push(() => $$unsubscribe__slotTimeLimits());\n\tlet { _iEvents, _events, _viewDates, slotDuration, slotHeight, hiddenDays, _view, datesAboveResources, theme } = getContext('state');\n\tcomponent_subscribe($$self, _iEvents, value => $$invalidate(9, $_iEvents = value));\n\tcomponent_subscribe($$self, slotDuration, value => $$invalidate(16, $slotDuration = value));\n\tcomponent_subscribe($$self, slotHeight, value => $$invalidate(18, $slotHeight = value));\n\tlet y;\n\tlet colDate;\n\tlet colEl;\n\tlet colRect;\n\tlet resource;\n\tlet _slotTimeLimits;\n\tlet date;\n\n\tfunction enterTimeGrid(date, el, jsEvent, slotTimeLimitsStore, resourceObj) {\n\t\tif (validEvent(jsEvent)) {\n\t\t\tcolDate = date;\n\t\t\tcolEl = el;\n\t\t\tcolRect = rect(colEl);\n\t\t\ty = jsEvent.clientY;\n\t\t\t$$subscribe__slotTimeLimits($$invalidate(1, _slotTimeLimits = slotTimeLimitsStore));\n\t\t\tresource = resourceObj;\n\t\t}\n\t}\n\n\tfunction enterDayGrid(date, jsEvent) {\n\t\tif (validEvent(jsEvent)) {\n\t\t\tcolDate = date;\n\t\t\tcolEl = null;\n\t\t\ty = $$subscribe__slotTimeLimits($$invalidate(1, _slotTimeLimits = resource = undefined));\n\t\t}\n\t}\n\n\tfunction leave(jsEvent) {\n\t\tif (validEvent(jsEvent)) {\n\t\t\tremovePointerEvent();\n\t\t}\n\t}\n\n\tfunction move() {\n\t\tif (!colDate) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (colEl) {\n\t\t\t// timeGrid\n\t\t\tlet ry = y - colRect.top;\n\n\t\t\tdate = addDuration(cloneDate(colDate), $slotDuration, floor(ry / $slotHeight + $_slotTimeLimits.min.seconds / $slotDuration.seconds));\n\t\t} else {\n\t\t\t// dayGrid\n\t\t\tdate = colDate;\n\t\t}\n\n\t\tif (!$_iEvents[1]) {\n\t\t\tcreatePointerEvent();\n\t\t}\n\n\t\tset_store_value(_iEvents, $_iEvents[1].start = date, $_iEvents);\n\t\tset_store_value(_iEvents, $_iEvents[1].end = addDuration(cloneDate(date), $slotDuration), $_iEvents);\n\t\tset_store_value(_iEvents, $_iEvents[1].resourceIds = resource ? [resource.id] : [], $_iEvents);\n\t}\n\n\tfunction handleScroll() {\n\t\tif (colEl) {\n\t\t\tcolRect = rect(colEl);\n\t\t\tmove();\n\t\t}\n\t}\n\n\tfunction handlePointerMove(jsEvent) {\n\t\tif (validEvent(jsEvent)) {\n\t\t\ty = jsEvent.clientY;\n\t\t\tmove();\n\t\t}\n\t}\n\n\tfunction createPointerEvent() {\n\t\tset_store_value(\n\t\t\t_iEvents,\n\t\t\t$_iEvents[1] = {\n\t\t\t\tid: '{pointer}',\n\t\t\t\ttitle: '',\n\t\t\t\tdisplay: 'pointer',\n\t\t\t\textendedProps: {},\n\t\t\t\tbackgroundColor: 'transparent'\n\t\t\t},\n\t\t\t$_iEvents\n\t\t);\n\t}\n\n\tfunction removePointerEvent() {\n\t\tcolDate = colEl = set_store_value(_iEvents, $_iEvents[1] = null, $_iEvents);\n\t}\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$_iEvents*/ 512) {\n\t\t\tif ($_iEvents[0]) {\n\t\t\t\tremovePointerEvent();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\thandleScroll,\n\t\t_slotTimeLimits,\n\t\t_iEvents,\n\t\tslotDuration,\n\t\tslotHeight,\n\t\thandlePointerMove,\n\t\tenterTimeGrid,\n\t\tenterDayGrid,\n\t\tleave,\n\t\t$_iEvents\n\t];\n}\n\nclass Pointer extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\n\t\tinit(this, options, instance$2, create_fragment$2, safe_not_equal, {\n\t\t\tenterTimeGrid: 6,\n\t\t\tenterDayGrid: 7,\n\t\t\tleave: 8,\n\t\t\thandleScroll: 0\n\t\t});\n\t}\n\n\tget enterTimeGrid() {\n\t\treturn this.$$.ctx[6];\n\t}\n\n\tget enterDayGrid() {\n\t\treturn this.$$.ctx[7];\n\t}\n\n\tget leave() {\n\t\treturn this.$$.ctx[8];\n\t}\n\n\tget handleScroll() {\n\t\treturn this.$$.ctx[0];\n\t}\n}\n\n/* packages/interaction/src/Interaction.svelte generated by Svelte v3.55.0 */\n\nfunction create_if_block$1(ctx) {\n\tlet pointer_1;\n\tlet current;\n\tlet pointer_1_props = {};\n\tpointer_1 = new Pointer({ props: pointer_1_props });\n\t/*pointer_1_binding*/ ctx[18](pointer_1);\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(pointer_1.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(pointer_1, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst pointer_1_changes = {};\n\t\t\tpointer_1.$set(pointer_1_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(pointer_1.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(pointer_1.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\t/*pointer_1_binding*/ ctx[18](null);\n\t\t\tdestroy_component(pointer_1, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$1(ctx) {\n\tlet action;\n\tlet t;\n\tlet if_block_anchor;\n\tlet current;\n\tlet action_props = {};\n\taction = new Action({ props: action_props });\n\t/*action_binding*/ ctx[17](action);\n\tlet if_block = /*$pointer*/ ctx[1] && create_if_block$1(ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(action.$$.fragment);\n\t\t\tt = space();\n\t\t\tif (if_block) if_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(action, target, anchor);\n\t\t\tinsert(target, t, anchor);\n\t\t\tif (if_block) if_block.m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tconst action_changes = {};\n\t\t\taction.$set(action_changes);\n\n\t\t\tif (/*$pointer*/ ctx[1]) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty & /*$pointer*/ 2) {\n\t\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block$1(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block, 1, 1, () => {\n\t\t\t\t\tif_block = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(action.$$.fragment, local);\n\t\t\ttransition_in(if_block);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(action.$$.fragment, local);\n\t\t\ttransition_out(if_block);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\t/*action_binding*/ ctx[17](null);\n\t\t\tdestroy_component(action, detaching);\n\t\t\tif (detaching) detach(t);\n\t\t\tif (if_block) if_block.d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\nfunction instance$1($$self, $$props, $$invalidate) {\n\tlet $_interaction;\n\tlet $_scroll;\n\tlet $editable;\n\tlet $eventDurationEditable;\n\tlet $_resizable;\n\tlet $eventStartEditable;\n\tlet $_draggable;\n\tlet $theme;\n\tlet $_classes;\n\tlet $pointer;\n\tlet { theme, editable, eventStartEditable, eventDurationEditable, pointer, _interaction, _classes, _draggable, _resizable, _scroll } = getContext('state');\n\tcomponent_subscribe($$self, theme, value => $$invalidate(16, $theme = value));\n\tcomponent_subscribe($$self, editable, value => $$invalidate(12, $editable = value));\n\tcomponent_subscribe($$self, eventStartEditable, value => $$invalidate(14, $eventStartEditable = value));\n\tcomponent_subscribe($$self, eventDurationEditable, value => $$invalidate(13, $eventDurationEditable = value));\n\tcomponent_subscribe($$self, pointer, value => $$invalidate(1, $pointer = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(0, $_interaction = value));\n\tcomponent_subscribe($$self, _classes, value => $$invalidate(21, $_classes = value));\n\tcomponent_subscribe($$self, _draggable, value => $$invalidate(15, $_draggable = value));\n\tcomponent_subscribe($$self, _resizable, value => $$invalidate(20, $_resizable = value));\n\tcomponent_subscribe($$self, _scroll, value => $$invalidate(19, $_scroll = value));\n\n\tset_store_value(\n\t\t_scroll,\n\t\t$_scroll = () => {\n\t\t\tfor (let component of Object.values($_interaction)) {\n\t\t\t\tcomponent && component.handleScroll && component.handleScroll();\n\t\t\t}\n\t\t},\n\t\t$_scroll\n\t);\n\n\tfunction action_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\t$_interaction.action = $$value;\n\t\t\t_interaction.set($_interaction);\n\t\t});\n\t}\n\n\tfunction pointer_1_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\t$_interaction.pointer = $$value;\n\t\t\t_interaction.set($_interaction);\n\t\t});\n\t}\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$eventStartEditable, $editable*/ 20480) {\n\t\t\tset_store_value(_draggable, $_draggable = event => (event.startEditable ?? $eventStartEditable) || (event.editable ?? $editable), $_draggable);\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$_draggable, $theme*/ 98304) {\n\t\t\tset_store_value(\n\t\t\t\t_classes,\n\t\t\t\t$_classes = (className, event) => {\n\t\t\t\t\tswitch (event.display) {\n\t\t\t\t\t\tcase 'auto':\n\t\t\t\t\t\t\treturn className + ($_draggable(event) ? ' ' + $theme.draggable : '');\n\t\t\t\t\t\tcase 'ghost':\n\t\t\t\t\t\t\treturn `${$theme.event} ${$theme.ghost}`;\n\t\t\t\t\t\tcase 'preview':\n\t\t\t\t\t\t\treturn `${$theme.event} ${$theme.preview}`;\n\t\t\t\t\t\tcase 'pointer':\n\t\t\t\t\t\t\treturn `${$theme.event} ${$theme.pointer}`;\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\treturn className;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t$_classes\n\t\t\t);\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$eventDurationEditable, $editable*/ 12288) {\n\t\t\tset_store_value(_resizable, $_resizable = event => (event.durationEditable ?? $eventDurationEditable) || (event.editable ?? $editable), $_resizable);\n\t\t}\n\t};\n\n\treturn [\n\t\t$_interaction,\n\t\t$pointer,\n\t\ttheme,\n\t\teditable,\n\t\teventStartEditable,\n\t\teventDurationEditable,\n\t\tpointer,\n\t\t_interaction,\n\t\t_classes,\n\t\t_draggable,\n\t\t_resizable,\n\t\t_scroll,\n\t\t$editable,\n\t\t$eventDurationEditable,\n\t\t$eventStartEditable,\n\t\t$_draggable,\n\t\t$theme,\n\t\taction_binding,\n\t\tpointer_1_binding\n\t];\n}\n\nclass Interaction extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$1, create_fragment$1, safe_not_equal, {});\n\t}\n}\n\n/* packages/interaction/src/Resizer.svelte generated by Svelte v3.55.0 */\n\nfunction create_if_block(ctx) {\n\tlet div;\n\tlet div_class_value;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[2].resizer);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(div, \"pointerdown\", /*pointerdown_handler*/ ctx[5]);\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$theme*/ 4 && div_class_value !== (div_class_value = /*$theme*/ ctx[2].resizer)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\nfunction create_fragment(ctx) {\n\tlet show_if = /*event*/ ctx[0].display === 'auto' && /*$_resizable*/ ctx[1](/*event*/ ctx[0]);\n\tlet if_block_anchor;\n\tlet if_block = show_if && create_if_block(ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif (if_block) if_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif (if_block) if_block.m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*event, $_resizable*/ 3) show_if = /*event*/ ctx[0].display === 'auto' && /*$_resizable*/ ctx[1](/*event*/ ctx[0]);\n\n\t\t\tif (show_if) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tif_block.d(1);\n\t\t\t\tif_block = null;\n\t\t\t}\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tif (if_block) if_block.d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\nfunction instance($$self, $$props, $$invalidate) {\n\tlet $_resizable;\n\tlet $theme;\n\tlet { event } = $$props;\n\tlet { theme, _resizable } = getContext('state');\n\tcomponent_subscribe($$self, theme, value => $$invalidate(2, $theme = value));\n\tcomponent_subscribe($$self, _resizable, value => $$invalidate(1, $_resizable = value));\n\n\tfunction pointerdown_handler(event) {\n\t\tbubble.call(this, $$self, event);\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('event' in $$props) $$invalidate(0, event = $$props.event);\n\t};\n\n\treturn [event, $_resizable, $theme, theme, _resizable, pointerdown_handler];\n}\n\nclass Resizer extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance, create_fragment, safe_not_equal, { event: 0 });\n\t}\n}\n\nvar index = {\n\tcreateOptions(options) {\n\t\toptions.editable = false;\n\t\toptions.eventStartEditable = true;\n\t\toptions.eventDragMinDistance = 5;\n\t\toptions.eventDragStart = undefined;\n\t\toptions.eventDragStop = undefined;\n\t\toptions.eventDrop = undefined;\n\t\toptions.eventDurationEditable = true;\n\t\toptions.eventLongPressDelay = undefined;\n\t\toptions.eventResizeStart = undefined;\n\t\toptions.eventResizeStop = undefined;\n\t\toptions.eventResize = undefined;\n\t\toptions.dragScroll = true;\n\t\toptions.longPressDelay = 1000;\n\t\toptions.pointer = false;\n\t\toptions.select = undefined;\n\t\toptions.selectBackgroundColor = undefined; // ec option\n\t\toptions.selectLongPressDelay = undefined;\n\t\toptions.selectMinDistance = 5;\n\t\toptions.unselect = undefined;\n\t\toptions.unselectAuto = true;\n\t\toptions.unselectCancel = '';\n\t\toptions.theme.draggable = 'ec-draggable';\n\t\toptions.theme.ghost = 'ec-ghost';\n\t\toptions.theme.preview = 'ec-preview';\n\t\toptions.theme.pointer = 'ec-pointer';\n\t\toptions.theme.resizer = 'ec-resizer';\n\t\toptions.theme.dragging = 'ec-dragging';\n\t\toptions.theme.resizingY = 'ec-resizing-y';\n\t\toptions.theme.resizingX = 'ec-resizing-x';\n\t\toptions.theme.selecting = 'ec-selecting';\n\t},\n\n\tcreateStores(state) {\n\t\tstate._interaction.set({\n\t\t\tcomponent: Interaction,\n\t\t\tresizer: Resizer\n\t\t});\n\t}\n};\n\nexport { index as default };\n","import Calendar from '@event-calendar/core';\nimport DayGrid from '@event-calendar/day-grid';\nimport List from '@event-calendar/list';\nimport TimeGrid from '@event-calendar/time-grid';\nimport ResourceTimeGrid from '@event-calendar/resource-time-grid';\nimport Interaction from '@event-calendar/interaction';\n\nexport default class extends Calendar {\n constructor(el, options) {\n super({\n target: el,\n props: {\n plugins: [DayGrid, List, TimeGrid, ResourceTimeGrid, Interaction],\n options\n }\n });\n }\n\n get view() {\n return this.getView();\n }\n}\n"],"names":["match","version","fails","exec","error","functionBindNative","require$$0","test","bind","hasOwnProperty","NATIVE_BIND","FunctionPrototype","Function","prototype","call","uncurryThisWithBind","functionUncurryThis","fn","apply","arguments","uncurryThis","toString","stringSlice","slice","classofRaw","it","require$$1","classof","require$$2","$Object","Object","split","indexedObject","propertyIsEnumerable","isNullOrUndefined","$TypeError","TypeError","requireObjectCoercible","IndexedObject","toIndexedObject","iterators","check","Math","global","globalThis","window","self","this","documentAll","document","all","documentAll_1","IS_HTMLDDA","undefined","isCallable","argument","WeakMap","weakMapBasicDetection","String","isObject","descriptors","defineProperty","get","EXISTS","createElement","documentCreateElement","ie8DomDefine","a","v8PrototypeDefineBug","value","writable","$String","anObject","functionCall","path","aFunction","variable","getBuiltIn","namespace","method","length","objectIsPrototypeOf","isPrototypeOf","engineUserAgent","userAgent","process","Deno","versions","v8","engineV8Version","V8_VERSION","symbolConstructorDetection","getOwnPropertySymbols","symbol","Symbol","sham","useSymbolAsUid","iterator","isSymbol","require$$3","$Symbol","tryToString","aCallable","getMethod","V","P","func","defineGlobalProperty","key","configurable","SHARED","sharedStore","store","sharedModule","push","mode","copyright","license","source","toObject","hasOwnProperty_1","hasOwn","id","postfix","random","uid","NATIVE_SYMBOL","require$$4","USE_SYMBOL_AS_UID","require$$5","WellKnownSymbolsStore","symbolFor","createWellKnownSymbol","withoutSetter","wellKnownSymbol","name","description","ordinaryToPrimitive","input","pref","val","valueOf","TO_PRIMITIVE","toPrimitive","result","exoticToPrim","toPropertyKey","DESCRIPTORS","IE8_DOM_DEFINE","V8_PROTOTYPE_DEFINE_BUG","$defineProperty","$getOwnPropertyDescriptor","getOwnPropertyDescriptor","ENUMERABLE","CONFIGURABLE","WRITABLE","objectDefineProperty","f","O","Attributes","current","enumerable","set","has","createPropertyDescriptor","bitmap","definePropertyModule","createNonEnumerableProperty","object","keys","sharedKey","hiddenKeys","NATIVE_WEAK_MAP","shared","require$$6","require$$7","OBJECT_ALREADY_INITIALIZED","state","metadata","facade","STATE","internalState","enforce","getterFor","TYPE","type","functionApply","Reflect","functionUncurryThisClause","$propertyIsEnumerable","NASHORN_BUG","objectPropertyIsEnumerable","descriptor","propertyIsEnumerableModule","objectGetOwnPropertyDescriptor","replacement","isForced","feature","detection","data","normalize","POLYFILL","NATIVE","string","replace","toLowerCase","isForced_1","functionBindContext","that","require$$8","require$$9","wrapConstructor","NativeConstructor","Wrapper","b","c","_export","options","FORCED","USE_NATIVE","VIRTUAL_PROTOTYPE","sourceProperty","targetProperty","nativeProperty","resultProperty","TARGET","target","GLOBAL","STATIC","stat","PROTO","proto","nativeSource","targetPrototype","forced","dontCallGetSet","wrap","real","getDescriptor","functionName","PROPER","ceil","floor","trunc","x","n","toIntegerOrInfinity","number","max","min","toAbsoluteIndex","index","integer","toLength","lengthOfArrayLike","obj","createMethod","IS_INCLUDES","$this","el","fromIndex","arrayIncludes","includes","indexOf","objectKeysInternal","names","i","enumBugKeys","internalObjectKeys","objectKeys","objectDefineProperties","defineProperties","Properties","props","activeXDocument","html","definePropertiesModule","PROTOTYPE","SCRIPT","IE_PROTO","EmptyConstructor","scriptTag","content","LT","NullProtoObjectViaActiveX","write","close","temp","parentWindow","NullProtoObject","ActiveXObject","iframeDocument","iframe","JS","domain","style","display","appendChild","src","contentWindow","open","F","IteratorPrototype","PrototypeOfArrayIteratorPrototype","arrayIterator","objectCreate","create","correctPrototypeGetter","constructor","getPrototypeOf","CORRECT_PROTOTYPE_GETTER","ObjectPrototype","objectGetPrototypeOf","defineBuiltIn","ITERATOR","BUGGY_SAFARI_ITERATORS","NEW_ITERATOR_PROTOTYPE","iteratorsCore","toStringTagSupport","TO_STRING_TAG_SUPPORT","TO_STRING_TAG","CORRECT_ARGUMENTS","tag","tryGet","callee","objectToString","setToStringTag","TAG","SET_METHOD","Iterators","returnThis","iteratorCreateConstructor","IteratorConstructor","NAME","next","ENUMERABLE_NEXT","aPossiblePrototype","objectSetPrototypeOf","setPrototypeOf","setter","CORRECT_SETTER","Array","__proto__","$","FunctionName","createIteratorConstructor","require$$10","require$$12","IteratorsCore","require$$13","PROPER_FUNCTION_NAME","require$$11","KEYS","VALUES","ENTRIES","iteratorDefine","Iterable","DEFAULT","IS_SET","CurrentIteratorPrototype","methods","KEY","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","entries","values","createIterResultObject","done","addToUnscopables","InternalStateModule","defineIterator","ARRAY_ITERATOR","setInternalState","getInternalState","defineIterator$2","iterated","kind","Arguments","concat","objectGetOwnPropertyNames","getOwnPropertyNames","createProperty","propertyKey","$Array","arraySliceSimple","start","end","k","fin","$getOwnPropertyNames","arraySlice","windowNames","objectGetOwnPropertyNamesExternal","getWindowNames","arrayBufferNonExtensible","ArrayBuffer","buffer","isExtensible","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","objectIsExtensible","freezing","preventExtensions","getOwnPropertyNamesModule","getOwnPropertyNamesExternalModule","FREEZING","REQUIRED","METADATA","setMetadata","objectID","weakData","meta","internalMetadataModule","exports","enable","splice","fastKey","getWeakData","onFreeze","ArrayPrototype","isArrayIteratorMethod","getIteratorMethod","getIterator","usingIterator","iteratorMethod","iteratorClose","innerResult","innerError","Result","stopped","ResultPrototype","iterate","iterable","unboundFunction","iterFn","step","AS_ENTRIES","IS_RECORD","IS_ITERATOR","INTERRUPTED","stop","condition","callFn","anInstance","Prototype","isArray","functionToString","inspectSource","noop","empty","construct","constructorRegExp","INCORRECT_TO_STRING","isConstructorModern","isConstructorLegacy","isConstructor","called","SPECIES","arraySpeciesConstructor","originalArray","C","arraySpeciesCreate","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","IS_FILTER_REJECT","NO_HOLES","callbackfn","specificCreate","boundFunction","arrayIteration","forEach","map","filter","some","every","find","findIndex","filterReject","InternalMetadataModule","internalStateGetterFor","collection","CONSTRUCTOR_NAME","wrapper","common","Constructor","IS_WEAK","ADDER","NativePrototype","exported","IS_ADDER","size","getConstructor","setStrong","defineBuiltIns","unsafe","setSpecies","collectionStrong","first","last","define","previous","entry","getEntry","removed","clear","delete","prev","add","ITERATOR_NAME","getInternalCollectionState","getInternalIteratorState","init","charAt","charCodeAt","CONVERT_TO_STRING","pos","second","S","position","codeAt","STRING_ITERATOR","point","Set","DOMIterables","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","COLLECTION_NAME","Collection","CollectionPrototype","arrayMethodHasSpeciesSupport","METHOD_NAME","array","foo","Boolean","$map","entryVirtual","CONSTRUCTOR","own","module","nativeKeys","$includes","MATCH","isRegExp","notARegexp","correctIsRegexpLogic","regexp","error1","error2","notARegExp","correctIsRegExpLogic","stringIndexOf","searchString","arrayMethod","stringMethod","StringPrototype","doesNotExceedSafeInteger","IS_CONCAT_SPREADABLE","IS_CONCAT_SPREADABLE_SUPPORT","SPECIES_SUPPORT","isConcatSpreadable","spreadable","arity","arg","len","E","A","objectGetOwnPropertySymbols","getOwnPropertySymbolsModule","ownKeys","getOwnPropertyDescriptorModule","$Error","Error","TEST","stack","V8_OR_CHAKRA_STACK_ENTRY","IS_V8_OR_CHAKRA_STACK","errorStackInstallable","copyConstructorProperties","exceptions","clearErrorStack","dropEntries","prepareStackTrace","installErrorCause","cause","normalizeStringArgument","$default","ERROR_STACK_INSTALLABLE","$AggregateError","errors","message","isInstance","AggregateErrorPrototype","errorsArray","AggregateError","$location","defer","channel","port","engineIsNode","aConstructor","speciesConstructor","defaultConstructor","validateArgumentsLength","passed","required","engineIsIos","IS_IOS","IS_NODE","setImmediate","clearImmediate","Dispatch","MessageChannel","counter","queue","ONREADYSTATECHANGE","location","run","runner","listener","event","post","postMessage","protocol","host","handler","args","nextTick","now","port2","port1","onmessage","addEventListener","importScripts","removeChild","setTimeout","flush","head","notify","toggle","node","promise","then","task","engineIsIosPebble","Pebble","engineIsWebosWebkit","macrotask","IS_IOS_PEBBLE","IS_WEBOS_WEBKIT","MutationObserver","WebKitMutationObserver","Promise","queueMicrotaskDescriptor","queueMicrotask","parent","exit","enter","resolve","createTextNode","observe","characterData","microtask","perform","Queue","tail","Queue$1","item","promiseNativeConstructor","engineIsDeno","engineIsBrowser","NativePromiseConstructor","IS_BROWSER","IS_DENO","NativePromisePrototype","SUBCLASSING","NATIVE_PROMISE_REJECTION_EVENT","PromiseRejectionEvent","FORCED_PROMISE_CONSTRUCTOR","PROMISE_CONSTRUCTOR_SOURCE","GLOBAL_CORE_JS_PROMISE","FakePromise","promiseConstructorDetection","REJECTION_EVENT","PromiseCapability","reject","$$resolve","$$reject","newPromiseCapability","Internal","OwnPromiseCapability","require$$14","require$$15","hostReportErrors","console","require$$17","require$$18","require$$19","require$$20","PromiseConstructorDetection","require$$21","newPromiseCapabilityModule","require$$22","PROMISE","getInternalPromiseState","PromiseConstructor","PromisePrototype","newGenericPromiseCapability","DISPATCH_EVENT","createEvent","dispatchEvent","UNHANDLED_REJECTION","isThenable","callReaction","reaction","exited","ok","fail","rejection","onHandleUnhandled","isReject","notified","reactions","onUnhandled","reason","initEvent","isUnhandled","emit","unwrap","internalReject","internalResolve","executor","onFulfilled","onRejected","PromiseWrapper","setToStringTag$4","SAFE_CLOSING","iteratorWithReturn","return","from","checkCorrectnessOfIteration","SKIP_CLOSING","ITERATION_SUPPORT","promiseStaticsIncorrectIteration","capability","$promiseResolve","remaining","alreadyCalled","catch","race","r","promiseResolve","promiseCapability","PromiseConstructorWrapper","CHECK_WRAPPER","allSettled","status","PROMISE_ANY_ERROR","any","alreadyResolved","alreadyRejected","finally","onFinally","isFunction","e","urlConstructorDetection","url","URL","searchParams","pathname","toJSON","sort","href","URLSearchParams","username","hash","mergeSort","comparefn","middle","insertionSort","merge","element","j","left","right","llength","rlength","lindex","rindex","arraySort","USE_NATIVE_URL","require$$16","$toString","require$$23","require$$24","require$$26","require$$25","URL_SEARCH_PARAMS","URL_SEARCH_PARAMS_ITERATOR","getInternalParamsState","safeGetBuiltIn","nativeFetch","NativeRequest","Headers","RequestPrototype","HeadersPrototype","RegExp","decodeURIComponent","encodeURIComponent","join","shift","plus","sequences","percentSequence","bytes","percentDecode","sequence","deserialize","replacements","replacer","serialize","URLSearchParamsIterator","params","URLSearchParamsState","parseObject","parseQuery","bindURL","update","entryIterator","entryNext","query","attribute","attributes","updateURL","URLSearchParamsConstructor","URLSearchParamsPrototype","append","getAll","found","callback","headersHas","headersSet","wrapRequestOptions","headers","body","fetch","RequestConstructor","Request","urlSearchParams","TO_ENTRIES","objectToArray","$entries","nativeSlice","HAS_SPECIES_SUPPORT","$filter","deletePropertyOrThrow","arrayMethodIsStrict","firefox","engineFfVersion","engineIsIeOrEdge","webkit","engineWebkitVersion","internalSort","FF","IE_OR_EDGE","V8","WEBKIT","nativeSort","FAILS_ON_UNDEFINED","FAILS_ON_NULL","STRICT_METHOD","STABLE_SORT","code","chr","fromCharCode","v","itemsLength","items","arrayLength","y","getSortCompare","$indexOf","nativeIndexOf","NEGATIVE_ZERO","searchElement","getOwnPropertyDescriptors","callWithSafeIterationClosing","arrayLike","IS_CONSTRUCTOR","argumentsLength","mapfn","mapping","SILENT_ON_NON_WRITABLE_LENGTH_SET","setArrayLength","deleteCount","insertCount","actualDeleteCount","to","actualStart","nativeStartsWith","startsWith","search","whitespaces","whitespace","ltrim","rtrim","stringTrim","trim","stringTrimForced","$trim","Map","$assign","assign","objectAssign","B","alphabet","T","fill","endPos","wellKnownSymbolWrapped","wrappedWellKnownSymbolModule","wellKnownSymbolDefine","symbolDefineToPrimitive","SymbolPrototype","hint","nativeObjectCreate","getOwnPropertyNamesExternal","require$$27","require$$28","require$$29","require$$30","defineWellKnownSymbol","require$$31","defineSymbolToPrimitive","require$$32","require$$33","require$$34","$forEach","require$$35","HIDDEN","SYMBOL","QObject","nativeGetOwnPropertyDescriptor","nativeDefineProperty","nativeGetOwnPropertyNames","nativePropertyIsEnumerable","AllSymbols","ObjectPrototypeSymbols","USE_SETTER","findChild","setSymbolDescriptor","ObjectPrototypeDescriptor","$defineProperties","properties","$getOwnPropertySymbols","IS_OBJECT_PROTOTYPE","$$8","useSetter","useSimple","symbolRegistryDetection","keyFor","NATIVE_SYMBOL_REGISTRY","StringToSymbolRegistry","SymbolToStringRegistry","for","sym","$stringify","numberToString","tester","low","hi","WRONG_SYMBOLS_CONVERSION","ILL_FORMED_UNICODE","stringifyWithSymbolsFix","$replacer","fixIllFormed","offset","stringify","space","JSON","isIterable","identity","blank_object","run_all","fns","is_function","thing","safe_not_equal","subscribe","_len","callbacks","_key","unsub","unsubscribe","get_store_value","_","component_subscribe","component","$$","on_destroy","create_slot","definition","ctx","$$scope","slot_ctx","get_slot_context","_context","tar","_sliceInstanceProperty","get_slot_changes","dirty","lets","merged","update_slot_base","slot","slot_definition","slot_changes","get_slot_context_fn","slot_context","p","get_all_dirty_from_scope","set_store_value","ret","action_destroyer","action_result","destroy","insert","anchor","insertBefore","detach","parentNode","destroy_each","iterations","detaching","d","text","listen","removeEventListener","stop_propagation","stopPropagation","attr","removeAttribute","getAttribute","setAttribute","children","_Array$from","childNodes","set_data","wholeText","set_style","important","removeProperty","setProperty","custom_event","detail","bubbles","cancelable","initCustomEvent","construct_svelte_component","current_component","set_current_component","get_current_component","onMount","on_mount","afterUpdate","after_update","createEventDispatcher","defaultPrevented","setContext","context","getContext","bubble","_Set","_Map","dirty_components","binding_callbacks","render_callbacks","flush_callbacks","resolved_promise","_Promise","update_scheduled","schedule_update","tick","add_render_callback","seen_callbacks","flushidx","saved_component","pop","fragment","before_update","outroing","outros","group_outros","check_outros","transition_in","block","local","transition_out","o","globals","_globalThis","outro_and_destroy_block","lookup","update_keyed_each","old_blocks","get_key","dynamic","list","create_each_block","get_context","old_indexes","new_blocks","new_lookup","deltas","child_ctx","abs","will_move","did_move","m","new_block","old_block","new_key","old_key","create_component","mount_component","customElement","_context24","_context25","new_on_destroy","_filterInstanceProperty","destroy_component","make_dirty","_context26","_fillInstanceProperty","instance","create_fragment","not_equal","append_styles","parent_component","bound","on_disconnect","skip_bound","root","ready","hydrate","nodes","l","intro","SvelteComponent","$destroy","$on","_indexOfInstanceProperty","_spliceInstanceProperty","$set","$$props","$$set","_Object$keys","subscriber_queue","readable","subscribers","new_value","run_queue","subscriber","invalidate","derived","stores","initial_value","single","stores_array","auto","inited","pending","cleanup","sync","unsubscribers","_mapInstanceProperty","$parseInt","parseInt","hex","numberParseInt","radix","_parseInt","$trimEnd","stringTrimEnd","trimEnd","trimRight","_Object$assign","hasYScroll","offsetWidth","clientWidth","clientLeft","rect","getBoundingClientRect","ancestor","up","parentElement","height","offsetHeight","ignoreProp","_Symbol","ignore","jsEvent","maybeIgnore","className","innerHTML","innerText","setContent","actions","firstChild","lastChild","domNodes","child","outsideEvent","handlePointerDown","contains","CustomEvent","DAY_IN_SECONDS","createDate","Date","_fromLocalDate","str","parts","UTC","Number","_fromISOString","createDuration","seconds","exp","part","pow","hours","getUTCHours","minutes","getUTCMinutes","getUTCSeconds","weeks","week","years","year","months","month","days","day","hour","minute","inWeeks","cloneDate","date","getTime","addDuration","duration","setUTCFullYear","getUTCFullYear","getUTCMonth","setUTCMonth","subtractDay","setUTCDate","getUTCDate","setUTCSeconds","addDay","setMidnight","setUTCHours","toLocalDate","toISOString","substring","formatRange","intl","getFullYear","format","diff","getMonth","getDate","opts1","resolvedOptions","opts2","intl2","Intl","DateTimeFormat","locale","full1","full2","part1","part2","str1","substr1","str2","substr2","res1","_cut","res2","_commonChunks","datesEqual","date1","dates2","date2","prevClosestDay","getUTCDay","getHours","getMinutes","getSeconds","substr","toViewWithLocalDates","view","currentStart","currentEnd","activeStart","activeEnd","eventId","createEvents","resourceIds","resourceId","allDay","title","titleHTML","editable","startEditable","durationEditable","_includesInstanceProperty","extendedProps","backgroundColor","color","createEventSources","_context2","events","_trimEndInstanceProperty","toUpperCase","extraParams","createEventChunk","sortEventChunks","chunks","_sortInstanceProperty","prepareEventChunks","hiddenDays","prevChunk","longChunks","chunk","dates","createEventContent","displayEventEnd","eventContent","theme","_intlEventTime","_view","timeText","toEventWithLocalDates","eventTime","eventTitle","_cloneEvent","cloneEvent","dateFn","writable2","parser","parse","derived2","initValue","storeValue","hasSubscribers","_ref","$locale","$format","State","plugins","allDayContent","allDaySlot","buttonText","today","dateClick","datesSet","dayHeaderFormat","weekday","eventBackgroundColor","eventClick","eventColor","eventDidMount","eventMouseEnter","eventMouseLeave","eventSources","eventTimeFormat","firstDay","flexibleSlotTimeLimits","headerToolbar","center","highlightedDates","lazyFetching","loading","monthMode","nowIndicator","selectable","scrollTime","slotDuration","slotHeight","slotLabelFormat","slotMaxTime","slotMinTime","active","bgEvent","bgEvents","button","buttonGroup","calendar","compact","dayHead","eventBody","extra","handle","header","hiddenScroll","hiddenTimes","highlight","icon","line","lines","otherMonth","sidebar","sidebarTitle","time","toolbar","withScroll","titleFormat","viewDidMount","views","plugin","createOptions","parsers","createParsers","option","_Object$entries","_currentRange","_ref3","$date","$duration","$monthMode","$firstDay","_activeRange","$_currentRange","$slotMinTime","$slotMaxTime","nextClosestDay","start2","debounce","_ref2","$_activeRange","$datesSet","startStr","endStr","activeRange","_fetchedRange","_events","abortController","fetching","$events","$eventSources","$_fetchedRange","$lazyFetching","$loading","abort","AbortController","stopLoading","failure","success","_concatInstanceProperty","signal","credentials","response","json","_now","interval","setInterval","clearInterval","_today","$_now","_ignoreClick","_intlSlotLabel","_intlDayHeader","_titleIntlRange","_scrollable","_viewTitle","_ref5","$_titleIntlRange","viewTitle","_viewDates","_ref4","$hiddenDays","viewDates","createView","_viewComponent","_viewClass","_interaction","_iEvents","_draggable","_resizable","_classes","_iClass","_scroll","createStores","commonOpts","parseOpts","viewOpts","opts","newView","_set","rest","get_each_context$1","create_else_block$1","t","button_class_value","mounted","dispose","t_value","click_handler_1","new_ctx","create_if_block_4","disabled","create_if_block_3","i_class_value","create_if_block_2","create_if_block_1","h2","h2_class_value","create_if_block$1","create_each_block$1","if_block_anchor","select_block_type","current_block_type","if_block","create_fragment$2","each_1_anchor","each_value","each_blocks","_ref6","instance$2","$$self","$$invalidate","$theme","$_viewTitle","$buttonText","$view","buttons","isToday","subtractDuration","Buttons","super","get_each_context","get_each_context_1","create_else_block","buttons_changes","create_if_block","div","div_class_value","create_each_block_1","current_block_type_index","if_block_creators","if_blocks","previous_block_index","each_value_1","out","create_fragment$1","_ref7","instance$1","$headerToolbar","sections","group","Toolbar","t0","switch_instance0","t1","switch_instance1","switch_value","switch_value_1","old_component","$_ignoreClick","$_events","$_interaction","$_viewClass","$_iClass","$height","$_viewComponent","setOption","updateEvents","_context3","action","unselect","Calendar","getOption","refetchEvents","getEvents","getEventById","addEvent","updateEvent","removeEventById","getView","_days","_hiddenEvents","_popupDate","_popupChunks","get_each_context$4","create_each_block$4","create_fragment$6","div2","div0","div0_class_value","div1","div1_class_value","div2_class_value","instance$6","$_scrollable","$_days","$_intlDayHeader","Header","create_fragment$5","default_slot_template","default","default_slot","uniform","instance$5","$dayMaxEvents","$_scroll","$$slots","slots","dayMaxEvents","recheckScrollable","$$value","Body","create_fragment$4","setContent_action","switch_instance","resizer","switch_props","switch_instance_changes","instance$4","$_hiddenEvents","$_view","$eventDidMount","$_intlEventTime","$eventContent","$displayEventEnd","$_classes","$eventColor","$eventBackgroundColor","$eventClick","$eventMouseEnter","$eventMouseLeave","$_draggable","inPopup","classes","margin","hidden","reposition","top","bottom","longChunk","dayEl","h","firstElementChild","lastElementChild","nextElementSibling","footHeight","hiddenEvents","hide","bgColor","resize","dragDayGrid","Event","get_each_context$3","create_each_block$3","event_changes","create_fragment$3","t3","t0_value","textContent","popup","instance$3","$_popupDate","$_intlDayPopover","$_popupChunks","_intlDayPopover","bodyEl","popupRect","bodyRect","previousElementSibling","width","Popup","get_each_context$2","preview","create_each_block$2","key_1","div3","t2","t4","t5","div3_class_value","show_if_2","show_if_1","each_1_lookup","show_if","if_block0","if_block1","if_block2","if_block3","dayFoot","createPointerLeaveHandler","interaction","pointer","leave","sortChunks","$moreLinkContent","$highlightedDates","$currentDate","$dateClick","$selectable","iChunks","currentDate","moreLinkContent","dayChunks","moreLink","setPopupChunks","createPopupChunks","nextDay","num","dateStr","enterDayGrid","selectDayGrid","Day","day_changes","$_iEvents","intersects","Week","week_changes","create_default_slot","body_changes","$_viewDates","viewState","View","dayPopoverFormat","dayGridMonth","eventTag","span","span_class_value","t2_value","daySide","$_intlListDayFormat","$_intlListDaySideFormat","_intlListDayFormat","_intlListDaySideFormat","listDayFormat","listDaySideFormat","noEvents","$noEventsClick","$noEventsContent","noEventsClick","noEventsContent","listDay","listWeek","listMonth","listYear","_slotTimeLimits","$flexibleSlotTimeLimits","minMin","maxMax","loop","minStart","maxEnd","slotTimeLimits","_times","localState","$_slotTimeLimits","$_intlSlotLabel","$slotDuration","times","createAllDayContent","get_each_context$5","create_each_block$5","create_fragment$8","div6","div4","div4_class_value","div5","div5_class_value","div6_class_value","instance$8","$allDayContent","$_times","allDayText","get_each_context_1$2","create_each_block_1$2","create_fragment$7","each_blocks_1","instance$7","$slotHeight","$scrollTime","timeLimitMin","scrollTop","_viewResources","maxHeight","column","columns","dragTimeGrid","Event$1","$_today","NowIndicator","get_each_context_1$1","create_each_block_1$1","create_if_block$2","nowindicator","each0_lookup","each1_lookup","get_key_1","$nowIndicator","resource","bgChunks","groupEventChunks","clientY","enterTimeGrid","selectTimeGrid","Day$1","create_default_slot_2","create_default_slot_1","header_changes","$allDaySlot","timeGridDay","timeGridWeek","State$1","resources","filterResourcesWithEvents","$resources","$filterResourcesWithEvents","viewResources","$resourceLabelDidMount","$resourceLabelContent","resourceLabelContent","resourceLabelDidMount","Label","get_each_context_4","get_each_context_2","get_each_context_3","get_each_context_5","get_each_context_6","create_else_block_2","label","label_changes","each_value_6","create_each_block_6","create_else_block_1","select_block_type_1","create_each_block_5","each_value_5","each_value_4","create_each_block_4","each_value_2","create_each_block_2","create_each_block_3","each_value_3","select_block_type_2","$_viewResources","$datesAboveResources","datesAboveResources","loops","resourceTimeGridDay","resourceTimeGridWeek","resourceTitle","createResources","$values","traverseTimeGrid","traverseResourceTimeGrid","colEl","resourceEl","col","resourceCol","traverseDayGrid","daysEl","contentEl","busy","limit","window_1","createPreventDefaultHandler","passive","preventDefault","$unselectCancel","$unselectFn","$selectBackgroundColor","$eventDrop","$eventResize","$eventDragStop","$eventResizeStop","$select","$dragScroll","$eventDragStart","$eventResizeStart","$eventDragMinDistance","$selectMinDistance","$longPressDelay","$eventLongPressDelay","$selectLongPressDelay","$unselectAuto","$$unsubscribe__viewResources","$$subscribe__viewResources","interacting","row","offsetX","offsetY","fromX","fromY","toX","toY","delta","rowEls","colRect","newResourceCol","dragScroll","eventStartEditable","eventDragMinDistance","eventDragStart","eventDragStop","eventDrop","eventLongPressDelay","eventResizeStart","eventResizeStop","eventResize","longPressDelay","select","selectBackgroundColor","selectLongPressDelay","selectMinDistance","unselectFn","unselectAuto","unselectCancel","iClass","minEnd","selected","timer","isAllDay","getSelection","removeAllRanges","clientX","pointerType","move","selecting","rx","ry","sqrt","newCol","dayCol","cols","newRow","createIEvent","resizing","scrollBy","innerHeight","requestAnimationFrame","destroyIEvent","isPrimary","oldEvent","eventRef","endDelta","oldResource","newResource","revert","clearTimeout","closest","stops","eventToDrag","resourcesStore","colDate","dayDate","Action","handleScroll","validEvent","$$unsubscribe__slotTimeLimits","$$subscribe__slotTimeLimits","removePointerEvent","slotTimeLimitsStore","resourceObj","Pointer","pointer_1","$editable","$eventDurationEditable","$_resizable","$eventStartEditable","$pointer","eventDurationEditable","_Object$values","_event$startEditable","_event$editable","_context4","draggable","ghost","_event$durationEditab","_event$editable2","Interaction","Resizer","dragging","resizingY","resizingX","DayGrid","List","TimeGrid","ResourceTimeGrid"],"mappings":";;;;uSAOIA,EAAOC,uDCPXC,EAAiB,SAAUC,GACzB,IACE,QAASA,GAGV,CAFC,MAAOC,GACP,OAAO,CACR,CACH,ECJAC,GAFYC,GAEY,WAEtB,IAAIC,EAAO,WAA4B,EAAEC,OAEzC,MAAsB,mBAARD,GAAsBA,EAAKE,eAAe,YAC1D,ICPIC,EAAcJ,EAEdK,EAAoBC,SAASC,UAC7BC,EAAOH,EAAkBG,KACzBC,EAAsBL,GAAeC,EAAkBH,KAAKA,KAAKM,EAAMA,GAE3EE,EAAiBN,EAAcK,EAA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