From 2683cbbd2fc581f45df20fc8d3e06fb4aafb5229 Mon Sep 17 00:00:00 2001 From: Romain Lamothe Date: Sun, 28 May 2023 09:06:25 +0200 Subject: [PATCH] 1.5.1 --- dist/VueDocumentEditor.common.js | 15 +++++++++------ dist/VueDocumentEditor.common.js.map | 2 +- dist/VueDocumentEditor.css | 2 +- dist/VueDocumentEditor.umd.js | 15 +++++++++------ dist/VueDocumentEditor.umd.js.map | 2 +- dist/VueDocumentEditor.umd.min.js | 2 +- dist/VueDocumentEditor.umd.min.js.map | 2 +- docs/css/{app.235f26a2.css => app.1d0a52de.css} | 2 +- docs/index.html | 2 +- docs/js/app.79b3519d.js | 2 -- docs/js/app.e2965f14.js | 2 ++ .../{app.79b3519d.js.map => app.e2965f14.js.map} | 2 +- package.json | 2 +- 13 files changed, 29 insertions(+), 23 deletions(-) rename docs/css/{app.235f26a2.css => app.1d0a52de.css} (92%) delete mode 100644 docs/js/app.79b3519d.js create mode 100644 docs/js/app.e2965f14.js rename docs/js/{app.79b3519d.js.map => app.e2965f14.js.map} (54%) diff --git a/dist/VueDocumentEditor.common.js b/dist/VueDocumentEditor.common.js index acb76b1..340d38e 100644 --- a/dist/VueDocumentEditor.common.js +++ b/dist/VueDocumentEditor.common.js @@ -1596,7 +1596,7 @@ if (typeof window !== 'undefined') { // Indicate to webpack that this file can be concatenated /* harmony default export */ var setPublicPath = (null); -;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/DocumentEditor/DocumentEditor.vue?vue&type=template&id=3822a990&scoped=true& +;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/DocumentEditor/DocumentEditor.vue?vue&type=template&id=214528ab&scoped=true& var render = function render() { var _vm = this, _c = _vm._self._c; @@ -2179,6 +2179,9 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, page_clone.style.position = "relative"; page_clone.style.padding = typeof this.page_margins == "function" ? this.page_margins(page_idx + 1, this.pages.length) : this.page_margins; page_clone.style.breakBefore = page_idx ? "page" : "auto"; + page_clone.style.width = "calc(" + this.page_format_mm[0] + "mm - 2px)"; + page_clone.style.height = "calc(" + this.page_format_mm[1] + "mm - 2px)"; + page_clone.style.boxSizing = "border-box"; page_clone.style.overflow = "hidden"; // add overlays if any @@ -2247,15 +2250,15 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, }); ;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=script&lang=js& /* harmony default export */ var DocumentEditor_DocumentEditorvue_type_script_lang_js_ = (DocumentEditorvue_type_script_lang_js_); -;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=3822a990&prod&lang=css& +;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=214528ab&prod&lang=css& // extracted by mini-css-extract-plugin -;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=3822a990&prod&lang=css& +;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=214528ab&prod&lang=css& -;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=3822a990&prod&scoped=true&lang=css& +;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=214528ab&prod&scoped=true&lang=css& // extracted by mini-css-extract-plugin -;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=3822a990&prod&scoped=true&lang=css& +;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=214528ab&prod&scoped=true&lang=css& ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js /* globals __VUE_SSR_CONTEXT__ */ @@ -2371,7 +2374,7 @@ var component = normalizeComponent( staticRenderFns, false, null, - "3822a990", + "214528ab", null ) diff --git a/dist/VueDocumentEditor.common.js.map b/dist/VueDocumentEditor.common.js.map index 34d6af4..0109512 100644 --- a/dist/VueDocumentEditor.common.js.map +++ b/dist/VueDocumentEditor.common.js.map @@ -1 +1 @@ -{"version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CAAG,EAAC;;ACAjR;;;;;AEAA;;;;;AEAA;;AAEA;AACA;AACA;;AAEe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AC/FyG;AACvC;AACL;AAC7D,CAA2F;AACY;;;AAGvG;AACmG;AACnG,gBAAgB,kBAAU;AAC1B,EAAE,qDAAM;AACR,EAAE,MAAM;AACR,EAAE,eAAe;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA,mDAAe;;ACpBS;AACA;AACxB,8CAAe,cAAG;AACI","sources":["webpack://vue-document-editor/./node_modules/core-js/internals/a-callable.js","webpack://vue-document-editor/./node_modules/core-js/internals/an-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/array-includes.js","webpack://vue-document-editor/./node_modules/core-js/internals/array-set-length.js","webpack://vue-document-editor/./node_modules/core-js/internals/classof-raw.js","webpack://vue-document-editor/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://vue-document-editor/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/create-property-descriptor.js","webpack://vue-document-editor/./node_modules/core-js/internals/define-built-in.js","webpack://vue-document-editor/./node_modules/core-js/internals/define-global-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/descriptors.js","webpack://vue-document-editor/./node_modules/core-js/internals/document-all.js","webpack://vue-document-editor/./node_modules/core-js/internals/document-create-element.js","webpack://vue-document-editor/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://vue-document-editor/./node_modules/core-js/internals/engine-user-agent.js","webpack://vue-document-editor/./node_modules/core-js/internals/engine-v8-version.js","webpack://vue-document-editor/./node_modules/core-js/internals/enum-bug-keys.js","webpack://vue-document-editor/./node_modules/core-js/internals/export.js","webpack://vue-document-editor/./node_modules/core-js/internals/fails.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-bind-native.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-call.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-name.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-uncurry-this.js","webpack://vue-document-editor/./node_modules/core-js/internals/get-built-in.js","webpack://vue-document-editor/./node_modules/core-js/internals/get-method.js","webpack://vue-document-editor/./node_modules/core-js/internals/global.js","webpack://vue-document-editor/./node_modules/core-js/internals/has-own-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/hidden-keys.js","webpack://vue-document-editor/./node_modules/core-js/internals/ie8-dom-define.js","webpack://vue-document-editor/./node_modules/core-js/internals/indexed-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/inspect-source.js","webpack://vue-document-editor/./node_modules/core-js/internals/internal-state.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-array.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-callable.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-forced.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-pure.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-symbol.js","webpack://vue-document-editor/./node_modules/core-js/internals/length-of-array-like.js","webpack://vue-document-editor/./node_modules/core-js/internals/make-built-in.js","webpack://vue-document-editor/./node_modules/core-js/internals/math-trunc.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-define-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-keys-internal.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://vue-document-editor/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://vue-document-editor/./node_modules/core-js/internals/own-keys.js","webpack://vue-document-editor/./node_modules/core-js/internals/require-object-coercible.js","webpack://vue-document-editor/./node_modules/core-js/internals/shared-key.js","webpack://vue-document-editor/./node_modules/core-js/internals/shared-store.js","webpack://vue-document-editor/./node_modules/core-js/internals/shared.js","webpack://vue-document-editor/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-absolute-index.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-indexed-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-length.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-primitive.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-property-key.js","webpack://vue-document-editor/./node_modules/core-js/internals/try-to-string.js","webpack://vue-document-editor/./node_modules/core-js/internals/uid.js","webpack://vue-document-editor/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://vue-document-editor/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://vue-document-editor/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://vue-document-editor/./node_modules/core-js/internals/well-known-symbol.js","webpack://vue-document-editor/./node_modules/core-js/modules/es.array.push.js","webpack://vue-document-editor/webpack/bootstrap","webpack://vue-document-editor/webpack/runtime/define property getters","webpack://vue-document-editor/webpack/runtime/global","webpack://vue-document-editor/webpack/runtime/hasOwnProperty shorthand","webpack://vue-document-editor/webpack/runtime/publicPath","webpack://vue-document-editor/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue","webpack://vue-document-editor/./src/DocumentEditor/imports/page-transition-mgmt.js","webpack://vue-document-editor/src/DocumentEditor/DocumentEditor.vue","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?f574","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?6a10","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?7e96","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?2f0f","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?edc5","webpack://vue-document-editor/./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?48b8","webpack://vue-document-editor/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["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 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 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","'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","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 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 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","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 isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\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 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 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 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 $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","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","// 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 global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.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 FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\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 call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\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 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 global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var 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 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; })() || this || Function('return this')();\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","module.exports = {};\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 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","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 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 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 $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 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","// 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 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","module.exports = false;\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 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 uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\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 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","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 internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\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","'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 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 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 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","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","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.30.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\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 // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\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","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","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var 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 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 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 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 $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\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","/* 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 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 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 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 Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\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 fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 and Safari <= 15.4, FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:\"editor\",staticClass:\"editor\"},[(_vm.overlay)?_c('div',{staticClass:\"overlays\"},_vm._l((_vm.pages),function(page,page_idx){return _c('div',{key:page.uuid+'-overlay',ref:page.uuid+'-overlay',refInFor:true,staticClass:\"overlay\",style:(_vm.page_style(page_idx, false)),domProps:{\"innerHTML\":_vm._s(_vm.overlay(page_idx+1, _vm.pages.length))}})}),0):_vm._e(),_c('div',{ref:\"content\",staticClass:\"content\",style:(_vm.page_style(-1)),attrs:{\"contenteditable\":_vm.editable},on:{\"input\":_vm.input,\"keyup\":_vm.process_current_text_style,\"keydown\":_vm.keydown}},_vm._l((_vm.pages),function(page,page_idx){return _c('div',{key:page.uuid,ref:page.uuid,refInFor:true,staticClass:\"page\",style:(_vm.page_style(page_idx, page.template ? false : true)),attrs:{\"data-content-idx\":page.content_idx,\"data-page-idx\":page_idx,\"contenteditable\":(_vm.editable && !page.template) ? true : false}},[(page.template)?_c(page.template,_vm._b({tag:\"component\"},'component',page.props,false,true)):_vm._e()],1)}),0)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n/**\n * Utility function that acts like an Array.filter on childNodes of \"container\"\n * @param {HTMLElement} container \n * @param {string} s_tag \n */\nfunction find_sub_child_sibling_node (container, s_tag){\n if(!container || !s_tag) return false;\n const child_nodes = container.childNodes;\n for(let i = 0; i < child_nodes.length; i++) {\n if(child_nodes[i].s_tag == s_tag) return child_nodes[i];\n }\n return false;\n}\n\n\n/**\n * This function moves every sub-child of argument \"child\" to the start of the \"child_sibling\"\n * argument, beginning from the last child, with word splitting and format preserving.\n * Typically, \"child\" is the current page which content overflows, and \"child_sibling\" is the \n * next page.\n * @param {HTMLElement} child Element to take children from (current page)\n * @param {HTMLElement} child_sibling Element to copy children to (next page)\n * @param {function} stop_condition Check function that returns a boolean if content doesn't overflow anymore\n * @param {function(HTMLElement):boolean?} do_not_break Optional function that receives the current child element and should return true if the child should not be split over two pages but rather be moved directly to the next page\n * @param {boolean?} not_first_child Should be unset. Used internally to let at least one child in the page\n */\nfunction move_children_forward_recursively (child, child_sibling, stop_condition, do_not_break, not_first_child) {\n\n // if the child still has nodes and the current page still overflows\n while(child.childNodes.length && !stop_condition()){\n\n // check if page has only one child tree left\n not_first_child = not_first_child || (child.childNodes.length != 1);\n\n // select the last sub-child\n const sub_child = child.lastChild;\n\n // if it is a text node, move its content to next page word(/space) by word\n if(sub_child.nodeType == Node.TEXT_NODE){\n const sub_child_hashes = sub_child.textContent.match(/(\\s|\\S+)/g);\n const sub_child_continuation = document.createTextNode('');\n child_sibling.prepend(sub_child_continuation);\n const l = sub_child_hashes ? sub_child_hashes.length : 0;\n for(let i = 0; i < l; i++) {\n if(i == l - 1 && !not_first_child) return; // never remove the first word of the page\n sub_child.textContent = sub_child_hashes.slice(0, l - i - 1).join('');\n sub_child_continuation.textContent = sub_child_hashes.slice(l - i - 1, l).join('');\n if(stop_condition()) return;\n }\n }\n\n // we simply move it to the next page if it is either:\n // - a node with no content (e.g. )\n // - a header title (e.g.

)\n // - a table row (e.g. )\n // - any element on whose user-custom `do_not_break` function returns true\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i) || sub_child.tagName.match(/tr/i) || (typeof do_not_break === \"function\" && do_not_break(sub_child))) {\n // just prevent moving the last child of the page\n if(!not_first_child){\n console.log(\"Move-forward: first child reached with no stop condition. Aborting\");\n return;\n }\n child_sibling.prepend(sub_child);\n }\n\n // for every other node that is not text and not the first child, clone it recursively to next page\n else {\n // check if sub child has already been cloned before\n let sub_child_sibling = find_sub_child_sibling_node(child_sibling, sub_child.s_tag);\n \n // if not, create it and watermark the relationship with a random tag\n if(!sub_child_sibling) {\n if(!sub_child.s_tag) {\n const new_random_tag = Math.random().toString(36).slice(2, 8);\n sub_child.s_tag = new_random_tag;\n }\n sub_child_sibling = sub_child.cloneNode(false);\n sub_child_sibling.s_tag = sub_child.s_tag;\n child_sibling.prepend(sub_child_sibling);\n }\n \n // then move/clone its children and sub-children recursively\n move_children_forward_recursively(sub_child, sub_child_sibling, stop_condition, do_not_break, not_first_child);\n sub_child_sibling.normalize(); // merge consecutive text nodes\n }\n\n // if sub_child was a container that was cloned and is now empty, we clean it\n if(child.contains(sub_child)){\n if(sub_child.childNodes.length == 0 || sub_child.innerHTML == \"\") child.removeChild(sub_child);\n else if(!stop_condition()) {\n // the only case when it can be non empty should be when stop_condition is now true\n console.log(\"sub_child:\", sub_child, \"that is in child:\", child);\n throw Error(\"Document editor is trying to remove a non-empty sub-child. This \"\n + \"is a bug and should not happen. Please report a repeatable set of actions that \"\n + \"leaded to this error to https://github.com/motla/vue-document-editor/issues/new\");\n }\n }\n }\n}\n\n\n\n/**\n * This function moves the first element from \"next_page_html_div\" to the end of \"page_html_div\", with\n * merging sibling tags previously watermarked by \"move_children_forward_recursively\", if any.\n * @param {HTMLElement} page_html_div Current page element\n * @param {HTMLElement} next_page_html_div Next page element\n * @param {function} stop_condition Check function that returns a boolean if content overflows\n */\nfunction move_children_backwards_with_merging (page_html_div, next_page_html_div, stop_condition) {\n\n // loop until content is overflowing\n while(!stop_condition()){\n\n // find first child of next page\n const first_child = next_page_html_div.firstChild;\n\n // merge it at the end of the current page\n var merge_recursively = (container, elt) => {\n // check if child had been splitted (= has a sibling on previous page)\n const elt_sibling = find_sub_child_sibling_node(container, elt.s_tag);\n if(elt_sibling && elt.childNodes.length) {\n // then dig for deeper children, in case of\n merge_recursively(elt_sibling, elt.firstChild);\n }\n // else move the child inside the right container at current page\n else {\n container.append(elt);\n container.normalize();\n }\n }\n merge_recursively(page_html_div, first_child);\n }\n}\n\nexport {\n move_children_forward_recursively,\n move_children_backwards_with_merging\n};","\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=script&lang=js&\"","// extracted by mini-css-extract-plugin\nexport {};","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=style&index=0&id=3822a990&prod&lang=css&\"","// extracted by mini-css-extract-plugin\nexport {};","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=style&index=1&id=3822a990&prod&scoped=true&lang=css&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./DocumentEditor.vue?vue&type=template&id=3822a990&scoped=true&\"\nimport script from \"./DocumentEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./DocumentEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DocumentEditor.vue?vue&type=style&index=0&id=3822a990&prod&lang=css&\"\nimport style1 from \"./DocumentEditor.vue?vue&type=style&index=1&id=3822a990&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3822a990\",\n null\n \n)\n\nexport default component.exports","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["render","_vm","_c","_self","ref","staticClass","overlay","_l","pages","page","page_idx","key","uuid","refInFor","style","page_style","domProps","_s","length","_e","attrs","editable","on","input","process_current_text_style","keydown","template","content_idx","_b","tag","props","staticRenderFns","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","i","move_children_forward_recursively","child","child_sibling","stop_condition","do_not_break","not_first_child","sub_child","lastChild","nodeType","Node","TEXT_NODE","sub_child_hashes","textContent","match","sub_child_continuation","document","createTextNode","prepend","l","slice","join","tagName","console","log","sub_child_sibling","new_random_tag","Math","random","toString","cloneNode","normalize","contains","innerHTML","removeChild","Error","move_children_backwards_with_merging","page_html_div","next_page_html_div","first_child","firstChild","merge_recursively","elt","elt_sibling","append","content","type","Array","required","display","String","default","Boolean","Function","page_format_mm","page_margins","zoom","Number","data","pages_height","editor_width","prevent_next_content_update_from_parent","current_text_style","mounted","update_editor_width","update_css_media_style","reset_content","window","addEventListener","before_print","after_print","beforeDestroy","removeEventListener","computed","css_media_style","createElement","head","appendChild","methods","new_uuid","$emit","map","$nextTick","first_page_elt","$refs","clientHeight","page_elt","fit_content_over_pages","blur","body","splice","selection","getSelection","start_marker","end_marker","rangeCount","range","getRangeAt","insertNode","collapse","prev_page_modified_flag","next_page","next_page_elt","prev_innerHTML","createRange","setStart","setEnd","removeAllRanges","addRange","parentElement","e","emit_new_content","inputType","keyCode","text","replace","preventDefault","removed_pages_flag","new_content","item","filter","children","toLowerCase","getAttribute","sel","focusNode","element","isContentEditable","getComputedStyle","textDecorationStack","headerLevel","isList","parent","parent_style","push","textDecoration","toUpperCase","allow_overflow","px_in_mm","page_width","page_spacing_mm","page_with_plus_spacing","view_padding","inner_width","nb_pages_x","page_column","x_pos","x_ofx","left_px","top_mm","bkg_width_mm","bkg_height_mm","floor","max","nb_pages_y","ceil","position","left","top","width","padding","transform","height","editor","classList","add","clientWidth","remove","_page_body","print_body","margin","background","font","className","entries","page_clone","breakBefore","overflow","overlay_elts","overlay_clone","return_overlay","right","bottom","alignItems","justifyContent","cursor","watch","handler"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"VueDocumentEditor.common.js","mappings":";;;;;;AAAA,iBAAiB,mBAAO,CAAC,GAA0B;AACnD,kBAAkB,mBAAO,CAAC,IAA4B;;AAEtD;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACTA,eAAe,mBAAO,CAAC,GAAwB;;AAE/C;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACTA,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,wBAAwB,mBAAO,CAAC,IAAmC;;AAEnE,sBAAsB,mBAAmB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,WAAW,gBAAgB;AACjC;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC/Ba;AACb,kBAAkB,mBAAO,CAAC,IAA0B;AACpD,cAAc,mBAAO,CAAC,IAAuB;;AAE7C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,iBAAiB;AAC3D,IAAI;AACJ;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,IAAI;AACJ,EAAE;AACF;AACA;;;;;;;;AC1BA,kBAAkB,mBAAO,CAAC,IAAoC;;AAE9D,6BAA6B;AAC7B;;AAEA;AACA;AACA;;;;;;;;ACPA,aAAa,mBAAO,CAAC,IAA+B;AACpD,cAAc,mBAAO,CAAC,IAAuB;AAC7C,qCAAqC,mBAAO,CAAC,IAAiD;AAC9F,2BAA2B,mBAAO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AAAgF,UAAA;IACA;IAEA;IACAnG,YAAA;MACAtD,QAAA,CAAAyE,IAAA,QAAA+E,UAAA;MACA,KAAAxG,mBAAA;IACA;EACA;EAEA;EACA2H,KAAA;IACArI,cAAA;MACA,MAAAsI,QAAA;QACA,KAAA3H,sBAAA;QACA,WAAAC,aAAA;MACA;IACA;IACAX,YAAA;MACA,MAAAqI,QAAA;QACA,WAAA1H,aAAA;MACA;IACA;IACArB,OAAA;MACA,MAAA+I,QAAA;QACA;QACA,SAAA/H,uCAAA;UACA,KAAAA,uCAAA;QACA,kBAAAK,aAAA;MACA;IACA;EACA;AAEA,CAAC;;ACjf4P,CAAC,0FAAe,sCAAG,EAAC;;ACAjR;;;;;AEAA;;;;;AEAA;;AAEA;AACA;AACA;;AAEe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AC/FyG;AACvC;AACL;AAC7D,CAA2F;AACY;;;AAGvG;AACmG;AACnG,gBAAgB,kBAAU;AAC1B,EAAE,qDAAM;AACR,EAAE,MAAM;AACR,EAAE,eAAe;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA,mDAAe;;ACpBS;AACA;AACxB,8CAAe,cAAG;AACI","sources":["webpack://vue-document-editor/./node_modules/core-js/internals/a-callable.js","webpack://vue-document-editor/./node_modules/core-js/internals/an-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/array-includes.js","webpack://vue-document-editor/./node_modules/core-js/internals/array-set-length.js","webpack://vue-document-editor/./node_modules/core-js/internals/classof-raw.js","webpack://vue-document-editor/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://vue-document-editor/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/create-property-descriptor.js","webpack://vue-document-editor/./node_modules/core-js/internals/define-built-in.js","webpack://vue-document-editor/./node_modules/core-js/internals/define-global-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/descriptors.js","webpack://vue-document-editor/./node_modules/core-js/internals/document-all.js","webpack://vue-document-editor/./node_modules/core-js/internals/document-create-element.js","webpack://vue-document-editor/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://vue-document-editor/./node_modules/core-js/internals/engine-user-agent.js","webpack://vue-document-editor/./node_modules/core-js/internals/engine-v8-version.js","webpack://vue-document-editor/./node_modules/core-js/internals/enum-bug-keys.js","webpack://vue-document-editor/./node_modules/core-js/internals/export.js","webpack://vue-document-editor/./node_modules/core-js/internals/fails.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-bind-native.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-call.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-name.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-uncurry-this.js","webpack://vue-document-editor/./node_modules/core-js/internals/get-built-in.js","webpack://vue-document-editor/./node_modules/core-js/internals/get-method.js","webpack://vue-document-editor/./node_modules/core-js/internals/global.js","webpack://vue-document-editor/./node_modules/core-js/internals/has-own-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/hidden-keys.js","webpack://vue-document-editor/./node_modules/core-js/internals/ie8-dom-define.js","webpack://vue-document-editor/./node_modules/core-js/internals/indexed-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/inspect-source.js","webpack://vue-document-editor/./node_modules/core-js/internals/internal-state.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-array.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-callable.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-forced.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-pure.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-symbol.js","webpack://vue-document-editor/./node_modules/core-js/internals/length-of-array-like.js","webpack://vue-document-editor/./node_modules/core-js/internals/make-built-in.js","webpack://vue-document-editor/./node_modules/core-js/internals/math-trunc.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-define-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-keys-internal.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://vue-document-editor/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://vue-document-editor/./node_modules/core-js/internals/own-keys.js","webpack://vue-document-editor/./node_modules/core-js/internals/require-object-coercible.js","webpack://vue-document-editor/./node_modules/core-js/internals/shared-key.js","webpack://vue-document-editor/./node_modules/core-js/internals/shared-store.js","webpack://vue-document-editor/./node_modules/core-js/internals/shared.js","webpack://vue-document-editor/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-absolute-index.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-indexed-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-length.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-primitive.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-property-key.js","webpack://vue-document-editor/./node_modules/core-js/internals/try-to-string.js","webpack://vue-document-editor/./node_modules/core-js/internals/uid.js","webpack://vue-document-editor/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://vue-document-editor/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://vue-document-editor/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://vue-document-editor/./node_modules/core-js/internals/well-known-symbol.js","webpack://vue-document-editor/./node_modules/core-js/modules/es.array.push.js","webpack://vue-document-editor/webpack/bootstrap","webpack://vue-document-editor/webpack/runtime/define property getters","webpack://vue-document-editor/webpack/runtime/global","webpack://vue-document-editor/webpack/runtime/hasOwnProperty shorthand","webpack://vue-document-editor/webpack/runtime/publicPath","webpack://vue-document-editor/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue","webpack://vue-document-editor/./src/DocumentEditor/imports/page-transition-mgmt.js","webpack://vue-document-editor/src/DocumentEditor/DocumentEditor.vue","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?f574","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?c0cb","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?9c7a","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?402a","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?7695","webpack://vue-document-editor/./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?48b8","webpack://vue-document-editor/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["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 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 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","'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","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 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 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","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 isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\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 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 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 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 $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","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","// 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 global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.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 FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\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 call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\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 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 global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var 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 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; })() || this || Function('return this')();\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","module.exports = {};\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 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","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 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 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 $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 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","// 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 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","module.exports = false;\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 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 uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\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 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","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 internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\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","'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 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 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 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","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","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.30.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\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 // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\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","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","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var 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 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 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 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 $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\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","/* 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 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 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 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 Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\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 fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 and Safari <= 15.4, FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:\"editor\",staticClass:\"editor\"},[(_vm.overlay)?_c('div',{staticClass:\"overlays\"},_vm._l((_vm.pages),function(page,page_idx){return _c('div',{key:page.uuid+'-overlay',ref:page.uuid+'-overlay',refInFor:true,staticClass:\"overlay\",style:(_vm.page_style(page_idx, false)),domProps:{\"innerHTML\":_vm._s(_vm.overlay(page_idx+1, _vm.pages.length))}})}),0):_vm._e(),_c('div',{ref:\"content\",staticClass:\"content\",style:(_vm.page_style(-1)),attrs:{\"contenteditable\":_vm.editable},on:{\"input\":_vm.input,\"keyup\":_vm.process_current_text_style,\"keydown\":_vm.keydown}},_vm._l((_vm.pages),function(page,page_idx){return _c('div',{key:page.uuid,ref:page.uuid,refInFor:true,staticClass:\"page\",style:(_vm.page_style(page_idx, page.template ? false : true)),attrs:{\"data-content-idx\":page.content_idx,\"data-page-idx\":page_idx,\"contenteditable\":(_vm.editable && !page.template) ? true : false}},[(page.template)?_c(page.template,_vm._b({tag:\"component\"},'component',page.props,false,true)):_vm._e()],1)}),0)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n/**\n * Utility function that acts like an Array.filter on childNodes of \"container\"\n * @param {HTMLElement} container \n * @param {string} s_tag \n */\nfunction find_sub_child_sibling_node (container, s_tag){\n if(!container || !s_tag) return false;\n const child_nodes = container.childNodes;\n for(let i = 0; i < child_nodes.length; i++) {\n if(child_nodes[i].s_tag == s_tag) return child_nodes[i];\n }\n return false;\n}\n\n\n/**\n * This function moves every sub-child of argument \"child\" to the start of the \"child_sibling\"\n * argument, beginning from the last child, with word splitting and format preserving.\n * Typically, \"child\" is the current page which content overflows, and \"child_sibling\" is the \n * next page.\n * @param {HTMLElement} child Element to take children from (current page)\n * @param {HTMLElement} child_sibling Element to copy children to (next page)\n * @param {function} stop_condition Check function that returns a boolean if content doesn't overflow anymore\n * @param {function(HTMLElement):boolean?} do_not_break Optional function that receives the current child element and should return true if the child should not be split over two pages but rather be moved directly to the next page\n * @param {boolean?} not_first_child Should be unset. Used internally to let at least one child in the page\n */\nfunction move_children_forward_recursively (child, child_sibling, stop_condition, do_not_break, not_first_child) {\n\n // if the child still has nodes and the current page still overflows\n while(child.childNodes.length && !stop_condition()){\n\n // check if page has only one child tree left\n not_first_child = not_first_child || (child.childNodes.length != 1);\n\n // select the last sub-child\n const sub_child = child.lastChild;\n\n // if it is a text node, move its content to next page word(/space) by word\n if(sub_child.nodeType == Node.TEXT_NODE){\n const sub_child_hashes = sub_child.textContent.match(/(\\s|\\S+)/g);\n const sub_child_continuation = document.createTextNode('');\n child_sibling.prepend(sub_child_continuation);\n const l = sub_child_hashes ? sub_child_hashes.length : 0;\n for(let i = 0; i < l; i++) {\n if(i == l - 1 && !not_first_child) return; // never remove the first word of the page\n sub_child.textContent = sub_child_hashes.slice(0, l - i - 1).join('');\n sub_child_continuation.textContent = sub_child_hashes.slice(l - i - 1, l).join('');\n if(stop_condition()) return;\n }\n }\n\n // we simply move it to the next page if it is either:\n // - a node with no content (e.g. )\n // - a header title (e.g.

)\n // - a table row (e.g. )\n // - any element on whose user-custom `do_not_break` function returns true\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i) || sub_child.tagName.match(/tr/i) || (typeof do_not_break === \"function\" && do_not_break(sub_child))) {\n // just prevent moving the last child of the page\n if(!not_first_child){\n console.log(\"Move-forward: first child reached with no stop condition. Aborting\");\n return;\n }\n child_sibling.prepend(sub_child);\n }\n\n // for every other node that is not text and not the first child, clone it recursively to next page\n else {\n // check if sub child has already been cloned before\n let sub_child_sibling = find_sub_child_sibling_node(child_sibling, sub_child.s_tag);\n \n // if not, create it and watermark the relationship with a random tag\n if(!sub_child_sibling) {\n if(!sub_child.s_tag) {\n const new_random_tag = Math.random().toString(36).slice(2, 8);\n sub_child.s_tag = new_random_tag;\n }\n sub_child_sibling = sub_child.cloneNode(false);\n sub_child_sibling.s_tag = sub_child.s_tag;\n child_sibling.prepend(sub_child_sibling);\n }\n \n // then move/clone its children and sub-children recursively\n move_children_forward_recursively(sub_child, sub_child_sibling, stop_condition, do_not_break, not_first_child);\n sub_child_sibling.normalize(); // merge consecutive text nodes\n }\n\n // if sub_child was a container that was cloned and is now empty, we clean it\n if(child.contains(sub_child)){\n if(sub_child.childNodes.length == 0 || sub_child.innerHTML == \"\") child.removeChild(sub_child);\n else if(!stop_condition()) {\n // the only case when it can be non empty should be when stop_condition is now true\n console.log(\"sub_child:\", sub_child, \"that is in child:\", child);\n throw Error(\"Document editor is trying to remove a non-empty sub-child. This \"\n + \"is a bug and should not happen. Please report a repeatable set of actions that \"\n + \"leaded to this error to https://github.com/motla/vue-document-editor/issues/new\");\n }\n }\n }\n}\n\n\n\n/**\n * This function moves the first element from \"next_page_html_div\" to the end of \"page_html_div\", with\n * merging sibling tags previously watermarked by \"move_children_forward_recursively\", if any.\n * @param {HTMLElement} page_html_div Current page element\n * @param {HTMLElement} next_page_html_div Next page element\n * @param {function} stop_condition Check function that returns a boolean if content overflows\n */\nfunction move_children_backwards_with_merging (page_html_div, next_page_html_div, stop_condition) {\n\n // loop until content is overflowing\n while(!stop_condition()){\n\n // find first child of next page\n const first_child = next_page_html_div.firstChild;\n\n // merge it at the end of the current page\n var merge_recursively = (container, elt) => {\n // check if child had been splitted (= has a sibling on previous page)\n const elt_sibling = find_sub_child_sibling_node(container, elt.s_tag);\n if(elt_sibling && elt.childNodes.length) {\n // then dig for deeper children, in case of\n merge_recursively(elt_sibling, elt.firstChild);\n }\n // else move the child inside the right container at current page\n else {\n container.append(elt);\n container.normalize();\n }\n }\n merge_recursively(page_html_div, first_child);\n }\n}\n\nexport {\n move_children_forward_recursively,\n move_children_backwards_with_merging\n};","\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=script&lang=js&\"","// extracted by mini-css-extract-plugin\nexport {};","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=style&index=0&id=214528ab&prod&lang=css&\"","// extracted by mini-css-extract-plugin\nexport {};","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=style&index=1&id=214528ab&prod&scoped=true&lang=css&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./DocumentEditor.vue?vue&type=template&id=214528ab&scoped=true&\"\nimport script from \"./DocumentEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./DocumentEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DocumentEditor.vue?vue&type=style&index=0&id=214528ab&prod&lang=css&\"\nimport style1 from \"./DocumentEditor.vue?vue&type=style&index=1&id=214528ab&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"214528ab\",\n null\n \n)\n\nexport default component.exports","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["render","_vm","_c","_self","ref","staticClass","overlay","_l","pages","page","page_idx","key","uuid","refInFor","style","page_style","domProps","_s","length","_e","attrs","editable","on","input","process_current_text_style","keydown","template","content_idx","_b","tag","props","staticRenderFns","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","i","move_children_forward_recursively","child","child_sibling","stop_condition","do_not_break","not_first_child","sub_child","lastChild","nodeType","Node","TEXT_NODE","sub_child_hashes","textContent","match","sub_child_continuation","document","createTextNode","prepend","l","slice","join","tagName","console","log","sub_child_sibling","new_random_tag","Math","random","toString","cloneNode","normalize","contains","innerHTML","removeChild","Error","move_children_backwards_with_merging","page_html_div","next_page_html_div","first_child","firstChild","merge_recursively","elt","elt_sibling","append","content","type","Array","required","display","String","default","Boolean","Function","page_format_mm","page_margins","zoom","Number","data","pages_height","editor_width","prevent_next_content_update_from_parent","current_text_style","mounted","update_editor_width","update_css_media_style","reset_content","window","addEventListener","before_print","after_print","beforeDestroy","removeEventListener","computed","css_media_style","createElement","head","appendChild","methods","new_uuid","$emit","map","$nextTick","first_page_elt","$refs","clientHeight","page_elt","fit_content_over_pages","blur","body","splice","selection","getSelection","start_marker","end_marker","rangeCount","range","getRangeAt","insertNode","collapse","prev_page_modified_flag","next_page","next_page_elt","prev_innerHTML","createRange","setStart","setEnd","removeAllRanges","addRange","parentElement","e","emit_new_content","inputType","keyCode","text","replace","preventDefault","removed_pages_flag","new_content","item","filter","children","toLowerCase","getAttribute","sel","focusNode","element","isContentEditable","getComputedStyle","textDecorationStack","headerLevel","isList","parent","parent_style","push","textDecoration","toUpperCase","allow_overflow","px_in_mm","page_width","page_spacing_mm","page_with_plus_spacing","view_padding","inner_width","nb_pages_x","page_column","x_pos","x_ofx","left_px","top_mm","bkg_width_mm","bkg_height_mm","floor","max","nb_pages_y","ceil","position","left","top","width","padding","transform","height","editor","classList","add","clientWidth","remove","_page_body","print_body","margin","background","font","className","entries","page_clone","breakBefore","boxSizing","overflow","overlay_elts","overlay_clone","return_overlay","right","bottom","alignItems","justifyContent","cursor","watch","handler"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/VueDocumentEditor.css b/dist/VueDocumentEditor.css index 3bb0df7..1415464 100644 --- a/dist/VueDocumentEditor.css +++ b/dist/VueDocumentEditor.css @@ -1 +1 @@ -body{-webkit-print-color-adjust:exact;print-color-adjust:exact}.editor[data-v-3822a990]{display:block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:default}.editor[data-v-3822a990] ::-webkit-scrollbar{width:16px;height:16px}.editor[data-v-3822a990] ::-webkit-scrollbar-corner,.editor[data-v-3822a990] ::-webkit-scrollbar-track{display:none}.editor[data-v-3822a990] ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}.editor[data-v-3822a990] ::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.editor .hide_children>[data-v-3822a990]{display:none}.editor>.content[data-v-3822a990]{position:relative;outline:none;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.content[data-v-3822a990] .page{position:absolute;box-sizing:border-box;left:50%;transform-origin:center top;background:var(--page-background,#fff);box-shadow:var(--page-box-shadow,0 1px 3px 1px rgba(60,64,67,.15));border:var(--page-border);border-radius:var(--page-border-radius);transition:left .3s,top .3s;overflow:hidden;pointer-events:all}.editor>.content[contenteditable][data-v-3822a990],.editor>.content[data-v-3822a990] [contenteditable]{cursor:text}.editor>.content[data-v-3822a990] [contenteditable=false]{cursor:default}.editor>.overlays[data-v-3822a990]{position:relative;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.overlays>.overlay[data-v-3822a990]{position:absolute;box-sizing:border-box;left:50%;transform-origin:center top;transition:left .3s,top .3s;overflow:hidden;z-index:1} \ No newline at end of file +body{-webkit-print-color-adjust:exact;print-color-adjust:exact}.editor[data-v-214528ab]{display:block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:default}.editor[data-v-214528ab] ::-webkit-scrollbar{width:16px;height:16px}.editor[data-v-214528ab] ::-webkit-scrollbar-corner,.editor[data-v-214528ab] ::-webkit-scrollbar-track{display:none}.editor[data-v-214528ab] ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}.editor[data-v-214528ab] ::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.editor .hide_children>[data-v-214528ab]{display:none}.editor>.content[data-v-214528ab]{position:relative;outline:none;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.content[data-v-214528ab] .page{position:absolute;box-sizing:border-box;left:50%;transform-origin:center top;background:var(--page-background,#fff);box-shadow:var(--page-box-shadow,0 1px 3px 1px rgba(60,64,67,.15));border:var(--page-border);border-radius:var(--page-border-radius);transition:left .3s,top .3s;overflow:hidden;pointer-events:all}.editor>.content[contenteditable][data-v-214528ab],.editor>.content[data-v-214528ab] [contenteditable]{cursor:text}.editor>.content[data-v-214528ab] [contenteditable=false]{cursor:default}.editor>.overlays[data-v-214528ab]{position:relative;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.overlays>.overlay[data-v-214528ab]{position:absolute;box-sizing:border-box;left:50%;transform-origin:center top;transition:left .3s,top .3s;overflow:hidden;z-index:1} \ No newline at end of file diff --git a/dist/VueDocumentEditor.umd.js b/dist/VueDocumentEditor.umd.js index 01918a4..27c9018 100644 --- a/dist/VueDocumentEditor.umd.js +++ b/dist/VueDocumentEditor.umd.js @@ -1606,7 +1606,7 @@ if (typeof window !== 'undefined') { // Indicate to webpack that this file can be concatenated /* harmony default export */ var setPublicPath = (null); -;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/DocumentEditor/DocumentEditor.vue?vue&type=template&id=3822a990&scoped=true& +;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/DocumentEditor/DocumentEditor.vue?vue&type=template&id=214528ab&scoped=true& var render = function render() { var _vm = this, _c = _vm._self._c; @@ -2189,6 +2189,9 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, page_clone.style.position = "relative"; page_clone.style.padding = typeof this.page_margins == "function" ? this.page_margins(page_idx + 1, this.pages.length) : this.page_margins; page_clone.style.breakBefore = page_idx ? "page" : "auto"; + page_clone.style.width = "calc(" + this.page_format_mm[0] + "mm - 2px)"; + page_clone.style.height = "calc(" + this.page_format_mm[1] + "mm - 2px)"; + page_clone.style.boxSizing = "border-box"; page_clone.style.overflow = "hidden"; // add overlays if any @@ -2257,15 +2260,15 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, }); ;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=script&lang=js& /* harmony default export */ var DocumentEditor_DocumentEditorvue_type_script_lang_js_ = (DocumentEditorvue_type_script_lang_js_); -;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=3822a990&prod&lang=css& +;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=214528ab&prod&lang=css& // extracted by mini-css-extract-plugin -;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=3822a990&prod&lang=css& +;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=214528ab&prod&lang=css& -;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=3822a990&prod&scoped=true&lang=css& +;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=214528ab&prod&scoped=true&lang=css& // extracted by mini-css-extract-plugin -;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=3822a990&prod&scoped=true&lang=css& +;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=214528ab&prod&scoped=true&lang=css& ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js /* globals __VUE_SSR_CONTEXT__ */ @@ -2381,7 +2384,7 @@ var component = normalizeComponent( staticRenderFns, false, null, - "3822a990", + "214528ab", null ) diff --git a/dist/VueDocumentEditor.umd.js.map b/dist/VueDocumentEditor.umd.js.map index ee1e668..4d82b80 100644 --- a/dist/VueDocumentEditor.umd.js.map +++ b/dist/VueDocumentEditor.umd.js.map @@ -1 +1 @@ -{"version":3,"file":"VueDocumentEditor.umd.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;ACVA,iBAAiB,mBAAO,CAAC,GAA0B;AACnD,kBAAkB,mBAAO,CAAC,IAA4B;;AAEtD;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACTA,eAAe,mBAAO,CAAC,GAAwB;;AAE/C;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACTA,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,wBAAwB,mBAAO,CAAC,IAAmC;;AAEnE,sBAAsB,mBAAmB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AC/FyG;AACvC;AACL;AAC7D,CAA2F;AACY;;;AAGvG;AACmG;AACnG,gBAAgB,kBAAU;AAC1B,EAAE,qDAAM;AACR,EAAE,MAAM;AACR,EAAE,eAAe;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA,mDAAe;;ACpBS;AACA;AACxB,8CAAe,cAAG;AACI","sources":["webpack://VueDocumentEditor/webpack/universalModuleDefinition","webpack://VueDocumentEditor/./node_modules/core-js/internals/a-callable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/an-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/array-includes.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/array-set-length.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/classof-raw.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/create-property-descriptor.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/define-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/define-global-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/descriptors.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/document-all.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/document-create-element.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/engine-user-agent.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/engine-v8-version.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/enum-bug-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/export.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/fails.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-bind-native.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-call.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-name.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-uncurry-this.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/get-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/get-method.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/global.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/has-own-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/hidden-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/ie8-dom-define.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/indexed-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/inspect-source.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/internal-state.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-array.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-callable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-forced.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-pure.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-symbol.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/length-of-array-like.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/make-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/math-trunc.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-define-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-keys-internal.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/own-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/require-object-coercible.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared-key.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared-store.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-absolute-index.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-indexed-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-length.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-primitive.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-property-key.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/try-to-string.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/uid.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/well-known-symbol.js","webpack://VueDocumentEditor/./node_modules/core-js/modules/es.array.push.js","webpack://VueDocumentEditor/webpack/bootstrap","webpack://VueDocumentEditor/webpack/runtime/define property getters","webpack://VueDocumentEditor/webpack/runtime/global","webpack://VueDocumentEditor/webpack/runtime/hasOwnProperty shorthand","webpack://VueDocumentEditor/webpack/runtime/publicPath","webpack://VueDocumentEditor/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue","webpack://VueDocumentEditor/./src/DocumentEditor/imports/page-transition-mgmt.js","webpack://VueDocumentEditor/src/DocumentEditor/DocumentEditor.vue","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?9bf7","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?c098","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?be2e","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?13bb","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?b0c7","webpack://VueDocumentEditor/./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?48b8","webpack://VueDocumentEditor/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueDocumentEditor\"] = factory();\n\telse\n\t\troot[\"VueDocumentEditor\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn ","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 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 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","'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","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 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 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","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 isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\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 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 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 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 $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","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","// 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 global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.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 FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\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 call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\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 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 global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var 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 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; })() || this || Function('return this')();\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","module.exports = {};\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 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","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 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 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 $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 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","// 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 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","module.exports = false;\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 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 uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\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 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","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 internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\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","'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 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 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 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","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","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.30.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\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 // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\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","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","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var 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 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 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 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 $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\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","/* 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 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 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 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 Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\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 fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 and Safari <= 15.4, FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:\"editor\",staticClass:\"editor\"},[(_vm.overlay)?_c('div',{staticClass:\"overlays\"},_vm._l((_vm.pages),function(page,page_idx){return _c('div',{key:page.uuid+'-overlay',ref:page.uuid+'-overlay',refInFor:true,staticClass:\"overlay\",style:(_vm.page_style(page_idx, false)),domProps:{\"innerHTML\":_vm._s(_vm.overlay(page_idx+1, _vm.pages.length))}})}),0):_vm._e(),_c('div',{ref:\"content\",staticClass:\"content\",style:(_vm.page_style(-1)),attrs:{\"contenteditable\":_vm.editable},on:{\"input\":_vm.input,\"keyup\":_vm.process_current_text_style,\"keydown\":_vm.keydown}},_vm._l((_vm.pages),function(page,page_idx){return _c('div',{key:page.uuid,ref:page.uuid,refInFor:true,staticClass:\"page\",style:(_vm.page_style(page_idx, page.template ? false : true)),attrs:{\"data-content-idx\":page.content_idx,\"data-page-idx\":page_idx,\"contenteditable\":(_vm.editable && !page.template) ? true : false}},[(page.template)?_c(page.template,_vm._b({tag:\"component\"},'component',page.props,false,true)):_vm._e()],1)}),0)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n/**\n * Utility function that acts like an Array.filter on childNodes of \"container\"\n * @param {HTMLElement} container \n * @param {string} s_tag \n */\nfunction find_sub_child_sibling_node (container, s_tag){\n if(!container || !s_tag) return false;\n const child_nodes = container.childNodes;\n for(let i = 0; i < child_nodes.length; i++) {\n if(child_nodes[i].s_tag == s_tag) return child_nodes[i];\n }\n return false;\n}\n\n\n/**\n * This function moves every sub-child of argument \"child\" to the start of the \"child_sibling\"\n * argument, beginning from the last child, with word splitting and format preserving.\n * Typically, \"child\" is the current page which content overflows, and \"child_sibling\" is the \n * next page.\n * @param {HTMLElement} child Element to take children from (current page)\n * @param {HTMLElement} child_sibling Element to copy children to (next page)\n * @param {function} stop_condition Check function that returns a boolean if content doesn't overflow anymore\n * @param {function(HTMLElement):boolean?} do_not_break Optional function that receives the current child element and should return true if the child should not be split over two pages but rather be moved directly to the next page\n * @param {boolean?} not_first_child Should be unset. Used internally to let at least one child in the page\n */\nfunction move_children_forward_recursively (child, child_sibling, stop_condition, do_not_break, not_first_child) {\n\n // if the child still has nodes and the current page still overflows\n while(child.childNodes.length && !stop_condition()){\n\n // check if page has only one child tree left\n not_first_child = not_first_child || (child.childNodes.length != 1);\n\n // select the last sub-child\n const sub_child = child.lastChild;\n\n // if it is a text node, move its content to next page word(/space) by word\n if(sub_child.nodeType == Node.TEXT_NODE){\n const sub_child_hashes = sub_child.textContent.match(/(\\s|\\S+)/g);\n const sub_child_continuation = document.createTextNode('');\n child_sibling.prepend(sub_child_continuation);\n const l = sub_child_hashes ? sub_child_hashes.length : 0;\n for(let i = 0; i < l; i++) {\n if(i == l - 1 && !not_first_child) return; // never remove the first word of the page\n sub_child.textContent = sub_child_hashes.slice(0, l - i - 1).join('');\n sub_child_continuation.textContent = sub_child_hashes.slice(l - i - 1, l).join('');\n if(stop_condition()) return;\n }\n }\n\n // we simply move it to the next page if it is either:\n // - a node with no content (e.g. )\n // - a header title (e.g.

)\n // - a table row (e.g. )\n // - any element on whose user-custom `do_not_break` function returns true\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i) || sub_child.tagName.match(/tr/i) || (typeof do_not_break === \"function\" && do_not_break(sub_child))) {\n // just prevent moving the last child of the page\n if(!not_first_child){\n console.log(\"Move-forward: first child reached with no stop condition. Aborting\");\n return;\n }\n child_sibling.prepend(sub_child);\n }\n\n // for every other node that is not text and not the first child, clone it recursively to next page\n else {\n // check if sub child has already been cloned before\n let sub_child_sibling = find_sub_child_sibling_node(child_sibling, sub_child.s_tag);\n \n // if not, create it and watermark the relationship with a random tag\n if(!sub_child_sibling) {\n if(!sub_child.s_tag) {\n const new_random_tag = Math.random().toString(36).slice(2, 8);\n sub_child.s_tag = new_random_tag;\n }\n sub_child_sibling = sub_child.cloneNode(false);\n sub_child_sibling.s_tag = sub_child.s_tag;\n child_sibling.prepend(sub_child_sibling);\n }\n \n // then move/clone its children and sub-children recursively\n move_children_forward_recursively(sub_child, sub_child_sibling, stop_condition, do_not_break, not_first_child);\n sub_child_sibling.normalize(); // merge consecutive text nodes\n }\n\n // if sub_child was a container that was cloned and is now empty, we clean it\n if(child.contains(sub_child)){\n if(sub_child.childNodes.length == 0 || sub_child.innerHTML == \"\") child.removeChild(sub_child);\n else if(!stop_condition()) {\n // the only case when it can be non empty should be when stop_condition is now true\n console.log(\"sub_child:\", sub_child, \"that is in child:\", child);\n throw Error(\"Document editor is trying to remove a non-empty sub-child. This \"\n + \"is a bug and should not happen. Please report a repeatable set of actions that \"\n + \"leaded to this error to https://github.com/motla/vue-document-editor/issues/new\");\n }\n }\n }\n}\n\n\n\n/**\n * This function moves the first element from \"next_page_html_div\" to the end of \"page_html_div\", with\n * merging sibling tags previously watermarked by \"move_children_forward_recursively\", if any.\n * @param {HTMLElement} page_html_div Current page element\n * @param {HTMLElement} next_page_html_div Next page element\n * @param {function} stop_condition Check function that returns a boolean if content overflows\n */\nfunction move_children_backwards_with_merging (page_html_div, next_page_html_div, stop_condition) {\n\n // loop until content is overflowing\n while(!stop_condition()){\n\n // find first child of next page\n const first_child = next_page_html_div.firstChild;\n\n // merge it at the end of the current page\n var merge_recursively = (container, elt) => {\n // check if child had been splitted (= has a sibling on previous page)\n const elt_sibling = find_sub_child_sibling_node(container, elt.s_tag);\n if(elt_sibling && elt.childNodes.length) {\n // then dig for deeper children, in case of\n merge_recursively(elt_sibling, elt.firstChild);\n }\n // else move the child inside the right container at current page\n else {\n container.append(elt);\n container.normalize();\n }\n }\n merge_recursively(page_html_div, first_child);\n }\n}\n\nexport {\n move_children_forward_recursively,\n move_children_backwards_with_merging\n};","\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=script&lang=js&\"","// extracted by mini-css-extract-plugin\nexport {};","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=style&index=0&id=3822a990&prod&lang=css&\"","// extracted by mini-css-extract-plugin\nexport {};","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=style&index=1&id=3822a990&prod&scoped=true&lang=css&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./DocumentEditor.vue?vue&type=template&id=3822a990&scoped=true&\"\nimport script from \"./DocumentEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./DocumentEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DocumentEditor.vue?vue&type=style&index=0&id=3822a990&prod&lang=css&\"\nimport style1 from \"./DocumentEditor.vue?vue&type=style&index=1&id=3822a990&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3822a990\",\n null\n \n)\n\nexport default component.exports","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["render","_vm","_c","_self","ref","staticClass","overlay","_l","pages","page","page_idx","key","uuid","refInFor","style","page_style","domProps","_s","length","_e","attrs","editable","on","input","process_current_text_style","keydown","template","content_idx","_b","tag","props","staticRenderFns","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","i","move_children_forward_recursively","child","child_sibling","stop_condition","do_not_break","not_first_child","sub_child","lastChild","nodeType","Node","TEXT_NODE","sub_child_hashes","textContent","match","sub_child_continuation","document","createTextNode","prepend","l","slice","join","tagName","console","log","sub_child_sibling","new_random_tag","Math","random","toString","cloneNode","normalize","contains","innerHTML","removeChild","Error","move_children_backwards_with_merging","page_html_div","next_page_html_div","first_child","firstChild","merge_recursively","elt","elt_sibling","append","content","type","Array","required","display","String","default","Boolean","Function","page_format_mm","page_margins","zoom","Number","data","pages_height","editor_width","prevent_next_content_update_from_parent","current_text_style","mounted","update_editor_width","update_css_media_style","reset_content","window","addEventListener","before_print","after_print","beforeDestroy","removeEventListener","computed","css_media_style","createElement","head","appendChild","methods","new_uuid","$emit","map","$nextTick","first_page_elt","$refs","clientHeight","page_elt","fit_content_over_pages","blur","body","splice","selection","getSelection","start_marker","end_marker","rangeCount","range","getRangeAt","insertNode","collapse","prev_page_modified_flag","next_page","next_page_elt","prev_innerHTML","createRange","setStart","setEnd","removeAllRanges","addRange","parentElement","e","emit_new_content","inputType","keyCode","text","replace","preventDefault","removed_pages_flag","new_content","item","filter","children","toLowerCase","getAttribute","sel","focusNode","element","isContentEditable","getComputedStyle","textDecorationStack","headerLevel","isList","parent","parent_style","push","textDecoration","toUpperCase","allow_overflow","px_in_mm","page_width","page_spacing_mm","page_with_plus_spacing","view_padding","inner_width","nb_pages_x","page_column","x_pos","x_ofx","left_px","top_mm","bkg_width_mm","bkg_height_mm","floor","max","nb_pages_y","ceil","position","left","top","width","padding","transform","height","editor","classList","add","clientWidth","remove","_page_body","print_body","margin","background","font","className","entries","page_clone","breakBefore","overflow","overlay_elts","overlay_clone","return_overlay","right","bottom","alignItems","justifyContent","cursor","watch","handler"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"VueDocumentEditor.umd.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;ACVA,iBAAiB,mBAAO,CAAC,GAA0B;AACnD,kBAAkB,mBAAO,CAAC,IAA4B;;AAEtD;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACTA,eAAe,mBAAO,CAAC,GAAwB;;AAE/C;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACTA,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,wBAAwB,mBAAO,CAAC,IAAmC;;AAEnE,sBAAsB,mBAAmB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,WAAW,gBAAgB;AACjC;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC/Ba;AACb,kBAAkB,mBAAO,CAAC,IAA0B;AACpD,cAAc,mBAAO,CAAC,IAAuB;;AAE7C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,iBAAiB;AAC3D,IAAI;AACJ;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,IAAI;AACJ,EAAE;AACF;AACA;;;;;;;;AC1BA,kBAAkB,mBAAO,CAAC,IAAoC;;AAE9D,6BAA6B;AAC7B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A;MACAL,cAAA,CAAApJ,SAAA;MACAoJ,cAAA,CAAAjH,gBAAA,eAAAE,WAAA;MACAmG,UAAA,CAAA7H,MAAA,CAAAyI,cAAA;;MAEA;MACArK,QAAA,CAAAyE,IAAA,GAAAgF,UAAA;IACA;IAEA;IACAnG,YAAA;MACAtD,QAAA,CAAAyE,IAAA,QAAA+E,UAAA;MACA,KAAAxG,mBAAA;IACA;EACA;EAEA;EACA2H,KAAA;IACArI,cAAA;MACA,MAAAsI,QAAA;QACA,KAAA3H,sBAAA;QACA,WAAAC,aAAA;MACA;IACA;IACAX,YAAA;MACA,MAAAqI,QAAA;QACA,WAAA1H,aAAA;MACA;IACA;IACArB,OAAA;MACA,MAAA+I,QAAA;QACA;QACA,SAAA/H,uCAAA;UACA,KAAAA,uCAAA;QACA,kBAAAK,aAAA;MACA;IACA;EACA;AAEA,CAAC;;ACjf4P,CAAC,0FAAe,sCAAG,EAAC;;ACAjR;;;;;AEAA;;;;;AEAA;;AAEA;AACA;AACA;;AAEe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AC/FyG;AACvC;AACL;AAC7D,CAA2F;AACY;;;AAGvG;AACmG;AACnG,gBAAgB,kBAAU;AAC1B,EAAE,qDAAM;AACR,EAAE,MAAM;AACR,EAAE,eAAe;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA,mDAAe;;ACpBS;AACA;AACxB,8CAAe,cAAG;AACI","sources":["webpack://VueDocumentEditor/webpack/universalModuleDefinition","webpack://VueDocumentEditor/./node_modules/core-js/internals/a-callable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/an-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/array-includes.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/array-set-length.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/classof-raw.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/create-property-descriptor.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/define-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/define-global-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/descriptors.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/document-all.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/document-create-element.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/engine-user-agent.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/engine-v8-version.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/enum-bug-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/export.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/fails.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-bind-native.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-call.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-name.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-uncurry-this.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/get-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/get-method.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/global.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/has-own-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/hidden-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/ie8-dom-define.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/indexed-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/inspect-source.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/internal-state.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-array.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-callable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-forced.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-pure.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-symbol.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/length-of-array-like.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/make-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/math-trunc.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-define-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-keys-internal.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/own-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/require-object-coercible.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared-key.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared-store.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-absolute-index.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-indexed-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-length.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-primitive.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-property-key.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/try-to-string.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/uid.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/well-known-symbol.js","webpack://VueDocumentEditor/./node_modules/core-js/modules/es.array.push.js","webpack://VueDocumentEditor/webpack/bootstrap","webpack://VueDocumentEditor/webpack/runtime/define property getters","webpack://VueDocumentEditor/webpack/runtime/global","webpack://VueDocumentEditor/webpack/runtime/hasOwnProperty shorthand","webpack://VueDocumentEditor/webpack/runtime/publicPath","webpack://VueDocumentEditor/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue","webpack://VueDocumentEditor/./src/DocumentEditor/imports/page-transition-mgmt.js","webpack://VueDocumentEditor/src/DocumentEditor/DocumentEditor.vue","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?9bf7","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?b8e9","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?7f3d","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?3be3","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?0dc1","webpack://VueDocumentEditor/./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?48b8","webpack://VueDocumentEditor/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueDocumentEditor\"] = factory();\n\telse\n\t\troot[\"VueDocumentEditor\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn ","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 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 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","'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","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 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 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","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 isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\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 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 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 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 $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","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","// 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 global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.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 FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\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 call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\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 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 global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var 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 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; })() || this || Function('return this')();\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","module.exports = {};\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 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","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 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 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 $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 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","// 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 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","module.exports = false;\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 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 uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\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 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","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 internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\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","'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 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 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 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","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","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.30.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\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 // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\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","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","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var 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 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 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 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 $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\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","/* 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 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 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 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 Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\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 fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 and Safari <= 15.4, FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:\"editor\",staticClass:\"editor\"},[(_vm.overlay)?_c('div',{staticClass:\"overlays\"},_vm._l((_vm.pages),function(page,page_idx){return _c('div',{key:page.uuid+'-overlay',ref:page.uuid+'-overlay',refInFor:true,staticClass:\"overlay\",style:(_vm.page_style(page_idx, false)),domProps:{\"innerHTML\":_vm._s(_vm.overlay(page_idx+1, _vm.pages.length))}})}),0):_vm._e(),_c('div',{ref:\"content\",staticClass:\"content\",style:(_vm.page_style(-1)),attrs:{\"contenteditable\":_vm.editable},on:{\"input\":_vm.input,\"keyup\":_vm.process_current_text_style,\"keydown\":_vm.keydown}},_vm._l((_vm.pages),function(page,page_idx){return _c('div',{key:page.uuid,ref:page.uuid,refInFor:true,staticClass:\"page\",style:(_vm.page_style(page_idx, page.template ? false : true)),attrs:{\"data-content-idx\":page.content_idx,\"data-page-idx\":page_idx,\"contenteditable\":(_vm.editable && !page.template) ? true : false}},[(page.template)?_c(page.template,_vm._b({tag:\"component\"},'component',page.props,false,true)):_vm._e()],1)}),0)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n/**\n * Utility function that acts like an Array.filter on childNodes of \"container\"\n * @param {HTMLElement} container \n * @param {string} s_tag \n */\nfunction find_sub_child_sibling_node (container, s_tag){\n if(!container || !s_tag) return false;\n const child_nodes = container.childNodes;\n for(let i = 0; i < child_nodes.length; i++) {\n if(child_nodes[i].s_tag == s_tag) return child_nodes[i];\n }\n return false;\n}\n\n\n/**\n * This function moves every sub-child of argument \"child\" to the start of the \"child_sibling\"\n * argument, beginning from the last child, with word splitting and format preserving.\n * Typically, \"child\" is the current page which content overflows, and \"child_sibling\" is the \n * next page.\n * @param {HTMLElement} child Element to take children from (current page)\n * @param {HTMLElement} child_sibling Element to copy children to (next page)\n * @param {function} stop_condition Check function that returns a boolean if content doesn't overflow anymore\n * @param {function(HTMLElement):boolean?} do_not_break Optional function that receives the current child element and should return true if the child should not be split over two pages but rather be moved directly to the next page\n * @param {boolean?} not_first_child Should be unset. Used internally to let at least one child in the page\n */\nfunction move_children_forward_recursively (child, child_sibling, stop_condition, do_not_break, not_first_child) {\n\n // if the child still has nodes and the current page still overflows\n while(child.childNodes.length && !stop_condition()){\n\n // check if page has only one child tree left\n not_first_child = not_first_child || (child.childNodes.length != 1);\n\n // select the last sub-child\n const sub_child = child.lastChild;\n\n // if it is a text node, move its content to next page word(/space) by word\n if(sub_child.nodeType == Node.TEXT_NODE){\n const sub_child_hashes = sub_child.textContent.match(/(\\s|\\S+)/g);\n const sub_child_continuation = document.createTextNode('');\n child_sibling.prepend(sub_child_continuation);\n const l = sub_child_hashes ? sub_child_hashes.length : 0;\n for(let i = 0; i < l; i++) {\n if(i == l - 1 && !not_first_child) return; // never remove the first word of the page\n sub_child.textContent = sub_child_hashes.slice(0, l - i - 1).join('');\n sub_child_continuation.textContent = sub_child_hashes.slice(l - i - 1, l).join('');\n if(stop_condition()) return;\n }\n }\n\n // we simply move it to the next page if it is either:\n // - a node with no content (e.g. )\n // - a header title (e.g.

)\n // - a table row (e.g. )\n // - any element on whose user-custom `do_not_break` function returns true\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i) || sub_child.tagName.match(/tr/i) || (typeof do_not_break === \"function\" && do_not_break(sub_child))) {\n // just prevent moving the last child of the page\n if(!not_first_child){\n console.log(\"Move-forward: first child reached with no stop condition. Aborting\");\n return;\n }\n child_sibling.prepend(sub_child);\n }\n\n // for every other node that is not text and not the first child, clone it recursively to next page\n else {\n // check if sub child has already been cloned before\n let sub_child_sibling = find_sub_child_sibling_node(child_sibling, sub_child.s_tag);\n \n // if not, create it and watermark the relationship with a random tag\n if(!sub_child_sibling) {\n if(!sub_child.s_tag) {\n const new_random_tag = Math.random().toString(36).slice(2, 8);\n sub_child.s_tag = new_random_tag;\n }\n sub_child_sibling = sub_child.cloneNode(false);\n sub_child_sibling.s_tag = sub_child.s_tag;\n child_sibling.prepend(sub_child_sibling);\n }\n \n // then move/clone its children and sub-children recursively\n move_children_forward_recursively(sub_child, sub_child_sibling, stop_condition, do_not_break, not_first_child);\n sub_child_sibling.normalize(); // merge consecutive text nodes\n }\n\n // if sub_child was a container that was cloned and is now empty, we clean it\n if(child.contains(sub_child)){\n if(sub_child.childNodes.length == 0 || sub_child.innerHTML == \"\") child.removeChild(sub_child);\n else if(!stop_condition()) {\n // the only case when it can be non empty should be when stop_condition is now true\n console.log(\"sub_child:\", sub_child, \"that is in child:\", child);\n throw Error(\"Document editor is trying to remove a non-empty sub-child. This \"\n + \"is a bug and should not happen. Please report a repeatable set of actions that \"\n + \"leaded to this error to https://github.com/motla/vue-document-editor/issues/new\");\n }\n }\n }\n}\n\n\n\n/**\n * This function moves the first element from \"next_page_html_div\" to the end of \"page_html_div\", with\n * merging sibling tags previously watermarked by \"move_children_forward_recursively\", if any.\n * @param {HTMLElement} page_html_div Current page element\n * @param {HTMLElement} next_page_html_div Next page element\n * @param {function} stop_condition Check function that returns a boolean if content overflows\n */\nfunction move_children_backwards_with_merging (page_html_div, next_page_html_div, stop_condition) {\n\n // loop until content is overflowing\n while(!stop_condition()){\n\n // find first child of next page\n const first_child = next_page_html_div.firstChild;\n\n // merge it at the end of the current page\n var merge_recursively = (container, elt) => {\n // check if child had been splitted (= has a sibling on previous page)\n const elt_sibling = find_sub_child_sibling_node(container, elt.s_tag);\n if(elt_sibling && elt.childNodes.length) {\n // then dig for deeper children, in case of\n merge_recursively(elt_sibling, elt.firstChild);\n }\n // else move the child inside the right container at current page\n else {\n container.append(elt);\n container.normalize();\n }\n }\n merge_recursively(page_html_div, first_child);\n }\n}\n\nexport {\n move_children_forward_recursively,\n move_children_backwards_with_merging\n};","\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=script&lang=js&\"","// extracted by mini-css-extract-plugin\nexport {};","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=style&index=0&id=214528ab&prod&lang=css&\"","// extracted by mini-css-extract-plugin\nexport {};","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=style&index=1&id=214528ab&prod&scoped=true&lang=css&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./DocumentEditor.vue?vue&type=template&id=214528ab&scoped=true&\"\nimport script from \"./DocumentEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./DocumentEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DocumentEditor.vue?vue&type=style&index=0&id=214528ab&prod&lang=css&\"\nimport style1 from \"./DocumentEditor.vue?vue&type=style&index=1&id=214528ab&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"214528ab\",\n null\n \n)\n\nexport default component.exports","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["render","_vm","_c","_self","ref","staticClass","overlay","_l","pages","page","page_idx","key","uuid","refInFor","style","page_style","domProps","_s","length","_e","attrs","editable","on","input","process_current_text_style","keydown","template","content_idx","_b","tag","props","staticRenderFns","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","i","move_children_forward_recursively","child","child_sibling","stop_condition","do_not_break","not_first_child","sub_child","lastChild","nodeType","Node","TEXT_NODE","sub_child_hashes","textContent","match","sub_child_continuation","document","createTextNode","prepend","l","slice","join","tagName","console","log","sub_child_sibling","new_random_tag","Math","random","toString","cloneNode","normalize","contains","innerHTML","removeChild","Error","move_children_backwards_with_merging","page_html_div","next_page_html_div","first_child","firstChild","merge_recursively","elt","elt_sibling","append","content","type","Array","required","display","String","default","Boolean","Function","page_format_mm","page_margins","zoom","Number","data","pages_height","editor_width","prevent_next_content_update_from_parent","current_text_style","mounted","update_editor_width","update_css_media_style","reset_content","window","addEventListener","before_print","after_print","beforeDestroy","removeEventListener","computed","css_media_style","createElement","head","appendChild","methods","new_uuid","$emit","map","$nextTick","first_page_elt","$refs","clientHeight","page_elt","fit_content_over_pages","blur","body","splice","selection","getSelection","start_marker","end_marker","rangeCount","range","getRangeAt","insertNode","collapse","prev_page_modified_flag","next_page","next_page_elt","prev_innerHTML","createRange","setStart","setEnd","removeAllRanges","addRange","parentElement","e","emit_new_content","inputType","keyCode","text","replace","preventDefault","removed_pages_flag","new_content","item","filter","children","toLowerCase","getAttribute","sel","focusNode","element","isContentEditable","getComputedStyle","textDecorationStack","headerLevel","isList","parent","parent_style","push","textDecoration","toUpperCase","allow_overflow","px_in_mm","page_width","page_spacing_mm","page_with_plus_spacing","view_padding","inner_width","nb_pages_x","page_column","x_pos","x_ofx","left_px","top_mm","bkg_width_mm","bkg_height_mm","floor","max","nb_pages_y","ceil","position","left","top","width","padding","transform","height","editor","classList","add","clientWidth","remove","_page_body","print_body","margin","background","font","className","entries","page_clone","breakBefore","boxSizing","overflow","overlay_elts","overlay_clone","return_overlay","right","bottom","alignItems","justifyContent","cursor","watch","handler"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/VueDocumentEditor.umd.min.js b/dist/VueDocumentEditor.umd.min.js index 5909372..2f51d90 100644 --- a/dist/VueDocumentEditor.umd.min.js +++ b/dist/VueDocumentEditor.umd.min.js @@ -1,2 +1,2 @@ -(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["VueDocumentEditor"]=e():t["VueDocumentEditor"]=e()})("undefined"!==typeof self?self:this,(function(){return function(){var t={9662:function(t,e,n){var r=n(614),o=n(6330),i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not a function")}},9670:function(t,e,n){var r=n(111),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not an object")}},1318:function(t,e,n){var r=n(5656),o=n(1400),i=n(6244),s=function(t){return function(e,n,s){var a,c=r(e),u=i(c),f=o(s,u);if(t&&n!=n){while(u>f)if(a=c[f++],a!=a)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},3658:function(t,e,n){"use strict";var r=n(9781),o=n(3157),i=TypeError,s=Object.getOwnPropertyDescriptor,a=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(o(t)&&!s(t,"length").writable)throw i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4326:function(t,e,n){var r=n(1702),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},9920:function(t,e,n){var r=n(2597),o=n(3887),i=n(1236),s=n(3070);t.exports=function(t,e,n){for(var a=o(e),c=s.f,u=i.f,f=0;fn)throw e("Maximum allowed index exceeded");return t}},8113:function(t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(t,e,n){var r,o,i=n(7854),s=n(8113),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,f=u&&u.v8;f&&(r=f.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),t.exports=o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),o=n(1236).f,i=n(8880),s=n(8052),a=n(3072),c=n(9920),u=n(4705);t.exports=function(t,e){var n,f,p,l,d,h,g=t.target,m=t.global,y=t.stat;if(f=m?r:y?r[g]||a(g,{}):(r[g]||{}).prototype,f)for(p in e){if(d=e[p],t.dontCallGetSet?(h=o(f,p),l=h&&h.value):l=f[p],n=u(m?p:g+(y?".":"#")+p,t.forced),!n&&void 0!==l){if(typeof d==typeof l)continue;c(d,l)}(t.sham||l&&l.sham)&&i(d,"sham",!0),s(f,p,d,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},4374:function(t,e,n){var r=n(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,n){var r=n(4374),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:function(t,e,n){var r=n(9781),o=n(2597),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&s(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},1702:function(t,e,n){var r=n(4374),o=Function.prototype,i=o.call,s=r&&o.bind.bind(i,i);t.exports=r?s:function(t){return function(){return i.apply(t,arguments)}}},5005:function(t,e,n){var r=n(7854),o=n(614),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},8173:function(t,e,n){var r=n(9662),o=n(8554);t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},2597:function(t,e,n){var r=n(1702),o=n(7908),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3501:function(t){t.exports={}},4664:function(t,e,n){var r=n(9781),o=n(7293),i=n(317);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){var r=n(1702),o=n(7293),i=n(4326),s=Object,a=r("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?a(t,""):s(t)}:s},2788:function(t,e,n){var r=n(1702),o=n(614),i=n(5465),s=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},9909:function(t,e,n){var r,o,i,s=n(4811),a=n(7854),c=n(111),u=n(8880),f=n(2597),p=n(5465),l=n(6200),d=n(3501),h="Object already initialized",g=a.TypeError,m=a.WeakMap,y=function(t){return i(t)?o(t):r(t,{})},v=function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return n}};if(s||p.state){var _=p.state||(p.state=new m);_.get=_.get,_.has=_.has,_.set=_.set,r=function(t,e){if(_.has(t))throw g(h);return e.facade=t,_.set(t,e),e},o=function(t){return _.get(t)||{}},i=function(t){return _.has(t)}}else{var b=l("state");d[b]=!0,r=function(t,e){if(f(t,b))throw g(h);return e.facade=t,u(t,b,e),e},o=function(t){return f(t,b)?t[b]:{}},i=function(t){return f(t,b)}}t.exports={set:r,get:o,has:i,enforce:y,getterFor:v}},3157:function(t,e,n){var r=n(4326);t.exports=Array.isArray||function(t){return"Array"==r(t)}},614:function(t,e,n){var r=n(4154),o=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},4705:function(t,e,n){var r=n(7293),o=n(614),i=/#|\.prototype\./,s=function(t,e){var n=c[a(t)];return n==f||n!=u&&(o(e)?r(e):!!e)},a=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",f=s.POLYFILL="P";t.exports=s},8554:function(t){t.exports=function(t){return null===t||void 0===t}},111:function(t,e,n){var r=n(614),o=n(4154),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===i}:function(t){return"object"==typeof t?null!==t:r(t)}},1913:function(t){t.exports=!1},2190:function(t,e,n){var r=n(5005),o=n(614),i=n(7976),s=n(3307),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,a(t))}},6244:function(t,e,n){var r=n(7466);t.exports=function(t){return r(t.length)}},6339:function(t,e,n){var r=n(1702),o=n(7293),i=n(614),s=n(2597),a=n(9781),c=n(6530).CONFIGURABLE,u=n(2788),f=n(9909),p=f.enforce,l=f.get,d=String,h=Object.defineProperty,g=r("".slice),m=r("".replace),y=r([].join),v=a&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),_=String(String).split("String"),b=t.exports=function(t,e,n){"Symbol("===g(d(e),0,7)&&(e="["+m(d(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!s(t,"name")||c&&t.name!==e)&&(a?h(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&s(n,"arity")&&t.length!==n.arity&&h(t,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?a&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=p(t);return s(r,"source")||(r.source=y(_,"string"==typeof e?e:"")),t};Function.prototype.toString=b((function(){return i(this)&&l(this).source||u(this)}),"toString")},4758:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},3070:function(t,e,n){var r=n(9781),o=n(4664),i=n(3353),s=n(9670),a=n(4948),c=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",d="writable";e.f=r?i?function(t,e,n){if(s(t),e=a(e),s(n),"function"===typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]){var r=f(t,e);r&&r[d]&&(t[e]=n.value,n={configurable:l in n?n[l]:r[l],enumerable:p in n?n[p]:r[p],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(s(t),e=a(e),s(n),o)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){var r=n(9781),o=n(6916),i=n(5296),s=n(9114),a=n(5656),c=n(4948),u=n(2597),f=n(4664),p=Object.getOwnPropertyDescriptor;e.f=r?p:function(t,e){if(t=a(t),e=c(e),f)try{return p(t,e)}catch(n){}if(u(t,e))return s(!o(i.f,t,e),t[e])}},8006:function(t,e,n){var r=n(6324),o=n(748),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,n){var r=n(1702);t.exports=r({}.isPrototypeOf)},6324:function(t,e,n){var r=n(1702),o=n(2597),i=n(5656),s=n(1318).indexOf,a=n(3501),c=r([].push);t.exports=function(t,e){var n,r=i(t),u=0,f=[];for(n in r)!o(a,n)&&o(r,n)&&c(f,n);while(e.length>u)o(r,n=e[u++])&&(~s(f,n)||c(f,n));return f}},5296:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},2140:function(t,e,n){var r=n(6916),o=n(614),i=n(111),s=TypeError;t.exports=function(t,e){var n,a;if("string"===e&&o(n=t.toString)&&!i(a=r(n,t)))return a;if(o(n=t.valueOf)&&!i(a=r(n,t)))return a;if("string"!==e&&o(n=t.toString)&&!i(a=r(n,t)))return a;throw s("Can't convert object to primitive value")}},3887:function(t,e,n){var r=n(5005),o=n(1702),i=n(8006),s=n(5181),a=n(9670),c=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=s.f;return n?c(e,n(t)):e}},4488:function(t,e,n){var r=n(8554),o=TypeError;t.exports=function(t){if(r(t))throw o("Can't call method on "+t);return t}},6200:function(t,e,n){var r=n(2309),o=n(9711),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,e,n){var r=n(7854),o=n(3072),i="__core-js_shared__",s=r[i]||o(i,{});t.exports=s},2309:function(t,e,n){var r=n(1913),o=n(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.2",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,n){var r=n(7392),o=n(7293),i=n(7854),s=i.String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!s(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1400:function(t,e,n){var r=n(9303),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},5656:function(t,e,n){var r=n(8361),o=n(4488);t.exports=function(t){return r(o(t))}},9303:function(t,e,n){var r=n(4758);t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},7466:function(t,e,n){var r=n(9303),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},7908:function(t,e,n){var r=n(4488),o=Object;t.exports=function(t){return o(r(t))}},7593:function(t,e,n){var r=n(6916),o=n(111),i=n(2190),s=n(8173),a=n(2140),c=n(5112),u=TypeError,f=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var n,c=s(t,f);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!o(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},4948:function(t,e,n){var r=n(7593),o=n(2190);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(n){return"Object"}}},9711:function(t,e,n){var r=n(1702),o=0,i=Math.random(),s=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},3307:function(t,e,n){var r=n(6293);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,n){var r=n(9781),o=n(7293);t.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(t,e,n){var r=n(7854),o=n(614),i=r.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},5112:function(t,e,n){var r=n(7854),o=n(2309),i=n(2597),s=n(9711),a=n(6293),c=n(3307),u=r.Symbol,f=o("wks"),p=c?u["for"]||u:u&&u.withoutSetter||s;t.exports=function(t){return i(f,t)||(f[t]=a&&i(u,t)?u[t]:p("Symbol."+t)),f[t]}},7658:function(t,e,n){"use strict";var r=n(2109),o=n(7908),i=n(6244),s=n(3658),a=n(7207),c=n(7293),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),f=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},p=u||!f();r({target:"Array",proto:!0,arity:1,forced:p},{push:function(t){var e=o(this),n=i(e),r=arguments.length;a(n+r);for(var c=0;c{const n=s(t,e.s_tag);n&&e.childNodes.length?r(n,e.firstChild):(t.append(e),t.normalize())};r(t,n)}}var u={props:{content:{type:Array,required:!0},display:{type:String,default:"grid"},editable:{type:Boolean,default:!0},overlay:Function,page_format_mm:{type:Array,default:()=>[210,297]},page_margins:{type:[String,Function],default:"10mm 15mm"},zoom:{type:Number,default:1},do_not_break:Function},data(){return{pages:[],pages_height:0,editor_width:0,prevent_next_content_update_from_parent:!1,current_text_style:!1}},mounted(){this.update_editor_width(),this.update_css_media_style(),this.reset_content(),window.addEventListener("resize",this.update_editor_width),window.addEventListener("click",this.process_current_text_style),window.addEventListener("beforeprint",this.before_print),window.addEventListener("afterprint",this.after_print)},beforeDestroy(){window.removeEventListener("resize",this.update_editor_width),window.removeEventListener("click",this.process_current_text_style),window.removeEventListener("beforeprint",this.before_print),window.removeEventListener("afterprint",this.after_print)},computed:{css_media_style(){const t=document.createElement("style");return document.head.appendChild(t),t}},methods:{new_uuid:()=>Math.random().toString(36).slice(-5),async reset_content(){if(!this.content.length)return void this.$emit("update:content",[""]);this.pages=this.content.length?this.content.map(((t,e)=>({uuid:this.new_uuid(),content_idx:e,template:t.template,props:t.props}))):[{uuid:this.new_uuid(),content_idx:0}],await this.$nextTick();const t=this.$refs[this.pages[0].uuid][0];this.$refs.content.contains(t)||this.$refs.content.appendChild(t),this.pages_height=t.clientHeight+1;for(const e of this.pages){const t=this.$refs[e.uuid][0];this.content[e.content_idx]?"string"==typeof this.content[e.content_idx]&&(t.innerHTML="
"+this.content[e.content_idx]+"
"):t.innerHTML="

",this.$refs.content.contains(t)||this.$refs.content.appendChild(t)}await this.fit_content_over_pages(),this.$refs.content.blur()},async fit_content_over_pages(){if(!this.pages_height)return;for(let o=this.pages.length-1;o>=0;o--){const t=this.pages[o],e=this.$refs[t.uuid]&&this.$refs[t.uuid][0];e&&document.body.contains(e)||this.pages.splice(o,1)}if(!this.pages.length)return void this.$emit("update:content",[""]);const t=window.getSelection(),e=document.createElement("null"),n=document.createElement("null");if(t.rangeCount){const r=t.getRangeAt(0);r.insertNode(e),r.collapse(!1),r.insertNode(n)}let r=!1;for(let o=0;o!i.childNodes.length||e.clientHeight>this.pages_height)),i.childNodes.length||this.pages.splice(o+1,1)),e.clientHeight>this.pages_height&&(n&&n.content_idx==t.content_idx||(n={uuid:this.new_uuid(),content_idx:t.content_idx},this.pages.splice(o+1,0,n),await this.$nextTick(),i=this.$refs[n.uuid][0]),a(e,i,(()=>e.clientHeight<=this.pages_height),this.do_not_break)))}if(document.body.contains(e)){const r=document.createRange();r.setStart(e,0),document.body.contains(n)&&r.setEnd(n,0),t.removeAllRanges(),t.addRange(r)}e.parentElement&&e.parentElement.removeChild(e),n.parentElement&&n.parentElement.removeChild(n);for(const o of this.pages){const t=this.$refs[o.uuid][0];t.normalize(),o.prev_innerHTML=t.innerHTML}},async input(t){t&&(await this.fit_content_over_pages(),this.emit_new_content(),"insertText"!=t.inputType&&this.process_current_text_style())},keydown(t){if(8==t.keyCode&&this.content.length<=1&&"string"==typeof this.content[0]){const e=this.content[0].replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?>|<\/\w+>/gi,"");e||t.preventDefault()}},emit_new_content(){let t=!1;const e=this.content.map(((e,n)=>{const r=this.pages.filter((t=>t.content_idx==n));return r.length?"string"==typeof e?r.map((t=>{let e=this.$refs[t.uuid][0];while(1==e.children.length&&e.firstChild.tagName&&"div"==e.firstChild.tagName.toLowerCase()&&!e.firstChild.getAttribute("style"))e=e.firstChild;return e.innerHTML})).join("")||!1:{template:e.template,props:{...e.props}}:(t=!0,!1)})).filter((t=>0!=t));t||(this.prevent_next_content_update_from_parent=!0),this.$emit("update:content",e)},process_current_text_style(){let t=!1;const e=window.getSelection();if(e.focusNode){const n=e.focusNode.tagName?e.focusNode:e.focusNode.parentElement;if(n&&n.isContentEditable){t=window.getComputedStyle(n),t.textDecorationStack=[],t.headerLevel=0,t.isList=!1;let e=n;while(e){const n=window.getComputedStyle(e);if(t.textDecorationStack.push(n.textDecoration),"list-item"==n.display&&(t.isList=!0),!t.headerLevel)for(let r=1;r<=6;r++)if(e.tagName.toUpperCase()=="H"+r){t.headerLevel=r;break}e=e.parentElement}}}this.current_text_style=t},page_style(t,e){const n=.2645833333333,r=this.page_format_mm[0]/n,o=10,i=(o+this.page_format_mm[0])*this.zoom/n,s=20,a=this.editor_width-2*s;let c,u,f,p,l,d,h,g=1;if("horizontal"==this.display)a>this.pages.length*i?(g=Math.floor(a/i),p=a/(2*g)*(1+2*t)-r/2):(g=this.pages.length,p=i*t+r/2*(this.zoom-1)),l=0,d=this.zoom*(this.page_format_mm[0]*g+(g-1)*o),h=this.page_format_mm[1]*this.zoom;else{g=Math.floor(a/i),(g<1||"vertical"==this.display)&&(g=1),c=t%g,u=a/(2*g)*(1+2*c)-r/2,f=Math.max(0,(r*this.zoom-a)/2),p=u+f,l=(this.page_format_mm[1]+o)*this.zoom*Math.floor(t/g);const e=Math.ceil(this.pages.length/g);d=this.zoom*(this.page_format_mm[0]*g+(g-1)*o),h=this.zoom*(this.page_format_mm[1]*e+(e-1)*o)}if(t>=0){const n={position:"absolute",left:"calc("+p+"px + "+s+"px)",top:"calc("+l+"mm + "+s+"px)",width:this.page_format_mm[0]+"mm",padding:"function"==typeof this.page_margins?this.page_margins(t+1,this.pages.length):this.page_margins,transform:"scale("+this.zoom+")"};return n[e?"minHeight":"height"]=this.page_format_mm[1]+"mm",n}return{width:"calc("+d+"mm + "+2*s+"px)",height:"calc("+h+"mm + "+2*s+"px)"}},update_editor_width(){this.$refs.editor.classList.add("hide_children"),this.editor_width=this.$refs.editor.clientWidth,this.$refs.editor.classList.remove("hide_children")},update_css_media_style(){this.css_media_style.innerHTML="@media print { @page { size: "+this.page_format_mm[0]+"mm "+this.page_format_mm[1]+"mm; margin: 0 !important; } .hidden-print { display: none !important; } }"},before_print(){this._page_body=document.body;const t=document.createElement("body");t.style.margin="0",t.style.padding="0",t.style.background="white",t.style.font=window.getComputedStyle(this.$refs.editor).font,t.className=this.$refs.editor.className;for(const[n,r]of this.pages.entries()){const e=this.$refs[r.uuid][0],o=e.cloneNode(!0);o.style="",o.style.position="relative",o.style.padding="function"==typeof this.page_margins?this.page_margins(n+1,this.pages.length):this.page_margins,o.style.breakBefore=n?"page":"auto",o.style.overflow="hidden";const i=this.$refs[r.uuid+"-overlay"];if(i&&i[0]){const t=i[0].cloneNode(!0);t.style.position="absolute",t.style.left="0",t.style.top="0",t.style.transform="none",t.style.padding="0",t.style.overflow="hidden",o.prepend(t)}t.append(o)}const e=document.createElement("div");e.className="hidden-print",e.style.position="fixed",e.style.left="0",e.style.top="0",e.style.right="0",e.style.bottom="0",e.style.display="flex",e.style.alignItems="center",e.style.justifyContent="center",e.style.background="rgba(255, 255, 255, 0.95)",e.style.cursor="pointer",e.innerHTML='',e.addEventListener("click",this.after_print),t.append(e),document.body=t},after_print(){document.body=this._page_body,this.update_editor_width()}},watch:{page_format_mm:{async handler(){this.update_css_media_style(),await this.reset_content()}},page_margins:{async handler(){await this.reset_content()}},content:{async handler(){this.prevent_next_content_update_from_parent?this.prevent_next_content_update_from_parent=!1:await this.reset_content()}}}},f=u;function p(t,e,n,r,o,i,s,a){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):o&&(c=a?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var f=u.render;u.render=function(t,e){return c.call(e),f(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,c):[c]}return{exports:t,options:u}}var l=p(f,o,i,!1,null,"3822a990",null),d=l.exports,h=d}(),r=r["default"],r}()})); +(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["VueDocumentEditor"]=e():t["VueDocumentEditor"]=e()})("undefined"!==typeof self?self:this,(function(){return function(){var t={9662:function(t,e,n){var r=n(614),o=n(6330),i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not a function")}},9670:function(t,e,n){var r=n(111),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not an object")}},1318:function(t,e,n){var r=n(5656),o=n(1400),i=n(6244),s=function(t){return function(e,n,s){var a,c=r(e),u=i(c),f=o(s,u);if(t&&n!=n){while(u>f)if(a=c[f++],a!=a)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},3658:function(t,e,n){"use strict";var r=n(9781),o=n(3157),i=TypeError,s=Object.getOwnPropertyDescriptor,a=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(o(t)&&!s(t,"length").writable)throw i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4326:function(t,e,n){var r=n(1702),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},9920:function(t,e,n){var r=n(2597),o=n(3887),i=n(1236),s=n(3070);t.exports=function(t,e,n){for(var a=o(e),c=s.f,u=i.f,f=0;fn)throw e("Maximum allowed index exceeded");return t}},8113:function(t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(t,e,n){var r,o,i=n(7854),s=n(8113),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,f=u&&u.v8;f&&(r=f.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),t.exports=o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),o=n(1236).f,i=n(8880),s=n(8052),a=n(3072),c=n(9920),u=n(4705);t.exports=function(t,e){var n,f,p,l,d,h,m=t.target,g=t.global,y=t.stat;if(f=g?r:y?r[m]||a(m,{}):(r[m]||{}).prototype,f)for(p in e){if(d=e[p],t.dontCallGetSet?(h=o(f,p),l=h&&h.value):l=f[p],n=u(g?p:m+(y?".":"#")+p,t.forced),!n&&void 0!==l){if(typeof d==typeof l)continue;c(d,l)}(t.sham||l&&l.sham)&&i(d,"sham",!0),s(f,p,d,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},4374:function(t,e,n){var r=n(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,n){var r=n(4374),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:function(t,e,n){var r=n(9781),o=n(2597),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&s(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},1702:function(t,e,n){var r=n(4374),o=Function.prototype,i=o.call,s=r&&o.bind.bind(i,i);t.exports=r?s:function(t){return function(){return i.apply(t,arguments)}}},5005:function(t,e,n){var r=n(7854),o=n(614),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},8173:function(t,e,n){var r=n(9662),o=n(8554);t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},2597:function(t,e,n){var r=n(1702),o=n(7908),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3501:function(t){t.exports={}},4664:function(t,e,n){var r=n(9781),o=n(7293),i=n(317);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){var r=n(1702),o=n(7293),i=n(4326),s=Object,a=r("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?a(t,""):s(t)}:s},2788:function(t,e,n){var r=n(1702),o=n(614),i=n(5465),s=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},9909:function(t,e,n){var r,o,i,s=n(4811),a=n(7854),c=n(111),u=n(8880),f=n(2597),p=n(5465),l=n(6200),d=n(3501),h="Object already initialized",m=a.TypeError,g=a.WeakMap,y=function(t){return i(t)?o(t):r(t,{})},v=function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return n}};if(s||p.state){var _=p.state||(p.state=new g);_.get=_.get,_.has=_.has,_.set=_.set,r=function(t,e){if(_.has(t))throw m(h);return e.facade=t,_.set(t,e),e},o=function(t){return _.get(t)||{}},i=function(t){return _.has(t)}}else{var b=l("state");d[b]=!0,r=function(t,e){if(f(t,b))throw m(h);return e.facade=t,u(t,b,e),e},o=function(t){return f(t,b)?t[b]:{}},i=function(t){return f(t,b)}}t.exports={set:r,get:o,has:i,enforce:y,getterFor:v}},3157:function(t,e,n){var r=n(4326);t.exports=Array.isArray||function(t){return"Array"==r(t)}},614:function(t,e,n){var r=n(4154),o=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},4705:function(t,e,n){var r=n(7293),o=n(614),i=/#|\.prototype\./,s=function(t,e){var n=c[a(t)];return n==f||n!=u&&(o(e)?r(e):!!e)},a=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",f=s.POLYFILL="P";t.exports=s},8554:function(t){t.exports=function(t){return null===t||void 0===t}},111:function(t,e,n){var r=n(614),o=n(4154),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===i}:function(t){return"object"==typeof t?null!==t:r(t)}},1913:function(t){t.exports=!1},2190:function(t,e,n){var r=n(5005),o=n(614),i=n(7976),s=n(3307),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,a(t))}},6244:function(t,e,n){var r=n(7466);t.exports=function(t){return r(t.length)}},6339:function(t,e,n){var r=n(1702),o=n(7293),i=n(614),s=n(2597),a=n(9781),c=n(6530).CONFIGURABLE,u=n(2788),f=n(9909),p=f.enforce,l=f.get,d=String,h=Object.defineProperty,m=r("".slice),g=r("".replace),y=r([].join),v=a&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),_=String(String).split("String"),b=t.exports=function(t,e,n){"Symbol("===m(d(e),0,7)&&(e="["+g(d(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!s(t,"name")||c&&t.name!==e)&&(a?h(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&s(n,"arity")&&t.length!==n.arity&&h(t,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?a&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=p(t);return s(r,"source")||(r.source=y(_,"string"==typeof e?e:"")),t};Function.prototype.toString=b((function(){return i(this)&&l(this).source||u(this)}),"toString")},4758:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},3070:function(t,e,n){var r=n(9781),o=n(4664),i=n(3353),s=n(9670),a=n(4948),c=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",d="writable";e.f=r?i?function(t,e,n){if(s(t),e=a(e),s(n),"function"===typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]){var r=f(t,e);r&&r[d]&&(t[e]=n.value,n={configurable:l in n?n[l]:r[l],enumerable:p in n?n[p]:r[p],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(s(t),e=a(e),s(n),o)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){var r=n(9781),o=n(6916),i=n(5296),s=n(9114),a=n(5656),c=n(4948),u=n(2597),f=n(4664),p=Object.getOwnPropertyDescriptor;e.f=r?p:function(t,e){if(t=a(t),e=c(e),f)try{return p(t,e)}catch(n){}if(u(t,e))return s(!o(i.f,t,e),t[e])}},8006:function(t,e,n){var r=n(6324),o=n(748),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,n){var r=n(1702);t.exports=r({}.isPrototypeOf)},6324:function(t,e,n){var r=n(1702),o=n(2597),i=n(5656),s=n(1318).indexOf,a=n(3501),c=r([].push);t.exports=function(t,e){var n,r=i(t),u=0,f=[];for(n in r)!o(a,n)&&o(r,n)&&c(f,n);while(e.length>u)o(r,n=e[u++])&&(~s(f,n)||c(f,n));return f}},5296:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},2140:function(t,e,n){var r=n(6916),o=n(614),i=n(111),s=TypeError;t.exports=function(t,e){var n,a;if("string"===e&&o(n=t.toString)&&!i(a=r(n,t)))return a;if(o(n=t.valueOf)&&!i(a=r(n,t)))return a;if("string"!==e&&o(n=t.toString)&&!i(a=r(n,t)))return a;throw s("Can't convert object to primitive value")}},3887:function(t,e,n){var r=n(5005),o=n(1702),i=n(8006),s=n(5181),a=n(9670),c=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=s.f;return n?c(e,n(t)):e}},4488:function(t,e,n){var r=n(8554),o=TypeError;t.exports=function(t){if(r(t))throw o("Can't call method on "+t);return t}},6200:function(t,e,n){var r=n(2309),o=n(9711),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,e,n){var r=n(7854),o=n(3072),i="__core-js_shared__",s=r[i]||o(i,{});t.exports=s},2309:function(t,e,n){var r=n(1913),o=n(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.2",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,n){var r=n(7392),o=n(7293),i=n(7854),s=i.String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!s(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1400:function(t,e,n){var r=n(9303),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},5656:function(t,e,n){var r=n(8361),o=n(4488);t.exports=function(t){return r(o(t))}},9303:function(t,e,n){var r=n(4758);t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},7466:function(t,e,n){var r=n(9303),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},7908:function(t,e,n){var r=n(4488),o=Object;t.exports=function(t){return o(r(t))}},7593:function(t,e,n){var r=n(6916),o=n(111),i=n(2190),s=n(8173),a=n(2140),c=n(5112),u=TypeError,f=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var n,c=s(t,f);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!o(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},4948:function(t,e,n){var r=n(7593),o=n(2190);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(n){return"Object"}}},9711:function(t,e,n){var r=n(1702),o=0,i=Math.random(),s=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},3307:function(t,e,n){var r=n(6293);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,n){var r=n(9781),o=n(7293);t.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(t,e,n){var r=n(7854),o=n(614),i=r.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},5112:function(t,e,n){var r=n(7854),o=n(2309),i=n(2597),s=n(9711),a=n(6293),c=n(3307),u=r.Symbol,f=o("wks"),p=c?u["for"]||u:u&&u.withoutSetter||s;t.exports=function(t){return i(f,t)||(f[t]=a&&i(u,t)?u[t]:p("Symbol."+t)),f[t]}},7658:function(t,e,n){"use strict";var r=n(2109),o=n(7908),i=n(6244),s=n(3658),a=n(7207),c=n(7293),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),f=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},p=u||!f();r({target:"Array",proto:!0,arity:1,forced:p},{push:function(t){var e=o(this),n=i(e),r=arguments.length;a(n+r);for(var c=0;c{const n=s(t,e.s_tag);n&&e.childNodes.length?r(n,e.firstChild):(t.append(e),t.normalize())};r(t,n)}}var u={props:{content:{type:Array,required:!0},display:{type:String,default:"grid"},editable:{type:Boolean,default:!0},overlay:Function,page_format_mm:{type:Array,default:()=>[210,297]},page_margins:{type:[String,Function],default:"10mm 15mm"},zoom:{type:Number,default:1},do_not_break:Function},data(){return{pages:[],pages_height:0,editor_width:0,prevent_next_content_update_from_parent:!1,current_text_style:!1}},mounted(){this.update_editor_width(),this.update_css_media_style(),this.reset_content(),window.addEventListener("resize",this.update_editor_width),window.addEventListener("click",this.process_current_text_style),window.addEventListener("beforeprint",this.before_print),window.addEventListener("afterprint",this.after_print)},beforeDestroy(){window.removeEventListener("resize",this.update_editor_width),window.removeEventListener("click",this.process_current_text_style),window.removeEventListener("beforeprint",this.before_print),window.removeEventListener("afterprint",this.after_print)},computed:{css_media_style(){const t=document.createElement("style");return document.head.appendChild(t),t}},methods:{new_uuid:()=>Math.random().toString(36).slice(-5),async reset_content(){if(!this.content.length)return void this.$emit("update:content",[""]);this.pages=this.content.length?this.content.map(((t,e)=>({uuid:this.new_uuid(),content_idx:e,template:t.template,props:t.props}))):[{uuid:this.new_uuid(),content_idx:0}],await this.$nextTick();const t=this.$refs[this.pages[0].uuid][0];this.$refs.content.contains(t)||this.$refs.content.appendChild(t),this.pages_height=t.clientHeight+1;for(const e of this.pages){const t=this.$refs[e.uuid][0];this.content[e.content_idx]?"string"==typeof this.content[e.content_idx]&&(t.innerHTML="
"+this.content[e.content_idx]+"
"):t.innerHTML="

",this.$refs.content.contains(t)||this.$refs.content.appendChild(t)}await this.fit_content_over_pages(),this.$refs.content.blur()},async fit_content_over_pages(){if(!this.pages_height)return;for(let o=this.pages.length-1;o>=0;o--){const t=this.pages[o],e=this.$refs[t.uuid]&&this.$refs[t.uuid][0];e&&document.body.contains(e)||this.pages.splice(o,1)}if(!this.pages.length)return void this.$emit("update:content",[""]);const t=window.getSelection(),e=document.createElement("null"),n=document.createElement("null");if(t.rangeCount){const r=t.getRangeAt(0);r.insertNode(e),r.collapse(!1),r.insertNode(n)}let r=!1;for(let o=0;o!i.childNodes.length||e.clientHeight>this.pages_height)),i.childNodes.length||this.pages.splice(o+1,1)),e.clientHeight>this.pages_height&&(n&&n.content_idx==t.content_idx||(n={uuid:this.new_uuid(),content_idx:t.content_idx},this.pages.splice(o+1,0,n),await this.$nextTick(),i=this.$refs[n.uuid][0]),a(e,i,(()=>e.clientHeight<=this.pages_height),this.do_not_break)))}if(document.body.contains(e)){const r=document.createRange();r.setStart(e,0),document.body.contains(n)&&r.setEnd(n,0),t.removeAllRanges(),t.addRange(r)}e.parentElement&&e.parentElement.removeChild(e),n.parentElement&&n.parentElement.removeChild(n);for(const o of this.pages){const t=this.$refs[o.uuid][0];t.normalize(),o.prev_innerHTML=t.innerHTML}},async input(t){t&&(await this.fit_content_over_pages(),this.emit_new_content(),"insertText"!=t.inputType&&this.process_current_text_style())},keydown(t){if(8==t.keyCode&&this.content.length<=1&&"string"==typeof this.content[0]){const e=this.content[0].replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?>|<\/\w+>/gi,"");e||t.preventDefault()}},emit_new_content(){let t=!1;const e=this.content.map(((e,n)=>{const r=this.pages.filter((t=>t.content_idx==n));return r.length?"string"==typeof e?r.map((t=>{let e=this.$refs[t.uuid][0];while(1==e.children.length&&e.firstChild.tagName&&"div"==e.firstChild.tagName.toLowerCase()&&!e.firstChild.getAttribute("style"))e=e.firstChild;return e.innerHTML})).join("")||!1:{template:e.template,props:{...e.props}}:(t=!0,!1)})).filter((t=>0!=t));t||(this.prevent_next_content_update_from_parent=!0),this.$emit("update:content",e)},process_current_text_style(){let t=!1;const e=window.getSelection();if(e.focusNode){const n=e.focusNode.tagName?e.focusNode:e.focusNode.parentElement;if(n&&n.isContentEditable){t=window.getComputedStyle(n),t.textDecorationStack=[],t.headerLevel=0,t.isList=!1;let e=n;while(e){const n=window.getComputedStyle(e);if(t.textDecorationStack.push(n.textDecoration),"list-item"==n.display&&(t.isList=!0),!t.headerLevel)for(let r=1;r<=6;r++)if(e.tagName.toUpperCase()=="H"+r){t.headerLevel=r;break}e=e.parentElement}}}this.current_text_style=t},page_style(t,e){const n=.2645833333333,r=this.page_format_mm[0]/n,o=10,i=(o+this.page_format_mm[0])*this.zoom/n,s=20,a=this.editor_width-2*s;let c,u,f,p,l,d,h,m=1;if("horizontal"==this.display)a>this.pages.length*i?(m=Math.floor(a/i),p=a/(2*m)*(1+2*t)-r/2):(m=this.pages.length,p=i*t+r/2*(this.zoom-1)),l=0,d=this.zoom*(this.page_format_mm[0]*m+(m-1)*o),h=this.page_format_mm[1]*this.zoom;else{m=Math.floor(a/i),(m<1||"vertical"==this.display)&&(m=1),c=t%m,u=a/(2*m)*(1+2*c)-r/2,f=Math.max(0,(r*this.zoom-a)/2),p=u+f,l=(this.page_format_mm[1]+o)*this.zoom*Math.floor(t/m);const e=Math.ceil(this.pages.length/m);d=this.zoom*(this.page_format_mm[0]*m+(m-1)*o),h=this.zoom*(this.page_format_mm[1]*e+(e-1)*o)}if(t>=0){const n={position:"absolute",left:"calc("+p+"px + "+s+"px)",top:"calc("+l+"mm + "+s+"px)",width:this.page_format_mm[0]+"mm",padding:"function"==typeof this.page_margins?this.page_margins(t+1,this.pages.length):this.page_margins,transform:"scale("+this.zoom+")"};return n[e?"minHeight":"height"]=this.page_format_mm[1]+"mm",n}return{width:"calc("+d+"mm + "+2*s+"px)",height:"calc("+h+"mm + "+2*s+"px)"}},update_editor_width(){this.$refs.editor.classList.add("hide_children"),this.editor_width=this.$refs.editor.clientWidth,this.$refs.editor.classList.remove("hide_children")},update_css_media_style(){this.css_media_style.innerHTML="@media print { @page { size: "+this.page_format_mm[0]+"mm "+this.page_format_mm[1]+"mm; margin: 0 !important; } .hidden-print { display: none !important; } }"},before_print(){this._page_body=document.body;const t=document.createElement("body");t.style.margin="0",t.style.padding="0",t.style.background="white",t.style.font=window.getComputedStyle(this.$refs.editor).font,t.className=this.$refs.editor.className;for(const[n,r]of this.pages.entries()){const e=this.$refs[r.uuid][0],o=e.cloneNode(!0);o.style="",o.style.position="relative",o.style.padding="function"==typeof this.page_margins?this.page_margins(n+1,this.pages.length):this.page_margins,o.style.breakBefore=n?"page":"auto",o.style.width="calc("+this.page_format_mm[0]+"mm - 2px)",o.style.height="calc("+this.page_format_mm[1]+"mm - 2px)",o.style.boxSizing="border-box",o.style.overflow="hidden";const i=this.$refs[r.uuid+"-overlay"];if(i&&i[0]){const t=i[0].cloneNode(!0);t.style.position="absolute",t.style.left="0",t.style.top="0",t.style.transform="none",t.style.padding="0",t.style.overflow="hidden",o.prepend(t)}t.append(o)}const e=document.createElement("div");e.className="hidden-print",e.style.position="fixed",e.style.left="0",e.style.top="0",e.style.right="0",e.style.bottom="0",e.style.display="flex",e.style.alignItems="center",e.style.justifyContent="center",e.style.background="rgba(255, 255, 255, 0.95)",e.style.cursor="pointer",e.innerHTML='',e.addEventListener("click",this.after_print),t.append(e),document.body=t},after_print(){document.body=this._page_body,this.update_editor_width()}},watch:{page_format_mm:{async handler(){this.update_css_media_style(),await this.reset_content()}},page_margins:{async handler(){await this.reset_content()}},content:{async handler(){this.prevent_next_content_update_from_parent?this.prevent_next_content_update_from_parent=!1:await this.reset_content()}}}},f=u;function p(t,e,n,r,o,i,s,a){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):o&&(c=a?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var f=u.render;u.render=function(t,e){return c.call(e),f(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,c):[c]}return{exports:t,options:u}}var l=p(f,o,i,!1,null,"214528ab",null),d=l.exports,h=d}(),r=r["default"],r}()})); //# sourceMappingURL=VueDocumentEditor.umd.min.js.map \ No newline at end of file diff --git a/dist/VueDocumentEditor.umd.min.js.map b/dist/VueDocumentEditor.umd.min.js.map index e3e93ee..8793861 100644 --- a/dist/VueDocumentEditor.umd.min.js.map +++ b/dist/VueDocumentEditor.umd.min.js.map @@ -1 +1 @@ -{"version":3,"file":"VueDocumentEditor.umd.min.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA0C,kBAAXC,OACxCA,OAAOD,QAAUD,IACQ,oBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,kBAAZC,QACdA,QAAQ,qBAAuBD,IAE/BD,EAAK,qBAAuBC,GAC7B,EATD,CASoB,qBAATK,KAAuBA,KAAOC,MAAO,WA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VueDocumentEditor/./node_modules/core-js/internals/a-callable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/an-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/array-includes.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/array-set-length.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/classof-raw.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/create-property-descriptor.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/define-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/define-global-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/descriptors.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/document-all.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/document-create-element.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/engine-user-agent.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/engine-v8-version.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/enum-bug-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/export.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/fails.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-bind-native.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-call.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-name.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-uncurry-this.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/get-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/get-method.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/global.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/has-own-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/hidden-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/ie8-dom-define.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/indexed-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/inspect-source.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/internal-state.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-array.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-callable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-forced.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-pure.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-symbol.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/length-of-array-like.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/make-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/math-trunc.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-define-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-keys-internal.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/own-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/require-object-coercible.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared-key.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared-store.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-absolute-index.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-indexed-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-length.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-primitive.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-property-key.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/try-to-string.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/uid.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/well-known-symbol.js","webpack://VueDocumentEditor/./node_modules/core-js/modules/es.array.push.js","webpack://VueDocumentEditor/webpack/bootstrap","webpack://VueDocumentEditor/webpack/runtime/define property getters","webpack://VueDocumentEditor/webpack/runtime/global","webpack://VueDocumentEditor/webpack/runtime/hasOwnProperty shorthand","webpack://VueDocumentEditor/webpack/runtime/publicPath","webpack://VueDocumentEditor/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue","webpack://VueDocumentEditor/./src/DocumentEditor/imports/page-transition-mgmt.js","webpack://VueDocumentEditor/src/DocumentEditor/DocumentEditor.vue","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?0cd5","webpack://VueDocumentEditor/./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?48b8","webpack://VueDocumentEditor/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueDocumentEditor\"] = factory();\n\telse\n\t\troot[\"VueDocumentEditor\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn ","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 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 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","'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","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 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 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","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 isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\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 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 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 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 $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","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","// 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 global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.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 FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\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 call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\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 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 global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var 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 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; })() || this || Function('return this')();\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","module.exports = {};\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 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","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 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 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 $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 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","// 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 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","module.exports = false;\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 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 uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\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 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","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 internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\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","'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 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 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 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","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","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.30.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\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 // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\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","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","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var 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 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 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 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 $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\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","/* 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 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 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 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 Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\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 fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 and Safari <= 15.4, FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:\"editor\",staticClass:\"editor\"},[(_vm.overlay)?_c('div',{staticClass:\"overlays\"},_vm._l((_vm.pages),function(page,page_idx){return _c('div',{key:page.uuid+'-overlay',ref:page.uuid+'-overlay',refInFor:true,staticClass:\"overlay\",style:(_vm.page_style(page_idx, false)),domProps:{\"innerHTML\":_vm._s(_vm.overlay(page_idx+1, _vm.pages.length))}})}),0):_vm._e(),_c('div',{ref:\"content\",staticClass:\"content\",style:(_vm.page_style(-1)),attrs:{\"contenteditable\":_vm.editable},on:{\"input\":_vm.input,\"keyup\":_vm.process_current_text_style,\"keydown\":_vm.keydown}},_vm._l((_vm.pages),function(page,page_idx){return _c('div',{key:page.uuid,ref:page.uuid,refInFor:true,staticClass:\"page\",style:(_vm.page_style(page_idx, page.template ? false : true)),attrs:{\"data-content-idx\":page.content_idx,\"data-page-idx\":page_idx,\"contenteditable\":(_vm.editable && !page.template) ? true : false}},[(page.template)?_c(page.template,_vm._b({tag:\"component\"},'component',page.props,false,true)):_vm._e()],1)}),0)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n/**\n * Utility function that acts like an Array.filter on childNodes of \"container\"\n * @param {HTMLElement} container \n * @param {string} s_tag \n */\nfunction find_sub_child_sibling_node (container, s_tag){\n if(!container || !s_tag) return false;\n const child_nodes = container.childNodes;\n for(let i = 0; i < child_nodes.length; i++) {\n if(child_nodes[i].s_tag == s_tag) return child_nodes[i];\n }\n return false;\n}\n\n\n/**\n * This function moves every sub-child of argument \"child\" to the start of the \"child_sibling\"\n * argument, beginning from the last child, with word splitting and format preserving.\n * Typically, \"child\" is the current page which content overflows, and \"child_sibling\" is the \n * next page.\n * @param {HTMLElement} child Element to take children from (current page)\n * @param {HTMLElement} child_sibling Element to copy children to (next page)\n * @param {function} stop_condition Check function that returns a boolean if content doesn't overflow anymore\n * @param {function(HTMLElement):boolean?} do_not_break Optional function that receives the current child element and should return true if the child should not be split over two pages but rather be moved directly to the next page\n * @param {boolean?} not_first_child Should be unset. Used internally to let at least one child in the page\n */\nfunction move_children_forward_recursively (child, child_sibling, stop_condition, do_not_break, not_first_child) {\n\n // if the child still has nodes and the current page still overflows\n while(child.childNodes.length && !stop_condition()){\n\n // check if page has only one child tree left\n not_first_child = not_first_child || (child.childNodes.length != 1);\n\n // select the last sub-child\n const sub_child = child.lastChild;\n\n // if it is a text node, move its content to next page word(/space) by word\n if(sub_child.nodeType == Node.TEXT_NODE){\n const sub_child_hashes = sub_child.textContent.match(/(\\s|\\S+)/g);\n const sub_child_continuation = document.createTextNode('');\n child_sibling.prepend(sub_child_continuation);\n const l = sub_child_hashes ? sub_child_hashes.length : 0;\n for(let i = 0; i < l; i++) {\n if(i == l - 1 && !not_first_child) return; // never remove the first word of the page\n sub_child.textContent = sub_child_hashes.slice(0, l - i - 1).join('');\n sub_child_continuation.textContent = sub_child_hashes.slice(l - i - 1, l).join('');\n if(stop_condition()) return;\n }\n }\n\n // we simply move it to the next page if it is either:\n // - a node with no content (e.g. )\n // - a header title (e.g.

)\n // - a table row (e.g. )\n // - any element on whose user-custom `do_not_break` function returns true\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i) || sub_child.tagName.match(/tr/i) || (typeof do_not_break === \"function\" && do_not_break(sub_child))) {\n // just prevent moving the last child of the page\n if(!not_first_child){\n console.log(\"Move-forward: first child reached with no stop condition. Aborting\");\n return;\n }\n child_sibling.prepend(sub_child);\n }\n\n // for every other node that is not text and not the first child, clone it recursively to next page\n else {\n // check if sub child has already been cloned before\n let sub_child_sibling = find_sub_child_sibling_node(child_sibling, sub_child.s_tag);\n \n // if not, create it and watermark the relationship with a random tag\n if(!sub_child_sibling) {\n if(!sub_child.s_tag) {\n const new_random_tag = Math.random().toString(36).slice(2, 8);\n sub_child.s_tag = new_random_tag;\n }\n sub_child_sibling = sub_child.cloneNode(false);\n sub_child_sibling.s_tag = sub_child.s_tag;\n child_sibling.prepend(sub_child_sibling);\n }\n \n // then move/clone its children and sub-children recursively\n move_children_forward_recursively(sub_child, sub_child_sibling, stop_condition, do_not_break, not_first_child);\n sub_child_sibling.normalize(); // merge consecutive text nodes\n }\n\n // if sub_child was a container that was cloned and is now empty, we clean it\n if(child.contains(sub_child)){\n if(sub_child.childNodes.length == 0 || sub_child.innerHTML == \"\") child.removeChild(sub_child);\n else if(!stop_condition()) {\n // the only case when it can be non empty should be when stop_condition is now true\n console.log(\"sub_child:\", sub_child, \"that is in child:\", child);\n throw Error(\"Document editor is trying to remove a non-empty sub-child. This \"\n + \"is a bug and should not happen. Please report a repeatable set of actions that \"\n + \"leaded to this error to https://github.com/motla/vue-document-editor/issues/new\");\n }\n }\n }\n}\n\n\n\n/**\n * This function moves the first element from \"next_page_html_div\" to the end of \"page_html_div\", with\n * merging sibling tags previously watermarked by \"move_children_forward_recursively\", if any.\n * @param {HTMLElement} page_html_div Current page element\n * @param {HTMLElement} next_page_html_div Next page element\n * @param {function} stop_condition Check function that returns a boolean if content overflows\n */\nfunction move_children_backwards_with_merging (page_html_div, next_page_html_div, stop_condition) {\n\n // loop until content is overflowing\n while(!stop_condition()){\n\n // find first child of next page\n const first_child = next_page_html_div.firstChild;\n\n // merge it at the end of the current page\n var merge_recursively = (container, elt) => {\n // check if child had been splitted (= has a sibling on previous page)\n const elt_sibling = find_sub_child_sibling_node(container, elt.s_tag);\n if(elt_sibling && elt.childNodes.length) {\n // then dig for deeper children, in case of\n merge_recursively(elt_sibling, elt.firstChild);\n }\n // else move the child inside the right container at current page\n else {\n container.append(elt);\n container.normalize();\n }\n }\n merge_recursively(page_html_div, first_child);\n }\n}\n\nexport {\n move_children_forward_recursively,\n move_children_backwards_with_merging\n};","\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-124.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-124.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=script&lang=js&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./DocumentEditor.vue?vue&type=template&id=3822a990&scoped=true&\"\nimport script from \"./DocumentEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./DocumentEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DocumentEditor.vue?vue&type=style&index=0&id=3822a990&prod&lang=css&\"\nimport style1 from \"./DocumentEditor.vue?vue&type=style&index=1&id=3822a990&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3822a990\",\n null\n \n)\n\nexport default component.exports","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["root","factory","exports","module","define","amd","self","this","isCallable","tryToString","$TypeError","TypeError","argument","isObject","$String","String","toIndexedObject","toAbsoluteIndex","lengthOfArrayLike","createMethod","IS_INCLUDES","$this","el","fromIndex","value","O","length","index","includes","indexOf","DESCRIPTORS","isArray","getOwnPropertyDescriptor","Object","SILENT_ON_NON_WRITABLE_LENGTH_SET","undefined","defineProperty","writable","error","uncurryThis","toString","stringSlice","slice","it","hasOwn","ownKeys","getOwnPropertyDescriptorModule","definePropertyModule","target","source","exceptions","keys","f","i","key","createPropertyDescriptor","object","bitmap","enumerable","configurable","makeBuiltIn","defineGlobalProperty","options","simple","name","global","unsafe","nonConfigurable","nonWritable","fails","get","documentAll","document","all","IS_HTMLDDA","EXISTS","createElement","MAX_SAFE_INTEGER","navigator","userAgent","match","version","process","Deno","versions","v8","split","createNonEnumerableProperty","defineBuiltIn","copyConstructorProperties","isForced","FORCED","targetProperty","sourceProperty","descriptor","TARGET","GLOBAL","STATIC","stat","prototype","dontCallGetSet","forced","sham","exec","test","bind","hasOwnProperty","NATIVE_BIND","call","Function","apply","arguments","FunctionPrototype","getDescriptor","PROPER","CONFIGURABLE","uncurryThisWithBind","fn","aFunction","namespace","method","aCallable","isNullOrUndefined","V","P","func","check","Math","globalThis","window","g","toObject","a","classof","$Object","propertyIsEnumerable","store","functionToString","inspectSource","set","has","NATIVE_WEAK_MAP","shared","sharedKey","hiddenKeys","OBJECT_ALREADY_INITIALIZED","WeakMap","enforce","getterFor","TYPE","state","type","metadata","facade","STATE","Array","$documentAll","replacement","feature","detection","data","normalize","POLYFILL","NATIVE","string","replace","toLowerCase","getBuiltIn","isPrototypeOf","USE_SYMBOL_AS_UID","$Symbol","toLength","obj","CONFIGURABLE_FUNCTION_NAME","InternalStateModule","enforceInternalState","getInternalState","join","CONFIGURABLE_LENGTH","TEMPLATE","getter","setter","arity","constructor","ceil","floor","trunc","x","n","IE8_DOM_DEFINE","V8_PROTOTYPE_DEFINE_BUG","anObject","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","WRITABLE","Attributes","current","propertyIsEnumerableModule","internalObjectKeys","enumBugKeys","concat","getOwnPropertyNames","getOwnPropertySymbols","push","names","result","$propertyIsEnumerable","NASHORN_BUG","input","pref","val","valueOf","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","uid","SHARED","IS_PURE","mode","copyright","license","V8_VERSION","symbol","Symbol","toIntegerOrInfinity","max","min","integer","IndexedObject","requireObjectCoercible","number","isSymbol","getMethod","ordinaryToPrimitive","wellKnownSymbol","TO_PRIMITIVE","exoticToPrim","toPrimitive","id","postfix","random","NATIVE_SYMBOL","iterator","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","$","setArrayLength","doesNotExceedSafeInteger","INCORRECT_TO_LENGTH","properErrorOnNonWritableLength","proto","item","len","argCount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","d","definition","o","e","prop","p","currentScript","src","render","_vm","_c","_self","ref","staticClass","overlay","_l","pages","page","page_idx","uuid","refInFor","style","page_style","domProps","_s","_e","attrs","editable","on","process_current_text_style","keydown","template","content_idx","_b","tag","props","staticRenderFns","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","move_children_forward_recursively","child","child_sibling","stop_condition","do_not_break","not_first_child","sub_child","lastChild","nodeType","Node","TEXT_NODE","sub_child_hashes","textContent","sub_child_continuation","createTextNode","prepend","l","tagName","console","log","sub_child_sibling","new_random_tag","cloneNode","contains","innerHTML","removeChild","Error","move_children_backwards_with_merging","page_html_div","next_page_html_div","first_child","firstChild","merge_recursively","elt","elt_sibling","append","content","required","display","default","Boolean","page_format_mm","page_margins","zoom","Number","pages_height","editor_width","prevent_next_content_update_from_parent","current_text_style","mounted","update_editor_width","update_css_media_style","reset_content","addEventListener","before_print","after_print","beforeDestroy","removeEventListener","computed","css_media_style","head","appendChild","methods","new_uuid","$emit","map","$nextTick","first_page_elt","$refs","clientHeight","page_elt","fit_content_over_pages","blur","body","splice","selection","getSelection","start_marker","end_marker","rangeCount","range","getRangeAt","insertNode","collapse","prev_page_modified_flag","next_page","next_page_elt","prev_innerHTML","createRange","setStart","setEnd","removeAllRanges","addRange","parentElement","emit_new_content","inputType","keyCode","text","preventDefault","removed_pages_flag","new_content","filter","children","getAttribute","sel","focusNode","element","isContentEditable","getComputedStyle","textDecorationStack","headerLevel","isList","parent","parent_style","textDecoration","toUpperCase","allow_overflow","px_in_mm","page_width","page_spacing_mm","page_with_plus_spacing","view_padding","inner_width","page_column","x_pos","x_ofx","left_px","top_mm","bkg_width_mm","bkg_height_mm","nb_pages_x","nb_pages_y","position","left","top","width","padding","transform","height","editor","classList","add","clientWidth","remove","_page_body","print_body","margin","background","font","className","entries","page_clone","breakBefore","overflow","overlay_elts","overlay_clone","return_overlay","right","bottom","alignItems","justifyContent","cursor","watch","normalizeComponent","scriptExports","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","_compiled","functional","_scopeId","context","$vnode","ssrContext","__VUE_SSR_CONTEXT__","_registeredComponents","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"VueDocumentEditor.umd.min.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA0C,kBAAXC,OACxCA,OAAOD,QAAUD,IACQ,oBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAA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EAAW,GAAGhS,OAAOgS,EAAUhB,GAAQ,CAACA,EACjE,CAGF,MAAO,CACLxd,QAASkd,EACTtZ,QAASA,EAEb,CCtFA,IAAI8a,EAAY,EACd,EACA/N,EACA4B,GACA,EACA,KACA,WACA,MAIF,EAAemM,EAAiB,QClBhC,G","sources":["webpack://VueDocumentEditor/webpack/universalModuleDefinition","webpack://VueDocumentEditor/./node_modules/core-js/internals/a-callable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/an-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/array-includes.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/array-set-length.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/classof-raw.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/create-property-descriptor.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/define-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/define-global-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/descriptors.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/document-all.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/document-create-element.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/engine-user-agent.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/engine-v8-version.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/enum-bug-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/export.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/fails.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-bind-native.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-call.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-name.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-uncurry-this.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/get-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/get-method.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/global.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/has-own-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/hidden-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/ie8-dom-define.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/indexed-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/inspect-source.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/internal-state.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-array.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-callable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-forced.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-pure.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-symbol.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/length-of-array-like.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/make-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/math-trunc.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-define-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-keys-internal.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/own-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/require-object-coercible.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared-key.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared-store.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-absolute-index.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-indexed-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-length.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-primitive.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-property-key.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/try-to-string.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/uid.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/well-known-symbol.js","webpack://VueDocumentEditor/./node_modules/core-js/modules/es.array.push.js","webpack://VueDocumentEditor/webpack/bootstrap","webpack://VueDocumentEditor/webpack/runtime/define property getters","webpack://VueDocumentEditor/webpack/runtime/global","webpack://VueDocumentEditor/webpack/runtime/hasOwnProperty shorthand","webpack://VueDocumentEditor/webpack/runtime/publicPath","webpack://VueDocumentEditor/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue","webpack://VueDocumentEditor/./src/DocumentEditor/imports/page-transition-mgmt.js","webpack://VueDocumentEditor/src/DocumentEditor/DocumentEditor.vue","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?0cd5","webpack://VueDocumentEditor/./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?48b8","webpack://VueDocumentEditor/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueDocumentEditor\"] = factory();\n\telse\n\t\troot[\"VueDocumentEditor\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn ","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 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 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","'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","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 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 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","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 isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\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 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 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 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 $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","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","// 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 global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.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 FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\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 call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\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 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 global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var 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 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; })() || this || Function('return this')();\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","module.exports = {};\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 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","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 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 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 $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 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","// 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 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","module.exports = false;\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 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 uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\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 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","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 internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\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","'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 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 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 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","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","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.30.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\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 // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\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","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","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var 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 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 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 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 $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\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","/* 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 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 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 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 Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\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 fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 and Safari <= 15.4, FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:\"editor\",staticClass:\"editor\"},[(_vm.overlay)?_c('div',{staticClass:\"overlays\"},_vm._l((_vm.pages),function(page,page_idx){return _c('div',{key:page.uuid+'-overlay',ref:page.uuid+'-overlay',refInFor:true,staticClass:\"overlay\",style:(_vm.page_style(page_idx, false)),domProps:{\"innerHTML\":_vm._s(_vm.overlay(page_idx+1, _vm.pages.length))}})}),0):_vm._e(),_c('div',{ref:\"content\",staticClass:\"content\",style:(_vm.page_style(-1)),attrs:{\"contenteditable\":_vm.editable},on:{\"input\":_vm.input,\"keyup\":_vm.process_current_text_style,\"keydown\":_vm.keydown}},_vm._l((_vm.pages),function(page,page_idx){return _c('div',{key:page.uuid,ref:page.uuid,refInFor:true,staticClass:\"page\",style:(_vm.page_style(page_idx, page.template ? false : true)),attrs:{\"data-content-idx\":page.content_idx,\"data-page-idx\":page_idx,\"contenteditable\":(_vm.editable && !page.template) ? true : false}},[(page.template)?_c(page.template,_vm._b({tag:\"component\"},'component',page.props,false,true)):_vm._e()],1)}),0)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n/**\n * Utility function that acts like an Array.filter on childNodes of \"container\"\n * @param {HTMLElement} container \n * @param {string} s_tag \n */\nfunction find_sub_child_sibling_node (container, s_tag){\n if(!container || !s_tag) return false;\n const child_nodes = container.childNodes;\n for(let i = 0; i < child_nodes.length; i++) {\n if(child_nodes[i].s_tag == s_tag) return child_nodes[i];\n }\n return false;\n}\n\n\n/**\n * This function moves every sub-child of argument \"child\" to the start of the \"child_sibling\"\n * argument, beginning from the last child, with word splitting and format preserving.\n * Typically, \"child\" is the current page which content overflows, and \"child_sibling\" is the \n * next page.\n * @param {HTMLElement} child Element to take children from (current page)\n * @param {HTMLElement} child_sibling Element to copy children to (next page)\n * @param {function} stop_condition Check function that returns a boolean if content doesn't overflow anymore\n * @param {function(HTMLElement):boolean?} do_not_break Optional function that receives the current child element and should return true if the child should not be split over two pages but rather be moved directly to the next page\n * @param {boolean?} not_first_child Should be unset. Used internally to let at least one child in the page\n */\nfunction move_children_forward_recursively (child, child_sibling, stop_condition, do_not_break, not_first_child) {\n\n // if the child still has nodes and the current page still overflows\n while(child.childNodes.length && !stop_condition()){\n\n // check if page has only one child tree left\n not_first_child = not_first_child || (child.childNodes.length != 1);\n\n // select the last sub-child\n const sub_child = child.lastChild;\n\n // if it is a text node, move its content to next page word(/space) by word\n if(sub_child.nodeType == Node.TEXT_NODE){\n const sub_child_hashes = sub_child.textContent.match(/(\\s|\\S+)/g);\n const sub_child_continuation = document.createTextNode('');\n child_sibling.prepend(sub_child_continuation);\n const l = sub_child_hashes ? sub_child_hashes.length : 0;\n for(let i = 0; i < l; i++) {\n if(i == l - 1 && !not_first_child) return; // never remove the first word of the page\n sub_child.textContent = sub_child_hashes.slice(0, l - i - 1).join('');\n sub_child_continuation.textContent = sub_child_hashes.slice(l - i - 1, l).join('');\n if(stop_condition()) return;\n }\n }\n\n // we simply move it to the next page if it is either:\n // - a node with no content (e.g. )\n // - a header title (e.g.

)\n // - a table row (e.g. )\n // - any element on whose user-custom `do_not_break` function returns true\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i) || sub_child.tagName.match(/tr/i) || (typeof do_not_break === \"function\" && do_not_break(sub_child))) {\n // just prevent moving the last child of the page\n if(!not_first_child){\n console.log(\"Move-forward: first child reached with no stop condition. Aborting\");\n return;\n }\n child_sibling.prepend(sub_child);\n }\n\n // for every other node that is not text and not the first child, clone it recursively to next page\n else {\n // check if sub child has already been cloned before\n let sub_child_sibling = find_sub_child_sibling_node(child_sibling, sub_child.s_tag);\n \n // if not, create it and watermark the relationship with a random tag\n if(!sub_child_sibling) {\n if(!sub_child.s_tag) {\n const new_random_tag = Math.random().toString(36).slice(2, 8);\n sub_child.s_tag = new_random_tag;\n }\n sub_child_sibling = sub_child.cloneNode(false);\n sub_child_sibling.s_tag = sub_child.s_tag;\n child_sibling.prepend(sub_child_sibling);\n }\n \n // then move/clone its children and sub-children recursively\n move_children_forward_recursively(sub_child, sub_child_sibling, stop_condition, do_not_break, not_first_child);\n sub_child_sibling.normalize(); // merge consecutive text nodes\n }\n\n // if sub_child was a container that was cloned and is now empty, we clean it\n if(child.contains(sub_child)){\n if(sub_child.childNodes.length == 0 || sub_child.innerHTML == \"\") child.removeChild(sub_child);\n else if(!stop_condition()) {\n // the only case when it can be non empty should be when stop_condition is now true\n console.log(\"sub_child:\", sub_child, \"that is in child:\", child);\n throw Error(\"Document editor is trying to remove a non-empty sub-child. This \"\n + \"is a bug and should not happen. Please report a repeatable set of actions that \"\n + \"leaded to this error to https://github.com/motla/vue-document-editor/issues/new\");\n }\n }\n }\n}\n\n\n\n/**\n * This function moves the first element from \"next_page_html_div\" to the end of \"page_html_div\", with\n * merging sibling tags previously watermarked by \"move_children_forward_recursively\", if any.\n * @param {HTMLElement} page_html_div Current page element\n * @param {HTMLElement} next_page_html_div Next page element\n * @param {function} stop_condition Check function that returns a boolean if content overflows\n */\nfunction move_children_backwards_with_merging (page_html_div, next_page_html_div, stop_condition) {\n\n // loop until content is overflowing\n while(!stop_condition()){\n\n // find first child of next page\n const first_child = next_page_html_div.firstChild;\n\n // merge it at the end of the current page\n var merge_recursively = (container, elt) => {\n // check if child had been splitted (= has a sibling on previous page)\n const elt_sibling = find_sub_child_sibling_node(container, elt.s_tag);\n if(elt_sibling && elt.childNodes.length) {\n // then dig for deeper children, in case of\n merge_recursively(elt_sibling, elt.firstChild);\n }\n // else move the child inside the right container at current page\n else {\n container.append(elt);\n container.normalize();\n }\n }\n merge_recursively(page_html_div, first_child);\n }\n}\n\nexport {\n move_children_forward_recursively,\n move_children_backwards_with_merging\n};","\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-124.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-124.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=script&lang=js&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./DocumentEditor.vue?vue&type=template&id=214528ab&scoped=true&\"\nimport script from \"./DocumentEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./DocumentEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DocumentEditor.vue?vue&type=style&index=0&id=214528ab&prod&lang=css&\"\nimport style1 from \"./DocumentEditor.vue?vue&type=style&index=1&id=214528ab&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"214528ab\",\n null\n \n)\n\nexport default component.exports","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["root","factory","exports","module","define","amd","self","this","isCallable","tryToString","$TypeError","TypeError","argument","isObject","$String","String","toIndexedObject","toAbsoluteIndex","lengthOfArrayLike","createMethod","IS_INCLUDES","$this","el","fromIndex","value","O","length","index","includes","indexOf","DESCRIPTORS","isArray","getOwnPropertyDescriptor","Object","SILENT_ON_NON_WRITABLE_LENGTH_SET","undefined","defineProperty","writable","error","uncurryThis","toString","stringSlice","slice","it","hasOwn","ownKeys","getOwnPropertyDescriptorModule","definePropertyModule","target","source","exceptions","keys","f","i","key","createPropertyDescriptor","object","bitmap","enumerable","configurable","makeBuiltIn","defineGlobalProperty","options","simple","name","global","unsafe","nonConfigurable","nonWritable","fails","get","documentAll","document","all","IS_HTMLDDA","EXISTS","createElement","MAX_SAFE_INTEGER","navigator","userAgent","match","version","process","Deno","versions","v8","split","createNonEnumerableProperty","defineBuiltIn","copyConstructorProperties","isForced","FORCED","targetProperty","sourceProperty","descriptor","TARGET","GLOBAL","STATIC","stat","prototype","dontCallGetSet","forced","sham","exec","test","bind","hasOwnProperty","NATIVE_BIND","call","Function","apply","arguments","FunctionPrototype","getDescriptor","PROPER","CONFIGURABLE","uncurryThisWithBind","fn","aFunction","namespace","method","aCallable","isNullOrUndefined","V","P","func","check","Math","globalThis","window","g","toObject","a","classof","$Object","propertyIsEnumerable","store","functionToString","inspectSource","set","has","NATIVE_WEAK_MAP","shared","sharedKey","hiddenKeys","OBJECT_ALREADY_INITIALIZED","WeakMap","enforce","getterFor","TYPE","state","type","metadata","facade","STATE","Array","$documentAll","replacement","feature","detection","data","normalize","POLYFILL","NATIVE","string","replace","toLowerCase","getBuiltIn","isPrototypeOf","USE_SYMBOL_AS_UID","$Symbol","toLength","obj","CONFIGURABLE_FUNCTION_NAME","InternalStateModule","enforceInternalState","getInternalState","join","CONFIGURABLE_LENGTH","TEMPLATE","getter","setter","arity","constructor","ceil","floor","trunc","x","n","IE8_DOM_DEFINE","V8_PROTOTYPE_DEFINE_BUG","anObject","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","WRITABLE","Attributes","current","propertyIsEnumerableModule","internalObjectKeys","enumBugKeys","concat","getOwnPropertyNames","getOwnPropertySymbols","push","names","result","$propertyIsEnumerable","NASHORN_BUG","input","pref","val","valueOf","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","uid","SHARED","IS_PURE","mode","copyright","license","V8_VERSION","symbol","Symbol","toIntegerOrInfinity","max","min","integer","IndexedObject","requireObjectCoercible","number","isSymbol","getMethod","ordinaryToPrimitive","wellKnownSymbol","TO_PRIMITIVE","exoticToPrim","toPrimitive","id","postfix","random","NATIVE_SYMBOL","iterator","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","$","setArrayLength","doesNotExceedSafeInteger","INCORRECT_TO_LENGTH","properErrorOnNonWritableLength","proto","item","len","argCount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","d","definition","o","e","prop","p","currentScript","src","render","_vm","_c","_self","ref","staticClass","overlay","_l","pages","page","page_idx","uuid","refInFor","style","page_style","domProps","_s","_e","attrs","editable","on","process_current_text_style","keydown","template","content_idx","_b","tag","props","staticRenderFns","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","move_children_forward_recursively","child","child_sibling","stop_condition","do_not_break","not_first_child","sub_child","lastChild","nodeType","Node","TEXT_NODE","sub_child_hashes","textContent","sub_child_continuation","createTextNode","prepend","l","tagName","console","log","sub_child_sibling","new_random_tag","cloneNode","contains","innerHTML","removeChild","Error","move_children_backwards_with_merging","page_html_div","next_page_html_div","first_child","firstChild","merge_recursively","elt","elt_sibling","append","content","required","display","default","Boolean","page_format_mm","page_margins","zoom","Number","pages_height","editor_width","prevent_next_content_update_from_parent","current_text_style","mounted","update_editor_width","update_css_media_style","reset_content","addEventListener","before_print","after_print","beforeDestroy","removeEventListener","computed","css_media_style","head","appendChild","methods","new_uuid","$emit","map","$nextTick","first_page_elt","$refs","clientHeight","page_elt","fit_content_over_pages","blur","body","splice","selection","getSelection","start_marker","end_marker","rangeCount","range","getRangeAt","insertNode","collapse","prev_page_modified_flag","next_page","next_page_elt","prev_innerHTML","createRange","setStart","setEnd","removeAllRanges","addRange","parentElement","emit_new_content","inputType","keyCode","text","preventDefault","removed_pages_flag","new_content","filter","children","getAttribute","sel","focusNode","element","isContentEditable","getComputedStyle","textDecorationStack","headerLevel","isList","parent","parent_style","textDecoration","toUpperCase","allow_overflow","px_in_mm","page_width","page_spacing_mm","page_with_plus_spacing","view_padding","inner_width","page_column","x_pos","x_ofx","left_px","top_mm","bkg_width_mm","bkg_height_mm","nb_pages_x","nb_pages_y","position","left","top","width","padding","transform","height","editor","classList","add","clientWidth","remove","_page_body","print_body","margin","background","font","className","entries","page_clone","breakBefore","boxSizing","overflow","overlay_elts","overlay_clone","return_overlay","right","bottom","alignItems","justifyContent","cursor","watch","normalizeComponent","scriptExports","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","_compiled","functional","_scopeId","context","$vnode","ssrContext","__VUE_SSR_CONTEXT__","_registeredComponents","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","component"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/css/app.235f26a2.css b/docs/css/app.1d0a52de.css similarity index 92% rename from docs/css/app.235f26a2.css rename to docs/css/app.1d0a52de.css index 3844360..0597fd5 100644 --- a/docs/css/app.235f26a2.css +++ b/docs/css/app.1d0a52de.css @@ -1 +1 @@ -.bar-button>.color-square[data-v-2ae09e67]{width:15px;height:15px;border:1px solid rgba(0,0,0,.7);margin:0 3px}.bar-button.disabled>.color-square[data-v-2ae09e67]{border:solid 1px var(--bar-button-disabled-color,rgba(0,0,0,.3))}@font-face{font-family:Material Icons;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons.59322316.woff2) format("woff2"),url(../fonts/material-icons.4ad034d2.woff) format("woff")}.material-icons{font-family:Material Icons;font-feature-settings:"liga"}@font-face{font-family:Material Icons Outlined;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons-outlined.f86cb7b0.woff2) format("woff2"),url(../fonts/material-icons-outlined.78a93b20.woff) format("woff")}.material-icons,.material-icons-outlined{font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}.material-icons-outlined{font-family:Material Icons Outlined;font-feature-settings:"liga"}@font-face{font-family:Material Icons Round;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons-round.b10ec9db.woff2) format("woff2"),url(../fonts/material-icons-round.92dc7ca2.woff) format("woff")}.material-icons-round{font-family:Material Icons Round;font-feature-settings:"liga"}@font-face{font-family:Material Icons Sharp;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons-sharp.3885863e.woff2) format("woff2"),url(../fonts/material-icons-sharp.a71cb2bf.woff) format("woff")}.material-icons-round,.material-icons-sharp{font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}.material-icons-sharp{font-family:Material Icons Sharp;font-feature-settings:"liga"}@font-face{font-family:Material Icons Two Tone;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons-two-tone.675bd578.woff2) format("woff2"),url(../fonts/material-icons-two-tone.588d6313.woff) format("woff")}.material-icons-two-tone{font-family:Material Icons Two Tone;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}.bar[data-v-4480b20b]{display:flex;align-items:stretch;justify-content:flex-start;flex-wrap:wrap;color:var(--bar-font-color,rgba(0,0,0,.7));font-family:var(--bar-font-family,Avenir,Helvetica,Arial,sans-serif);font-size:var(--bar-font-size,16px);font-weight:var(--bar-font-weight,500);font-style:var(--bar-font-style);letter-spacing:var(--bar-letter-spacing);margin:var(--bar-margin);padding:var(--bar-padding);border:var(--bar-border);border-radius:var(--bar-border-radius);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.bar[data-v-4480b20b] ::-webkit-scrollbar{width:16px;height:16px}.bar[data-v-4480b20b] ::-webkit-scrollbar-corner,.bar[data-v-4480b20b] ::-webkit-scrollbar-track{display:none}.bar[data-v-4480b20b] ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}.bar[data-v-4480b20b] ::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.bar[data-v-4480b20b] .ellipsis{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bar[data-v-4480b20b] .bar-button{position:relative;display:flex;align-items:center;justify-content:center;padding:var(--bar-button-padding,7px);border-radius:var(--bar-button-radius,3px);white-space:nowrap}.bar[data-v-4480b20b] .bar-button.active{color:var(--bar-button-active-color,#41b883);background:var(--bar-button-active-bkg,#eaf7f4)}.bar[data-v-4480b20b] .bar-button.open:hover{color:var(--bar-button-open-color,#41b883);background:var(--bar-button-open-bkg,#eaf7f4)}.bar[data-v-4480b20b] .bar-button.disabled{color:var(--bar-button-disabled-color,rgba(0,0,0,.3));background:var(--bar-button-disabled-bkg)}.bar[data-v-4480b20b] .bar-button:not(.active):not(.open):not(.disabled):hover{color:var(--bar-button-hover-color);background:var(--bar-button-hover-bkg,#f1f3f4)}.bar[data-v-4480b20b] .bar-button>.label{display:flex;align-items:center;padding:var(--bar-button-label-padding,0 3px)}.bar[data-v-4480b20b] .bar-button>.emoji,.bar[data-v-4480b20b] .bar-button>.icon{font-display:block;width:1em;font-size:var(--bar-button-icon-size,24px);margin:var(--bar-button-icon-margin)}.bar[data-v-4480b20b] .bar-button>.chevron{font-display:block;width:1em;margin:var(--bar-button-chevron-margin,0 -5px 0 0)}.bar[data-v-4480b20b] .bar-button>.menu{position:absolute;left:0;top:100%;display:none;z-index:1000}.bar[data-v-4480b20b] .bar-button>.menu.align-left{left:0}.bar[data-v-4480b20b] .bar-button>.menu.align-center{left:auto}.bar[data-v-4480b20b] .bar-button>.menu.align-right{left:auto;right:0}.bar[data-v-4480b20b] .bar-button.open:hover>.menu{display:block}.bar[data-v-4480b20b] .bar-menu{position:relative;white-space:normal}.bar[data-v-4480b20b] .bar-menu>.extended-hover-zone{position:absolute;top:0;left:-100px;right:-100px;bottom:-40px}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items{position:relative;min-width:var(--bar-menu-min-width,160px);color:var(--bar-menu-color,rgba(0,0,0,.7));background:var(--bar-menu-bkg,#fff);padding:var(--bar-menu-padding,5px 0);box-shadow:var(--bar-menu-shadow,rgba(60,64,67,.15) 0 2px 6px 2px);border:var(--bar-menu-border);border-radius:var(--bar-menu-border-radius)}@supports ((-webkit-backdrop-filter:var(--bar-menu-backdrop-filter )) or (backdrop-filter:var(--bar-menu-backdrop-filter ))){.bar[data-v-4480b20b] .bar-menu>.bar-menu-items{-webkit-backdrop-filter:var(--bar-menu-backdrop-filter);backdrop-filter:var(--bar-menu-backdrop-filter);background:var(--bar-menu-backdrop-filter-bkg,var(--bar-menu-bkg,#fff))}}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item{position:relative;display:flex;align-items:center;justify-content:flex-start;font-size:var(--bar-menu-item-font-size);padding:var(--bar-menu-item-padding,8px 15px)}.bar[data-v-4480b20b] .bar-men>.bar-menu-items>.bar-menu-item.active{color:var(--bar-menu-item-active-color);background:var(--bar-menu-item-active-bkg,#e7e8e9)}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item.disabled{color:var(--bar-menu-item-disabled-color,rgba(0,0,0,.3))}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item:not(.active):not(.disabled):hover{color:var(--bar-menu-item-hover-color);background:var(--bar-menu-item-hover-bkg,#f1f3f4)}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item>.label{display:flex;align-items:center;flex-grow:1}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item>.emoji,.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item>.icon{font-display:block;width:1em;font-size:var(--bar-menu-item-icon-size,24px);margin:var(--bar-menu-item-icon-margin,0 10px 0 0)}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item>.chevron{font-display:block;width:1em;margin:var(--bar-menu-item-chevron-margin,0 -6px 0 0)}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item>.menu{position:absolute;left:100%;top:0;display:none;z-index:1000}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item:hover>.menu{display:block}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item>.bar-menu{border-radius:var(--bar-sub-menu-border-radius)}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item>.bar-menu>.extended-hover-zone{top:-100px;left:0;bottom:-100px}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-separator{height:var(--bar-menu-separator-height,1px);margin:var(--bar-menu-separator-margin,5px 0);background-color:var(--bar-menu-separator-color,rgba(0,0,0,.1))}.bar[data-v-4480b20b] .bar-separator{width:var(--bar-separator-width,2px);margin:var(--bar-separator-margin,5px);background-color:var(--bar-separator-color,rgba(0,0,0,.1))}.bar[data-v-4480b20b] .bar-spacer{flex-grow:1}body{-webkit-print-color-adjust:exact;print-color-adjust:exact}.editor[data-v-3822a990]{display:block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:default}.editor[data-v-3822a990] ::-webkit-scrollbar{width:16px;height:16px}.editor[data-v-3822a990] ::-webkit-scrollbar-corner,.editor[data-v-3822a990] ::-webkit-scrollbar-track{display:none}.editor[data-v-3822a990] ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}.editor[data-v-3822a990] ::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.editor .hide_children>[data-v-3822a990]{display:none}.editor>.content[data-v-3822a990]{position:relative;outline:none;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.content[data-v-3822a990] .page{position:absolute;box-sizing:border-box;left:50%;transform-origin:center top;background:var(--page-background,#fff);box-shadow:var(--page-box-shadow,0 1px 3px 1px rgba(60,64,67,.15));border:var(--page-border);border-radius:var(--page-border-radius);transition:left .3s,top .3s;overflow:hidden;pointer-events:all}.editor>.content[contenteditable][data-v-3822a990],.editor>.content[data-v-3822a990] [contenteditable]{cursor:text}.editor>.content[data-v-3822a990] [contenteditable=false]{cursor:default}.editor>.overlays[data-v-3822a990]{position:relative;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.overlays>.overlay[data-v-3822a990]{position:absolute;box-sizing:border-box;left:50%;transform-origin:center top;transition:left .3s,top .3s;overflow:hidden;z-index:1}table[data-v-7904a742]{width:100%;border-spacing:0}table td[data-v-7904a742]{position:relative;padding:6px;vertical-align:top}table.order-table td[data-v-7904a742]{vertical-align:middle}table thead td[data-v-7904a742]{font-weight:700}table tbody td[data-v-7904a742]{border-top:1px solid #ccc}input[type=number][data-v-7904a742]{border:none;font-family:inherit;font-size:inherit;color:inherit;background:rgba(200,250,230,.2);padding:6px}[contenteditable=true][data-v-7904a742]{background:rgba(200,250,230,.2);cursor:text;transition:padding .05s linear}span[contenteditable=true][data-v-7904a742]:focus{padding:0 4px}@media print{[contenteditable=true][data-v-7904a742],input[data-v-7904a742]{background:none}.hide-in-print[data-v-7904a742]{display:none}input[data-v-7904a742]::-webkit-inner-spin-button,input[data-v-7904a742]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-7904a742]{-moz-appearance:textfield;background:none}}.header[data-v-7904a742],.order[data-v-7904a742]{display:flex;justify-content:space-between;margin-bottom:10px}.left-btn[data-v-7904a742]{position:absolute;left:-40px;top:2px}.left-btn[data-v-7904a742]:hover{opacity:.6}html{height:100%}body{margin:0;font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#000;background:#f8f9fa}::-webkit-scrollbar{width:16px;height:16px}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{display:none}::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.main[data-v-62d2aa6c]{width:-moz-fit-content;width:fit-content;min-width:100%}.bar[data-v-62d2aa6c]{position:sticky;left:0;top:0;width:calc(100vw - 16px);z-index:1000;background:rgba(248,249,250,.8);border-bottom:1px solid #f8f9fa;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);--bar-button-active-color:#188038;--bar-button-open-color:#188038;--bar-button-active-bkg:#e6f4ea;--bar-button-open-bkg:#e6f4ea} \ No newline at end of file +.bar-button>.color-square[data-v-2ae09e67]{width:15px;height:15px;border:1px solid rgba(0,0,0,.7);margin:0 3px}.bar-button.disabled>.color-square[data-v-2ae09e67]{border:solid 1px var(--bar-button-disabled-color,rgba(0,0,0,.3))}@font-face{font-family:Material Icons;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons.59322316.woff2) format("woff2"),url(../fonts/material-icons.4ad034d2.woff) format("woff")}.material-icons{font-family:Material Icons;font-feature-settings:"liga"}@font-face{font-family:Material Icons Outlined;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons-outlined.f86cb7b0.woff2) format("woff2"),url(../fonts/material-icons-outlined.78a93b20.woff) format("woff")}.material-icons,.material-icons-outlined{font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}.material-icons-outlined{font-family:Material Icons Outlined;font-feature-settings:"liga"}@font-face{font-family:Material Icons Round;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons-round.b10ec9db.woff2) format("woff2"),url(../fonts/material-icons-round.92dc7ca2.woff) format("woff")}.material-icons-round{font-family:Material Icons Round;font-feature-settings:"liga"}@font-face{font-family:Material Icons Sharp;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons-sharp.3885863e.woff2) format("woff2"),url(../fonts/material-icons-sharp.a71cb2bf.woff) format("woff")}.material-icons-round,.material-icons-sharp{font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}.material-icons-sharp{font-family:Material Icons Sharp;font-feature-settings:"liga"}@font-face{font-family:Material Icons Two Tone;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons-two-tone.675bd578.woff2) format("woff2"),url(../fonts/material-icons-two-tone.588d6313.woff) format("woff")}.material-icons-two-tone{font-family:Material Icons Two Tone;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}.bar[data-v-4480b20b]{display:flex;align-items:stretch;justify-content:flex-start;flex-wrap:wrap;color:var(--bar-font-color,rgba(0,0,0,.7));font-family:var(--bar-font-family,Avenir,Helvetica,Arial,sans-serif);font-size:var(--bar-font-size,16px);font-weight:var(--bar-font-weight,500);font-style:var(--bar-font-style);letter-spacing:var(--bar-letter-spacing);margin:var(--bar-margin);padding:var(--bar-padding);border:var(--bar-border);border-radius:var(--bar-border-radius);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.bar[data-v-4480b20b] ::-webkit-scrollbar{width:16px;height:16px}.bar[data-v-4480b20b] ::-webkit-scrollbar-corner,.bar[data-v-4480b20b] ::-webkit-scrollbar-track{display:none}.bar[data-v-4480b20b] ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}.bar[data-v-4480b20b] ::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.bar[data-v-4480b20b] .ellipsis{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bar[data-v-4480b20b] .bar-button{position:relative;display:flex;align-items:center;justify-content:center;padding:var(--bar-button-padding,7px);border-radius:var(--bar-button-radius,3px);white-space:nowrap}.bar[data-v-4480b20b] .bar-button.active{color:var(--bar-button-active-color,#41b883);background:var(--bar-button-active-bkg,#eaf7f4)}.bar[data-v-4480b20b] .bar-button.open:hover{color:var(--bar-button-open-color,#41b883);background:var(--bar-button-open-bkg,#eaf7f4)}.bar[data-v-4480b20b] .bar-button.disabled{color:var(--bar-button-disabled-color,rgba(0,0,0,.3));background:var(--bar-button-disabled-bkg)}.bar[data-v-4480b20b] .bar-button:not(.active):not(.open):not(.disabled):hover{color:var(--bar-button-hover-color);background:var(--bar-button-hover-bkg,#f1f3f4)}.bar[data-v-4480b20b] .bar-button>.label{display:flex;align-items:center;padding:var(--bar-button-label-padding,0 3px)}.bar[data-v-4480b20b] .bar-button>.emoji,.bar[data-v-4480b20b] .bar-button>.icon{font-display:block;width:1em;font-size:var(--bar-button-icon-size,24px);margin:var(--bar-button-icon-margin)}.bar[data-v-4480b20b] .bar-button>.chevron{font-display:block;width:1em;margin:var(--bar-button-chevron-margin,0 -5px 0 0)}.bar[data-v-4480b20b] .bar-button>.menu{position:absolute;left:0;top:100%;display:none;z-index:1000}.bar[data-v-4480b20b] .bar-button>.menu.align-left{left:0}.bar[data-v-4480b20b] .bar-button>.menu.align-center{left:auto}.bar[data-v-4480b20b] .bar-button>.menu.align-right{left:auto;right:0}.bar[data-v-4480b20b] .bar-button.open:hover>.menu{display:block}.bar[data-v-4480b20b] .bar-menu{position:relative;white-space:normal}.bar[data-v-4480b20b] .bar-menu>.extended-hover-zone{position:absolute;top:0;left:-100px;right:-100px;bottom:-40px}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items{position:relative;min-width:var(--bar-menu-min-width,160px);color:var(--bar-menu-color,rgba(0,0,0,.7));background:var(--bar-menu-bkg,#fff);padding:var(--bar-menu-padding,5px 0);box-shadow:var(--bar-menu-shadow,rgba(60,64,67,.15) 0 2px 6px 2px);border:var(--bar-menu-border);border-radius:var(--bar-menu-border-radius)}@supports ((-webkit-backdrop-filter:var(--bar-menu-backdrop-filter )) or (backdrop-filter:var(--bar-menu-backdrop-filter ))){.bar[data-v-4480b20b] .bar-menu>.bar-menu-items{-webkit-backdrop-filter:var(--bar-menu-backdrop-filter);backdrop-filter:var(--bar-menu-backdrop-filter);background:var(--bar-menu-backdrop-filter-bkg,var(--bar-menu-bkg,#fff))}}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item{position:relative;display:flex;align-items:center;justify-content:flex-start;font-size:var(--bar-menu-item-font-size);padding:var(--bar-menu-item-padding,8px 15px)}.bar[data-v-4480b20b] .bar-men>.bar-menu-items>.bar-menu-item.active{color:var(--bar-menu-item-active-color);background:var(--bar-menu-item-active-bkg,#e7e8e9)}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item.disabled{color:var(--bar-menu-item-disabled-color,rgba(0,0,0,.3))}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item:not(.active):not(.disabled):hover{color:var(--bar-menu-item-hover-color);background:var(--bar-menu-item-hover-bkg,#f1f3f4)}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item>.label{display:flex;align-items:center;flex-grow:1}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item>.emoji,.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item>.icon{font-display:block;width:1em;font-size:var(--bar-menu-item-icon-size,24px);margin:var(--bar-menu-item-icon-margin,0 10px 0 0)}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item>.chevron{font-display:block;width:1em;margin:var(--bar-menu-item-chevron-margin,0 -6px 0 0)}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item>.menu{position:absolute;left:100%;top:0;display:none;z-index:1000}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item:hover>.menu{display:block}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item>.bar-menu{border-radius:var(--bar-sub-menu-border-radius)}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-item>.bar-menu>.extended-hover-zone{top:-100px;left:0;bottom:-100px}.bar[data-v-4480b20b] .bar-menu>.bar-menu-items>.bar-menu-separator{height:var(--bar-menu-separator-height,1px);margin:var(--bar-menu-separator-margin,5px 0);background-color:var(--bar-menu-separator-color,rgba(0,0,0,.1))}.bar[data-v-4480b20b] .bar-separator{width:var(--bar-separator-width,2px);margin:var(--bar-separator-margin,5px);background-color:var(--bar-separator-color,rgba(0,0,0,.1))}.bar[data-v-4480b20b] .bar-spacer{flex-grow:1}body{-webkit-print-color-adjust:exact;print-color-adjust:exact}.editor[data-v-214528ab]{display:block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:default}.editor[data-v-214528ab] ::-webkit-scrollbar{width:16px;height:16px}.editor[data-v-214528ab] ::-webkit-scrollbar-corner,.editor[data-v-214528ab] ::-webkit-scrollbar-track{display:none}.editor[data-v-214528ab] ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}.editor[data-v-214528ab] ::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.editor .hide_children>[data-v-214528ab]{display:none}.editor>.content[data-v-214528ab]{position:relative;outline:none;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.content[data-v-214528ab] .page{position:absolute;box-sizing:border-box;left:50%;transform-origin:center top;background:var(--page-background,#fff);box-shadow:var(--page-box-shadow,0 1px 3px 1px rgba(60,64,67,.15));border:var(--page-border);border-radius:var(--page-border-radius);transition:left .3s,top .3s;overflow:hidden;pointer-events:all}.editor>.content[contenteditable][data-v-214528ab],.editor>.content[data-v-214528ab] [contenteditable]{cursor:text}.editor>.content[data-v-214528ab] [contenteditable=false]{cursor:default}.editor>.overlays[data-v-214528ab]{position:relative;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.overlays>.overlay[data-v-214528ab]{position:absolute;box-sizing:border-box;left:50%;transform-origin:center top;transition:left .3s,top .3s;overflow:hidden;z-index:1}table[data-v-7904a742]{width:100%;border-spacing:0}table td[data-v-7904a742]{position:relative;padding:6px;vertical-align:top}table.order-table td[data-v-7904a742]{vertical-align:middle}table thead td[data-v-7904a742]{font-weight:700}table tbody td[data-v-7904a742]{border-top:1px solid #ccc}input[type=number][data-v-7904a742]{border:none;font-family:inherit;font-size:inherit;color:inherit;background:rgba(200,250,230,.2);padding:6px}[contenteditable=true][data-v-7904a742]{background:rgba(200,250,230,.2);cursor:text;transition:padding .05s linear}span[contenteditable=true][data-v-7904a742]:focus{padding:0 4px}@media print{[contenteditable=true][data-v-7904a742],input[data-v-7904a742]{background:none}.hide-in-print[data-v-7904a742]{display:none}input[data-v-7904a742]::-webkit-inner-spin-button,input[data-v-7904a742]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-7904a742]{-moz-appearance:textfield;background:none}}.header[data-v-7904a742],.order[data-v-7904a742]{display:flex;justify-content:space-between;margin-bottom:10px}.left-btn[data-v-7904a742]{position:absolute;left:-40px;top:2px}.left-btn[data-v-7904a742]:hover{opacity:.6}html{height:100%}body{margin:0;font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#000;background:#f8f9fa}::-webkit-scrollbar{width:16px;height:16px}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{display:none}::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.main[data-v-62d2aa6c]{width:-moz-fit-content;width:fit-content;min-width:100%}.bar[data-v-62d2aa6c]{position:sticky;left:0;top:0;width:calc(100vw - 16px);z-index:1000;background:rgba(248,249,250,.8);border-bottom:1px solid #f8f9fa;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);--bar-button-active-color:#188038;--bar-button-open-color:#188038;--bar-button-active-bkg:#e6f4ea;--bar-button-open-bkg:#e6f4ea} \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 98aea24..8cf4161 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -vue-document-editor
\ No newline at end of file +vue-document-editor
\ No newline at end of file diff --git a/docs/js/app.79b3519d.js b/docs/js/app.79b3519d.js deleted file mode 100644 index 8ecba1d..0000000 --- a/docs/js/app.79b3519d.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(){"use strict";var t={4268:function(t,e,i){var n=i(144),s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"main"},[e("vue-file-toolbar-menu",{staticClass:"bar",attrs:{content:t.menu}}),e("vue-document-editor",{ref:"editor",staticClass:"editor",attrs:{content:t.content,overlay:t.overlay,zoom:t.zoom,page_format_mm:t.page_format_mm,page_margins:t.page_margins,display:t.display},on:{"update:content":function(e){t.content=e}}})],1)},a=[],r=i(3969),o=function(){var t=this,e=t._self._c;return e("div",{ref:"editor",staticClass:"editor"},[t.overlay?e("div",{staticClass:"overlays"},t._l(t.pages,(function(i,n){return e("div",{key:i.uuid+"-overlay",ref:i.uuid+"-overlay",refInFor:!0,staticClass:"overlay",style:t.page_style(n,!1),domProps:{innerHTML:t._s(t.overlay(n+1,t.pages.length))}})})),0):t._e(),e("div",{ref:"content",staticClass:"content",style:t.page_style(-1),attrs:{contenteditable:t.editable},on:{input:t.input,keyup:t.process_current_text_style,keydown:t.keydown}},t._l(t.pages,(function(i,n){return e("div",{key:i.uuid,ref:i.uuid,refInFor:!0,staticClass:"page",style:t.page_style(n,!i.template),attrs:{"data-content-idx":i.content_idx,"data-page-idx":n,contenteditable:!(!t.editable||i.template)}},[i.template?e(i.template,t._b({tag:"component"},"component",i.props,!1,!0)):t._e()],1)})),0)])},l=[];i(7658);function c(t,e){if(!t||!e)return!1;const i=t.childNodes;for(let n=0;n{const i=c(t,e.s_tag);i&&e.childNodes.length?n(i,e.firstChild):(t.append(e),t.normalize())};n(t,i)}}var m={props:{content:{type:Array,required:!0},display:{type:String,default:"grid"},editable:{type:Boolean,default:!0},overlay:Function,page_format_mm:{type:Array,default:()=>[210,297]},page_margins:{type:[String,Function],default:"10mm 15mm"},zoom:{type:Number,default:1},do_not_break:Function},data(){return{pages:[],pages_height:0,editor_width:0,prevent_next_content_update_from_parent:!1,current_text_style:!1}},mounted(){this.update_editor_width(),this.update_css_media_style(),this.reset_content(),window.addEventListener("resize",this.update_editor_width),window.addEventListener("click",this.process_current_text_style),window.addEventListener("beforeprint",this.before_print),window.addEventListener("afterprint",this.after_print)},beforeDestroy(){window.removeEventListener("resize",this.update_editor_width),window.removeEventListener("click",this.process_current_text_style),window.removeEventListener("beforeprint",this.before_print),window.removeEventListener("afterprint",this.after_print)},computed:{css_media_style(){const t=document.createElement("style");return document.head.appendChild(t),t}},methods:{new_uuid:()=>Math.random().toString(36).slice(-5),async reset_content(){if(!this.content.length)return void this.$emit("update:content",[""]);this.pages=this.content.length?this.content.map(((t,e)=>({uuid:this.new_uuid(),content_idx:e,template:t.template,props:t.props}))):[{uuid:this.new_uuid(),content_idx:0}],await this.$nextTick();const t=this.$refs[this.pages[0].uuid][0];this.$refs.content.contains(t)||this.$refs.content.appendChild(t),this.pages_height=t.clientHeight+1;for(const e of this.pages){const t=this.$refs[e.uuid][0];this.content[e.content_idx]?"string"==typeof this.content[e.content_idx]&&(t.innerHTML="
"+this.content[e.content_idx]+"
"):t.innerHTML="

",this.$refs.content.contains(t)||this.$refs.content.appendChild(t)}await this.fit_content_over_pages(),this.$refs.content.blur()},async fit_content_over_pages(){if(!this.pages_height)return;for(let s=this.pages.length-1;s>=0;s--){const t=this.pages[s],e=this.$refs[t.uuid]&&this.$refs[t.uuid][0];e&&document.body.contains(e)||this.pages.splice(s,1)}if(!this.pages.length)return void this.$emit("update:content",[""]);const t=window.getSelection(),e=document.createElement("null"),i=document.createElement("null");if(t.rangeCount){const n=t.getRangeAt(0);n.insertNode(e),n.collapse(!1),n.insertNode(i)}let n=!1;for(let s=0;s!a.childNodes.length||e.clientHeight>this.pages_height)),a.childNodes.length||this.pages.splice(s+1,1)),e.clientHeight>this.pages_height&&(i&&i.content_idx==t.content_idx||(i={uuid:this.new_uuid(),content_idx:t.content_idx},this.pages.splice(s+1,0,i),await this.$nextTick(),a=this.$refs[i.uuid][0]),d(e,a,(()=>e.clientHeight<=this.pages_height),this.do_not_break)))}if(document.body.contains(e)){const n=document.createRange();n.setStart(e,0),document.body.contains(i)&&n.setEnd(i,0),t.removeAllRanges(),t.addRange(n)}e.parentElement&&e.parentElement.removeChild(e),i.parentElement&&i.parentElement.removeChild(i);for(const s of this.pages){const t=this.$refs[s.uuid][0];t.normalize(),s.prev_innerHTML=t.innerHTML}},async input(t){t&&(await this.fit_content_over_pages(),this.emit_new_content(),"insertText"!=t.inputType&&this.process_current_text_style())},keydown(t){if(8==t.keyCode&&this.content.length<=1&&"string"==typeof this.content[0]){const e=this.content[0].replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?>|<\/\w+>/gi,"");e||t.preventDefault()}},emit_new_content(){let t=!1;const e=this.content.map(((e,i)=>{const n=this.pages.filter((t=>t.content_idx==i));return n.length?"string"==typeof e?n.map((t=>{let e=this.$refs[t.uuid][0];while(1==e.children.length&&e.firstChild.tagName&&"div"==e.firstChild.tagName.toLowerCase()&&!e.firstChild.getAttribute("style"))e=e.firstChild;return e.innerHTML})).join("")||!1:{template:e.template,props:{...e.props}}:(t=!0,!1)})).filter((t=>0!=t));t||(this.prevent_next_content_update_from_parent=!0),this.$emit("update:content",e)},process_current_text_style(){let t=!1;const e=window.getSelection();if(e.focusNode){const i=e.focusNode.tagName?e.focusNode:e.focusNode.parentElement;if(i&&i.isContentEditable){t=window.getComputedStyle(i),t.textDecorationStack=[],t.headerLevel=0,t.isList=!1;let e=i;while(e){const i=window.getComputedStyle(e);if(t.textDecorationStack.push(i.textDecoration),"list-item"==i.display&&(t.isList=!0),!t.headerLevel)for(let n=1;n<=6;n++)if(e.tagName.toUpperCase()=="H"+n){t.headerLevel=n;break}e=e.parentElement}}}this.current_text_style=t},page_style(t,e){const i=.2645833333333,n=this.page_format_mm[0]/i,s=10,a=(s+this.page_format_mm[0])*this.zoom/i,r=20,o=this.editor_width-2*r;let l,c,d,u,m,h,p,g=1;if("horizontal"==this.display)o>this.pages.length*a?(g=Math.floor(o/a),u=o/(2*g)*(1+2*t)-n/2):(g=this.pages.length,u=a*t+n/2*(this.zoom-1)),m=0,h=this.zoom*(this.page_format_mm[0]*g+(g-1)*s),p=this.page_format_mm[1]*this.zoom;else{g=Math.floor(o/a),(g<1||"vertical"==this.display)&&(g=1),l=t%g,c=o/(2*g)*(1+2*l)-n/2,d=Math.max(0,(n*this.zoom-o)/2),u=c+d,m=(this.page_format_mm[1]+s)*this.zoom*Math.floor(t/g);const e=Math.ceil(this.pages.length/g);h=this.zoom*(this.page_format_mm[0]*g+(g-1)*s),p=this.zoom*(this.page_format_mm[1]*e+(e-1)*s)}if(t>=0){const i={position:"absolute",left:"calc("+u+"px + "+r+"px)",top:"calc("+m+"mm + "+r+"px)",width:this.page_format_mm[0]+"mm",padding:"function"==typeof this.page_margins?this.page_margins(t+1,this.pages.length):this.page_margins,transform:"scale("+this.zoom+")"};return i[e?"minHeight":"height"]=this.page_format_mm[1]+"mm",i}return{width:"calc("+h+"mm + "+2*r+"px)",height:"calc("+p+"mm + "+2*r+"px)"}},update_editor_width(){this.$refs.editor.classList.add("hide_children"),this.editor_width=this.$refs.editor.clientWidth,this.$refs.editor.classList.remove("hide_children")},update_css_media_style(){this.css_media_style.innerHTML="@media print { @page { size: "+this.page_format_mm[0]+"mm "+this.page_format_mm[1]+"mm; margin: 0 !important; } .hidden-print { display: none !important; } }"},before_print(){this._page_body=document.body;const t=document.createElement("body");t.style.margin="0",t.style.padding="0",t.style.background="white",t.style.font=window.getComputedStyle(this.$refs.editor).font,t.className=this.$refs.editor.className;for(const[i,n]of this.pages.entries()){const e=this.$refs[n.uuid][0],s=e.cloneNode(!0);s.style="",s.style.position="relative",s.style.padding="function"==typeof this.page_margins?this.page_margins(i+1,this.pages.length):this.page_margins,s.style.breakBefore=i?"page":"auto",s.style.overflow="hidden";const a=this.$refs[n.uuid+"-overlay"];if(a&&a[0]){const t=a[0].cloneNode(!0);t.style.position="absolute",t.style.left="0",t.style.top="0",t.style.transform="none",t.style.padding="0",t.style.overflow="hidden",s.prepend(t)}t.append(s)}const e=document.createElement("div");e.className="hidden-print",e.style.position="fixed",e.style.left="0",e.style.top="0",e.style.right="0",e.style.bottom="0",e.style.display="flex",e.style.alignItems="center",e.style.justifyContent="center",e.style.background="rgba(255, 255, 255, 0.95)",e.style.cursor="pointer",e.innerHTML='',e.addEventListener("click",this.after_print),t.append(e),document.body=t},after_print(){document.body=this._page_body,this.update_editor_width()}},watch:{page_format_mm:{async handler(){this.update_css_media_style(),await this.reset_content()}},page_margins:{async handler(){await this.reset_content()}},content:{async handler(){this.prevent_next_content_update_from_parent?this.prevent_next_content_update_from_parent=!1:await this.reset_content()}}}},h=m,p=i(1001),g=(0,p.Z)(h,o,l,!1,null,"3822a990",null),f=g.exports,_=function(){var t=this,e=t._self._c;return e("div",{staticClass:"template"},[t._m(0),e("table",[t._m(1),e("tbody",[e("tr",[t._m(2),e("td",{staticStyle:{"min-width":"250px","text-align":"right"}},[e("div",[e("b",[t._v("Invoice number:")]),t._v(" "),e("span",{attrs:{contenteditable:""},on:{keydown:t.preventLineBreaks}},[t._v(t._s(t.invoice_number))])]),e("div",[e("b",[t._v("Invoice date:")]),t._v(" "),e("span",{attrs:{contenteditable:""},on:{keydown:t.preventLineBreaks}},[t._v(t._s(t.today))])]),e("div",[e("b",[t._v("Order number:")]),t._v(" "),e("span",{attrs:{contenteditable:""},on:{keydown:t.preventLineBreaks}},[t._v("W210984204")])]),e("div",[e("b",[t._v("Order date:")]),t._v(" "),e("span",{attrs:{contenteditable:""},on:{keydown:t.preventLineBreaks}},[t._v(t._s(t.today))])]),e("div",[e("b",[t._v("Your client number:")]),t._v(" "),e("span",{attrs:{contenteditable:""},on:{keydown:t.preventLineBreaks}},[t._v("120948")])])])])])]),e("table",{staticStyle:{margin:"10px 0 35px 0"}},[e("thead",[e("tr",[e("td",{staticStyle:{width:"50%"}},[t._v("BILLING ADDRESS")]),e("td",[t._v("SHIPPING ADDRESS "),e("label",{staticClass:"hide-in-print",staticStyle:{"margin-left":"10px"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.is_shipping_identical,expression:"is_shipping_identical"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.is_shipping_identical)?t._i(t.is_shipping_identical,null)>-1:t.is_shipping_identical},on:{change:function(e){var i=t.is_shipping_identical,n=e.target,s=!!n.checked;if(Array.isArray(i)){var a=null,r=t._i(i,a);n.checked?r<0&&(t.is_shipping_identical=i.concat([a])):r>-1&&(t.is_shipping_identical=i.slice(0,r).concat(i.slice(r+1)))}else t.is_shipping_identical=s}}}),t._v(" Identical ")])])])]),e("tbody",[e("tr",[e("td",{ref:"billing_address",attrs:{contenteditable:""},on:{input:t=>this.billing_address=t.target.innerHTML}}),t.is_shipping_identical?e("td",{attrs:{contenteditable:"false"},domProps:{innerHTML:t._s(t.billing_address)}}):e("td",{attrs:{contenteditable:""}},[t._v("Insert custom shipping address")])])])]),e("h2",[t._v("Your order")]),e("table",{staticClass:"order-table",staticStyle:{"margin-top":"10px"}},[t._m(3),e("tbody",[t._l(t.items,(function(i,n){return e("tr",{key:i.key},[e("td",[e("div",{staticClass:"left-btn hide-in-print",on:{click:()=>t.items.splice(n,1)}},[t._v("➖")]),t._v(t._s(n+1))]),e("td",{attrs:{contenteditable:""}},[t._v(t._s(i.ref))]),e("td",{attrs:{contenteditable:""}},[t._v(t._s(i.desc))]),e("td",{staticStyle:{padding:"0","text-align":"center"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:i.qty,expression:"item.qty"}],staticStyle:{width:"3em"},attrs:{type:"number",min:"1"},domProps:{value:i.qty},on:{input:function(e){e.target.composing||t.$set(i,"qty",e.target.value)}}})]),e("td",{staticStyle:{padding:"0"}},[t._v("€ "),e("input",{directives:[{name:"model",rawName:"v-model",value:i.price,expression:"item.price"}],staticStyle:{width:"4em"},attrs:{type:"number",step:"0.01"},domProps:{value:i.price},on:{input:function(e){e.target.composing||t.$set(i,"price",e.target.value)}}})]),e("td",{staticStyle:{"text-align":"right"}},[t._v("€ "+t._s((i.qty*i.price).toFixed(2)))])])})),e("tr",[e("td",[t.items.length<5?e("div",{staticClass:"left-btn hide-in-print",on:{click:()=>t.items.push({key:Math.random(),ref:"MyRef",desc:"My description",qty:1,price:0})}},[t._v("➕")]):t._e()]),e("td",{staticStyle:{"text-align":"right"},attrs:{colspan:"5"}},[t._v("Sub-total: € "+t._s(t.sub_total.toFixed(2)))])]),e("tr",[e("td",{staticStyle:{"text-align":"right"},attrs:{colspan:"6"}},[t._v("Taxes: "),e("span",{ref:"tax_percent",attrs:{contenteditable:""},on:{input:t=>this.tax_percent=parseFloat(t.target.innerText)}}),t._v("%")])]),e("tr",[e("td",{staticStyle:{"text-align":"right"},attrs:{colspan:"6"}},[t._v("Shipping: € "),e("span",{ref:"shipping",attrs:{contenteditable:""},on:{input:t=>this.shipping=parseFloat(t.target.innerText)}})])]),e("tr",[e("td",{staticStyle:{"text-align":"right","font-weight":"bold"},attrs:{colspan:"6"}},[t._v("Order total: € "+t._s(t.total.toFixed(2)))])])],2)]),e("div",{staticStyle:{"margin-bottom":"20px"}},[t._v("Thank you for your order.")]),e("div",[e("b",[t._v("Payment method:")]),t._v(" "),e("span",{attrs:{contenteditable:""},on:{keydown:t.preventLineBreaks}},[t._v("Bank transfer")])]),e("div",[e("b",[t._v("Payment term:")]),t._v(" "),e("span",{attrs:{contenteditable:""},on:{keydown:t.preventLineBreaks}},[t._v(t._s(t.next_month))])])])},v=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"header"},[e("div",[e("h1",[e("span",{staticClass:"hide-in-print"},[t._v("INTERACTIVE ")]),t._v("INVOICE")]),e("div",{staticClass:"hide-in-print",staticStyle:{"margin-bottom":"10px"}},[t._v('This page is rendered from a "template" Vue.js component.'),e("br"),t._v("You can modify the fields highlighted in green and interact with the buttons without having them in the print. Check out "),e("a",{attrs:{href:"https://github.com/motla/vue-document-editor/blob/master/src/Demo/InvoiceTemplate.vue",target:"_blank"}},[t._v("InvoiceTemplate.vue")])])]),e("div",[e("img",{staticStyle:{width:"80px"},attrs:{src:i(8576)}})])])},function(){var t=this,e=t._self._c;return e("thead",[e("tr",[e("td",[t._v("OUR DETAILS")]),e("td",{staticStyle:{"text-align":"right"}},[t._v("INVOICE DETAILS")])])])},function(){var t=this,e=t._self._c;return e("td",{attrs:{contenteditable:""}},[e("div",[e("b",[t._v("MyCompany")])]),e("div",[t._v("24 Poazkz Pazoek")]),e("div",[t._v("89232 Oijzrazro")]),e("div",[t._v("FRIGNEDRY")]),e("div",[t._v("AB251648730890")])])},function(){var t=this,e=t._self._c;return e("thead",[e("tr",{staticStyle:{"font-size":"13px"}},[e("td",[t._v("ITEM #")]),e("td",[t._v("REFERENCE")]),e("td",[t._v("DESIGNATION")]),e("td",[t._v("QUANTITY")]),e("td",[t._v("UNIT PRICE")]),e("td",{staticStyle:{"text-align":"right"}},[t._v("TOTAL PRICE")])])])}],y={props:{invoice_number:String},data(){return{is_shipping_identical:!0,billing_address:"M. John Doe
98 Ooezfjefoi Laozdij
09823 Ljeiznr
FOPKSOFOF
AC310592815039",items:[{key:Math.random(),ref:"X3000",desc:"My great product",qty:1,price:299}],tax_percent:20,shipping:15}},mounted(){this.$refs.billing_address.innerHTML=this.billing_address,this.$refs.tax_percent.innerHTML=this.tax_percent,this.$refs.shipping.innerHTML=this.shipping+".00"},computed:{today(){var t=new Date;return t.toJSON().slice(0,10).replace(/-/g,".")},next_month(){var t=new Date;return t.setDate(t.getDate()+30),t.toJSON().slice(0,10).replace(/-/g,".")},sub_total(){return this.items.reduce(((t,e)=>t+e.qty*e.price),0)},total(){return this.sub_total*(1+this.tax_percent/100)+this.shipping}},methods:{preventLineBreaks(t){13==t.which&&t.preventDefault()}}},b=y,x=(0,p.Z)(b,_,v,!1,null,"7904a742",null),k=x.exports,w={components:{VueDocumentEditor:f,VueFileToolbarMenu:r.Z},data(){return{content:['

Hello world!

This is a rich-text editor built on top of Vue.js using the native contenteditable browser implementation and some JavaScript trickery to spread content over paper-sized pages.

Built-in functionality includes:

  • Using Vue.js components as interactive page templates (see next page)
  • Word-by-word page splitting with forward and backward propagation (still experimental)
  • Native Print compatible
  • Dynamic document format and margins in millimeters
  • Custom page overlays (headers, footers, page numbers)
  • Page breaks
  • Smart zoom and page display modes
  • Computes text style at caret position

This library may be useful if you design an application that generate documents and you would let the user to modify them slightly before printing / saving, but with limited / interactive possibilities. It does not intend to replace a proper document editor with full functionality.
Make sure this project is suitable to your needs before using it.

This demo adds:

  • The top bar (vue-file-toolbar-menu component) and the functions associated with it
  • Rewritten history stack (undo/redo) compatible with native commands
  • Pinch and trackpad zooming

Check out the Demo.vue file if you need to add these functionalities to your application.

The link below is an example of non-editable block set with contenteditable="false":

View docs on Github, you can\'t edit me.

But you can still edit this.

',{template:k,props:{invoice_number:"AB38052985"}},'

Headers / footers example


Page numbers have been added on every page of this document.
Header and footer overlays will be added from page 3 to all subsequent ones.

Check out the overlay method of the Demo.vue file to customize this.','

«

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. Duis arcu massa, scelerisque vitae, consequat in, pretium a, enim. Pellentesque congue. Ut in risus volutpat libero pharetra tempor. Cras vestibulum bibendum augue. Praesent egestas leo in pede. Praesent blandit odio eu enim. Pellentesque sed dui ut augue blandit sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam nibh. Mauris ac mauris sed pede pellentesque fermentum. Maecenas adipiscing ante non diam sodales hendrerit.

Ut velit mauris, egestas sed, gravida nec, ornare ut, mi. Aenean ut orci vel massa suscipit pulvinar. Nulla sollicitudin. Fusce varius, ligula non tempus aliquam, nunc turpis ullamcorper nibh, in tempus sapien eros vitae ligula. Pellentesque rhoncus nunc et augue. Integer id felis. Curabitur aliquet pellentesque diam. Integer quis metus vitae elit lobortis egestas. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi vel erat non mauris convallis vehicula. Nulla et sapien. Integer tortor tellus, aliquam faucibus, convallis id, congue eu, quam. Mauris ullamcorper felis vitae erat. Proin feugiat, augue non elementum posuere, metus purus iaculis lectus, et tristique ligula justo vitae magna.

Aliquam convallis sollicitudin purus. Praesent aliquam, enim at fermentum mollis, ligula massa adipiscing nisl, ac euismod nibh nisl eu lectus. Fusce vulputate sem at sapien. Vivamus leo. Aliquam euismod libero eu enim. Nulla nec felis sed leo placerat imperdiet. Aenean suscipit nulla in justo. Suspendisse cursus rutrum augue. Nulla tincidunt tincidunt mi. Curabitur iaculis, lorem vel rhoncus faucibus, felis magna fermentum augue, et ultricies lacus lorem varius purus. Curabitur eu amet.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. Duis arcu massa, scelerisque vitae, consequat in, pretium a, enim. Pellentesque congue. Ut in risus volutpat libero pharetra tempor. Cras vestibulum bibendum augue. Praesent egestas leo in pede. Praesent blandit odio eu enim. Pellentesque sed dui ut augue blandit sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam nibh. Mauris ac mauris sed pede pellentesque fermentum. Maecenas adipiscing ante non diam sodales hendrerit.

Ut velit mauris, egestas sed, gravida nec, ornare ut, mi. Aenean ut orci vel massa suscipit pulvinar. Nulla sollicitudin. Fusce varius, ligula non tempus aliquam, nunc turpis ullamcorper nibh, in tempus sapien eros vitae ligula. Pellentesque rhoncus nunc et augue. Integer id felis. Curabitur aliquet pellentesque diam. Integer quis metus vitae elit lobortis egestas. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi vel erat non mauris convallis vehicula. Nulla et sapien. Integer tortor tellus, aliquam faucibus, convallis id, congue eu, quam. Mauris ullamcorper felis vitae erat. Proin feugiat, augue non elementum posuere, metus purus iaculis lectus, et tristique ligula justo vitae magna.

Aliquam convallis sollicitudin purus. Praesent aliquam, enim at fermentum mollis, ligula massa adipiscing nisl, ac euismod nibh nisl eu lectus. Fusce vulputate sem at sapien. Vivamus leo. Aliquam euismod libero eu enim. Nulla nec felis sed leo placerat imperdiet. Aenean suscipit nulla in justo. Suspendisse cursus rutrum augue. Nulla tincidunt tincidunt mi. Curabitur iaculis, lorem vel rhoncus faucibus, felis magna fermentum augue, et ultricies lacus lorem varius purus. Curabitur eu amet.

»

','

--- This is a page break. ---

'],zoom:.8,zoom_min:.1,zoom_max:5,page_format_mm:[210,297],page_margins:"10mm 15mm",display:"grid",mounted:!1,undo_count:-1,content_history:[]}},created(){let t=!1,e=!1,i=!1;window.addEventListener("wheel",(t=>{t.ctrlKey&&(t.preventDefault(),this.zoom=Math.min(Math.max(this.zoom-.01*t.deltaY,this.zoom_min),this.zoom_max))}),{passive:!1}),window.addEventListener("gesturestart",(e=>{e.preventDefault(),t=this.zoom})),window.addEventListener("gesturechange",(e=>{e.preventDefault(),i||(this.zoom=Math.min(Math.max(t*e.scale,this.zoom_min),this.zoom_max))})),window.addEventListener("gestureend",(()=>{t=!1})),window.addEventListener("touchstart",(t=>{2==t.touches.length&&(t.preventDefault(),e=Math.hypot(t.touches[0].pageX-t.touches[1].pageX,t.touches[0].pageY-t.touches[1].pageY),i=this.zoom)}),{passive:!1}),window.addEventListener("touchmove",(t=>{if(e&&i){t.preventDefault();let n=i*Math.hypot(t.touches[0].pageX-t.touches[1].pageX,t.touches[0].pageY-t.touches[1].pageY)/e;this.zoom=Math.min(Math.max(n,this.zoom_min),this.zoom_max)}}),{passive:!1}),window.addEventListener("touchend",(()=>{e=!1,i=!1}),{passive:!1});const n=t=>{switch(t&&t.inputType){case"historyUndo":t.preventDefault(),t.stopPropagation(),this.undo();break;case"historyRedo":t.preventDefault(),t.stopPropagation(),this.redo();break}};window.addEventListener("beforeinput",n),window.addEventListener("input",n)},mounted(){this.mounted=!0},computed:{menu(){return[{text:"New",title:"New",icon:"description",click:()=>{confirm("This will create an empty document. Are you sure?")&&(this.content=[""],this.resetContentHistory())}},{text:"Print",title:"Print",icon:"print",click:()=>window.print()},{is:"spacer"},{title:"Undo",icon:"undo",disabled:!this.can_undo,hotkey:this.isMacLike?"command+z":"ctrl+z",click:()=>this.undo()},{title:"Redo",icon:"redo",disabled:!this.can_redo,hotkey:this.isMacLike?"shift+command+z":"ctrl+y",click:()=>this.redo()},{is:"spacer"},{icon:"format_align_left",title:"Align left",active:this.isLeftAligned,disabled:!this.current_text_style,hotkey:this.isMacLike?"shift+command+l":"ctrl+shift+l",click:()=>document.execCommand("justifyLeft")},{icon:"format_align_center",title:"Align center",active:this.isCentered,disabled:!this.current_text_style,hotkey:this.isMacLike?"shift+command+e":"ctrl+shift+e",click:()=>document.execCommand("justifyCenter")},{icon:"format_align_right",title:"Align right",active:this.isRightAligned,disabled:!this.current_text_style,hotkey:this.isMacLike?"shift+command+r":"ctrl+shift+r",click:()=>document.execCommand("justifyRight")},{icon:"format_align_justify",title:"Justify content",active:this.isJustified,disabled:!this.current_text_style,hotkey:this.isMacLike?"shift+command+j":"ctrl+shift+j",click:()=>document.execCommand("justifyFull")},{is:"separator"},{icon:"format_bold",title:"Bold",active:this.isBold,disabled:!this.current_text_style,hotkey:this.isMacLike?"command+b":"ctrl+b",click:()=>document.execCommand("bold")},{icon:"format_italic",title:"Italic",active:this.isItalic,disabled:!this.current_text_style,hotkey:this.isMacLike?"command+i":"ctrl+i",click:()=>document.execCommand("italic")},{icon:"format_underline",title:"Underline",active:this.isUnderline,disabled:!this.current_text_style,hotkey:this.isMacLike?"command+u":"ctrl+u",click:()=>document.execCommand("underline")},{icon:"format_strikethrough",title:"Strike through",active:this.isStrikeThrough,disabled:!this.current_text_style,click:()=>document.execCommand("strikethrough")},{is:"button-color",type:"compact",menu_class:"align-center",disabled:!this.current_text_style,color:this.curColor,update_color:t=>document.execCommand("foreColor",!1,t.hex8)},{is:"separator"},{icon:"format_list_numbered",title:"Numbered list",active:this.isNumberedList,disabled:!this.current_text_style,click:()=>document.execCommand("insertOrderedList")},{icon:"format_list_bulleted",title:"Bulleted list",active:this.isBulletedList,disabled:!this.current_text_style,click:()=>document.execCommand("insertUnorderedList")},{html:"H1",title:"Header 1",active:this.isH1,disabled:!this.current_text_style,click:()=>document.execCommand("formatBlock",!1,"

")},{html:"H2",title:"Header 2",active:this.isH2,disabled:!this.current_text_style,click:()=>document.execCommand("formatBlock",!1,"

")},{html:"H3",title:"Header 3",active:this.isH3,disabled:!this.current_text_style,click:()=>document.execCommand("formatBlock",!1,"

")},{icon:"format_clear",title:"Clear format",disabled:!this.current_text_style,click(){document.execCommand("removeFormat"),document.execCommand("formatBlock",!1,"
")}},{icon:"splitscreen",title:"Page break",disabled:!this.current_text_style,click:()=>this.insertPageBreak()},{is:"spacer"},{text:this.current_format_name,title:"Format",icon:"crop_free",chevron:!0,menu:this.formats.map((([t,e,i])=>({text:t,active:this.page_format_mm[0]==e&&this.page_format_mm[1]==i,click:()=>{this.page_format_mm=[e,i]}}))),menu_width:80,menu_height:280},{text:this.current_margins_name,title:"Margins",icon:"select_all",chevron:!0,menu:this.margins.map((([t,e])=>({text:t+" ("+e+")",active:this.page_margins==e,click:()=>{this.page_margins=e}}))),menu_width:200,menu_class:"align-center"},{text:Math.floor(100*this.zoom)+"%",title:"Zoom",icon:"zoom_in",chevron:!0,menu:[["200%",2],["150%",1.5],["125%",1.25],["100%",1],["75%",.75],["50%",.5],["25%",.25]].map((([t,e])=>({text:t,active:this.zoom==e,click:()=>{this.zoom=e}}))),menu_width:80,menu_height:280,menu_class:"align-center"},{title:"Display",icon:"horizontal"==this.display?"view_column":"vertical"==this.display?"view_stream":"view_module",chevron:!0,menu:[{icon:"view_module",active:"grid"==this.display,click:()=>{this.display="grid"}},{icon:"view_column",active:"horizontal"==this.display,click:()=>{this.display="horizontal"}},{icon:"view_stream",active:"vertical"==this.display,click:()=>{this.display="vertical"}}],menu_width:55,menu_class:"align-right"}]},current_format_name(){const t=this.formats.find((([,t,e])=>this.page_format_mm[0]==t&&this.page_format_mm[1]==e));return t?t[0]:this.page_format_mm[0]+"mm x "+this.page_format_mm[1]+"mm"},formats:()=>[["A0",841,1189],["A0L",1189,841],["A1",594,841],["A1L",841,594],["A2",420,594],["A2L",594,420],["A3",297,420],["A3L",420,297],["A4",210,297],["A4L",297,210],["A5",148,210],["A5L",210,148],["A6",105,148],["A6L",148,105]],current_margins_name(){const t=this.margins.find((([,t])=>this.page_margins==t));return t?t[0]:this.page_margins},margins:()=>[["Medium","20mm"],["Small","15mm"],["Slim","10mm 15mm"],["Tiny","5mm"]],current_text_style(){return!!this.mounted&&this.$refs.editor.current_text_style},isLeftAligned(){return["start","left","-moz-left"].includes(this.current_text_style.textAlign)},isRightAligned(){return["end","right","-moz-right"].includes(this.current_text_style.textAlign)},isCentered(){return["center","-moz-center"].includes(this.current_text_style.textAlign)},isJustified(){return["justify","justify-all"].includes(this.current_text_style.textAlign)},isBold(){const t=this.current_text_style.fontWeight;return t&&(parseInt(t)>400||0==t.indexOf("bold"))},isItalic(){return"italic"==this.current_text_style.fontStyle},isUnderline(){const t=this.current_text_style.textDecorationStack;return t&&t.some((t=>0==t.indexOf("underline")))},isStrikeThrough(){const t=this.current_text_style.textDecorationStack;return t&&t.some((t=>0==t.indexOf("line-through")))},isNumberedList(){return this.current_text_style.isList&&"decimal"==this.current_text_style.listStyleType},isBulletedList(){return this.current_text_style.isList&&["disc","circle"].includes(this.current_text_style.listStyleType)},isH1(){return 1==this.current_text_style.headerLevel},isH2(){return 2==this.current_text_style.headerLevel},isH3(){return 3==this.current_text_style.headerLevel},curColor(){return this.current_text_style.color||"transparent"},isMacLike:()=>/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform),can_undo(){return this.undo_count>0},can_redo(){return this.content_history.length-this.undo_count-1>0}},methods:{overlay(t,e){let i='
Page '+t+" of "+e+"
";return t>=3&&(i+='
MYCOMPANY example.com /// This is a custom header overlay
',i+='
Copyright (c) 2020 Romain Lamothe, MIT License /// This is a custom footer overlay
'),i},undo(){this.can_undo&&(this._mute_next_content_watcher=!0,this.content=this.content_history[--this.undo_count])},redo(){this.can_redo&&(this._mute_next_content_watcher=!0,this.content=this.content_history[++this.undo_count])},resetContentHistory(){this.content_history=[],this.undo_count=-1},async insertPageBreak(){document.execCommand("insertParagraph");const t="###PB###";document.execCommand("insertText",!1,t),await this.$nextTick();const e=new RegExp("<(p|div|h\\d)( [^/>]+)*>(<[^/>]+>)*"+t);for(let i=0;i"+a),void this.content.splice(i,1,n.substr(0,s.index),e+a)}}for(let i=0;it(L)}).$mount("#app")},8576:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE0IDc5LjE1Njc5NywgMjAxNC8wOC8yMC0wOTo1MzowMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwL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var a=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(a.exports,a,a.exports,i),a.loaded=!0,a.exports}i.m=t,function(){var t=[];i.O=function(e,n,s,a){if(!n){var r=1/0;for(d=0;d=a)&&Object.keys(i.O).every((function(t){return i.O[t](n[l])}))?n.splice(l--,1):(o=!1,a0&&t[d-1][2]>a;d--)t[d]=t[d-1];t[d]=[n,s,a]}}(),function(){i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,{a:e}),e}}(),function(){i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}}(),function(){i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){i.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t}}(),function(){var t={143:0};i.O.j=function(e){return 0===t[e]};var e=function(e,n){var s,a,r=n[0],o=n[1],l=n[2],c=0;if(r.some((function(e){return 0!==t[e]}))){for(s in o)i.o(o,s)&&(i.m[s]=o[s]);if(l)var d=l(i)}for(e&&e(n);c{const i=c(t,e.s_tag);i&&e.childNodes.length?n(i,e.firstChild):(t.append(e),t.normalize())};n(t,i)}}var m={props:{content:{type:Array,required:!0},display:{type:String,default:"grid"},editable:{type:Boolean,default:!0},overlay:Function,page_format_mm:{type:Array,default:()=>[210,297]},page_margins:{type:[String,Function],default:"10mm 15mm"},zoom:{type:Number,default:1},do_not_break:Function},data(){return{pages:[],pages_height:0,editor_width:0,prevent_next_content_update_from_parent:!1,current_text_style:!1}},mounted(){this.update_editor_width(),this.update_css_media_style(),this.reset_content(),window.addEventListener("resize",this.update_editor_width),window.addEventListener("click",this.process_current_text_style),window.addEventListener("beforeprint",this.before_print),window.addEventListener("afterprint",this.after_print)},beforeDestroy(){window.removeEventListener("resize",this.update_editor_width),window.removeEventListener("click",this.process_current_text_style),window.removeEventListener("beforeprint",this.before_print),window.removeEventListener("afterprint",this.after_print)},computed:{css_media_style(){const t=document.createElement("style");return document.head.appendChild(t),t}},methods:{new_uuid:()=>Math.random().toString(36).slice(-5),async reset_content(){if(!this.content.length)return void this.$emit("update:content",[""]);this.pages=this.content.length?this.content.map(((t,e)=>({uuid:this.new_uuid(),content_idx:e,template:t.template,props:t.props}))):[{uuid:this.new_uuid(),content_idx:0}],await this.$nextTick();const t=this.$refs[this.pages[0].uuid][0];this.$refs.content.contains(t)||this.$refs.content.appendChild(t),this.pages_height=t.clientHeight+1;for(const e of this.pages){const t=this.$refs[e.uuid][0];this.content[e.content_idx]?"string"==typeof this.content[e.content_idx]&&(t.innerHTML="
"+this.content[e.content_idx]+"
"):t.innerHTML="

",this.$refs.content.contains(t)||this.$refs.content.appendChild(t)}await this.fit_content_over_pages(),this.$refs.content.blur()},async fit_content_over_pages(){if(!this.pages_height)return;for(let s=this.pages.length-1;s>=0;s--){const t=this.pages[s],e=this.$refs[t.uuid]&&this.$refs[t.uuid][0];e&&document.body.contains(e)||this.pages.splice(s,1)}if(!this.pages.length)return void this.$emit("update:content",[""]);const t=window.getSelection(),e=document.createElement("null"),i=document.createElement("null");if(t.rangeCount){const n=t.getRangeAt(0);n.insertNode(e),n.collapse(!1),n.insertNode(i)}let n=!1;for(let s=0;s!a.childNodes.length||e.clientHeight>this.pages_height)),a.childNodes.length||this.pages.splice(s+1,1)),e.clientHeight>this.pages_height&&(i&&i.content_idx==t.content_idx||(i={uuid:this.new_uuid(),content_idx:t.content_idx},this.pages.splice(s+1,0,i),await this.$nextTick(),a=this.$refs[i.uuid][0]),d(e,a,(()=>e.clientHeight<=this.pages_height),this.do_not_break)))}if(document.body.contains(e)){const n=document.createRange();n.setStart(e,0),document.body.contains(i)&&n.setEnd(i,0),t.removeAllRanges(),t.addRange(n)}e.parentElement&&e.parentElement.removeChild(e),i.parentElement&&i.parentElement.removeChild(i);for(const s of this.pages){const t=this.$refs[s.uuid][0];t.normalize(),s.prev_innerHTML=t.innerHTML}},async input(t){t&&(await this.fit_content_over_pages(),this.emit_new_content(),"insertText"!=t.inputType&&this.process_current_text_style())},keydown(t){if(8==t.keyCode&&this.content.length<=1&&"string"==typeof this.content[0]){const e=this.content[0].replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?>|<\/\w+>/gi,"");e||t.preventDefault()}},emit_new_content(){let t=!1;const e=this.content.map(((e,i)=>{const n=this.pages.filter((t=>t.content_idx==i));return n.length?"string"==typeof e?n.map((t=>{let e=this.$refs[t.uuid][0];while(1==e.children.length&&e.firstChild.tagName&&"div"==e.firstChild.tagName.toLowerCase()&&!e.firstChild.getAttribute("style"))e=e.firstChild;return e.innerHTML})).join("")||!1:{template:e.template,props:{...e.props}}:(t=!0,!1)})).filter((t=>0!=t));t||(this.prevent_next_content_update_from_parent=!0),this.$emit("update:content",e)},process_current_text_style(){let t=!1;const e=window.getSelection();if(e.focusNode){const i=e.focusNode.tagName?e.focusNode:e.focusNode.parentElement;if(i&&i.isContentEditable){t=window.getComputedStyle(i),t.textDecorationStack=[],t.headerLevel=0,t.isList=!1;let e=i;while(e){const i=window.getComputedStyle(e);if(t.textDecorationStack.push(i.textDecoration),"list-item"==i.display&&(t.isList=!0),!t.headerLevel)for(let n=1;n<=6;n++)if(e.tagName.toUpperCase()=="H"+n){t.headerLevel=n;break}e=e.parentElement}}}this.current_text_style=t},page_style(t,e){const i=.2645833333333,n=this.page_format_mm[0]/i,s=10,a=(s+this.page_format_mm[0])*this.zoom/i,r=20,o=this.editor_width-2*r;let l,c,d,u,m,h,p,g=1;if("horizontal"==this.display)o>this.pages.length*a?(g=Math.floor(o/a),u=o/(2*g)*(1+2*t)-n/2):(g=this.pages.length,u=a*t+n/2*(this.zoom-1)),m=0,h=this.zoom*(this.page_format_mm[0]*g+(g-1)*s),p=this.page_format_mm[1]*this.zoom;else{g=Math.floor(o/a),(g<1||"vertical"==this.display)&&(g=1),l=t%g,c=o/(2*g)*(1+2*l)-n/2,d=Math.max(0,(n*this.zoom-o)/2),u=c+d,m=(this.page_format_mm[1]+s)*this.zoom*Math.floor(t/g);const e=Math.ceil(this.pages.length/g);h=this.zoom*(this.page_format_mm[0]*g+(g-1)*s),p=this.zoom*(this.page_format_mm[1]*e+(e-1)*s)}if(t>=0){const i={position:"absolute",left:"calc("+u+"px + "+r+"px)",top:"calc("+m+"mm + "+r+"px)",width:this.page_format_mm[0]+"mm",padding:"function"==typeof this.page_margins?this.page_margins(t+1,this.pages.length):this.page_margins,transform:"scale("+this.zoom+")"};return i[e?"minHeight":"height"]=this.page_format_mm[1]+"mm",i}return{width:"calc("+h+"mm + "+2*r+"px)",height:"calc("+p+"mm + "+2*r+"px)"}},update_editor_width(){this.$refs.editor.classList.add("hide_children"),this.editor_width=this.$refs.editor.clientWidth,this.$refs.editor.classList.remove("hide_children")},update_css_media_style(){this.css_media_style.innerHTML="@media print { @page { size: "+this.page_format_mm[0]+"mm "+this.page_format_mm[1]+"mm; margin: 0 !important; } .hidden-print { display: none !important; } }"},before_print(){this._page_body=document.body;const t=document.createElement("body");t.style.margin="0",t.style.padding="0",t.style.background="white",t.style.font=window.getComputedStyle(this.$refs.editor).font,t.className=this.$refs.editor.className;for(const[i,n]of this.pages.entries()){const e=this.$refs[n.uuid][0],s=e.cloneNode(!0);s.style="",s.style.position="relative",s.style.padding="function"==typeof this.page_margins?this.page_margins(i+1,this.pages.length):this.page_margins,s.style.breakBefore=i?"page":"auto",s.style.width="calc("+this.page_format_mm[0]+"mm - 2px)",s.style.height="calc("+this.page_format_mm[1]+"mm - 2px)",s.style.boxSizing="border-box",s.style.overflow="hidden";const a=this.$refs[n.uuid+"-overlay"];if(a&&a[0]){const t=a[0].cloneNode(!0);t.style.position="absolute",t.style.left="0",t.style.top="0",t.style.transform="none",t.style.padding="0",t.style.overflow="hidden",s.prepend(t)}t.append(s)}const e=document.createElement("div");e.className="hidden-print",e.style.position="fixed",e.style.left="0",e.style.top="0",e.style.right="0",e.style.bottom="0",e.style.display="flex",e.style.alignItems="center",e.style.justifyContent="center",e.style.background="rgba(255, 255, 255, 0.95)",e.style.cursor="pointer",e.innerHTML='',e.addEventListener("click",this.after_print),t.append(e),document.body=t},after_print(){document.body=this._page_body,this.update_editor_width()}},watch:{page_format_mm:{async handler(){this.update_css_media_style(),await this.reset_content()}},page_margins:{async handler(){await this.reset_content()}},content:{async handler(){this.prevent_next_content_update_from_parent?this.prevent_next_content_update_from_parent=!1:await this.reset_content()}}}},h=m,p=i(1001),g=(0,p.Z)(h,o,l,!1,null,"214528ab",null),f=g.exports,_=function(){var t=this,e=t._self._c;return e("div",{staticClass:"template"},[t._m(0),e("table",[t._m(1),e("tbody",[e("tr",[t._m(2),e("td",{staticStyle:{"min-width":"250px","text-align":"right"}},[e("div",[e("b",[t._v("Invoice number:")]),t._v(" "),e("span",{attrs:{contenteditable:""},on:{keydown:t.preventLineBreaks}},[t._v(t._s(t.invoice_number))])]),e("div",[e("b",[t._v("Invoice date:")]),t._v(" "),e("span",{attrs:{contenteditable:""},on:{keydown:t.preventLineBreaks}},[t._v(t._s(t.today))])]),e("div",[e("b",[t._v("Order number:")]),t._v(" "),e("span",{attrs:{contenteditable:""},on:{keydown:t.preventLineBreaks}},[t._v("W210984204")])]),e("div",[e("b",[t._v("Order date:")]),t._v(" "),e("span",{attrs:{contenteditable:""},on:{keydown:t.preventLineBreaks}},[t._v(t._s(t.today))])]),e("div",[e("b",[t._v("Your client number:")]),t._v(" "),e("span",{attrs:{contenteditable:""},on:{keydown:t.preventLineBreaks}},[t._v("120948")])])])])])]),e("table",{staticStyle:{margin:"10px 0 35px 0"}},[e("thead",[e("tr",[e("td",{staticStyle:{width:"50%"}},[t._v("BILLING ADDRESS")]),e("td",[t._v("SHIPPING ADDRESS "),e("label",{staticClass:"hide-in-print",staticStyle:{"margin-left":"10px"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.is_shipping_identical,expression:"is_shipping_identical"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.is_shipping_identical)?t._i(t.is_shipping_identical,null)>-1:t.is_shipping_identical},on:{change:function(e){var i=t.is_shipping_identical,n=e.target,s=!!n.checked;if(Array.isArray(i)){var a=null,r=t._i(i,a);n.checked?r<0&&(t.is_shipping_identical=i.concat([a])):r>-1&&(t.is_shipping_identical=i.slice(0,r).concat(i.slice(r+1)))}else t.is_shipping_identical=s}}}),t._v(" Identical ")])])])]),e("tbody",[e("tr",[e("td",{ref:"billing_address",attrs:{contenteditable:""},on:{input:t=>this.billing_address=t.target.innerHTML}}),t.is_shipping_identical?e("td",{attrs:{contenteditable:"false"},domProps:{innerHTML:t._s(t.billing_address)}}):e("td",{attrs:{contenteditable:""}},[t._v("Insert custom shipping address")])])])]),e("h2",[t._v("Your order")]),e("table",{staticClass:"order-table",staticStyle:{"margin-top":"10px"}},[t._m(3),e("tbody",[t._l(t.items,(function(i,n){return e("tr",{key:i.key},[e("td",[e("div",{staticClass:"left-btn hide-in-print",on:{click:()=>t.items.splice(n,1)}},[t._v("➖")]),t._v(t._s(n+1))]),e("td",{attrs:{contenteditable:""}},[t._v(t._s(i.ref))]),e("td",{attrs:{contenteditable:""}},[t._v(t._s(i.desc))]),e("td",{staticStyle:{padding:"0","text-align":"center"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:i.qty,expression:"item.qty"}],staticStyle:{width:"3em"},attrs:{type:"number",min:"1"},domProps:{value:i.qty},on:{input:function(e){e.target.composing||t.$set(i,"qty",e.target.value)}}})]),e("td",{staticStyle:{padding:"0"}},[t._v("€ "),e("input",{directives:[{name:"model",rawName:"v-model",value:i.price,expression:"item.price"}],staticStyle:{width:"4em"},attrs:{type:"number",step:"0.01"},domProps:{value:i.price},on:{input:function(e){e.target.composing||t.$set(i,"price",e.target.value)}}})]),e("td",{staticStyle:{"text-align":"right"}},[t._v("€ "+t._s((i.qty*i.price).toFixed(2)))])])})),e("tr",[e("td",[t.items.length<5?e("div",{staticClass:"left-btn hide-in-print",on:{click:()=>t.items.push({key:Math.random(),ref:"MyRef",desc:"My description",qty:1,price:0})}},[t._v("➕")]):t._e()]),e("td",{staticStyle:{"text-align":"right"},attrs:{colspan:"5"}},[t._v("Sub-total: € "+t._s(t.sub_total.toFixed(2)))])]),e("tr",[e("td",{staticStyle:{"text-align":"right"},attrs:{colspan:"6"}},[t._v("Taxes: "),e("span",{ref:"tax_percent",attrs:{contenteditable:""},on:{input:t=>this.tax_percent=parseFloat(t.target.innerText)}}),t._v("%")])]),e("tr",[e("td",{staticStyle:{"text-align":"right"},attrs:{colspan:"6"}},[t._v("Shipping: € "),e("span",{ref:"shipping",attrs:{contenteditable:""},on:{input:t=>this.shipping=parseFloat(t.target.innerText)}})])]),e("tr",[e("td",{staticStyle:{"text-align":"right","font-weight":"bold"},attrs:{colspan:"6"}},[t._v("Order total: € "+t._s(t.total.toFixed(2)))])])],2)]),e("div",{staticStyle:{"margin-bottom":"20px"}},[t._v("Thank you for your order.")]),e("div",[e("b",[t._v("Payment method:")]),t._v(" "),e("span",{attrs:{contenteditable:""},on:{keydown:t.preventLineBreaks}},[t._v("Bank transfer")])]),e("div",[e("b",[t._v("Payment term:")]),t._v(" "),e("span",{attrs:{contenteditable:""},on:{keydown:t.preventLineBreaks}},[t._v(t._s(t.next_month))])])])},v=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"header"},[e("div",[e("h1",[e("span",{staticClass:"hide-in-print"},[t._v("INTERACTIVE ")]),t._v("INVOICE")]),e("div",{staticClass:"hide-in-print",staticStyle:{"margin-bottom":"10px"}},[t._v('This page is rendered from a "template" Vue.js component.'),e("br"),t._v("You can modify the fields highlighted in green and interact with the buttons without having them in the print. Check out "),e("a",{attrs:{href:"https://github.com/motla/vue-document-editor/blob/master/src/Demo/InvoiceTemplate.vue",target:"_blank"}},[t._v("InvoiceTemplate.vue")])])]),e("div",[e("img",{staticStyle:{width:"80px"},attrs:{src:i(8576)}})])])},function(){var t=this,e=t._self._c;return e("thead",[e("tr",[e("td",[t._v("OUR DETAILS")]),e("td",{staticStyle:{"text-align":"right"}},[t._v("INVOICE DETAILS")])])])},function(){var t=this,e=t._self._c;return e("td",{attrs:{contenteditable:""}},[e("div",[e("b",[t._v("MyCompany")])]),e("div",[t._v("24 Poazkz Pazoek")]),e("div",[t._v("89232 Oijzrazro")]),e("div",[t._v("FRIGNEDRY")]),e("div",[t._v("AB251648730890")])])},function(){var t=this,e=t._self._c;return e("thead",[e("tr",{staticStyle:{"font-size":"13px"}},[e("td",[t._v("ITEM #")]),e("td",[t._v("REFERENCE")]),e("td",[t._v("DESIGNATION")]),e("td",[t._v("QUANTITY")]),e("td",[t._v("UNIT PRICE")]),e("td",{staticStyle:{"text-align":"right"}},[t._v("TOTAL PRICE")])])])}],y={props:{invoice_number:String},data(){return{is_shipping_identical:!0,billing_address:"M. John Doe
98 Ooezfjefoi Laozdij
09823 Ljeiznr
FOPKSOFOF
AC310592815039",items:[{key:Math.random(),ref:"X3000",desc:"My great product",qty:1,price:299}],tax_percent:20,shipping:15}},mounted(){this.$refs.billing_address.innerHTML=this.billing_address,this.$refs.tax_percent.innerHTML=this.tax_percent,this.$refs.shipping.innerHTML=this.shipping+".00"},computed:{today(){var t=new Date;return t.toJSON().slice(0,10).replace(/-/g,".")},next_month(){var t=new Date;return t.setDate(t.getDate()+30),t.toJSON().slice(0,10).replace(/-/g,".")},sub_total(){return this.items.reduce(((t,e)=>t+e.qty*e.price),0)},total(){return this.sub_total*(1+this.tax_percent/100)+this.shipping}},methods:{preventLineBreaks(t){13==t.which&&t.preventDefault()}}},b=y,x=(0,p.Z)(b,_,v,!1,null,"7904a742",null),k=x.exports,w={components:{VueDocumentEditor:f,VueFileToolbarMenu:r.Z},data(){return{content:['

Hello world!

This is a rich-text editor built on top of Vue.js using the native contenteditable browser implementation and some JavaScript trickery to spread content over paper-sized pages.

Built-in functionality includes:

  • Using Vue.js components as interactive page templates (see next page)
  • Word-by-word page splitting with forward and backward propagation (still experimental)
  • Native Print compatible
  • Dynamic document format and margins in millimeters
  • Custom page overlays (headers, footers, page numbers)
  • Page breaks
  • Smart zoom and page display modes
  • Computes text style at caret position

This library may be useful if you design an application that generate documents and you would let the user to modify them slightly before printing / saving, but with limited / interactive possibilities. It does not intend to replace a proper document editor with full functionality.
Make sure this project is suitable to your needs before using it.

This demo adds:

  • The top bar (vue-file-toolbar-menu component) and the functions associated with it
  • Rewritten history stack (undo/redo) compatible with native commands
  • Pinch and trackpad zooming

Check out the Demo.vue file if you need to add these functionalities to your application.

The link below is an example of non-editable block set with contenteditable="false":

View docs on Github, you can\'t edit me.

But you can still edit this.

',{template:k,props:{invoice_number:"AB38052985"}},'

Headers / footers example


Page numbers have been added on every page of this document.
Header and footer overlays will be added from page 3 to all subsequent ones.

Check out the overlay method of the Demo.vue file to customize this.','

«

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. Duis arcu massa, scelerisque vitae, consequat in, pretium a, enim. Pellentesque congue. Ut in risus volutpat libero pharetra tempor. Cras vestibulum bibendum augue. Praesent egestas leo in pede. Praesent blandit odio eu enim. Pellentesque sed dui ut augue blandit sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam nibh. Mauris ac mauris sed pede pellentesque fermentum. Maecenas adipiscing ante non diam sodales hendrerit.

Ut velit mauris, egestas sed, gravida nec, ornare ut, mi. Aenean ut orci vel massa suscipit pulvinar. Nulla sollicitudin. Fusce varius, ligula non tempus aliquam, nunc turpis ullamcorper nibh, in tempus sapien eros vitae ligula. Pellentesque rhoncus nunc et augue. Integer id felis. Curabitur aliquet pellentesque diam. Integer quis metus vitae elit lobortis egestas. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi vel erat non mauris convallis vehicula. Nulla et sapien. Integer tortor tellus, aliquam faucibus, convallis id, congue eu, quam. Mauris ullamcorper felis vitae erat. Proin feugiat, augue non elementum posuere, metus purus iaculis lectus, et tristique ligula justo vitae magna.

Aliquam convallis sollicitudin purus. Praesent aliquam, enim at fermentum mollis, ligula massa adipiscing nisl, ac euismod nibh nisl eu lectus. Fusce vulputate sem at sapien. Vivamus leo. Aliquam euismod libero eu enim. Nulla nec felis sed leo placerat imperdiet. Aenean suscipit nulla in justo. Suspendisse cursus rutrum augue. Nulla tincidunt tincidunt mi. Curabitur iaculis, lorem vel rhoncus faucibus, felis magna fermentum augue, et ultricies lacus lorem varius purus. Curabitur eu amet.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. Duis arcu massa, scelerisque vitae, consequat in, pretium a, enim. Pellentesque congue. Ut in risus volutpat libero pharetra tempor. Cras vestibulum bibendum augue. Praesent egestas leo in pede. Praesent blandit odio eu enim. Pellentesque sed dui ut augue blandit sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam nibh. Mauris ac mauris sed pede pellentesque fermentum. Maecenas adipiscing ante non diam sodales hendrerit.

Ut velit mauris, egestas sed, gravida nec, ornare ut, mi. Aenean ut orci vel massa suscipit pulvinar. Nulla sollicitudin. Fusce varius, ligula non tempus aliquam, nunc turpis ullamcorper nibh, in tempus sapien eros vitae ligula. Pellentesque rhoncus nunc et augue. Integer id felis. Curabitur aliquet pellentesque diam. Integer quis metus vitae elit lobortis egestas. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi vel erat non mauris convallis vehicula. Nulla et sapien. Integer tortor tellus, aliquam faucibus, convallis id, congue eu, quam. Mauris ullamcorper felis vitae erat. Proin feugiat, augue non elementum posuere, metus purus iaculis lectus, et tristique ligula justo vitae magna.

Aliquam convallis sollicitudin purus. Praesent aliquam, enim at fermentum mollis, ligula massa adipiscing nisl, ac euismod nibh nisl eu lectus. Fusce vulputate sem at sapien. Vivamus leo. Aliquam euismod libero eu enim. Nulla nec felis sed leo placerat imperdiet. Aenean suscipit nulla in justo. Suspendisse cursus rutrum augue. Nulla tincidunt tincidunt mi. Curabitur iaculis, lorem vel rhoncus faucibus, felis magna fermentum augue, et ultricies lacus lorem varius purus. Curabitur eu amet.

»

','

--- This is a page break. ---

'],zoom:.8,zoom_min:.1,zoom_max:5,page_format_mm:[210,297],page_margins:"10mm 15mm",display:"grid",mounted:!1,undo_count:-1,content_history:[]}},created(){let t=!1,e=!1,i=!1;window.addEventListener("wheel",(t=>{t.ctrlKey&&(t.preventDefault(),this.zoom=Math.min(Math.max(this.zoom-.01*t.deltaY,this.zoom_min),this.zoom_max))}),{passive:!1}),window.addEventListener("gesturestart",(e=>{e.preventDefault(),t=this.zoom})),window.addEventListener("gesturechange",(e=>{e.preventDefault(),i||(this.zoom=Math.min(Math.max(t*e.scale,this.zoom_min),this.zoom_max))})),window.addEventListener("gestureend",(()=>{t=!1})),window.addEventListener("touchstart",(t=>{2==t.touches.length&&(t.preventDefault(),e=Math.hypot(t.touches[0].pageX-t.touches[1].pageX,t.touches[0].pageY-t.touches[1].pageY),i=this.zoom)}),{passive:!1}),window.addEventListener("touchmove",(t=>{if(e&&i){t.preventDefault();let n=i*Math.hypot(t.touches[0].pageX-t.touches[1].pageX,t.touches[0].pageY-t.touches[1].pageY)/e;this.zoom=Math.min(Math.max(n,this.zoom_min),this.zoom_max)}}),{passive:!1}),window.addEventListener("touchend",(()=>{e=!1,i=!1}),{passive:!1});const n=t=>{switch(t&&t.inputType){case"historyUndo":t.preventDefault(),t.stopPropagation(),this.undo();break;case"historyRedo":t.preventDefault(),t.stopPropagation(),this.redo();break}};window.addEventListener("beforeinput",n),window.addEventListener("input",n)},mounted(){this.mounted=!0},computed:{menu(){return[{text:"New",title:"New",icon:"description",click:()=>{confirm("This will create an empty document. Are you sure?")&&(this.content=[""],this.resetContentHistory())}},{text:"Print",title:"Print",icon:"print",click:()=>window.print()},{is:"spacer"},{title:"Undo",icon:"undo",disabled:!this.can_undo,hotkey:this.isMacLike?"command+z":"ctrl+z",click:()=>this.undo()},{title:"Redo",icon:"redo",disabled:!this.can_redo,hotkey:this.isMacLike?"shift+command+z":"ctrl+y",click:()=>this.redo()},{is:"spacer"},{icon:"format_align_left",title:"Align left",active:this.isLeftAligned,disabled:!this.current_text_style,hotkey:this.isMacLike?"shift+command+l":"ctrl+shift+l",click:()=>document.execCommand("justifyLeft")},{icon:"format_align_center",title:"Align center",active:this.isCentered,disabled:!this.current_text_style,hotkey:this.isMacLike?"shift+command+e":"ctrl+shift+e",click:()=>document.execCommand("justifyCenter")},{icon:"format_align_right",title:"Align right",active:this.isRightAligned,disabled:!this.current_text_style,hotkey:this.isMacLike?"shift+command+r":"ctrl+shift+r",click:()=>document.execCommand("justifyRight")},{icon:"format_align_justify",title:"Justify content",active:this.isJustified,disabled:!this.current_text_style,hotkey:this.isMacLike?"shift+command+j":"ctrl+shift+j",click:()=>document.execCommand("justifyFull")},{is:"separator"},{icon:"format_bold",title:"Bold",active:this.isBold,disabled:!this.current_text_style,hotkey:this.isMacLike?"command+b":"ctrl+b",click:()=>document.execCommand("bold")},{icon:"format_italic",title:"Italic",active:this.isItalic,disabled:!this.current_text_style,hotkey:this.isMacLike?"command+i":"ctrl+i",click:()=>document.execCommand("italic")},{icon:"format_underline",title:"Underline",active:this.isUnderline,disabled:!this.current_text_style,hotkey:this.isMacLike?"command+u":"ctrl+u",click:()=>document.execCommand("underline")},{icon:"format_strikethrough",title:"Strike through",active:this.isStrikeThrough,disabled:!this.current_text_style,click:()=>document.execCommand("strikethrough")},{is:"button-color",type:"compact",menu_class:"align-center",disabled:!this.current_text_style,color:this.curColor,update_color:t=>document.execCommand("foreColor",!1,t.hex8)},{is:"separator"},{icon:"format_list_numbered",title:"Numbered list",active:this.isNumberedList,disabled:!this.current_text_style,click:()=>document.execCommand("insertOrderedList")},{icon:"format_list_bulleted",title:"Bulleted list",active:this.isBulletedList,disabled:!this.current_text_style,click:()=>document.execCommand("insertUnorderedList")},{html:"H1",title:"Header 1",active:this.isH1,disabled:!this.current_text_style,click:()=>document.execCommand("formatBlock",!1,"

")},{html:"H2",title:"Header 2",active:this.isH2,disabled:!this.current_text_style,click:()=>document.execCommand("formatBlock",!1,"

")},{html:"H3",title:"Header 3",active:this.isH3,disabled:!this.current_text_style,click:()=>document.execCommand("formatBlock",!1,"

")},{icon:"format_clear",title:"Clear format",disabled:!this.current_text_style,click(){document.execCommand("removeFormat"),document.execCommand("formatBlock",!1,"
")}},{icon:"splitscreen",title:"Page break",disabled:!this.current_text_style,click:()=>this.insertPageBreak()},{is:"spacer"},{text:this.current_format_name,title:"Format",icon:"crop_free",chevron:!0,menu:this.formats.map((([t,e,i])=>({text:t,active:this.page_format_mm[0]==e&&this.page_format_mm[1]==i,click:()=>{this.page_format_mm=[e,i]}}))),menu_width:80,menu_height:280},{text:this.current_margins_name,title:"Margins",icon:"select_all",chevron:!0,menu:this.margins.map((([t,e])=>({text:t+" ("+e+")",active:this.page_margins==e,click:()=>{this.page_margins=e}}))),menu_width:200,menu_class:"align-center"},{text:Math.floor(100*this.zoom)+"%",title:"Zoom",icon:"zoom_in",chevron:!0,menu:[["200%",2],["150%",1.5],["125%",1.25],["100%",1],["75%",.75],["50%",.5],["25%",.25]].map((([t,e])=>({text:t,active:this.zoom==e,click:()=>{this.zoom=e}}))),menu_width:80,menu_height:280,menu_class:"align-center"},{title:"Display",icon:"horizontal"==this.display?"view_column":"vertical"==this.display?"view_stream":"view_module",chevron:!0,menu:[{icon:"view_module",active:"grid"==this.display,click:()=>{this.display="grid"}},{icon:"view_column",active:"horizontal"==this.display,click:()=>{this.display="horizontal"}},{icon:"view_stream",active:"vertical"==this.display,click:()=>{this.display="vertical"}}],menu_width:55,menu_class:"align-right"}]},current_format_name(){const t=this.formats.find((([,t,e])=>this.page_format_mm[0]==t&&this.page_format_mm[1]==e));return t?t[0]:this.page_format_mm[0]+"mm x "+this.page_format_mm[1]+"mm"},formats:()=>[["A0",841,1189],["A0L",1189,841],["A1",594,841],["A1L",841,594],["A2",420,594],["A2L",594,420],["A3",297,420],["A3L",420,297],["A4",210,297],["A4L",297,210],["A5",148,210],["A5L",210,148],["A6",105,148],["A6L",148,105]],current_margins_name(){const t=this.margins.find((([,t])=>this.page_margins==t));return t?t[0]:this.page_margins},margins:()=>[["Medium","20mm"],["Small","15mm"],["Slim","10mm 15mm"],["Tiny","5mm"]],current_text_style(){return!!this.mounted&&this.$refs.editor.current_text_style},isLeftAligned(){return["start","left","-moz-left"].includes(this.current_text_style.textAlign)},isRightAligned(){return["end","right","-moz-right"].includes(this.current_text_style.textAlign)},isCentered(){return["center","-moz-center"].includes(this.current_text_style.textAlign)},isJustified(){return["justify","justify-all"].includes(this.current_text_style.textAlign)},isBold(){const t=this.current_text_style.fontWeight;return t&&(parseInt(t)>400||0==t.indexOf("bold"))},isItalic(){return"italic"==this.current_text_style.fontStyle},isUnderline(){const t=this.current_text_style.textDecorationStack;return t&&t.some((t=>0==t.indexOf("underline")))},isStrikeThrough(){const t=this.current_text_style.textDecorationStack;return t&&t.some((t=>0==t.indexOf("line-through")))},isNumberedList(){return this.current_text_style.isList&&"decimal"==this.current_text_style.listStyleType},isBulletedList(){return this.current_text_style.isList&&["disc","circle"].includes(this.current_text_style.listStyleType)},isH1(){return 1==this.current_text_style.headerLevel},isH2(){return 2==this.current_text_style.headerLevel},isH3(){return 3==this.current_text_style.headerLevel},curColor(){return this.current_text_style.color||"transparent"},isMacLike:()=>/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform),can_undo(){return this.undo_count>0},can_redo(){return this.content_history.length-this.undo_count-1>0}},methods:{overlay(t,e){let i='
Page '+t+" of "+e+"
";return t>=3&&(i+='
MYCOMPANY example.com /// This is a custom header overlay
',i+='
Copyright (c) 2020 Romain Lamothe, MIT License /// This is a custom footer overlay
'),i},undo(){this.can_undo&&(this._mute_next_content_watcher=!0,this.content=this.content_history[--this.undo_count])},redo(){this.can_redo&&(this._mute_next_content_watcher=!0,this.content=this.content_history[++this.undo_count])},resetContentHistory(){this.content_history=[],this.undo_count=-1},async insertPageBreak(){document.execCommand("insertParagraph");const t="###PB###";document.execCommand("insertText",!1,t),await this.$nextTick();const e=new RegExp("<(p|div|h\\d)( [^/>]+)*>(<[^/>]+>)*"+t);for(let i=0;i"+a),void this.content.splice(i,1,n.substr(0,s.index),e+a)}}for(let i=0;it(L)}).$mount("#app")},8576:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE0IDc5LjE1Njc5NywgMjAxNC8wOC8yMC0wOTo1MzowMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8x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oQSZFZso3TKo1VC2965QgpwQI2w3t+B932zvXaEEOSnuZtvbQve7196zQgkyZ6zXe1UoQWbH02zPtcB9PmfvVaEEmTeG9B6VIIrZ8RbbvU18f/fae1QoQRYMJKU81oT3dYwkJj1VguQOk9REaY2Pw4323hRKkEVjJ9vrTXQ/r9t7UihBaobr9V6UIIrZ8Wu2J5rgPp6w96JQgtQcG2jmhGl5QWzvQaEEqQsOst2WY/9vs/egUILUtZIN59Dv4ZyTWwmSEyDnUx7luRtJar4qJUjT4RdsL+bI3xetzwolSMOwTn1Vgihmx2tsD+XAz4esrwolSMPxLZK9XGPS+qhQgmSCo2xbBPu3xfqoUIJkhh+yvSPQr3esbwolSOYYUp+UIIrZ8SzbM4L8ecb6pFCC6BNbWw8lSB7wLtt2AX5st74olCDikPWskfRZNSVIi2OKst2+c5P1QaEEEYuH2V7N4Lqv2msrlCDisa5FrqkEUSwIL7E93sDrPW6vqVCC5AaN0l/kVZ+iBGlxfMR2awOuc6u9lkIJkjvcwXagjuc/YK+hUILkEgnVdxeRDfYaCiVIbvEk2546nHePPbdCCZJ7rMvJORVKkEzwBtuOGp5vhz2nQgnSNMBu6uM1OM84Nedu80qQFscY1SYfx2Z7LoUSpOlwH9ubi/j9m/YcCiWIDth1YK4EaUU8z7Z7Ab/bbX+rUII0PdY36DcKJUgu8R7btnkcv83+RqEEaRncwnZkDscdsccqlCAthQrbDXM47gZ7rEIJ0nJ4lO2VE3z/ij1GoQRpWaxb4HcKJUhL4GW2XTN8vst+p1CCtDw+Oc6Y6/hEoQRpCRxm23rcv7fazxRKEIXFXZRuwBDZvxUC4GsIREHflguDkyQqaVYotIulUChBFAoliEKhBFEolCAKhRJEoVCCKBRKEIVCCaJQKJQgCoUSRKFQgigUShCFIhP8vwADACog5YM65zugAAAAAElFTkSuQmCC"}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var a=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(a.exports,a,a.exports,i),a.loaded=!0,a.exports}i.m=t,function(){var t=[];i.O=function(e,n,s,a){if(!n){var r=1/0;for(d=0;d=a)&&Object.keys(i.O).every((function(t){return i.O[t](n[l])}))?n.splice(l--,1):(o=!1,a0&&t[d-1][2]>a;d--)t[d]=t[d-1];t[d]=[n,s,a]}}(),function(){i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,{a:e}),e}}(),function(){i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}}(),function(){i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){i.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t}}(),function(){var t={143:0};i.O.j=function(e){return 0===t[e]};var e=function(e,n){var s,a,r=n[0],o=n[1],l=n[2],c=0;if(r.some((function(e){return 0!==t[e]}))){for(s in o)i.o(o,s)&&(i.m[s]=o[s]);if(l)var d=l(i)}for(e&&e(n);c)\n // - a header title (e.g.

)\n // - a table row (e.g. )\n // - any element on whose user-custom `do_not_break` function returns true\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i) || sub_child.tagName.match(/tr/i) || (typeof do_not_break === \"function\" && do_not_break(sub_child))) {\n // just prevent moving the last child of the page\n if(!not_first_child){\n console.log(\"Move-forward: first child reached with no stop condition. Aborting\");\n return;\n }\n child_sibling.prepend(sub_child);\n }\n\n // for every other node that is not text and not the first child, clone it recursively to next page\n else {\n // check if sub child has already been cloned before\n let sub_child_sibling = find_sub_child_sibling_node(child_sibling, sub_child.s_tag);\n \n // if not, create it and watermark the relationship with a random tag\n if(!sub_child_sibling) {\n if(!sub_child.s_tag) {\n const new_random_tag = Math.random().toString(36).slice(2, 8);\n sub_child.s_tag = new_random_tag;\n }\n sub_child_sibling = sub_child.cloneNode(false);\n sub_child_sibling.s_tag = sub_child.s_tag;\n child_sibling.prepend(sub_child_sibling);\n }\n \n // then move/clone its children and sub-children recursively\n move_children_forward_recursively(sub_child, sub_child_sibling, stop_condition, do_not_break, not_first_child);\n sub_child_sibling.normalize(); // merge consecutive text nodes\n }\n\n // if sub_child was a container that was cloned and is now empty, we clean it\n if(child.contains(sub_child)){\n if(sub_child.childNodes.length == 0 || sub_child.innerHTML == \"\") child.removeChild(sub_child);\n else if(!stop_condition()) {\n // the only case when it can be non empty should be when stop_condition is now true\n console.log(\"sub_child:\", sub_child, \"that is in child:\", child);\n throw Error(\"Document editor is trying to remove a non-empty sub-child. This \"\n + \"is a bug and should not happen. Please report a repeatable set of actions that \"\n + \"leaded to this error to https://github.com/motla/vue-document-editor/issues/new\");\n }\n }\n }\n}\n\n\n\n/**\n * This function moves the first element from \"next_page_html_div\" to the end of \"page_html_div\", with\n * merging sibling tags previously watermarked by \"move_children_forward_recursively\", if any.\n * @param {HTMLElement} page_html_div Current page element\n * @param {HTMLElement} next_page_html_div Next page element\n * @param {function} stop_condition Check function that returns a boolean if content overflows\n */\nfunction move_children_backwards_with_merging (page_html_div, next_page_html_div, stop_condition) {\n\n // loop until content is overflowing\n while(!stop_condition()){\n\n // find first child of next page\n const first_child = next_page_html_div.firstChild;\n\n // merge it at the end of the current page\n var merge_recursively = (container, elt) => {\n // check if child had been splitted (= has a sibling on previous page)\n const elt_sibling = find_sub_child_sibling_node(container, elt.s_tag);\n if(elt_sibling && elt.childNodes.length) {\n // then dig for deeper children, in case of\n merge_recursively(elt_sibling, elt.firstChild);\n }\n // else move the child inside the right container at current page\n else {\n container.append(elt);\n container.normalize();\n }\n }\n merge_recursively(page_html_div, first_child);\n }\n}\n\nexport {\n move_children_forward_recursively,\n move_children_backwards_with_merging\n};","\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DocumentEditor.vue?vue&type=template&id=3822a990&scoped=true&\"\nimport script from \"./DocumentEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./DocumentEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DocumentEditor.vue?vue&type=style&index=0&id=3822a990&prod&lang=css&\"\nimport style1 from \"./DocumentEditor.vue?vue&type=style&index=1&id=3822a990&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3822a990\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"template\"},[_vm._m(0),_c('table',[_vm._m(1),_c('tbody',[_c('tr',[_vm._m(2),_c('td',{staticStyle:{\"min-width\":\"250px\",\"text-align\":\"right\"}},[_c('div',[_c('b',[_vm._v(\"Invoice number:\")]),_vm._v(\" \"),_c('span',{attrs:{\"contenteditable\":\"\"},on:{\"keydown\":_vm.preventLineBreaks}},[_vm._v(_vm._s(_vm.invoice_number))])]),_c('div',[_c('b',[_vm._v(\"Invoice date:\")]),_vm._v(\" \"),_c('span',{attrs:{\"contenteditable\":\"\"},on:{\"keydown\":_vm.preventLineBreaks}},[_vm._v(_vm._s(_vm.today))])]),_c('div',[_c('b',[_vm._v(\"Order number:\")]),_vm._v(\" \"),_c('span',{attrs:{\"contenteditable\":\"\"},on:{\"keydown\":_vm.preventLineBreaks}},[_vm._v(\"W210984204\")])]),_c('div',[_c('b',[_vm._v(\"Order date:\")]),_vm._v(\" \"),_c('span',{attrs:{\"contenteditable\":\"\"},on:{\"keydown\":_vm.preventLineBreaks}},[_vm._v(_vm._s(_vm.today))])]),_c('div',[_c('b',[_vm._v(\"Your client number:\")]),_vm._v(\" \"),_c('span',{attrs:{\"contenteditable\":\"\"},on:{\"keydown\":_vm.preventLineBreaks}},[_vm._v(\"120948\")])])])])])]),_c('table',{staticStyle:{\"margin\":\"10px 0 35px 0\"}},[_c('thead',[_c('tr',[_c('td',{staticStyle:{\"width\":\"50%\"}},[_vm._v(\"BILLING ADDRESS\")]),_c('td',[_vm._v(\"SHIPPING ADDRESS \"),_c('label',{staticClass:\"hide-in-print\",staticStyle:{\"margin-left\":\"10px\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.is_shipping_identical),expression:\"is_shipping_identical\"}],attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.is_shipping_identical)?_vm._i(_vm.is_shipping_identical,null)>-1:(_vm.is_shipping_identical)},on:{\"change\":function($event){var $$a=_vm.is_shipping_identical,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.is_shipping_identical=$$a.concat([$$v]))}else{$$i>-1&&(_vm.is_shipping_identical=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.is_shipping_identical=$$c}}}}),_vm._v(\" Identical \")])])])]),_c('tbody',[_c('tr',[_c('td',{ref:\"billing_address\",attrs:{\"contenteditable\":\"\"},on:{\"input\":(e) => this.billing_address = e.target.innerHTML}}),(_vm.is_shipping_identical)?_c('td',{attrs:{\"contenteditable\":\"false\"},domProps:{\"innerHTML\":_vm._s(_vm.billing_address)}}):_c('td',{attrs:{\"contenteditable\":\"\"}},[_vm._v(\"Insert custom shipping address\")])])])]),_c('h2',[_vm._v(\"Your order\")]),_c('table',{staticClass:\"order-table\",staticStyle:{\"margin-top\":\"10px\"}},[_vm._m(3),_c('tbody',[_vm._l((_vm.items),function(item,i){return _c('tr',{key:item.key},[_c('td',[_c('div',{staticClass:\"left-btn hide-in-print\",on:{\"click\":() => _vm.items.splice(i, 1)}},[_vm._v(\"➖\")]),_vm._v(_vm._s(i+1))]),_c('td',{attrs:{\"contenteditable\":\"\"}},[_vm._v(_vm._s(item.ref))]),_c('td',{attrs:{\"contenteditable\":\"\"}},[_vm._v(_vm._s(item.desc))]),_c('td',{staticStyle:{\"padding\":\"0\",\"text-align\":\"center\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(item.qty),expression:\"item.qty\"}],staticStyle:{\"width\":\"3em\"},attrs:{\"type\":\"number\",\"min\":\"1\"},domProps:{\"value\":(item.qty)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(item, \"qty\", $event.target.value)}}})]),_c('td',{staticStyle:{\"padding\":\"0\"}},[_vm._v(\"€ \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(item.price),expression:\"item.price\"}],staticStyle:{\"width\":\"4em\"},attrs:{\"type\":\"number\",\"step\":\"0.01\"},domProps:{\"value\":(item.price)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(item, \"price\", $event.target.value)}}})]),_c('td',{staticStyle:{\"text-align\":\"right\"}},[_vm._v(\"€ \"+_vm._s((item.qty * item.price).toFixed(2)))])])}),_c('tr',[_c('td',[(_vm.items.length < 5)?_c('div',{staticClass:\"left-btn hide-in-print\",on:{\"click\":() => _vm.items.push({ key: Math.random(), ref: 'MyRef', desc: 'My description', qty: 1, price: 0 })}},[_vm._v(\"➕\")]):_vm._e()]),_c('td',{staticStyle:{\"text-align\":\"right\"},attrs:{\"colspan\":\"5\"}},[_vm._v(\"Sub-total: € \"+_vm._s(_vm.sub_total.toFixed(2)))])]),_c('tr',[_c('td',{staticStyle:{\"text-align\":\"right\"},attrs:{\"colspan\":\"6\"}},[_vm._v(\"Taxes: \"),_c('span',{ref:\"tax_percent\",attrs:{\"contenteditable\":\"\"},on:{\"input\":(e) => this.tax_percent = parseFloat(e.target.innerText)}}),_vm._v(\"%\")])]),_c('tr',[_c('td',{staticStyle:{\"text-align\":\"right\"},attrs:{\"colspan\":\"6\"}},[_vm._v(\"Shipping: € \"),_c('span',{ref:\"shipping\",attrs:{\"contenteditable\":\"\"},on:{\"input\":(e) => this.shipping = parseFloat(e.target.innerText)}})])]),_c('tr',[_c('td',{staticStyle:{\"text-align\":\"right\",\"font-weight\":\"bold\"},attrs:{\"colspan\":\"6\"}},[_vm._v(\"Order total: € \"+_vm._s(_vm.total.toFixed(2)))])])],2)]),_c('div',{staticStyle:{\"margin-bottom\":\"20px\"}},[_vm._v(\"Thank you for your order.\")]),_c('div',[_c('b',[_vm._v(\"Payment method:\")]),_vm._v(\" \"),_c('span',{attrs:{\"contenteditable\":\"\"},on:{\"keydown\":_vm.preventLineBreaks}},[_vm._v(\"Bank transfer\")])]),_c('div',[_c('b',[_vm._v(\"Payment term:\")]),_vm._v(\" \"),_c('span',{attrs:{\"contenteditable\":\"\"},on:{\"keydown\":_vm.preventLineBreaks}},[_vm._v(_vm._s(_vm.next_month))])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"header\"},[_c('div',[_c('h1',[_c('span',{staticClass:\"hide-in-print\"},[_vm._v(\"INTERACTIVE \")]),_vm._v(\"INVOICE\")]),_c('div',{staticClass:\"hide-in-print\",staticStyle:{\"margin-bottom\":\"10px\"}},[_vm._v(\"This page is rendered from a \\\"template\\\" Vue.js component.\"),_c('br'),_vm._v(\"You can modify the fields highlighted in green and interact with the buttons without having them in the print. Check out \"),_c('a',{attrs:{\"href\":\"https://github.com/motla/vue-document-editor/blob/master/src/Demo/InvoiceTemplate.vue\",\"target\":\"_blank\"}},[_vm._v(\"InvoiceTemplate.vue\")])])]),_c('div',[_c('img',{staticStyle:{\"width\":\"80px\"},attrs:{\"src\":require(\"../../img/vue-logo.png\")}})])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('thead',[_c('tr',[_c('td',[_vm._v(\"OUR DETAILS\")]),_c('td',{staticStyle:{\"text-align\":\"right\"}},[_vm._v(\"INVOICE DETAILS\")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('td',{attrs:{\"contenteditable\":\"\"}},[_c('div',[_c('b',[_vm._v(\"MyCompany\")])]),_c('div',[_vm._v(\"24 Poazkz Pazoek\")]),_c('div',[_vm._v(\"89232 Oijzrazro\")]),_c('div',[_vm._v(\"FRIGNEDRY\")]),_c('div',[_vm._v(\"AB251648730890\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('thead',[_c('tr',{staticStyle:{\"font-size\":\"13px\"}},[_c('td',[_vm._v(\"ITEM #\")]),_c('td',[_vm._v(\"REFERENCE\")]),_c('td',[_vm._v(\"DESIGNATION\")]),_c('td',[_vm._v(\"QUANTITY\")]),_c('td',[_vm._v(\"UNIT PRICE\")]),_c('td',{staticStyle:{\"text-align\":\"right\"}},[_vm._v(\"TOTAL PRICE\")])])])\n}]\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InvoiceTemplate.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InvoiceTemplate.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InvoiceTemplate.vue?vue&type=template&id=7904a742&scoped=true&\"\nimport script from \"./InvoiceTemplate.vue?vue&type=script&lang=js&\"\nexport * from \"./InvoiceTemplate.vue?vue&type=script&lang=js&\"\nimport style0 from \"./InvoiceTemplate.vue?vue&type=style&index=0&id=7904a742&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7904a742\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Demo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Demo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Demo.vue?vue&type=template&id=62d2aa6c&scoped=true&\"\nimport script from \"./Demo.vue?vue&type=script&lang=js&\"\nexport * from \"./Demo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Demo.vue?vue&type=style&index=0&id=62d2aa6c&prod&lang=css&\"\nimport style1 from \"./Demo.vue?vue&type=style&index=1&id=62d2aa6c&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"62d2aa6c\",\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport Demo from './Demo/Demo.vue'\n\nVue.config.productionTip = false\n\nnew Vue({\n render: h => h(Demo),\n}).$mount('#app')\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkvue_document_editor\"] = self[\"webpackChunkvue_document_editor\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(4268); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["render","_vm","this","_c","_self","staticClass","attrs","menu","ref","content","overlay","zoom","page_format_mm","page_margins","display","on","$event","staticRenderFns","_l","pages","page","page_idx","key","uuid","refInFor","style","page_style","domProps","_s","length","_e","editable","input","process_current_text_style","keydown","template","content_idx","_b","tag","props","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","i","move_children_forward_recursively","child","child_sibling","stop_condition","do_not_break","not_first_child","sub_child","lastChild","nodeType","Node","TEXT_NODE","sub_child_hashes","textContent","match","sub_child_continuation","document","createTextNode","prepend","l","slice","join","tagName","console","log","sub_child_sibling","new_random_tag","Math","random","toString","cloneNode","normalize","contains","innerHTML","removeChild","Error","move_children_backwards_with_merging","page_html_div","next_page_html_div","first_child","firstChild","merge_recursively","elt","elt_sibling","append","type","Array","required","String","default","Boolean","Function","Number","data","pages_height","editor_width","prevent_next_content_update_from_parent","current_text_style","mounted","update_editor_width","update_css_media_style","reset_content","window","addEventListener","before_print","after_print","beforeDestroy","removeEventListener","computed","css_media_style","createElement","head","appendChild","methods","new_uuid","$emit","map","$nextTick","first_page_elt","$refs","clientHeight","page_elt","fit_content_over_pages","blur","body","splice","selection","getSelection","start_marker","end_marker","rangeCount","range","getRangeAt","insertNode","collapse","prev_page_modified_flag","next_page","next_page_elt","prev_innerHTML","createRange","setStart","setEnd","removeAllRanges","addRange","parentElement","e","emit_new_content","inputType","keyCode","text","replace","preventDefault","removed_pages_flag","new_content","item","filter","children","toLowerCase","getAttribute","sel","focusNode","element","isContentEditable","getComputedStyle","textDecorationStack","headerLevel","isList","parent","parent_style","push","textDecoration","toUpperCase","allow_overflow","px_in_mm","page_width","page_spacing_mm","page_with_plus_spacing","view_padding","inner_width","page_column","x_pos","x_ofx","left_px","top_mm","bkg_width_mm","bkg_height_mm","nb_pages_x","floor","max","nb_pages_y","ceil","position","left","top","width","padding","transform","height","editor","classList","add","clientWidth","remove","_page_body","print_body","margin","background","font","className","entries","page_clone","breakBefore","overflow","overlay_elts","overlay_clone","return_overlay","right","bottom","alignItems","justifyContent","cursor","watch","component","_m","staticStyle","_v","preventLineBreaks","invoice_number","today","directives","name","rawName","value","is_shipping_identical","expression","isArray","_i","$$a","$$el","target","$$c","checked","$$v","$$i","concat","billing_address","items","click","desc","qty","composing","$set","price","toFixed","sub_total","tax_percent","parseFloat","innerText","shipping","total","next_month","require","date","Date","toJSON","setDate","getDate","reduce","acc","which","components","VueDocumentEditor","VueFileToolbarMenu","InvoiceTemplate","zoom_min","zoom_max","undo_count","content_history","created","start_zoom_gesture","start_dist_touch","start_zoom_touch","ctrlKey","min","deltaY","passive","scale","touches","hypot","pageX","pageY","manage_undo_redo","stopPropagation","undo","redo","title","icon","confirm","resetContentHistory","print","is","disabled","can_undo","hotkey","isMacLike","can_redo","active","isLeftAligned","execCommand","isCentered","isRightAligned","isJustified","isBold","isItalic","isUnderline","isStrikeThrough","menu_class","color","curColor","update_color","new_color","hex8","isNumberedList","isBulletedList","html","isH1","isH2","isH3","insertPageBreak","current_format_name","chevron","formats","w","h","menu_width","menu_height","current_margins_name","margins","format","find","width_mm","height_mm","includes","textAlign","fontWeight","parseInt","indexOf","fontStyle","stack","some","d","listStyleType","test","navigator","platform","_mute_next_content_watcher","marker","regexp","RegExp","exec","tags_open","content_plus_tags_close","substr","index","immediate","handler","Vue","Demo","$mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","r","n","getter","__esModule","a","definition","o","defineProperty","enumerable","get","g","globalThis","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","self","forEach","bind","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/app.e2965f14.js","mappings":"gEAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,wBAAwB,CAACE,YAAY,MAAMC,MAAM,CAAC,QAAUL,EAAIM,QAAQJ,EAAG,sBAAsB,CAACK,IAAI,SAASH,YAAY,SAASC,MAAM,CAAC,QAAUL,EAAIQ,QAAQ,QAAUR,EAAIS,QAAQ,KAAOT,EAAIU,KAAK,eAAiBV,EAAIW,eAAe,aAAeX,EAAIY,aAAa,QAAUZ,EAAIa,SAASC,GAAG,CAAC,iBAAiB,SAASC,GAAQf,EAAIQ,QAAQO,CAAM,MAAM,EACrc,EACIC,EAAkB,G,UCFlBjB,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACK,IAAI,SAASH,YAAY,UAAU,CAAEJ,EAAIS,QAASP,EAAG,MAAM,CAACE,YAAY,YAAYJ,EAAIiB,GAAIjB,EAAIkB,OAAO,SAASC,EAAKC,GAAU,OAAOlB,EAAG,MAAM,CAACmB,IAAIF,EAAKG,KAAK,WAAWf,IAAIY,EAAKG,KAAK,WAAWC,UAAS,EAAKnB,YAAY,UAAUoB,MAAOxB,EAAIyB,WAAWL,GAAU,GAAQM,SAAS,CAA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ASC,EAA4BrU,GAC/D,IAKIuR,EAAU4C,EALV/B,EAAWpS,EAAK,GAChBsU,EAActU,EAAK,GACnBuU,EAAUvU,EAAK,GAGIrD,EAAI,EAC3B,GAAGyV,EAASnC,MAAK,SAAS2B,GAAM,OAA+B,IAAxBsC,EAAgBtC,EAAW,IAAI,CACrE,IAAIL,KAAY+C,EACZhD,EAAoB8B,EAAEkB,EAAa/C,KACrCD,EAAoBU,EAAET,GAAY+C,EAAY/C,IAGhD,GAAGgD,EAAS,IAAIpC,EAASoC,EAAQjD,EAClC,CAEA,IADG+C,GAA4BA,EAA2BrU,GACrDrD,EAAIyV,EAASzW,OAAQgB,IACzBwX,EAAU/B,EAASzV,GAChB2U,EAAoB8B,EAAEc,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAO7C,EAAoBY,EAAEC,EAC9B,EAEIqC,EAAqBC,KAAK,mCAAqCA,KAAK,oCAAsC,GAC9GD,EAAmBE,QAAQN,EAAqBO,KAAK,KAAM,IAC3DH,EAAmB5P,KAAOwP,EAAqBO,KAAK,KAAMH,EAAmB5P,KAAK+P,KAAKH,G,IC/CvF,IAAII,EAAsBtD,EAAoBY,OAAET,EAAW,CAAC,MAAM,WAAa,OAAOH,EAAoB,GAAK,IAC/GsD,EAAsBtD,EAAoBY,EAAE0C,E","sources":["webpack://vue-document-editor/./src/Demo/Demo.vue","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue","webpack://vue-document-editor/./src/DocumentEditor/imports/page-transition-mgmt.js","webpack://vue-document-editor/src/DocumentEditor/DocumentEditor.vue","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?f574","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?48b8","webpack://vue-document-editor/./src/Demo/InvoiceTemplate.vue","webpack://vue-document-editor/src/Demo/InvoiceTemplate.vue","webpack://vue-document-editor/./src/Demo/InvoiceTemplate.vue?aea6","webpack://vue-document-editor/./src/Demo/InvoiceTemplate.vue?516f","webpack://vue-document-editor/src/Demo/Demo.vue","webpack://vue-document-editor/./src/Demo/Demo.vue?9c1b","webpack://vue-document-editor/./src/Demo/Demo.vue?56f5","webpack://vue-document-editor/./src/main.js","webpack://vue-document-editor/webpack/bootstrap","webpack://vue-document-editor/webpack/runtime/chunk loaded","webpack://vue-document-editor/webpack/runtime/compat get default export","webpack://vue-document-editor/webpack/runtime/define property getters","webpack://vue-document-editor/webpack/runtime/global","webpack://vue-document-editor/webpack/runtime/hasOwnProperty shorthand","webpack://vue-document-editor/webpack/runtime/make namespace object","webpack://vue-document-editor/webpack/runtime/node module decorator","webpack://vue-document-editor/webpack/runtime/jsonp chunk loading","webpack://vue-document-editor/webpack/startup"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"main\"},[_c('vue-file-toolbar-menu',{staticClass:\"bar\",attrs:{\"content\":_vm.menu}}),_c('vue-document-editor',{ref:\"editor\",staticClass:\"editor\",attrs:{\"content\":_vm.content,\"overlay\":_vm.overlay,\"zoom\":_vm.zoom,\"page_format_mm\":_vm.page_format_mm,\"page_margins\":_vm.page_margins,\"display\":_vm.display},on:{\"update:content\":function($event){_vm.content=$event}}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:\"editor\",staticClass:\"editor\"},[(_vm.overlay)?_c('div',{staticClass:\"overlays\"},_vm._l((_vm.pages),function(page,page_idx){return _c('div',{key:page.uuid+'-overlay',ref:page.uuid+'-overlay',refInFor:true,staticClass:\"overlay\",style:(_vm.page_style(page_idx, false)),domProps:{\"innerHTML\":_vm._s(_vm.overlay(page_idx+1, _vm.pages.length))}})}),0):_vm._e(),_c('div',{ref:\"content\",staticClass:\"content\",style:(_vm.page_style(-1)),attrs:{\"contenteditable\":_vm.editable},on:{\"input\":_vm.input,\"keyup\":_vm.process_current_text_style,\"keydown\":_vm.keydown}},_vm._l((_vm.pages),function(page,page_idx){return _c('div',{key:page.uuid,ref:page.uuid,refInFor:true,staticClass:\"page\",style:(_vm.page_style(page_idx, page.template ? false : true)),attrs:{\"data-content-idx\":page.content_idx,\"data-page-idx\":page_idx,\"contenteditable\":(_vm.editable && !page.template) ? true : false}},[(page.template)?_c(page.template,_vm._b({tag:\"component\"},'component',page.props,false,true)):_vm._e()],1)}),0)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n/**\n * Utility function that acts like an Array.filter on childNodes of \"container\"\n * @param {HTMLElement} container \n * @param {string} s_tag \n */\nfunction find_sub_child_sibling_node (container, s_tag){\n if(!container || !s_tag) return false;\n const child_nodes = container.childNodes;\n for(let i = 0; i < child_nodes.length; i++) {\n if(child_nodes[i].s_tag == s_tag) return child_nodes[i];\n }\n return false;\n}\n\n\n/**\n * This function moves every sub-child of argument \"child\" to the start of the \"child_sibling\"\n * argument, beginning from the last child, with word splitting and format preserving.\n * Typically, \"child\" is the current page which content overflows, and \"child_sibling\" is the \n * next page.\n * @param {HTMLElement} child Element to take children from (current page)\n * @param {HTMLElement} child_sibling Element to copy children to (next page)\n * @param {function} stop_condition Check function that returns a boolean if content doesn't overflow anymore\n * @param {function(HTMLElement):boolean?} do_not_break Optional function that receives the current child element and should return true if the child should not be split over two pages but rather be moved directly to the next page\n * @param {boolean?} not_first_child Should be unset. Used internally to let at least one child in the page\n */\nfunction move_children_forward_recursively (child, child_sibling, stop_condition, do_not_break, not_first_child) {\n\n // if the child still has nodes and the current page still overflows\n while(child.childNodes.length && !stop_condition()){\n\n // check if page has only one child tree left\n not_first_child = not_first_child || (child.childNodes.length != 1);\n\n // select the last sub-child\n const sub_child = child.lastChild;\n\n // if it is a text node, move its content to next page word(/space) by word\n if(sub_child.nodeType == Node.TEXT_NODE){\n const sub_child_hashes = sub_child.textContent.match(/(\\s|\\S+)/g);\n const sub_child_continuation = document.createTextNode('');\n child_sibling.prepend(sub_child_continuation);\n const l = sub_child_hashes ? sub_child_hashes.length : 0;\n for(let i = 0; i < l; i++) {\n if(i == l - 1 && !not_first_child) return; // never remove the first word of the page\n sub_child.textContent = sub_child_hashes.slice(0, l - i - 1).join('');\n sub_child_continuation.textContent = sub_child_hashes.slice(l - i - 1, l).join('');\n if(stop_condition()) return;\n }\n }\n\n // we simply move it to the next page if it is either:\n // - a node with no content (e.g. )\n // - a header title (e.g.

)\n // - a table row (e.g. )\n // - any element on whose user-custom `do_not_break` function returns true\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i) || sub_child.tagName.match(/tr/i) || (typeof do_not_break === \"function\" && do_not_break(sub_child))) {\n // just prevent moving the last child of the page\n if(!not_first_child){\n console.log(\"Move-forward: first child reached with no stop condition. Aborting\");\n return;\n }\n child_sibling.prepend(sub_child);\n }\n\n // for every other node that is not text and not the first child, clone it recursively to next page\n else {\n // check if sub child has already been cloned before\n let sub_child_sibling = find_sub_child_sibling_node(child_sibling, sub_child.s_tag);\n \n // if not, create it and watermark the relationship with a random tag\n if(!sub_child_sibling) {\n if(!sub_child.s_tag) {\n const new_random_tag = Math.random().toString(36).slice(2, 8);\n sub_child.s_tag = new_random_tag;\n }\n sub_child_sibling = sub_child.cloneNode(false);\n sub_child_sibling.s_tag = sub_child.s_tag;\n child_sibling.prepend(sub_child_sibling);\n }\n \n // then move/clone its children and sub-children recursively\n move_children_forward_recursively(sub_child, sub_child_sibling, stop_condition, do_not_break, not_first_child);\n sub_child_sibling.normalize(); // merge consecutive text nodes\n }\n\n // if sub_child was a container that was cloned and is now empty, we clean it\n if(child.contains(sub_child)){\n if(sub_child.childNodes.length == 0 || sub_child.innerHTML == \"\") child.removeChild(sub_child);\n else if(!stop_condition()) {\n // the only case when it can be non empty should be when stop_condition is now true\n console.log(\"sub_child:\", sub_child, \"that is in child:\", child);\n throw Error(\"Document editor is trying to remove a non-empty sub-child. This \"\n + \"is a bug and should not happen. Please report a repeatable set of actions that \"\n + \"leaded to this error to https://github.com/motla/vue-document-editor/issues/new\");\n }\n }\n }\n}\n\n\n\n/**\n * This function moves the first element from \"next_page_html_div\" to the end of \"page_html_div\", with\n * merging sibling tags previously watermarked by \"move_children_forward_recursively\", if any.\n * @param {HTMLElement} page_html_div Current page element\n * @param {HTMLElement} next_page_html_div Next page element\n * @param {function} stop_condition Check function that returns a boolean if content overflows\n */\nfunction move_children_backwards_with_merging (page_html_div, next_page_html_div, stop_condition) {\n\n // loop until content is overflowing\n while(!stop_condition()){\n\n // find first child of next page\n const first_child = next_page_html_div.firstChild;\n\n // merge it at the end of the current page\n var merge_recursively = (container, elt) => {\n // check if child had been splitted (= has a sibling on previous page)\n const elt_sibling = find_sub_child_sibling_node(container, elt.s_tag);\n if(elt_sibling && elt.childNodes.length) {\n // then dig for deeper children, in case of\n merge_recursively(elt_sibling, elt.firstChild);\n }\n // else move the child inside the right container at current page\n else {\n container.append(elt);\n container.normalize();\n }\n }\n merge_recursively(page_html_div, first_child);\n }\n}\n\nexport {\n move_children_forward_recursively,\n move_children_backwards_with_merging\n};","\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DocumentEditor.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DocumentEditor.vue?vue&type=template&id=214528ab&scoped=true&\"\nimport script from \"./DocumentEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./DocumentEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DocumentEditor.vue?vue&type=style&index=0&id=214528ab&prod&lang=css&\"\nimport style1 from \"./DocumentEditor.vue?vue&type=style&index=1&id=214528ab&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"214528ab\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"template\"},[_vm._m(0),_c('table',[_vm._m(1),_c('tbody',[_c('tr',[_vm._m(2),_c('td',{staticStyle:{\"min-width\":\"250px\",\"text-align\":\"right\"}},[_c('div',[_c('b',[_vm._v(\"Invoice number:\")]),_vm._v(\" \"),_c('span',{attrs:{\"contenteditable\":\"\"},on:{\"keydown\":_vm.preventLineBreaks}},[_vm._v(_vm._s(_vm.invoice_number))])]),_c('div',[_c('b',[_vm._v(\"Invoice date:\")]),_vm._v(\" \"),_c('span',{attrs:{\"contenteditable\":\"\"},on:{\"keydown\":_vm.preventLineBreaks}},[_vm._v(_vm._s(_vm.today))])]),_c('div',[_c('b',[_vm._v(\"Order number:\")]),_vm._v(\" \"),_c('span',{attrs:{\"contenteditable\":\"\"},on:{\"keydown\":_vm.preventLineBreaks}},[_vm._v(\"W210984204\")])]),_c('div',[_c('b',[_vm._v(\"Order date:\")]),_vm._v(\" \"),_c('span',{attrs:{\"contenteditable\":\"\"},on:{\"keydown\":_vm.preventLineBreaks}},[_vm._v(_vm._s(_vm.today))])]),_c('div',[_c('b',[_vm._v(\"Your client number:\")]),_vm._v(\" \"),_c('span',{attrs:{\"contenteditable\":\"\"},on:{\"keydown\":_vm.preventLineBreaks}},[_vm._v(\"120948\")])])])])])]),_c('table',{staticStyle:{\"margin\":\"10px 0 35px 0\"}},[_c('thead',[_c('tr',[_c('td',{staticStyle:{\"width\":\"50%\"}},[_vm._v(\"BILLING ADDRESS\")]),_c('td',[_vm._v(\"SHIPPING ADDRESS \"),_c('label',{staticClass:\"hide-in-print\",staticStyle:{\"margin-left\":\"10px\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.is_shipping_identical),expression:\"is_shipping_identical\"}],attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.is_shipping_identical)?_vm._i(_vm.is_shipping_identical,null)>-1:(_vm.is_shipping_identical)},on:{\"change\":function($event){var $$a=_vm.is_shipping_identical,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.is_shipping_identical=$$a.concat([$$v]))}else{$$i>-1&&(_vm.is_shipping_identical=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.is_shipping_identical=$$c}}}}),_vm._v(\" Identical \")])])])]),_c('tbody',[_c('tr',[_c('td',{ref:\"billing_address\",attrs:{\"contenteditable\":\"\"},on:{\"input\":(e) => this.billing_address = e.target.innerHTML}}),(_vm.is_shipping_identical)?_c('td',{attrs:{\"contenteditable\":\"false\"},domProps:{\"innerHTML\":_vm._s(_vm.billing_address)}}):_c('td',{attrs:{\"contenteditable\":\"\"}},[_vm._v(\"Insert custom shipping address\")])])])]),_c('h2',[_vm._v(\"Your order\")]),_c('table',{staticClass:\"order-table\",staticStyle:{\"margin-top\":\"10px\"}},[_vm._m(3),_c('tbody',[_vm._l((_vm.items),function(item,i){return _c('tr',{key:item.key},[_c('td',[_c('div',{staticClass:\"left-btn hide-in-print\",on:{\"click\":() => _vm.items.splice(i, 1)}},[_vm._v(\"➖\")]),_vm._v(_vm._s(i+1))]),_c('td',{attrs:{\"contenteditable\":\"\"}},[_vm._v(_vm._s(item.ref))]),_c('td',{attrs:{\"contenteditable\":\"\"}},[_vm._v(_vm._s(item.desc))]),_c('td',{staticStyle:{\"padding\":\"0\",\"text-align\":\"center\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(item.qty),expression:\"item.qty\"}],staticStyle:{\"width\":\"3em\"},attrs:{\"type\":\"number\",\"min\":\"1\"},domProps:{\"value\":(item.qty)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(item, \"qty\", $event.target.value)}}})]),_c('td',{staticStyle:{\"padding\":\"0\"}},[_vm._v(\"€ \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(item.price),expression:\"item.price\"}],staticStyle:{\"width\":\"4em\"},attrs:{\"type\":\"number\",\"step\":\"0.01\"},domProps:{\"value\":(item.price)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(item, \"price\", $event.target.value)}}})]),_c('td',{staticStyle:{\"text-align\":\"right\"}},[_vm._v(\"€ \"+_vm._s((item.qty * item.price).toFixed(2)))])])}),_c('tr',[_c('td',[(_vm.items.length < 5)?_c('div',{staticClass:\"left-btn hide-in-print\",on:{\"click\":() => _vm.items.push({ key: Math.random(), ref: 'MyRef', desc: 'My description', qty: 1, price: 0 })}},[_vm._v(\"➕\")]):_vm._e()]),_c('td',{staticStyle:{\"text-align\":\"right\"},attrs:{\"colspan\":\"5\"}},[_vm._v(\"Sub-total: € \"+_vm._s(_vm.sub_total.toFixed(2)))])]),_c('tr',[_c('td',{staticStyle:{\"text-align\":\"right\"},attrs:{\"colspan\":\"6\"}},[_vm._v(\"Taxes: \"),_c('span',{ref:\"tax_percent\",attrs:{\"contenteditable\":\"\"},on:{\"input\":(e) => this.tax_percent = parseFloat(e.target.innerText)}}),_vm._v(\"%\")])]),_c('tr',[_c('td',{staticStyle:{\"text-align\":\"right\"},attrs:{\"colspan\":\"6\"}},[_vm._v(\"Shipping: € \"),_c('span',{ref:\"shipping\",attrs:{\"contenteditable\":\"\"},on:{\"input\":(e) => this.shipping = parseFloat(e.target.innerText)}})])]),_c('tr',[_c('td',{staticStyle:{\"text-align\":\"right\",\"font-weight\":\"bold\"},attrs:{\"colspan\":\"6\"}},[_vm._v(\"Order total: € \"+_vm._s(_vm.total.toFixed(2)))])])],2)]),_c('div',{staticStyle:{\"margin-bottom\":\"20px\"}},[_vm._v(\"Thank you for your order.\")]),_c('div',[_c('b',[_vm._v(\"Payment method:\")]),_vm._v(\" \"),_c('span',{attrs:{\"contenteditable\":\"\"},on:{\"keydown\":_vm.preventLineBreaks}},[_vm._v(\"Bank transfer\")])]),_c('div',[_c('b',[_vm._v(\"Payment term:\")]),_vm._v(\" \"),_c('span',{attrs:{\"contenteditable\":\"\"},on:{\"keydown\":_vm.preventLineBreaks}},[_vm._v(_vm._s(_vm.next_month))])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"header\"},[_c('div',[_c('h1',[_c('span',{staticClass:\"hide-in-print\"},[_vm._v(\"INTERACTIVE \")]),_vm._v(\"INVOICE\")]),_c('div',{staticClass:\"hide-in-print\",staticStyle:{\"margin-bottom\":\"10px\"}},[_vm._v(\"This page is rendered from a \\\"template\\\" Vue.js component.\"),_c('br'),_vm._v(\"You can modify the fields highlighted in green and interact with the buttons without having them in the print. Check out \"),_c('a',{attrs:{\"href\":\"https://github.com/motla/vue-document-editor/blob/master/src/Demo/InvoiceTemplate.vue\",\"target\":\"_blank\"}},[_vm._v(\"InvoiceTemplate.vue\")])])]),_c('div',[_c('img',{staticStyle:{\"width\":\"80px\"},attrs:{\"src\":require(\"../../img/vue-logo.png\")}})])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('thead',[_c('tr',[_c('td',[_vm._v(\"OUR DETAILS\")]),_c('td',{staticStyle:{\"text-align\":\"right\"}},[_vm._v(\"INVOICE DETAILS\")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('td',{attrs:{\"contenteditable\":\"\"}},[_c('div',[_c('b',[_vm._v(\"MyCompany\")])]),_c('div',[_vm._v(\"24 Poazkz Pazoek\")]),_c('div',[_vm._v(\"89232 Oijzrazro\")]),_c('div',[_vm._v(\"FRIGNEDRY\")]),_c('div',[_vm._v(\"AB251648730890\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('thead',[_c('tr',{staticStyle:{\"font-size\":\"13px\"}},[_c('td',[_vm._v(\"ITEM #\")]),_c('td',[_vm._v(\"REFERENCE\")]),_c('td',[_vm._v(\"DESIGNATION\")]),_c('td',[_vm._v(\"QUANTITY\")]),_c('td',[_vm._v(\"UNIT PRICE\")]),_c('td',{staticStyle:{\"text-align\":\"right\"}},[_vm._v(\"TOTAL PRICE\")])])])\n}]\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InvoiceTemplate.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InvoiceTemplate.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InvoiceTemplate.vue?vue&type=template&id=7904a742&scoped=true&\"\nimport script from \"./InvoiceTemplate.vue?vue&type=script&lang=js&\"\nexport * from \"./InvoiceTemplate.vue?vue&type=script&lang=js&\"\nimport style0 from \"./InvoiceTemplate.vue?vue&type=style&index=0&id=7904a742&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7904a742\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Demo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Demo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Demo.vue?vue&type=template&id=62d2aa6c&scoped=true&\"\nimport script from \"./Demo.vue?vue&type=script&lang=js&\"\nexport * from \"./Demo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Demo.vue?vue&type=style&index=0&id=62d2aa6c&prod&lang=css&\"\nimport style1 from \"./Demo.vue?vue&type=style&index=1&id=62d2aa6c&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"62d2aa6c\",\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport Demo from './Demo/Demo.vue'\n\nVue.config.productionTip = false\n\nnew Vue({\n render: h => h(Demo),\n}).$mount('#app')\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkvue_document_editor\"] = self[\"webpackChunkvue_document_editor\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(39); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["render","_vm","this","_c","_self","staticClass","attrs","menu","ref","content","overlay","zoom","page_format_mm","page_margins","display","on","$event","staticRenderFns","_l","pages","page","page_idx","key","uuid","refInFor","style","page_style","domProps","_s","length","_e","editable","input","process_current_text_style","keydown","template","content_idx","_b","tag","props","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","i","move_children_forward_recursively","child","child_sibling","stop_condition","do_not_break","not_first_child","sub_child","lastChild","nodeType","Node","TEXT_NODE","sub_child_hashes","textContent","match","sub_child_continuation","document","createTextNode","prepend","l","slice","join","tagName","console","log","sub_child_sibling","new_random_tag","Math","random","toString","cloneNode","normalize","contains","innerHTML","removeChild","Error","move_children_backwards_with_merging","page_html_div","next_page_html_div","first_child","firstChild","merge_recursively","elt","elt_sibling","append","type","Array","required","String","default","Boolean","Function","Number","data","pages_height","editor_width","prevent_next_content_update_from_parent","current_text_style","mounted","update_editor_width","update_css_media_style","reset_content","window","addEventListener","before_print","after_print","beforeDestroy","removeEventListener","computed","css_media_style","createElement","head","appendChild","methods","new_uuid","$emit","map","$nextTick","first_page_elt","$refs","clientHeight","page_elt","fit_content_over_pages","blur","body","splice","selection","getSelection","start_marker","end_marker","rangeCount","range","getRangeAt","insertNode","collapse","prev_page_modified_flag","next_page","next_page_elt","prev_innerHTML","createRange","setStart","setEnd","removeAllRanges","addRange","parentElement","e","emit_new_content","inputType","keyCode","text","replace","preventDefault","removed_pages_flag","new_content","item","filter","children","toLowerCase","getAttribute","sel","focusNode","element","isContentEditable","getComputedStyle","textDecorationStack","headerLevel","isList","parent","parent_style","push","textDecoration","toUpperCase","allow_overflow","px_in_mm","page_width","page_spacing_mm","page_with_plus_spacing","view_padding","inner_width","page_column","x_pos","x_ofx","left_px","top_mm","bkg_width_mm","bkg_height_mm","nb_pages_x","floor","max","nb_pages_y","ceil","position","left","top","width","padding","transform","height","editor","classList","add","clientWidth","remove","_page_body","print_body","margin","background","font","className","entries","page_clone","breakBefore","boxSizing","overflow","overlay_elts","overlay_clone","return_overlay","right","bottom","alignItems","justifyContent","cursor","watch","component","_m","staticStyle","_v","preventLineBreaks","invoice_number","today","directives","name","rawName","value","is_shipping_identical","expression","isArray","_i","$$a","$$el","target","$$c","checked","$$v","$$i","concat","billing_address","items","click","desc","qty","composing","$set","price","toFixed","sub_total","tax_percent","parseFloat","innerText","shipping","total","next_month","require","date","Date","toJSON","setDate","getDate","reduce","acc","which","components","VueDocumentEditor","VueFileToolbarMenu","InvoiceTemplate","zoom_min","zoom_max","undo_count","content_history","created","start_zoom_gesture","start_dist_touch","start_zoom_touch","ctrlKey","min","deltaY","passive","scale","touches","hypot","pageX","pageY","manage_undo_redo","stopPropagation","undo","redo","title","icon","confirm","resetContentHistory","print","is","disabled","can_undo","hotkey","isMacLike","can_redo","active","isLeftAligned","execCommand","isCentered","isRightAligned","isJustified","isBold","isItalic","isUnderline","isStrikeThrough","menu_class","color","curColor","update_color","new_color","hex8","isNumberedList","isBulletedList","html","isH1","isH2","isH3","insertPageBreak","current_format_name","chevron","formats","w","h","menu_width","menu_height","current_margins_name","margins","format","find","width_mm","height_mm","includes","textAlign","fontWeight","parseInt","indexOf","fontStyle","stack","some","d","listStyleType","test","navigator","platform","_mute_next_content_watcher","marker","regexp","RegExp","exec","tags_open","content_plus_tags_close","substr","index","immediate","handler","Vue","Demo","$mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","r","n","getter","__esModule","a","definition","o","defineProperty","enumerable","get","g","globalThis","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","self","forEach","bind","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/package.json b/package.json index 0537c81..d74c90c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-document-editor", - "version": "1.5.0", + "version": "1.5.1", "description": "Paper-sized WYSIWYG document editor for Vue apps", "author": { "name": "Romain Lamothe",