From fad2c873bf2275d785c44e2cb768d7922ff6038b Mon Sep 17 00:00:00 2001
From: Didier
Date: Sat, 25 Nov 2023 11:20:45 +0100
Subject: [PATCH] markdown editor
---
app/Http/Controllers/HomeController.php | 9 +
composer.json | 1 +
package-lock.json | 1387 ++++---
package.json | 2 +
public/css/all.css | 17 +
public/js/all.js | 13 +-
public/vendors/ckeditor/LICENSE.md | 21 -
public/vendors/ckeditor/README.md | 9 -
public/vendors/ckeditor/ckeditor.js | 6 -
public/vendors/ckeditor/ckeditor.js.map | 1 -
public/vendors/ckeditor/index.html | 122 -
public/vendors/ckeditor/sample/css/sample.css | 356 --
public/vendors/ckeditor/sample/img/bg.png | Bin 6777 -> 0 bytes
public/vendors/ckeditor/sample/img/github.svg | 4 -
public/vendors/ckeditor/sample/img/logo.svg | 10 -
.../vendors/ckeditor/sample/img/umbrellas.jpg | Bin 51250 -> 0 bytes
public/vendors/ckeditor/translations/ar.js | 1 -
public/vendors/ckeditor/translations/ast.js | 1 -
public/vendors/ckeditor/translations/az.js | 1 -
public/vendors/ckeditor/translations/bg.js | 1 -
public/vendors/ckeditor/translations/ca.js | 1 -
public/vendors/ckeditor/translations/cs.js | 1 -
public/vendors/ckeditor/translations/da.js | 1 -
public/vendors/ckeditor/translations/de-ch.js | 1 -
public/vendors/ckeditor/translations/de.js | 1 -
public/vendors/ckeditor/translations/el.js | 1 -
public/vendors/ckeditor/translations/en-au.js | 1 -
public/vendors/ckeditor/translations/eo.js | 1 -
public/vendors/ckeditor/translations/es.js | 1 -
public/vendors/ckeditor/translations/et.js | 1 -
public/vendors/ckeditor/translations/eu.js | 1 -
public/vendors/ckeditor/translations/fa.js | 1 -
public/vendors/ckeditor/translations/fi.js | 1 -
public/vendors/ckeditor/translations/fr.js | 1 -
public/vendors/ckeditor/translations/gl.js | 1 -
public/vendors/ckeditor/translations/gu.js | 1 -
public/vendors/ckeditor/translations/he.js | 1 -
public/vendors/ckeditor/translations/hr.js | 1 -
public/vendors/ckeditor/translations/hu.js | 1 -
public/vendors/ckeditor/translations/id.js | 1 -
public/vendors/ckeditor/translations/it.js | 1 -
public/vendors/ckeditor/translations/ja.js | 1 -
public/vendors/ckeditor/translations/km.js | 1 -
public/vendors/ckeditor/translations/kn.js | 1 -
public/vendors/ckeditor/translations/ko.js | 1 -
public/vendors/ckeditor/translations/ku.js | 1 -
public/vendors/ckeditor/translations/lv.js | 1 -
public/vendors/ckeditor/translations/nb.js | 1 -
public/vendors/ckeditor/translations/ne.js | 1 -
public/vendors/ckeditor/translations/nl.js | 1 -
public/vendors/ckeditor/translations/no.js | 1 -
public/vendors/ckeditor/translations/oc.js | 1 -
public/vendors/ckeditor/translations/pl.js | 1 -
public/vendors/ckeditor/translations/pt-br.js | 1 -
public/vendors/ckeditor/translations/pt.js | 1 -
public/vendors/ckeditor/translations/ro.js | 1 -
public/vendors/ckeditor/translations/ru.js | 1 -
public/vendors/ckeditor/translations/si.js | 1 -
public/vendors/ckeditor/translations/sk.js | 1 -
public/vendors/ckeditor/translations/sq.js | 1 -
.../vendors/ckeditor/translations/sr-latn.js | 1 -
public/vendors/ckeditor/translations/sr.js | 1 -
public/vendors/ckeditor/translations/sv.js | 1 -
public/vendors/ckeditor/translations/tr.js | 1 -
public/vendors/ckeditor/translations/tt.js | 1 -
public/vendors/ckeditor/translations/ug.js | 1 -
public/vendors/ckeditor/translations/uk.js | 1 -
public/vendors/ckeditor/translations/vi.js | 1 -
public/vendors/ckeditor/translations/zh-cn.js | 1 -
public/vendors/ckeditor/translations/zh.js | 1 -
public/vendors/jsbarcode/JsBarcode.all.js | 3646 -----------------
public/vendors/jsbarcode/JsBarcode.all.min.js | 2 -
.../barcodes/JsBarcode.codabar.min.js | 2 -
.../barcodes/JsBarcode.code128.min.js | 2 -
.../barcodes/JsBarcode.code39.min.js | 2 -
.../barcodes/JsBarcode.ean-upc.min.js | 2 -
.../jsbarcode/barcodes/JsBarcode.itf.min.js | 2 -
.../jsbarcode/barcodes/JsBarcode.msi.min.js | 2 -
.../barcodes/JsBarcode.pharmacode.min.js | 2 -
public/vendors/qrcode/LICENSE | 14 -
public/vendors/qrcode/README.md | 46 -
public/vendors/qrcode/qrcode.js | 614 ---
public/vendors/qrcode/qrcode.min.js | 1 -
resources/views/controls/edit.blade.php | 10 +-
resources/views/controls/make.blade.php | 2 +-
resources/views/controls/show.blade.php | 2 +-
resources/views/layout.blade.php | 20 +
resources/views/measures/create.blade.php | 30 +-
resources/views/measures/edit.blade.php | 11 +-
resources/views/measures/show.blade.php | 2 +-
routes/web.php | 3 +
webpack.mix.js | 10 +-
92 files changed, 919 insertions(+), 5520 deletions(-)
delete mode 100644 public/vendors/ckeditor/LICENSE.md
delete mode 100644 public/vendors/ckeditor/README.md
delete mode 100644 public/vendors/ckeditor/ckeditor.js
delete mode 100644 public/vendors/ckeditor/ckeditor.js.map
delete mode 100644 public/vendors/ckeditor/index.html
delete mode 100644 public/vendors/ckeditor/sample/css/sample.css
delete mode 100644 public/vendors/ckeditor/sample/img/bg.png
delete mode 100644 public/vendors/ckeditor/sample/img/github.svg
delete mode 100644 public/vendors/ckeditor/sample/img/logo.svg
delete mode 100644 public/vendors/ckeditor/sample/img/umbrellas.jpg
delete mode 100644 public/vendors/ckeditor/translations/ar.js
delete mode 100644 public/vendors/ckeditor/translations/ast.js
delete mode 100644 public/vendors/ckeditor/translations/az.js
delete mode 100644 public/vendors/ckeditor/translations/bg.js
delete mode 100644 public/vendors/ckeditor/translations/ca.js
delete mode 100644 public/vendors/ckeditor/translations/cs.js
delete mode 100644 public/vendors/ckeditor/translations/da.js
delete mode 100644 public/vendors/ckeditor/translations/de-ch.js
delete mode 100644 public/vendors/ckeditor/translations/de.js
delete mode 100644 public/vendors/ckeditor/translations/el.js
delete mode 100644 public/vendors/ckeditor/translations/en-au.js
delete mode 100644 public/vendors/ckeditor/translations/eo.js
delete mode 100644 public/vendors/ckeditor/translations/es.js
delete mode 100644 public/vendors/ckeditor/translations/et.js
delete mode 100644 public/vendors/ckeditor/translations/eu.js
delete mode 100644 public/vendors/ckeditor/translations/fa.js
delete mode 100644 public/vendors/ckeditor/translations/fi.js
delete mode 100644 public/vendors/ckeditor/translations/fr.js
delete mode 100644 public/vendors/ckeditor/translations/gl.js
delete mode 100644 public/vendors/ckeditor/translations/gu.js
delete mode 100644 public/vendors/ckeditor/translations/he.js
delete mode 100644 public/vendors/ckeditor/translations/hr.js
delete mode 100644 public/vendors/ckeditor/translations/hu.js
delete mode 100644 public/vendors/ckeditor/translations/id.js
delete mode 100644 public/vendors/ckeditor/translations/it.js
delete mode 100644 public/vendors/ckeditor/translations/ja.js
delete mode 100644 public/vendors/ckeditor/translations/km.js
delete mode 100644 public/vendors/ckeditor/translations/kn.js
delete mode 100644 public/vendors/ckeditor/translations/ko.js
delete mode 100644 public/vendors/ckeditor/translations/ku.js
delete mode 100644 public/vendors/ckeditor/translations/lv.js
delete mode 100644 public/vendors/ckeditor/translations/nb.js
delete mode 100644 public/vendors/ckeditor/translations/ne.js
delete mode 100644 public/vendors/ckeditor/translations/nl.js
delete mode 100644 public/vendors/ckeditor/translations/no.js
delete mode 100644 public/vendors/ckeditor/translations/oc.js
delete mode 100644 public/vendors/ckeditor/translations/pl.js
delete mode 100644 public/vendors/ckeditor/translations/pt-br.js
delete mode 100644 public/vendors/ckeditor/translations/pt.js
delete mode 100644 public/vendors/ckeditor/translations/ro.js
delete mode 100644 public/vendors/ckeditor/translations/ru.js
delete mode 100644 public/vendors/ckeditor/translations/si.js
delete mode 100644 public/vendors/ckeditor/translations/sk.js
delete mode 100644 public/vendors/ckeditor/translations/sq.js
delete mode 100644 public/vendors/ckeditor/translations/sr-latn.js
delete mode 100644 public/vendors/ckeditor/translations/sr.js
delete mode 100644 public/vendors/ckeditor/translations/sv.js
delete mode 100644 public/vendors/ckeditor/translations/tr.js
delete mode 100644 public/vendors/ckeditor/translations/tt.js
delete mode 100644 public/vendors/ckeditor/translations/ug.js
delete mode 100644 public/vendors/ckeditor/translations/uk.js
delete mode 100644 public/vendors/ckeditor/translations/vi.js
delete mode 100644 public/vendors/ckeditor/translations/zh-cn.js
delete mode 100644 public/vendors/ckeditor/translations/zh.js
delete mode 100644 public/vendors/jsbarcode/JsBarcode.all.js
delete mode 100644 public/vendors/jsbarcode/JsBarcode.all.min.js
delete mode 100644 public/vendors/jsbarcode/barcodes/JsBarcode.codabar.min.js
delete mode 100644 public/vendors/jsbarcode/barcodes/JsBarcode.code128.min.js
delete mode 100644 public/vendors/jsbarcode/barcodes/JsBarcode.code39.min.js
delete mode 100644 public/vendors/jsbarcode/barcodes/JsBarcode.ean-upc.min.js
delete mode 100644 public/vendors/jsbarcode/barcodes/JsBarcode.itf.min.js
delete mode 100644 public/vendors/jsbarcode/barcodes/JsBarcode.msi.min.js
delete mode 100644 public/vendors/jsbarcode/barcodes/JsBarcode.pharmacode.min.js
delete mode 100644 public/vendors/qrcode/LICENSE
delete mode 100644 public/vendors/qrcode/README.md
delete mode 100644 public/vendors/qrcode/qrcode.js
delete mode 100644 public/vendors/qrcode/qrcode.min.js
diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php
index 291670ff..2fb594ae 100644
--- a/app/Http/Controllers/HomeController.php
+++ b/app/Http/Controllers/HomeController.php
@@ -162,4 +162,13 @@ public function index(Request $request)
->with('controls', $controls)
;
}
+
+ public function test(Request $request) {
+
+ $domain = DB::table('domains')->first();
+
+ return view('test')
+ ->with('domain',$domain);
+ }
+
}
diff --git a/composer.json b/composer.json
index 91a71cc7..5c6ffc5c 100644
--- a/composer.json
+++ b/composer.json
@@ -14,6 +14,7 @@
"laravel/tinker": "^2.8",
"laravel/ui": "^4.2",
"maatwebsite/excel": "^3.1",
+ "michelf/php-markdown": "^2.0",
"phpoffice/phpword": "^1.1.0"
},
"require-dev": {
diff --git a/package-lock.json b/package-lock.json
index d3111328..0c085520 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,6 +9,7 @@
"version": "1.0.0",
"license": "ISC",
"dependencies": {
+ "@fortawesome/fontawesome-free": "^6.4.2",
"accepts": "^1.3.8",
"acorn": "^8.8.2",
"acorn-import-assertions": "^1.8.0",
@@ -434,6 +435,7 @@
"shellwords": "^0.1.1",
"side-channel": "^1.0.4",
"signal-exit": "^3.0.7",
+ "simplemde": "^1.11.2",
"slash": "^3.0.0",
"sockjs": "^0.3.24",
"source-list-map": "^2.0.1",
@@ -534,11 +536,11 @@
}
},
"node_modules/@babel/code-frame": {
- "version": "7.22.13",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz",
- "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.4.tgz",
+ "integrity": "sha512-r1IONyb6Ia+jYR2vvIDhdWdlTGhqbBoFqLTQidzZ4kepUFH15ejXvFHxCVbtl7BOXIudsIubf4E81xeA3h3IXA==",
"dependencies": {
- "@babel/highlight": "^7.22.13",
+ "@babel/highlight": "^7.23.4",
"chalk": "^2.4.2"
},
"engines": {
@@ -546,29 +548,29 @@
}
},
"node_modules/@babel/compat-data": {
- "version": "7.22.20",
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.22.20.tgz",
- "integrity": "sha512-BQYjKbpXjoXwFW5jGqiizJQQT/aC7pFm9Ok1OWssonuguICi264lbgMzRp2ZMmRSlfkX6DsWDDcsrctK8Rwfiw==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.3.tgz",
+ "integrity": "sha512-BmR4bWbDIoFJmJ9z2cZ8Gmm2MXgEDgjdWgpKmKWUt54UGFJdlj31ECtbaDvCG/qVdG3AQ1SfpZEs01lUFbzLOQ==",
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/core": {
- "version": "7.22.20",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.22.20.tgz",
- "integrity": "sha512-Y6jd1ahLubuYweD/zJH+vvOY141v4f9igNQAQ+MBgq9JlHS2iTsZKn1aMsb3vGccZsXI16VzTBw52Xx0DWmtnA==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.3.tgz",
+ "integrity": "sha512-Jg+msLuNuCJDyBvFv5+OKOUjWMZgd85bKjbICd3zWrKAo+bJ49HJufi7CQE0q0uR8NGyO6xkCACScNqyjHSZew==",
"dependencies": {
"@ampproject/remapping": "^2.2.0",
"@babel/code-frame": "^7.22.13",
- "@babel/generator": "^7.22.15",
+ "@babel/generator": "^7.23.3",
"@babel/helper-compilation-targets": "^7.22.15",
- "@babel/helper-module-transforms": "^7.22.20",
- "@babel/helpers": "^7.22.15",
- "@babel/parser": "^7.22.16",
+ "@babel/helper-module-transforms": "^7.23.3",
+ "@babel/helpers": "^7.23.2",
+ "@babel/parser": "^7.23.3",
"@babel/template": "^7.22.15",
- "@babel/traverse": "^7.22.20",
- "@babel/types": "^7.22.19",
- "convert-source-map": "^1.7.0",
+ "@babel/traverse": "^7.23.3",
+ "@babel/types": "^7.23.3",
+ "convert-source-map": "^2.0.0",
"debug": "^4.1.0",
"gensync": "^1.0.0-beta.2",
"json5": "^2.2.3",
@@ -582,6 +584,11 @@
"url": "https://opencollective.com/babel"
}
},
+ "node_modules/@babel/core/node_modules/convert-source-map": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
+ "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="
+ },
"node_modules/@babel/core/node_modules/debug": {
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
@@ -604,11 +611,11 @@
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
},
"node_modules/@babel/generator": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.15.tgz",
- "integrity": "sha512-Zu9oWARBqeVOW0dZOjXc3JObrzuqothQ3y/n1kUtrjCoCPLkXUwMvOo/F/TCfoHMbWIFlWwpZtkZVb9ga4U2pA==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.4.tgz",
+ "integrity": "sha512-esuS49Cga3HcThFNebGhlgsrVLkvhqvYDTzgjfFFlHJcIfLe5jFmRRfCQ1KuBfc4Jrtn3ndLgKWAKjBE+IraYQ==",
"dependencies": {
- "@babel/types": "^7.22.15",
+ "@babel/types": "^7.23.4",
"@jridgewell/gen-mapping": "^0.3.2",
"@jridgewell/trace-mapping": "^0.3.17",
"jsesc": "^2.5.1"
@@ -742,12 +749,12 @@
}
},
"node_modules/@babel/helper-function-name": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz",
- "integrity": "sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ==",
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz",
+ "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==",
"dependencies": {
- "@babel/template": "^7.22.5",
- "@babel/types": "^7.22.5"
+ "@babel/template": "^7.22.15",
+ "@babel/types": "^7.23.0"
},
"engines": {
"node": ">=6.9.0"
@@ -765,12 +772,12 @@
}
},
"node_modules/@babel/helper-member-expression-to-functions": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.22.15.tgz",
- "integrity": "sha512-qLNsZbgrNh0fDQBCPocSL8guki1hcPvltGDv/NxvUoABwFq7GkKSu1nRXeJkVZc+wJvne2E0RKQz+2SQrz6eAA==",
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.23.0.tgz",
+ "integrity": "sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==",
"dev": true,
"dependencies": {
- "@babel/types": "^7.22.15"
+ "@babel/types": "^7.23.0"
},
"engines": {
"node": ">=6.9.0"
@@ -788,9 +795,9 @@
}
},
"node_modules/@babel/helper-module-transforms": {
- "version": "7.22.20",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.22.20.tgz",
- "integrity": "sha512-dLT7JVWIUUxKOs1UnJUBR3S70YK+pKX6AbJgB2vMIvEkZkrfJDbYDJesnPshtKV4LhDOR3Oc5YULeDizRek+5A==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz",
+ "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==",
"dependencies": {
"@babel/helper-environment-visitor": "^7.22.20",
"@babel/helper-module-imports": "^7.22.15",
@@ -894,9 +901,9 @@
}
},
"node_modules/@babel/helper-string-parser": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz",
- "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz",
+ "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==",
"engines": {
"node": ">=6.9.0"
}
@@ -932,22 +939,22 @@
}
},
"node_modules/@babel/helpers": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.22.15.tgz",
- "integrity": "sha512-7pAjK0aSdxOwR+CcYAqgWOGy5dcfvzsTIfFTb2odQqW47MDfv14UaJDY6eng8ylM2EaeKXdxaSWESbkmaQHTmw==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.4.tgz",
+ "integrity": "sha512-HfcMizYz10cr3h29VqyfGL6ZWIjTwWfvYBMsBVGwpcbhNGe3wQ1ZXZRPzZoAHhd9OqHadHqjQ89iVKINXnbzuw==",
"dependencies": {
"@babel/template": "^7.22.15",
- "@babel/traverse": "^7.22.15",
- "@babel/types": "^7.22.15"
+ "@babel/traverse": "^7.23.4",
+ "@babel/types": "^7.23.4"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/highlight": {
- "version": "7.22.20",
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz",
- "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz",
+ "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==",
"dependencies": {
"@babel/helper-validator-identifier": "^7.22.20",
"chalk": "^2.4.2",
@@ -958,9 +965,9 @@
}
},
"node_modules/@babel/parser": {
- "version": "7.22.16",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.16.tgz",
- "integrity": "sha512-+gPfKv8UWeKKeJTUxe59+OobVcrYHETCsORl61EmSkmgymguYk/X5bp7GuUIXaFsc6y++v8ZxPsLSSuujqDphA==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.4.tgz",
+ "integrity": "sha512-vf3Xna6UEprW+7t6EtOmFpHNAuxw3xqPZghy+brsnusscJRW5BMUzzHZc5ICjULee81WeUV2jjakG09MDglJXQ==",
"bin": {
"parser": "bin/babel-parser.js"
},
@@ -969,9 +976,9 @@
}
},
"node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.22.15.tgz",
- "integrity": "sha512-FB9iYlz7rURmRJyXRKEnalYPPdn87H5no108cyuQQyMwlpJ2SJtpIUBI27kdTin956pz+LPypkPVPUTlxOmrsg==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.23.3.tgz",
+ "integrity": "sha512-iRkKcCqb7iGnq9+3G6rZ+Ciz5VywC4XNRHe57lKM+jOeYAoR0lVqdeeDRfh0tQcTfw/+vBhHn926FmQhLtlFLQ==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -984,14 +991,14 @@
}
},
"node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.22.15.tgz",
- "integrity": "sha512-Hyph9LseGvAeeXzikV88bczhsrLrIZqDPxO+sSmAunMPaGrBGhfMWzCPYTtiW9t+HzSE2wtV8e5cc5P6r1xMDQ==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.23.3.tgz",
+ "integrity": "sha512-WwlxbfMNdVEpQjZmK5mhm7oSwD3dS6eU+Iwsi4Knl9wAletWem7kaRsGOG+8UEbRyqxY4SS5zvtfXwX+jMxUwQ==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5",
"@babel/helper-skip-transparent-expression-wrappers": "^7.22.5",
- "@babel/plugin-transform-optional-chaining": "^7.22.15"
+ "@babel/plugin-transform-optional-chaining": "^7.23.3"
},
"engines": {
"node": ">=6.9.0"
@@ -1000,6 +1007,22 @@
"@babel/core": "^7.13.0"
}
},
+ "node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": {
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.23.3.tgz",
+ "integrity": "sha512-XaJak1qcityzrX0/IU5nKHb34VaibwP3saKqG6a/tppelgllOH13LUann4ZCIBcVOeE6H18K4Vx9QKkVww3z/w==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-environment-visitor": "^7.22.20",
+ "@babel/helper-plugin-utils": "^7.22.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
"node_modules/@babel/plugin-proposal-object-rest-spread": {
"version": "7.20.7",
"resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz",
@@ -1096,9 +1119,9 @@
}
},
"node_modules/@babel/plugin-syntax-import-assertions": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.22.5.tgz",
- "integrity": "sha512-rdV97N7KqsRzeNGoWUOK6yUsWarLjE5Su/Snk9IYPU9CwkWHs4t+rTGOvffTR8XGkJMTAdLfO0xVnXm8wugIJg==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.23.3.tgz",
+ "integrity": "sha512-lPgDSU+SJLK3xmFDTV2ZRQAiM7UuUjGidwBywFavObCiZc1BeAAcMtHJKUya92hPHO+at63JJPLygilZard8jw==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -1111,9 +1134,9 @@
}
},
"node_modules/@babel/plugin-syntax-import-attributes": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.22.5.tgz",
- "integrity": "sha512-KwvoWDeNKPETmozyFE0P2rOLqh39EoQHNjqizrI5B8Vt0ZNS7M56s7dAiAqbYfiAYOuIzIh96z3iR2ktgu3tEg==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.23.3.tgz",
+ "integrity": "sha512-pawnE0P9g10xgoP7yKr6CK63K2FMsTE+FZidZO/1PwRdzmAPVs+HS1mAURUsgaoxammTJvULUdIkEK0gOcU2tA==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -1268,9 +1291,9 @@
}
},
"node_modules/@babel/plugin-transform-arrow-functions": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.22.5.tgz",
- "integrity": "sha512-26lTNXoVRdAnsaDXPpvCNUq+OVWEVC6bx7Vvz9rC53F2bagUWW4u4ii2+h8Fejfh7RYqPxn+libeFBBck9muEw==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.23.3.tgz",
+ "integrity": "sha512-NzQcQrzaQPkaEwoTm4Mhyl8jI1huEL/WWIEvudjTCMJ9aBZNpsJbMASx7EQECtQQPS/DcnFpo0FIh3LvEO9cxQ==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -1283,14 +1306,14 @@
}
},
"node_modules/@babel/plugin-transform-async-generator-functions": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.22.15.tgz",
- "integrity": "sha512-jBm1Es25Y+tVoTi5rfd5t1KLmL8ogLKpXszboWOTTtGFGz2RKnQe2yn7HbZ+kb/B8N0FVSGQo874NSlOU1T4+w==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.23.4.tgz",
+ "integrity": "sha512-efdkfPhHYTtn0G6n2ddrESE91fgXxjlqLsnUtPWnJs4a4mZIbUaK7ffqKIIUKXSHwcDvaCVX6GXkaJJFqtX7jw==",
"dev": true,
"dependencies": {
- "@babel/helper-environment-visitor": "^7.22.5",
+ "@babel/helper-environment-visitor": "^7.22.20",
"@babel/helper-plugin-utils": "^7.22.5",
- "@babel/helper-remap-async-to-generator": "^7.22.9",
+ "@babel/helper-remap-async-to-generator": "^7.22.20",
"@babel/plugin-syntax-async-generators": "^7.8.4"
},
"engines": {
@@ -1301,14 +1324,14 @@
}
},
"node_modules/@babel/plugin-transform-async-to-generator": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.22.5.tgz",
- "integrity": "sha512-b1A8D8ZzE/VhNDoV1MSJTnpKkCG5bJo+19R4o4oy03zM7ws8yEMK755j61Dc3EyvdysbqH5BOOTquJ7ZX9C6vQ==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.23.3.tgz",
+ "integrity": "sha512-A7LFsKi4U4fomjqXJlZg/u0ft/n8/7n7lpffUP/ZULx/DtV9SGlNKZolHH6PE8Xl1ngCc0M11OaeZptXVkfKSw==",
"dev": true,
"dependencies": {
- "@babel/helper-module-imports": "^7.22.5",
+ "@babel/helper-module-imports": "^7.22.15",
"@babel/helper-plugin-utils": "^7.22.5",
- "@babel/helper-remap-async-to-generator": "^7.22.5"
+ "@babel/helper-remap-async-to-generator": "^7.22.20"
},
"engines": {
"node": ">=6.9.0"
@@ -1318,9 +1341,9 @@
}
},
"node_modules/@babel/plugin-transform-block-scoped-functions": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.22.5.tgz",
- "integrity": "sha512-tdXZ2UdknEKQWKJP1KMNmuF5Lx3MymtMN/pvA+p/VEkhK8jVcQ1fzSy8KM9qRYhAf2/lV33hoMPKI/xaI9sADA==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.23.3.tgz",
+ "integrity": "sha512-vI+0sIaPIO6CNuM9Kk5VmXcMVRiOpDh7w2zZt9GXzmE/9KD70CUEVhvPR/etAeNK/FAEkhxQtXOzVF3EuRL41A==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -1333,9 +1356,9 @@
}
},
"node_modules/@babel/plugin-transform-block-scoping": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.22.15.tgz",
- "integrity": "sha512-G1czpdJBZCtngoK1sJgloLiOHUnkb/bLZwqVZD8kXmq0ZnVfTTWUcs9OWtp0mBtYJ+4LQY1fllqBkOIPhXmFmw==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.23.4.tgz",
+ "integrity": "sha512-0QqbP6B6HOh7/8iNR4CQU2Th/bbRtBp4KS9vcaZd1fZ0wSh5Fyssg0UCIHwxh+ka+pNDREbVLQnHCMHKZfPwfw==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -1348,12 +1371,12 @@
}
},
"node_modules/@babel/plugin-transform-class-properties": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.22.5.tgz",
- "integrity": "sha512-nDkQ0NfkOhPTq8YCLiWNxp1+f9fCobEjCb0n8WdbNUBc4IB5V7P1QnX9IjpSoquKrXF5SKojHleVNs2vGeHCHQ==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.23.3.tgz",
+ "integrity": "sha512-uM+AN8yCIjDPccsKGlw271xjJtGii+xQIF/uMPS8H15L12jZTsLfF4o5vNO7d/oUguOyfdikHGc/yi9ge4SGIg==",
"dev": true,
"dependencies": {
- "@babel/helper-create-class-features-plugin": "^7.22.5",
+ "@babel/helper-create-class-features-plugin": "^7.22.15",
"@babel/helper-plugin-utils": "^7.22.5"
},
"engines": {
@@ -1364,12 +1387,12 @@
}
},
"node_modules/@babel/plugin-transform-class-static-block": {
- "version": "7.22.11",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.22.11.tgz",
- "integrity": "sha512-GMM8gGmqI7guS/llMFk1bJDkKfn3v3C4KHK9Yg1ey5qcHcOlKb0QvcMrgzvxo+T03/4szNh5lghY+fEC98Kq9g==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.23.4.tgz",
+ "integrity": "sha512-nsWu/1M+ggti1SOALj3hfx5FXzAY06fwPJsUZD4/A5e1bWi46VUIWtD+kOX6/IdhXGsXBWllLFDSnqSCdUNydQ==",
"dev": true,
"dependencies": {
- "@babel/helper-create-class-features-plugin": "^7.22.11",
+ "@babel/helper-create-class-features-plugin": "^7.22.15",
"@babel/helper-plugin-utils": "^7.22.5",
"@babel/plugin-syntax-class-static-block": "^7.14.5"
},
@@ -1381,18 +1404,18 @@
}
},
"node_modules/@babel/plugin-transform-classes": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.22.15.tgz",
- "integrity": "sha512-VbbC3PGjBdE0wAWDdHM9G8Gm977pnYI0XpqMd6LrKISj8/DJXEsWqgRuTYaNE9Bv0JGhTZUzHDlMk18IpOuoqw==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.23.3.tgz",
+ "integrity": "sha512-FGEQmugvAEu2QtgtU0uTASXevfLMFfBeVCIIdcQhn/uBQsMTjBajdnAtanQlOcuihWh10PZ7+HWvc7NtBwP74w==",
"dev": true,
"dependencies": {
"@babel/helper-annotate-as-pure": "^7.22.5",
"@babel/helper-compilation-targets": "^7.22.15",
- "@babel/helper-environment-visitor": "^7.22.5",
- "@babel/helper-function-name": "^7.22.5",
+ "@babel/helper-environment-visitor": "^7.22.20",
+ "@babel/helper-function-name": "^7.23.0",
"@babel/helper-optimise-call-expression": "^7.22.5",
"@babel/helper-plugin-utils": "^7.22.5",
- "@babel/helper-replace-supers": "^7.22.9",
+ "@babel/helper-replace-supers": "^7.22.20",
"@babel/helper-split-export-declaration": "^7.22.6",
"globals": "^11.1.0"
},
@@ -1404,13 +1427,13 @@
}
},
"node_modules/@babel/plugin-transform-computed-properties": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.22.5.tgz",
- "integrity": "sha512-4GHWBgRf0krxPX+AaPtgBAlTgTeZmqDynokHOX7aqqAB4tHs3U2Y02zH6ETFdLZGcg9UQSD1WCmkVrE9ErHeOg==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.23.3.tgz",
+ "integrity": "sha512-dTj83UVTLw/+nbiHqQSFdwO9CbTtwq1DsDqm3CUEtDrZNET5rT5E6bIdTlOftDTDLMYxvxHNEYO4B9SLl8SLZw==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5",
- "@babel/template": "^7.22.5"
+ "@babel/template": "^7.22.15"
},
"engines": {
"node": ">=6.9.0"
@@ -1420,9 +1443,9 @@
}
},
"node_modules/@babel/plugin-transform-destructuring": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.22.15.tgz",
- "integrity": "sha512-HzG8sFl1ZVGTme74Nw+X01XsUTqERVQ6/RLHo3XjGRzm7XD6QTtfS3NJotVgCGy8BzkDqRjRBD8dAyJn5TuvSQ==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.23.3.tgz",
+ "integrity": "sha512-n225npDqjDIr967cMScVKHXJs7rout1q+tt50inyBCPkyZ8KxeI6d+GIbSBTT/w/9WdlWDOej3V9HE5Lgk57gw==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -1435,12 +1458,12 @@
}
},
"node_modules/@babel/plugin-transform-dotall-regex": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.22.5.tgz",
- "integrity": "sha512-5/Yk9QxCQCl+sOIB1WelKnVRxTJDSAIxtJLL2/pqL14ZVlbH0fUQUZa/T5/UnQtBNgghR7mfB8ERBKyKPCi7Vw==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.23.3.tgz",
+ "integrity": "sha512-vgnFYDHAKzFaTVp+mneDsIEbnJ2Np/9ng9iviHw3P/KVcgONxpNULEW/51Z/BaFojG2GI2GwwXck5uV1+1NOYQ==",
"dev": true,
"dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.22.5",
+ "@babel/helper-create-regexp-features-plugin": "^7.22.15",
"@babel/helper-plugin-utils": "^7.22.5"
},
"engines": {
@@ -1451,9 +1474,9 @@
}
},
"node_modules/@babel/plugin-transform-duplicate-keys": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.22.5.tgz",
- "integrity": "sha512-dEnYD+9BBgld5VBXHnF/DbYGp3fqGMsyxKbtD1mDyIA7AkTSpKXFhCVuj/oQVOoALfBs77DudA0BE4d5mcpmqw==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.23.3.tgz",
+ "integrity": "sha512-RrqQ+BQmU3Oyav3J+7/myfvRCq7Tbz+kKLLshUmMwNlDHExbGL7ARhajvoBJEvc+fCguPPu887N+3RRXBVKZUA==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -1466,9 +1489,9 @@
}
},
"node_modules/@babel/plugin-transform-dynamic-import": {
- "version": "7.22.11",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.22.11.tgz",
- "integrity": "sha512-g/21plo58sfteWjaO0ZNVb+uEOkJNjAaHhbejrnBmu011l/eNDScmkbjCC3l4FKb10ViaGU4aOkFznSu2zRHgA==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.23.4.tgz",
+ "integrity": "sha512-V6jIbLhdJK86MaLh4Jpghi8ho5fGzt3imHOBu/x0jlBaPYqDoWz4RDXjmMOfnh+JWNaQleEAByZLV0QzBT4YQQ==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5",
@@ -1482,12 +1505,12 @@
}
},
"node_modules/@babel/plugin-transform-exponentiation-operator": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.22.5.tgz",
- "integrity": "sha512-vIpJFNM/FjZ4rh1myqIya9jXwrwwgFRHPjT3DkUA9ZLHuzox8jiXkOLvwm1H+PQIP3CqfC++WPKeuDi0Sjdj1g==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.23.3.tgz",
+ "integrity": "sha512-5fhCsl1odX96u7ILKHBj4/Y8vipoqwsJMh4csSA8qFfxrZDEA4Ssku2DyNvMJSmZNOEBT750LfFPbtrnTP90BQ==",
"dev": true,
"dependencies": {
- "@babel/helper-builder-binary-assignment-operator-visitor": "^7.22.5",
+ "@babel/helper-builder-binary-assignment-operator-visitor": "^7.22.15",
"@babel/helper-plugin-utils": "^7.22.5"
},
"engines": {
@@ -1498,9 +1521,9 @@
}
},
"node_modules/@babel/plugin-transform-export-namespace-from": {
- "version": "7.22.11",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.22.11.tgz",
- "integrity": "sha512-xa7aad7q7OiT8oNZ1mU7NrISjlSkVdMbNxn9IuLZyL9AJEhs1Apba3I+u5riX1dIkdptP5EKDG5XDPByWxtehw==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.23.4.tgz",
+ "integrity": "sha512-GzuSBcKkx62dGzZI1WVgTWvkkz84FZO5TC5T8dl/Tht/rAla6Dg/Mz9Yhypg+ezVACf/rgDuQt3kbWEv7LdUDQ==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5",
@@ -1514,9 +1537,9 @@
}
},
"node_modules/@babel/plugin-transform-for-of": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.22.15.tgz",
- "integrity": "sha512-me6VGeHsx30+xh9fbDLLPi0J1HzmeIIyenoOQHuw2D4m2SAU3NrspX5XxJLBpqn5yrLzrlw2Iy3RA//Bx27iOA==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.23.3.tgz",
+ "integrity": "sha512-X8jSm8X1CMwxmK878qsUGJRmbysKNbdpTv/O1/v0LuY/ZkZrng5WYiekYSdg9m09OTmDDUWeEDsTE+17WYbAZw==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -1529,13 +1552,13 @@
}
},
"node_modules/@babel/plugin-transform-function-name": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.22.5.tgz",
- "integrity": "sha512-UIzQNMS0p0HHiQm3oelztj+ECwFnj+ZRV4KnguvlsD2of1whUeM6o7wGNj6oLwcDoAXQ8gEqfgC24D+VdIcevg==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.23.3.tgz",
+ "integrity": "sha512-I1QXp1LxIvt8yLaib49dRW5Okt7Q4oaxao6tFVKS/anCdEOMtYwWVKoiOA1p34GOWIZjUK0E+zCp7+l1pfQyiw==",
"dev": true,
"dependencies": {
- "@babel/helper-compilation-targets": "^7.22.5",
- "@babel/helper-function-name": "^7.22.5",
+ "@babel/helper-compilation-targets": "^7.22.15",
+ "@babel/helper-function-name": "^7.23.0",
"@babel/helper-plugin-utils": "^7.22.5"
},
"engines": {
@@ -1546,9 +1569,9 @@
}
},
"node_modules/@babel/plugin-transform-json-strings": {
- "version": "7.22.11",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.22.11.tgz",
- "integrity": "sha512-CxT5tCqpA9/jXFlme9xIBCc5RPtdDq3JpkkhgHQqtDdiTnTI0jtZ0QzXhr5DILeYifDPp2wvY2ad+7+hLMW5Pw==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.23.4.tgz",
+ "integrity": "sha512-81nTOqM1dMwZ/aRXQ59zVubN9wHGqk6UtqRK+/q+ciXmRy8fSolhGVvG09HHRGo4l6fr/c4ZhXUQH0uFW7PZbg==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5",
@@ -1562,9 +1585,9 @@
}
},
"node_modules/@babel/plugin-transform-literals": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.22.5.tgz",
- "integrity": "sha512-fTLj4D79M+mepcw3dgFBTIDYpbcB9Sm0bpm4ppXPaO+U+PKFFyV9MGRvS0gvGw62sd10kT5lRMKXAADb9pWy8g==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.23.3.tgz",
+ "integrity": "sha512-wZ0PIXRxnwZvl9AYpqNUxpZ5BiTGrYt7kueGQ+N5FiQ7RCOD4cm8iShd6S6ggfVIWaJf2EMk8eRzAh52RfP4rQ==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -1577,9 +1600,9 @@
}
},
"node_modules/@babel/plugin-transform-logical-assignment-operators": {
- "version": "7.22.11",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.22.11.tgz",
- "integrity": "sha512-qQwRTP4+6xFCDV5k7gZBF3C31K34ut0tbEcTKxlX/0KXxm9GLcO14p570aWxFvVzx6QAfPgq7gaeIHXJC8LswQ==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.23.4.tgz",
+ "integrity": "sha512-Mc/ALf1rmZTP4JKKEhUwiORU+vcfarFVLfcFiolKUo6sewoxSEgl36ak5t+4WamRsNr6nzjZXQjM35WsU+9vbg==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5",
@@ -1593,9 +1616,9 @@
}
},
"node_modules/@babel/plugin-transform-member-expression-literals": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.22.5.tgz",
- "integrity": "sha512-RZEdkNtzzYCFl9SE9ATaUMTj2hqMb4StarOJLrZRbqqU4HSBE7UlBw9WBWQiDzrJZJdUWiMTVDI6Gv/8DPvfew==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.23.3.tgz",
+ "integrity": "sha512-sC3LdDBDi5x96LA+Ytekz2ZPk8i/Ck+DEuDbRAll5rknJ5XRTSaPKEYwomLcs1AA8wg9b3KjIQRsnApj+q51Ag==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -1608,12 +1631,12 @@
}
},
"node_modules/@babel/plugin-transform-modules-amd": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.22.5.tgz",
- "integrity": "sha512-R+PTfLTcYEmb1+kK7FNkhQ1gP4KgjpSO6HfH9+f8/yfp2Nt3ggBjiVpRwmwTlfqZLafYKJACy36yDXlEmI9HjQ==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.23.3.tgz",
+ "integrity": "sha512-vJYQGxeKM4t8hYCKVBlZX/gtIY2I7mRGFNcm85sgXGMTBcoV3QdVtdpbcWEbzbfUIUZKwvgFT82mRvaQIebZzw==",
"dev": true,
"dependencies": {
- "@babel/helper-module-transforms": "^7.22.5",
+ "@babel/helper-module-transforms": "^7.23.3",
"@babel/helper-plugin-utils": "^7.22.5"
},
"engines": {
@@ -1624,12 +1647,12 @@
}
},
"node_modules/@babel/plugin-transform-modules-commonjs": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.22.15.tgz",
- "integrity": "sha512-jWL4eh90w0HQOTKP2MoXXUpVxilxsB2Vl4ji69rSjS3EcZ/v4sBmn+A3NpepuJzBhOaEBbR7udonlHHn5DWidg==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.23.3.tgz",
+ "integrity": "sha512-aVS0F65LKsdNOtcz6FRCpE4OgsP2OFnW46qNxNIX9h3wuzaNcSQsJysuMwqSibC98HPrf2vCgtxKNwS0DAlgcA==",
"dev": true,
"dependencies": {
- "@babel/helper-module-transforms": "^7.22.15",
+ "@babel/helper-module-transforms": "^7.23.3",
"@babel/helper-plugin-utils": "^7.22.5",
"@babel/helper-simple-access": "^7.22.5"
},
@@ -1641,15 +1664,15 @@
}
},
"node_modules/@babel/plugin-transform-modules-systemjs": {
- "version": "7.22.11",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.22.11.tgz",
- "integrity": "sha512-rIqHmHoMEOhI3VkVf5jQ15l539KrwhzqcBO6wdCNWPWc/JWt9ILNYNUssbRpeq0qWns8svuw8LnMNCvWBIJ8wA==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.23.3.tgz",
+ "integrity": "sha512-ZxyKGTkF9xT9YJuKQRo19ewf3pXpopuYQd8cDXqNzc3mUNbOME0RKMoZxviQk74hwzfQsEe66dE92MaZbdHKNQ==",
"dev": true,
"dependencies": {
"@babel/helper-hoist-variables": "^7.22.5",
- "@babel/helper-module-transforms": "^7.22.9",
+ "@babel/helper-module-transforms": "^7.23.3",
"@babel/helper-plugin-utils": "^7.22.5",
- "@babel/helper-validator-identifier": "^7.22.5"
+ "@babel/helper-validator-identifier": "^7.22.20"
},
"engines": {
"node": ">=6.9.0"
@@ -1659,12 +1682,12 @@
}
},
"node_modules/@babel/plugin-transform-modules-umd": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.22.5.tgz",
- "integrity": "sha512-+S6kzefN/E1vkSsKx8kmQuqeQsvCKCd1fraCM7zXm4SFoggI099Tr4G8U81+5gtMdUeMQ4ipdQffbKLX0/7dBQ==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.23.3.tgz",
+ "integrity": "sha512-zHsy9iXX2nIsCBFPud3jKn1IRPWg3Ing1qOZgeKV39m1ZgIdpJqvlWVeiHBZC6ITRG0MfskhYe9cLgntfSFPIg==",
"dev": true,
"dependencies": {
- "@babel/helper-module-transforms": "^7.22.5",
+ "@babel/helper-module-transforms": "^7.23.3",
"@babel/helper-plugin-utils": "^7.22.5"
},
"engines": {
@@ -1691,9 +1714,9 @@
}
},
"node_modules/@babel/plugin-transform-new-target": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.22.5.tgz",
- "integrity": "sha512-AsF7K0Fx/cNKVyk3a+DW0JLo+Ua598/NxMRvxDnkpCIGFh43+h/v2xyhRUYf6oD8gE4QtL83C7zZVghMjHd+iw==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.23.3.tgz",
+ "integrity": "sha512-YJ3xKqtJMAT5/TIZnpAR3I+K+WaDowYbN3xyxI8zxx/Gsypwf9B9h0VB+1Nh6ACAAPRS5NSRje0uVv5i79HYGQ==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -1706,9 +1729,9 @@
}
},
"node_modules/@babel/plugin-transform-nullish-coalescing-operator": {
- "version": "7.22.11",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.22.11.tgz",
- "integrity": "sha512-YZWOw4HxXrotb5xsjMJUDlLgcDXSfO9eCmdl1bgW4+/lAGdkjaEvOnQ4p5WKKdUgSzO39dgPl0pTnfxm0OAXcg==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.23.4.tgz",
+ "integrity": "sha512-jHE9EVVqHKAQx+VePv5LLGHjmHSJR76vawFPTdlxR/LVJPfOEGxREQwQfjuZEOPTwG92X3LINSh3M40Rv4zpVA==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5",
@@ -1722,9 +1745,9 @@
}
},
"node_modules/@babel/plugin-transform-numeric-separator": {
- "version": "7.22.11",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.22.11.tgz",
- "integrity": "sha512-3dzU4QGPsILdJbASKhF/V2TVP+gJya1PsueQCxIPCEcerqF21oEcrob4mzjsp2Py/1nLfF5m+xYNMDpmA8vffg==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.23.4.tgz",
+ "integrity": "sha512-mps6auzgwjRrwKEZA05cOwuDc9FAzoyFS4ZsG/8F43bTLf/TgkJg7QXOrPO1JO599iA3qgK9MXdMGOEC8O1h6Q==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5",
@@ -1738,16 +1761,16 @@
}
},
"node_modules/@babel/plugin-transform-object-rest-spread": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.22.15.tgz",
- "integrity": "sha512-fEB+I1+gAmfAyxZcX1+ZUwLeAuuf8VIg67CTznZE0MqVFumWkh8xWtn58I4dxdVf080wn7gzWoF8vndOViJe9Q==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.23.4.tgz",
+ "integrity": "sha512-9x9K1YyeQVw0iOXJlIzwm8ltobIIv7j2iLyP2jIhEbqPRQ7ScNgwQufU2I0Gq11VjyG4gI4yMXt2VFags+1N3g==",
"dev": true,
"dependencies": {
- "@babel/compat-data": "^7.22.9",
+ "@babel/compat-data": "^7.23.3",
"@babel/helper-compilation-targets": "^7.22.15",
"@babel/helper-plugin-utils": "^7.22.5",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
- "@babel/plugin-transform-parameters": "^7.22.15"
+ "@babel/plugin-transform-parameters": "^7.23.3"
},
"engines": {
"node": ">=6.9.0"
@@ -1757,13 +1780,13 @@
}
},
"node_modules/@babel/plugin-transform-object-super": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.22.5.tgz",
- "integrity": "sha512-klXqyaT9trSjIUrcsYIfETAzmOEZL3cBYqOYLJxBHfMFFggmXOv+NYSX/Jbs9mzMVESw/WycLFPRx8ba/b2Ipw==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.23.3.tgz",
+ "integrity": "sha512-BwQ8q0x2JG+3lxCVFohg+KbQM7plfpBwThdW9A6TMtWwLsbDA01Ek2Zb/AgDN39BiZsExm4qrXxjk+P1/fzGrA==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5",
- "@babel/helper-replace-supers": "^7.22.5"
+ "@babel/helper-replace-supers": "^7.22.20"
},
"engines": {
"node": ">=6.9.0"
@@ -1773,9 +1796,9 @@
}
},
"node_modules/@babel/plugin-transform-optional-catch-binding": {
- "version": "7.22.11",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.22.11.tgz",
- "integrity": "sha512-rli0WxesXUeCJnMYhzAglEjLWVDF6ahb45HuprcmQuLidBJFWjNnOzssk2kuc6e33FlLaiZhG/kUIzUMWdBKaQ==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.23.4.tgz",
+ "integrity": "sha512-XIq8t0rJPHf6Wvmbn9nFxU6ao4c7WhghTR5WyV8SrJfUFzyxhCm4nhC+iAp3HFhbAKLfYpgzhJ6t4XCtVwqO5A==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5",
@@ -1789,9 +1812,9 @@
}
},
"node_modules/@babel/plugin-transform-optional-chaining": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.22.15.tgz",
- "integrity": "sha512-ngQ2tBhq5vvSJw2Q2Z9i7ealNkpDMU0rGWnHPKqRZO0tzZ5tlaoz4hDvhXioOoaE0X2vfNss1djwg0DXlfu30A==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.23.4.tgz",
+ "integrity": "sha512-ZU8y5zWOfjM5vZ+asjgAPwDaBjJzgufjES89Rs4Lpq63O300R/kOz30WCLo6BxxX6QVEilwSlpClnG5cZaikTA==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5",
@@ -1806,9 +1829,9 @@
}
},
"node_modules/@babel/plugin-transform-parameters": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.22.15.tgz",
- "integrity": "sha512-hjk7qKIqhyzhhUvRT683TYQOFa/4cQKwQy7ALvTpODswN40MljzNDa0YldevS6tGbxwaEKVn502JmY0dP7qEtQ==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.23.3.tgz",
+ "integrity": "sha512-09lMt6UsUb3/34BbECKVbVwrT9bO6lILWln237z7sLaWnMsTi7Yc9fhX5DLpkJzAGfaReXI22wP41SZmnAA3Vw==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -1821,12 +1844,12 @@
}
},
"node_modules/@babel/plugin-transform-private-methods": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.22.5.tgz",
- "integrity": "sha512-PPjh4gyrQnGe97JTalgRGMuU4icsZFnWkzicB/fUtzlKUqvsWBKEpPPfr5a2JiyirZkHxnAqkQMO5Z5B2kK3fA==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.23.3.tgz",
+ "integrity": "sha512-UzqRcRtWsDMTLrRWFvUBDwmw06tCQH9Rl1uAjfh6ijMSmGYQ+fpdB+cnqRC8EMh5tuuxSv0/TejGL+7vyj+50g==",
"dev": true,
"dependencies": {
- "@babel/helper-create-class-features-plugin": "^7.22.5",
+ "@babel/helper-create-class-features-plugin": "^7.22.15",
"@babel/helper-plugin-utils": "^7.22.5"
},
"engines": {
@@ -1837,13 +1860,13 @@
}
},
"node_modules/@babel/plugin-transform-private-property-in-object": {
- "version": "7.22.11",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.22.11.tgz",
- "integrity": "sha512-sSCbqZDBKHetvjSwpyWzhuHkmW5RummxJBVbYLkGkaiTOWGxml7SXt0iWa03bzxFIx7wOj3g/ILRd0RcJKBeSQ==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.23.4.tgz",
+ "integrity": "sha512-9G3K1YqTq3F4Vt88Djx1UZ79PDyj+yKRnUy7cZGSMe+a7jkwD259uKKuUzQlPkGam7R+8RJwh5z4xO27fA1o2A==",
"dev": true,
"dependencies": {
"@babel/helper-annotate-as-pure": "^7.22.5",
- "@babel/helper-create-class-features-plugin": "^7.22.11",
+ "@babel/helper-create-class-features-plugin": "^7.22.15",
"@babel/helper-plugin-utils": "^7.22.5",
"@babel/plugin-syntax-private-property-in-object": "^7.14.5"
},
@@ -1855,9 +1878,9 @@
}
},
"node_modules/@babel/plugin-transform-property-literals": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.22.5.tgz",
- "integrity": "sha512-TiOArgddK3mK/x1Qwf5hay2pxI6wCZnvQqrFSqbtg1GLl2JcNMitVH/YnqjP+M31pLUeTfzY1HAXFDnUBV30rQ==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.23.3.tgz",
+ "integrity": "sha512-jR3Jn3y7cZp4oEWPFAlRsSWjxKe4PZILGBSd4nis1TsC5qeSpb+nrtihJuDhNI7QHiVbUaiXa0X2RZY3/TI6Nw==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -1870,9 +1893,9 @@
}
},
"node_modules/@babel/plugin-transform-regenerator": {
- "version": "7.22.10",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.22.10.tgz",
- "integrity": "sha512-F28b1mDt8KcT5bUyJc/U9nwzw6cV+UmTeRlXYIl2TNqMMJif0Jeey9/RQ3C4NOd2zp0/TRsDns9ttj2L523rsw==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.23.3.tgz",
+ "integrity": "sha512-KP+75h0KghBMcVpuKisx3XTu9Ncut8Q8TuvGO4IhY+9D5DFEckQefOuIsB/gQ2tG71lCke4NMrtIPS8pOj18BQ==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5",
@@ -1886,9 +1909,9 @@
}
},
"node_modules/@babel/plugin-transform-reserved-words": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.22.5.tgz",
- "integrity": "sha512-DTtGKFRQUDm8svigJzZHzb/2xatPc6TzNvAIJ5GqOKDsGFYgAskjRulbR/vGsPKq3OPqtexnz327qYpP57RFyA==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.23.3.tgz",
+ "integrity": "sha512-QnNTazY54YqgGxwIexMZva9gqbPa15t/x9VS+0fsEFWplwVpXYZivtgl43Z1vMpc1bdPP2PP8siFeVcnFvA3Cg==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -1901,16 +1924,16 @@
}
},
"node_modules/@babel/plugin-transform-runtime": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.22.15.tgz",
- "integrity": "sha512-tEVLhk8NRZSmwQ0DJtxxhTrCht1HVo8VaMzYT4w6lwyKBuHsgoioAUA7/6eT2fRfc5/23fuGdlwIxXhRVgWr4g==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.23.4.tgz",
+ "integrity": "sha512-ITwqpb6V4btwUG0YJR82o2QvmWrLgDnx/p2A3CTPYGaRgULkDiC0DRA2C4jlRB9uXGUEfaSS/IGHfVW+ohzYDw==",
"dev": true,
"dependencies": {
"@babel/helper-module-imports": "^7.22.15",
"@babel/helper-plugin-utils": "^7.22.5",
- "babel-plugin-polyfill-corejs2": "^0.4.5",
- "babel-plugin-polyfill-corejs3": "^0.8.3",
- "babel-plugin-polyfill-regenerator": "^0.5.2",
+ "babel-plugin-polyfill-corejs2": "^0.4.6",
+ "babel-plugin-polyfill-corejs3": "^0.8.5",
+ "babel-plugin-polyfill-regenerator": "^0.5.3",
"semver": "^6.3.1"
},
"engines": {
@@ -1921,9 +1944,9 @@
}
},
"node_modules/@babel/plugin-transform-runtime/node_modules/@babel/helper-define-polyfill-provider": {
- "version": "0.4.2",
- "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.4.2.tgz",
- "integrity": "sha512-k0qnnOqHn5dK9pZpfD5XXZ9SojAITdCKRn2Lp6rnDGzIbaP0rHyMPk/4wsSxVBVz4RfN0q6VpXWP2pDGIoQ7hw==",
+ "version": "0.4.3",
+ "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.4.3.tgz",
+ "integrity": "sha512-WBrLmuPP47n7PNwsZ57pqam6G/RGo1vw/87b0Blc53tZNGZ4x7YvZ6HgQe2vo1W/FR20OgjeZuGXzudPiXHFug==",
"dev": true,
"dependencies": {
"@babel/helper-compilation-targets": "^7.22.6",
@@ -1937,13 +1960,13 @@
}
},
"node_modules/@babel/plugin-transform-runtime/node_modules/babel-plugin-polyfill-corejs2": {
- "version": "0.4.5",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.5.tgz",
- "integrity": "sha512-19hwUH5FKl49JEsvyTcoHakh6BE0wgXLLptIyKZ3PijHc/Ci521wygORCUCCred+E/twuqRyAkE02BAWPmsHOg==",
+ "version": "0.4.6",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.6.tgz",
+ "integrity": "sha512-jhHiWVZIlnPbEUKSSNb9YoWcQGdlTLq7z1GHL4AjFxaoOUMuuEVJ+Y4pAaQUGOGk93YsVCKPbqbfw3m0SM6H8Q==",
"dev": true,
"dependencies": {
"@babel/compat-data": "^7.22.6",
- "@babel/helper-define-polyfill-provider": "^0.4.2",
+ "@babel/helper-define-polyfill-provider": "^0.4.3",
"semver": "^6.3.1"
},
"peerDependencies": {
@@ -1951,25 +1974,25 @@
}
},
"node_modules/@babel/plugin-transform-runtime/node_modules/babel-plugin-polyfill-corejs3": {
- "version": "0.8.3",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.3.tgz",
- "integrity": "sha512-z41XaniZL26WLrvjy7soabMXrfPWARN25PZoriDEiLMxAp50AUW3t35BGQUMg5xK3UrpVTtagIDklxYa+MhiNA==",
+ "version": "0.8.6",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.6.tgz",
+ "integrity": "sha512-leDIc4l4tUgU7str5BWLS2h8q2N4Nf6lGZP6UrNDxdtfF2g69eJ5L0H7S8A5Ln/arfFAfHor5InAdZuIOwZdgQ==",
"dev": true,
"dependencies": {
- "@babel/helper-define-polyfill-provider": "^0.4.2",
- "core-js-compat": "^3.31.0"
+ "@babel/helper-define-polyfill-provider": "^0.4.3",
+ "core-js-compat": "^3.33.1"
},
"peerDependencies": {
"@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
}
},
"node_modules/@babel/plugin-transform-runtime/node_modules/babel-plugin-polyfill-regenerator": {
- "version": "0.5.2",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.2.tgz",
- "integrity": "sha512-tAlOptU0Xj34V1Y2PNTL4Y0FOJMDB6bZmoW39FeCQIhigGLkqu3Fj6uiXpxIf6Ij274ENdYx64y6Au+ZKlb1IA==",
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.3.tgz",
+ "integrity": "sha512-8sHeDOmXC8csczMrYEOf0UTNa4yE2SxV5JGeT/LP1n0OYVDUUFPxG9vdk2AlDlIit4t+Kf0xCtpgXPBwnn/9pw==",
"dev": true,
"dependencies": {
- "@babel/helper-define-polyfill-provider": "^0.4.2"
+ "@babel/helper-define-polyfill-provider": "^0.4.3"
},
"peerDependencies": {
"@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
@@ -1999,9 +2022,9 @@
"dev": true
},
"node_modules/@babel/plugin-transform-shorthand-properties": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.22.5.tgz",
- "integrity": "sha512-vM4fq9IXHscXVKzDv5itkO1X52SmdFBFcMIBZ2FRn2nqVYqw6dBexUgMvAjHW+KXpPPViD/Yo3GrDEBaRC0QYA==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.23.3.tgz",
+ "integrity": "sha512-ED2fgqZLmexWiN+YNFX26fx4gh5qHDhn1O2gvEhreLW2iI63Sqm4llRLCXALKrCnbN4Jy0VcMQZl/SAzqug/jg==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -2014,9 +2037,9 @@
}
},
"node_modules/@babel/plugin-transform-spread": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.22.5.tgz",
- "integrity": "sha512-5ZzDQIGyvN4w8+dMmpohL6MBo+l2G7tfC/O2Dg7/hjpgeWvUx8FzfeOKxGog9IimPa4YekaQ9PlDqTLOljkcxg==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.23.3.tgz",
+ "integrity": "sha512-VvfVYlrlBVu+77xVTOAoxQ6mZbnIq5FM0aGBSFEcIh03qHf+zNqA4DC/3XMUozTg7bZV3e3mZQ0i13VB6v5yUg==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5",
@@ -2030,9 +2053,9 @@
}
},
"node_modules/@babel/plugin-transform-sticky-regex": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.22.5.tgz",
- "integrity": "sha512-zf7LuNpHG0iEeiyCNwX4j3gDg1jgt1k3ZdXBKbZSoA3BbGQGvMiSvfbZRR3Dr3aeJe3ooWFZxOOG3IRStYp2Bw==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.23.3.tgz",
+ "integrity": "sha512-HZOyN9g+rtvnOU3Yh7kSxXrKbzgrm5X4GncPY1QOquu7epga5MxKHVpYu2hvQnry/H+JjckSYRb93iNfsioAGg==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -2045,9 +2068,9 @@
}
},
"node_modules/@babel/plugin-transform-template-literals": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.22.5.tgz",
- "integrity": "sha512-5ciOehRNf+EyUeewo8NkbQiUs4d6ZxiHo6BcBcnFlgiJfu16q0bQUw9Jvo0b0gBKFG1SMhDSjeKXSYuJLeFSMA==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.23.3.tgz",
+ "integrity": "sha512-Flok06AYNp7GV2oJPZZcP9vZdszev6vPBkHLwxwSpaIqx75wn6mUd3UFWsSsA0l8nXAKkyCmL/sR02m8RYGeHg==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -2060,9 +2083,9 @@
}
},
"node_modules/@babel/plugin-transform-typeof-symbol": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.22.5.tgz",
- "integrity": "sha512-bYkI5lMzL4kPii4HHEEChkD0rkc+nvnlR6+o/qdqR6zrm0Sv/nodmyLhlq2DO0YKLUNd2VePmPRjJXSBh9OIdA==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.23.3.tgz",
+ "integrity": "sha512-4t15ViVnaFdrPC74be1gXBSMzXk3B4Us9lP7uLRQHTFpV5Dvt33pn+2MyyNxmN3VTTm3oTrZVMUmuw3oBnQ2oQ==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -2075,9 +2098,9 @@
}
},
"node_modules/@babel/plugin-transform-unicode-escapes": {
- "version": "7.22.10",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.22.10.tgz",
- "integrity": "sha512-lRfaRKGZCBqDlRU3UIFovdp9c9mEvlylmpod0/OatICsSfuQ9YFthRo1tpTkGsklEefZdqlEFdY4A2dwTb6ohg==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.23.3.tgz",
+ "integrity": "sha512-OMCUx/bU6ChE3r4+ZdylEqAjaQgHAgipgW8nsCfu5pGqDcFytVd91AwRvUJSBZDz0exPGgnjoqhgRYLRjFZc9Q==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
@@ -2090,12 +2113,12 @@
}
},
"node_modules/@babel/plugin-transform-unicode-property-regex": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.22.5.tgz",
- "integrity": "sha512-HCCIb+CbJIAE6sXn5CjFQXMwkCClcOfPCzTlilJ8cUatfzwHlWQkbtV0zD338u9dZskwvuOYTuuaMaA8J5EI5A==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.23.3.tgz",
+ "integrity": "sha512-KcLIm+pDZkWZQAFJ9pdfmh89EwVfmNovFBcXko8szpBeF8z68kWIPeKlmSOkT9BXJxs2C0uk+5LxoxIv62MROA==",
"dev": true,
"dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.22.5",
+ "@babel/helper-create-regexp-features-plugin": "^7.22.15",
"@babel/helper-plugin-utils": "^7.22.5"
},
"engines": {
@@ -2106,12 +2129,12 @@
}
},
"node_modules/@babel/plugin-transform-unicode-regex": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.22.5.tgz",
- "integrity": "sha512-028laaOKptN5vHJf9/Arr/HiJekMd41hOEZYvNsrsXqJ7YPYuX2bQxh31fkZzGmq3YqHRJzYFFAVYvKfMPKqyg==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.23.3.tgz",
+ "integrity": "sha512-wMHpNA4x2cIA32b/ci3AfwNgheiva2W0WUKWTK7vBHBhDKfPsc5cFGNWm69WBqpwd86u1qwZ9PWevKqm1A3yAw==",
"dev": true,
"dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.22.5",
+ "@babel/helper-create-regexp-features-plugin": "^7.22.15",
"@babel/helper-plugin-utils": "^7.22.5"
},
"engines": {
@@ -2122,12 +2145,12 @@
}
},
"node_modules/@babel/plugin-transform-unicode-sets-regex": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.22.5.tgz",
- "integrity": "sha512-lhMfi4FC15j13eKrh3DnYHjpGj6UKQHtNKTbtc1igvAhRy4+kLhV07OpLcsN0VgDEw/MjAvJO4BdMJsHwMhzCg==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.23.3.tgz",
+ "integrity": "sha512-W7lliA/v9bNR83Qc3q1ip9CQMZ09CcHDbHfbLRDNuAhn1Mvkr1ZNF7hPmztMQvtTGVLJ9m8IZqWsTkXOml8dbw==",
"dev": true,
"dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.22.5",
+ "@babel/helper-create-regexp-features-plugin": "^7.22.15",
"@babel/helper-plugin-utils": "^7.22.5"
},
"engines": {
@@ -2138,25 +2161,26 @@
}
},
"node_modules/@babel/preset-env": {
- "version": "7.22.20",
- "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.22.20.tgz",
- "integrity": "sha512-11MY04gGC4kSzlPHRfvVkNAZhUxOvm7DCJ37hPDnUENwe06npjIRAfInEMTGSb4LZK5ZgDFkv5hw0lGebHeTyg==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.23.3.tgz",
+ "integrity": "sha512-ovzGc2uuyNfNAs/jyjIGxS8arOHS5FENZaNn4rtE7UdKMMkqHCvboHfcuhWLZNX5cB44QfcGNWjaevxMzzMf+Q==",
"dev": true,
"dependencies": {
- "@babel/compat-data": "^7.22.20",
+ "@babel/compat-data": "^7.23.3",
"@babel/helper-compilation-targets": "^7.22.15",
"@babel/helper-plugin-utils": "^7.22.5",
"@babel/helper-validator-option": "^7.22.15",
- "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.22.15",
- "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.22.15",
+ "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.23.3",
+ "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.23.3",
+ "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.23.3",
"@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2",
"@babel/plugin-syntax-async-generators": "^7.8.4",
"@babel/plugin-syntax-class-properties": "^7.12.13",
"@babel/plugin-syntax-class-static-block": "^7.14.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-export-namespace-from": "^7.8.3",
- "@babel/plugin-syntax-import-assertions": "^7.22.5",
- "@babel/plugin-syntax-import-attributes": "^7.22.5",
+ "@babel/plugin-syntax-import-assertions": "^7.23.3",
+ "@babel/plugin-syntax-import-attributes": "^7.23.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-syntax-json-strings": "^7.8.3",
"@babel/plugin-syntax-logical-assignment-operators": "^7.10.4",
@@ -2168,59 +2192,58 @@
"@babel/plugin-syntax-private-property-in-object": "^7.14.5",
"@babel/plugin-syntax-top-level-await": "^7.14.5",
"@babel/plugin-syntax-unicode-sets-regex": "^7.18.6",
- "@babel/plugin-transform-arrow-functions": "^7.22.5",
- "@babel/plugin-transform-async-generator-functions": "^7.22.15",
- "@babel/plugin-transform-async-to-generator": "^7.22.5",
- "@babel/plugin-transform-block-scoped-functions": "^7.22.5",
- "@babel/plugin-transform-block-scoping": "^7.22.15",
- "@babel/plugin-transform-class-properties": "^7.22.5",
- "@babel/plugin-transform-class-static-block": "^7.22.11",
- "@babel/plugin-transform-classes": "^7.22.15",
- "@babel/plugin-transform-computed-properties": "^7.22.5",
- "@babel/plugin-transform-destructuring": "^7.22.15",
- "@babel/plugin-transform-dotall-regex": "^7.22.5",
- "@babel/plugin-transform-duplicate-keys": "^7.22.5",
- "@babel/plugin-transform-dynamic-import": "^7.22.11",
- "@babel/plugin-transform-exponentiation-operator": "^7.22.5",
- "@babel/plugin-transform-export-namespace-from": "^7.22.11",
- "@babel/plugin-transform-for-of": "^7.22.15",
- "@babel/plugin-transform-function-name": "^7.22.5",
- "@babel/plugin-transform-json-strings": "^7.22.11",
- "@babel/plugin-transform-literals": "^7.22.5",
- "@babel/plugin-transform-logical-assignment-operators": "^7.22.11",
- "@babel/plugin-transform-member-expression-literals": "^7.22.5",
- "@babel/plugin-transform-modules-amd": "^7.22.5",
- "@babel/plugin-transform-modules-commonjs": "^7.22.15",
- "@babel/plugin-transform-modules-systemjs": "^7.22.11",
- "@babel/plugin-transform-modules-umd": "^7.22.5",
+ "@babel/plugin-transform-arrow-functions": "^7.23.3",
+ "@babel/plugin-transform-async-generator-functions": "^7.23.3",
+ "@babel/plugin-transform-async-to-generator": "^7.23.3",
+ "@babel/plugin-transform-block-scoped-functions": "^7.23.3",
+ "@babel/plugin-transform-block-scoping": "^7.23.3",
+ "@babel/plugin-transform-class-properties": "^7.23.3",
+ "@babel/plugin-transform-class-static-block": "^7.23.3",
+ "@babel/plugin-transform-classes": "^7.23.3",
+ "@babel/plugin-transform-computed-properties": "^7.23.3",
+ "@babel/plugin-transform-destructuring": "^7.23.3",
+ "@babel/plugin-transform-dotall-regex": "^7.23.3",
+ "@babel/plugin-transform-duplicate-keys": "^7.23.3",
+ "@babel/plugin-transform-dynamic-import": "^7.23.3",
+ "@babel/plugin-transform-exponentiation-operator": "^7.23.3",
+ "@babel/plugin-transform-export-namespace-from": "^7.23.3",
+ "@babel/plugin-transform-for-of": "^7.23.3",
+ "@babel/plugin-transform-function-name": "^7.23.3",
+ "@babel/plugin-transform-json-strings": "^7.23.3",
+ "@babel/plugin-transform-literals": "^7.23.3",
+ "@babel/plugin-transform-logical-assignment-operators": "^7.23.3",
+ "@babel/plugin-transform-member-expression-literals": "^7.23.3",
+ "@babel/plugin-transform-modules-amd": "^7.23.3",
+ "@babel/plugin-transform-modules-commonjs": "^7.23.3",
+ "@babel/plugin-transform-modules-systemjs": "^7.23.3",
+ "@babel/plugin-transform-modules-umd": "^7.23.3",
"@babel/plugin-transform-named-capturing-groups-regex": "^7.22.5",
- "@babel/plugin-transform-new-target": "^7.22.5",
- "@babel/plugin-transform-nullish-coalescing-operator": "^7.22.11",
- "@babel/plugin-transform-numeric-separator": "^7.22.11",
- "@babel/plugin-transform-object-rest-spread": "^7.22.15",
- "@babel/plugin-transform-object-super": "^7.22.5",
- "@babel/plugin-transform-optional-catch-binding": "^7.22.11",
- "@babel/plugin-transform-optional-chaining": "^7.22.15",
- "@babel/plugin-transform-parameters": "^7.22.15",
- "@babel/plugin-transform-private-methods": "^7.22.5",
- "@babel/plugin-transform-private-property-in-object": "^7.22.11",
- "@babel/plugin-transform-property-literals": "^7.22.5",
- "@babel/plugin-transform-regenerator": "^7.22.10",
- "@babel/plugin-transform-reserved-words": "^7.22.5",
- "@babel/plugin-transform-shorthand-properties": "^7.22.5",
- "@babel/plugin-transform-spread": "^7.22.5",
- "@babel/plugin-transform-sticky-regex": "^7.22.5",
- "@babel/plugin-transform-template-literals": "^7.22.5",
- "@babel/plugin-transform-typeof-symbol": "^7.22.5",
- "@babel/plugin-transform-unicode-escapes": "^7.22.10",
- "@babel/plugin-transform-unicode-property-regex": "^7.22.5",
- "@babel/plugin-transform-unicode-regex": "^7.22.5",
- "@babel/plugin-transform-unicode-sets-regex": "^7.22.5",
+ "@babel/plugin-transform-new-target": "^7.23.3",
+ "@babel/plugin-transform-nullish-coalescing-operator": "^7.23.3",
+ "@babel/plugin-transform-numeric-separator": "^7.23.3",
+ "@babel/plugin-transform-object-rest-spread": "^7.23.3",
+ "@babel/plugin-transform-object-super": "^7.23.3",
+ "@babel/plugin-transform-optional-catch-binding": "^7.23.3",
+ "@babel/plugin-transform-optional-chaining": "^7.23.3",
+ "@babel/plugin-transform-parameters": "^7.23.3",
+ "@babel/plugin-transform-private-methods": "^7.23.3",
+ "@babel/plugin-transform-private-property-in-object": "^7.23.3",
+ "@babel/plugin-transform-property-literals": "^7.23.3",
+ "@babel/plugin-transform-regenerator": "^7.23.3",
+ "@babel/plugin-transform-reserved-words": "^7.23.3",
+ "@babel/plugin-transform-shorthand-properties": "^7.23.3",
+ "@babel/plugin-transform-spread": "^7.23.3",
+ "@babel/plugin-transform-sticky-regex": "^7.23.3",
+ "@babel/plugin-transform-template-literals": "^7.23.3",
+ "@babel/plugin-transform-typeof-symbol": "^7.23.3",
+ "@babel/plugin-transform-unicode-escapes": "^7.23.3",
+ "@babel/plugin-transform-unicode-property-regex": "^7.23.3",
+ "@babel/plugin-transform-unicode-regex": "^7.23.3",
+ "@babel/plugin-transform-unicode-sets-regex": "^7.23.3",
"@babel/preset-modules": "0.1.6-no-external-plugins",
- "@babel/types": "^7.22.19",
- "babel-plugin-polyfill-corejs2": "^0.4.5",
- "babel-plugin-polyfill-corejs3": "^0.8.3",
- "babel-plugin-polyfill-regenerator": "^0.5.2",
+ "babel-plugin-polyfill-corejs2": "^0.4.6",
+ "babel-plugin-polyfill-corejs3": "^0.8.5",
+ "babel-plugin-polyfill-regenerator": "^0.5.3",
"core-js-compat": "^3.31.0",
"semver": "^6.3.1"
},
@@ -2232,9 +2255,9 @@
}
},
"node_modules/@babel/preset-env/node_modules/@babel/helper-define-polyfill-provider": {
- "version": "0.4.2",
- "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.4.2.tgz",
- "integrity": "sha512-k0qnnOqHn5dK9pZpfD5XXZ9SojAITdCKRn2Lp6rnDGzIbaP0rHyMPk/4wsSxVBVz4RfN0q6VpXWP2pDGIoQ7hw==",
+ "version": "0.4.3",
+ "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.4.3.tgz",
+ "integrity": "sha512-WBrLmuPP47n7PNwsZ57pqam6G/RGo1vw/87b0Blc53tZNGZ4x7YvZ6HgQe2vo1W/FR20OgjeZuGXzudPiXHFug==",
"dev": true,
"dependencies": {
"@babel/helper-compilation-targets": "^7.22.6",
@@ -2248,13 +2271,13 @@
}
},
"node_modules/@babel/preset-env/node_modules/babel-plugin-polyfill-corejs2": {
- "version": "0.4.5",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.5.tgz",
- "integrity": "sha512-19hwUH5FKl49JEsvyTcoHakh6BE0wgXLLptIyKZ3PijHc/Ci521wygORCUCCred+E/twuqRyAkE02BAWPmsHOg==",
+ "version": "0.4.6",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.6.tgz",
+ "integrity": "sha512-jhHiWVZIlnPbEUKSSNb9YoWcQGdlTLq7z1GHL4AjFxaoOUMuuEVJ+Y4pAaQUGOGk93YsVCKPbqbfw3m0SM6H8Q==",
"dev": true,
"dependencies": {
"@babel/compat-data": "^7.22.6",
- "@babel/helper-define-polyfill-provider": "^0.4.2",
+ "@babel/helper-define-polyfill-provider": "^0.4.3",
"semver": "^6.3.1"
},
"peerDependencies": {
@@ -2262,25 +2285,25 @@
}
},
"node_modules/@babel/preset-env/node_modules/babel-plugin-polyfill-corejs3": {
- "version": "0.8.3",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.3.tgz",
- "integrity": "sha512-z41XaniZL26WLrvjy7soabMXrfPWARN25PZoriDEiLMxAp50AUW3t35BGQUMg5xK3UrpVTtagIDklxYa+MhiNA==",
+ "version": "0.8.6",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.6.tgz",
+ "integrity": "sha512-leDIc4l4tUgU7str5BWLS2h8q2N4Nf6lGZP6UrNDxdtfF2g69eJ5L0H7S8A5Ln/arfFAfHor5InAdZuIOwZdgQ==",
"dev": true,
"dependencies": {
- "@babel/helper-define-polyfill-provider": "^0.4.2",
- "core-js-compat": "^3.31.0"
+ "@babel/helper-define-polyfill-provider": "^0.4.3",
+ "core-js-compat": "^3.33.1"
},
"peerDependencies": {
"@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
}
},
"node_modules/@babel/preset-env/node_modules/babel-plugin-polyfill-regenerator": {
- "version": "0.5.2",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.2.tgz",
- "integrity": "sha512-tAlOptU0Xj34V1Y2PNTL4Y0FOJMDB6bZmoW39FeCQIhigGLkqu3Fj6uiXpxIf6Ij274ENdYx64y6Au+ZKlb1IA==",
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.3.tgz",
+ "integrity": "sha512-8sHeDOmXC8csczMrYEOf0UTNa4yE2SxV5JGeT/LP1n0OYVDUUFPxG9vdk2AlDlIit4t+Kf0xCtpgXPBwnn/9pw==",
"dev": true,
"dependencies": {
- "@babel/helper-define-polyfill-provider": "^0.4.2"
+ "@babel/helper-define-polyfill-provider": "^0.4.3"
},
"peerDependencies": {
"@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
@@ -2329,9 +2352,9 @@
"integrity": "sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA=="
},
"node_modules/@babel/runtime": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.15.tgz",
- "integrity": "sha512-T0O+aa+4w0u06iNmapipJXMV4HoUir03hpx3/YqXXhu9xim3w+dVphjFWl1OH8NbZHw5Lbm9k45drDkgq2VNNA==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.4.tgz",
+ "integrity": "sha512-2Yv65nlWnWlSpe3fXEyX5i7fx5kIKo4Qbcj+hMO0odwaneFjfXw5fdum+4yL20O0QiaHpia0cYQ9xpNMqrBwHg==",
"dependencies": {
"regenerator-runtime": "^0.14.0"
},
@@ -2358,18 +2381,18 @@
}
},
"node_modules/@babel/traverse": {
- "version": "7.22.20",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.22.20.tgz",
- "integrity": "sha512-eU260mPZbU7mZ0N+X10pxXhQFMGTeLb9eFS0mxehS8HZp9o1uSnFeWQuG1UPrlxgA7QoUzFhOnilHDp0AXCyHw==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.4.tgz",
+ "integrity": "sha512-IYM8wSUwunWTB6tFC2dkKZhxbIjHoWemdK+3f8/wq8aKhbUscxD5MX72ubd90fxvFknaLPeGw5ycU84V1obHJg==",
"dependencies": {
- "@babel/code-frame": "^7.22.13",
- "@babel/generator": "^7.22.15",
+ "@babel/code-frame": "^7.23.4",
+ "@babel/generator": "^7.23.4",
"@babel/helper-environment-visitor": "^7.22.20",
- "@babel/helper-function-name": "^7.22.5",
+ "@babel/helper-function-name": "^7.23.0",
"@babel/helper-hoist-variables": "^7.22.5",
"@babel/helper-split-export-declaration": "^7.22.6",
- "@babel/parser": "^7.22.16",
- "@babel/types": "^7.22.19",
+ "@babel/parser": "^7.23.4",
+ "@babel/types": "^7.23.4",
"debug": "^4.1.0",
"globals": "^11.1.0"
},
@@ -2399,18 +2422,94 @@
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
},
"node_modules/@babel/types": {
- "version": "7.22.19",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.22.19.tgz",
- "integrity": "sha512-P7LAw/LbojPzkgp5oznjE6tQEIWbp4PkkfrZDINTro9zgBRtI324/EYsiSI7lhPbpIQ+DCeR2NNmMWANGGfZsg==",
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.4.tgz",
+ "integrity": "sha512-7uIFwVYpoplT5jp/kVv6EF93VaJ8H+Yn5IczYiaAi98ajzjfoZfslet/e0sLh+wVBjb2qqIut1b0S26VSafsSQ==",
"dependencies": {
- "@babel/helper-string-parser": "^7.22.5",
- "@babel/helper-validator-identifier": "^7.22.19",
+ "@babel/helper-string-parser": "^7.23.4",
+ "@babel/helper-validator-identifier": "^7.22.20",
"to-fast-properties": "^2.0.0"
},
"engines": {
"node": ">=6.9.0"
}
},
+ "node_modules/@codemirror/autocomplete": {
+ "version": "6.11.0",
+ "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.11.0.tgz",
+ "integrity": "sha512-LCPH3W+hl5vcO7OzEQgX6NpKuKVyiKFLGAy7FXROF6nUpsWUdQEgUb3fe/g7B0E1KZCRFfgzdKASt6Wly2UOBg==",
+ "dependencies": {
+ "@codemirror/language": "^6.0.0",
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.17.0",
+ "@lezer/common": "^1.0.0"
+ },
+ "peerDependencies": {
+ "@codemirror/language": "^6.0.0",
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.0.0",
+ "@lezer/common": "^1.0.0"
+ }
+ },
+ "node_modules/@codemirror/commands": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.3.0.tgz",
+ "integrity": "sha512-tFfcxRIlOWiQDFhjBSWJ10MxcvbCIsRr6V64SgrcaY0MwNk32cUOcCuNlWo8VjV4qRQCgNgUAnIeo0svkk4R5Q==",
+ "dependencies": {
+ "@codemirror/language": "^6.0.0",
+ "@codemirror/state": "^6.2.0",
+ "@codemirror/view": "^6.0.0",
+ "@lezer/common": "^1.1.0"
+ }
+ },
+ "node_modules/@codemirror/language": {
+ "version": "6.9.2",
+ "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.9.2.tgz",
+ "integrity": "sha512-QGTQXSpAKDIzaSE96zNK1UfIUhPgkT1CLjh1N5qVzZuxgsEOhz5RqaN8QCIdyOQklGLx3MgHd9YrE3X3+Pl1ow==",
+ "dependencies": {
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.0.0",
+ "@lezer/common": "^1.1.0",
+ "@lezer/highlight": "^1.0.0",
+ "@lezer/lr": "^1.0.0",
+ "style-mod": "^4.0.0"
+ }
+ },
+ "node_modules/@codemirror/lint": {
+ "version": "6.4.2",
+ "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.4.2.tgz",
+ "integrity": "sha512-wzRkluWb1ptPKdzlsrbwwjYCPLgzU6N88YBAmlZi8WFyuiEduSd05MnJYNogzyc8rPK7pj6m95ptUApc8sHKVA==",
+ "dependencies": {
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.0.0",
+ "crelt": "^1.0.5"
+ }
+ },
+ "node_modules/@codemirror/search": {
+ "version": "6.5.4",
+ "resolved": "https://registry.npmjs.org/@codemirror/search/-/search-6.5.4.tgz",
+ "integrity": "sha512-YoTrvjv9e8EbPs58opjZKyJ3ewFrVSUzQ/4WXlULQLSDDr1nGPJ67mMXFNNVYwdFhybzhrzrtqgHmtpJwIF+8g==",
+ "dependencies": {
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.0.0",
+ "crelt": "^1.0.5"
+ }
+ },
+ "node_modules/@codemirror/state": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.3.1.tgz",
+ "integrity": "sha512-88e4HhMtKJyw6fKprGaN/yZfiaoGYOi2nM45YCUC6R/kex9sxFWBDGatS1vk4lMgnWmdIIB9tk8Gj1LmL8YfvA=="
+ },
+ "node_modules/@codemirror/view": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.22.0.tgz",
+ "integrity": "sha512-6zLj4YIoIpfTGKrDMTbeZRpa8ih4EymMCKmddEDcJWrCdp/N1D46B38YEz4creTb4T177AVS9EyXkLeC/HL2jA==",
+ "dependencies": {
+ "@codemirror/state": "^6.1.4",
+ "style-mod": "^4.1.0",
+ "w3c-keyname": "^2.2.4"
+ }
+ },
"node_modules/@colors/colors": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz",
@@ -2428,6 +2527,15 @@
"node": ">=10.0.0"
}
},
+ "node_modules/@fortawesome/fontawesome-free": {
+ "version": "6.4.2",
+ "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-6.4.2.tgz",
+ "integrity": "sha512-m5cPn3e2+FDCOgi1mz0RexTUvvQibBebOUlUlW0+YrMjDTPkiJ6VTKukA1GRsvRw+12KyJndNjj0O4AgTxm2Pg==",
+ "hasInstallScript": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/@jridgewell/gen-mapping": {
"version": "0.3.3",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz",
@@ -2472,9 +2580,9 @@
"integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg=="
},
"node_modules/@jridgewell/trace-mapping": {
- "version": "0.3.19",
- "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz",
- "integrity": "sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==",
+ "version": "0.3.20",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz",
+ "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==",
"dependencies": {
"@jridgewell/resolve-uri": "^3.1.0",
"@jridgewell/sourcemap-codec": "^1.4.14"
@@ -2485,6 +2593,27 @@
"resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz",
"integrity": "sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A=="
},
+ "node_modules/@lezer/common": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.1.1.tgz",
+ "integrity": "sha512-aAPB9YbvZHqAW+bIwiuuTDGB4DG0sYNRObGLxud8cW7osw1ZQxfDuTZ8KQiqfZ0QJGcR34CvpTMDXEyo/+Htgg=="
+ },
+ "node_modules/@lezer/highlight": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.2.0.tgz",
+ "integrity": "sha512-WrS5Mw51sGrpqjlh3d4/fOwpEV2Hd3YOkp9DBt4k8XZQcoTHZFB7sx030A6OcahF4J1nDQAa3jXlTVVYH50IFA==",
+ "dependencies": {
+ "@lezer/common": "^1.0.0"
+ }
+ },
+ "node_modules/@lezer/lr": {
+ "version": "1.3.14",
+ "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.3.14.tgz",
+ "integrity": "sha512-z5mY4LStlA3yL7aHT/rqgG614cfcvklS+8oFRFBYrs4YaWLJyKKM4+nN6KopToX0o9Hj6zmH6M5kinOYuy06ug==",
+ "dependencies": {
+ "@lezer/common": "^1.0.0"
+ }
+ },
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@@ -2526,9 +2655,9 @@
}
},
"node_modules/@types/babel__core": {
- "version": "7.20.2",
- "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.2.tgz",
- "integrity": "sha512-pNpr1T1xLUc2l3xJKuPtsEky3ybxN3m4fJkknfIpTCTfIZCDW57oAg+EfCgIIp2rvCe0Wn++/FfodDS4YXxBwA==",
+ "version": "7.20.5",
+ "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
+ "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
"dev": true,
"dependencies": {
"@babel/parser": "^7.20.7",
@@ -2539,18 +2668,18 @@
}
},
"node_modules/@types/babel__generator": {
- "version": "7.6.5",
- "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.5.tgz",
- "integrity": "sha512-h9yIuWbJKdOPLJTbmSpPzkF67e659PbQDba7ifWm5BJ8xTv+sDmS7rFmywkWOvXedGTivCdeGSIIX8WLcRTz8w==",
+ "version": "7.6.7",
+ "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.7.tgz",
+ "integrity": "sha512-6Sfsq+EaaLrw4RmdFWE9Onp63TOUue71AWb4Gpa6JxzgTYtimbM086WnYTy2U67AofR++QKCo08ZP6pwx8YFHQ==",
"dev": true,
"dependencies": {
"@babel/types": "^7.0.0"
}
},
"node_modules/@types/babel__template": {
- "version": "7.4.2",
- "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.2.tgz",
- "integrity": "sha512-/AVzPICMhMOMYoSx9MoKpGDKdBRsIXMNByh1PXSZoa+v6ZoLa8xxtsT/uLQ/NJm0XVAWl/BvId4MlDeXJaeIZQ==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
+ "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
"dev": true,
"dependencies": {
"@babel/parser": "^7.1.0",
@@ -2558,35 +2687,35 @@
}
},
"node_modules/@types/babel__traverse": {
- "version": "7.20.2",
- "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.2.tgz",
- "integrity": "sha512-ojlGK1Hsfce93J0+kn3H5R73elidKUaZonirN33GSmgTUMpzI/MIFfSpF3haANe3G1bEBS9/9/QEqwTzwqFsKw==",
+ "version": "7.20.4",
+ "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.4.tgz",
+ "integrity": "sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA==",
"dev": true,
"dependencies": {
"@babel/types": "^7.20.7"
}
},
"node_modules/@types/body-parser": {
- "version": "1.19.3",
- "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.3.tgz",
- "integrity": "sha512-oyl4jvAfTGX9Bt6Or4H9ni1Z447/tQuxnZsytsCaExKlmJiU8sFgnIBRzJUpKwB5eWn9HuBYlUlVA74q/yN0eQ==",
+ "version": "1.19.5",
+ "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz",
+ "integrity": "sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==",
"dependencies": {
"@types/connect": "*",
"@types/node": "*"
}
},
"node_modules/@types/bonjour": {
- "version": "3.5.11",
- "resolved": "https://registry.npmjs.org/@types/bonjour/-/bonjour-3.5.11.tgz",
- "integrity": "sha512-isGhjmBtLIxdHBDl2xGwUzEM8AOyOvWsADWq7rqirdi/ZQoHnLWErHvsThcEzTX8juDRiZtzp2Qkv5bgNh6mAg==",
+ "version": "3.5.13",
+ "resolved": "https://registry.npmjs.org/@types/bonjour/-/bonjour-3.5.13.tgz",
+ "integrity": "sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ==",
"dependencies": {
"@types/node": "*"
}
},
"node_modules/@types/clean-css": {
- "version": "4.2.7",
- "resolved": "https://registry.npmjs.org/@types/clean-css/-/clean-css-4.2.7.tgz",
- "integrity": "sha512-lcoZHjUAANLTACLGi+O/0pN+oKQAQ8zAMWJSxiBRNLxqZG/WE8hfXJUs1eYwJOvOnDJrvxU1kR77UiVJ3+9N0Q==",
+ "version": "4.2.11",
+ "resolved": "https://registry.npmjs.org/@types/clean-css/-/clean-css-4.2.11.tgz",
+ "integrity": "sha512-Y8n81lQVTAfP2TOdtJJEsCoYl1AnOkqDqMvXb9/7pfgZZ7r8YrEyurrAvAoAjHOGXKRybay+5CsExqIH6liccw==",
"dev": true,
"dependencies": {
"@types/node": "*",
@@ -2594,49 +2723,49 @@
}
},
"node_modules/@types/connect": {
- "version": "3.4.36",
- "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.36.tgz",
- "integrity": "sha512-P63Zd/JUGq+PdrM1lv0Wv5SBYeA2+CORvbrXbngriYY0jzLUWfQMQQxOhjONEz/wlHOAxOdY7CY65rgQdTjq2w==",
+ "version": "3.4.38",
+ "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz",
+ "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==",
"dependencies": {
"@types/node": "*"
}
},
"node_modules/@types/connect-history-api-fallback": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.1.tgz",
- "integrity": "sha512-iaQslNbARe8fctL5Lk+DsmgWOM83lM+7FzP0eQUJs1jd3kBE8NWqBTIT2S8SqQOJjxvt2eyIjpOuYeRXq2AdMw==",
+ "version": "1.5.4",
+ "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.4.tgz",
+ "integrity": "sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw==",
"dependencies": {
"@types/express-serve-static-core": "*",
"@types/node": "*"
}
},
"node_modules/@types/eslint": {
- "version": "8.44.2",
- "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.2.tgz",
- "integrity": "sha512-sdPRb9K6iL5XZOmBubg8yiFp5yS/JdUDQsq5e6h95km91MCYMuvp7mh1fjPEYUhvHepKpZOjnEaMBR4PxjWDzg==",
+ "version": "8.44.7",
+ "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.7.tgz",
+ "integrity": "sha512-f5ORu2hcBbKei97U73mf+l9t4zTGl74IqZ0GQk4oVea/VS8tQZYkUveSYojk+frraAVYId0V2WC9O4PTNru2FQ==",
"dependencies": {
"@types/estree": "*",
"@types/json-schema": "*"
}
},
"node_modules/@types/eslint-scope": {
- "version": "3.7.4",
- "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.4.tgz",
- "integrity": "sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==",
+ "version": "3.7.7",
+ "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz",
+ "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==",
"dependencies": {
"@types/eslint": "*",
"@types/estree": "*"
}
},
"node_modules/@types/estree": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.1.tgz",
- "integrity": "sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA=="
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
+ "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw=="
},
"node_modules/@types/express": {
- "version": "4.17.17",
- "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.17.tgz",
- "integrity": "sha512-Q4FmmuLGBG58btUnfS1c1r/NQdlp3DMfGDGig8WhfpA2YRUtEkxAjkZb0yvplJGYdF1fsQ81iMDcH24sSCNC/Q==",
+ "version": "4.17.21",
+ "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz",
+ "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==",
"dependencies": {
"@types/body-parser": "*",
"@types/express-serve-static-core": "^4.17.33",
@@ -2645,9 +2774,9 @@
}
},
"node_modules/@types/express-serve-static-core": {
- "version": "4.17.36",
- "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.36.tgz",
- "integrity": "sha512-zbivROJ0ZqLAtMzgzIUC4oNqDG9iF0lSsAqpOD9kbs5xcIM3dTiyuHvBc7R8MtWBp3AAWGaovJa+wzWPjLYW7Q==",
+ "version": "4.17.41",
+ "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.41.tgz",
+ "integrity": "sha512-OaJ7XLaelTgrvlZD8/aa0vvvxZdUmlCn6MtWeB7TkiKW70BQLc9XEPpDLPdbo52ZhXUCrznlWdCHWxJWtdyajA==",
"dependencies": {
"@types/node": "*",
"@types/qs": "*",
@@ -2665,49 +2794,49 @@
}
},
"node_modules/@types/http-errors": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.2.tgz",
- "integrity": "sha512-lPG6KlZs88gef6aD85z3HNkztpj7w2R7HmR3gygjfXCQmsLloWNARFkMuzKiiY8FGdh1XDpgBdrSf4aKDiA7Kg=="
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.4.tgz",
+ "integrity": "sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA=="
},
"node_modules/@types/http-proxy": {
- "version": "1.17.12",
- "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.12.tgz",
- "integrity": "sha512-kQtujO08dVtQ2wXAuSFfk9ASy3sug4+ogFR8Kd8UgP8PEuc1/G/8yjYRmp//PcDNJEUKOza/MrQu15bouEUCiw==",
+ "version": "1.17.14",
+ "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.14.tgz",
+ "integrity": "sha512-SSrD0c1OQzlFX7pGu1eXxSEjemej64aaNPRhhVYUGqXh0BtldAAx37MG8btcumvpgKyZp1F5Gn3JkktdxiFv6w==",
"dependencies": {
"@types/node": "*"
}
},
"node_modules/@types/imagemin": {
- "version": "8.0.1",
- "resolved": "https://registry.npmjs.org/@types/imagemin/-/imagemin-8.0.1.tgz",
- "integrity": "sha512-DSpM//dRPzme7doePGkmR1uoquHi0h0ElaA5qFnxHECfFcB8z/jhMI8eqmxWNpHn9ZG18p4PC918sZLhR0cr5A==",
+ "version": "8.0.5",
+ "resolved": "https://registry.npmjs.org/@types/imagemin/-/imagemin-8.0.5.tgz",
+ "integrity": "sha512-tah3dm+5sG+fEDAz6CrQ5evuEaPX9K6DF3E5a01MPOKhA2oGBoC+oA5EJzSugB905sN4DE19EDzldT2Cld2g6Q==",
"dev": true,
"dependencies": {
"@types/node": "*"
}
},
"node_modules/@types/imagemin-gifsicle": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/@types/imagemin-gifsicle/-/imagemin-gifsicle-7.0.1.tgz",
- "integrity": "sha512-kUz6sUh0P95JOS0RGEaaemWUrASuw+dLsWIveK2UZJx74id/B9epgblMkCk/r5MjUWbZ83wFvacG5Rb/f97gyA==",
+ "version": "7.0.4",
+ "resolved": "https://registry.npmjs.org/@types/imagemin-gifsicle/-/imagemin-gifsicle-7.0.4.tgz",
+ "integrity": "sha512-ZghMBd/Jgqg5utTJNPmvf6DkuHzMhscJ8vgf/7MUGCpO+G+cLrhYltL+5d+h3A1B4W73S2SrmJZ1jS5LACpX+A==",
"dev": true,
"dependencies": {
"@types/imagemin": "*"
}
},
"node_modules/@types/imagemin-mozjpeg": {
- "version": "8.0.1",
- "resolved": "https://registry.npmjs.org/@types/imagemin-mozjpeg/-/imagemin-mozjpeg-8.0.1.tgz",
- "integrity": "sha512-kMQWEoKxxhlnH4POI3qfW9DjXlQfi80ux3l2b3j5R3eudSCoUIzKQLkfMjNJ6eMYnMWBcB+rfQOWqIzdIwFGKw==",
+ "version": "8.0.4",
+ "resolved": "https://registry.npmjs.org/@types/imagemin-mozjpeg/-/imagemin-mozjpeg-8.0.4.tgz",
+ "integrity": "sha512-ZCAxV8SYJB8ehwHpnbRpHjg5Wc4HcyuAMiDhXbkgC7gujDoOTyHO3dhDkUtZ1oK1DLBRZapqG9etdLVhUml7yQ==",
"dev": true,
"dependencies": {
"@types/imagemin": "*"
}
},
"node_modules/@types/imagemin-optipng": {
- "version": "5.2.1",
- "resolved": "https://registry.npmjs.org/@types/imagemin-optipng/-/imagemin-optipng-5.2.1.tgz",
- "integrity": "sha512-XCM/3q+HUL7v4zOqMI+dJ5dTxT+MUukY9KU49DSnYb/4yWtSMHJyADP+WHSMVzTR63J2ZvfUOzSilzBNEQW78g==",
+ "version": "5.2.4",
+ "resolved": "https://registry.npmjs.org/@types/imagemin-optipng/-/imagemin-optipng-5.2.4.tgz",
+ "integrity": "sha512-mvKnDMC8eCYZetAQudjs1DbgpR84WhsTx1wgvdiXnpuUEti3oJ+MaMYBRWPY0JlQ4+y4TXKOfa7+LOuT8daegQ==",
"dev": true,
"dependencies": {
"@types/imagemin": "*"
@@ -2724,14 +2853,14 @@
}
},
"node_modules/@types/json-schema": {
- "version": "7.0.13",
- "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.13.tgz",
- "integrity": "sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ=="
+ "version": "7.0.15",
+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
+ "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA=="
},
"node_modules/@types/mime": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz",
- "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw=="
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz",
+ "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w=="
},
"node_modules/@types/minimatch": {
"version": "5.1.2",
@@ -2739,24 +2868,35 @@
"integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA=="
},
"node_modules/@types/node": {
- "version": "20.6.3",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.6.3.tgz",
- "integrity": "sha512-HksnYH4Ljr4VQgEy2lTStbCKv/P590tmPe5HqOnv9Gprffgv5WXAY+Y5Gqniu0GGqeTCUdBnzC3QSrzPkBkAMA=="
+ "version": "20.10.0",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.0.tgz",
+ "integrity": "sha512-D0WfRmU9TQ8I9PFx9Yc+EBHw+vSpIub4IDvQivcp26PtPrdMGAq5SDcpXEo/epqa/DXotVpekHiLNTg3iaKXBQ==",
+ "dependencies": {
+ "undici-types": "~5.26.4"
+ }
+ },
+ "node_modules/@types/node-forge": {
+ "version": "1.3.10",
+ "resolved": "https://registry.npmjs.org/@types/node-forge/-/node-forge-1.3.10.tgz",
+ "integrity": "sha512-y6PJDYN4xYBxwd22l+OVH35N+1fCYWiuC3aiP2SlXVE6Lo7SS+rSx9r89hLxrP4pn6n1lBGhHJ12pj3F3Mpttw==",
+ "dependencies": {
+ "@types/node": "*"
+ }
},
"node_modules/@types/parse-json": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz",
- "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA=="
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz",
+ "integrity": "sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw=="
},
"node_modules/@types/qs": {
- "version": "6.9.8",
- "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.8.tgz",
- "integrity": "sha512-u95svzDlTysU5xecFNTgfFG5RUWu1A9P0VzgpcIiGZA9iraHOdSzcxMxQ55DyeRaGCSxQi7LxXDI4rzq/MYfdg=="
+ "version": "6.9.10",
+ "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.10.tgz",
+ "integrity": "sha512-3Gnx08Ns1sEoCrWssEgTSJs/rsT2vhGP+Ja9cnnk9k4ALxinORlQneLXFeFKOTJMOeZUFD1s7w+w2AphTpvzZw=="
},
"node_modules/@types/range-parser": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz",
- "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw=="
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz",
+ "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ=="
},
"node_modules/@types/retry": {
"version": "0.12.0",
@@ -2764,26 +2904,26 @@
"integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA=="
},
"node_modules/@types/send": {
- "version": "0.17.1",
- "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.1.tgz",
- "integrity": "sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==",
+ "version": "0.17.4",
+ "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz",
+ "integrity": "sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==",
"dependencies": {
"@types/mime": "^1",
"@types/node": "*"
}
},
"node_modules/@types/serve-index": {
- "version": "1.9.1",
- "resolved": "https://registry.npmjs.org/@types/serve-index/-/serve-index-1.9.1.tgz",
- "integrity": "sha512-d/Hs3nWDxNL2xAczmOVZNj92YZCS6RGxfBPjKzuu/XirCgXdpKEb88dYNbrYGint6IVWLNP+yonwVAuRC0T2Dg==",
+ "version": "1.9.4",
+ "resolved": "https://registry.npmjs.org/@types/serve-index/-/serve-index-1.9.4.tgz",
+ "integrity": "sha512-qLpGZ/c2fhSs5gnYsQxtDEq3Oy8SXPClIXkW5ghvAvsNuVSA8k+gCONcUCS/UjLEYvYps+e8uBtfgXgvhwfNug==",
"dependencies": {
"@types/express": "*"
}
},
"node_modules/@types/serve-static": {
- "version": "1.15.2",
- "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.2.tgz",
- "integrity": "sha512-J2LqtvFYCzaj8pVYKw8klQXrLLk7TBZmQ4ShlcdkELFKGwGMfevMLneMMRkMgZxotOD9wg497LpC7O8PcvAmfw==",
+ "version": "1.15.5",
+ "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.5.tgz",
+ "integrity": "sha512-PDRk21MnK70hja/YF8AHfC7yIsiQHn1rcXx7ijCFBX/k+XQJhQT/gw3xekXKJvx+5SXaMMS8oqQy09Mzvz2TuQ==",
"dependencies": {
"@types/http-errors": "*",
"@types/mime": "*",
@@ -2791,9 +2931,9 @@
}
},
"node_modules/@types/sockjs": {
- "version": "0.3.33",
- "resolved": "https://registry.npmjs.org/@types/sockjs/-/sockjs-0.3.33.tgz",
- "integrity": "sha512-f0KEEe05NvUnat+boPTZ0dgaLZ4SfSouXUgv5noUiefG2ajgKjmETo9ZJyuqsl7dfl2aHlLJUiki6B4ZYldiiw==",
+ "version": "0.3.36",
+ "resolved": "https://registry.npmjs.org/@types/sockjs/-/sockjs-0.3.36.tgz",
+ "integrity": "sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q==",
"dependencies": {
"@types/node": "*"
}
@@ -2805,9 +2945,9 @@
"dev": true
},
"node_modules/@types/ws": {
- "version": "8.5.5",
- "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.5.tgz",
- "integrity": "sha512-lwhs8hktwxSjf9UaZ9tG5M03PGogvFaH8gUgLNbN9HKIg0dvv6q+gkSuJ8HN4/VbyxkuLzCjlN7GquQ0gUJfIg==",
+ "version": "8.5.10",
+ "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.10.tgz",
+ "integrity": "sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==",
"dependencies": {
"@types/node": "*"
}
@@ -2999,9 +3139,9 @@
}
},
"node_modules/acorn": {
- "version": "8.10.0",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz",
- "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==",
+ "version": "8.11.2",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
+ "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==",
"bin": {
"acorn": "bin/acorn"
},
@@ -3239,9 +3379,9 @@
}
},
"node_modules/axios": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/axios/-/axios-1.5.0.tgz",
- "integrity": "sha512-D4DdjDo5CY50Qms0qGQTTw6Q44jl7zRwY7bthds06pUGfChBCTcQs+N743eFWGEd6pRTMd6A+I87aWyFV5wiZQ==",
+ "version": "1.6.2",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.2.tgz",
+ "integrity": "sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==",
"dev": true,
"dependencies": {
"follow-redirects": "^1.15.0",
@@ -3475,19 +3615,22 @@
}
},
"node_modules/browserify-sign": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz",
- "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==",
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.2.tgz",
+ "integrity": "sha512-1rudGyeYY42Dk6texmv7c4VcQ0EsvVbLwZkA+AQB7SxvXxmcD93jcHie8bzecJ+ChDlmAm2Qyu0+Ccg5uhZXCg==",
"dependencies": {
- "bn.js": "^5.1.1",
- "browserify-rsa": "^4.0.1",
+ "bn.js": "^5.2.1",
+ "browserify-rsa": "^4.1.0",
"create-hash": "^1.2.0",
"create-hmac": "^1.1.7",
- "elliptic": "^6.5.3",
+ "elliptic": "^6.5.4",
"inherits": "^2.0.4",
- "parse-asn1": "^5.1.5",
- "readable-stream": "^3.6.0",
- "safe-buffer": "^5.2.0"
+ "parse-asn1": "^5.1.6",
+ "readable-stream": "^3.6.2",
+ "safe-buffer": "^5.2.1"
+ },
+ "engines": {
+ "node": ">= 4"
}
},
"node_modules/browserify-sign/node_modules/readable-stream": {
@@ -3512,9 +3655,9 @@
}
},
"node_modules/browserslist": {
- "version": "4.21.10",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.10.tgz",
- "integrity": "sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ==",
+ "version": "4.22.1",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.1.tgz",
+ "integrity": "sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ==",
"funding": [
{
"type": "opencollective",
@@ -3530,10 +3673,10 @@
}
],
"dependencies": {
- "caniuse-lite": "^1.0.30001517",
- "electron-to-chromium": "^1.4.477",
+ "caniuse-lite": "^1.0.30001541",
+ "electron-to-chromium": "^1.4.535",
"node-releases": "^2.0.13",
- "update-browserslist-db": "^1.0.11"
+ "update-browserslist-db": "^1.0.13"
},
"bin": {
"browserslist": "cli.js"
@@ -3576,12 +3719,13 @@
}
},
"node_modules/call-bind": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
- "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz",
+ "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==",
"dependencies": {
- "function-bind": "^1.1.1",
- "get-intrinsic": "^1.0.2"
+ "function-bind": "^1.1.2",
+ "get-intrinsic": "^1.2.1",
+ "set-function-length": "^1.1.1"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
@@ -3624,9 +3768,9 @@
}
},
"node_modules/caniuse-lite": {
- "version": "1.0.30001538",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001538.tgz",
- "integrity": "sha512-HWJnhnID+0YMtGlzcp3T9drmBJUVDchPJ08tpUGFLs9CYlwWPH2uLgpHn8fND5pCgXVtnGS3H4QR9XLMHVNkHw==",
+ "version": "1.0.30001564",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001564.tgz",
+ "integrity": "sha512-DqAOf+rhof+6GVx1y+xzbFPeOumfQnhYzVnZD6LAXijR77yPtm9mfOcqOnT3mpnJiZVT+kwLAFnRlZcIz+c6bg==",
"funding": [
{
"type": "opencollective",
@@ -3757,6 +3901,28 @@
"node": ">=6"
}
},
+ "node_modules/codemirror": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-6.0.1.tgz",
+ "integrity": "sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==",
+ "dependencies": {
+ "@codemirror/autocomplete": "^6.0.0",
+ "@codemirror/commands": "^6.0.0",
+ "@codemirror/language": "^6.0.0",
+ "@codemirror/lint": "^6.0.0",
+ "@codemirror/search": "^6.0.0",
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.0.0"
+ }
+ },
+ "node_modules/codemirror-spell-checker": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/codemirror-spell-checker/-/codemirror-spell-checker-1.1.2.tgz",
+ "integrity": "sha512-2Tl6n0v+GJRsC9K3MLCdLaMOmvWL0uukajNJseorZJsslaxZyZMgENocPU8R0DyoTAiKsyqiemSOZo7kjGV0LQ==",
+ "dependencies": {
+ "typo-js": "*"
+ }
+ },
"node_modules/collect.js": {
"version": "4.36.1",
"resolved": "https://registry.npmjs.org/collect.js/-/collect.js-4.36.1.tgz",
@@ -3943,11 +4109,11 @@
}
},
"node_modules/core-js-compat": {
- "version": "3.32.2",
- "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.32.2.tgz",
- "integrity": "sha512-+GjlguTDINOijtVRUxrQOv3kfu9rl+qPNdX2LTbJ/ZyVTuxK+ksVSAGX1nHstu4hrv1En/uPTtWgq2gI5wt4AQ==",
+ "version": "3.33.3",
+ "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.33.3.tgz",
+ "integrity": "sha512-cNzGqFsh3Ot+529GIXacjTJ7kegdt5fPXxCBVS1G0iaZpuo/tBz399ymceLJveQhFFZ8qThHiP3fzuoQjKN2ow==",
"dependencies": {
- "browserslist": "^4.21.10"
+ "browserslist": "^4.22.1"
},
"funding": {
"type": "opencollective",
@@ -4013,6 +4179,11 @@
"sha.js": "^2.4.8"
}
},
+ "node_modules/crelt": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.6.tgz",
+ "integrity": "sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g=="
+ },
"node_modules/cross-env": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz",
@@ -4363,9 +4534,9 @@
}
},
"node_modules/define-data-property": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.0.tgz",
- "integrity": "sha512-UzGwzcjyv3OtAvolTj1GoyNYzfFR+iqbGjcnBEENZVCpM4/Ng1yhGNvS3lR/xDS74Tb2wGG9WzNSNIOS9UVb2g==",
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz",
+ "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==",
"dependencies": {
"get-intrinsic": "^1.2.1",
"gopd": "^1.0.1",
@@ -4596,9 +4767,9 @@
"integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="
},
"node_modules/electron-to-chromium": {
- "version": "1.4.526",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.526.tgz",
- "integrity": "sha512-tjjTMjmZAx1g6COrintLTa2/jcafYKxKoiEkdQOrVdbLaHh2wCt2nsAF8ZHweezkrP+dl/VG9T5nabcYoo0U5Q=="
+ "version": "1.4.593",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.593.tgz",
+ "integrity": "sha512-c7+Hhj87zWmdpmjDONbvNKNo24tvmD4mjal1+qqTYTrlF0/sNpAcDlU0Ki84ftA/5yj3BF2QhSGEC0Rky6larg=="
},
"node_modules/elliptic": {
"version": "6.5.4",
@@ -4661,9 +4832,9 @@
}
},
"node_modules/envinfo": {
- "version": "7.10.0",
- "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.10.0.tgz",
- "integrity": "sha512-ZtUjZO6l5mwTHvc1L9+1q5p/R3wTopcfqMW8r5t8SJSKqeVI/LtajORwRFEKpEFuekjD0VBjwu1HMxL4UalIRw==",
+ "version": "7.11.0",
+ "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.11.0.tgz",
+ "integrity": "sha512-G9/6xF1FPbIw0TtalAMaVPpiq2aDEuKLXM314jPVAO9r2fo2a4BLqMNkmRS7O/xPPZ+COAhGIz3ETvHEV3eUcg==",
"bin": {
"envinfo": "dist/cli.js"
},
@@ -4680,9 +4851,9 @@
}
},
"node_modules/es-module-lexer": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.3.1.tgz",
- "integrity": "sha512-JUFAyicQV9mXc3YRxPnDlrfBKpqt6hUYzz9/boprUJHs4e4KVr3XwOF70doO6gwXUor6EWZJAyWAfKki84t20Q=="
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.4.1.tgz",
+ "integrity": "sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w=="
},
"node_modules/es5-ext": {
"version": "0.10.62",
@@ -4911,6 +5082,11 @@
"resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
"integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ=="
},
+ "node_modules/express/node_modules/merge-descriptors": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
+ "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w=="
+ },
"node_modules/express/node_modules/qs": {
"version": "6.11.0",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz",
@@ -4958,9 +5134,9 @@
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
},
"node_modules/fast-glob": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz",
- "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==",
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
+ "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==",
"dependencies": {
"@nodelib/fs.stat": "^2.0.2",
"@nodelib/fs.walk": "^1.2.3",
@@ -5104,6 +5280,14 @@
"node": ">=8"
}
},
+ "node_modules/flat": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz",
+ "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==",
+ "bin": {
+ "flat": "cli.js"
+ }
+ },
"node_modules/follow-redirects": {
"version": "1.15.3",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz",
@@ -5145,9 +5329,9 @@
}
},
"node_modules/fraction.js": {
- "version": "4.3.6",
- "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.6.tgz",
- "integrity": "sha512-n2aZ9tNfYDwaHhvFTkhFErqOMIb8uyzSQ+vGJBjZyanAKZVbGUQ1sngfk9FdkBw7G26O7AgNjLcecLffD1c7eg==",
+ "version": "4.3.7",
+ "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz",
+ "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==",
"engines": {
"node": "*"
},
@@ -5178,9 +5362,9 @@
}
},
"node_modules/fs-monkey": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.4.tgz",
- "integrity": "sha512-INM/fWAxMICjttnD0DX1rBvinKskj5G1w+oy/pnm9u/tSlnBrzFonJMcalKJ30P8RRsPzKcCG7Q8l0jx5Fh9YQ=="
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.5.tgz",
+ "integrity": "sha512-8uMbBjrhzW76TYgEV27Y5E//W2f/lTFmx78P2w19FZSxarhI/798APGQyuGCwmkNxgwGRhrLfvWyLBvNtuOmew=="
},
"node_modules/fs.realpath": {
"version": "1.0.0",
@@ -5201,9 +5385,12 @@
}
},
"node_modules/function-bind": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
- "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
},
"node_modules/gensync": {
"version": "1.0.0-beta.2",
@@ -5222,14 +5409,14 @@
}
},
"node_modules/get-intrinsic": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz",
- "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==",
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz",
+ "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==",
"dependencies": {
- "function-bind": "^1.1.1",
- "has": "^1.0.3",
+ "function-bind": "^1.1.2",
"has-proto": "^1.0.1",
- "has-symbols": "^1.0.3"
+ "has-symbols": "^1.0.3",
+ "hasown": "^2.0.0"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
@@ -5334,12 +5521,9 @@
"integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg=="
},
"node_modules/has": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
- "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
- "dependencies": {
- "function-bind": "^1.1.1"
- },
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.4.tgz",
+ "integrity": "sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==",
"engines": {
"node": ">= 0.4.0"
}
@@ -5353,11 +5537,11 @@
}
},
"node_modules/has-property-descriptors": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz",
- "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==",
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz",
+ "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==",
"dependencies": {
- "get-intrinsic": "^1.1.1"
+ "get-intrinsic": "^1.2.2"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
@@ -5425,6 +5609,17 @@
"minimalistic-assert": "^1.0.1"
}
},
+ "node_modules/hasown": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz",
+ "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==",
+ "dependencies": {
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
"node_modules/he": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
@@ -5694,9 +5889,9 @@
]
},
"node_modules/ignore": {
- "version": "5.2.4",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz",
- "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==",
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz",
+ "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==",
"engines": {
"node": ">= 4"
}
@@ -5846,11 +6041,11 @@
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
},
"node_modules/is-core-module": {
- "version": "2.13.0",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz",
- "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==",
+ "version": "2.13.1",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz",
+ "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==",
"dependencies": {
- "has": "^1.0.3"
+ "hasown": "^2.0.0"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
@@ -6261,12 +6456,12 @@
"dev": true
},
"node_modules/launch-editor": {
- "version": "2.6.0",
- "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.6.0.tgz",
- "integrity": "sha512-JpDCcQnyAAzZZaZ7vEiSqL690w7dAEyLao+KC96zBplnYbJS7TYNjvM3M7y3dGz+v7aIsJk3hllWuc0kWAjyRQ==",
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.6.1.tgz",
+ "integrity": "sha512-eB/uXmFVpY4zezmGp5XtU21kwo7GBbKB+EQ+UZeWtGb9yAM5xt/Evk+lYH3eRNAtId+ej4u7TYPFZ07w4s7rRw==",
"dependencies": {
"picocolors": "^1.0.0",
- "shell-quote": "^1.7.3"
+ "shell-quote": "^1.8.1"
}
},
"node_modules/lilconfig": {
@@ -6365,6 +6560,17 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/marked": {
+ "version": "10.0.0",
+ "resolved": "https://registry.npmjs.org/marked/-/marked-10.0.0.tgz",
+ "integrity": "sha512-YiGcYcWj50YrwBgNzFoYhQ1hT6GmQbFG8SksnYJX1z4BXTHSOrz1GB5/Jm2yQvMg4nN1FHP4M6r03R10KrVUiA==",
+ "bin": {
+ "marked": "bin/marked.js"
+ },
+ "engines": {
+ "node": ">= 18"
+ }
+ },
"node_modules/md5": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz",
@@ -6386,9 +6592,9 @@
}
},
"node_modules/mdn-data": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.1.0.tgz",
- "integrity": "sha512-dbAWH6A+2NGuVJlQFrTKHJc07Vqn5frnhyTOGz+7BsK7V2hHdoBcwoiyV3QVhLHYpM/zqe2OSUn5ZWbVXLBB8A=="
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.3.0.tgz",
+ "integrity": "sha512-BhLaX4PxsBIBRqqmO3EIVpwUL0dma/evS8RjGwIVomw61jRikAMpeivHEMqH+VBZWQhuL+DWiImGbEIcDqu8/Q=="
},
"node_modules/media-typer": {
"version": "0.3.0",
@@ -6410,9 +6616,12 @@
}
},
"node_modules/merge-descriptors": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
- "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w=="
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz",
+ "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==",
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
},
"node_modules/merge-stream": {
"version": "2.0.0",
@@ -6594,9 +6803,9 @@
}
},
"node_modules/nanoid": {
- "version": "3.3.6",
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz",
- "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==",
+ "version": "3.3.7",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz",
+ "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==",
"funding": [
{
"type": "github",
@@ -6786,9 +6995,9 @@
}
},
"node_modules/object-inspect": {
- "version": "1.12.3",
- "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz",
- "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==",
+ "version": "1.13.1",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz",
+ "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==",
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
@@ -7102,9 +7311,9 @@
}
},
"node_modules/postcss": {
- "version": "8.4.30",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.30.tgz",
- "integrity": "sha512-7ZEao1g4kd68l97aWG/etQKPKq07us0ieSZ2TnFDk11i0ZfDW2AwKHYU8qv4MZKqN2fdBfg+7q0ES06UA73C1g==",
+ "version": "8.4.31",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",
+ "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==",
"funding": [
{
"type": "opencollective",
@@ -7722,9 +7931,9 @@
"integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="
},
"node_modules/punycode": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz",
- "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==",
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
+ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
"engines": {
"node": ">=6"
}
@@ -7974,9 +8183,9 @@
"integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ=="
},
"node_modules/resolve": {
- "version": "1.22.6",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.6.tgz",
- "integrity": "sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw==",
+ "version": "1.22.8",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz",
+ "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==",
"dependencies": {
"is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
@@ -8220,9 +8429,9 @@
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
},
"node_modules/sass": {
- "version": "1.68.0",
- "resolved": "https://registry.npmjs.org/sass/-/sass-1.68.0.tgz",
- "integrity": "sha512-Lmj9lM/fef0nQswm1J2HJcEsBUba4wgNx2fea6yJHODREoMFnwRpZydBnX/RjyXw2REIwdkbqE4hrTo4qfDBUA==",
+ "version": "1.69.5",
+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.69.5.tgz",
+ "integrity": "sha512-qg2+UCJibLr2LCVOt3OlPhr/dqVHWOa9XtZf2OjbLs/T4VPSJ00udtgJxH3neXZm+QqX8B+3cU7RaLqp1iVfcQ==",
"dev": true,
"dependencies": {
"chokidar": ">=3.0.0 <4.0.0",
@@ -8327,10 +8536,11 @@
"integrity": "sha512-Hr9TdhyHCZUtwznEH2CBf7967mEM0idtJ5nMtjvk3Up5tPukOLXbHUNmh10oRfeNIhj+3GD3niu+g6sVK+gK0A=="
},
"node_modules/selfsigned": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-2.1.1.tgz",
- "integrity": "sha512-GSL3aowiF7wa/WtSFwnUrludWFoNhftq8bUkH9pkzjpN2XSPOAYEgg6e0sS9s0rZwgJzJiQRPU18A6clnoW5wQ==",
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-2.4.1.tgz",
+ "integrity": "sha512-th5B4L2U+eGLq1TVh7zNRGBapioSORUeymIydxgFpwww9d2qyKvtuPU2jJuHvYAwwqi2Y596QBL3eEqcPEYL8Q==",
"dependencies": {
+ "@types/node-forge": "^1.3.0",
"node-forge": "^1"
},
"engines": {
@@ -8447,6 +8657,20 @@
"node": ">= 0.8.0"
}
},
+ "node_modules/set-function-length": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz",
+ "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==",
+ "dependencies": {
+ "define-data-property": "^1.1.1",
+ "get-intrinsic": "^1.2.1",
+ "gopd": "^1.0.1",
+ "has-property-descriptors": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
"node_modules/setimmediate": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
@@ -8530,6 +8754,16 @@
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
},
+ "node_modules/simplemde": {
+ "version": "1.11.2",
+ "resolved": "https://registry.npmjs.org/simplemde/-/simplemde-1.11.2.tgz",
+ "integrity": "sha512-AUXuHJ/tEEDEcN/MTitHIw3AuBcheizJt7SVwtyn00B0UK5RKZ3GB+JndmRcJ5wfYGCIL0O2yJm/uz0sJOFSLg==",
+ "dependencies": {
+ "codemirror": "*",
+ "codemirror-spell-checker": "*",
+ "marked": "*"
+ }
+ },
"node_modules/slash": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
@@ -8695,9 +8929,9 @@
}
},
"node_modules/std-env": {
- "version": "3.4.3",
- "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.4.3.tgz",
- "integrity": "sha512-f9aPhy8fYBuMN+sNfakZV18U39PbalgjXG3lLB9WkaYTxijru61wb57V9wxxNthXM5Sd88ETBWi29qLAsHO52Q=="
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.5.0.tgz",
+ "integrity": "sha512-JGUEaALvL0Mf6JCfYnJOTcobY+Nc7sG/TemDRBqCA0wEr4DER7zDchaaixTlmOxAjG1uRJmX82EQcxwTQTkqVA=="
},
"node_modules/stream-browserify": {
"version": "2.0.2",
@@ -8796,6 +9030,11 @@
"url": "https://opencollective.com/webpack"
}
},
+ "node_modules/style-mod": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.0.tgz",
+ "integrity": "sha512-Ca5ib8HrFn+f+0n4N4ScTIA9iTOQ7MaGS1ylHcoVqW9J7w2w8PzN6g9gKmTYgGEBH8e120+RCmhpje6jC5uGWA=="
+ },
"node_modules/stylehacks": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-5.1.1.tgz",
@@ -8870,9 +9109,9 @@
}
},
"node_modules/terser": {
- "version": "5.20.0",
- "resolved": "https://registry.npmjs.org/terser/-/terser-5.20.0.tgz",
- "integrity": "sha512-e56ETryaQDyebBwJIWYB2TT6f2EZ0fL0sW/JRXNMN26zZdKi2u/E/5my5lG6jNxym6qsrVXfFRmOdV42zlAgLQ==",
+ "version": "5.24.0",
+ "resolved": "https://registry.npmjs.org/terser/-/terser-5.24.0.tgz",
+ "integrity": "sha512-ZpGR4Hy3+wBEzVEnHvstMvqpD/nABNelQn/z2r0fjVWGQsN3bpOLzQlqDxmb4CDZnXq5lpjnQ+mHQLAOpfM5iw==",
"dependencies": {
"@jridgewell/source-map": "^0.3.3",
"acorn": "^8.8.2",
@@ -9011,6 +9250,16 @@
"node": ">= 0.6"
}
},
+ "node_modules/typo-js": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/typo-js/-/typo-js-1.2.3.tgz",
+ "integrity": "sha512-67Hyl94beZX8gmTap7IDPrG5hy2cHftgsCAcGvE1tzuxGT+kRB+zSBin0wIMwysYw8RUCBCvv9UfQl8TNM75dA=="
+ },
+ "node_modules/undici-types": {
+ "version": "5.26.5",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
+ "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
+ },
"node_modules/unicode-canonical-property-names-ecmascript": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz",
@@ -9048,9 +9297,9 @@
}
},
"node_modules/universalify": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
- "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
+ "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
"engines": {
"node": ">= 10.0.0"
}
@@ -9064,9 +9313,9 @@
}
},
"node_modules/update-browserslist-db": {
- "version": "1.0.12",
- "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.12.tgz",
- "integrity": "sha512-tE1smlR58jxbFMtrMpFNRmsrOXlpNXss965T1CrpwuZUzUAg/TBQc94SpyhDLSzrqrJS9xTRBthnZAGcE1oaxg==",
+ "version": "1.0.13",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz",
+ "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==",
"funding": [
{
"type": "opencollective",
@@ -9200,6 +9449,11 @@
"node": ">=4.0.0"
}
},
+ "node_modules/w3c-keyname": {
+ "version": "2.2.8",
+ "resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.8.tgz",
+ "integrity": "sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ=="
+ },
"node_modules/watchpack": {
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz",
@@ -9221,9 +9475,9 @@
}
},
"node_modules/webpack": {
- "version": "5.88.2",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.2.tgz",
- "integrity": "sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==",
+ "version": "5.89.0",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.89.0.tgz",
+ "integrity": "sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==",
"dependencies": {
"@types/eslint-scope": "^3.7.3",
"@types/estree": "^1.0.0",
@@ -9499,11 +9753,12 @@
}
},
"node_modules/webpack-merge": {
- "version": "5.9.0",
- "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.9.0.tgz",
- "integrity": "sha512-6NbRQw4+Sy50vYNTw7EyOn41OZItPiXB8GNv3INSoe3PSFaHJEz3SHTrYVaRm2LilNGnFUzh0FAwqPEmU/CwDg==",
+ "version": "5.10.0",
+ "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.10.0.tgz",
+ "integrity": "sha512-+4zXKdx7UnO+1jaN4l2lHVD+mFvnlZQP/6ljaJVb4SZiwIKeUnrT5l0gkT8z+n4hKpC+jpOv6O9R+gLtag7pSA==",
"dependencies": {
"clone-deep": "^4.0.1",
+ "flat": "^5.0.2",
"wildcard": "^2.0.0"
},
"engines": {
diff --git a/package.json b/package.json
index 8f987932..94a13e70 100644
--- a/package.json
+++ b/package.json
@@ -26,6 +26,7 @@
"doc": "docs"
},
"dependencies": {
+ "@fortawesome/fontawesome-free": "^6.4.2",
"accepts": "^1.3.8",
"acorn": "^8.8.2",
"acorn-import-assertions": "^1.8.0",
@@ -451,6 +452,7 @@
"shellwords": "^0.1.1",
"side-channel": "^1.0.4",
"signal-exit": "^3.0.7",
+ "simplemde": "^1.11.2",
"slash": "^3.0.0",
"sockjs": "^0.3.24",
"source-list-map": "^2.0.1",
diff --git a/public/css/all.css b/public/css/all.css
index 848b5127..98e80760 100644
--- a/public/css/all.css
+++ b/public/css/all.css
@@ -50781,3 +50781,20 @@ form {
background-color: #f1f2f3;
cursor: inherit;
}
+
+/**
+ * simplemde v1.11.2
+ * Copyright Next Step Webs, Inc.
+ * @link https://github.com/NextStepWebs/simplemde-markdown-editor
+ * @license MIT
+ */
+.CodeMirror{color:#000}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-ruler{border-left:1px solid #ccc;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:0;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0!important;border:none!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:0 0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:none;font-variant-ligatures:none}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-code{outline:0}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected,.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:''}span.CodeMirror-selectedtext{background:0 0}.CodeMirror{height:auto;min-height:300px;border:1px solid #ddd;border-bottom-left-radius:4px;border-bottom-right-radius:4px;padding:10px;font:inherit;z-index:1}.CodeMirror-scroll{min-height:300px}.CodeMirror-fullscreen{background:#fff;position:fixed!important;top:50px;left:0;right:0;bottom:0;height:auto;z-index:9}.CodeMirror-sided{width:50%!important}.editor-toolbar{position:relative;opacity:.6;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;padding:0 10px;border-top:1px solid #bbb;border-left:1px solid #bbb;border-right:1px solid #bbb;border-top-left-radius:4px;border-top-right-radius:4px}.editor-toolbar:after,.editor-toolbar:before{display:block;content:' ';height:1px}.editor-toolbar:before{margin-bottom:8px}.editor-toolbar:after{margin-top:8px}.editor-toolbar:hover,.editor-wrapper input.title:focus,.editor-wrapper input.title:hover{opacity:.8}.editor-toolbar.fullscreen{width:100%;height:50px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;padding-top:10px;padding-bottom:10px;box-sizing:border-box;background:#fff;border:0;position:fixed;top:0;left:0;opacity:1;z-index:9}.editor-toolbar.fullscreen::before{width:20px;height:50px;background:-moz-linear-gradient(left,rgba(255,255,255,1) 0,rgba(255,255,255,0) 100%);background:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(255,255,255,1)),color-stop(100%,rgba(255,255,255,0)));background:-webkit-linear-gradient(left,rgba(255,255,255,1) 0,rgba(255,255,255,0) 100%);background:-o-linear-gradient(left,rgba(255,255,255,1) 0,rgba(255,255,255,0) 100%);background:-ms-linear-gradient(left,rgba(255,255,255,1) 0,rgba(255,255,255,0) 100%);background:linear-gradient(to right,rgba(255,255,255,1) 0,rgba(255,255,255,0) 100%);position:fixed;top:0;left:0;margin:0;padding:0}.editor-toolbar.fullscreen::after{width:20px;height:50px;background:-moz-linear-gradient(left,rgba(255,255,255,0) 0,rgba(255,255,255,1) 100%);background:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(255,255,255,0)),color-stop(100%,rgba(255,255,255,1)));background:-webkit-linear-gradient(left,rgba(255,255,255,0) 0,rgba(255,255,255,1) 100%);background:-o-linear-gradient(left,rgba(255,255,255,0) 0,rgba(255,255,255,1) 100%);background:-ms-linear-gradient(left,rgba(255,255,255,0) 0,rgba(255,255,255,1) 100%);background:linear-gradient(to right,rgba(255,255,255,0) 0,rgba(255,255,255,1) 100%);position:fixed;top:0;right:0;margin:0;padding:0}.editor-toolbar a{display:inline-block;text-align:center;text-decoration:none!important;color:#2c3e50!important;width:30px;height:30px;margin:0;border:1px solid transparent;border-radius:3px;cursor:pointer}.editor-toolbar a.active,.editor-toolbar a:hover{background:#fcfcfc;border-color:#95a5a6}.editor-toolbar a:before{line-height:30px}.editor-toolbar i.separator{display:inline-block;width:0;border-left:1px solid #d9d9d9;border-right:1px solid #fff;color:transparent;text-indent:-10px;margin:0 6px}.editor-toolbar a.fa-header-x:after{font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:65%;vertical-align:text-bottom;position:relative;top:2px}.editor-toolbar a.fa-header-1:after{content:"1"}.editor-toolbar a.fa-header-2:after{content:"2"}.editor-toolbar a.fa-header-3:after{content:"3"}.editor-toolbar a.fa-header-bigger:after{content:"▲"}.editor-toolbar a.fa-header-smaller:after{content:"▼"}.editor-toolbar.disabled-for-preview a:not(.no-disable){pointer-events:none;background:#fff;border-color:transparent;text-shadow:inherit}@media only screen and (max-width:700px){.editor-toolbar a.no-mobile{display:none}}.editor-statusbar{padding:8px 10px;font-size:12px;color:#959694;text-align:right}.editor-statusbar span{display:inline-block;min-width:4em;margin-left:1em}.editor-preview,.editor-preview-side{padding:10px;background:#fafafa;overflow:auto;display:none;box-sizing:border-box}.editor-statusbar .lines:before{content:'lines: '}.editor-statusbar .words:before{content:'words: '}.editor-statusbar .characters:before{content:'characters: '}.editor-preview{position:absolute;width:100%;height:100%;top:0;left:0;z-index:7}.editor-preview-side{position:fixed;bottom:0;width:50%;top:50px;right:0;z-index:9;border:1px solid #ddd}.editor-preview-active,.editor-preview-active-side{display:block}.editor-preview-side>p,.editor-preview>p{margin-top:0}.editor-preview pre,.editor-preview-side pre{background:#eee;margin-bottom:10px}.editor-preview table td,.editor-preview table th,.editor-preview-side table td,.editor-preview-side table th{border:1px solid #ddd;padding:5px}.CodeMirror .CodeMirror-code .cm-tag{color:#63a35c}.CodeMirror .CodeMirror-code .cm-attribute{color:#795da3}.CodeMirror .CodeMirror-code .cm-string{color:#183691}.CodeMirror .CodeMirror-selected{background:#d9d9d9}.CodeMirror .CodeMirror-code .cm-header-1{font-size:200%;line-height:200%}.CodeMirror .CodeMirror-code .cm-header-2{font-size:160%;line-height:160%}.CodeMirror .CodeMirror-code .cm-header-3{font-size:125%;line-height:125%}.CodeMirror .CodeMirror-code .cm-header-4{font-size:110%;line-height:110%}.CodeMirror .CodeMirror-code .cm-comment{background:rgba(0,0,0,.05);border-radius:2px}.CodeMirror .CodeMirror-code .cm-link{color:#7f8c8d}.CodeMirror .CodeMirror-code .cm-url{color:#aab2b3}.CodeMirror .CodeMirror-code .cm-strikethrough{text-decoration:line-through}.CodeMirror .CodeMirror-placeholder{opacity:.5}.CodeMirror .cm-spell-error:not(.cm-url):not(.cm-comment):not(.cm-tag):not(.cm-word){background:rgba(255,0,0,.15)}
+/*!
+ * Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
+ * Copyright 2023 Fonticons, Inc.
+ */
+.fa{font-family:var(--fa-style-family,"Font Awesome 6 Free");font-weight:var(--fa-style,900)}.fa,.fa-brands,.fa-classic,.fa-regular,.fa-sharp,.fa-solid,.fab,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:var(--fa-display,inline-block);font-style:normal;font-variant:normal;line-height:1;text-rendering:auto}.fa-classic,.fa-regular,.fa-solid,.far,.fas{font-family:"Font Awesome 6 Free"}.fa-brands,.fab{font-family:"Font Awesome 6 Brands"}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-2xs{font-size:.625em;line-height:.1em;vertical-align:.225em}.fa-xs{font-size:.75em;line-height:.08333em;vertical-align:.125em}.fa-sm{font-size:.875em;line-height:.07143em;vertical-align:.05357em}.fa-lg{font-size:1.25em;line-height:.05em;vertical-align:-.075em}.fa-xl{font-size:1.5em;line-height:.04167em;vertical-align:-.125em}.fa-2xl{font-size:2em;line-height:.03125em;vertical-align:-.1875em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:var(--fa-li-margin,2.5em);padding-left:0}.fa-ul>li{position:relative}.fa-li{left:calc(var(--fa-li-width, 2em)*-1);position:absolute;text-align:center;width:var(--fa-li-width,2em);line-height:inherit}.fa-border{border-radius:var(--fa-border-radius,.1em);border:var(--fa-border-width,.08em) var(--fa-border-style,solid) var(--fa-border-color,#eee);padding:var(--fa-border-padding,.2em .25em .15em)}.fa-pull-left{float:left;margin-right:var(--fa-pull-margin,.3em)}.fa-pull-right{float:right;margin-left:var(--fa-pull-margin,.3em)}.fa-beat{-webkit-animation-name:fa-beat;animation-name:fa-beat;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-bounce{-webkit-animation-name:fa-bounce;animation-name:fa-bounce;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1))}.fa-fade{-webkit-animation-name:fa-fade;animation-name:fa-fade;-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-beat-fade,.fa-fade{-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s)}.fa-beat-fade{-webkit-animation-name:fa-beat-fade;animation-name:fa-beat-fade;-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-flip{-webkit-animation-name:fa-flip;animation-name:fa-flip;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-shake{-webkit-animation-name:fa-shake;animation-name:fa-shake;-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,linear);animation-timing-function:var(--fa-animation-timing,linear)}.fa-shake,.fa-spin{-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal)}.fa-spin{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-duration:var(--fa-animation-duration,2s);animation-duration:var(--fa-animation-duration,2s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,linear);animation-timing-function:var(--fa-animation-timing,linear)}.fa-spin-reverse{--fa-animation-direction:reverse}.fa-pulse,.fa-spin-pulse{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,steps(8));animation-timing-function:var(--fa-animation-timing,steps(8))}@media (prefers-reduced-motion:reduce){.fa-beat,.fa-beat-fade,.fa-bounce,.fa-fade,.fa-flip,.fa-pulse,.fa-shake,.fa-spin,.fa-spin-pulse{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s}}@-webkit-keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@-webkit-keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@-webkit-keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@-webkit-keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@-webkit-keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@-webkit-keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}8%,24%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}@keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}8%,24%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}.fa-rotate-by{-webkit-transform:rotate(var(--fa-rotate-angle,none));transform:rotate(var(--fa-rotate-angle,none))}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%;z-index:var(--fa-stack-z-index,auto)}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:var(--fa-inverse,#fff)}
+
+.fa-0:before{content:"\30"}.fa-1:before{content:"\31"}.fa-2:before{content:"\32"}.fa-3:before{content:"\33"}.fa-4:before{content:"\34"}.fa-5:before{content:"\35"}.fa-6:before{content:"\36"}.fa-7:before{content:"\37"}.fa-8:before{content:"\38"}.fa-9:before{content:"\39"}.fa-fill-drip:before{content:"\f576"}.fa-arrows-to-circle:before{content:"\e4bd"}.fa-chevron-circle-right:before,.fa-circle-chevron-right:before{content:"\f138"}.fa-at:before{content:"\40"}.fa-trash-alt:before,.fa-trash-can:before{content:"\f2ed"}.fa-text-height:before{content:"\f034"}.fa-user-times:before,.fa-user-xmark:before{content:"\f235"}.fa-stethoscope:before{content:"\f0f1"}.fa-comment-alt:before,.fa-message:before{content:"\f27a"}.fa-info:before{content:"\f129"}.fa-compress-alt:before,.fa-down-left-and-up-right-to-center:before{content:"\f422"}.fa-explosion:before{content:"\e4e9"}.fa-file-alt:before,.fa-file-lines:before,.fa-file-text:before{content:"\f15c"}.fa-wave-square:before{content:"\f83e"}.fa-ring:before{content:"\f70b"}.fa-building-un:before{content:"\e4d9"}.fa-dice-three:before{content:"\f527"}.fa-calendar-alt:before,.fa-calendar-days:before{content:"\f073"}.fa-anchor-circle-check:before{content:"\e4aa"}.fa-building-circle-arrow-right:before{content:"\e4d1"}.fa-volleyball-ball:before,.fa-volleyball:before{content:"\f45f"}.fa-arrows-up-to-line:before{content:"\e4c2"}.fa-sort-desc:before,.fa-sort-down:before{content:"\f0dd"}.fa-circle-minus:before,.fa-minus-circle:before{content:"\f056"}.fa-door-open:before{content:"\f52b"}.fa-right-from-bracket:before,.fa-sign-out-alt:before{content:"\f2f5"}.fa-atom:before{content:"\f5d2"}.fa-soap:before{content:"\e06e"}.fa-heart-music-camera-bolt:before,.fa-icons:before{content:"\f86d"}.fa-microphone-alt-slash:before,.fa-microphone-lines-slash:before{content:"\f539"}.fa-bridge-circle-check:before{content:"\e4c9"}.fa-pump-medical:before{content:"\e06a"}.fa-fingerprint:before{content:"\f577"}.fa-hand-point-right:before{content:"\f0a4"}.fa-magnifying-glass-location:before,.fa-search-location:before{content:"\f689"}.fa-forward-step:before,.fa-step-forward:before{content:"\f051"}.fa-face-smile-beam:before,.fa-smile-beam:before{content:"\f5b8"}.fa-flag-checkered:before{content:"\f11e"}.fa-football-ball:before,.fa-football:before{content:"\f44e"}.fa-school-circle-exclamation:before{content:"\e56c"}.fa-crop:before{content:"\f125"}.fa-angle-double-down:before,.fa-angles-down:before{content:"\f103"}.fa-users-rectangle:before{content:"\e594"}.fa-people-roof:before{content:"\e537"}.fa-people-line:before{content:"\e534"}.fa-beer-mug-empty:before,.fa-beer:before{content:"\f0fc"}.fa-diagram-predecessor:before{content:"\e477"}.fa-arrow-up-long:before,.fa-long-arrow-up:before{content:"\f176"}.fa-burn:before,.fa-fire-flame-simple:before{content:"\f46a"}.fa-male:before,.fa-person:before{content:"\f183"}.fa-laptop:before{content:"\f109"}.fa-file-csv:before{content:"\f6dd"}.fa-menorah:before{content:"\f676"}.fa-truck-plane:before{content:"\e58f"}.fa-record-vinyl:before{content:"\f8d9"}.fa-face-grin-stars:before,.fa-grin-stars:before{content:"\f587"}.fa-bong:before{content:"\f55c"}.fa-pastafarianism:before,.fa-spaghetti-monster-flying:before{content:"\f67b"}.fa-arrow-down-up-across-line:before{content:"\e4af"}.fa-spoon:before,.fa-utensil-spoon:before{content:"\f2e5"}.fa-jar-wheat:before{content:"\e517"}.fa-envelopes-bulk:before,.fa-mail-bulk:before{content:"\f674"}.fa-file-circle-exclamation:before{content:"\e4eb"}.fa-circle-h:before,.fa-hospital-symbol:before{content:"\f47e"}.fa-pager:before{content:"\f815"}.fa-address-book:before,.fa-contact-book:before{content:"\f2b9"}.fa-strikethrough:before{content:"\f0cc"}.fa-k:before{content:"\4b"}.fa-landmark-flag:before{content:"\e51c"}.fa-pencil-alt:before,.fa-pencil:before{content:"\f303"}.fa-backward:before{content:"\f04a"}.fa-caret-right:before{content:"\f0da"}.fa-comments:before{content:"\f086"}.fa-file-clipboard:before,.fa-paste:before{content:"\f0ea"}.fa-code-pull-request:before{content:"\e13c"}.fa-clipboard-list:before{content:"\f46d"}.fa-truck-loading:before,.fa-truck-ramp-box:before{content:"\f4de"}.fa-user-check:before{content:"\f4fc"}.fa-vial-virus:before{content:"\e597"}.fa-sheet-plastic:before{content:"\e571"}.fa-blog:before{content:"\f781"}.fa-user-ninja:before{content:"\f504"}.fa-person-arrow-up-from-line:before{content:"\e539"}.fa-scroll-torah:before,.fa-torah:before{content:"\f6a0"}.fa-broom-ball:before,.fa-quidditch-broom-ball:before,.fa-quidditch:before{content:"\f458"}.fa-toggle-off:before{content:"\f204"}.fa-archive:before,.fa-box-archive:before{content:"\f187"}.fa-person-drowning:before{content:"\e545"}.fa-arrow-down-9-1:before,.fa-sort-numeric-desc:before,.fa-sort-numeric-down-alt:before{content:"\f886"}.fa-face-grin-tongue-squint:before,.fa-grin-tongue-squint:before{content:"\f58a"}.fa-spray-can:before{content:"\f5bd"}.fa-truck-monster:before{content:"\f63b"}.fa-w:before{content:"\57"}.fa-earth-africa:before,.fa-globe-africa:before{content:"\f57c"}.fa-rainbow:before{content:"\f75b"}.fa-circle-notch:before{content:"\f1ce"}.fa-tablet-alt:before,.fa-tablet-screen-button:before{content:"\f3fa"}.fa-paw:before{content:"\f1b0"}.fa-cloud:before{content:"\f0c2"}.fa-trowel-bricks:before{content:"\e58a"}.fa-face-flushed:before,.fa-flushed:before{content:"\f579"}.fa-hospital-user:before{content:"\f80d"}.fa-tent-arrow-left-right:before{content:"\e57f"}.fa-gavel:before,.fa-legal:before{content:"\f0e3"}.fa-binoculars:before{content:"\f1e5"}.fa-microphone-slash:before{content:"\f131"}.fa-box-tissue:before{content:"\e05b"}.fa-motorcycle:before{content:"\f21c"}.fa-bell-concierge:before,.fa-concierge-bell:before{content:"\f562"}.fa-pen-ruler:before,.fa-pencil-ruler:before{content:"\f5ae"}.fa-people-arrows-left-right:before,.fa-people-arrows:before{content:"\e068"}.fa-mars-and-venus-burst:before{content:"\e523"}.fa-caret-square-right:before,.fa-square-caret-right:before{content:"\f152"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-sun-plant-wilt:before{content:"\e57a"}.fa-toilets-portable:before{content:"\e584"}.fa-hockey-puck:before{content:"\f453"}.fa-table:before{content:"\f0ce"}.fa-magnifying-glass-arrow-right:before{content:"\e521"}.fa-digital-tachograph:before,.fa-tachograph-digital:before{content:"\f566"}.fa-users-slash:before{content:"\e073"}.fa-clover:before{content:"\e139"}.fa-mail-reply:before,.fa-reply:before{content:"\f3e5"}.fa-star-and-crescent:before{content:"\f699"}.fa-house-fire:before{content:"\e50c"}.fa-minus-square:before,.fa-square-minus:before{content:"\f146"}.fa-helicopter:before{content:"\f533"}.fa-compass:before{content:"\f14e"}.fa-caret-square-down:before,.fa-square-caret-down:before{content:"\f150"}.fa-file-circle-question:before{content:"\e4ef"}.fa-laptop-code:before{content:"\f5fc"}.fa-swatchbook:before{content:"\f5c3"}.fa-prescription-bottle:before{content:"\f485"}.fa-bars:before,.fa-navicon:before{content:"\f0c9"}.fa-people-group:before{content:"\e533"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-heart-broken:before,.fa-heart-crack:before{content:"\f7a9"}.fa-external-link-square-alt:before,.fa-square-up-right:before{content:"\f360"}.fa-face-kiss-beam:before,.fa-kiss-beam:before{content:"\f597"}.fa-film:before{content:"\f008"}.fa-ruler-horizontal:before{content:"\f547"}.fa-people-robbery:before{content:"\e536"}.fa-lightbulb:before{content:"\f0eb"}.fa-caret-left:before{content:"\f0d9"}.fa-circle-exclamation:before,.fa-exclamation-circle:before{content:"\f06a"}.fa-school-circle-xmark:before{content:"\e56d"}.fa-arrow-right-from-bracket:before,.fa-sign-out:before{content:"\f08b"}.fa-chevron-circle-down:before,.fa-circle-chevron-down:before{content:"\f13a"}.fa-unlock-alt:before,.fa-unlock-keyhole:before{content:"\f13e"}.fa-cloud-showers-heavy:before{content:"\f740"}.fa-headphones-alt:before,.fa-headphones-simple:before{content:"\f58f"}.fa-sitemap:before{content:"\f0e8"}.fa-circle-dollar-to-slot:before,.fa-donate:before{content:"\f4b9"}.fa-memory:before{content:"\f538"}.fa-road-spikes:before{content:"\e568"}.fa-fire-burner:before{content:"\e4f1"}.fa-flag:before{content:"\f024"}.fa-hanukiah:before{content:"\f6e6"}.fa-feather:before{content:"\f52d"}.fa-volume-down:before,.fa-volume-low:before{content:"\f027"}.fa-comment-slash:before{content:"\f4b3"}.fa-cloud-sun-rain:before{content:"\f743"}.fa-compress:before{content:"\f066"}.fa-wheat-alt:before,.fa-wheat-awn:before{content:"\e2cd"}.fa-ankh:before{content:"\f644"}.fa-hands-holding-child:before{content:"\e4fa"}.fa-asterisk:before{content:"\2a"}.fa-check-square:before,.fa-square-check:before{content:"\f14a"}.fa-peseta-sign:before{content:"\e221"}.fa-header:before,.fa-heading:before{content:"\f1dc"}.fa-ghost:before{content:"\f6e2"}.fa-list-squares:before,.fa-list:before{content:"\f03a"}.fa-phone-square-alt:before,.fa-square-phone-flip:before{content:"\f87b"}.fa-cart-plus:before{content:"\f217"}.fa-gamepad:before{content:"\f11b"}.fa-circle-dot:before,.fa-dot-circle:before{content:"\f192"}.fa-dizzy:before,.fa-face-dizzy:before{content:"\f567"}.fa-egg:before{content:"\f7fb"}.fa-house-medical-circle-xmark:before{content:"\e513"}.fa-campground:before{content:"\f6bb"}.fa-folder-plus:before{content:"\f65e"}.fa-futbol-ball:before,.fa-futbol:before,.fa-soccer-ball:before{content:"\f1e3"}.fa-paint-brush:before,.fa-paintbrush:before{content:"\f1fc"}.fa-lock:before{content:"\f023"}.fa-gas-pump:before{content:"\f52f"}.fa-hot-tub-person:before,.fa-hot-tub:before{content:"\f593"}.fa-map-location:before,.fa-map-marked:before{content:"\f59f"}.fa-house-flood-water:before{content:"\e50e"}.fa-tree:before{content:"\f1bb"}.fa-bridge-lock:before{content:"\e4cc"}.fa-sack-dollar:before{content:"\f81d"}.fa-edit:before,.fa-pen-to-square:before{content:"\f044"}.fa-car-side:before{content:"\f5e4"}.fa-share-alt:before,.fa-share-nodes:before{content:"\f1e0"}.fa-heart-circle-minus:before{content:"\e4ff"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-microscope:before{content:"\f610"}.fa-sink:before{content:"\e06d"}.fa-bag-shopping:before,.fa-shopping-bag:before{content:"\f290"}.fa-arrow-down-z-a:before,.fa-sort-alpha-desc:before,.fa-sort-alpha-down-alt:before{content:"\f881"}.fa-mitten:before{content:"\f7b5"}.fa-person-rays:before{content:"\e54d"}.fa-users:before{content:"\f0c0"}.fa-eye-slash:before{content:"\f070"}.fa-flask-vial:before{content:"\e4f3"}.fa-hand-paper:before,.fa-hand:before{content:"\f256"}.fa-om:before{content:"\f679"}.fa-worm:before{content:"\e599"}.fa-house-circle-xmark:before{content:"\e50b"}.fa-plug:before{content:"\f1e6"}.fa-chevron-up:before{content:"\f077"}.fa-hand-spock:before{content:"\f259"}.fa-stopwatch:before{content:"\f2f2"}.fa-face-kiss:before,.fa-kiss:before{content:"\f596"}.fa-bridge-circle-xmark:before{content:"\e4cb"}.fa-face-grin-tongue:before,.fa-grin-tongue:before{content:"\f589"}.fa-chess-bishop:before{content:"\f43a"}.fa-face-grin-wink:before,.fa-grin-wink:before{content:"\f58c"}.fa-deaf:before,.fa-deafness:before,.fa-ear-deaf:before,.fa-hard-of-hearing:before{content:"\f2a4"}.fa-road-circle-check:before{content:"\e564"}.fa-dice-five:before{content:"\f523"}.fa-rss-square:before,.fa-square-rss:before{content:"\f143"}.fa-land-mine-on:before{content:"\e51b"}.fa-i-cursor:before{content:"\f246"}.fa-stamp:before{content:"\f5bf"}.fa-stairs:before{content:"\e289"}.fa-i:before{content:"\49"}.fa-hryvnia-sign:before,.fa-hryvnia:before{content:"\f6f2"}.fa-pills:before{content:"\f484"}.fa-face-grin-wide:before,.fa-grin-alt:before{content:"\f581"}.fa-tooth:before{content:"\f5c9"}.fa-v:before{content:"\56"}.fa-bangladeshi-taka-sign:before{content:"\e2e6"}.fa-bicycle:before{content:"\f206"}.fa-rod-asclepius:before,.fa-rod-snake:before,.fa-staff-aesculapius:before,.fa-staff-snake:before{content:"\e579"}.fa-head-side-cough-slash:before{content:"\e062"}.fa-ambulance:before,.fa-truck-medical:before{content:"\f0f9"}.fa-wheat-awn-circle-exclamation:before{content:"\e598"}.fa-snowman:before{content:"\f7d0"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-road-barrier:before{content:"\e562"}.fa-school:before{content:"\f549"}.fa-igloo:before{content:"\f7ae"}.fa-joint:before{content:"\f595"}.fa-angle-right:before{content:"\f105"}.fa-horse:before{content:"\f6f0"}.fa-q:before{content:"\51"}.fa-g:before{content:"\47"}.fa-notes-medical:before{content:"\f481"}.fa-temperature-2:before,.fa-temperature-half:before,.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-dong-sign:before{content:"\e169"}.fa-capsules:before{content:"\f46b"}.fa-poo-bolt:before,.fa-poo-storm:before{content:"\f75a"}.fa-face-frown-open:before,.fa-frown-open:before{content:"\f57a"}.fa-hand-point-up:before{content:"\f0a6"}.fa-money-bill:before{content:"\f0d6"}.fa-bookmark:before{content:"\f02e"}.fa-align-justify:before{content:"\f039"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-helmet-un:before{content:"\e503"}.fa-bullseye:before{content:"\f140"}.fa-bacon:before{content:"\f7e5"}.fa-hand-point-down:before{content:"\f0a7"}.fa-arrow-up-from-bracket:before{content:"\e09a"}.fa-folder-blank:before,.fa-folder:before{content:"\f07b"}.fa-file-medical-alt:before,.fa-file-waveform:before{content:"\f478"}.fa-radiation:before{content:"\f7b9"}.fa-chart-simple:before{content:"\e473"}.fa-mars-stroke:before{content:"\f229"}.fa-vial:before{content:"\f492"}.fa-dashboard:before,.fa-gauge-med:before,.fa-gauge:before,.fa-tachometer-alt-average:before{content:"\f624"}.fa-magic-wand-sparkles:before,.fa-wand-magic-sparkles:before{content:"\e2ca"}.fa-e:before{content:"\45"}.fa-pen-alt:before,.fa-pen-clip:before{content:"\f305"}.fa-bridge-circle-exclamation:before{content:"\e4ca"}.fa-user:before{content:"\f007"}.fa-school-circle-check:before{content:"\e56b"}.fa-dumpster:before{content:"\f793"}.fa-shuttle-van:before,.fa-van-shuttle:before{content:"\f5b6"}.fa-building-user:before{content:"\e4da"}.fa-caret-square-left:before,.fa-square-caret-left:before{content:"\f191"}.fa-highlighter:before{content:"\f591"}.fa-key:before{content:"\f084"}.fa-bullhorn:before{content:"\f0a1"}.fa-globe:before{content:"\f0ac"}.fa-synagogue:before{content:"\f69b"}.fa-person-half-dress:before{content:"\e548"}.fa-road-bridge:before{content:"\e563"}.fa-location-arrow:before{content:"\f124"}.fa-c:before{content:"\43"}.fa-tablet-button:before{content:"\f10a"}.fa-building-lock:before{content:"\e4d6"}.fa-pizza-slice:before{content:"\f818"}.fa-money-bill-wave:before{content:"\f53a"}.fa-area-chart:before,.fa-chart-area:before{content:"\f1fe"}.fa-house-flag:before{content:"\e50d"}.fa-person-circle-minus:before{content:"\e540"}.fa-ban:before,.fa-cancel:before{content:"\f05e"}.fa-camera-rotate:before{content:"\e0d8"}.fa-air-freshener:before,.fa-spray-can-sparkles:before{content:"\f5d0"}.fa-star:before{content:"\f005"}.fa-repeat:before{content:"\f363"}.fa-cross:before{content:"\f654"}.fa-box:before{content:"\f466"}.fa-venus-mars:before{content:"\f228"}.fa-arrow-pointer:before,.fa-mouse-pointer:before{content:"\f245"}.fa-expand-arrows-alt:before,.fa-maximize:before{content:"\f31e"}.fa-charging-station:before{content:"\f5e7"}.fa-shapes:before,.fa-triangle-circle-square:before{content:"\f61f"}.fa-random:before,.fa-shuffle:before{content:"\f074"}.fa-person-running:before,.fa-running:before{content:"\f70c"}.fa-mobile-retro:before{content:"\e527"}.fa-grip-lines-vertical:before{content:"\f7a5"}.fa-spider:before{content:"\f717"}.fa-hands-bound:before{content:"\e4f9"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-plane-circle-exclamation:before{content:"\e556"}.fa-x-ray:before{content:"\f497"}.fa-spell-check:before{content:"\f891"}.fa-slash:before{content:"\f715"}.fa-computer-mouse:before,.fa-mouse:before{content:"\f8cc"}.fa-arrow-right-to-bracket:before,.fa-sign-in:before{content:"\f090"}.fa-shop-slash:before,.fa-store-alt-slash:before{content:"\e070"}.fa-server:before{content:"\f233"}.fa-virus-covid-slash:before{content:"\e4a9"}.fa-shop-lock:before{content:"\e4a5"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-blender-phone:before{content:"\f6b6"}.fa-building-wheat:before{content:"\e4db"}.fa-person-breastfeeding:before{content:"\e53a"}.fa-right-to-bracket:before,.fa-sign-in-alt:before{content:"\f2f6"}.fa-venus:before{content:"\f221"}.fa-passport:before{content:"\f5ab"}.fa-heart-pulse:before,.fa-heartbeat:before{content:"\f21e"}.fa-people-carry-box:before,.fa-people-carry:before{content:"\f4ce"}.fa-temperature-high:before{content:"\f769"}.fa-microchip:before{content:"\f2db"}.fa-crown:before{content:"\f521"}.fa-weight-hanging:before{content:"\f5cd"}.fa-xmarks-lines:before{content:"\e59a"}.fa-file-prescription:before{content:"\f572"}.fa-weight-scale:before,.fa-weight:before{content:"\f496"}.fa-user-friends:before,.fa-user-group:before{content:"\f500"}.fa-arrow-up-a-z:before,.fa-sort-alpha-up:before{content:"\f15e"}.fa-chess-knight:before{content:"\f441"}.fa-face-laugh-squint:before,.fa-laugh-squint:before{content:"\f59b"}.fa-wheelchair:before{content:"\f193"}.fa-arrow-circle-up:before,.fa-circle-arrow-up:before{content:"\f0aa"}.fa-toggle-on:before{content:"\f205"}.fa-person-walking:before,.fa-walking:before{content:"\f554"}.fa-l:before{content:"\4c"}.fa-fire:before{content:"\f06d"}.fa-bed-pulse:before,.fa-procedures:before{content:"\f487"}.fa-shuttle-space:before,.fa-space-shuttle:before{content:"\f197"}.fa-face-laugh:before,.fa-laugh:before{content:"\f599"}.fa-folder-open:before{content:"\f07c"}.fa-heart-circle-plus:before{content:"\e500"}.fa-code-fork:before{content:"\e13b"}.fa-city:before{content:"\f64f"}.fa-microphone-alt:before,.fa-microphone-lines:before{content:"\f3c9"}.fa-pepper-hot:before{content:"\f816"}.fa-unlock:before{content:"\f09c"}.fa-colon-sign:before{content:"\e140"}.fa-headset:before{content:"\f590"}.fa-store-slash:before{content:"\e071"}.fa-road-circle-xmark:before{content:"\e566"}.fa-user-minus:before{content:"\f503"}.fa-mars-stroke-up:before,.fa-mars-stroke-v:before{content:"\f22a"}.fa-champagne-glasses:before,.fa-glass-cheers:before{content:"\f79f"}.fa-clipboard:before{content:"\f328"}.fa-house-circle-exclamation:before{content:"\e50a"}.fa-file-arrow-up:before,.fa-file-upload:before{content:"\f574"}.fa-wifi-3:before,.fa-wifi-strong:before,.fa-wifi:before{content:"\f1eb"}.fa-bath:before,.fa-bathtub:before{content:"\f2cd"}.fa-underline:before{content:"\f0cd"}.fa-user-edit:before,.fa-user-pen:before{content:"\f4ff"}.fa-signature:before{content:"\f5b7"}.fa-stroopwafel:before{content:"\f551"}.fa-bold:before{content:"\f032"}.fa-anchor-lock:before{content:"\e4ad"}.fa-building-ngo:before{content:"\e4d7"}.fa-manat-sign:before{content:"\e1d5"}.fa-not-equal:before{content:"\f53e"}.fa-border-style:before,.fa-border-top-left:before{content:"\f853"}.fa-map-location-dot:before,.fa-map-marked-alt:before{content:"\f5a0"}.fa-jedi:before{content:"\f669"}.fa-poll:before,.fa-square-poll-vertical:before{content:"\f681"}.fa-mug-hot:before{content:"\f7b6"}.fa-battery-car:before,.fa-car-battery:before{content:"\f5df"}.fa-gift:before{content:"\f06b"}.fa-dice-two:before{content:"\f528"}.fa-chess-queen:before{content:"\f445"}.fa-glasses:before{content:"\f530"}.fa-chess-board:before{content:"\f43c"}.fa-building-circle-check:before{content:"\e4d2"}.fa-person-chalkboard:before{content:"\e53d"}.fa-mars-stroke-h:before,.fa-mars-stroke-right:before{content:"\f22b"}.fa-hand-back-fist:before,.fa-hand-rock:before{content:"\f255"}.fa-caret-square-up:before,.fa-square-caret-up:before{content:"\f151"}.fa-cloud-showers-water:before{content:"\e4e4"}.fa-bar-chart:before,.fa-chart-bar:before{content:"\f080"}.fa-hands-bubbles:before,.fa-hands-wash:before{content:"\e05e"}.fa-less-than-equal:before{content:"\f537"}.fa-train:before{content:"\f238"}.fa-eye-low-vision:before,.fa-low-vision:before{content:"\f2a8"}.fa-crow:before{content:"\f520"}.fa-sailboat:before{content:"\e445"}.fa-window-restore:before{content:"\f2d2"}.fa-plus-square:before,.fa-square-plus:before{content:"\f0fe"}.fa-torii-gate:before{content:"\f6a1"}.fa-frog:before{content:"\f52e"}.fa-bucket:before{content:"\e4cf"}.fa-image:before{content:"\f03e"}.fa-microphone:before{content:"\f130"}.fa-cow:before{content:"\f6c8"}.fa-caret-up:before{content:"\f0d8"}.fa-screwdriver:before{content:"\f54a"}.fa-folder-closed:before{content:"\e185"}.fa-house-tsunami:before{content:"\e515"}.fa-square-nfi:before{content:"\e576"}.fa-arrow-up-from-ground-water:before{content:"\e4b5"}.fa-glass-martini-alt:before,.fa-martini-glass:before{content:"\f57b"}.fa-rotate-back:before,.fa-rotate-backward:before,.fa-rotate-left:before,.fa-undo-alt:before{content:"\f2ea"}.fa-columns:before,.fa-table-columns:before{content:"\f0db"}.fa-lemon:before{content:"\f094"}.fa-head-side-mask:before{content:"\e063"}.fa-handshake:before{content:"\f2b5"}.fa-gem:before{content:"\f3a5"}.fa-dolly-box:before,.fa-dolly:before{content:"\f472"}.fa-smoking:before{content:"\f48d"}.fa-compress-arrows-alt:before,.fa-minimize:before{content:"\f78c"}.fa-monument:before{content:"\f5a6"}.fa-snowplow:before{content:"\f7d2"}.fa-angle-double-right:before,.fa-angles-right:before{content:"\f101"}.fa-cannabis:before{content:"\f55f"}.fa-circle-play:before,.fa-play-circle:before{content:"\f144"}.fa-tablets:before{content:"\f490"}.fa-ethernet:before{content:"\f796"}.fa-eur:before,.fa-euro-sign:before,.fa-euro:before{content:"\f153"}.fa-chair:before{content:"\f6c0"}.fa-check-circle:before,.fa-circle-check:before{content:"\f058"}.fa-circle-stop:before,.fa-stop-circle:before{content:"\f28d"}.fa-compass-drafting:before,.fa-drafting-compass:before{content:"\f568"}.fa-plate-wheat:before{content:"\e55a"}.fa-icicles:before{content:"\f7ad"}.fa-person-shelter:before{content:"\e54f"}.fa-neuter:before{content:"\f22c"}.fa-id-badge:before{content:"\f2c1"}.fa-marker:before{content:"\f5a1"}.fa-face-laugh-beam:before,.fa-laugh-beam:before{content:"\f59a"}.fa-helicopter-symbol:before{content:"\e502"}.fa-universal-access:before{content:"\f29a"}.fa-chevron-circle-up:before,.fa-circle-chevron-up:before{content:"\f139"}.fa-lari-sign:before{content:"\e1c8"}.fa-volcano:before{content:"\f770"}.fa-person-walking-dashed-line-arrow-right:before{content:"\e553"}.fa-gbp:before,.fa-pound-sign:before,.fa-sterling-sign:before{content:"\f154"}.fa-viruses:before{content:"\e076"}.fa-square-person-confined:before{content:"\e577"}.fa-user-tie:before{content:"\f508"}.fa-arrow-down-long:before,.fa-long-arrow-down:before{content:"\f175"}.fa-tent-arrow-down-to-line:before{content:"\e57e"}.fa-certificate:before{content:"\f0a3"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-suitcase:before{content:"\f0f2"}.fa-person-skating:before,.fa-skating:before{content:"\f7c5"}.fa-filter-circle-dollar:before,.fa-funnel-dollar:before{content:"\f662"}.fa-camera-retro:before{content:"\f083"}.fa-arrow-circle-down:before,.fa-circle-arrow-down:before{content:"\f0ab"}.fa-arrow-right-to-file:before,.fa-file-import:before{content:"\f56f"}.fa-external-link-square:before,.fa-square-arrow-up-right:before{content:"\f14c"}.fa-box-open:before{content:"\f49e"}.fa-scroll:before{content:"\f70e"}.fa-spa:before{content:"\f5bb"}.fa-location-pin-lock:before{content:"\e51f"}.fa-pause:before{content:"\f04c"}.fa-hill-avalanche:before{content:"\e507"}.fa-temperature-0:before,.fa-temperature-empty:before,.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-bomb:before{content:"\f1e2"}.fa-registered:before{content:"\f25d"}.fa-address-card:before,.fa-contact-card:before,.fa-vcard:before{content:"\f2bb"}.fa-balance-scale-right:before,.fa-scale-unbalanced-flip:before{content:"\f516"}.fa-subscript:before{content:"\f12c"}.fa-diamond-turn-right:before,.fa-directions:before{content:"\f5eb"}.fa-burst:before{content:"\e4dc"}.fa-house-laptop:before,.fa-laptop-house:before{content:"\e066"}.fa-face-tired:before,.fa-tired:before{content:"\f5c8"}.fa-money-bills:before{content:"\e1f3"}.fa-smog:before{content:"\f75f"}.fa-crutch:before{content:"\f7f7"}.fa-cloud-arrow-up:before,.fa-cloud-upload-alt:before,.fa-cloud-upload:before{content:"\f0ee"}.fa-palette:before{content:"\f53f"}.fa-arrows-turn-right:before{content:"\e4c0"}.fa-vest:before{content:"\e085"}.fa-ferry:before{content:"\e4ea"}.fa-arrows-down-to-people:before{content:"\e4b9"}.fa-seedling:before,.fa-sprout:before{content:"\f4d8"}.fa-arrows-alt-h:before,.fa-left-right:before{content:"\f337"}.fa-boxes-packing:before{content:"\e4c7"}.fa-arrow-circle-left:before,.fa-circle-arrow-left:before{content:"\f0a8"}.fa-group-arrows-rotate:before{content:"\e4f6"}.fa-bowl-food:before{content:"\e4c6"}.fa-candy-cane:before{content:"\f786"}.fa-arrow-down-wide-short:before,.fa-sort-amount-asc:before,.fa-sort-amount-down:before{content:"\f160"}.fa-cloud-bolt:before,.fa-thunderstorm:before{content:"\f76c"}.fa-remove-format:before,.fa-text-slash:before{content:"\f87d"}.fa-face-smile-wink:before,.fa-smile-wink:before{content:"\f4da"}.fa-file-word:before{content:"\f1c2"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-arrows-h:before,.fa-arrows-left-right:before{content:"\f07e"}.fa-house-lock:before{content:"\e510"}.fa-cloud-arrow-down:before,.fa-cloud-download-alt:before,.fa-cloud-download:before{content:"\f0ed"}.fa-children:before{content:"\e4e1"}.fa-blackboard:before,.fa-chalkboard:before{content:"\f51b"}.fa-user-alt-slash:before,.fa-user-large-slash:before{content:"\f4fa"}.fa-envelope-open:before{content:"\f2b6"}.fa-handshake-alt-slash:before,.fa-handshake-simple-slash:before{content:"\e05f"}.fa-mattress-pillow:before{content:"\e525"}.fa-guarani-sign:before{content:"\e19a"}.fa-arrows-rotate:before,.fa-refresh:before,.fa-sync:before{content:"\f021"}.fa-fire-extinguisher:before{content:"\f134"}.fa-cruzeiro-sign:before{content:"\e152"}.fa-greater-than-equal:before{content:"\f532"}.fa-shield-alt:before,.fa-shield-halved:before{content:"\f3ed"}.fa-atlas:before,.fa-book-atlas:before{content:"\f558"}.fa-virus:before{content:"\e074"}.fa-envelope-circle-check:before{content:"\e4e8"}.fa-layer-group:before{content:"\f5fd"}.fa-arrows-to-dot:before{content:"\e4be"}.fa-archway:before{content:"\f557"}.fa-heart-circle-check:before{content:"\e4fd"}.fa-house-chimney-crack:before,.fa-house-damage:before{content:"\f6f1"}.fa-file-archive:before,.fa-file-zipper:before{content:"\f1c6"}.fa-square:before{content:"\f0c8"}.fa-glass-martini:before,.fa-martini-glass-empty:before{content:"\f000"}.fa-couch:before{content:"\f4b8"}.fa-cedi-sign:before{content:"\e0df"}.fa-italic:before{content:"\f033"}.fa-church:before{content:"\f51d"}.fa-comments-dollar:before{content:"\f653"}.fa-democrat:before{content:"\f747"}.fa-z:before{content:"\5a"}.fa-person-skiing:before,.fa-skiing:before{content:"\f7c9"}.fa-road-lock:before{content:"\e567"}.fa-a:before{content:"\41"}.fa-temperature-arrow-down:before,.fa-temperature-down:before{content:"\e03f"}.fa-feather-alt:before,.fa-feather-pointed:before{content:"\f56b"}.fa-p:before{content:"\50"}.fa-snowflake:before{content:"\f2dc"}.fa-newspaper:before{content:"\f1ea"}.fa-ad:before,.fa-rectangle-ad:before{content:"\f641"}.fa-arrow-circle-right:before,.fa-circle-arrow-right:before{content:"\f0a9"}.fa-filter-circle-xmark:before{content:"\e17b"}.fa-locust:before{content:"\e520"}.fa-sort:before,.fa-unsorted:before{content:"\f0dc"}.fa-list-1-2:before,.fa-list-numeric:before,.fa-list-ol:before{content:"\f0cb"}.fa-person-dress-burst:before{content:"\e544"}.fa-money-check-alt:before,.fa-money-check-dollar:before{content:"\f53d"}.fa-vector-square:before{content:"\f5cb"}.fa-bread-slice:before{content:"\f7ec"}.fa-language:before{content:"\f1ab"}.fa-face-kiss-wink-heart:before,.fa-kiss-wink-heart:before{content:"\f598"}.fa-filter:before{content:"\f0b0"}.fa-question:before{content:"\3f"}.fa-file-signature:before{content:"\f573"}.fa-arrows-alt:before,.fa-up-down-left-right:before{content:"\f0b2"}.fa-house-chimney-user:before{content:"\e065"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-puzzle-piece:before{content:"\f12e"}.fa-money-check:before{content:"\f53c"}.fa-star-half-alt:before,.fa-star-half-stroke:before{content:"\f5c0"}.fa-code:before{content:"\f121"}.fa-glass-whiskey:before,.fa-whiskey-glass:before{content:"\f7a0"}.fa-building-circle-exclamation:before{content:"\e4d3"}.fa-magnifying-glass-chart:before{content:"\e522"}.fa-arrow-up-right-from-square:before,.fa-external-link:before{content:"\f08e"}.fa-cubes-stacked:before{content:"\e4e6"}.fa-krw:before,.fa-won-sign:before,.fa-won:before{content:"\f159"}.fa-virus-covid:before{content:"\e4a8"}.fa-austral-sign:before{content:"\e0a9"}.fa-f:before{content:"\46"}.fa-leaf:before{content:"\f06c"}.fa-road:before{content:"\f018"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-person-circle-plus:before{content:"\e541"}.fa-chart-pie:before,.fa-pie-chart:before{content:"\f200"}.fa-bolt-lightning:before{content:"\e0b7"}.fa-sack-xmark:before{content:"\e56a"}.fa-file-excel:before{content:"\f1c3"}.fa-file-contract:before{content:"\f56c"}.fa-fish-fins:before{content:"\e4f2"}.fa-building-flag:before{content:"\e4d5"}.fa-face-grin-beam:before,.fa-grin-beam:before{content:"\f582"}.fa-object-ungroup:before{content:"\f248"}.fa-poop:before{content:"\f619"}.fa-location-pin:before,.fa-map-marker:before{content:"\f041"}.fa-kaaba:before{content:"\f66b"}.fa-toilet-paper:before{content:"\f71e"}.fa-hard-hat:before,.fa-hat-hard:before,.fa-helmet-safety:before{content:"\f807"}.fa-eject:before{content:"\f052"}.fa-arrow-alt-circle-right:before,.fa-circle-right:before{content:"\f35a"}.fa-plane-circle-check:before{content:"\e555"}.fa-face-rolling-eyes:before,.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-object-group:before{content:"\f247"}.fa-chart-line:before,.fa-line-chart:before{content:"\f201"}.fa-mask-ventilator:before{content:"\e524"}.fa-arrow-right:before{content:"\f061"}.fa-map-signs:before,.fa-signs-post:before{content:"\f277"}.fa-cash-register:before{content:"\f788"}.fa-person-circle-question:before{content:"\e542"}.fa-h:before{content:"\48"}.fa-tarp:before{content:"\e57b"}.fa-screwdriver-wrench:before,.fa-tools:before{content:"\f7d9"}.fa-arrows-to-eye:before{content:"\e4bf"}.fa-plug-circle-bolt:before{content:"\e55b"}.fa-heart:before{content:"\f004"}.fa-mars-and-venus:before{content:"\f224"}.fa-home-user:before,.fa-house-user:before{content:"\e1b0"}.fa-dumpster-fire:before{content:"\f794"}.fa-house-crack:before{content:"\e3b1"}.fa-cocktail:before,.fa-martini-glass-citrus:before{content:"\f561"}.fa-face-surprise:before,.fa-surprise:before{content:"\f5c2"}.fa-bottle-water:before{content:"\e4c5"}.fa-circle-pause:before,.fa-pause-circle:before{content:"\f28b"}.fa-toilet-paper-slash:before{content:"\e072"}.fa-apple-alt:before,.fa-apple-whole:before{content:"\f5d1"}.fa-kitchen-set:before{content:"\e51a"}.fa-r:before{content:"\52"}.fa-temperature-1:before,.fa-temperature-quarter:before,.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-cube:before{content:"\f1b2"}.fa-bitcoin-sign:before{content:"\e0b4"}.fa-shield-dog:before{content:"\e573"}.fa-solar-panel:before{content:"\f5ba"}.fa-lock-open:before{content:"\f3c1"}.fa-elevator:before{content:"\e16d"}.fa-money-bill-transfer:before{content:"\e528"}.fa-money-bill-trend-up:before{content:"\e529"}.fa-house-flood-water-circle-arrow-right:before{content:"\e50f"}.fa-poll-h:before,.fa-square-poll-horizontal:before{content:"\f682"}.fa-circle:before{content:"\f111"}.fa-backward-fast:before,.fa-fast-backward:before{content:"\f049"}.fa-recycle:before{content:"\f1b8"}.fa-user-astronaut:before{content:"\f4fb"}.fa-plane-slash:before{content:"\e069"}.fa-trademark:before{content:"\f25c"}.fa-basketball-ball:before,.fa-basketball:before{content:"\f434"}.fa-satellite-dish:before{content:"\f7c0"}.fa-arrow-alt-circle-up:before,.fa-circle-up:before{content:"\f35b"}.fa-mobile-alt:before,.fa-mobile-screen-button:before{content:"\f3cd"}.fa-volume-high:before,.fa-volume-up:before{content:"\f028"}.fa-users-rays:before{content:"\e593"}.fa-wallet:before{content:"\f555"}.fa-clipboard-check:before{content:"\f46c"}.fa-file-audio:before{content:"\f1c7"}.fa-burger:before,.fa-hamburger:before{content:"\f805"}.fa-wrench:before{content:"\f0ad"}.fa-bugs:before{content:"\e4d0"}.fa-rupee-sign:before,.fa-rupee:before{content:"\f156"}.fa-file-image:before{content:"\f1c5"}.fa-circle-question:before,.fa-question-circle:before{content:"\f059"}.fa-plane-departure:before{content:"\f5b0"}.fa-handshake-slash:before{content:"\e060"}.fa-book-bookmark:before{content:"\e0bb"}.fa-code-branch:before{content:"\f126"}.fa-hat-cowboy:before{content:"\f8c0"}.fa-bridge:before{content:"\e4c8"}.fa-phone-alt:before,.fa-phone-flip:before{content:"\f879"}.fa-truck-front:before{content:"\e2b7"}.fa-cat:before{content:"\f6be"}.fa-anchor-circle-exclamation:before{content:"\e4ab"}.fa-truck-field:before{content:"\e58d"}.fa-route:before{content:"\f4d7"}.fa-clipboard-question:before{content:"\e4e3"}.fa-panorama:before{content:"\e209"}.fa-comment-medical:before{content:"\f7f5"}.fa-teeth-open:before{content:"\f62f"}.fa-file-circle-minus:before{content:"\e4ed"}.fa-tags:before{content:"\f02c"}.fa-wine-glass:before{content:"\f4e3"}.fa-fast-forward:before,.fa-forward-fast:before{content:"\f050"}.fa-face-meh-blank:before,.fa-meh-blank:before{content:"\f5a4"}.fa-parking:before,.fa-square-parking:before{content:"\f540"}.fa-house-signal:before{content:"\e012"}.fa-bars-progress:before,.fa-tasks-alt:before{content:"\f828"}.fa-faucet-drip:before{content:"\e006"}.fa-cart-flatbed:before,.fa-dolly-flatbed:before{content:"\f474"}.fa-ban-smoking:before,.fa-smoking-ban:before{content:"\f54d"}.fa-terminal:before{content:"\f120"}.fa-mobile-button:before{content:"\f10b"}.fa-house-medical-flag:before{content:"\e514"}.fa-basket-shopping:before,.fa-shopping-basket:before{content:"\f291"}.fa-tape:before{content:"\f4db"}.fa-bus-alt:before,.fa-bus-simple:before{content:"\f55e"}.fa-eye:before{content:"\f06e"}.fa-face-sad-cry:before,.fa-sad-cry:before{content:"\f5b3"}.fa-audio-description:before{content:"\f29e"}.fa-person-military-to-person:before{content:"\e54c"}.fa-file-shield:before{content:"\e4f0"}.fa-user-slash:before{content:"\f506"}.fa-pen:before{content:"\f304"}.fa-tower-observation:before{content:"\e586"}.fa-file-code:before{content:"\f1c9"}.fa-signal-5:before,.fa-signal-perfect:before,.fa-signal:before{content:"\f012"}.fa-bus:before{content:"\f207"}.fa-heart-circle-xmark:before{content:"\e501"}.fa-home-lg:before,.fa-house-chimney:before{content:"\e3af"}.fa-window-maximize:before{content:"\f2d0"}.fa-face-frown:before,.fa-frown:before{content:"\f119"}.fa-prescription:before{content:"\f5b1"}.fa-shop:before,.fa-store-alt:before{content:"\f54f"}.fa-floppy-disk:before,.fa-save:before{content:"\f0c7"}.fa-vihara:before{content:"\f6a7"}.fa-balance-scale-left:before,.fa-scale-unbalanced:before{content:"\f515"}.fa-sort-asc:before,.fa-sort-up:before{content:"\f0de"}.fa-comment-dots:before,.fa-commenting:before{content:"\f4ad"}.fa-plant-wilt:before{content:"\e5aa"}.fa-diamond:before{content:"\f219"}.fa-face-grin-squint:before,.fa-grin-squint:before{content:"\f585"}.fa-hand-holding-dollar:before,.fa-hand-holding-usd:before{content:"\f4c0"}.fa-bacterium:before{content:"\e05a"}.fa-hand-pointer:before{content:"\f25a"}.fa-drum-steelpan:before{content:"\f56a"}.fa-hand-scissors:before{content:"\f257"}.fa-hands-praying:before,.fa-praying-hands:before{content:"\f684"}.fa-arrow-right-rotate:before,.fa-arrow-rotate-forward:before,.fa-arrow-rotate-right:before,.fa-redo:before{content:"\f01e"}.fa-biohazard:before{content:"\f780"}.fa-location-crosshairs:before,.fa-location:before{content:"\f601"}.fa-mars-double:before{content:"\f227"}.fa-child-dress:before{content:"\e59c"}.fa-users-between-lines:before{content:"\e591"}.fa-lungs-virus:before{content:"\e067"}.fa-face-grin-tears:before,.fa-grin-tears:before{content:"\f588"}.fa-phone:before{content:"\f095"}.fa-calendar-times:before,.fa-calendar-xmark:before{content:"\f273"}.fa-child-reaching:before{content:"\e59d"}.fa-head-side-virus:before{content:"\e064"}.fa-user-cog:before,.fa-user-gear:before{content:"\f4fe"}.fa-arrow-up-1-9:before,.fa-sort-numeric-up:before{content:"\f163"}.fa-door-closed:before{content:"\f52a"}.fa-shield-virus:before{content:"\e06c"}.fa-dice-six:before{content:"\f526"}.fa-mosquito-net:before{content:"\e52c"}.fa-bridge-water:before{content:"\e4ce"}.fa-person-booth:before{content:"\f756"}.fa-text-width:before{content:"\f035"}.fa-hat-wizard:before{content:"\f6e8"}.fa-pen-fancy:before{content:"\f5ac"}.fa-digging:before,.fa-person-digging:before{content:"\f85e"}.fa-trash:before{content:"\f1f8"}.fa-gauge-simple-med:before,.fa-gauge-simple:before,.fa-tachometer-average:before{content:"\f629"}.fa-book-medical:before{content:"\f7e6"}.fa-poo:before{content:"\f2fe"}.fa-quote-right-alt:before,.fa-quote-right:before{content:"\f10e"}.fa-shirt:before,.fa-t-shirt:before,.fa-tshirt:before{content:"\f553"}.fa-cubes:before{content:"\f1b3"}.fa-divide:before{content:"\f529"}.fa-tenge-sign:before,.fa-tenge:before{content:"\f7d7"}.fa-headphones:before{content:"\f025"}.fa-hands-holding:before{content:"\f4c2"}.fa-hands-clapping:before{content:"\e1a8"}.fa-republican:before{content:"\f75e"}.fa-arrow-left:before{content:"\f060"}.fa-person-circle-xmark:before{content:"\e543"}.fa-ruler:before{content:"\f545"}.fa-align-left:before{content:"\f036"}.fa-dice-d6:before{content:"\f6d1"}.fa-restroom:before{content:"\f7bd"}.fa-j:before{content:"\4a"}.fa-users-viewfinder:before{content:"\e595"}.fa-file-video:before{content:"\f1c8"}.fa-external-link-alt:before,.fa-up-right-from-square:before{content:"\f35d"}.fa-table-cells:before,.fa-th:before{content:"\f00a"}.fa-file-pdf:before{content:"\f1c1"}.fa-bible:before,.fa-book-bible:before{content:"\f647"}.fa-o:before{content:"\4f"}.fa-medkit:before,.fa-suitcase-medical:before{content:"\f0fa"}.fa-user-secret:before{content:"\f21b"}.fa-otter:before{content:"\f700"}.fa-female:before,.fa-person-dress:before{content:"\f182"}.fa-comment-dollar:before{content:"\f651"}.fa-briefcase-clock:before,.fa-business-time:before{content:"\f64a"}.fa-table-cells-large:before,.fa-th-large:before{content:"\f009"}.fa-book-tanakh:before,.fa-tanakh:before{content:"\f827"}.fa-phone-volume:before,.fa-volume-control-phone:before{content:"\f2a0"}.fa-hat-cowboy-side:before{content:"\f8c1"}.fa-clipboard-user:before{content:"\f7f3"}.fa-child:before{content:"\f1ae"}.fa-lira-sign:before{content:"\f195"}.fa-satellite:before{content:"\f7bf"}.fa-plane-lock:before{content:"\e558"}.fa-tag:before{content:"\f02b"}.fa-comment:before{content:"\f075"}.fa-birthday-cake:before,.fa-cake-candles:before,.fa-cake:before{content:"\f1fd"}.fa-envelope:before{content:"\f0e0"}.fa-angle-double-up:before,.fa-angles-up:before{content:"\f102"}.fa-paperclip:before{content:"\f0c6"}.fa-arrow-right-to-city:before{content:"\e4b3"}.fa-ribbon:before{content:"\f4d6"}.fa-lungs:before{content:"\f604"}.fa-arrow-up-9-1:before,.fa-sort-numeric-up-alt:before{content:"\f887"}.fa-litecoin-sign:before{content:"\e1d3"}.fa-border-none:before{content:"\f850"}.fa-circle-nodes:before{content:"\e4e2"}.fa-parachute-box:before{content:"\f4cd"}.fa-indent:before{content:"\f03c"}.fa-truck-field-un:before{content:"\e58e"}.fa-hourglass-empty:before,.fa-hourglass:before{content:"\f254"}.fa-mountain:before{content:"\f6fc"}.fa-user-doctor:before,.fa-user-md:before{content:"\f0f0"}.fa-circle-info:before,.fa-info-circle:before{content:"\f05a"}.fa-cloud-meatball:before{content:"\f73b"}.fa-camera-alt:before,.fa-camera:before{content:"\f030"}.fa-square-virus:before{content:"\e578"}.fa-meteor:before{content:"\f753"}.fa-car-on:before{content:"\e4dd"}.fa-sleigh:before{content:"\f7cc"}.fa-arrow-down-1-9:before,.fa-sort-numeric-asc:before,.fa-sort-numeric-down:before{content:"\f162"}.fa-hand-holding-droplet:before,.fa-hand-holding-water:before{content:"\f4c1"}.fa-water:before{content:"\f773"}.fa-calendar-check:before{content:"\f274"}.fa-braille:before{content:"\f2a1"}.fa-prescription-bottle-alt:before,.fa-prescription-bottle-medical:before{content:"\f486"}.fa-landmark:before{content:"\f66f"}.fa-truck:before{content:"\f0d1"}.fa-crosshairs:before{content:"\f05b"}.fa-person-cane:before{content:"\e53c"}.fa-tent:before{content:"\e57d"}.fa-vest-patches:before{content:"\e086"}.fa-check-double:before{content:"\f560"}.fa-arrow-down-a-z:before,.fa-sort-alpha-asc:before,.fa-sort-alpha-down:before{content:"\f15d"}.fa-money-bill-wheat:before{content:"\e52a"}.fa-cookie:before{content:"\f563"}.fa-arrow-left-rotate:before,.fa-arrow-rotate-back:before,.fa-arrow-rotate-backward:before,.fa-arrow-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-hard-drive:before,.fa-hdd:before{content:"\f0a0"}.fa-face-grin-squint-tears:before,.fa-grin-squint-tears:before{content:"\f586"}.fa-dumbbell:before{content:"\f44b"}.fa-list-alt:before,.fa-rectangle-list:before{content:"\f022"}.fa-tarp-droplet:before{content:"\e57c"}.fa-house-medical-circle-check:before{content:"\e511"}.fa-person-skiing-nordic:before,.fa-skiing-nordic:before{content:"\f7ca"}.fa-calendar-plus:before{content:"\f271"}.fa-plane-arrival:before{content:"\f5af"}.fa-arrow-alt-circle-left:before,.fa-circle-left:before{content:"\f359"}.fa-subway:before,.fa-train-subway:before{content:"\f239"}.fa-chart-gantt:before{content:"\e0e4"}.fa-indian-rupee-sign:before,.fa-indian-rupee:before,.fa-inr:before{content:"\e1bc"}.fa-crop-alt:before,.fa-crop-simple:before{content:"\f565"}.fa-money-bill-1:before,.fa-money-bill-alt:before{content:"\f3d1"}.fa-left-long:before,.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-dna:before{content:"\f471"}.fa-virus-slash:before{content:"\e075"}.fa-minus:before,.fa-subtract:before{content:"\f068"}.fa-chess:before{content:"\f439"}.fa-arrow-left-long:before,.fa-long-arrow-left:before{content:"\f177"}.fa-plug-circle-check:before{content:"\e55c"}.fa-street-view:before{content:"\f21d"}.fa-franc-sign:before{content:"\e18f"}.fa-volume-off:before{content:"\f026"}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before,.fa-hands-american-sign-language-interpreting:before,.fa-hands-asl-interpreting:before{content:"\f2a3"}.fa-cog:before,.fa-gear:before{content:"\f013"}.fa-droplet-slash:before,.fa-tint-slash:before{content:"\f5c7"}.fa-mosque:before{content:"\f678"}.fa-mosquito:before{content:"\e52b"}.fa-star-of-david:before{content:"\f69a"}.fa-person-military-rifle:before{content:"\e54b"}.fa-cart-shopping:before,.fa-shopping-cart:before{content:"\f07a"}.fa-vials:before{content:"\f493"}.fa-plug-circle-plus:before{content:"\e55f"}.fa-place-of-worship:before{content:"\f67f"}.fa-grip-vertical:before{content:"\f58e"}.fa-arrow-turn-up:before,.fa-level-up:before{content:"\f148"}.fa-u:before{content:"\55"}.fa-square-root-alt:before,.fa-square-root-variable:before{content:"\f698"}.fa-clock-four:before,.fa-clock:before{content:"\f017"}.fa-backward-step:before,.fa-step-backward:before{content:"\f048"}.fa-pallet:before{content:"\f482"}.fa-faucet:before{content:"\e005"}.fa-baseball-bat-ball:before{content:"\f432"}.fa-s:before{content:"\53"}.fa-timeline:before{content:"\e29c"}.fa-keyboard:before{content:"\f11c"}.fa-caret-down:before{content:"\f0d7"}.fa-clinic-medical:before,.fa-house-chimney-medical:before{content:"\f7f2"}.fa-temperature-3:before,.fa-temperature-three-quarters:before,.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-mobile-android-alt:before,.fa-mobile-screen:before{content:"\f3cf"}.fa-plane-up:before{content:"\e22d"}.fa-piggy-bank:before{content:"\f4d3"}.fa-battery-3:before,.fa-battery-half:before{content:"\f242"}.fa-mountain-city:before{content:"\e52e"}.fa-coins:before{content:"\f51e"}.fa-khanda:before{content:"\f66d"}.fa-sliders-h:before,.fa-sliders:before{content:"\f1de"}.fa-folder-tree:before{content:"\f802"}.fa-network-wired:before{content:"\f6ff"}.fa-map-pin:before{content:"\f276"}.fa-hamsa:before{content:"\f665"}.fa-cent-sign:before{content:"\e3f5"}.fa-flask:before{content:"\f0c3"}.fa-person-pregnant:before{content:"\e31e"}.fa-wand-sparkles:before{content:"\f72b"}.fa-ellipsis-v:before,.fa-ellipsis-vertical:before{content:"\f142"}.fa-ticket:before{content:"\f145"}.fa-power-off:before{content:"\f011"}.fa-long-arrow-alt-right:before,.fa-right-long:before{content:"\f30b"}.fa-flag-usa:before{content:"\f74d"}.fa-laptop-file:before{content:"\e51d"}.fa-teletype:before,.fa-tty:before{content:"\f1e4"}.fa-diagram-next:before{content:"\e476"}.fa-person-rifle:before{content:"\e54e"}.fa-house-medical-circle-exclamation:before{content:"\e512"}.fa-closed-captioning:before{content:"\f20a"}.fa-hiking:before,.fa-person-hiking:before{content:"\f6ec"}.fa-venus-double:before{content:"\f226"}.fa-images:before{content:"\f302"}.fa-calculator:before{content:"\f1ec"}.fa-people-pulling:before{content:"\e535"}.fa-n:before{content:"\4e"}.fa-cable-car:before,.fa-tram:before{content:"\f7da"}.fa-cloud-rain:before{content:"\f73d"}.fa-building-circle-xmark:before{content:"\e4d4"}.fa-ship:before{content:"\f21a"}.fa-arrows-down-to-line:before{content:"\e4b8"}.fa-download:before{content:"\f019"}.fa-face-grin:before,.fa-grin:before{content:"\f580"}.fa-backspace:before,.fa-delete-left:before{content:"\f55a"}.fa-eye-dropper-empty:before,.fa-eye-dropper:before,.fa-eyedropper:before{content:"\f1fb"}.fa-file-circle-check:before{content:"\e5a0"}.fa-forward:before{content:"\f04e"}.fa-mobile-android:before,.fa-mobile-phone:before,.fa-mobile:before{content:"\f3ce"}.fa-face-meh:before,.fa-meh:before{content:"\f11a"}.fa-align-center:before{content:"\f037"}.fa-book-dead:before,.fa-book-skull:before{content:"\f6b7"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-heart-circle-exclamation:before{content:"\e4fe"}.fa-home-alt:before,.fa-home-lg-alt:before,.fa-home:before,.fa-house:before{content:"\f015"}.fa-calendar-week:before{content:"\f784"}.fa-laptop-medical:before{content:"\f812"}.fa-b:before{content:"\42"}.fa-file-medical:before{content:"\f477"}.fa-dice-one:before{content:"\f525"}.fa-kiwi-bird:before{content:"\f535"}.fa-arrow-right-arrow-left:before,.fa-exchange:before{content:"\f0ec"}.fa-redo-alt:before,.fa-rotate-forward:before,.fa-rotate-right:before{content:"\f2f9"}.fa-cutlery:before,.fa-utensils:before{content:"\f2e7"}.fa-arrow-up-wide-short:before,.fa-sort-amount-up:before{content:"\f161"}.fa-mill-sign:before{content:"\e1ed"}.fa-bowl-rice:before{content:"\e2eb"}.fa-skull:before{content:"\f54c"}.fa-broadcast-tower:before,.fa-tower-broadcast:before{content:"\f519"}.fa-truck-pickup:before{content:"\f63c"}.fa-long-arrow-alt-up:before,.fa-up-long:before{content:"\f30c"}.fa-stop:before{content:"\f04d"}.fa-code-merge:before{content:"\f387"}.fa-upload:before{content:"\f093"}.fa-hurricane:before{content:"\f751"}.fa-mound:before{content:"\e52d"}.fa-toilet-portable:before{content:"\e583"}.fa-compact-disc:before{content:"\f51f"}.fa-file-arrow-down:before,.fa-file-download:before{content:"\f56d"}.fa-caravan:before{content:"\f8ff"}.fa-shield-cat:before{content:"\e572"}.fa-bolt:before,.fa-zap:before{content:"\f0e7"}.fa-glass-water:before{content:"\e4f4"}.fa-oil-well:before{content:"\e532"}.fa-vault:before{content:"\e2c5"}.fa-mars:before{content:"\f222"}.fa-toilet:before{content:"\f7d8"}.fa-plane-circle-xmark:before{content:"\e557"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen-sign:before,.fa-yen:before{content:"\f157"}.fa-rouble:before,.fa-rub:before,.fa-ruble-sign:before,.fa-ruble:before{content:"\f158"}.fa-sun:before{content:"\f185"}.fa-guitar:before{content:"\f7a6"}.fa-face-laugh-wink:before,.fa-laugh-wink:before{content:"\f59c"}.fa-horse-head:before{content:"\f7ab"}.fa-bore-hole:before{content:"\e4c3"}.fa-industry:before{content:"\f275"}.fa-arrow-alt-circle-down:before,.fa-circle-down:before{content:"\f358"}.fa-arrows-turn-to-dots:before{content:"\e4c1"}.fa-florin-sign:before{content:"\e184"}.fa-arrow-down-short-wide:before,.fa-sort-amount-desc:before,.fa-sort-amount-down-alt:before{content:"\f884"}.fa-less-than:before{content:"\3c"}.fa-angle-down:before{content:"\f107"}.fa-car-tunnel:before{content:"\e4de"}.fa-head-side-cough:before{content:"\e061"}.fa-grip-lines:before{content:"\f7a4"}.fa-thumbs-down:before{content:"\f165"}.fa-user-lock:before{content:"\f502"}.fa-arrow-right-long:before,.fa-long-arrow-right:before{content:"\f178"}.fa-anchor-circle-xmark:before{content:"\e4ac"}.fa-ellipsis-h:before,.fa-ellipsis:before{content:"\f141"}.fa-chess-pawn:before{content:"\f443"}.fa-first-aid:before,.fa-kit-medical:before{content:"\f479"}.fa-person-through-window:before{content:"\e5a9"}.fa-toolbox:before{content:"\f552"}.fa-hands-holding-circle:before{content:"\e4fb"}.fa-bug:before{content:"\f188"}.fa-credit-card-alt:before,.fa-credit-card:before{content:"\f09d"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-hand-holding-hand:before{content:"\e4f7"}.fa-book-open-reader:before,.fa-book-reader:before{content:"\f5da"}.fa-mountain-sun:before{content:"\e52f"}.fa-arrows-left-right-to-line:before{content:"\e4ba"}.fa-dice-d20:before{content:"\f6cf"}.fa-truck-droplet:before{content:"\e58c"}.fa-file-circle-xmark:before{content:"\e5a1"}.fa-temperature-arrow-up:before,.fa-temperature-up:before{content:"\e040"}.fa-medal:before{content:"\f5a2"}.fa-bed:before{content:"\f236"}.fa-h-square:before,.fa-square-h:before{content:"\f0fd"}.fa-podcast:before{content:"\f2ce"}.fa-temperature-4:before,.fa-temperature-full:before,.fa-thermometer-4:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-bell:before{content:"\f0f3"}.fa-superscript:before{content:"\f12b"}.fa-plug-circle-xmark:before{content:"\e560"}.fa-star-of-life:before{content:"\f621"}.fa-phone-slash:before{content:"\f3dd"}.fa-paint-roller:before{content:"\f5aa"}.fa-hands-helping:before,.fa-handshake-angle:before{content:"\f4c4"}.fa-location-dot:before,.fa-map-marker-alt:before{content:"\f3c5"}.fa-file:before{content:"\f15b"}.fa-greater-than:before{content:"\3e"}.fa-person-swimming:before,.fa-swimmer:before{content:"\f5c4"}.fa-arrow-down:before{content:"\f063"}.fa-droplet:before,.fa-tint:before{content:"\f043"}.fa-eraser:before{content:"\f12d"}.fa-earth-america:before,.fa-earth-americas:before,.fa-earth:before,.fa-globe-americas:before{content:"\f57d"}.fa-person-burst:before{content:"\e53b"}.fa-dove:before{content:"\f4ba"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-socks:before{content:"\f696"}.fa-inbox:before{content:"\f01c"}.fa-section:before{content:"\e447"}.fa-gauge-high:before,.fa-tachometer-alt-fast:before,.fa-tachometer-alt:before{content:"\f625"}.fa-envelope-open-text:before{content:"\f658"}.fa-hospital-alt:before,.fa-hospital-wide:before,.fa-hospital:before{content:"\f0f8"}.fa-wine-bottle:before{content:"\f72f"}.fa-chess-rook:before{content:"\f447"}.fa-bars-staggered:before,.fa-reorder:before,.fa-stream:before{content:"\f550"}.fa-dharmachakra:before{content:"\f655"}.fa-hotdog:before{content:"\f80f"}.fa-blind:before,.fa-person-walking-with-cane:before{content:"\f29d"}.fa-drum:before{content:"\f569"}.fa-ice-cream:before{content:"\f810"}.fa-heart-circle-bolt:before{content:"\e4fc"}.fa-fax:before{content:"\f1ac"}.fa-paragraph:before{content:"\f1dd"}.fa-check-to-slot:before,.fa-vote-yea:before{content:"\f772"}.fa-star-half:before{content:"\f089"}.fa-boxes-alt:before,.fa-boxes-stacked:before,.fa-boxes:before{content:"\f468"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-assistive-listening-systems:before,.fa-ear-listen:before{content:"\f2a2"}.fa-tree-city:before{content:"\e587"}.fa-play:before{content:"\f04b"}.fa-font:before{content:"\f031"}.fa-rupiah-sign:before{content:"\e23d"}.fa-magnifying-glass:before,.fa-search:before{content:"\f002"}.fa-ping-pong-paddle-ball:before,.fa-table-tennis-paddle-ball:before,.fa-table-tennis:before{content:"\f45d"}.fa-diagnoses:before,.fa-person-dots-from-line:before{content:"\f470"}.fa-trash-can-arrow-up:before,.fa-trash-restore-alt:before{content:"\f82a"}.fa-naira-sign:before{content:"\e1f6"}.fa-cart-arrow-down:before{content:"\f218"}.fa-walkie-talkie:before{content:"\f8ef"}.fa-file-edit:before,.fa-file-pen:before{content:"\f31c"}.fa-receipt:before{content:"\f543"}.fa-pen-square:before,.fa-pencil-square:before,.fa-square-pen:before{content:"\f14b"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-person-circle-exclamation:before{content:"\e53f"}.fa-chevron-down:before{content:"\f078"}.fa-battery-5:before,.fa-battery-full:before,.fa-battery:before{content:"\f240"}.fa-skull-crossbones:before{content:"\f714"}.fa-code-compare:before{content:"\e13a"}.fa-list-dots:before,.fa-list-ul:before{content:"\f0ca"}.fa-school-lock:before{content:"\e56f"}.fa-tower-cell:before{content:"\e585"}.fa-down-long:before,.fa-long-arrow-alt-down:before{content:"\f309"}.fa-ranking-star:before{content:"\e561"}.fa-chess-king:before{content:"\f43f"}.fa-person-harassing:before{content:"\e549"}.fa-brazilian-real-sign:before{content:"\e46c"}.fa-landmark-alt:before,.fa-landmark-dome:before{content:"\f752"}.fa-arrow-up:before{content:"\f062"}.fa-television:before,.fa-tv-alt:before,.fa-tv:before{content:"\f26c"}.fa-shrimp:before{content:"\e448"}.fa-list-check:before,.fa-tasks:before{content:"\f0ae"}.fa-jug-detergent:before{content:"\e519"}.fa-circle-user:before,.fa-user-circle:before{content:"\f2bd"}.fa-user-shield:before{content:"\f505"}.fa-wind:before{content:"\f72e"}.fa-car-burst:before,.fa-car-crash:before{content:"\f5e1"}.fa-y:before{content:"\59"}.fa-person-snowboarding:before,.fa-snowboarding:before{content:"\f7ce"}.fa-shipping-fast:before,.fa-truck-fast:before{content:"\f48b"}.fa-fish:before{content:"\f578"}.fa-user-graduate:before{content:"\f501"}.fa-adjust:before,.fa-circle-half-stroke:before{content:"\f042"}.fa-clapperboard:before{content:"\e131"}.fa-circle-radiation:before,.fa-radiation-alt:before{content:"\f7ba"}.fa-baseball-ball:before,.fa-baseball:before{content:"\f433"}.fa-jet-fighter-up:before{content:"\e518"}.fa-diagram-project:before,.fa-project-diagram:before{content:"\f542"}.fa-copy:before{content:"\f0c5"}.fa-volume-mute:before,.fa-volume-times:before,.fa-volume-xmark:before{content:"\f6a9"}.fa-hand-sparkles:before{content:"\e05d"}.fa-grip-horizontal:before,.fa-grip:before{content:"\f58d"}.fa-share-from-square:before,.fa-share-square:before{content:"\f14d"}.fa-child-combatant:before,.fa-child-rifle:before{content:"\e4e0"}.fa-gun:before{content:"\e19b"}.fa-phone-square:before,.fa-square-phone:before{content:"\f098"}.fa-add:before,.fa-plus:before{content:"\2b"}.fa-expand:before{content:"\f065"}.fa-computer:before{content:"\e4e5"}.fa-close:before,.fa-multiply:before,.fa-remove:before,.fa-times:before,.fa-xmark:before{content:"\f00d"}.fa-arrows-up-down-left-right:before,.fa-arrows:before{content:"\f047"}.fa-chalkboard-teacher:before,.fa-chalkboard-user:before{content:"\f51c"}.fa-peso-sign:before{content:"\e222"}.fa-building-shield:before{content:"\e4d8"}.fa-baby:before{content:"\f77c"}.fa-users-line:before{content:"\e592"}.fa-quote-left-alt:before,.fa-quote-left:before{content:"\f10d"}.fa-tractor:before{content:"\f722"}.fa-trash-arrow-up:before,.fa-trash-restore:before{content:"\f829"}.fa-arrow-down-up-lock:before{content:"\e4b0"}.fa-lines-leaning:before{content:"\e51e"}.fa-ruler-combined:before{content:"\f546"}.fa-copyright:before{content:"\f1f9"}.fa-equals:before{content:"\3d"}.fa-blender:before{content:"\f517"}.fa-teeth:before{content:"\f62e"}.fa-ils:before,.fa-shekel-sign:before,.fa-shekel:before,.fa-sheqel-sign:before,.fa-sheqel:before{content:"\f20b"}.fa-map:before{content:"\f279"}.fa-rocket:before{content:"\f135"}.fa-photo-film:before,.fa-photo-video:before{content:"\f87c"}.fa-folder-minus:before{content:"\f65d"}.fa-store:before{content:"\f54e"}.fa-arrow-trend-up:before{content:"\e098"}.fa-plug-circle-minus:before{content:"\e55e"}.fa-sign-hanging:before,.fa-sign:before{content:"\f4d9"}.fa-bezier-curve:before{content:"\f55b"}.fa-bell-slash:before{content:"\f1f6"}.fa-tablet-android:before,.fa-tablet:before{content:"\f3fb"}.fa-school-flag:before{content:"\e56e"}.fa-fill:before{content:"\f575"}.fa-angle-up:before{content:"\f106"}.fa-drumstick-bite:before{content:"\f6d7"}.fa-holly-berry:before{content:"\f7aa"}.fa-chevron-left:before{content:"\f053"}.fa-bacteria:before{content:"\e059"}.fa-hand-lizard:before{content:"\f258"}.fa-notdef:before{content:"\e1fe"}.fa-disease:before{content:"\f7fa"}.fa-briefcase-medical:before{content:"\f469"}.fa-genderless:before{content:"\f22d"}.fa-chevron-right:before{content:"\f054"}.fa-retweet:before{content:"\f079"}.fa-car-alt:before,.fa-car-rear:before{content:"\f5de"}.fa-pump-soap:before{content:"\e06b"}.fa-video-slash:before{content:"\f4e2"}.fa-battery-2:before,.fa-battery-quarter:before{content:"\f243"}.fa-radio:before{content:"\f8d7"}.fa-baby-carriage:before,.fa-carriage-baby:before{content:"\f77d"}.fa-traffic-light:before{content:"\f637"}.fa-thermometer:before{content:"\f491"}.fa-vr-cardboard:before{content:"\f729"}.fa-hand-middle-finger:before{content:"\f806"}.fa-percent:before,.fa-percentage:before{content:"\25"}.fa-truck-moving:before{content:"\f4df"}.fa-glass-water-droplet:before{content:"\e4f5"}.fa-display:before{content:"\e163"}.fa-face-smile:before,.fa-smile:before{content:"\f118"}.fa-thumb-tack:before,.fa-thumbtack:before{content:"\f08d"}.fa-trophy:before{content:"\f091"}.fa-person-praying:before,.fa-pray:before{content:"\f683"}.fa-hammer:before{content:"\f6e3"}.fa-hand-peace:before{content:"\f25b"}.fa-rotate:before,.fa-sync-alt:before{content:"\f2f1"}.fa-spinner:before{content:"\f110"}.fa-robot:before{content:"\f544"}.fa-peace:before{content:"\f67c"}.fa-cogs:before,.fa-gears:before{content:"\f085"}.fa-warehouse:before{content:"\f494"}.fa-arrow-up-right-dots:before{content:"\e4b7"}.fa-splotch:before{content:"\f5bc"}.fa-face-grin-hearts:before,.fa-grin-hearts:before{content:"\f584"}.fa-dice-four:before{content:"\f524"}.fa-sim-card:before{content:"\f7c4"}.fa-transgender-alt:before,.fa-transgender:before{content:"\f225"}.fa-mercury:before{content:"\f223"}.fa-arrow-turn-down:before,.fa-level-down:before{content:"\f149"}.fa-person-falling-burst:before{content:"\e547"}.fa-award:before{content:"\f559"}.fa-ticket-alt:before,.fa-ticket-simple:before{content:"\f3ff"}.fa-building:before{content:"\f1ad"}.fa-angle-double-left:before,.fa-angles-left:before{content:"\f100"}.fa-qrcode:before{content:"\f029"}.fa-clock-rotate-left:before,.fa-history:before{content:"\f1da"}.fa-face-grin-beam-sweat:before,.fa-grin-beam-sweat:before{content:"\f583"}.fa-arrow-right-from-file:before,.fa-file-export:before{content:"\f56e"}.fa-shield-blank:before,.fa-shield:before{content:"\f132"}.fa-arrow-up-short-wide:before,.fa-sort-amount-up-alt:before{content:"\f885"}.fa-house-medical:before{content:"\e3b2"}.fa-golf-ball-tee:before,.fa-golf-ball:before{content:"\f450"}.fa-chevron-circle-left:before,.fa-circle-chevron-left:before{content:"\f137"}.fa-house-chimney-window:before{content:"\e00d"}.fa-pen-nib:before{content:"\f5ad"}.fa-tent-arrow-turn-left:before{content:"\e580"}.fa-tents:before{content:"\e582"}.fa-magic:before,.fa-wand-magic:before{content:"\f0d0"}.fa-dog:before{content:"\f6d3"}.fa-carrot:before{content:"\f787"}.fa-moon:before{content:"\f186"}.fa-wine-glass-alt:before,.fa-wine-glass-empty:before{content:"\f5ce"}.fa-cheese:before{content:"\f7ef"}.fa-yin-yang:before{content:"\f6ad"}.fa-music:before{content:"\f001"}.fa-code-commit:before{content:"\f386"}.fa-temperature-low:before{content:"\f76b"}.fa-biking:before,.fa-person-biking:before{content:"\f84a"}.fa-broom:before{content:"\f51a"}.fa-shield-heart:before{content:"\e574"}.fa-gopuram:before{content:"\f664"}.fa-earth-oceania:before,.fa-globe-oceania:before{content:"\e47b"}.fa-square-xmark:before,.fa-times-square:before,.fa-xmark-square:before{content:"\f2d3"}.fa-hashtag:before{content:"\23"}.fa-expand-alt:before,.fa-up-right-and-down-left-from-center:before{content:"\f424"}.fa-oil-can:before{content:"\f613"}.fa-t:before{content:"\54"}.fa-hippo:before{content:"\f6ed"}.fa-chart-column:before{content:"\e0e3"}.fa-infinity:before{content:"\f534"}.fa-vial-circle-check:before{content:"\e596"}.fa-person-arrow-down-to-line:before{content:"\e538"}.fa-voicemail:before{content:"\f897"}.fa-fan:before{content:"\f863"}.fa-person-walking-luggage:before{content:"\e554"}.fa-arrows-alt-v:before,.fa-up-down:before{content:"\f338"}.fa-cloud-moon-rain:before{content:"\f73c"}.fa-calendar:before{content:"\f133"}.fa-trailer:before{content:"\e041"}.fa-bahai:before,.fa-haykal:before{content:"\f666"}.fa-sd-card:before{content:"\f7c2"}.fa-dragon:before{content:"\f6d5"}.fa-shoe-prints:before{content:"\f54b"}.fa-circle-plus:before,.fa-plus-circle:before{content:"\f055"}.fa-face-grin-tongue-wink:before,.fa-grin-tongue-wink:before{content:"\f58b"}.fa-hand-holding:before{content:"\f4bd"}.fa-plug-circle-exclamation:before{content:"\e55d"}.fa-chain-broken:before,.fa-chain-slash:before,.fa-link-slash:before,.fa-unlink:before{content:"\f127"}.fa-clone:before{content:"\f24d"}.fa-person-walking-arrow-loop-left:before{content:"\e551"}.fa-arrow-up-z-a:before,.fa-sort-alpha-up-alt:before{content:"\f882"}.fa-fire-alt:before,.fa-fire-flame-curved:before{content:"\f7e4"}.fa-tornado:before{content:"\f76f"}.fa-file-circle-plus:before{content:"\e494"}.fa-book-quran:before,.fa-quran:before{content:"\f687"}.fa-anchor:before{content:"\f13d"}.fa-border-all:before{content:"\f84c"}.fa-angry:before,.fa-face-angry:before{content:"\f556"}.fa-cookie-bite:before{content:"\f564"}.fa-arrow-trend-down:before{content:"\e097"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-draw-polygon:before{content:"\f5ee"}.fa-balance-scale:before,.fa-scale-balanced:before{content:"\f24e"}.fa-gauge-simple-high:before,.fa-tachometer-fast:before,.fa-tachometer:before{content:"\f62a"}.fa-shower:before{content:"\f2cc"}.fa-desktop-alt:before,.fa-desktop:before{content:"\f390"}.fa-m:before{content:"\4d"}.fa-table-list:before,.fa-th-list:before{content:"\f00b"}.fa-comment-sms:before,.fa-sms:before{content:"\f7cd"}.fa-book:before{content:"\f02d"}.fa-user-plus:before{content:"\f234"}.fa-check:before{content:"\f00c"}.fa-battery-4:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-house-circle-check:before{content:"\e509"}.fa-angle-left:before{content:"\f104"}.fa-diagram-successor:before{content:"\e47a"}.fa-truck-arrow-right:before{content:"\e58b"}.fa-arrows-split-up-and-left:before{content:"\e4bc"}.fa-fist-raised:before,.fa-hand-fist:before{content:"\f6de"}.fa-cloud-moon:before{content:"\f6c3"}.fa-briefcase:before{content:"\f0b1"}.fa-person-falling:before{content:"\e546"}.fa-image-portrait:before,.fa-portrait:before{content:"\f3e0"}.fa-user-tag:before{content:"\f507"}.fa-rug:before{content:"\e569"}.fa-earth-europe:before,.fa-globe-europe:before{content:"\f7a2"}.fa-cart-flatbed-suitcase:before,.fa-luggage-cart:before{content:"\f59d"}.fa-rectangle-times:before,.fa-rectangle-xmark:before,.fa-times-rectangle:before,.fa-window-close:before{content:"\f410"}.fa-baht-sign:before{content:"\e0ac"}.fa-book-open:before{content:"\f518"}.fa-book-journal-whills:before,.fa-journal-whills:before{content:"\f66a"}.fa-handcuffs:before{content:"\e4f8"}.fa-exclamation-triangle:before,.fa-triangle-exclamation:before,.fa-warning:before{content:"\f071"}.fa-database:before{content:"\f1c0"}.fa-arrow-turn-right:before,.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-bottle-droplet:before{content:"\e4c4"}.fa-mask-face:before{content:"\e1d7"}.fa-hill-rockslide:before{content:"\e508"}.fa-exchange-alt:before,.fa-right-left:before{content:"\f362"}.fa-paper-plane:before{content:"\f1d8"}.fa-road-circle-exclamation:before{content:"\e565"}.fa-dungeon:before{content:"\f6d9"}.fa-align-right:before{content:"\f038"}.fa-money-bill-1-wave:before,.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-life-ring:before{content:"\f1cd"}.fa-hands:before,.fa-sign-language:before,.fa-signing:before{content:"\f2a7"}.fa-calendar-day:before{content:"\f783"}.fa-ladder-water:before,.fa-swimming-pool:before,.fa-water-ladder:before{content:"\f5c5"}.fa-arrows-up-down:before,.fa-arrows-v:before{content:"\f07d"}.fa-face-grimace:before,.fa-grimace:before{content:"\f57f"}.fa-wheelchair-alt:before,.fa-wheelchair-move:before{content:"\e2ce"}.fa-level-down-alt:before,.fa-turn-down:before{content:"\f3be"}.fa-person-walking-arrow-right:before{content:"\e552"}.fa-envelope-square:before,.fa-square-envelope:before{content:"\f199"}.fa-dice:before{content:"\f522"}.fa-bowling-ball:before{content:"\f436"}.fa-brain:before{content:"\f5dc"}.fa-band-aid:before,.fa-bandage:before{content:"\f462"}.fa-calendar-minus:before{content:"\f272"}.fa-circle-xmark:before,.fa-times-circle:before,.fa-xmark-circle:before{content:"\f057"}.fa-gifts:before{content:"\f79c"}.fa-hotel:before{content:"\f594"}.fa-earth-asia:before,.fa-globe-asia:before{content:"\f57e"}.fa-id-card-alt:before,.fa-id-card-clip:before{content:"\f47f"}.fa-magnifying-glass-plus:before,.fa-search-plus:before{content:"\f00e"}.fa-thumbs-up:before{content:"\f164"}.fa-user-clock:before{content:"\f4fd"}.fa-allergies:before,.fa-hand-dots:before{content:"\f461"}.fa-file-invoice:before{content:"\f570"}.fa-window-minimize:before{content:"\f2d1"}.fa-coffee:before,.fa-mug-saucer:before{content:"\f0f4"}.fa-brush:before{content:"\f55d"}.fa-mask:before{content:"\f6fa"}.fa-magnifying-glass-minus:before,.fa-search-minus:before{content:"\f010"}.fa-ruler-vertical:before{content:"\f548"}.fa-user-alt:before,.fa-user-large:before{content:"\f406"}.fa-train-tram:before{content:"\e5b4"}.fa-user-nurse:before{content:"\f82f"}.fa-syringe:before{content:"\f48e"}.fa-cloud-sun:before{content:"\f6c4"}.fa-stopwatch-20:before{content:"\e06f"}.fa-square-full:before{content:"\f45c"}.fa-magnet:before{content:"\f076"}.fa-jar:before{content:"\e516"}.fa-note-sticky:before,.fa-sticky-note:before{content:"\f249"}.fa-bug-slash:before{content:"\e490"}.fa-arrow-up-from-water-pump:before{content:"\e4b6"}.fa-bone:before{content:"\f5d7"}.fa-user-injured:before{content:"\f728"}.fa-face-sad-tear:before,.fa-sad-tear:before{content:"\f5b4"}.fa-plane:before{content:"\f072"}.fa-tent-arrows-down:before{content:"\e581"}.fa-exclamation:before{content:"\21"}.fa-arrows-spin:before{content:"\e4bb"}.fa-print:before{content:"\f02f"}.fa-try:before,.fa-turkish-lira-sign:before,.fa-turkish-lira:before{content:"\e2bb"}.fa-dollar-sign:before,.fa-dollar:before,.fa-usd:before{content:"\24"}.fa-x:before{content:"\58"}.fa-magnifying-glass-dollar:before,.fa-search-dollar:before{content:"\f688"}.fa-users-cog:before,.fa-users-gear:before{content:"\f509"}.fa-person-military-pointing:before{content:"\e54a"}.fa-bank:before,.fa-building-columns:before,.fa-institution:before,.fa-museum:before,.fa-university:before{content:"\f19c"}.fa-umbrella:before{content:"\f0e9"}.fa-trowel:before{content:"\e589"}.fa-d:before{content:"\44"}.fa-stapler:before{content:"\e5af"}.fa-masks-theater:before,.fa-theater-masks:before{content:"\f630"}.fa-kip-sign:before{content:"\e1c4"}.fa-hand-point-left:before{content:"\f0a5"}.fa-handshake-alt:before,.fa-handshake-simple:before{content:"\f4c6"}.fa-fighter-jet:before,.fa-jet-fighter:before{content:"\f0fb"}.fa-share-alt-square:before,.fa-square-share-nodes:before{content:"\f1e1"}.fa-barcode:before{content:"\f02a"}.fa-plus-minus:before{content:"\e43c"}.fa-video-camera:before,.fa-video:before{content:"\f03d"}.fa-graduation-cap:before,.fa-mortar-board:before{content:"\f19d"}.fa-hand-holding-medical:before{content:"\e05c"}.fa-person-circle-check:before{content:"\e53e"}.fa-level-up-alt:before,.fa-turn-up:before{content:"\f3bf"}
+.fa-sr-only,.fa-sr-only-focusable:not(:focus),.sr-only,.sr-only-focusable:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}
\ No newline at end of file
diff --git a/public/js/all.js b/public/js/all.js
index 7ca34276..e71c8f3a 100644
--- a/public/js/all.js
+++ b/public/js/all.js
@@ -19,16 +19,6 @@ eval("var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function _
/***/ }),
-/***/ "./public/vendors/ckeditor/ckeditor.js":
-/*!*********************************************!*\
- !*** ./public/vendors/ckeditor/ckeditor.js ***!
- \*********************************************/
-/***/ ((module, exports, __webpack_require__) => {
-
-eval("/* module decorator */ module = __webpack_require__.nmd(module);\nvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function _defineProperty(obj,key,value){key=_toPropertyKey(key);if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _regeneratorRuntime(){\"use strict\";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i=\"function\"==typeof Symbol?Symbol:{},a=i.iterator||\"@@iterator\",c=i.asyncIterator||\"@@asyncIterator\",u=i.toStringTag||\"@@toStringTag\";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},\"\");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,\"_invoke\",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:\"normal\",arg:t.call(e,r)};}catch(t){return{type:\"throw\",arg:t};}}e.wrap=wrap;var h=\"suspendedStart\",l=\"suspendedYield\",f=\"executing\",s=\"completed\",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){[\"next\",\"throw\",\"return\"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if(\"throw\"!==c.type){var u=c.arg,h=u.value;return h&&\"object\"==_typeof(h)&&n.call(h,\"__await\")?e.resolve(h.__await).then(function(t){invoke(\"next\",t,i,a);},function(t){invoke(\"throw\",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke(\"throw\",t,i,a);});}a(c.arg);}var r;o(this,\"_invoke\",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw new Error(\"Generator is already running\");if(o===s){if(\"throw\"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if(\"next\"===n.method)n.sent=n._sent=n.arg;else if(\"throw\"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else\"return\"===n.method&&n.abrupt(\"return\",n.arg);o=f;var p=tryCatch(e,r,n);if(\"normal\"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}\"throw\"===p.type&&(o=s,n.method=\"throw\",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,\"throw\"===n&&e.iterator[\"return\"]&&(r.method=\"return\",r.arg=t,maybeInvokeDelegate(e,r),\"throw\"===r.method)||\"return\"!==n&&(r.method=\"throw\",r.arg=new TypeError(\"The iterator does not provide a '\"+n+\"' method\")),y;var i=tryCatch(o,e.iterator,r.arg);if(\"throw\"===i.type)return r.method=\"throw\",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,\"return\"!==r.method&&(r.method=\"next\",r.arg=t),r.delegate=null,y):a:(r.method=\"throw\",r.arg=new TypeError(\"iterator result is not an object\"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type=\"normal\",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:\"root\"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||\"\"===e){var r=e[a];if(r)return r.call(e);if(\"function\"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o=0;--o){var i=this.tryEntries[o],a=i.completion;if(\"root\"===i.tryLoc)return handle(\"end\");if(i.tryLoc<=this.prev){var c=n.call(i,\"catchLoc\"),u=n.call(i,\"finallyLoc\");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,\"finallyLoc\")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},\"catch\":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if(\"throw\"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw new Error(\"illegal catch attempt\");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},\"next\"===this.method&&(this.arg=t),y;}},e;}function _get(){if(typeof Reflect!==\"undefined\"&&Reflect.get){_get=Reflect.get.bind();}else{_get=function _get(target,property,receiver){var base=_superPropBase(target,property);if(!base)return;var desc=Object.getOwnPropertyDescriptor(base,property);if(desc.get){return desc.get.call(arguments.length<3?target:receiver);}return desc.value;};}return _get.apply(this,arguments);}function _superPropBase(object,property){while(!Object.prototype.hasOwnProperty.call(object,property)){object=_getPrototypeOf(object);if(object===null)break;}return object;}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");}function _iterableToArray(iter){if(typeof Symbol!==\"undefined\"&&iter[Symbol.iterator]!=null||iter[\"@@iterator\"]!=null)return Array.from(iter);}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr);}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");}function _iterableToArrayLimit(r,l){var t=null==r?null:\"undefined\"!=typeof Symbol&&r[Symbol.iterator]||r[\"@@iterator\"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t[\"return\"]&&(u=t[\"return\"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr;}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol!==\"undefined\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length===\"number\"){if(it)o=it;var i=0;var F=function F(){};return{s:F,n:function n(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]};},e:function e(_e270){throw _e270;},f:F};}throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");}var normalCompletion=true,didErr=false,err;return{s:function s(){it=it.call(o);},n:function n(){var step=it.next();normalCompletion=step.done;return step;},e:function e(_e271){didErr=true;err=_e271;},f:function f(){try{if(!normalCompletion&&it[\"return\"]!=null)it[\"return\"]();}finally{if(didErr)throw err;}}};}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o===\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor)n=o.constructor.name;if(n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen);}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i=0&&c.splice(e,1);}function m(t){var e=document.createElement(\"style\");if(void 0===t.attrs.type&&(t.attrs.type=\"text/css\"),void 0===t.attrs.nonce){var i=function(){0;return n.nc;}();i&&(t.attrs.nonce=i);}return p(e,t.attrs),h(t,e),e;}function p(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n]);});}function g(t,e){var n,i,o,r;if(e.transform&&t.css){if(!(r=\"function\"==typeof e.transform?e.transform(t.css):e.transform[\"default\"](t.css)))return function(){};t.css=r;}if(e.singleton){var c=a++;n=s||(s=m(e)),i=w.bind(null,n,c,!1),o=w.bind(null,n,c,!0);}else t.sourceMap&&\"function\"==typeof URL&&\"function\"==typeof URL.createObjectURL&&\"function\"==typeof URL.revokeObjectURL&&\"function\"==typeof Blob&&\"function\"==typeof btoa?(n=function(t){var e=document.createElement(\"link\");return void 0===t.attrs.type&&(t.attrs.type=\"text/css\"),t.attrs.rel=\"stylesheet\",p(e,t.attrs),h(t,e),e;}(e),i=function(t,e,n){var i=n.css,o=n.sourceMap,r=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||r)&&(i=l(i));o&&(i+=\"\\n/*# sourceMappingURL=data:application/json;base64,\"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+\" */\");var s=new Blob([i],{type:\"text/css\"}),a=t.href;t.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a);}.bind(null,n,e),o=function o(){f(n),n.href&&URL.revokeObjectURL(n.href);}):(n=m(e),i=function(t,e){var n=e.css,i=e.media;i&&t.setAttribute(\"media\",i);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n));}}.bind(null,n),o=function o(){f(n);});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e);}else o();};}t.exports=function(t,e){if(\"undefined\"!=typeof DEBUG&&DEBUG&&\"object\"!=(typeof document===\"undefined\"?\"undefined\":_typeof(document)))throw new Error(\"The style-loader cannot be used in a non-browser environment\");(e=e||{}).attrs=\"object\"==_typeof(e.attrs)?e.attrs:{},e.singleton||\"boolean\"==typeof e.singleton||(e.singleton=o()),e.insertInto||(e.insertInto=\"head\"),e.insertAt||(e.insertAt=\"bottom\");var n=u(t,e);return d(n,e),function(t){for(var o=[],r=0;r';},function(t,e){t.exports='';},function(t,e,n){\"use strict\";(function(t){var n=\"object\"==_typeof(t)&&t&&t.Object===Object&&t;e.a=n;}).call(this,n(16));},function(t,e){t.exports='';},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,\"loaded\",{enumerable:!0,get:function get(){return e.l;}}),Object.defineProperty(e,\"id\",{enumerable:!0,get:function get(){return e.i;}}),Object.defineProperty(e,\"exports\",{enumerable:!0}),e.webpackPolyfill=1;}return e;};},function(t){t.exports={a:\"12.0.0\"};},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e){var n;n=function(){return this;}();try{n=n||Function(\"return this\")()||(0,eval)(\"this\");}catch(t){\"object\"==(typeof window===\"undefined\"?\"undefined\":_typeof(window))&&(n=window);}t.exports=n;},function(t,e,n){var i=n(94);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e,n){\"use strict\";e.a=function(){return!1;};},function(t,e,n){\"use strict\";(function(t){var i=n(4),o=\"object\"==( false?0:_typeof(exports))&&exports&&!exports.nodeType&&exports,r=o&&\"object\"==_typeof(t)&&t&&!t.nodeType&&t,s=r&&r.exports===o?i.a.Buffer:void 0,a=s?s.allocUnsafe:void 0;e.a=function(t,e){if(e)return t.slice();var n=t.length,i=a?a(n):new t.constructor(n);return t.copy(i),i;};}).call(this,n(11)(t));},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e){t.exports='\\n';},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e){t.exports='\\n';},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e){t.exports='';},function(t,e,n){\"use strict\";(function(t){var e=n(1),i=n(12);var o=\"object\"==(typeof window===\"undefined\"?\"undefined\":_typeof(window))?window:t;o.CKEDITOR_VERSION?e.a.error(\"ckeditor-version-collision: The global CKEDITOR_VERSION constant has already been set.\",{collidingVersion:o.CKEDITOR_VERSION,version:i.a}):o.CKEDITOR_VERSION=i.a;}).call(this,n(16));},function(t,e,n){var i=n(44);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck.ck-placeholder:before,.ck .ck-placeholder:before{content:attr(data-placeholder);pointer-events:none;cursor:text;color:var(--ck-color-engine-placeholder-text)}\";},function(t,e){t.exports=function(t){var e=\"undefined\"!=typeof window&&window.location;if(!e)throw new Error(\"fixUrls requires window.location\");if(!t||\"string\"!=typeof t)return t;var n=e.protocol+\"//\"+e.host,i=n+e.pathname.replace(/\\/[^\\/]*$/,\"/\");return t.replace(/url\\s*\\(((?:[^)(]|\\((?:[^)(]+|\\([^)(]*\\))*\\))*)\\)/gi,function(t,e){var o,r=e.trim().replace(/^\"(.*)\"$/,function(t,e){return e;}).replace(/^'(.*)'$/,function(t,e){return e;});return /^(#|data:|http:\\/\\/|https:\\/\\/|file:\\/\\/\\/|\\s*$)/i.test(r)?t:(o=0===r.indexOf(\"//\")?r:0===r.indexOf(\"/\")?n+r:i+r.replace(/^\\.\\//,\"\"),\"url(\"+JSON.stringify(o)+\")\");});};},function(t,e,n){var i=n(47);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck-hidden{display:none!important}.ck.ck-reset,.ck.ck-reset_all,.ck.ck-reset_all *{box-sizing:border-box;width:auto;height:auto;position:static}:root{--ck-z-default:1;--ck-z-modal:calc(var(--ck-z-default) + 999);--ck-color-base-foreground:#fafafa;--ck-color-base-background:#fff;--ck-color-base-border:#c4c4c4;--ck-color-base-action:#61b045;--ck-color-base-focus:#6cb5f9;--ck-color-base-text:#333;--ck-color-base-active:#198cf0;--ck-color-base-active-focus:#0e7fe1;--ck-color-base-error:#db3700;--ck-color-focus-border:#47a4f5;--ck-color-focus-shadow:rgba(119,186,248,0.5);--ck-color-focus-disabled-shadow:rgba(119,186,248,0.3);--ck-color-focus-error-shadow:rgba(255,64,31,0.3);--ck-color-text:var(--ck-color-base-text);--ck-color-shadow-drop:rgba(0,0,0,0.15);--ck-color-shadow-drop-active:rgba(0,0,0,0.2);--ck-color-shadow-inner:rgba(0,0,0,0.1);--ck-color-button-default-background:transparent;--ck-color-button-default-hover-background:#e6e6e6;--ck-color-button-default-active-background:#d9d9d9;--ck-color-button-default-active-shadow:#bfbfbf;--ck-color-button-default-disabled-background:transparent;--ck-color-button-on-background:#dedede;--ck-color-button-on-hover-background:#c4c4c4;--ck-color-button-on-active-background:#bababa;--ck-color-button-on-active-shadow:#a1a1a1;--ck-color-button-on-disabled-background:#dedede;--ck-color-button-action-background:var(--ck-color-base-action);--ck-color-button-action-hover-background:#579e3d;--ck-color-button-action-active-background:#53973b;--ck-color-button-action-active-shadow:#498433;--ck-color-button-action-disabled-background:#7ec365;--ck-color-button-action-text:var(--ck-color-base-background);--ck-color-button-save:#008a00;--ck-color-button-cancel:#db3700;--ck-color-switch-button-off-background:#b0b0b0;--ck-color-switch-button-on-background:var(--ck-color-button-action-background);--ck-color-switch-button-inner-background:var(--ck-color-base-background);--ck-color-dropdown-panel-background:var(--ck-color-base-background);--ck-color-dropdown-panel-border:var(--ck-color-base-border);--ck-color-input-background:var(--ck-color-base-background);--ck-color-input-border:#c7c7c7;--ck-color-input-error-border:var(--ck-color-base-error);--ck-color-input-text:var(--ck-color-base-text);--ck-color-input-disabled-background:#f2f2f2;--ck-color-input-disabled-border:#c7c7c7;--ck-color-input-disabled-text:#5c5c5c;--ck-color-list-background:var(--ck-color-base-background);--ck-color-list-button-hover-background:var(--ck-color-button-default-hover-background);--ck-color-list-button-on-background:var(--ck-color-base-active);--ck-color-list-button-on-background-focus:var(--ck-color-base-active-focus);--ck-color-list-button-on-text:var(--ck-color-base-background);--ck-color-panel-background:var(--ck-color-base-background);--ck-color-panel-border:var(--ck-color-base-border);--ck-color-toolbar-background:var(--ck-color-base-foreground);--ck-color-toolbar-border:var(--ck-color-base-border);--ck-color-tooltip-background:var(--ck-color-base-text);--ck-color-tooltip-text:var(--ck-color-base-background);--ck-color-engine-placeholder-text:#707070;--ck-color-upload-bar-background:#6cb5f9;--ck-color-upload-infinite-background:rgba(0,0,0,0.1);--ck-color-link-default:#0000f0;--ck-color-link-selected-background:rgba(31,177,255,0.1);--ck-disabled-opacity:.5;--ck-focus-outer-shadow-geometry:0 0 0 3px;--ck-focus-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-shadow);--ck-focus-disabled-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);--ck-focus-error-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);--ck-focus-ring:1px solid var(--ck-color-focus-border);--ck-font-size-base:13px;--ck-line-height-base:1.84615;--ck-font-face:Helvetica,Arial,Tahoma,Verdana,Sans-Serif;--ck-font-size-tiny:0.7em;--ck-font-size-small:0.75em;--ck-font-size-normal:1em;--ck-font-size-big:1.4em;--ck-font-size-large:1.8em;--ck-ui-component-min-height:2.3em}.ck.ck-reset,.ck.ck-reset_all,.ck.ck-reset_all *{margin:0;padding:0;border:0;background:transparent;text-decoration:none;vertical-align:middle;transition:none;word-wrap:break-word}.ck.ck-reset_all,.ck.ck-reset_all *{border-collapse:collapse;font:normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);color:var(--ck-color-text);text-align:left;white-space:nowrap;cursor:auto;float:none}.ck.ck-reset_all .ck-rtl *{text-align:right}.ck.ck-reset_all iframe{vertical-align:inherit}.ck.ck-reset_all textarea{white-space:pre-wrap}.ck.ck-reset_all input[type=password],.ck.ck-reset_all input[type=text],.ck.ck-reset_all textarea{cursor:text}.ck.ck-reset_all input[type=password][disabled],.ck.ck-reset_all input[type=text][disabled],.ck.ck-reset_all textarea[disabled]{cursor:default}.ck.ck-reset_all fieldset{padding:10px;border:2px groove #dfdee3}.ck.ck-reset_all button::-moz-focus-inner{padding:0;border:0}:root{--ck-border-radius:2px;--ck-inner-shadow:2px 2px 3px var(--ck-color-shadow-inner) inset;--ck-drop-shadow:0 1px 2px 1px var(--ck-color-shadow-drop);--ck-drop-shadow-active:0 3px 6px 1px var(--ck-color-shadow-drop-active);--ck-spacing-unit:0.6em;--ck-spacing-large:calc(var(--ck-spacing-unit)*1.5);--ck-spacing-standard:var(--ck-spacing-unit);--ck-spacing-medium:calc(var(--ck-spacing-unit)*0.8);--ck-spacing-small:calc(var(--ck-spacing-unit)*0.5);--ck-spacing-tiny:calc(var(--ck-spacing-unit)*0.3);--ck-spacing-extra-tiny:calc(var(--ck-spacing-unit)*0.16)}\";},function(t,e,n){var i=n(49);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck.ck-editor__editable:not(.ck-editor__nested-editable){border-radius:0}.ck-rounded-corners .ck.ck-editor__editable:not(.ck-editor__nested-editable),.ck.ck-editor__editable:not(.ck-editor__nested-editable).ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-editor__editable:not(.ck-editor__nested-editable).ck-focused{outline:none;border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0}.ck.ck-editor__editable_inline{overflow:auto;padding:0 var(--ck-spacing-standard);border:1px solid transparent}.ck.ck-editor__editable_inline>:first-child{margin-top:var(--ck-spacing-large)}.ck.ck-editor__editable_inline>:last-child{margin-bottom:var(--ck-spacing-large)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_n]:after{border-bottom-color:var(--ck-color-base-foreground)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_s]:after{border-top-color:var(--ck-color-base-foreground)}\";},function(t,e,n){var i=n(51);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck.ck-label{display:block}.ck.ck-voice-label{display:none}.ck.ck-label{font-weight:700}\";},function(t,e,n){var i=n(53);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck.ck-sticky-panel .ck-sticky-panel__content_sticky{z-index:var(--ck-z-modal);position:fixed;top:0}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky_bottom-limit{top:auto;position:absolute}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky{box-shadow:var(--ck-drop-shadow),0 0;border-width:0 1px 1px;border-top-left-radius:0;border-top-right-radius:0}\";},function(t,e,n){var i=n(55);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck.ck-toolbar{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;display:flex;flex-flow:row wrap;align-items:center}.ck.ck-toolbar.ck-toolbar_vertical{flex-direction:column}.ck.ck-toolbar.ck-toolbar_floating{flex-wrap:nowrap}.ck.ck-toolbar__separator{display:inline-block}.ck.ck-toolbar__newline{display:block;width:100%}.ck.ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-toolbar,.ck.ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-toolbar{background:var(--ck-color-toolbar-background);padding:0 var(--ck-spacing-small);border:1px solid var(--ck-color-toolbar-border)}.ck.ck-toolbar>*{margin-right:var(--ck-spacing-small);margin-top:var(--ck-spacing-small);margin-bottom:var(--ck-spacing-small)}.ck.ck-toolbar.ck-toolbar_vertical{padding:0}.ck.ck-toolbar.ck-toolbar_vertical>*{width:100%;margin:0;border-radius:0;border:0}.ck.ck-toolbar>:last-child{margin-right:0}.ck-toolbar-container .ck.ck-toolbar{border:0}.ck.ck-toolbar__separator{align-self:stretch;width:1px;margin-top:0;margin-bottom:0;background:var(--ck-color-toolbar-border)}.ck.ck-toolbar__newline{margin:0}\";},function(t,e,n){var i=n(57);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-modal)}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-bottom-width:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar{border-bottom-width:1px;border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}\";},function(t,e,n){var i=n(59);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck.ck-icon{vertical-align:middle}:root{--ck-icon-size:calc(var(--ck-line-height-base)*var(--ck-font-size-normal))}.ck.ck-icon{width:var(--ck-icon-size);height:var(--ck-icon-size);font-size:.8333350694em;will-change:transform}.ck.ck-icon,.ck.ck-icon *{color:inherit;cursor:inherit}.ck.ck-icon :not([fill]){fill:currentColor}\";},function(t,e,n){var i=n(61);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports='.ck.ck-tooltip,.ck.ck-tooltip .ck-tooltip__text:after{position:absolute;pointer-events:none;-webkit-backface-visibility:hidden}.ck-tooltip{visibility:hidden;opacity:0;display:none;z-index:var(--ck-z-modal)}.ck-tooltip .ck-tooltip__text{display:inline-block}.ck-tooltip .ck-tooltip__text:after{content:\"\";width:0;height:0}:root{--ck-tooltip-arrow-size:5px}.ck.ck-tooltip{left:50%}.ck.ck-tooltip.ck-tooltip_s{bottom:calc(-1*var(--ck-tooltip-arrow-size));transform:translateY(100%)}.ck.ck-tooltip.ck-tooltip_s .ck-tooltip__text:after{top:calc(-1*var(--ck-tooltip-arrow-size));transform:translateX(-50%);border-left-color:transparent;border-bottom-color:var(--ck-color-tooltip-background);border-right-color:transparent;border-top-color:transparent;border-left-width:var(--ck-tooltip-arrow-size);border-bottom-width:var(--ck-tooltip-arrow-size);border-right-width:var(--ck-tooltip-arrow-size);border-top-width:0}.ck.ck-tooltip.ck-tooltip_n{top:calc(-1*var(--ck-tooltip-arrow-size));transform:translateY(-100%)}.ck.ck-tooltip.ck-tooltip_n .ck-tooltip__text:after{bottom:calc(-1*var(--ck-tooltip-arrow-size));transform:translateX(-50%);border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;border-top-color:var(--ck-color-tooltip-background);border-left-width:var(--ck-tooltip-arrow-size);border-bottom-width:0;border-right-width:var(--ck-tooltip-arrow-size);border-top-width:var(--ck-tooltip-arrow-size)}.ck.ck-tooltip .ck-tooltip__text{border-radius:0}.ck-rounded-corners .ck.ck-tooltip .ck-tooltip__text,.ck.ck-tooltip .ck-tooltip__text.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-tooltip .ck-tooltip__text{font-size:.9em;line-height:1.5;color:var(--ck-color-tooltip-text);padding:var(--ck-spacing-small) var(--ck-spacing-medium);background:var(--ck-color-tooltip-background);position:relative;left:-50%}.ck.ck-tooltip .ck-tooltip__text:after{border-style:solid;left:50%}.ck.ck-tooltip,.ck.ck-tooltip .ck-tooltip__text:after{transition:opacity .2s ease-in-out .2s}';},function(t,e,n){var i=n(63);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck.ck-button,a.ck.ck-button{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-button .ck-tooltip,a.ck.ck-button .ck-tooltip{display:block}@media (hover:none){.ck.ck-button .ck-tooltip,a.ck.ck-button .ck-tooltip{display:none}}.ck.ck-button,a.ck.ck-button{position:relative;display:inline-flex;align-items:center;justify-content:left}.ck.ck-button.ck-button_with-text .ck-button__label,a.ck.ck-button.ck-button_with-text .ck-button__label{display:inline-block}.ck.ck-button:not(.ck-button_with-text),a.ck.ck-button:not(.ck-button_with-text){justify-content:center}.ck.ck-button:hover .ck-tooltip,a.ck.ck-button:hover .ck-tooltip{visibility:visible;opacity:1}.ck.ck-button .ck-button__label,.ck.ck-button:focus:not(:hover) .ck-tooltip,a.ck.ck-button .ck-button__label,a.ck.ck-button:focus:not(:hover) .ck-tooltip{display:none}.ck.ck-button,a.ck.ck-button{background:var(--ck-color-button-default-background)}.ck.ck-button:not(.ck-disabled):hover,a.ck.ck-button:not(.ck-disabled):hover{background:var(--ck-color-button-default-hover-background)}.ck.ck-button:not(.ck-disabled):active,a.ck.ck-button:not(.ck-disabled):active{background:var(--ck-color-button-default-active-background);box-shadow:inset 0 2px 2px var(--ck-color-button-default-active-shadow)}.ck.ck-button.ck-disabled,a.ck.ck-button.ck-disabled{background:var(--ck-color-button-default-disabled-background)}.ck.ck-button,a.ck.ck-button{border-radius:0}.ck-rounded-corners .ck.ck-button,.ck-rounded-corners a.ck.ck-button,.ck.ck-button.ck-rounded-corners,a.ck.ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-button,a.ck.ck-button{white-space:nowrap;cursor:default;vertical-align:middle;padding:var(--ck-spacing-tiny);text-align:center;min-width:var(--ck-ui-component-min-height);min-height:var(--ck-ui-component-min-height);line-height:1;font-size:inherit;border:1px solid transparent;transition:box-shadow .2s ease-in-out;-webkit-appearance:none}.ck.ck-button:active,.ck.ck-button:focus,a.ck.ck-button:active,a.ck.ck-button:focus{outline:none;border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;border-color:transparent}.ck.ck-button.ck-disabled:active,.ck.ck-button.ck-disabled:focus,a.ck.ck-button.ck-disabled:active,a.ck.ck-button.ck-disabled:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-button.ck-disabled .ck-button__icon,a.ck.ck-button.ck-disabled .ck-button__icon{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-disabled .ck-button__label,a.ck.ck-button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-button_with-text,a.ck.ck-button.ck-button_with-text{padding:var(--ck-spacing-tiny) var(--ck-spacing-standard)}.ck.ck-button.ck-button_with-text .ck-button__icon,a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:calc(-1*var(--ck-spacing-small));margin-right:var(--ck-spacing-small)}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{background:var(--ck-color-button-on-background)}.ck.ck-button.ck-on:not(.ck-disabled):hover,a.ck.ck-button.ck-on:not(.ck-disabled):hover{background:var(--ck-color-button-on-hover-background)}.ck.ck-button.ck-on:not(.ck-disabled):active,a.ck.ck-button.ck-on:not(.ck-disabled):active{background:var(--ck-color-button-on-active-background);box-shadow:inset 0 2px 2px var(--ck-color-button-on-active-shadow)}.ck.ck-button.ck-on.ck-disabled,a.ck.ck-button.ck-on.ck-disabled{background:var(--ck-color-button-on-disabled-background)}.ck.ck-button.ck-button-save,a.ck.ck-button.ck-button-save{color:var(--ck-color-button-save)}.ck.ck-button.ck-button-cancel,a.ck.ck-button.ck-button-cancel{color:var(--ck-color-button-cancel)}.ck.ck-button .ck-button__icon use,.ck.ck-button .ck-button__icon use *,a.ck.ck-button .ck-button__icon use,a.ck.ck-button .ck-button__icon use *{color:inherit}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{font-size:inherit;font-weight:inherit;color:inherit;cursor:inherit;vertical-align:middle}.ck.ck-button-action,a.ck.ck-button-action{background:var(--ck-color-button-action-background)}.ck.ck-button-action:not(.ck-disabled):hover,a.ck.ck-button-action:not(.ck-disabled):hover{background:var(--ck-color-button-action-hover-background)}.ck.ck-button-action:not(.ck-disabled):active,a.ck.ck-button-action:not(.ck-disabled):active{background:var(--ck-color-button-action-active-background);box-shadow:inset 0 2px 2px var(--ck-color-button-action-active-shadow)}.ck.ck-button-action.ck-disabled,a.ck.ck-button-action.ck-disabled{background:var(--ck-color-button-action-disabled-background)}.ck.ck-button-action,a.ck.ck-button-action{color:var(--ck-color-button-action-text)}.ck.ck-button-bold,a.ck.ck-button-bold{font-weight:700}\";},function(t,e,n){var i=n(65);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck-content blockquote{overflow:hidden;padding-right:1.5em;padding-left:1.5em;margin-left:0;font-style:italic;border-left:5px solid #ccc}\";},function(t,e,n){var i=n(67);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck .ck-widget.ck-widget_with-selection-handler{position:relative}.ck .ck-widget.ck-widget_with-selection-handler .ck-widget__selection-handler{visibility:hidden;position:absolute}.ck .ck-widget.ck-widget_with-selection-handler .ck-widget__selection-handler .ck-icon{display:block}.ck .ck-widget.ck-widget_with-selection-handler.ck-widget_selected .ck-widget__selection-handler,.ck .ck-widget.ck-widget_with-selection-handler:hover .ck-widget__selection-handler{visibility:visible}:root{--ck-widget-outline-thickness:3px;--ck-widget-handler-icon-size:16px;--ck-widget-handler-animation-duration:200ms;--ck-widget-handler-animation-curve:ease;--ck-color-widget-blurred-border:#dedede;--ck-color-widget-hover-border:#ffc83d;--ck-color-widget-editable-focus-background:var(--ck-color-base-background);--ck-color-widget-drag-handler-icon-color:var(--ck-color-base-background)}.ck .ck-widget{outline-width:var(--ck-widget-outline-thickness);outline-style:solid;outline-color:transparent;transition:outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_selected,.ck .ck-widget.ck-widget_selected:hover{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border)}.ck .ck-widget:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-editor__nested-editable{border:1px solid transparent}.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck .ck-editor__nested-editable:focus{outline:none;border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;background-color:var(--ck-color-widget-editable-focus-background)}.ck-editor__editable>.ck-widget.ck-widget_with-selection-handler:first-child,.ck-editor__editable blockquote>.ck-widget.ck-widget_with-selection-handler:first-child{margin-top:calc(1em + var(--ck-widget-handler-icon-size))}.ck .ck-widget.ck-widget_with-selection-handler .ck-widget__selection-handler{padding:4px;box-sizing:border-box;background-color:transparent;opacity:0;transition:background-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),visibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0;transform:translateY(-100%);left:calc(0px - var(--ck-widget-outline-thickness))}.ck .ck-widget.ck-widget_with-selection-handler .ck-widget__selection-handler:hover .ck-icon .ck-icon__selected-indicator{opacity:1}.ck .ck-widget.ck-widget_with-selection-handler .ck-widget__selection-handler .ck-icon{width:var(--ck-widget-handler-icon-size);height:var(--ck-widget-handler-icon-size);color:var(--ck-color-widget-drag-handler-icon-color)}.ck .ck-widget.ck-widget_with-selection-handler .ck-widget__selection-handler .ck-icon .ck-icon__selected-indicator{opacity:0;transition:opacity .3s var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_with-selection-handler.ck-widget_selected .ck-widget__selection-handler,.ck .ck-widget.ck-widget_with-selection-handler.ck-widget_selected:hover .ck-widget__selection-handler{opacity:1;background-color:var(--ck-color-focus-border)}.ck .ck-widget.ck-widget_with-selection-handler.ck-widget_selected .ck-widget__selection-handler .ck-icon .ck-icon__selected-indicator,.ck .ck-widget.ck-widget_with-selection-handler.ck-widget_selected:hover .ck-widget__selection-handler .ck-icon .ck-icon__selected-indicator{opacity:1}.ck .ck-widget.ck-widget_with-selection-handler:hover .ck-widget__selection-handler{opacity:1;background-color:var(--ck-color-widget-hover-border)}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected,.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover{outline-color:var(--ck-color-widget-blurred-border)}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected .ck-widget__selection-handler,.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected .ck-widget__selection-handler:hover,.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover .ck-widget__selection-handler,.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover .ck-widget__selection-handler:hover{background:var(--ck-color-widget-blurred-border)}.ck-editor__editable.ck-read-only .ck-widget{--ck-widget-outline-thickness:0}\";},function(t,e,n){var i=n(69);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck.ck-labeled-input .ck-labeled-input__status{font-size:var(--ck-font-size-small);margin-top:var(--ck-spacing-small);white-space:normal}.ck.ck-labeled-input .ck-labeled-input__status_error{color:var(--ck-color-base-error)}\";},function(t,e,n){var i=n(71);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\":root{--ck-input-text-width:18em}.ck.ck-input-text{border-radius:0}.ck-rounded-corners .ck.ck-input-text,.ck.ck-input-text.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input-text{box-shadow:var(--ck-inner-shadow),0 0;background:var(--ck-color-input-background);border:1px solid var(--ck-color-input-border);padding:var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);min-width:var(--ck-input-text-width);min-height:var(--ck-ui-component-min-height);transition-property:box-shadow,border;transition:.2s ease-in-out}.ck.ck-input-text:focus{outline:none;border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),var(--ck-inner-shadow)}.ck.ck-input-text[readonly]{border:1px solid var(--ck-color-input-disabled-border);background:var(--ck-color-input-disabled-background);color:var(--ck-color-input-disabled-text)}.ck.ck-input-text[readonly]:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),var(--ck-inner-shadow)}.ck.ck-input-text.ck-error{border-color:var(--ck-color-input-error-border);animation:ck-text-input-shake .3s ease both}.ck.ck-input-text.ck-error:focus{box-shadow:var(--ck-focus-error-outer-shadow),var(--ck-inner-shadow)}@keyframes ck-text-input-shake{20%{transform:translateX(-2px)}40%{transform:translateX(2px)}60%{transform:translateX(-1px)}80%{transform:translateX(1px)}}\";},function(t,e,n){var i=n(73);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck.ck-text-alternative-form{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-text-alternative-form .ck-labeled-input{display:inline-block}.ck.ck-text-alternative-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-text-alternative-form{flex-wrap:wrap}.ck.ck-text-alternative-form .ck-labeled-input{flex-basis:100%}.ck.ck-text-alternative-form .ck-button{flex-basis:50%}}.ck.ck-text-alternative-form{padding:var(--ck-spacing-standard)}.ck.ck-text-alternative-form:focus{outline:none}.ck.ck-text-alternative-form>:not(:first-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-text-alternative-form{padding:0;width:calc(0.8*var(--ck-input-text-width))}.ck.ck-text-alternative-form .ck-labeled-input{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-text-alternative-form .ck-labeled-input .ck-input-text{min-width:0;width:100%}.ck.ck-text-alternative-form .ck-button{padding:var(--ck-spacing-standard);margin-top:var(--ck-spacing-standard);margin-left:0;border-radius:0;border:0;border-top:1px solid var(--ck-color-base-border)}.ck.ck-text-alternative-form .ck-button:first-of-type{border-right:1px solid var(--ck-color-base-border)}}\";},function(t,e,n){var i=n(75);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=':root{--ck-balloon-panel-arrow-z-index:calc(var(--ck-z-default) - 3)}.ck.ck-balloon-panel{display:none;position:absolute;z-index:var(--ck-z-modal)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{content:\"\";position:absolute}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_n]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_n]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_s]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_s]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel.ck-balloon-panel_visible{display:block}:root{--ck-balloon-arrow-offset:2px;--ck-balloon-arrow-height:10px;--ck-balloon-arrow-half-width:8px}.ck.ck-balloon-panel{border-radius:0}.ck-rounded-corners .ck.ck-balloon-panel,.ck.ck-balloon-panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-balloon-panel{box-shadow:var(--ck-drop-shadow),0 0;min-height:15px;background:var(--ck-color-panel-background);border:1px solid var(--ck-color-panel-border)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{width:0;height:0;border-style:solid}.ck.ck-balloon-panel[class*=arrow_n]:after,.ck.ck-balloon-panel[class*=arrow_n]:before{border-left-width:var(--ck-balloon-arrow-half-width);border-bottom-width:var(--ck-balloon-arrow-height);border-right-width:var(--ck-balloon-arrow-half-width);border-top-width:0}.ck.ck-balloon-panel[class*=arrow_n]:before{border-bottom-color:var(--ck-color-panel-border)}.ck.ck-balloon-panel[class*=arrow_n]:after,.ck.ck-balloon-panel[class*=arrow_n]:before{border-left-color:transparent;border-right-color:transparent;border-top-color:transparent}.ck.ck-balloon-panel[class*=arrow_n]:after{border-bottom-color:var(--ck-color-panel-background);margin-top:var(--ck-balloon-arrow-offset)}.ck.ck-balloon-panel[class*=arrow_s]:after,.ck.ck-balloon-panel[class*=arrow_s]:before{border-left-width:var(--ck-balloon-arrow-half-width);border-bottom-width:0;border-right-width:var(--ck-balloon-arrow-half-width);border-top-width:var(--ck-balloon-arrow-height)}.ck.ck-balloon-panel[class*=arrow_s]:before{border-top-color:var(--ck-color-panel-border)}.ck.ck-balloon-panel[class*=arrow_s]:after,.ck.ck-balloon-panel[class*=arrow_s]:before{border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent}.ck.ck-balloon-panel[class*=arrow_s]:after{border-top-color:var(--ck-color-panel-background);margin-bottom:var(--ck-balloon-arrow-offset)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:before{left:50%;margin-left:calc(-1*var(--ck-balloon-arrow-half-width));top:calc(-1*var(--ck-balloon-arrow-height))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:before{left:calc(2*var(--ck-balloon-arrow-half-width));top:calc(-1*var(--ck-balloon-arrow-height))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:before{right:calc(2*var(--ck-balloon-arrow-half-width));top:calc(-1*var(--ck-balloon-arrow-height))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:before{left:50%;margin-left:calc(-1*var(--ck-balloon-arrow-half-width));bottom:calc(-1*var(--ck-balloon-arrow-height))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:before{left:calc(2*var(--ck-balloon-arrow-half-width));bottom:calc(-1*var(--ck-balloon-arrow-height))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:before{right:calc(2*var(--ck-balloon-arrow-half-width));bottom:calc(-1*var(--ck-balloon-arrow-height))}';},function(t,e,n){var i=n(77);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck-content .image{clear:both;text-align:center;margin:1em 0}.ck-content .image>img{display:block;margin:0 auto;max-width:100%}\";},function(t,e,n){var i=n(79);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck-content .image{position:relative;overflow:hidden}.ck-content .image .ck-progress-bar{position:absolute;top:0;left:0}:root{--ck-image-upload-progress-line-width:30px}.ck-content .image.ck-appear{animation:fadeIn .7s}.ck-content .image .ck-progress-bar{height:2px;width:0;background:var(--ck-color-upload-bar-background);transition:width .1s}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}\";},function(t,e,n){var i=n(81);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports='.ck-image-upload-complete-icon{display:block;position:absolute;top:10px;right:10px;border-radius:50%}.ck-image-upload-complete-icon:after{content:\"\";position:absolute}:root{--ck-color-image-upload-icon:#fff;--ck-color-image-upload-icon-background:#008a00;--ck-image-upload-icon-size:20px;--ck-image-upload-icon-width:2px}.ck-image-upload-complete-icon{width:var(--ck-image-upload-icon-size);height:var(--ck-image-upload-icon-size);opacity:0;background:var(--ck-color-image-upload-icon-background);animation-name:ck-upload-complete-icon-show,ck-upload-complete-icon-hide;animation-fill-mode:forwards,forwards;animation-duration:.5s,.5s;font-size:var(--ck-image-upload-icon-size);animation-delay:0ms,3s}.ck-image-upload-complete-icon:after{left:25%;top:50%;opacity:0;height:0;width:0;transform:scaleX(-1) rotate(135deg);transform-origin:left top;border-top:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);border-right:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);animation-name:ck-upload-complete-icon-check;animation-duration:.5s;animation-delay:.5s;animation-fill-mode:forwards;box-sizing:border-box}@keyframes ck-upload-complete-icon-show{0%{opacity:0}to{opacity:1}}@keyframes ck-upload-complete-icon-hide{0%{opacity:1}to{opacity:0}}@keyframes ck-upload-complete-icon-check{0%{opacity:1;width:0;height:0}33%{width:.3em;height:0}to{opacity:1;width:.3em;height:.45em}}';},function(t,e,n){var i=n(83);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports='.ck .ck-upload-placeholder-loader{position:absolute;display:flex;align-items:center;justify-content:center;top:0;left:0}.ck .ck-upload-placeholder-loader:before{content:\"\";position:relative}:root{--ck-color-upload-placeholder-loader:#b3b3b3;--ck-upload-placeholder-loader-size:32px}.ck .ck-image-upload-placeholder{width:100%;margin:0}.ck .ck-upload-placeholder-loader{width:100%;height:100%}.ck .ck-upload-placeholder-loader:before{width:var(--ck-upload-placeholder-loader-size);height:var(--ck-upload-placeholder-loader-size);border-radius:50%;border-top:3px solid var(--ck-color-upload-placeholder-loader);border-right:2px solid transparent;animation:ck-upload-placeholder-loader 1s linear infinite}@keyframes ck-upload-placeholder-loader{to{transform:rotate(1turn)}}';},function(t,e,n){var i=n(85);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck.ck-dropdown{display:inline-block;position:relative}.ck.ck-dropdown .ck-dropdown__arrow{pointer-events:none;z-index:var(--ck-z-default)}.ck.ck-dropdown .ck-button.ck-dropdown__button{width:100%}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on .ck-tooltip{display:none}.ck.ck-dropdown .ck-dropdown__panel{-webkit-backface-visibility:hidden;display:none;z-index:var(--ck-z-modal);position:absolute}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel-visible{display:inline-block;will-change:transform}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw{bottom:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{transform:translate3d(0,100%,0)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se{left:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{right:0}:root{--ck-dropdown-arrow-size:calc(0.5*var(--ck-icon-size))}.ck.ck-dropdown{font-size:inherit}.ck.ck-dropdown .ck-dropdown__arrow{right:var(--ck-spacing-standard);width:var(--ck-dropdown-arrow-size);margin-left:var(--ck-spacing-small)}.ck.ck-dropdown.ck-disabled .ck-dropdown__arrow{opacity:var(--ck-disabled-opacity)}.ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-left:var(--ck-spacing-small)}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on{border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-dropdown .ck-button.ck-dropdown__button .ck-button__label{width:7em;overflow:hidden;text-overflow:ellipsis}.ck.ck-dropdown__panel{box-shadow:var(--ck-drop-shadow),0 0;border-radius:0}.ck-rounded-corners .ck.ck-dropdown__panel,.ck.ck-dropdown__panel.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0}.ck.ck-dropdown__panel{background:var(--ck-color-dropdown-panel-background);border:1px solid var(--ck-color-dropdown-panel-border);bottom:0;min-width:100%}\";},function(t,e,n){var i=n(87);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck.ck-list{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;display:flex;flex-direction:column}.ck.ck-list .ck-list__item,.ck.ck-list .ck-list__separator{display:block}.ck.ck-list .ck-list__item>:focus{position:relative;z-index:var(--ck-z-default)}.ck.ck-list{border-radius:0}.ck-rounded-corners .ck.ck-list,.ck.ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-list{list-style-type:none;background:var(--ck-color-list-background)}.ck.ck-list__item{cursor:default;min-width:12em}.ck.ck-list__item .ck-button{min-height:unset;width:100%;text-align:left;border-radius:0;border:0;padding:calc(0.2*var(--ck-line-height-base)*var(--ck-font-size-base)) calc(0.4*var(--ck-line-height-base)*var(--ck-font-size-base))}.ck.ck-list__item .ck-button .ck-button__label{line-height:calc(1.2*var(--ck-line-height-base)*var(--ck-font-size-base))}.ck.ck-list__item .ck-button:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on{background:var(--ck-color-list-button-on-background);color:var(--ck-color-list-button-on-text)}.ck.ck-list__item .ck-button.ck-on:hover:not(ck-disabled){background:var(--ck-color-list-button-on-background-focus)}.ck.ck-list__item .ck-button.ck-on:active{box-shadow:none}.ck.ck-list__item .ck-button:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background)}.ck.ck-list__item .ck-switchbutton.ck-on{background:var(--ck-color-list-background);color:inherit}.ck.ck-list__item .ck-switchbutton.ck-on:hover:not(ck-disabled){background:var(--ck-color-list-button-hover-background);color:inherit}.ck.ck-list__separator{height:1px;width:100%;background:var(--ck-color-base-border)}\";},function(t,e,n){var i=n(89);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{display:block}:root{--ck-switch-button-toggle-width:2.6153846154em;--ck-switch-button-toggle-inner-size:1.0769230769em;--ck-switch-button-toggle-spacing:1px}.ck.ck-button.ck-switchbutton .ck-button__label{margin-right:calc(2*var(--ck-spacing-large))}.ck.ck-button.ck-switchbutton.ck-disabled .ck-button__toggle{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-switchbutton .ck-button__toggle{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-button.ck-switchbutton .ck-button__toggle{margin-left:auto;transition:background .4s ease;width:var(--ck-switch-button-toggle-width);background:var(--ck-color-switch-button-off-background)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:calc(0.5*var(--ck-border-radius))}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{margin:var(--ck-switch-button-toggle-spacing);width:var(--ck-switch-button-toggle-inner-size);height:var(--ck-switch-button-toggle-inner-size);background:var(--ck-color-switch-button-inner-background);transition:transform .3s ease}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle{background:var(--ck-color-switch-button-on-background)}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(1.3846153847em)}\";},function(t,e,n){var i=n(91);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck.ck-toolbar-dropdown .ck-toolbar{flex-wrap:nowrap}.ck.ck-toolbar-dropdown .ck-dropdown__panel .ck-button:focus{z-index:calc(var(--ck-z-default) + 1)}.ck.ck-toolbar-dropdown .ck-toolbar{border:0}\";},function(t,e,n){var i=n(93);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck.ck-dropdown .ck-dropdown__panel .ck-list{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list,.ck.ck-dropdown .ck-dropdown__panel .ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}\";},function(t,e){t.exports=\".ck.ck-heading_heading1{font-size:20px}.ck.ck-heading_heading2{font-size:17px}.ck.ck-heading_heading3{font-size:14px}.ck[class*=ck-heading_heading]{font-weight:700}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__button .ck-button__label{width:8em}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__panel .ck-list__item{min-width:18em}\";},function(t,e,n){var i=n(96);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck-content .image>figcaption{color:#333;background-color:#f7f7f7;padding:.6em;font-size:.75em;outline-offset:-1px}\";},function(t,e,n){var i=n(98);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\":root{--ck-image-style-spacing:1.5em}.ck-content .image-style-align-center,.ck-content .image-style-align-left,.ck-content .image-style-align-right,.ck-content .image-style-side{max-width:50%}.ck-content .image-style-side{float:right;margin-left:var(--ck-image-style-spacing)}.ck-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.ck-content .image-style-align-center{margin-left:auto;margin-right:auto}.ck-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}\";},function(t,e,n){var i=n(100);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck .ck-link_selected{background:var(--ck-color-link-selected-background)}\";},function(t,e,n){var i=n(102);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck.ck-link-form{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-link-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-link-form{flex-wrap:wrap}.ck.ck-link-form .ck-labeled-input{flex-basis:100%}.ck.ck-link-form .ck-button{flex-basis:50%}}.ck.ck-link-form{padding:var(--ck-spacing-standard)}.ck.ck-link-form:focus{outline:none}.ck.ck-link-form>:not(:first-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-link-form{padding:0;width:calc(0.8*var(--ck-input-text-width))}.ck.ck-link-form .ck-labeled-input{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-link-form .ck-labeled-input .ck-input-text{min-width:0;width:100%}.ck.ck-link-form .ck-button{padding:var(--ck-spacing-standard);margin-top:var(--ck-spacing-standard);margin-left:0;border-radius:0;border:0;border-top:1px solid var(--ck-color-base-border)}.ck.ck-link-form .ck-button:first-of-type{border-right:1px solid var(--ck-color-base-border)}}\";},function(t,e,n){var i=n(104);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck.ck-link-actions{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-link-actions .ck-link-actions__preview{display:inline-block}.ck.ck-link-actions .ck-link-actions__preview .ck-button__label{overflow:hidden}@media screen and (max-width:600px){.ck.ck-link-actions{flex-wrap:wrap}.ck.ck-link-actions .ck-link-actions__preview{flex-basis:100%}.ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){flex-basis:50%}}.ck.ck-link-actions{padding:var(--ck-spacing-standard)}.ck.ck-link-actions .ck-button.ck-link-actions__preview{padding-left:0;padding-right:0}.ck.ck-link-actions .ck-button.ck-link-actions__preview,.ck.ck-link-actions .ck-button.ck-link-actions__preview:active,.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus,.ck.ck-link-actions .ck-button.ck-link-actions__preview:hover{background:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:active{box-shadow:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus .ck-button__label{text-decoration:underline}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{padding:0 var(--ck-spacing-medium);color:var(--ck-color-link-default);text-overflow:ellipsis;cursor:pointer;max-width:var(--ck-input-text-width);min-width:3em;text-align:center}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label:hover{text-decoration:underline}.ck.ck-link-actions:focus{outline:none}.ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-link-actions{padding:0;width:calc(0.8*var(--ck-input-text-width))}.ck.ck-link-actions .ck-button.ck-link-actions__preview{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{min-width:0;max-width:100%}.ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){padding:var(--ck-spacing-standard);margin-top:var(--ck-spacing-standard);margin-left:0;border-radius:0;border:0;border-top:1px solid var(--ck-color-base-border)}.ck.ck-link-actions .ck-button:not(.ck-link-actions__preview):first-of-type{border-right:1px solid var(--ck-color-base-border)}}\";},function(t,e,n){var i=n(106);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports='.ck-media__wrapper .ck-media__placeholder{display:flex;flex-direction:column;align-items:center}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-tooltip{display:block}@media (hover:none){.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-tooltip{display:none}}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url{max-width:100%;position:relative}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url:hover .ck-tooltip{visibility:visible;opacity:1}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-media__placeholder__url__text{overflow:hidden;display:block}.ck-media__wrapper[data-oembed-url*=\"facebook.com\"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*=\"google.com/maps\"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*=\"instagram.com\"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*=\"twitter.com\"] .ck-media__placeholder__icon *{display:none}.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper>:not(.ck-media__placeholder){pointer-events:none}:root{--ck-media-embed-placeholder-icon-size:3em;--ck-color-media-embed-placeholder-url-text:#757575;--ck-color-media-embed-placeholder-url-text-hover:var(--ck-color-base-text)}.ck-media__wrapper{margin:0 auto}.ck-media__wrapper .ck-media__placeholder{padding:calc(3*var(--ck-spacing-standard));background:var(--ck-color-base-foreground)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon{min-width:var(--ck-media-embed-placeholder-icon-size);height:var(--ck-media-embed-placeholder-icon-size);margin-bottom:var(--ck-spacing-large);background-position:50%;background-size:cover}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon .ck-icon{width:100%;height:100%}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-media__placeholder__url__text{color:var(--ck-color-media-embed-placeholder-url-text);white-space:nowrap;text-align:center;font-style:italic;text-overflow:ellipsis}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-media__placeholder__url__text:hover{color:var(--ck-color-media-embed-placeholder-url-text-hover);cursor:pointer;text-decoration:underline}.ck-media__wrapper[data-oembed-url*=\"open.spotify.com\"]{max-width:300px;max-height:380px}.ck-media__wrapper[data-oembed-url*=\"twitter.com\"] .ck.ck-media__placeholder{background:linear-gradient(90deg,#71c6f4,#0d70a5)}.ck-media__wrapper[data-oembed-url*=\"twitter.com\"] .ck.ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj48cGF0aCBkPSJNNDAwIDIwMGMwIDExMC41LTg5LjUgMjAwLTIwMCAyMDBTMCAzMTAuNSAwIDIwMCA4OS41IDAgMjAwIDBzMjAwIDg5LjUgMjAwIDIwMHpNMTYzLjQgMzA1LjVjODguNyAwIDEzNy4yLTczLjUgMTM3LjItMTM3LjIgMC0yLjEgMC00LjItLjEtNi4yIDkuNC02LjggMTcuNi0xNS4zIDI0LjEtMjUtOC42IDMuOC0xNy45IDYuNC0yNy43IDcuNiAxMC02IDE3LjYtMTUuNCAyMS4yLTI2LjctOS4zIDUuNS0xOS42IDkuNS0zMC42IDExLjctOC44LTkuNC0yMS4zLTE1LjItMzUuMi0xNS4yLTI2LjYgMC00OC4yIDIxLjYtNDguMiA0OC4yIDAgMy44LjQgNy41IDEuMyAxMS00MC4xLTItNzUuNi0yMS4yLTk5LjQtNTAuNC00LjEgNy4xLTYuNSAxNS40LTYuNSAyNC4yIDAgMTYuNyA4LjUgMzEuNSAyMS41IDQwLjEtNy45LS4yLTE1LjMtMi40LTIxLjgtNnYuNmMwIDIzLjQgMTYuNiA0Mi44IDM4LjcgNDcuMy00IDEuMS04LjMgMS43LTEyLjcgMS43LTMuMSAwLTYuMS0uMy05LjEtLjkgNi4xIDE5LjIgMjMuOSAzMy4xIDQ1IDMzLjUtMTYuNSAxMi45LTM3LjMgMjAuNi01OS45IDIwLjYtMy45IDAtNy43LS4yLTExLjUtLjcgMjEuMSAxMy44IDQ2LjUgMjEuOCA3My43IDIxLjgiIGZpbGw9IiNmZmYiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*=\"twitter.com\"] .ck.ck-media__placeholder .ck-media__placeholder__url__text{color:#b8e6ff}.ck-media__wrapper[data-oembed-url*=\"twitter.com\"] .ck.ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*=\"google.com/maps\"] .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Ik0yMDYuNDc3IDI2MC45bC0yOC45ODcgMjguOTg3YTUuMjE4IDUuMjE4IDAgMCAwIDMuNzggMS42MWg0OS42MjFjMS42OTQgMCAzLjE5LS43OTggNC4xNDYtMi4wMzd6IiBmaWxsPSIjNWM4OGM1Ii8+PHBhdGggZD0iTTIyNi43NDIgMjIyLjk4OGMtOS4yNjYgMC0xNi43NzcgNy4xNy0xNi43NzcgMTYuMDE0LjAwNyAyLjc2Mi42NjMgNS40NzQgMi4wOTMgNy44NzUuNDMuNzAzLjgzIDEuNDA4IDEuMTkgMi4xMDcuMzMzLjUwMi42NSAxLjAwNS45NSAxLjUwOC4zNDMuNDc3LjY3My45NTcuOTg4IDEuNDQgMS4zMSAxLjc2OSAyLjUgMy41MDIgMy42MzcgNS4xNjguNzkzIDEuMjc1IDEuNjgzIDIuNjQgMi40NjYgMy45OSAyLjM2MyA0LjA5NCA0LjAwNyA4LjA5MiA0LjYgMTMuOTE0di4wMTJjLjE4Mi40MTIuNTE2LjY2Ni44NzkuNjY3LjQwMy0uMDAxLjc2OC0uMzE0LjkzLS43OTkuNjAzLTUuNzU2IDIuMjM4LTkuNzI5IDQuNTg1LTEzLjc5NC43ODItMS4zNSAxLjY3My0yLjcxNSAyLjQ2NS0zLjk5IDEuMTM3LTEuNjY2IDIuMzI4LTMuNCAzLjYzOC01LjE2OS4zMTUtLjQ4Mi42NDUtLjk2Mi45ODgtMS40MzkuMy0uNTAzLjYxNy0xLjAwNi45NS0xLjUwOC4zNTktLjcuNzYtMS40MDQgMS4xOS0yLjEwNyAxLjQyNi0yLjQwMiAyLTUuMTE0IDIuMDA0LTcuODc1IDAtOC44NDQtNy41MTEtMTYuMDE0LTE2Ljc3Ni0xNi4wMTR6IiBmaWxsPSIjZGQ0YjNlIiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxlbGxpcHNlIHJ5PSI1LjU2NCIgcng9IjUuODI4IiBjeT0iMjM5LjAwMiIgY3g9IjIyNi43NDIiIGZpbGw9IiM4MDJkMjciIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0iTTE5MC4zMDEgMjM3LjI4M2MtNC42NyAwLTguNDU3IDMuODUzLTguNDU3IDguNjA2czMuNzg2IDguNjA3IDguNDU3IDguNjA3YzMuMDQzIDAgNC44MDYtLjk1OCA2LjMzNy0yLjUxNiAxLjUzLTEuNTU3IDIuMDg3LTMuOTEzIDIuMDg3LTYuMjkgMC0uMzYyLS4wMjMtLjcyMi0uMDY0LTEuMDc5aC04LjI1N3YzLjA0M2g0Ljg1Yy0uMTk3Ljc1OS0uNTMxIDEuNDUtMS4wNTggMS45ODYtLjk0Mi45NTgtMi4wMjggMS41NDgtMy45MDEgMS41NDgtMi44NzYgMC01LjIwOC0yLjM3Mi01LjIwOC01LjI5OSAwLTIuOTI2IDIuMzMyLTUuMjk5IDUuMjA4LTUuMjk5IDEuMzk5IDAgMi42MTguNDA3IDMuNTg0IDEuMjkzbDIuMzgxLTIuMzhjMC0uMDAyLS4wMDMtLjAwNC0uMDA0LS4wMDUtMS41ODgtMS41MjQtMy42Mi0yLjIxNS01Ljk1NS0yLjIxNXptNC40MyA1LjY2bC4wMDMuMDA2di0uMDAzeiIgZmlsbD0iI2ZmZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMjE1LjE4NCAyNTEuOTI5bC03Ljk4IDcuOTc5IDI4LjQ3NyAyOC40NzVhNS4yMzMgNS4yMzMgMCAwIDAgLjQ0OS0yLjEyM3YtMzEuMTY1Yy0uNDY5LjY3NS0uOTM0IDEuMzQ5LTEuMzgyIDIuMDA1LS43OTIgMS4yNzUtMS42ODIgMi42NC0yLjQ2NSAzLjk5LTIuMzQ3IDQuMDY1LTMuOTgyIDguMDM4LTQuNTg1IDEzLjc5NC0uMTYyLjQ4NS0uNTI3Ljc5OC0uOTMuNzk5LS4zNjMtLjAwMS0uNjk3LS4yNTUtLjg3OS0uNjY3di0uMDEyYy0uNTkzLTUuODIyLTIuMjM3LTkuODItNC42LTEzLjkxNC0uNzgzLTEuMzUtMS42NzMtMi43MTUtMi40NjYtMy45OS0xLjEzNy0xLjY2Ni0yLjMyNy0zLjQtMy42MzctNS4xNjlsLS4wMDItLjAwM3oiIGZpbGw9IiNjM2MzYzMiLz48cGF0aCBkPSJNMjEyLjk4MyAyNDguNDk1bC0zNi45NTIgMzYuOTUzdi44MTJhNS4yMjcgNS4yMjcgMCAwIDAgNS4yMzggNS4yMzhoMS4wMTVsMzUuNjY2LTM1LjY2NmExMzYuMjc1IDEzNi4yNzUgMCAwIDAtMi43NjQtMy45IDM3LjU3NSAzNy41NzUgMCAwIDAtLjk4OS0xLjQ0IDM1LjEyNyAzNS4xMjcgMCAwIDAtLjk1LTEuNTA4Yy0uMDgzLS4xNjItLjE3Ni0uMzI2LS4yNjQtLjQ4OXoiIGZpbGw9IiNmZGRjNGYiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0iTTIxMS45OTggMjYxLjA4M2wtNi4xNTIgNi4xNTEgMjQuMjY0IDI0LjI2NGguNzgxYTUuMjI3IDUuMjI3IDAgMCAwIDUuMjM5LTUuMjM4di0xLjA0NXoiIGZpbGw9IiNmZmYiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PC9nPjwvc3ZnPg==)}.ck-media__wrapper[data-oembed-url*=\"facebook.com\"] .ck-media__placeholder{background:#4268b3}.ck-media__wrapper[data-oembed-url*=\"facebook.com\"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik05NjcuNDg0IDBINTYuNTE3QzI1LjMwNCAwIDAgMjUuMzA0IDAgNTYuNTE3djkxMC45NjZDMCA5OTguNjk0IDI1LjI5NyAxMDI0IDU2LjUyMiAxMDI0SDU0N1Y2MjhINDE0VjQ3M2gxMzNWMzU5LjAyOWMwLTEzMi4yNjIgODAuNzczLTIwNC4yODIgMTk4Ljc1Ni0yMDQuMjgyIDU2LjUxMyAwIDEwNS4wODYgNC4yMDggMTE5LjI0NCA2LjA4OVYyOTlsLTgxLjYxNi4wMzdjLTYzLjk5MyAwLTc2LjM4NCAzMC40OTItNzYuMzg0IDc1LjIzNlY0NzNoMTUzLjQ4N2wtMTkuOTg2IDE1NUg3MDd2Mzk2aDI2MC40ODRjMzEuMjEzIDAgNTYuNTE2LTI1LjMwMyA1Ni41MTYtNTYuNTE2VjU2LjUxNUMxMDI0IDI1LjMwMyA5OTguNjk3IDAgOTY3LjQ4NCAwIiBmaWxsPSIjRkZGRkZFIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*=\"facebook.com\"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#cdf}.ck-media__wrapper[data-oembed-url*=\"facebook.com\"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*=\"instagram.com\"] .ck-media__placeholder{background:linear-gradient(-135deg,#1400c8,#b900b4,#f50000)}.ck-media__wrapper[data-oembed-url*=\"instagram.com\"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTA0IiBoZWlnaHQ9IjUwNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PHBhdGggaWQ9ImEiIGQ9Ik0wIC4xNTloNTAzLjg0MVY1MDMuOTRIMHoiLz48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+PHVzZSB4bGluazpocmVmPSIjYSIvPjwvbWFzaz48cGF0aCBkPSJNMjUxLjkyMS4xNTljLTY4LjQxOCAwLTc2Ljk5Ny4yOS0xMDMuODY3IDEuNTE2LTI2LjgxNCAxLjIyMy00NS4xMjcgNS40ODItNjEuMTUxIDExLjcxLTE2LjU2NiA2LjQzNy0zMC42MTUgMTUuMDUxLTQ0LjYyMSAyOS4wNTYtMTQuMDA1IDE0LjAwNi0yMi42MTkgMjguMDU1LTI5LjA1NiA0NC42MjEtNi4yMjggMTYuMDI0LTEwLjQ4NyAzNC4zMzctMTEuNzEgNjEuMTUxQy4yOSAxNzUuMDgzIDAgMTgzLjY2MiAwIDI1Mi4wOGMwIDY4LjQxNy4yOSA3Ni45OTYgMS41MTYgMTAzLjg2NiAxLjIyMyAyNi44MTQgNS40ODIgNDUuMTI3IDExLjcxIDYxLjE1MSA2LjQzNyAxNi41NjYgMTUuMDUxIDMwLjYxNSAyOS4wNTYgNDQuNjIxIDE0LjAwNiAxNC4wMDUgMjguMDU1IDIyLjYxOSA0NC42MjEgMjkuMDU3IDE2LjAyNCA2LjIyNyAzNC4zMzcgMTAuNDg2IDYxLjE1MSAxMS43MDkgMjYuODcgMS4yMjYgMzUuNDQ5IDEuNTE2IDEwMy44NjcgMS41MTYgNjguNDE3IDAgNzYuOTk2LS4yOSAxMDMuODY2LTEuNTE2IDI2LjgxNC0xLjIyMyA0NS4xMjctNS40ODIgNjEuMTUxLTExLjcwOSAxNi41NjYtNi40MzggMzAuNjE1LTE1LjA1MiA0NC42MjEtMjkuMDU3IDE0LjAwNS0xNC4wMDYgMjIuNjE5LTI4LjA1NSAyOS4wNTctNDQuNjIxIDYuMjI3LTE2LjAyNCAxMC40ODYtMzQuMzM3IDExLjcwOS02MS4xNTEgMS4yMjYtMjYuODcgMS41MTYtMzUuNDQ5IDEuNTE2LTEwMy44NjYgMC02OC40MTgtLjI5LTc2Ljk5Ny0xLjUxNi0xMDMuODY3LTEuMjIzLTI2LjgxNC01LjQ4Mi00NS4xMjctMTEuNzA5LTYxLjE1MS02LjQzOC0xNi41NjYtMTUuMDUyLTMwLjYxNS0yOS4wNTctNDQuNjIxLTE0LjAwNi0xNC4wMDUtMjguMDU1LTIyLjYxOS00NC42MjEtMjkuMDU2LTE2LjAyNC02LjIyOC0zNC4zMzctMTAuNDg3LTYxLjE1MS0xMS43MUMzMjguOTE3LjQ0OSAzMjAuMzM4LjE1OSAyNTEuOTIxLjE1OXptMCA0NS4zOTFjNjcuMjY1IDAgNzUuMjMzLjI1NyAxMDEuNzk3IDEuNDY5IDI0LjU2MiAxLjEyIDM3LjkwMSA1LjIyNCA0Ni43NzggOC42NzQgMTEuNzU5IDQuNTcgMjAuMTUxIDEwLjAyOSAyOC45NjYgMTguODQ1IDguODE2IDguODE1IDE0LjI3NSAxNy4yMDcgMTguODQ1IDI4Ljk2NiAzLjQ1IDguODc3IDcuNTU0IDIyLjIxNiA4LjY3NCA0Ni43NzggMS4yMTIgMjYuNTY0IDEuNDY5IDM0LjUzMiAxLjQ2OSAxMDEuNzk4IDAgNjcuMjY1LS4yNTcgNzUuMjMzLTEuNDY5IDEwMS43OTctMS4xMiAyNC41NjItNS4yMjQgMzcuOTAxLTguNjc0IDQ2Ljc3OC00LjU3IDExLjc1OS0xMC4wMjkgMjAuMTUxLTE4Ljg0NSAyOC45NjYtOC44MTUgOC44MTYtMTcuMjA3IDE0LjI3NS0yOC45NjYgMTguODQ1LTguODc3IDMuNDUtMjIuMjE2IDcuNTU0LTQ2Ljc3OCA4LjY3NC0yNi41NiAxLjIxMi0zNC41MjcgMS40NjktMTAxLjc5NyAxLjQ2OS02Ny4yNzEgMC03NS4yMzctLjI1Ny0xMDEuNzk4LTEuNDY5LTI0LjU2Mi0xLjEyLTM3LjkwMS01LjIyNC00Ni43NzgtOC42NzQtMTEuNzU5LTQuNTctMjAuMTUxLTEwLjAyOS0yOC45NjYtMTguODQ1LTguODE1LTguODE1LTE0LjI3NS0xNy4yMDctMTguODQ1LTI4Ljk2Ni0zLjQ1LTguODc3LTcuNTU0LTIyLjIxNi04LjY3NC00Ni43NzgtMS4yMTItMjYuNTY0LTEuNDY5LTM0LjUzMi0xLjQ2OS0xMDEuNzk3IDAtNjcuMjY2LjI1Ny03NS4yMzQgMS40NjktMTAxLjc5OCAxLjEyLTI0LjU2MiA1LjIyNC0zNy45MDEgOC42NzQtNDYuNzc4IDQuNTctMTEuNzU5IDEwLjAyOS0yMC4xNTEgMTguODQ1LTI4Ljk2NiA4LjgxNS04LjgxNiAxNy4yMDctMTQuMjc1IDI4Ljk2Ni0xOC44NDUgOC44NzctMy40NSAyMi4yMTYtNy41NTQgNDYuNzc4LTguNjc0IDI2LjU2NC0xLjIxMiAzNC41MzItMS40NjkgMTAxLjc5OC0xLjQ2OXoiIGZpbGw9IiNGRkYiIG1hc2s9InVybCgjYikiLz48cGF0aCBkPSJNMjUxLjkyMSAzMzYuMDUzYy00Ni4zNzggMC04My45NzQtMzcuNTk2LTgzLjk3NC04My45NzMgMC00Ni4zNzggMzcuNTk2LTgzLjk3NCA4My45NzQtODMuOTc0IDQ2LjM3NyAwIDgzLjk3MyAzNy41OTYgODMuOTczIDgzLjk3NCAwIDQ2LjM3Ny0zNy41OTYgODMuOTczLTgzLjk3MyA4My45NzN6bTAtMjEzLjMzOGMtNzEuNDQ3IDAtMTI5LjM2NSA1Ny45MTgtMTI5LjM2NSAxMjkuMzY1IDAgNzEuNDQ2IDU3LjkxOCAxMjkuMzY0IDEyOS4zNjUgMTI5LjM2NCA3MS40NDYgMCAxMjkuMzY0LTU3LjkxOCAxMjkuMzY0LTEyOS4zNjQgMC03MS40NDctNTcuOTE4LTEyOS4zNjUtMTI5LjM2NC0xMjkuMzY1ek00MTYuNjI3IDExNy42MDRjMCAxNi42OTYtMTMuNTM1IDMwLjIzLTMwLjIzMSAzMC4yMy0xNi42OTUgMC0zMC4yMy0xMy41MzQtMzAuMjMtMzAuMjMgMC0xNi42OTYgMTMuNTM1LTMwLjIzMSAzMC4yMy0zMC4yMzEgMTYuNjk2IDAgMzAuMjMxIDEzLjUzNSAzMC4yMzEgMzAuMjMxIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg==)}.ck-media__wrapper[data-oembed-url*=\"instagram.com\"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#ffe0fe}.ck-media__wrapper[data-oembed-url*=\"instagram.com\"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}';},function(t,e,n){var i=n(108);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck.ck-media-form{display:flex;align-items:flex-start;flex-direction:row;flex-wrap:nowrap}.ck.ck-media-form .ck-labeled-input{display:inline-block}.ck.ck-media-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-media-form{flex-wrap:wrap}.ck.ck-media-form .ck-labeled-input{flex-basis:100%}.ck.ck-media-form .ck-button{flex-basis:50%}}.ck.ck-media-form{padding:var(--ck-spacing-standard)}.ck.ck-media-form:focus{outline:none}.ck.ck-media-form>:not(:first-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-media-form{padding:0;width:calc(0.8*var(--ck-input-text-width))}.ck.ck-media-form .ck-labeled-input{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-media-form .ck-labeled-input .ck-input-text{min-width:0;width:100%}.ck.ck-media-form .ck-labeled-input .ck-labeled-input__error{white-space:normal}.ck.ck-media-form .ck-button{padding:var(--ck-spacing-standard);margin-top:var(--ck-spacing-standard);margin-left:0;border-radius:0;border:0;border-top:1px solid var(--ck-color-base-border)}.ck.ck-media-form .ck-button:first-of-type{border-right:1px solid var(--ck-color-base-border)}}\";},function(t,e,n){var i=n(110);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck-content .media{clear:both;margin:1em 0;display:block;min-width:15em}\";},function(t,e,n){var i=n(112);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\":root{--ck-color-table-focused-cell-background:#f5fafe}.ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused{background:var(--ck-color-table-focused-cell-background);border-style:none;outline:1px solid var(--ck-color-focus-border);outline-offset:-1px}\";},function(t,e,n){var i=n(114);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\":root{--ck-insert-table-dropdown-padding:10px;--ck-insert-table-dropdown-box-height:11px;--ck-insert-table-dropdown-box-width:12px;--ck-insert-table-dropdown-box-margin:1px;--ck-insert-table-dropdown-box-border-color:#bfbfbf;--ck-insert-table-dropdown-box-border-active-color:#53a0e4;--ck-insert-table-dropdown-box-active-background:#c7e5ff}.ck .ck-insert-table-dropdown__grid{display:flex;flex-direction:row;flex-wrap:wrap;width:calc(var(--ck-insert-table-dropdown-box-width)*10 + var(--ck-insert-table-dropdown-box-margin)*20 + var(--ck-insert-table-dropdown-padding)*2);padding:var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0}.ck .ck-insert-table-dropdown__label{text-align:center}.ck .ck-insert-table-dropdown-grid-box{width:var(--ck-insert-table-dropdown-box-width);height:var(--ck-insert-table-dropdown-box-height);margin:var(--ck-insert-table-dropdown-box-margin);border:1px solid var(--ck-insert-table-dropdown-box-border-color);border-radius:1px}.ck .ck-insert-table-dropdown-grid-box.ck-on{border-color:var(--ck-insert-table-dropdown-box-border-active-color);background:var(--ck-insert-table-dropdown-box-active-background)}\";},function(t,e,n){var i=n(116);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]);var o={singleton:!0,hmr:!0,transform:void 0,insertInto:void 0};n(2)(i,o);i.locals&&(t.exports=i.locals);},function(t,e){t.exports=\".ck-content .table{margin:1em auto;display:table}.ck-content .table table{border-collapse:collapse;border-spacing:0;border:1px double #b3b3b3}.ck-content .table table td,.ck-content .table table th{min-width:2em;padding:.4em;border-color:#d9d9d9}.ck-content .table table th{font-weight:700;background:#fafafa}\";},function(t,e,n){\"use strict\";var _marked=/*#__PURE__*/_regeneratorRuntime().mark(Ya),_marked2=/*#__PURE__*/_regeneratorRuntime().mark($a);n.r(e);var i=n(4),o=i.a.Symbol,r=Object.prototype,s=r.hasOwnProperty,a=r.toString,c=o?o.toStringTag:void 0;var l=function l(t){var e=s.call(t,c),n=t[c];try{t[c]=void 0;var i=!0;}catch(t){}var o=a.call(t);return i&&(e?t[c]=n:delete t[c]),o;},d=Object.prototype.toString;var u=function u(t){return d.call(t);},h=\"[object Null]\",f=\"[object Undefined]\",m=o?o.toStringTag:void 0;var p=function p(t){return null==t?void 0===t?f:h:m&&m in Object(t)?l(t):u(t);};var g=function g(t,e){return function(n){return t(e(n));};},b=g(Object.getPrototypeOf,Object);var w=function w(t){return null!=t&&\"object\"==_typeof(t);},_=\"[object Object]\",k=Function.prototype,v=Object.prototype,y=k.toString,x=v.hasOwnProperty,A=y.call(Object);var C=function C(t){if(!w(t)||p(t)!=_)return!1;var e=b(t);if(null===e)return!0;var n=x.call(e,\"constructor\")&&e.constructor;return\"function\"==typeof n&&n instanceof n&&y.call(n)==A;};var T=function T(){this.__data__=[],this.size=0;};var P=function P(t,e){return t===e||t!=t&&e!=e;};var M=function M(t,e){for(var n=t.length;n--;)if(P(t[n][0],e))return n;return-1;},E=Array.prototype.splice;var S=function S(t){var e=this.__data__,n=M(e,t);return!(n<0||(n==e.length-1?e.pop():E.call(e,n,1),--this.size,0));};var I=function I(t){var e=this.__data__,n=M(e,t);return n<0?void 0:e[n][1];};var N=function N(t){return M(this.__data__,t)>-1;};var O=function O(t,e){var n=this.__data__,i=M(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this;};function R(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t-1&&t%1==0&&t<=Jt;},Zt={};Zt[\"[object Float32Array]\"]=Zt[\"[object Float64Array]\"]=Zt[\"[object Int8Array]\"]=Zt[\"[object Int16Array]\"]=Zt[\"[object Int32Array]\"]=Zt[\"[object Uint8Array]\"]=Zt[\"[object Uint8ClampedArray]\"]=Zt[\"[object Uint16Array]\"]=Zt[\"[object Uint32Array]\"]=!0,Zt[\"[object Arguments]\"]=Zt[\"[object Array]\"]=Zt[\"[object ArrayBuffer]\"]=Zt[\"[object Boolean]\"]=Zt[\"[object DataView]\"]=Zt[\"[object Date]\"]=Zt[\"[object Error]\"]=Zt[\"[object Function]\"]=Zt[\"[object Map]\"]=Zt[\"[object Number]\"]=Zt[\"[object Object]\"]=Zt[\"[object RegExp]\"]=Zt[\"[object Set]\"]=Zt[\"[object String]\"]=Zt[\"[object WeakMap]\"]=!1;var Xt=function Xt(t){return w(t)&&Kt(t.length)&&!!Zt[p(t)];};var te=function te(t){return function(e){return t(e);};},ee=n(5),ne=ee.a&&ee.a.isTypedArray,ie=ne?te(ne):Xt,oe=Object.prototype.hasOwnProperty;var re=function re(t,e){var n=Wt(t),i=!n&&qt(t),o=!n&&!i&&Object(Yt.a)(t),r=!n&&!i&&!o&&ie(t),s=n||i||o||r,a=s?Vt(t.length,String):[],c=a.length;for(var l in t)!e&&!oe.call(t,l)||s&&(\"length\"==l||o&&(\"offset\"==l||\"parent\"==l)||r&&(\"buffer\"==l||\"byteLength\"==l||\"byteOffset\"==l)||Qt(l,c))||a.push(l);return a;},se=Object.prototype;var ae=function ae(t){var e=t&&t.constructor;return t===(\"function\"==typeof e&&e.prototype||se);},ce=g(Object.keys,Object),le=Object.prototype.hasOwnProperty;var de=function de(t){if(!ae(t))return ce(t);var e=[];for(var n in Object(t))le.call(t,n)&&\"constructor\"!=n&&e.push(n);return e;};var ue=function ue(t){return null!=t&&Kt(t.length)&&!W(t);};var he=function he(t){return ue(t)?re(t):de(t);};var fe=function fe(t,e){return t&&jt(e,he(e),t);};var me=function me(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e;},pe=Object.prototype.hasOwnProperty;var ge=function ge(t){if(!z(t))return me(t);var e=ae(t),n=[];for(var i in t)(\"constructor\"!=i||!e&&pe.call(t,i))&&n.push(i);return n;};var be=function be(t){return ue(t)?re(t,!0):ge(t);};var we=function we(t,e){return t&&jt(e,be(e),t);},_e=n(19);var ke=function ke(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n3&&arguments[3]!==undefined?arguments[3]:!1;if(C(e))return void this._setObjectToTarget(t,e,i);var o=e.split(\".\");e=o.pop();var _iterator=_createForOfIteratorHelper(o),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _e2=_step.value;C(t[_e2])||(t[_e2]={}),t=t[_e2];}}catch(err){_iterator.e(err);}finally{_iterator.f();}if(C(n))return C(t[e])||(t[e]={}),t=t[e],void this._setObjectToTarget(t,n,i);i&&void 0!==t[e]||(t[e]=n);}},{key:\"_getFromSource\",value:function _getFromSource(t,e){var n=e.split(\".\");e=n.pop();var _iterator2=_createForOfIteratorHelper(n),_step2;try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var _e3=_step2.value;if(!C(t[_e3])){t=null;break;}t=t[_e3];}}catch(err){_iterator2.e(err);}finally{_iterator2.f();}return t?function(t){return qn(t,$n);}(t[e]):void 0;}},{key:\"_setObjectToTarget\",value:function _setObjectToTarget(t,e,n){var _this2=this;Object.keys(e).forEach(function(i){_this2._setToTarget(t,i,e[i],n);});}}]);return Yn;}();function $n(t){return Wn(t)?t:void 0;}var Gn=n(0);var Qn=function Qn(){return function t(){t.called=!0;};};var Jn=/*#__PURE__*/_createClass(function Jn(t,e){_classCallCheck(this,Jn);this.source=t,this.name=e,this.path=[],this.stop=Qn(),this.off=Qn();});function Kn(){var t=\"e\";for(var _e4=0;_e4<8;_e4++)t+=Math.floor(65536*(1+Math.random())).toString(16).substring(1);return t;}var Zn={get:function get(t){return\"number\"!=typeof t?this[t]||this.normal:t;},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};var Xn=Symbol(\"listeningTo\"),ti=Symbol(\"emitterId\");var ei={on:function on(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};this.listenTo(this,t,e,n);},once:function once(t,e,n){var i=!1;this.listenTo(this,t,function(t){for(var _len=arguments.length,n=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){n[_key-1]=arguments[_key];}i||(i=!0,t.off(),e.call.apply(e,[this,t].concat(n)));},n);},off:function off(t,e){this.stopListening(this,t,e);},listenTo:function listenTo(t,e,n){var i=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};var o,r;this[Xn]||(this[Xn]={});var s=this[Xn];ii(t)||ni(t);var a=ii(t);(o=s[a])||(o=s[a]={emitter:t,callbacks:{}}),(r=o.callbacks[e])||(r=o.callbacks[e]=[]),r.push(n),function(t,e){var n=oi(t);if(n[e])return;var i=e,o=null;var r=[];for(;\"\"!==i&&!n[i];)n[i]={callbacks:[],childEvents:[]},r.push(n[i]),o&&n[i].childEvents.push(o),o=i,i=i.substr(0,i.lastIndexOf(\":\"));if(\"\"!==i){var _iterator3=_createForOfIteratorHelper(r),_step3;try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var _t2=_step3.value;_t2.callbacks=n[i].callbacks.slice();}}catch(err){_iterator3.e(err);}finally{_iterator3.f();}n[i].childEvents.push(o);}}(t,e);var c=ri(t,e),l=Zn.get(i.priority),d={callback:n,priority:l};var _iterator4=_createForOfIteratorHelper(c),_step4;try{for(_iterator4.s();!(_step4=_iterator4.n()).done;){var _t3=_step4.value;var _e5=!1;for(var _n2=0;_n2<_t3.length;_n2++)if(_t3[_n2].priority-1?t(e,n.substr(0,n.lastIndexOf(\":\"))):null;return i.callbacks;}(this,i);for(var _len2=arguments.length,e=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++){e[_key2-1]=arguments[_key2];}if(n.path.push(this),o){var _t4=[n].concat(e);o=Array.from(o);for(var _e6=0;_e61?_len4-1:0),_key4=1;_key4<_len4;_key4++){e[_key4-1]=arguments[_key4];}e.forEach(function(e){Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e)).forEach(function(n){if(n in t.prototype)return;var i=Object.getOwnPropertyDescriptor(e,n);i.enumerable=!1,Object.defineProperty(t.prototype,n,i);});});}function li(t,e){var n=Math.min(t.length,e.length);for(var _i3=0;_i30&&arguments[0]!==undefined?arguments[0]:{includeSelf:!1,parentFirst:!1};var e=[];var n=t.includeSelf?this:this.parent;for(;n;)e[t.parentFirst?\"push\":\"unshift\"](n),n=n.parent;return e;}},{key:\"getCommonAncestor\",value:function getCommonAncestor(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var n=this.getAncestors(e),i=t.getAncestors(e);var o=0;for(;n[o]==i[o]&&n[o];)o++;return 0===o?null:n[o-1];}},{key:\"isBefore\",value:function isBefore(t){if(this==t)return!1;if(this.root!==t.root)return!1;var e=this.getPath(),n=t.getPath(),i=li(e,n);switch(i){case\"prefix\":return!0;case\"extension\":return!1;default:return e[i]t.data.length)throw new Gn.b(\"view-textproxy-wrong-offsetintext: Given offsetInText value is incorrect.\");if(n<0||e+n>t.data.length)throw new Gn.b(\"view-textproxy-wrong-length: Given length value is incorrect.\");this.data=t.data.substring(e,e+n),this.offsetInText=e;}_createClass(mi,[{key:\"offsetSize\",get:function get(){return this.data.length;}},{key:\"isPartial\",get:function get(){return this.data.length!==this.textNode.data.length;}},{key:\"parent\",get:function get(){return this.textNode.parent;}},{key:\"root\",get:function get(){return this.textNode.root;}},{key:\"document\",get:function get(){return this.textNode.document;}},{key:\"is\",value:function is(t){return\"textProxy\"==t;}},{key:\"getAncestors\",value:function getAncestors(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{includeSelf:!1,parentFirst:!1};var e=[];var n=t.includeSelf?this.textNode:this.parent;for(;null!==n;)e[t.parentFirst?\"push\":\"unshift\"](n),n=n.parent;return e;}}]);return mi;}();function pi(t){var e=new Map();for(var _n4 in t)e.set(_n4,t[_n4]);return e;}function gi(t){return!(!t||!t[Symbol.iterator]);}var bi=/*#__PURE__*/function(){function bi(){_classCallCheck(this,bi);this._patterns=[],this.add.apply(this,arguments);}_createClass(bi,[{key:\"add\",value:function add(){for(var _len5=arguments.length,t=new Array(_len5),_key5=0;_key5<_len5;_key5++){t[_key5]=arguments[_key5];}for(var _i4=0,_t8=t;_i4<_t8.length;_i4++){var _e9=_t8[_i4];(\"string\"==typeof _e9||_e9 instanceof RegExp)&&(_e9={name:_e9}),_e9.classes&&(\"string\"==typeof _e9.classes||_e9.classes instanceof RegExp)&&(_e9.classes=[_e9.classes]),this._patterns.push(_e9);}}},{key:\"match\",value:function match(){for(var _len6=arguments.length,t=new Array(_len6),_key6=0;_key6<_len6;_key6++){t[_key6]=arguments[_key6];}for(var _i5=0,_t9=t;_i5<_t9.length;_i5++){var _e10=_t9[_i5];var _iterator7=_createForOfIteratorHelper(this._patterns),_step7;try{for(_iterator7.s();!(_step7=_iterator7.n()).done;){var _t10=_step7.value;var _n5=wi(_e10,_t10);if(_n5)return{element:_e10,pattern:_t10,match:_n5};}}catch(err){_iterator7.e(err);}finally{_iterator7.f();}}return null;}},{key:\"matchAll\",value:function matchAll(){var e=[];for(var _len7=arguments.length,t=new Array(_len7),_key7=0;_key7<_len7;_key7++){t[_key7]=arguments[_key7];}for(var _i6=0,_t11=t;_i6<_t11.length;_i6++){var _n6=_t11[_i6];var _iterator8=_createForOfIteratorHelper(this._patterns),_step8;try{for(_iterator8.s();!(_step8=_iterator8.n()).done;){var _t12=_step8.value;var _i7=wi(_n6,_t12);_i7&&e.push({element:_n6,pattern:_t12,match:_i7});}}catch(err){_iterator8.e(err);}finally{_iterator8.f();}}return e.length>0?e:null;}},{key:\"getElementName\",value:function getElementName(){if(1!==this._patterns.length)return null;var t=this._patterns[0],e=t.name;return\"function\"==typeof t||!e||e instanceof RegExp?null:e;}}]);return bi;}();function wi(t,e){if(\"function\"==typeof e)return e(t);var n={};return e.name&&(n.name=function(t,e){if(t instanceof RegExp)return t.test(e);return t===e;}(e.name,t.name),!n.name)?null:e.attributes&&(n.attributes=function(t,e){var n=[];for(var _i8 in t){var _o5=t[_i8];if(!e.hasAttribute(_i8))return null;{var _t13=e.getAttribute(_i8);if(!0===_o5)n.push(_i8);else if(_o5 instanceof RegExp){if(!_o5.test(_t13))return null;n.push(_i8);}else{if(_t13!==_o5)return null;n.push(_i8);}}}return n;}(e.attributes,t),!n.attributes)?null:!(e.classes&&(n.classes=function(t,e){var n=[];var _iterator9=_createForOfIteratorHelper(t),_step9;try{for(_iterator9.s();!(_step9=_iterator9.n()).done;){var _i9=_step9.value;if(_i9 instanceof RegExp){var _t14=e.getClassNames();var _iterator10=_createForOfIteratorHelper(_t14),_step10;try{for(_iterator10.s();!(_step10=_iterator10.n()).done;){var _e11=_step10.value;_i9.test(_e11)&&n.push(_e11);}}catch(err){_iterator10.e(err);}finally{_iterator10.f();}if(0===n.length)return null;}else{if(!e.hasClass(_i9))return null;n.push(_i9);}}}catch(err){_iterator9.e(err);}finally{_iterator9.f();}return n;}(e.classes,t),!n.classes))&&!(e.styles&&(n.styles=function(t,e){var n=[];for(var _i10 in t){var _o6=t[_i10];if(!e.hasStyle(_i10))return null;{var _t15=e.getStyle(_i10);if(_o6 instanceof RegExp){if(!_o6.test(_t15))return null;n.push(_i10);}else{if(_t15!==_o6)return null;n.push(_i10);}}}return n;}(e.styles,t),!n.styles))&&n;}var _i=/*#__PURE__*/function(_hi2){_inherits(_i,_hi2);var _super3=_createSuper(_i);function _i(t,e,n){var _this5;_classCallCheck(this,_i);if(_this5=_super3.call(this),_this5.name=t,_this5._attrs=function(t){t=C(t)?pi(t):new Map(t);var _iterator11=_createForOfIteratorHelper(t),_step11;try{for(_iterator11.s();!(_step11=_iterator11.n()).done;){var _step11$value=_slicedToArray(_step11.value,2),_e12=_step11$value[0],_n7=_step11$value[1];null===_n7?t[\"delete\"](_e12):\"string\"!=typeof _n7&&t.set(_e12,String(_n7));}}catch(err){_iterator11.e(err);}finally{_iterator11.f();}return t;}(e),_this5._children=[],n&&_this5._insertChild(0,n),_this5._classes=new Set(),_this5._attrs.has(\"class\")){var _t16=_this5._attrs.get(\"class\");vi(_this5._classes,_t16),_this5._attrs[\"delete\"](\"class\");}_this5._styles=new Map(),_this5._attrs.has(\"style\")&&(ki(_this5._styles,_this5._attrs.get(\"style\")),_this5._attrs[\"delete\"](\"style\")),_this5._customProperties=new Map();return _possibleConstructorReturn(_this5);}_createClass(_i,[{key:\"childCount\",get:function get(){return this._children.length;}},{key:\"isEmpty\",get:function get(){return 0===this._children.length;}},{key:\"is\",value:function is(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;return e?\"element\"==t&&e==this.name:\"element\"==t||t==this.name||_get(_getPrototypeOf(_i.prototype),\"is\",this).call(this,t);}},{key:\"getChild\",value:function getChild(t){return this._children[t];}},{key:\"getChildIndex\",value:function getChildIndex(t){return this._children.indexOf(t);}},{key:\"getChildren\",value:function getChildren(){return this._children[Symbol.iterator]();}},{key:\"getAttributeKeys\",value:/*#__PURE__*/_regeneratorRuntime().mark(function getAttributeKeys(){return _regeneratorRuntime().wrap(function getAttributeKeys$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.t0=this._classes.size>0;if(!_context.t0){_context.next=4;break;}_context.next=4;return\"class\";case 4:_context.t1=this._styles.size>0;if(!_context.t1){_context.next=8;break;}_context.next=8;return\"style\";case 8:return _context.delegateYield(this._attrs.keys(),\"t2\",9);case 9:case\"end\":return _context.stop();}},getAttributeKeys,this);})},{key:\"getAttributes\",value:/*#__PURE__*/_regeneratorRuntime().mark(function getAttributes(){return _regeneratorRuntime().wrap(function getAttributes$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:return _context2.delegateYield(this._attrs.entries(),\"t0\",1);case 1:_context2.t1=this._classes.size>0;if(!_context2.t1){_context2.next=5;break;}_context2.next=5;return[\"class\",this.getAttribute(\"class\")];case 5:_context2.t2=this._styles.size>0;if(!_context2.t2){_context2.next=9;break;}_context2.next=9;return[\"style\",this.getAttribute(\"style\")];case 9:case\"end\":return _context2.stop();}},getAttributes,this);})},{key:\"getAttribute\",value:function getAttribute(t){if(\"class\"==t)return this._classes.size>0?_toConsumableArray(this._classes).join(\" \"):void 0;if(\"style\"!=t)return this._attrs.get(t);if(this._styles.size>0){var _t17=\"\";var _iterator12=_createForOfIteratorHelper(this._styles),_step12;try{for(_iterator12.s();!(_step12=_iterator12.n()).done;){var _step12$value=_slicedToArray(_step12.value,2),_e13=_step12$value[0],_n8=_step12$value[1];_t17+=\"\".concat(_e13,\":\").concat(_n8,\";\");}}catch(err){_iterator12.e(err);}finally{_iterator12.f();}return _t17;}}},{key:\"hasAttribute\",value:function hasAttribute(t){return\"class\"==t?this._classes.size>0:\"style\"==t?this._styles.size>0:this._attrs.has(t);}},{key:\"isSimilar\",value:function isSimilar(t){if(!(t instanceof _i))return!1;if(this===t)return!0;if(this.name!=t.name)return!1;if(this._attrs.size!==t._attrs.size||this._classes.size!==t._classes.size||this._styles.size!==t._styles.size)return!1;var _iterator13=_createForOfIteratorHelper(this._attrs),_step13;try{for(_iterator13.s();!(_step13=_iterator13.n()).done;){var _step13$value=_slicedToArray(_step13.value,2),_e14=_step13$value[0],_n9=_step13$value[1];if(!t._attrs.has(_e14)||t._attrs.get(_e14)!==_n9)return!1;}}catch(err){_iterator13.e(err);}finally{_iterator13.f();}var _iterator14=_createForOfIteratorHelper(this._classes),_step14;try{for(_iterator14.s();!(_step14=_iterator14.n()).done;){var _e15=_step14.value;if(!t._classes.has(_e15))return!1;}}catch(err){_iterator14.e(err);}finally{_iterator14.f();}var _iterator15=_createForOfIteratorHelper(this._styles),_step15;try{for(_iterator15.s();!(_step15=_iterator15.n()).done;){var _step15$value=_slicedToArray(_step15.value,2),_e16=_step15$value[0],_n10=_step15$value[1];if(!t._styles.has(_e16)||t._styles.get(_e16)!==_n10)return!1;}}catch(err){_iterator15.e(err);}finally{_iterator15.f();}return!0;}},{key:\"hasClass\",value:function hasClass(){for(var _len8=arguments.length,t=new Array(_len8),_key8=0;_key8<_len8;_key8++){t[_key8]=arguments[_key8];}for(var _i11=0,_t18=t;_i11<_t18.length;_i11++){var _e17=_t18[_i11];if(!this._classes.has(_e17))return!1;}return!0;}},{key:\"getClassNames\",value:function getClassNames(){return this._classes.keys();}},{key:\"getStyle\",value:function getStyle(t){return this._styles.get(t);}},{key:\"getStyleNames\",value:function getStyleNames(){return this._styles.keys();}},{key:\"hasStyle\",value:function hasStyle(){for(var _len9=arguments.length,t=new Array(_len9),_key9=0;_key9<_len9;_key9++){t[_key9]=arguments[_key9];}for(var _i12=0,_t19=t;_i12<_t19.length;_i12++){var _e18=_t19[_i12];if(!this._styles.has(_e18))return!1;}return!0;}},{key:\"findAncestor\",value:function findAncestor(){for(var _len10=arguments.length,t=new Array(_len10),_key10=0;_key10<_len10;_key10++){t[_key10]=arguments[_key10];}var e=_construct(bi,t);var n=this.parent;for(;n;){if(e.match(n))return n;n=n.parent;}return null;}},{key:\"getCustomProperty\",value:function getCustomProperty(t){return this._customProperties.get(t);}},{key:\"getCustomProperties\",value:/*#__PURE__*/_regeneratorRuntime().mark(function getCustomProperties(){return _regeneratorRuntime().wrap(function getCustomProperties$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:return _context3.delegateYield(this._customProperties.entries(),\"t0\",1);case 1:case\"end\":return _context3.stop();}},getCustomProperties,this);})},{key:\"getIdentity\",value:function getIdentity(){var t=Array.from(this._classes).sort().join(\",\"),e=Array.from(this._styles).map(function(t){return\"\".concat(t[0],\":\").concat(t[1]);}).sort().join(\";\"),n=Array.from(this._attrs).map(function(t){return\"\".concat(t[0],\"=\\\"\").concat(t[1],\"\\\"\");}).sort().join(\" \");return this.name+(\"\"==t?\"\":\" class=\\\"\".concat(t,\"\\\"\"))+(\"\"==e?\"\":\" style=\\\"\".concat(e,\"\\\"\"))+(\"\"==n?\"\":\" \".concat(n));}},{key:\"_clone\",value:function _clone(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:!1;var e=[];if(t){var _iterator16=_createForOfIteratorHelper(this.getChildren()),_step16;try{for(_iterator16.s();!(_step16=_iterator16.n()).done;){var _n11=_step16.value;e.push(_n11._clone(t));}}catch(err){_iterator16.e(err);}finally{_iterator16.f();}}var n=new this.constructor(this.name,this._attrs,e);return n._classes=new Set(this._classes),n._styles=new Map(this._styles),n._customProperties=new Map(this._customProperties),n.getFillerOffset=this.getFillerOffset,n;}},{key:\"_appendChild\",value:function _appendChild(t){return this._insertChild(this.childCount,t);}},{key:\"_insertChild\",value:function _insertChild(t,e){this._fireChange(\"children\",this);var n=0;var i=function(t){if(\"string\"==typeof t)return[new fi(t)];gi(t)||(t=[t]);return Array.from(t).map(function(t){return\"string\"==typeof t?new fi(t):t instanceof mi?new fi(t.data):t;});}(e);var _iterator17=_createForOfIteratorHelper(i),_step17;try{for(_iterator17.s();!(_step17=_iterator17.n()).done;){var _e19=_step17.value;null!==_e19.parent&&_e19._remove(),_e19.parent=this,this._children.splice(t,0,_e19),t++,n++;}}catch(err){_iterator17.e(err);}finally{_iterator17.f();}return n;}},{key:\"_removeChildren\",value:function _removeChildren(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;this._fireChange(\"children\",this);for(var _n12=t;_n120&&(this._classes.clear(),!0):\"style\"==t?this._styles.size>0&&(this._styles.clear(),!0):this._attrs[\"delete\"](t);}},{key:\"_addClass\",value:function _addClass(t){var _this6=this;this._fireChange(\"attributes\",this),(t=Array.isArray(t)?t:[t]).forEach(function(t){return _this6._classes.add(t);});}},{key:\"_removeClass\",value:function _removeClass(t){var _this7=this;this._fireChange(\"attributes\",this),(t=Array.isArray(t)?t:[t]).forEach(function(t){return _this7._classes[\"delete\"](t);});}},{key:\"_setStyle\",value:function _setStyle(t,e){if(this._fireChange(\"attributes\",this),C(t)){var _e20=Object.keys(t);for(var _i13=0,_e21=_e20;_i13<_e21.length;_i13++){var _n13=_e21[_i13];this._styles.set(_n13,t[_n13]);}}else this._styles.set(t,e);}},{key:\"_removeStyle\",value:function _removeStyle(t){var _this8=this;this._fireChange(\"attributes\",this),(t=Array.isArray(t)?t:[t]).forEach(function(t){return _this8._styles[\"delete\"](t);});}},{key:\"_setCustomProperty\",value:function _setCustomProperty(t,e){this._customProperties.set(t,e);}},{key:\"_removeCustomProperty\",value:function _removeCustomProperty(t){return this._customProperties[\"delete\"](t);}}]);return _i;}(hi);function ki(t,e){var n=null,i=0,o=0,r=null;if(t.clear(),\"\"!==e){\";\"!=e.charAt(e.length-1)&&(e+=\";\");for(var _s2=0;_s21&&arguments[1]!==undefined?arguments[1]:null;return e?\"containerElement\"==t&&e==this.name||_get(_getPrototypeOf(yi.prototype),\"is\",this).call(this,t,e):\"containerElement\"==t||_get(_getPrototypeOf(yi.prototype),\"is\",this).call(this,t);}}]);return yi;}(_i);function xi(){var t=_toConsumableArray(this.getChildren()),e=t[this.childCount-1];if(e&&e.is(\"element\",\"br\"))return this.childCount;var _iterator18=_createForOfIteratorHelper(t),_step18;try{for(_iterator18.s();!(_step18=_iterator18.n()).done;){var _e22=_step18.value;if(!_e22.is(\"uiElement\"))return null;}}catch(err){_iterator18.e(err);}finally{_iterator18.f();}return this.childCount;}var Ai=function Ai(t){return t;};var Ci=function Ci(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2]);}return t.apply(e,n);},Ti=Math.max;var Pi=function Pi(t,e,n){return e=Ti(void 0===e?t.length-1:e,0),function(){for(var i=arguments,o=-1,r=Ti(i.length-e,0),s=Array(r);++o0){if(++e>=Si)return arguments[0];}else e=0;return t.apply(void 0,arguments);};}(Ei);var Ri=function Ri(t,e){return Oi(Pi(t,e,Ai),t+\"\");};var Di=function Di(t,e,n){if(!z(n))return!1;var i=_typeof(e);return!!(\"number\"==i?ue(n)&&Qt(e,n.length):\"string\"==i&&e in n)&&P(n[e],t);};var Li=function(t){return Ri(function(e,n){var i=-1,o=n.length,r=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(r=t.length>3&&\"function\"==typeof r?(o--,r):void 0,s&&Di(n[0],n[1],s)&&(r=o<3?void 0:r,o=1),e=Object(e);++i1)throw new Gn.b(\"observable-bind-to-no-callback: Binding multiple observables only possible with callback.\");if(i>1&&e.callback)throw new Gn.b(\"observable-bind-to-extra-callback: Cannot bind multiple properties and use a callback in one binding.\");e.to.forEach(function(t){if(t.properties.length&&t.properties.length!==i)throw new Gn.b(\"observable-bind-to-properties-length: The number of properties must match.\");t.properties.length||(t.properties=_this13._bindProperties);}),this._to=e.to,e.callback&&(this._bindings.get(n[0]).callback=e.callback),function(t,e){e.forEach(function(e){var n=t[Vi];var i;n.get(e.observable)||t.listenTo(e.observable,\"change\",function(o,r){(i=n.get(e.observable)[r])&&i.forEach(function(e){Yi(t,e.property);});});});}(this._observable,this._to),function(t){var e;t._bindings.forEach(function(n,i){t._to.forEach(function(o){e=o.properties[n.callback?0:t._bindProperties.indexOf(i)],n.to.push([o.observable,e]),function(t,e,n,i){var o=t[Vi],r=o.get(n),s=r||{};s[i]||(s[i]=new Set());s[i].add(e),r||o.set(n,s);}(t._observable,n,o.observable,e);});});}(this),this._bindProperties.forEach(function(t){Yi(_this13._observable,t);});}function qi(t,e,n){if(this._bindings.size>1)throw new Gn.b(\"observable-bind-to-many-not-one-binding: Cannot bind multiple properties with toMany().\");this.to.apply(this,_toConsumableArray(function(t,e){var n=t.map(function(t){return[t,e];});return Array.prototype.concat.apply([],n);}(t,e)).concat([n]));}function Wi(t){return t.every(function(t){return\"string\"==typeof t;});}function Yi(t,e){var n=t[Bi].get(e);var i;i=n.callback?n.callback.apply(t,n.to.map(function(t){return t[0][t[1]];})):(i=n.to[0])[0][i[1]],t.hasOwnProperty(e)?t[e]=i:t.set(e,i);}var $i=Symbol(\"document\");var Gi=/*#__PURE__*/function(_yi){_inherits(Gi,_yi);var _super5=_createSuper(Gi);function Gi(t,e,n){var _this14;_classCallCheck(this,Gi);_this14=_super5.call(this,t,e,n),_this14.set(\"isReadOnly\",!1),_this14.set(\"isFocused\",!1);return _this14;}_createClass(Gi,[{key:\"is\",value:function is(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;return e?\"editableElement\"==t&&e==this.name||_get(_getPrototypeOf(Gi.prototype),\"is\",this).call(this,t,e):\"editableElement\"==t||_get(_getPrototypeOf(Gi.prototype),\"is\",this).call(this,t);}},{key:\"destroy\",value:function destroy(){this.stopListening();}},{key:\"document\",get:function get(){return this.getCustomProperty($i);}},{key:\"_document\",set:function set(t){var _this15=this;if(this.getCustomProperty($i))throw new Gn.b(\"view-editableelement-document-already-set: View document is already set.\");this._setCustomProperty($i,t),this.bind(\"isReadOnly\").to(t),this.bind(\"isFocused\").to(t,\"isFocused\",function(e){return e&&t.selection.editableElement==_this15;}),this.listenTo(t.selection,\"change\",function(){_this15.isFocused=t.isFocused&&t.selection.editableElement==_this15;});}}]);return Gi;}(yi);ci(Gi,Fi);var Qi=Symbol(\"rootName\");var Ji=/*#__PURE__*/function(_Gi){_inherits(Ji,_Gi);var _super6=_createSuper(Ji);function Ji(t){var _this16;_classCallCheck(this,Ji);_this16=_super6.call(this,t),_this16.rootName=\"main\";return _this16;}_createClass(Ji,[{key:\"is\",value:function is(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;return e?\"rootElement\"==t&&e==this.name||_get(_getPrototypeOf(Ji.prototype),\"is\",this).call(this,t,e):\"rootElement\"==t||_get(_getPrototypeOf(Ji.prototype),\"is\",this).call(this,t);}},{key:\"rootName\",get:function get(){return this.getCustomProperty(Qi);},set:function set(t){this._setCustomProperty(Qi,t);}},{key:\"_name\",set:function set(t){this.name=t;}}]);return Ji;}(Gi);var Ki=/*#__PURE__*/function(_Symbol$iterator){function Ki(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Ki);if(!t.boundaries&&!t.startPosition)throw new Gn.b(\"view-tree-walker-no-start-position: Neither boundaries nor starting position have been defined.\");if(t.direction&&\"forward\"!=t.direction&&\"backward\"!=t.direction)throw new Gn.b(\"view-tree-walker-unknown-direction: Only `backward` and `forward` direction allowed.\",{direction:t.direction});this.boundaries=t.boundaries||null,t.startPosition?this.position=Zi._createAt(t.startPosition):this.position=Zi._createAt(t.boundaries[\"backward\"==t.direction?\"end\":\"start\"]),this.direction=t.direction||\"forward\",this.singleCharacters=!!t.singleCharacters,this.shallow=!!t.shallow,this.ignoreElementEnd=!!t.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null;}_createClass(Ki,[{key:_Symbol$iterator,value:function value(){return this;}},{key:\"skip\",value:function skip(t){var e,n,i;do{var _this$next;i=this.position,(_this$next=this.next(),e=_this$next.done,n=_this$next.value);}while(!e&&t(n));e||(this.position=i);}},{key:\"next\",value:function next(){return\"forward\"==this.direction?this._next():this._previous();}},{key:\"_next\",value:function _next(){var t=this.position.clone();var e=this.position,n=t.parent;if(null===n.parent&&t.offset===n.childCount)return{done:!0};if(n===this._boundaryEndParent&&t.offset==this.boundaries.end.offset)return{done:!0};var i;if(n instanceof fi){if(t.isAtEnd)return this.position=Zi._createAfter(n),this._next();i=n.data[t.offset];}else i=n.getChild(t.offset);if(i instanceof _i)return this.shallow?t.offset++:t=new Zi(i,0),this.position=t,this._formatReturnValue(\"elementStart\",i,e,t,1);if(i instanceof fi){if(this.singleCharacters)return t=new Zi(i,0),this.position=t,this._next();{var _n15,_o7=i.data.length;return i==this._boundaryEndParent?(_o7=this.boundaries.end.offset,_n15=new mi(i,0,_o7),t=Zi._createAfter(_n15)):(_n15=new mi(i,0,i.data.length),t.offset++),this.position=t,this._formatReturnValue(\"text\",_n15,e,t,_o7);}}if(\"string\"==typeof i){var _i15;if(this.singleCharacters)_i15=1;else{_i15=(n===this._boundaryEndParent?this.boundaries.end.offset:n.data.length)-t.offset;}var _o8=new mi(n,t.offset,_i15);return t.offset+=_i15,this.position=t,this._formatReturnValue(\"text\",_o8,e,t,_i15);}return t=Zi._createAfter(n),this.position=t,this.ignoreElementEnd?this._next():this._formatReturnValue(\"elementEnd\",n,e,t);}},{key:\"_previous\",value:function _previous(){var t=this.position.clone();var e=this.position,n=t.parent;if(null===n.parent&&0===t.offset)return{done:!0};if(n==this._boundaryStartParent&&t.offset==this.boundaries.start.offset)return{done:!0};var i;if(n instanceof fi){if(t.isAtStart)return this.position=Zi._createBefore(n),this._previous();i=n.data[t.offset-1];}else i=n.getChild(t.offset-1);if(i instanceof _i)return this.shallow?(t.offset--,this.position=t,this._formatReturnValue(\"elementStart\",i,e,t,1)):(t=new Zi(i,i.childCount),this.position=t,this.ignoreElementEnd?this._previous():this._formatReturnValue(\"elementEnd\",i,e,t));if(i instanceof fi){if(this.singleCharacters)return t=new Zi(i,i.data.length),this.position=t,this._previous();{var _n16,_o9=i.data.length;if(i==this._boundaryStartParent){var _e23=this.boundaries.start.offset;_o9=(_n16=new mi(i,_e23,i.data.length-_e23)).data.length,t=Zi._createBefore(_n16);}else _n16=new mi(i,0,i.data.length),t.offset--;return this.position=t,this._formatReturnValue(\"text\",_n16,e,t,_o9);}}if(\"string\"==typeof i){var _i16;if(this.singleCharacters)_i16=1;else{var _e24=n===this._boundaryStartParent?this.boundaries.start.offset:0;_i16=t.offset-_e24;}t.offset-=_i16;var _o10=new mi(n,t.offset,_i16);return this.position=t,this._formatReturnValue(\"text\",_o10,e,t,_i16);}return t=Zi._createBefore(n),this.position=t,this._formatReturnValue(\"elementStart\",n,e,t,1);}},{key:\"_formatReturnValue\",value:function _formatReturnValue(t,e,n,i,o){return e instanceof mi&&(e.offsetInText+e.data.length==e.textNode.data.length&&(\"forward\"!=this.direction||this.boundaries&&this.boundaries.end.isEqual(this.position)?n=Zi._createAfter(e.textNode):(i=Zi._createAfter(e.textNode),this.position=i)),0===e.offsetInText&&(\"backward\"!=this.direction||this.boundaries&&this.boundaries.start.isEqual(this.position)?n=Zi._createBefore(e.textNode):(i=Zi._createBefore(e.textNode),this.position=i))),{done:!1,value:{type:t,item:e,previousPosition:n,nextPosition:i,length:o}};}}]);return Ki;}(Symbol.iterator);var Zi=/*#__PURE__*/function(){function Zi(t,e){_classCallCheck(this,Zi);this.parent=t,this.offset=e;}_createClass(Zi,[{key:\"nodeAfter\",get:function get(){return this.parent.is(\"text\")?null:this.parent.getChild(this.offset)||null;}},{key:\"nodeBefore\",get:function get(){return this.parent.is(\"text\")?null:this.parent.getChild(this.offset-1)||null;}},{key:\"isAtStart\",get:function get(){return 0===this.offset;}},{key:\"isAtEnd\",get:function get(){var t=this.parent.is(\"text\")?this.parent.data.length:this.parent.childCount;return this.offset===t;}},{key:\"root\",get:function get(){return this.parent.root;}},{key:\"editableElement\",get:function get(){var t=this.parent;for(;!(t instanceof Gi);){if(!t.parent)return null;t=t.parent;}return t;}},{key:\"getShiftedBy\",value:function getShiftedBy(t){var e=Zi._createAt(this),n=e.offset+t;return e.offset=n<0?0:n,e;}},{key:\"getLastMatchingPosition\",value:function getLastMatchingPosition(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};e.startPosition=this;var n=new Ki(e);return n.skip(t),n.position;}},{key:\"getAncestors\",value:function getAncestors(){return this.parent.is(\"documentFragment\")?[this.parent]:this.parent.getAncestors({includeSelf:!0});}},{key:\"getCommonAncestor\",value:function getCommonAncestor(t){var e=this.getAncestors(),n=t.getAncestors();var i=0;for(;e[i]==n[i]&&e[i];)i++;return 0===i?null:e[i-1];}},{key:\"isEqual\",value:function isEqual(t){return this.parent==t.parent&&this.offset==t.offset;}},{key:\"isBefore\",value:function isBefore(t){return\"before\"==this.compareWith(t);}},{key:\"isAfter\",value:function isAfter(t){return\"after\"==this.compareWith(t);}},{key:\"compareWith\",value:function compareWith(t){if(this.root!==t.root)return\"different\";if(this.isEqual(t))return\"same\";var e=this.parent.is(\"node\")?this.parent.getPath():[],n=t.parent.is(\"node\")?t.parent.getPath():[];e.push(this.offset),n.push(t.offset);var i=li(e,n);switch(i){case\"prefix\":return\"before\";case\"extension\":return\"after\";default:return e[i]0&&arguments[0]!==undefined?arguments[0]:{};return t.startPosition=this,new Ki(t);}},{key:\"clone\",value:function clone(){return new Zi(this.parent,this.offset);}}],[{key:\"_createAt\",value:function _createAt(t,e){if(t instanceof Zi)return new this(t.parent,t.offset);{var _n17=t;if(\"end\"==e)e=_n17.is(\"text\")?_n17.data.length:_n17.childCount;else{if(\"before\"==e)return this._createBefore(_n17);if(\"after\"==e)return this._createAfter(_n17);if(0!==e&&!e)throw new Gn.b(\"view-createPositionAt-offset-required: View#createPositionAt() requires the offset when the first parameter is a view item.\");}return new Zi(_n17,e);}}},{key:\"_createAfter\",value:function _createAfter(t){if(t.is(\"textProxy\"))return new Zi(t.textNode,t.offsetInText+t.data.length);if(!t.parent)throw new Gn.b(\"view-position-after-root: You can not make position after root.\",{root:t});return new Zi(t.parent,t.index+1);}},{key:\"_createBefore\",value:function _createBefore(t){if(t.is(\"textProxy\"))return new Zi(t.textNode,t.offsetInText);if(!t.parent)throw new Gn.b(\"view-position-before-root: You can not make position before root.\",{root:t});return new Zi(t.parent,t.index);}}]);return Zi;}();var Xi=/*#__PURE__*/function(_Symbol$iterator2){function Xi(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;_classCallCheck(this,Xi);this.start=t.clone(),this.end=e?e.clone():t.clone();}_createClass(Xi,[{key:_Symbol$iterator2,value:/*#__PURE__*/_regeneratorRuntime().mark(function value(){return _regeneratorRuntime().wrap(function value$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:return _context4.delegateYield(new Ki({boundaries:this,ignoreElementEnd:!0}),\"t0\",1);case 1:case\"end\":return _context4.stop();}},value,this);})},{key:\"isCollapsed\",get:function get(){return this.start.isEqual(this.end);}},{key:\"isFlat\",get:function get(){return this.start.parent===this.end.parent;}},{key:\"root\",get:function get(){return this.start.root;}},{key:\"getEnlarged\",value:function getEnlarged(){var t=this.start.getLastMatchingPosition(to,{direction:\"backward\"}),e=this.end.getLastMatchingPosition(to);return t.parent.is(\"text\")&&t.isAtStart&&(t=Zi._createBefore(t.parent)),e.parent.is(\"text\")&&e.isAtEnd&&(e=Zi._createAfter(e.parent)),new Xi(t,e);}},{key:\"getTrimmed\",value:function getTrimmed(){var t=this.start.getLastMatchingPosition(to);if(t.isAfter(this.end)||t.isEqual(this.end))return new Xi(t,t);var e=this.end.getLastMatchingPosition(to,{direction:\"backward\"});var n=t.nodeAfter,i=e.nodeBefore;return n&&n.is(\"text\")&&(t=new Zi(n,0)),i&&i.is(\"text\")&&(e=new Zi(i,i.data.length)),new Xi(t,e);}},{key:\"isEqual\",value:function isEqual(t){return this==t||this.start.isEqual(t.start)&&this.end.isEqual(t.end);}},{key:\"containsPosition\",value:function containsPosition(t){return t.isAfter(this.start)&&t.isBefore(this.end);}},{key:\"containsRange\",value:function containsRange(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;t.isCollapsed&&(e=!1);var n=this.containsPosition(t.start)||e&&this.start.isEqual(t.start),i=this.containsPosition(t.end)||e&&this.end.isEqual(t.end);return n&&i;}},{key:\"getDifference\",value:function getDifference(t){var e=[];return this.isIntersecting(t)?(this.containsPosition(t.start)&&e.push(new Xi(this.start,t.start)),this.containsPosition(t.end)&&e.push(new Xi(t.end,this.end))):e.push(this.clone()),e;}},{key:\"getIntersection\",value:function getIntersection(t){if(this.isIntersecting(t)){var _e25=this.start,_n18=this.end;return this.containsPosition(t.start)&&(_e25=t.start),this.containsPosition(t.end)&&(_n18=t.end),new Xi(_e25,_n18);}return null;}},{key:\"getWalker\",value:function getWalker(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return t.boundaries=this,new Ki(t);}},{key:\"getCommonAncestor\",value:function getCommonAncestor(){return this.start.getCommonAncestor(this.end);}},{key:\"clone\",value:function clone(){return new Xi(this.start,this.end);}},{key:\"getItems\",value:function getItems(){var _this17=this;var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){var e,_iterator19,_step19,_t20;return _regeneratorRuntime().wrap(function _callee$(_context5){while(1)switch(_context5.prev=_context5.next){case 0:t.boundaries=_this17,t.ignoreElementEnd=!0;e=new Ki(t);_iterator19=_createForOfIteratorHelper(e);_context5.prev=3;_iterator19.s();case 5:if((_step19=_iterator19.n()).done){_context5.next=11;break;}_t20=_step19.value;_context5.next=9;return _t20.item;case 9:_context5.next=5;break;case 11:_context5.next=16;break;case 13:_context5.prev=13;_context5.t0=_context5[\"catch\"](3);_iterator19.e(_context5.t0);case 16:_context5.prev=16;_iterator19.f();return _context5.finish(16);case 19:case\"end\":return _context5.stop();}},_callee,null,[[3,13,16,19]]);})();}},{key:\"getPositions\",value:function getPositions(){var _this18=this;var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(){var e,_iterator20,_step20,_t21;return _regeneratorRuntime().wrap(function _callee2$(_context6){while(1)switch(_context6.prev=_context6.next){case 0:t.boundaries=_this18;e=new Ki(t);_context6.next=4;return e.position;case 4:_iterator20=_createForOfIteratorHelper(e);_context6.prev=5;_iterator20.s();case 7:if((_step20=_iterator20.n()).done){_context6.next=13;break;}_t21=_step20.value;_context6.next=11;return _t21.nextPosition;case 11:_context6.next=7;break;case 13:_context6.next=18;break;case 15:_context6.prev=15;_context6.t0=_context6[\"catch\"](5);_iterator20.e(_context6.t0);case 18:_context6.prev=18;_iterator20.f();return _context6.finish(18);case 21:case\"end\":return _context6.stop();}},_callee2,null,[[5,15,18,21]]);})();}},{key:\"isIntersecting\",value:function isIntersecting(t){return this.start.isBefore(t.end)&&this.end.isAfter(t.start);}}],[{key:\"_createFromParentsAndOffsets\",value:function _createFromParentsAndOffsets(t,e,n,i){return new this(new Zi(t,e),new Zi(n,i));}},{key:\"_createFromPositionAndShift\",value:function _createFromPositionAndShift(t,e){var n=t,i=t.getShiftedBy(e);return e>0?new this(n,i):new this(i,n);}},{key:\"_createIn\",value:function _createIn(t){return this._createFromParentsAndOffsets(t,0,t,t.childCount);}},{key:\"_createOn\",value:function _createOn(t){var e=t.is(\"textProxy\")?t.offsetSize:1;return this._createFromPositionAndShift(Zi._createBefore(t),e);}}]);return Xi;}(Symbol.iterator);function to(t){return!(!t.item.is(\"attributeElement\")&&!t.item.is(\"uiElement\"));}function eo(t){var e=0;var _iterator21=_createForOfIteratorHelper(t),_step21;try{for(_iterator21.s();!(_step21=_iterator21.n()).done;){var _n19=_step21.value;e++;}}catch(err){_iterator21.e(err);}finally{_iterator21.f();}return e;}var no=/*#__PURE__*/function(){function no(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;var e=arguments.length>1?arguments[1]:undefined;var n=arguments.length>2?arguments[2]:undefined;_classCallCheck(this,no);this._ranges=[],this._lastRangeBackward=!1,this._isFake=!1,this._fakeSelectionLabel=\"\",this.setTo(t,e,n);}_createClass(no,[{key:\"isFake\",get:function get(){return this._isFake;}},{key:\"fakeSelectionLabel\",get:function get(){return this._fakeSelectionLabel;}},{key:\"anchor\",get:function get(){if(!this._ranges.length)return null;var t=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?t.end:t.start).clone();}},{key:\"focus\",get:function get(){if(!this._ranges.length)return null;var t=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?t.start:t.end).clone();}},{key:\"isCollapsed\",get:function get(){return 1===this.rangeCount&&this._ranges[0].isCollapsed;}},{key:\"rangeCount\",get:function get(){return this._ranges.length;}},{key:\"isBackward\",get:function get(){return!this.isCollapsed&&this._lastRangeBackward;}},{key:\"editableElement\",get:function get(){return this.anchor?this.anchor.editableElement:null;}},{key:\"getRanges\",value:/*#__PURE__*/_regeneratorRuntime().mark(function getRanges(){var _iterator22,_step22,_t22;return _regeneratorRuntime().wrap(function getRanges$(_context7){while(1)switch(_context7.prev=_context7.next){case 0:_iterator22=_createForOfIteratorHelper(this._ranges);_context7.prev=1;_iterator22.s();case 3:if((_step22=_iterator22.n()).done){_context7.next=9;break;}_t22=_step22.value;_context7.next=7;return _t22.clone();case 7:_context7.next=3;break;case 9:_context7.next=14;break;case 11:_context7.prev=11;_context7.t0=_context7[\"catch\"](1);_iterator22.e(_context7.t0);case 14:_context7.prev=14;_iterator22.f();return _context7.finish(14);case 17:case\"end\":return _context7.stop();}},getRanges,this,[[1,11,14,17]]);})},{key:\"getFirstRange\",value:function getFirstRange(){var t=null;var _iterator23=_createForOfIteratorHelper(this._ranges),_step23;try{for(_iterator23.s();!(_step23=_iterator23.n()).done;){var _e26=_step23.value;t&&!_e26.start.isBefore(t.start)||(t=_e26);}}catch(err){_iterator23.e(err);}finally{_iterator23.f();}return t?t.clone():null;}},{key:\"getLastRange\",value:function getLastRange(){var t=null;var _iterator24=_createForOfIteratorHelper(this._ranges),_step24;try{for(_iterator24.s();!(_step24=_iterator24.n()).done;){var _e27=_step24.value;t&&!_e27.end.isAfter(t.end)||(t=_e27);}}catch(err){_iterator24.e(err);}finally{_iterator24.f();}return t?t.clone():null;}},{key:\"getFirstPosition\",value:function getFirstPosition(){var t=this.getFirstRange();return t?t.start.clone():null;}},{key:\"getLastPosition\",value:function getLastPosition(){var t=this.getLastRange();return t?t.end.clone():null;}},{key:\"isEqual\",value:function isEqual(t){if(this.isFake!=t.isFake)return!1;if(this.isFake&&this.fakeSelectionLabel!=t.fakeSelectionLabel)return!1;if(this.rangeCount!=t.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(t.anchor)||!this.focus.isEqual(t.focus))return!1;var _iterator25=_createForOfIteratorHelper(this._ranges),_step25;try{for(_iterator25.s();!(_step25=_iterator25.n()).done;){var _e28=_step25.value;var _n20=!1;var _iterator26=_createForOfIteratorHelper(t._ranges),_step26;try{for(_iterator26.s();!(_step26=_iterator26.n()).done;){var _i17=_step26.value;if(_e28.isEqual(_i17)){_n20=!0;break;}}}catch(err){_iterator26.e(err);}finally{_iterator26.f();}if(!_n20)return!1;}}catch(err){_iterator25.e(err);}finally{_iterator25.f();}return!0;}},{key:\"isSimilar\",value:function isSimilar(t){if(this.isBackward!=t.isBackward)return!1;var e=eo(this.getRanges());if(e!=eo(t.getRanges()))return!1;if(0==e)return!0;var _iterator27=_createForOfIteratorHelper(this.getRanges()),_step27;try{for(_iterator27.s();!(_step27=_iterator27.n()).done;){var _e29=_step27.value;_e29=_e29.getTrimmed();var _n21=!1;var _iterator28=_createForOfIteratorHelper(t.getRanges()),_step28;try{for(_iterator28.s();!(_step28=_iterator28.n()).done;){var _i18=_step28.value;if(_i18=_i18.getTrimmed(),_e29.start.isEqual(_i18.start)&&_e29.end.isEqual(_i18.end)){_n21=!0;break;}}}catch(err){_iterator28.e(err);}finally{_iterator28.f();}if(!_n21)return!1;}}catch(err){_iterator27.e(err);}finally{_iterator27.f();}return!0;}},{key:\"getSelectedElement\",value:function getSelectedElement(){if(1!==this.rangeCount)return null;var t=this.getFirstRange();var e=t.start.nodeAfter,n=t.end.nodeBefore;return t.start.parent.is(\"text\")&&t.start.isAtEnd&&t.start.parent.nextSibling&&(e=t.start.parent.nextSibling),t.end.parent.is(\"text\")&&t.end.isAtStart&&t.end.parent.previousSibling&&(n=t.end.parent.previousSibling),e instanceof _i&&e==n?e:null;}},{key:\"setTo\",value:function setTo(t,e,n){if(null===t)this._setRanges([]),this._setFakeOptions(e);else if(t instanceof no||t instanceof io)this._setRanges(t.getRanges(),t.isBackward),this._setFakeOptions({fake:t.isFake,label:t.fakeSelectionLabel});else if(t instanceof Xi)this._setRanges([t],e&&e.backward),this._setFakeOptions(e);else if(t instanceof Zi)this._setRanges([new Xi(t)]),this._setFakeOptions(e);else if(t instanceof hi){var _i19=!!n&&!!n.backward;var _o11;if(void 0===e)throw new Gn.b(\"view-selection-setTo-required-second-parameter: selection.setTo requires the second parameter when the first parameter is a node.\");_o11=\"in\"==e?Xi._createIn(t):\"on\"==e?Xi._createOn(t):new Xi(Zi._createAt(t,e)),this._setRanges([_o11],_i19),this._setFakeOptions(n);}else{if(!gi(t))throw new Gn.b(\"view-selection-setTo-not-selectable: Cannot set selection to given place.\");this._setRanges(t,e&&e.backward),this._setFakeOptions(e);}this.fire(\"change\");}},{key:\"setFocus\",value:function setFocus(t,e){if(null===this.anchor)throw new Gn.b(\"view-selection-setFocus-no-ranges: Cannot set selection focus if there are no ranges in selection.\");var n=Zi._createAt(t,e);if(\"same\"==n.compareWith(this.focus))return;var i=this.anchor;this._ranges.pop(),\"before\"==n.compareWith(i)?this._addRange(new Xi(n,i),!0):this._addRange(new Xi(i,n)),this.fire(\"change\");}},{key:\"is\",value:function is(t){return\"selection\"==t;}},{key:\"_setRanges\",value:function _setRanges(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;t=Array.from(t),this._ranges=[];var _iterator29=_createForOfIteratorHelper(t),_step29;try{for(_iterator29.s();!(_step29=_iterator29.n()).done;){var _e30=_step29.value;this._addRange(_e30);}}catch(err){_iterator29.e(err);}finally{_iterator29.f();}this._lastRangeBackward=!!e;}},{key:\"_setFakeOptions\",value:function _setFakeOptions(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};this._isFake=!!t.fake,this._fakeSelectionLabel=t.fake&&t.label||\"\";}},{key:\"_addRange\",value:function _addRange(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;if(!(t instanceof Xi))throw new Gn.b(\"view-selection-add-range-not-range: Selection range set to an object that is not an instance of view.Range\");this._pushRange(t),this._lastRangeBackward=!!e;}},{key:\"_pushRange\",value:function _pushRange(t){var _iterator30=_createForOfIteratorHelper(this._ranges),_step30;try{for(_iterator30.s();!(_step30=_iterator30.n()).done;){var _e31=_step30.value;if(t.isIntersecting(_e31))throw new Gn.b(\"view-selection-range-intersects: Trying to add a range that intersects with another range from selection.\",{addedRange:t,intersectingRange:_e31});}}catch(err){_iterator30.e(err);}finally{_iterator30.f();}this._ranges.push(new Xi(t.start,t.end));}}]);return no;}();ci(no,ei);var io=/*#__PURE__*/function(){function io(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;var e=arguments.length>1?arguments[1]:undefined;var n=arguments.length>2?arguments[2]:undefined;_classCallCheck(this,io);this._selection=new no(),this._selection.delegate(\"change\").to(this),this._selection.setTo(t,e,n);}_createClass(io,[{key:\"isFake\",get:function get(){return this._selection.isFake;}},{key:\"fakeSelectionLabel\",get:function get(){return this._selection.fakeSelectionLabel;}},{key:\"anchor\",get:function get(){return this._selection.anchor;}},{key:\"focus\",get:function get(){return this._selection.focus;}},{key:\"isCollapsed\",get:function get(){return this._selection.isCollapsed;}},{key:\"rangeCount\",get:function get(){return this._selection.rangeCount;}},{key:\"isBackward\",get:function get(){return this._selection.isBackward;}},{key:\"editableElement\",get:function get(){return this._selection.editableElement;}},{key:\"_ranges\",get:function get(){return this._selection._ranges;}},{key:\"getRanges\",value:/*#__PURE__*/_regeneratorRuntime().mark(function getRanges(){return _regeneratorRuntime().wrap(function getRanges$(_context8){while(1)switch(_context8.prev=_context8.next){case 0:return _context8.delegateYield(this._selection.getRanges(),\"t0\",1);case 1:case\"end\":return _context8.stop();}},getRanges,this);})},{key:\"getFirstRange\",value:function getFirstRange(){return this._selection.getFirstRange();}},{key:\"getLastRange\",value:function getLastRange(){return this._selection.getLastRange();}},{key:\"getFirstPosition\",value:function getFirstPosition(){return this._selection.getFirstPosition();}},{key:\"getLastPosition\",value:function getLastPosition(){return this._selection.getLastPosition();}},{key:\"getSelectedElement\",value:function getSelectedElement(){return this._selection.getSelectedElement();}},{key:\"isEqual\",value:function isEqual(t){return this._selection.isEqual(t);}},{key:\"isSimilar\",value:function isSimilar(t){return this._selection.isSimilar(t);}},{key:\"is\",value:function is(t){return\"selection\"==t||\"documentSelection\"==t;}},{key:\"_setTo\",value:function _setTo(t,e,n){this._selection.setTo(t,e,n);}},{key:\"_setFocus\",value:function _setFocus(t,e){this._selection.setFocus(t,e);}}]);return io;}();ci(io,ei);var oo=/*#__PURE__*/function(_Symbol$iterator3){function oo(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,oo);this._items=[],this._itemMap=new Map(),this._idProperty=t.idProperty||\"id\",this._bindToExternalToInternalMap=new WeakMap(),this._bindToInternalToExternalMap=new WeakMap(),this._skippedIndexesFromExternal=[];}_createClass(oo,[{key:\"length\",get:function get(){return this._items.length;}},{key:\"first\",get:function get(){return this._items[0]||null;}},{key:\"last\",get:function get(){return this._items[this.length-1]||null;}},{key:\"add\",value:function add(t,e){var n;var i=this._idProperty;if(i in t){if(\"string\"!=typeof(n=t[i]))throw new Gn.b(\"collection-add-invalid-id\");if(this.get(n))throw new Gn.b(\"collection-add-item-already-exists\");}else t[i]=n=Kn();if(void 0===e)e=this._items.length;else if(e>this._items.length||e<0)throw new Gn.b(\"collection-add-item-invalid-index\");return this._items.splice(e,0,t),this._itemMap.set(n,t),this.fire(\"add\",t,e),this;}},{key:\"get\",value:function get(t){var e;if(\"string\"==typeof t)e=this._itemMap.get(t);else{if(\"number\"!=typeof t)throw new Gn.b(\"collection-get-invalid-arg: Index or id must be given.\");e=this._items[t];}return e||null;}},{key:\"has\",value:function has(t){if(\"string\"==typeof t)return this._itemMap.has(t);{var _e32=t[this._idProperty];return this._itemMap.has(_e32);}}},{key:\"getIndex\",value:function getIndex(t){var e;return e=\"string\"==typeof t?this._itemMap.get(t):t,this._items.indexOf(e);}},{key:\"remove\",value:function remove(t){var e,n,i,o=!1;var r=this._idProperty;if(\"string\"==typeof t?(n=t,o=!(i=this._itemMap.get(n)),i&&(e=this._items.indexOf(i))):\"number\"==typeof t?(e=t,o=!(i=this._items[e]),i&&(n=i[r])):(n=(i=t)[r],o=-1==(e=this._items.indexOf(i))||!this._itemMap.get(n)),o)throw new Gn.b(\"collection-remove-404: Item not found.\");this._items.splice(e,1),this._itemMap[\"delete\"](n);var s=this._bindToInternalToExternalMap.get(i);return this._bindToInternalToExternalMap[\"delete\"](i),this._bindToExternalToInternalMap[\"delete\"](s),this.fire(\"remove\",i,e),i;}},{key:\"map\",value:function map(t,e){return this._items.map(t,e);}},{key:\"find\",value:function find(t,e){return this._items.find(t,e);}},{key:\"filter\",value:function filter(t,e){return this._items.filter(t,e);}},{key:\"clear\",value:function clear(){for(this._bindToCollection&&(this.stopListening(this._bindToCollection),this._bindToCollection=null);this.length;)this.remove(0);}},{key:\"bindTo\",value:function bindTo(t){var _this19=this;if(this._bindToCollection)throw new Gn.b(\"collection-bind-to-rebind: The collection cannot be bound more than once.\");return this._bindToCollection=t,{as:function as(t){_this19._setUpBindToBinding(function(e){return new t(e);});},using:function using(t){\"function\"==typeof t?_this19._setUpBindToBinding(function(e){return t(e);}):_this19._setUpBindToBinding(function(e){return e[t];});}};}},{key:\"_setUpBindToBinding\",value:function _setUpBindToBinding(t){var _this20=this;var e=this._bindToCollection,n=function n(_n23,i,o){var r=e._bindToCollection==_this20,s=e._bindToInternalToExternalMap.get(i);if(r&&s)_this20._bindToExternalToInternalMap.set(i,s),_this20._bindToInternalToExternalMap.set(s,i);else{var _n22=t(i);if(!_n22)return void _this20._skippedIndexesFromExternal.push(o);var _r2=o;var _iterator31=_createForOfIteratorHelper(_this20._skippedIndexesFromExternal),_step31;try{for(_iterator31.s();!(_step31=_iterator31.n()).done;){var _t24=_step31.value;o>_t24&&_r2--;}}catch(err){_iterator31.e(err);}finally{_iterator31.f();}var _iterator32=_createForOfIteratorHelper(e._skippedIndexesFromExternal),_step32;try{for(_iterator32.s();!(_step32=_iterator32.n()).done;){var _t25=_step32.value;_r2>=_t25&&_r2++;}}catch(err){_iterator32.e(err);}finally{_iterator32.f();}_this20._bindToExternalToInternalMap.set(i,_n22),_this20._bindToInternalToExternalMap.set(_n22,i),_this20.add(_n22,_r2);for(var _t23=0;_t23e&&t.push(e),t;},[]);});}},{key:_Symbol$iterator3,value:function value(){return this._items[Symbol.iterator]();}}]);return oo;}(Symbol.iterator);ci(oo,ei);var ro=/*#__PURE__*/function(){function ro(){_classCallCheck(this,ro);this.selection=new io(),this.roots=new oo({idProperty:\"rootName\"}),this.set(\"isReadOnly\",!1),this.set(\"isFocused\",!1),this.set(\"isComposing\",!1),this._postFixers=new Set();}_createClass(ro,[{key:\"getRoot\",value:function getRoot(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:\"main\";return this.roots.get(t);}},{key:\"registerPostFixer\",value:function registerPostFixer(t){this._postFixers.add(t);}},{key:\"destroy\",value:function destroy(){this.roots.map(function(t){return t.destroy();}),this.stopListening();}},{key:\"_callPostFixers\",value:function _callPostFixers(t){var e=!1;do{var _iterator34=_createForOfIteratorHelper(this._postFixers),_step34;try{for(_iterator34.s();!(_step34=_iterator34.n()).done;){var _n24=_step34.value;if(e=_n24(t))break;}}catch(err){_iterator34.e(err);}finally{_iterator34.f();}}while(e);}}]);return ro;}();ci(ro,Fi);var so=10;var ao=/*#__PURE__*/function(_i20){_inherits(ao,_i20);var _super7=_createSuper(ao);function ao(t,e,n){var _this21;_classCallCheck(this,ao);_this21=_super7.call(this,t,e,n),_this21.getFillerOffset=co,_this21._priority=so,_this21._id=null,_this21._clonesGroup=null;return _this21;}_createClass(ao,[{key:\"priority\",get:function get(){return this._priority;}},{key:\"id\",get:function get(){return this._id;}},{key:\"getElementsWithSameId\",value:function getElementsWithSameId(){if(null===this.id)throw new Gn.b(\"attribute-element-get-elements-with-same-id-no-id: Cannot get elements with the same id for an attribute element without id.\");return new Set(this._clonesGroup);}},{key:\"is\",value:function is(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;return e?\"attributeElement\"==t&&e==this.name||_get(_getPrototypeOf(ao.prototype),\"is\",this).call(this,t,e):\"attributeElement\"==t||_get(_getPrototypeOf(ao.prototype),\"is\",this).call(this,t);}},{key:\"isSimilar\",value:function isSimilar(t){return null!==this.id||null!==t.id?this.id===t.id:_get(_getPrototypeOf(ao.prototype),\"isSimilar\",this).call(this,t)&&this.priority==t.priority;}},{key:\"_clone\",value:function _clone(t){var e=_get(_getPrototypeOf(ao.prototype),\"_clone\",this).call(this,t);return e._priority=this._priority,e._id=this._id,e;}}]);return ao;}(_i);function co(){if(lo(this))return null;var t=this.parent;for(;t&&t.is(\"attributeElement\");){if(lo(t)>1)return null;t=t.parent;}return!t||lo(t)>1?null:this.childCount;}function lo(t){return Array.from(t.getChildren()).filter(function(t){return!t.is(\"uiElement\");}).length;}ao.DEFAULT_PRIORITY=so;var uo=/*#__PURE__*/function(_i21){_inherits(uo,_i21);var _super8=_createSuper(uo);function uo(t,e,n){var _this22;_classCallCheck(this,uo);_this22=_super8.call(this,t,e,n),_this22.getFillerOffset=ho;return _this22;}_createClass(uo,[{key:\"is\",value:function is(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;return e?\"emptyElement\"==t&&e==this.name||_get(_getPrototypeOf(uo.prototype),\"is\",this).call(this,t,e):\"emptyElement\"==t||_get(_getPrototypeOf(uo.prototype),\"is\",this).call(this,t);}},{key:\"_insertChild\",value:function _insertChild(t,e){if(e&&(e instanceof hi||Array.from(e).length>0))throw new Gn.b(\"view-emptyelement-cannot-add: Cannot add child nodes to EmptyElement instance.\");}}]);return uo;}(_i);function ho(){return null;}var fo=navigator.userAgent.toLowerCase();var mo={isMac:function(t){return t.indexOf(\"macintosh\")>-1;}(fo),isEdge:function(t){return!!t.match(/edge\\/(\\d+.?\\d*)/);}(fo),isGecko:function(t){return!!t.match(/gecko\\/\\d+/);}(fo)};var po={\"⌘\":\"ctrl\",\"⇧\":\"shift\",\"⌥\":\"alt\"},go={ctrl:\"⌘\",shift:\"⇧\",alt:\"⌥\"},bo=function(){var t={arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,backspace:8,\"delete\":46,enter:13,space:32,esc:27,tab:9,ctrl:1114112,cmd:1114112,shift:2228224,alt:4456448};for(var _e33=65;_e33<=90;_e33++){var _n25=String.fromCharCode(_e33);t[_n25.toLowerCase()]=_e33;}for(var _e34=48;_e34<=57;_e34++)t[_e34-48]=_e34;for(var _e35=112;_e35<=123;_e35++)t[\"f\"+(_e35-111)]=_e35;return t;}();function wo(t){var e;if(\"string\"==typeof t){if(!(e=bo[t.toLowerCase()]))throw new Gn.b(\"keyboard-unknown-key: Unknown key name.\",{key:t});}else e=t.keyCode+(t.altKey?bo.alt:0)+(t.ctrlKey?bo.ctrl:0)+(t.shiftKey?bo.shift:0);return e;}function _o(t){return\"string\"==typeof t&&(t=ko(t)),t.map(function(t){return\"string\"==typeof t?wo(t):t;}).reduce(function(t,e){return e+t;},0);}function ko(t){return t.split(/\\s*\\+\\s*/);}var vo=/*#__PURE__*/function(_i22){_inherits(vo,_i22);var _super9=_createSuper(vo);function vo(t,e,n){var _this23;_classCallCheck(this,vo);_this23=_super9.call(this,t,e,n),_this23.getFillerOffset=xo;return _this23;}_createClass(vo,[{key:\"is\",value:function is(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;return e?\"uiElement\"==t&&e==this.name||_get(_getPrototypeOf(vo.prototype),\"is\",this).call(this,t,e):\"uiElement\"==t||_get(_getPrototypeOf(vo.prototype),\"is\",this).call(this,t);}},{key:\"_insertChild\",value:function _insertChild(t,e){if(e&&(e instanceof hi||Array.from(e).length>0))throw new Gn.b(\"view-uielement-cannot-add: Cannot add child nodes to UIElement instance.\");}},{key:\"render\",value:function render(t){return this.toDomElement(t);}},{key:\"toDomElement\",value:function toDomElement(t){var e=t.createElement(this.name);var _iterator35=_createForOfIteratorHelper(this.getAttributeKeys()),_step35;try{for(_iterator35.s();!(_step35=_iterator35.n()).done;){var _t27=_step35.value;e.setAttribute(_t27,this.getAttribute(_t27));}}catch(err){_iterator35.e(err);}finally{_iterator35.f();}return e;}}]);return vo;}(_i);function yo(t){t.document.on(\"keydown\",function(e,n){return function(t,e,n){if(e.keyCode==bo.arrowright){var _t28=e.domTarget.ownerDocument.defaultView.getSelection(),_i23=1==_t28.rangeCount&&_t28.getRangeAt(0).collapsed;if(_i23||e.shiftKey){var _e36=_t28.focusNode,_o12=_t28.focusOffset,_r3=n.domPositionToView(_e36,_o12);if(null===_r3)return;var _s3=!1;var _a3=_r3.getLastMatchingPosition(function(t){return t.item.is(\"uiElement\")&&(_s3=!0),!(!t.item.is(\"uiElement\")&&!t.item.is(\"attributeElement\"));});if(_s3){var _e37=n.viewPositionToDom(_a3);_i23?_t28.collapse(_e37.parent,_e37.offset):_t28.extend(_e37.parent,_e37.offset);}}}}(0,n,t.domConverter);});}function xo(){return null;}var Ao=/*#__PURE__*/function(_Symbol$iterator4){function Ao(t){_classCallCheck(this,Ao);this._children=[],t&&this._insertChild(0,t);}_createClass(Ao,[{key:_Symbol$iterator4,value:function value(){return this._children[Symbol.iterator]();}},{key:\"childCount\",get:function get(){return this._children.length;}},{key:\"isEmpty\",get:function get(){return 0===this.childCount;}},{key:\"root\",get:function get(){return this;}},{key:\"parent\",get:function get(){return null;}},{key:\"is\",value:function is(t){return\"documentFragment\"==t;}},{key:\"_appendChild\",value:function _appendChild(t){return this._insertChild(this.childCount,t);}},{key:\"getChild\",value:function getChild(t){return this._children[t];}},{key:\"getChildIndex\",value:function getChildIndex(t){return this._children.indexOf(t);}},{key:\"getChildren\",value:function getChildren(){return this._children[Symbol.iterator]();}},{key:\"_insertChild\",value:function _insertChild(t,e){this._fireChange(\"children\",this);var n=0;var i=function(t){if(\"string\"==typeof t)return[new fi(t)];gi(t)||(t=[t]);return Array.from(t).map(function(t){return\"string\"==typeof t?new fi(t):t instanceof mi?new fi(t.data):t;});}(e);var _iterator36=_createForOfIteratorHelper(i),_step36;try{for(_iterator36.s();!(_step36=_iterator36.n()).done;){var _e38=_step36.value;null!==_e38.parent&&_e38._remove(),_e38.parent=this,this._children.splice(t,0,_e38),t++,n++;}}catch(err){_iterator36.e(err);}finally{_iterator36.f();}return n;}},{key:\"_removeChildren\",value:function _removeChildren(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;this._fireChange(\"children\",this);for(var _n26=t;_n262&&arguments[2]!==undefined?arguments[2]:{};var i=new ao(t,e);return n.priority&&(i._priority=n.priority),n.id&&(i._id=n.id),i;}},{key:\"createContainerElement\",value:function createContainerElement(t,e){return new yi(t,e);}},{key:\"createEditableElement\",value:function createEditableElement(t,e){var n=new Gi(t,e);return n._document=this.document,n;}},{key:\"createEmptyElement\",value:function createEmptyElement(t,e){return new uo(t,e);}},{key:\"createUIElement\",value:function createUIElement(t,e,n){var i=new vo(t,e);return n&&(i.render=n),i;}},{key:\"setAttribute\",value:function setAttribute(t,e,n){n._setAttribute(t,e);}},{key:\"removeAttribute\",value:function removeAttribute(t,e){e._removeAttribute(t);}},{key:\"addClass\",value:function addClass(t,e){e._addClass(t);}},{key:\"removeClass\",value:function removeClass(t,e){e._removeClass(t);}},{key:\"setStyle\",value:function setStyle(t,e,n){C(t)&&void 0===n&&(n=e),n._setStyle(t,e);}},{key:\"removeStyle\",value:function removeStyle(t,e){e._removeStyle(t);}},{key:\"setCustomProperty\",value:function setCustomProperty(t,e,n){n._setCustomProperty(t,e);}},{key:\"removeCustomProperty\",value:function removeCustomProperty(t,e){return e._removeCustomProperty(t);}},{key:\"breakAttributes\",value:function breakAttributes(t){return t instanceof Zi?this._breakAttributes(t):this._breakAttributesRange(t);}},{key:\"breakContainer\",value:function breakContainer(t){var e=t.parent;if(!e.is(\"containerElement\"))throw new Gn.b(\"view-writer-break-non-container-element: Trying to break an element which is not a container element.\");if(!e.parent)throw new Gn.b(\"view-writer-break-root: Trying to break root element.\");if(t.isAtStart)return Zi._createBefore(e);if(!t.isAtEnd){var _n27=e._clone(!1);this.insert(Zi._createAfter(e),_n27);var _i24=new Xi(t,Zi._createAt(e,\"end\")),_o13=new Zi(_n27,0);this.move(_i24,_o13);}return Zi._createAfter(e);}},{key:\"mergeAttributes\",value:function mergeAttributes(t){var e=t.offset,n=t.parent;if(n.is(\"text\"))return t;if(n.is(\"attributeElement\")&&0===n.childCount){var _t29=n.parent,_e39=n.index;return n._remove(),this._removeFromClonedElementsGroup(n),this.mergeAttributes(new Zi(_t29,_e39));}var i=n.getChild(e-1),o=n.getChild(e);if(!i||!o)return t;if(i.is(\"text\")&&o.is(\"text\"))return So(i,o);if(i.is(\"attributeElement\")&&o.is(\"attributeElement\")&&i.isSimilar(o)){var _t30=i.childCount;return i._appendChild(o.getChildren()),o._remove(),this._removeFromClonedElementsGroup(o),this.mergeAttributes(new Zi(i,_t30));}return t;}},{key:\"mergeContainers\",value:function mergeContainers(t){var e=t.nodeBefore,n=t.nodeAfter;if(!(e&&n&&e.is(\"containerElement\")&&n.is(\"containerElement\")))throw new Gn.b(\"view-writer-merge-containers-invalid-position: Element before and after given position cannot be merged.\");var i=e.getChild(e.childCount-1),o=i instanceof fi?Zi._createAt(i,\"end\"):Zi._createAt(e,\"end\");return this.move(Xi._createIn(n),Zi._createAt(e,\"end\")),this.remove(Xi._createOn(n)),o;}},{key:\"insert\",value:function insert(t,e){(function t(e){var _iterator37=_createForOfIteratorHelper(e),_step37;try{var _loop=function _loop(){var n=_step37.value;if(!Io.some(function(t){return n instanceof t;}))throw new Gn.b(\"view-writer-insert-invalid-node\");n.is(\"text\")||t(n.getChildren());};for(_iterator37.s();!(_step37=_iterator37.n()).done;){_loop();}}catch(err){_iterator37.e(err);}finally{_iterator37.f();}})(e=gi(e)?_toConsumableArray(e):[e]);var n=To(t);if(!n)throw new Gn.b(\"view-writer-invalid-position-container\");var i=this._breakAttributes(t,!0),o=n._insertChild(i.offset,e);var _iterator38=_createForOfIteratorHelper(e),_step38;try{for(_iterator38.s();!(_step38=_iterator38.n()).done;){var _t32=_step38.value;this._addToClonedElementsGroup(_t32);}}catch(err){_iterator38.e(err);}finally{_iterator38.f();}var r=i.getShiftedBy(o),s=this.mergeAttributes(i);if(0===o)return new Xi(s,s);{s.isEqual(i)||r.offset--;var _t31=this.mergeAttributes(r);return new Xi(s,_t31);}}},{key:\"remove\",value:function remove(t){var e=t instanceof Xi?t:Xi._createOn(t);if(Oo(e),e.isCollapsed)return new Ao();var _this$_breakAttribute=this._breakAttributesRange(e,!0),n=_this$_breakAttribute.start,i=_this$_breakAttribute.end,o=n.parent,r=i.offset-n.offset,s=o._removeChildren(n.offset,r);var _iterator39=_createForOfIteratorHelper(s),_step39;try{for(_iterator39.s();!(_step39=_iterator39.n()).done;){var _t33=_step39.value;this._removeFromClonedElementsGroup(_t33);}}catch(err){_iterator39.e(err);}finally{_iterator39.f();}var a=this.mergeAttributes(n);return e.start=a,e.end=a.clone(),new Ao(s);}},{key:\"clear\",value:function clear(t,e){Oo(t);var n=t.getWalker({direction:\"backward\",ignoreElementEnd:!0});var _iterator40=_createForOfIteratorHelper(n),_step40;try{for(_iterator40.s();!(_step40=_iterator40.n()).done;){var _i25=_step40.value;var _n28=_i25.item;var _o14=void 0;if(_n28.is(\"element\")&&e.isSimilar(_n28))_o14=Xi._createOn(_n28);else if(!_i25.nextPosition.isAfter(t.start)&&_n28.is(\"textProxy\")){var _t34=_n28.getAncestors().find(function(t){return t.is(\"element\")&&e.isSimilar(t);});_t34&&(_o14=Xi._createIn(_t34));}_o14&&(_o14.end.isAfter(t.end)&&(_o14.end=t.end),_o14.start.isBefore(t.start)&&(_o14.start=t.start),this.remove(_o14));}}catch(err){_iterator40.e(err);}finally{_iterator40.f();}}},{key:\"move\",value:function move(t,e){var n;if(e.isAfter(t.end)){var _i26=(e=this._breakAttributes(e,!0)).parent,_o15=_i26.childCount;t=this._breakAttributesRange(t,!0),n=this.remove(t),e.offset+=_i26.childCount-_o15;}else n=this.remove(t);return this.insert(e,n);}},{key:\"wrap\",value:function wrap(t,e){if(!(e instanceof ao))throw new Gn.b(\"view-writer-wrap-invalid-attribute\");if(Oo(t),t.isCollapsed){var _n29=t.start;_n29.parent.is(\"element\")&&!function(t){return Array.from(t.getChildren()).some(function(t){return!t.is(\"uiElement\");});}(_n29.parent)&&(_n29=_n29.getLastMatchingPosition(function(t){return t.item.is(\"uiElement\");})),_n29=this._wrapPosition(_n29,e);var _i27=this.document.selection;return _i27.isCollapsed&&_i27.getFirstPosition().isEqual(t.start)&&this.setSelection(_n29),new Xi(_n29);}return this._wrapRange(t,e);}},{key:\"unwrap\",value:function unwrap(t,e){if(!(e instanceof ao))throw new Gn.b(\"view-writer-unwrap-invalid-attribute\");if(Oo(t),t.isCollapsed)return t;var _this$_breakAttribute2=this._breakAttributesRange(t,!0),n=_this$_breakAttribute2.start,i=_this$_breakAttribute2.end;if(i.isEqual(n.getShiftedBy(1))){var _t35=n.nodeAfter;if(!e.isSimilar(_t35)&&_t35 instanceof ao&&this._unwrapAttributeElement(e,_t35)){var _t36=this.mergeAttributes(n);_t36.isEqual(n)||i.offset--;var _e40=this.mergeAttributes(i);return new Xi(_t36,_e40);}}var o=n.parent,r=this._unwrapChildren(o,n.offset,i.offset,e),s=this.mergeAttributes(r.start);s.isEqual(r.start)||r.end.offset--;var a=this.mergeAttributes(r.end);return new Xi(s,a);}},{key:\"rename\",value:function rename(t,e){var n=new yi(t,e.getAttributes());return this.insert(Zi._createAfter(e),n),this.move(Xi._createIn(e),Zi._createAt(n,0)),this.remove(Xi._createOn(e)),n;}},{key:\"clearClonedElementsGroup\",value:function clearClonedElementsGroup(t){this._cloneGroups[\"delete\"](t);}},{key:\"createPositionAt\",value:function createPositionAt(t,e){return Zi._createAt(t,e);}},{key:\"createPositionAfter\",value:function createPositionAfter(t){return Zi._createAfter(t);}},{key:\"createPositionBefore\",value:function createPositionBefore(t){return Zi._createBefore(t);}},{key:\"createRange\",value:function createRange(t,e){return new Xi(t,e);}},{key:\"createRangeOn\",value:function createRangeOn(t){return Xi._createOn(t);}},{key:\"createRangeIn\",value:function createRangeIn(t){return Xi._createIn(t);}},{key:\"createSelection\",value:function createSelection(t,e,n){return new no(t,e,n);}},{key:\"_wrapChildren\",value:function _wrapChildren(t,e,n,i){var o=e;var r=[];for(;o1&&arguments[1]!==undefined?arguments[1]:!1;var n=t.start,i=t.end;if(Oo(t),t.isCollapsed){var _n41=this._breakAttributes(t.start,e);return new Xi(_n41,_n41);}var o=this._breakAttributes(i,e),r=o.parent.childCount,s=this._breakAttributes(n,e);return o.offset+=o.parent.childCount-r,new Xi(s,o);}},{key:\"_breakAttributes\",value:function _breakAttributes(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;var n=t.offset,i=t.parent;if(t.parent.is(\"emptyElement\"))throw new Gn.b(\"view-writer-cannot-break-empty-element\");if(t.parent.is(\"uiElement\"))throw new Gn.b(\"view-writer-cannot-break-ui-element\");if(!e&&i.is(\"text\")&&No(i.parent))return t.clone();if(No(i))return t.clone();if(i.is(\"text\"))return this._breakAttributes(Eo(t),e);if(n==i.childCount){var _t41=new Zi(i.parent,i.index+1);return this._breakAttributes(_t41,e);}if(0===n){var _t42=new Zi(i.parent,i.index);return this._breakAttributes(_t42,e);}{var _t43=i.index+1,_o16=i._clone();i.parent._insertChild(_t43,_o16),this._addToClonedElementsGroup(_o16);var _r6=i.childCount-n,_s6=i._removeChildren(n,_r6);_o16._appendChild(_s6);var _a5=new Zi(i.parent,_t43);return this._breakAttributes(_a5,e);}}},{key:\"_addToClonedElementsGroup\",value:function _addToClonedElementsGroup(t){if(!t.root.is(\"rootElement\"))return;if(t.is(\"element\")){var _iterator49=_createForOfIteratorHelper(t.getChildren()),_step49;try{for(_iterator49.s();!(_step49=_iterator49.n()).done;){var _e45=_step49.value;this._addToClonedElementsGroup(_e45);}}catch(err){_iterator49.e(err);}finally{_iterator49.f();}}var e=t.id;if(!e)return;var n=this._cloneGroups.get(e);n||(n=new Set(),this._cloneGroups.set(e,n)),n.add(t),t._clonesGroup=n;}},{key:\"_removeFromClonedElementsGroup\",value:function _removeFromClonedElementsGroup(t){if(t.is(\"element\")){var _iterator50=_createForOfIteratorHelper(t.getChildren()),_step50;try{for(_iterator50.s();!(_step50=_iterator50.n()).done;){var _e46=_step50.value;this._removeFromClonedElementsGroup(_e46);}}catch(err){_iterator50.e(err);}finally{_iterator50.f();}}var e=t.id;if(!e)return;var n=this._cloneGroups.get(e);n&&n[\"delete\"](t);}}]);return Co;}();function To(t){var e=t.parent;for(;!No(e);){if(!e)return;e=e.parent;}return e;}function Po(t,e){return t.prioritye.priority)&&t.getIdentity()3&&arguments[3]!==undefined?arguments[3]:!1;n=n||function(t,e){return t===e;},Array.isArray(t)||(t=Array.from(t)),Array.isArray(e)||(e=Array.from(e));var o=function(t,e,n){var i=$o(t,e,n);if(-1===i)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};var o=Go(t,i),r=Go(e,i),s=$o(o,r,n),a=t.length-s,c=e.length-s;return{firstIndex:i,lastIndexOld:a,lastIndexNew:c};}(t,e,n);return i?function(t,e){var n=t.firstIndex,i=t.lastIndexOld,o=t.lastIndexNew;if(-1===n)return Array(e).fill(\"equal\");var r=[];n>0&&(r=r.concat(Array(n).fill(\"equal\")));o-n>0&&(r=r.concat(Array(o-n).fill(\"insert\")));i-n>0&&(r=r.concat(Array(i-n).fill(\"delete\")));o0&&n.push({index:i,type:\"insert\",values:t.slice(i,r)});o-i>0&&n.push({index:i+(r-i),type:\"delete\",howMany:o-i});return n;}(e,o);}function $o(t,e,n){for(var _i32=0;_i32200||o>200||i+o>300)return Qo.fastDiff(t,e,n,!0);var r,s;if(ol?-1:1;d[i+h]&&(d[i]=d[i+h].slice(0)),d[i]||(d[i]=[]),d[i].push(o>l?r:s);var f=Math.max(o,l),m=f-i;for(;ml;f--)u[f]=h(f);u[l]=h(l),m++;}while(u[l]!==c);return d[l].slice(1);}function Jo(t,e,n){t.insertBefore(n,t.childNodes[e]||null);}function Ko(t){var e=t.parentNode;e&&e.removeChild(t);}function Zo(t){if(t){if(t.defaultView)return t instanceof t.defaultView.Document;if(t.ownerDocument&&t.ownerDocument.defaultView)return t instanceof t.ownerDocument.defaultView.Node;}return!1;}Qo.fastDiff=Yo;var Xo=/*#__PURE__*/function(){function Xo(t,e){_classCallCheck(this,Xo);this.domDocuments=new Set(),this.domConverter=t,this.markedAttributes=new Set(),this.markedChildren=new Set(),this.markedTexts=new Set(),this.selection=e,this.isFocused=!1,this._inlineFiller=null,this._fakeSelectionContainer=null;}_createClass(Xo,[{key:\"markToSync\",value:function markToSync(t,e){if(\"text\"===t)this.domConverter.mapViewToDom(e.parent)&&this.markedTexts.add(e);else{if(!this.domConverter.mapViewToDom(e))return;if(\"attributes\"===t)this.markedAttributes.add(e);else{if(\"children\"!==t)throw new Gn.b(\"view-renderer-unknown-type: Unknown type passed to Renderer.markToSync.\");this.markedChildren.add(e);}}}},{key:\"render\",value:function render(){var t;var _iterator51=_createForOfIteratorHelper(this.markedChildren),_step51;try{for(_iterator51.s();!(_step51=_iterator51.n()).done;){var _t46=_step51.value;this._updateChildrenMappings(_t46);}}catch(err){_iterator51.e(err);}finally{_iterator51.f();}this._inlineFiller&&!this._isSelectionInInlineFiller()&&this._removeInlineFiller(),this._inlineFiller?t=this._getInlineFillerPosition():this._needsInlineFillerAtSelection()&&(t=this.selection.getFirstPosition(),this.markedChildren.add(t.parent));var _iterator52=_createForOfIteratorHelper(this.markedAttributes),_step52;try{for(_iterator52.s();!(_step52=_iterator52.n()).done;){var _t47=_step52.value;this._updateAttrs(_t47);}}catch(err){_iterator52.e(err);}finally{_iterator52.f();}var _iterator53=_createForOfIteratorHelper(this.markedChildren),_step53;try{for(_iterator53.s();!(_step53=_iterator53.n()).done;){var _e49=_step53.value;this._updateChildren(_e49,{inlineFillerPosition:t});}}catch(err){_iterator53.e(err);}finally{_iterator53.f();}var _iterator54=_createForOfIteratorHelper(this.markedTexts),_step54;try{for(_iterator54.s();!(_step54=_iterator54.n()).done;){var _e50=_step54.value;!this.markedChildren.has(_e50.parent)&&this.domConverter.mapViewToDom(_e50.parent)&&this._updateText(_e50,{inlineFillerPosition:t});}}catch(err){_iterator54.e(err);}finally{_iterator54.f();}if(t){var _e48=this.domConverter.viewPositionToDom(t),_n44=_e48.parent.ownerDocument;zo(_e48.parent)?this._inlineFiller=_e48.parent:this._inlineFiller=tr(_n44,_e48.parent,_e48.offset);}else this._inlineFiller=null;this._updateSelection(),this._updateFocus(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear();}},{key:\"_updateChildrenMappings\",value:function _updateChildrenMappings(t){var e=this.domConverter.mapViewToDom(t);if(!e)return;var n=this.domConverter.mapViewToDom(t).childNodes,i=Array.from(this.domConverter.viewChildrenToDom(t,e.ownerDocument,{withChildren:!1})),o=this._diffNodeLists(n,i),r=this._findReplaceActions(o,n,i);if(-1!==r.indexOf(\"replace\")){var _e51={equal:0,insert:0,\"delete\":0};var _iterator55=_createForOfIteratorHelper(r),_step55;try{for(_iterator55.s();!(_step55=_iterator55.n()).done;){var _o17=_step55.value;if(\"replace\"===_o17){var _o18=_e51.equal+_e51.insert,_r7=_e51.equal+_e51[\"delete\"],_s7=t.getChild(_o18);_s7&&!_s7.is(\"uiElement\")&&this._updateElementMappings(_s7,n[_r7]),Ko(i[_o18]),_e51.equal++;}else _e51[_o17]++;}}catch(err){_iterator55.e(err);}finally{_iterator55.f();}}}},{key:\"_updateElementMappings\",value:function _updateElementMappings(t,e){this.domConverter.unbindDomElement(e),this.domConverter.bindElements(e,t),this.markedChildren.add(t),this.markedAttributes.add(t);}},{key:\"_getInlineFillerPosition\",value:function _getInlineFillerPosition(){var t=this.selection.getFirstPosition();return t.parent.is(\"text\")?Zi._createBefore(this.selection.getFirstPosition().parent):t;}},{key:\"_isSelectionInInlineFiller\",value:function _isSelectionInInlineFiller(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;var t=this.selection.getFirstPosition(),e=this.domConverter.viewPositionToDom(t);return!!(e&&Do(e.parent)&&zo(e.parent));}},{key:\"_removeInlineFiller\",value:function _removeInlineFiller(){var t=this._inlineFiller;if(!zo(t))throw new Gn.b(\"view-renderer-filler-was-lost: The inline filler node was lost.\");Fo(t)?t.parentNode.removeChild(t):t.data=t.data.substr(Vo),this._inlineFiller=null;}},{key:\"_needsInlineFillerAtSelection\",value:function _needsInlineFillerAtSelection(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;var t=this.selection.getFirstPosition(),e=t.parent,n=t.offset;if(!this.domConverter.mapViewToDom(e.root))return!1;if(!e.is(\"element\"))return!1;if(!function(t){if(\"false\"==t.getAttribute(\"contenteditable\"))return!1;var e=t.findAncestor(function(t){return t.hasAttribute(\"contenteditable\");});return!e||\"true\"==e.getAttribute(\"contenteditable\");}(e))return!1;if(n===e.getFillerOffset())return!1;var i=t.nodeBefore,o=t.nodeAfter;return!(i instanceof fi||o instanceof fi);}},{key:\"_updateText\",value:function _updateText(t,e){var n=this.domConverter.findCorrespondingDomText(t),i=this.domConverter.viewToDom(t,n.ownerDocument),o=n.data;var r=i.data;var s=e.inlineFillerPosition;if(s&&s.parent==t.parent&&s.offset==t.index&&(r=Bo+r),o!=r){var _t48=Yo(o,r);var _iterator56=_createForOfIteratorHelper(_t48),_step56;try{for(_iterator56.s();!(_step56=_iterator56.n()).done;){var _e52=_step56.value;\"insert\"===_e52.type?n.insertData(_e52.index,_e52.values.join(\"\")):n.deleteData(_e52.index,_e52.howMany);}}catch(err){_iterator56.e(err);}finally{_iterator56.f();}}}},{key:\"_updateAttrs\",value:function _updateAttrs(t){var e=this.domConverter.mapViewToDom(t);if(!e)return;var n=Array.from(e.attributes).map(function(t){return t.name;}),i=t.getAttributeKeys();var _iterator57=_createForOfIteratorHelper(i),_step57;try{for(_iterator57.s();!(_step57=_iterator57.n()).done;){var _n45=_step57.value;e.setAttribute(_n45,t.getAttribute(_n45));}}catch(err){_iterator57.e(err);}finally{_iterator57.f();}var _iterator58=_createForOfIteratorHelper(n),_step58;try{for(_iterator58.s();!(_step58=_iterator58.n()).done;){var _i33=_step58.value;t.hasAttribute(_i33)||e.removeAttribute(_i33);}}catch(err){_iterator58.e(err);}finally{_iterator58.f();}}},{key:\"_updateChildren\",value:function _updateChildren(t,e){var n=this.domConverter.mapViewToDom(t);if(!n)return;var i=e.inlineFillerPosition,o=this.domConverter.mapViewToDom(t).childNodes,r=Array.from(this.domConverter.viewChildrenToDom(t,n.ownerDocument,{bind:!0,inlineFillerPosition:i}));i&&i.parent===t&&tr(n.ownerDocument,r,i.offset);var s=this._diffNodeLists(o,r);var a=0;var c=new Set();var _iterator59=_createForOfIteratorHelper(s),_step59;try{for(_iterator59.s();!(_step59=_iterator59.n()).done;){var _t49=_step59.value;\"insert\"===_t49?(Jo(n,a,r[a]),a++):\"delete\"===_t49?(c.add(o[a]),Ko(o[a])):(this._markDescendantTextToSync(this.domConverter.domToView(r[a])),a++);}}catch(err){_iterator59.e(err);}finally{_iterator59.f();}var _iterator60=_createForOfIteratorHelper(c),_step60;try{for(_iterator60.s();!(_step60=_iterator60.n()).done;){var _t50=_step60.value;_t50.parentNode||this.domConverter.unbindDomElement(_t50);}}catch(err){_iterator60.e(err);}finally{_iterator60.f();}}},{key:\"_diffNodeLists\",value:function _diffNodeLists(t,e){return Qo(t=function(t,e){var n=Array.from(t);if(0==n.length||!e)return n;n[n.length-1]==e&&n.pop();return n;}(t,this._fakeSelectionContainer),e,function(t,e,n){if(e===n)return!0;if(Do(e)&&Do(n))return e.data===n.data;if(qo(e,t)&&qo(n,t))return!0;return!1;}.bind(null,this.domConverter.blockFiller));}},{key:\"_findReplaceActions\",value:function _findReplaceActions(t,e,n){if(-1===t.indexOf(\"insert\")||-1===t.indexOf(\"delete\"))return t;var i=[],o=[],r=[];var s={equal:0,insert:0,\"delete\":0};var _iterator61=_createForOfIteratorHelper(t),_step61;try{for(_iterator61.s();!(_step61=_iterator61.n()).done;){var _a6=_step61.value;\"insert\"===_a6?r.push(n[s.equal+s.insert]):\"delete\"===_a6?o.push(e[s.equal+s[\"delete\"]]):((i=i.concat(Qo(o,r,er).map(function(t){return\"equal\"===t?\"replace\":t;}))).push(\"equal\"),o=[],r=[]),s[_a6]++;}}catch(err){_iterator61.e(err);}finally{_iterator61.f();}return i.concat(Qo(o,r,er).map(function(t){return\"equal\"===t?\"replace\":t;}));}},{key:\"_markDescendantTextToSync\",value:function _markDescendantTextToSync(t){if(t)if(t.is(\"text\"))this.markedTexts.add(t);else if(t.is(\"element\")){var _iterator62=_createForOfIteratorHelper(t.getChildren()),_step62;try{for(_iterator62.s();!(_step62=_iterator62.n()).done;){var _e53=_step62.value;this._markDescendantTextToSync(_e53);}}catch(err){_iterator62.e(err);}finally{_iterator62.f();}}}},{key:\"_updateSelection\",value:function _updateSelection(){if(0===this.selection.rangeCount)return this._removeDomSelection(),void this._removeFakeSelection();var t=this.domConverter.mapViewToDom(this.selection.editableElement);this.isFocused&&t&&(this.selection.isFake?this._updateFakeSelection(t):(this._removeFakeSelection(),this._updateDomSelection(t)));}},{key:\"_updateFakeSelection\",value:function _updateFakeSelection(t){var e=t.ownerDocument;var n=this._fakeSelectionContainer;n||(this._fakeSelectionContainer=n=e.createElement(\"div\"),Object.assign(n.style,{position:\"fixed\",top:0,left:\"-9999px\",width:\"42px\"}),n.appendChild(e.createTextNode(\" \"))),n.parentElement&&n.parentElement==t||t.appendChild(n),n.firstChild.data=this.selection.fakeSelectionLabel||\" \";var i=e.getSelection(),o=e.createRange();i.removeAllRanges(),o.selectNodeContents(n),i.addRange(o),this.domConverter.bindFakeSelection(n,this.selection);}},{key:\"_updateDomSelection\",value:function _updateDomSelection(t){var e=t.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(e))return;var n=this.domConverter.viewPositionToDom(this.selection.anchor),i=this.domConverter.viewPositionToDom(this.selection.focus);t.focus(),e.collapse(n.parent,n.offset),e.extend(i.parent,i.offset),mo.isGecko&&function(t,e){var n=t.parent;if(n.nodeType!=Node.ELEMENT_NODE||t.offset!=n.childNodes.length-1)return;var i=n.childNodes[t.offset];i&&\"BR\"==i.tagName&&e.addRange(e.getRangeAt(0));}(i,e);}},{key:\"_domSelectionNeedsUpdate\",value:function _domSelectionNeedsUpdate(t){if(!this.domConverter.isDomSelectionCorrect(t))return!0;var e=t&&this.domConverter.domSelectionToView(t);return(!e||!this.selection.isEqual(e))&&!(!this.selection.isCollapsed&&this.selection.isSimilar(e));}},{key:\"_removeDomSelection\",value:function _removeDomSelection(){var _iterator63=_createForOfIteratorHelper(this.domDocuments),_step63;try{for(_iterator63.s();!(_step63=_iterator63.n()).done;){var _t51=_step63.value;if(_t51.getSelection().rangeCount){var _e54=_t51.activeElement,_n46=this.domConverter.mapDomToView(_e54);_e54&&_n46&&_t51.getSelection().removeAllRanges();}}}catch(err){_iterator63.e(err);}finally{_iterator63.f();}}},{key:\"_removeFakeSelection\",value:function _removeFakeSelection(){var t=this._fakeSelectionContainer;t&&t.remove();}},{key:\"_updateFocus\",value:function _updateFocus(){if(this.isFocused){var _t52=this.selection.editableElement;_t52&&this.domConverter.focus(_t52);}}}]);return Xo;}();function tr(t,e,n){var i=e instanceof Array?e:e.childNodes,o=i[n];if(Do(o))return o.data=Bo+o.data,o;{var _o19=t.createTextNode(Bo);return Array.isArray(e)?i.splice(n,0,_o19):Jo(e,n,_o19),_o19;}}function er(t,e){return Zo(t)&&Zo(e)&&!Do(t)&&!Do(e)&&t.tagName.toLowerCase()===e.tagName.toLowerCase();}ci(Xo,Fi);var nr={window:window,document:document};function ir(t){var e=0;for(;t.previousSibling;)t=t.previousSibling,e++;return e;}function or(t){var e=[];for(;t&&t.nodeType!=Node.DOCUMENT_NODE;)e.unshift(t),t=t.parentNode;return e;}var rr=/*#__PURE__*/function(){function rr(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,rr);this.blockFiller=t.blockFiller||Lo,this.preElements=[\"pre\"],this.blockElements=[\"p\",\"div\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"],this._domToViewMapping=new WeakMap(),this._viewToDomMapping=new WeakMap(),this._fakeSelectionMapping=new WeakMap();}_createClass(rr,[{key:\"bindFakeSelection\",value:function bindFakeSelection(t,e){this._fakeSelectionMapping.set(t,new no(e));}},{key:\"fakeSelectionToView\",value:function fakeSelectionToView(t){return this._fakeSelectionMapping.get(t);}},{key:\"bindElements\",value:function bindElements(t,e){this._domToViewMapping.set(t,e),this._viewToDomMapping.set(e,t);}},{key:\"unbindDomElement\",value:function unbindDomElement(t){var e=this._domToViewMapping.get(t);if(e){this._domToViewMapping[\"delete\"](t),this._viewToDomMapping[\"delete\"](e);for(var _i34=0,_Array$from=Array.from(t.childNodes);_i34<_Array$from.length;_i34++){var _e55=_Array$from[_i34];this.unbindDomElement(_e55);}}}},{key:\"bindDocumentFragments\",value:function bindDocumentFragments(t,e){this._domToViewMapping.set(t,e),this._viewToDomMapping.set(e,t);}},{key:\"viewToDom\",value:function viewToDom(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};if(t.is(\"text\")){var _n47=this._processDataFromViewText(t);return e.createTextNode(_n47);}{if(this.mapViewToDom(t))return this.mapViewToDom(t);var _i35;if(t.is(\"documentFragment\"))_i35=e.createDocumentFragment(),n.bind&&this.bindDocumentFragments(_i35,t);else{if(t.is(\"uiElement\"))return _i35=t.render(e),n.bind&&this.bindElements(_i35,t),_i35;_i35=e.createElement(t.name),n.bind&&this.bindElements(_i35,t);var _iterator64=_createForOfIteratorHelper(t.getAttributeKeys()),_step64;try{for(_iterator64.s();!(_step64=_iterator64.n()).done;){var _e56=_step64.value;_i35.setAttribute(_e56,t.getAttribute(_e56));}}catch(err){_iterator64.e(err);}finally{_iterator64.f();}}if(n.withChildren||void 0===n.withChildren){var _iterator65=_createForOfIteratorHelper(this.viewChildrenToDom(t,e,n)),_step65;try{for(_iterator65.s();!(_step65=_iterator65.n()).done;){var _o20=_step65.value;_i35.appendChild(_o20);}}catch(err){_iterator65.e(err);}finally{_iterator65.f();}}return _i35;}}},{key:\"viewChildrenToDom\",value:function viewChildrenToDom(t,e){var _this24=this;var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(){var i,o,_iterator66,_step66,_r8;return _regeneratorRuntime().wrap(function _callee3$(_context9){while(1)switch(_context9.prev=_context9.next){case 0:i=t.getFillerOffset&&t.getFillerOffset();o=0;_iterator66=_createForOfIteratorHelper(t.getChildren());_context9.prev=3;_iterator66.s();case 5:if((_step66=_iterator66.n()).done){_context9.next=16;break;}_r8=_step66.value;_context9.t0=i===o;if(!_context9.t0){_context9.next=11;break;}_context9.next=11;return _this24.blockFiller(e);case 11:_context9.next=13;return _this24.viewToDom(_r8,e,n);case 13:o++;case 14:_context9.next=5;break;case 16:_context9.next=21;break;case 18:_context9.prev=18;_context9.t1=_context9[\"catch\"](3);_iterator66.e(_context9.t1);case 21:_context9.prev=21;_iterator66.f();return _context9.finish(21);case 24:_context9.t2=i===o;if(!_context9.t2){_context9.next=28;break;}_context9.next=28;return _this24.blockFiller(e);case 28:case\"end\":return _context9.stop();}},_callee3,null,[[3,18,21,24]]);})();}},{key:\"viewRangeToDom\",value:function viewRangeToDom(t){var e=this.viewPositionToDom(t.start),n=this.viewPositionToDom(t.end),i=document.createRange();return i.setStart(e.parent,e.offset),i.setEnd(n.parent,n.offset),i;}},{key:\"viewPositionToDom\",value:function viewPositionToDom(t){var e=t.parent;if(e.is(\"text\")){var _n48=this.findCorrespondingDomText(e);if(!_n48)return null;var _i36=t.offset;return zo(_n48)&&(_i36+=Vo),{parent:_n48,offset:_i36};}{var _n49,_i37,_o21;if(0===t.offset){if(!(_n49=this.mapViewToDom(e)))return null;_o21=_n49.childNodes[0];}else{var _e57=t.nodeBefore;if(!(_i37=_e57.is(\"text\")?this.findCorrespondingDomText(_e57):this.mapViewToDom(t.nodeBefore)))return null;_n49=_i37.parentNode,_o21=_i37.nextSibling;}if(Do(_o21)&&zo(_o21))return{parent:_o21,offset:Vo};return{parent:_n49,offset:_i37?ir(_i37)+1:0};}}},{key:\"domToView\",value:function domToView(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};if(qo(t,this.blockFiller))return null;var n=this.getParentUIElement(t,this._domToViewMapping);if(n)return n;if(Do(t)){if(Fo(t))return null;{var _e58=this._processDataFromDomText(t);return\"\"===_e58?null:new fi(_e58);}}if(this.isComment(t))return null;{if(this.mapDomToView(t))return this.mapDomToView(t);var _n50;if(this.isDocumentFragment(t))_n50=new Ao(),e.bind&&this.bindDocumentFragments(t,_n50);else{var _i38=e.keepOriginalCase?t.tagName:t.tagName.toLowerCase();_n50=new _i(_i38),e.bind&&this.bindElements(t,_n50);var _o22=t.attributes;for(var _t53=_o22.length-1;_t53>=0;_t53--)_n50._setAttribute(_o22[_t53].name,_o22[_t53].value);}if(e.withChildren||void 0===e.withChildren){var _iterator67=_createForOfIteratorHelper(this.domChildrenToView(t,e)),_step67;try{for(_iterator67.s();!(_step67=_iterator67.n()).done;){var _i39=_step67.value;_n50._appendChild(_i39);}}catch(err){_iterator67.e(err);}finally{_iterator67.f();}}return _n50;}}},{key:\"domChildrenToView\",value:function domChildrenToView(t){var _this25=this;var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(){var _n51,_i40,_o23;return _regeneratorRuntime().wrap(function _callee4$(_context10){while(1)switch(_context10.prev=_context10.next){case 0:_n51=0;case 1:if(!(_n511?_len15-1:0),_key15=1;_key15<_len15;_key15++){e[_key15-1]=arguments[_key15];}if(Zo(t)||cr(t)){var _n58=this._getProxyEmitter(t)||new dr(t);_n58.attach.apply(_n58,e),t=_n58;}(_ei$listenTo=ei.listenTo).call.apply(_ei$listenTo,[this,t].concat(e));},stopListening:function stopListening(t,e,n){if(Zo(t)||cr(t)){var _e64=this._getProxyEmitter(t);if(!_e64)return;t=_e64;}ei.stopListening.call(this,t,e,n),t instanceof dr&&t.detach(e);},_getProxyEmitter:function _getProxyEmitter(t){return function(t,e){return t[Xn]&&t[Xn][e]?t[Xn][e].emitter:null;}(this,ur(t));}});var dr=/*#__PURE__*/_createClass(function dr(t){_classCallCheck(this,dr);ni(this,ur(t)),this._domNode=t;});function ur(t){return t[\"data-ck-expando\"]||(t[\"data-ck-expando\"]=Kn());}Li(dr.prototype,ei,{attach:function attach(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};if(this._domListeners&&this._domListeners[t])return;var i=this._createDomListener(t,!!n.useCapture);this._domNode.addEventListener(t,i,!!n.useCapture),this._domListeners||(this._domListeners={}),this._domListeners[t]=i;},detach:function detach(t){var e;!this._domListeners[t]||(e=this._events[t])&&e.callbacks.length||this._domListeners[t].removeListener();},_createDomListener:function _createDomListener(t,e){var _this28=this;var n=function n(e){_this28.fire(t,e);};return n.removeListener=function(){_this28._domNode.removeEventListener(t,n,e),delete _this28._domListeners[t];},n;}});var hr=/*#__PURE__*/function(){function hr(t){_classCallCheck(this,hr);this.view=t,this.document=t.document,this.isEnabled=!1;}_createClass(hr,[{key:\"enable\",value:function enable(){this.isEnabled=!0;}},{key:\"disable\",value:function disable(){this.isEnabled=!1;}},{key:\"destroy\",value:function destroy(){this.disable(),this.stopListening();}}]);return hr;}();ci(hr,lr);var fr=\"__lodash_hash_undefined__\";var mr=function mr(t){return this.__data__.set(t,fr),this;};var pr=function pr(t){return this.__data__.has(t);};function gr(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Pt();++ea))return!1;var l=r.get(t);if(l&&r.get(e))return l==e;var d=-1,u=!0,h=n&vr?new br():void 0;for(r.set(t,e),r.set(e,t);++d=e||n<0||u&&t-l>=r;}function p(){var t=ns();if(m(t))return g(t);a=setTimeout(p,function(t){var n=e-(t-c);return u?ms(n,r-(t-l)):n;}(t));}function g(t){return a=void 0,h&&i?f(t):(i=o=void 0,s);}function b(){var t=ns(),n=m(t);if(i=arguments,o=this,c=t,n){if(void 0===a)return function(t){return l=t,a=setTimeout(p,e),d?f(t):s;}(c);if(u)return a=setTimeout(p,e),f(c);}return void 0===a&&(a=setTimeout(p,e)),s;}return e=us(e)||0,z(n)&&(d=!!n.leading,r=(u=\"maxWait\"in n)?fs(us(n.maxWait)||0,e):r,h=\"trailing\"in n?!!n.trailing:h),b.cancel=function(){void 0!==a&&clearTimeout(a),l=0,i=c=o=a=void 0;},b.flush=function(){return void 0===a?s:g(ns());},b;};var gs=/*#__PURE__*/function(_hr3){_inherits(gs,_hr3);var _super13=_createSuper(gs);function gs(t){var _this33;_classCallCheck(this,gs);_this33=_super13.call(this,t),_this33._fireSelectionChangeDoneDebounced=ps(function(t){return _this33.document.fire(\"selectionChangeDone\",t);},200);return _this33;}_createClass(gs,[{key:\"observe\",value:function observe(){var _this34=this;var t=this.document;t.on(\"keydown\",function(e,n){t.selection.isFake&&function(t){return t==bo.arrowright||t==bo.arrowleft||t==bo.arrowup||t==bo.arrowdown;}(n.keyCode)&&_this34.isEnabled&&(n.preventDefault(),_this34._handleSelectionMove(n.keyCode));},{priority:\"lowest\"});}},{key:\"destroy\",value:function destroy(){_get(_getPrototypeOf(gs.prototype),\"destroy\",this).call(this),this._fireSelectionChangeDoneDebounced.cancel();}},{key:\"_handleSelectionMove\",value:function _handleSelectionMove(t){var e=this.document.selection,n=new no(e.getRanges(),{backward:e.isBackward,fake:!1});t!=bo.arrowleft&&t!=bo.arrowup||n.setTo(n.getFirstPosition()),t!=bo.arrowright&&t!=bo.arrowdown||n.setTo(n.getLastPosition());var i={oldSelection:e,newSelection:n,domSelection:null};this.document.fire(\"selectionChange\",i),this._fireSelectionChangeDoneDebounced(i);}}]);return gs;}(hr);var bs=n(1);var ws=/*#__PURE__*/function(_hr4){_inherits(ws,_hr4);var _super14=_createSuper(ws);function ws(t){var _this35;_classCallCheck(this,ws);_this35=_super14.call(this,t),_this35.mutationObserver=t.getObserver(Zr),_this35.selection=_this35.document.selection,_this35.domConverter=t.domConverter,_this35._documents=new WeakSet(),_this35._fireSelectionChangeDoneDebounced=ps(function(t){return _this35.document.fire(\"selectionChangeDone\",t);},200),_this35._clearInfiniteLoopInterval=setInterval(function(){return _this35._clearInfiniteLoop();},1e3),_this35._loopbackCounter=0;return _this35;}_createClass(ws,[{key:\"observe\",value:function observe(t){var _this36=this;var e=t.ownerDocument;this._documents.has(e)||(this.listenTo(e,\"selectionchange\",function(){_this36._handleSelectionChange(e);}),this._documents.add(e));}},{key:\"destroy\",value:function destroy(){_get(_getPrototypeOf(ws.prototype),\"destroy\",this).call(this),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel();}},{key:\"_handleSelectionChange\",value:function _handleSelectionChange(t){if(!this.isEnabled||!this.document.isFocused&&!this.document.isReadOnly)return;this.mutationObserver.flush();var e=t.defaultView.getSelection(),n=this.domConverter.domSelectionToView(e);if(!this.selection.isEqual(n)||!this.domConverter.isDomSelectionCorrect(e))if(++this._loopbackCounter>60)bs.a.warn(\"selectionchange-infinite-loop: Selection change observer detected an infinite rendering loop.\");else if(this.selection.isSimilar(n))this.view.forceRender();else{var _t66={oldSelection:this.selection,newSelection:n,domSelection:e};this.document.fire(\"selectionChange\",_t66),this._fireSelectionChangeDoneDebounced(_t66);}}},{key:\"_clearInfiniteLoop\",value:function _clearInfiniteLoop(){this._loopbackCounter=0;}}]);return ws;}(hr);var _s=/*#__PURE__*/function(_ts2){_inherits(_s,_ts2);var _super15=_createSuper(_s);function _s(t){var _this37;_classCallCheck(this,_s);_this37=_super15.call(this,t),_this37.domEventType=[\"focus\",\"blur\"],_this37.useCapture=!0;var e=_this37.document;e.on(\"focus\",function(){e.isFocused=!0,_this37._renderTimeoutId=setTimeout(function(){return t.forceRender();},50);}),e.on(\"blur\",function(n,i){var o=e.selection.editableElement;null!==o&&o!==i.target||(e.isFocused=!1,t.forceRender());});return _this37;}_createClass(_s,[{key:\"onDomEvent\",value:function onDomEvent(t){this.fire(t.type,t);}},{key:\"destroy\",value:function destroy(){this._renderTimeoutId&&clearTimeout(this._renderTimeoutId),_get(_getPrototypeOf(_s.prototype),\"destroy\",this).call(this);}}]);return _s;}(ts);var ks=/*#__PURE__*/function(_ts3){_inherits(ks,_ts3);var _super16=_createSuper(ks);function ks(t){var _this38;_classCallCheck(this,ks);_this38=_super16.call(this,t),_this38.domEventType=[\"compositionstart\",\"compositionupdate\",\"compositionend\"];var e=_this38.document;e.on(\"compositionstart\",function(){e.isComposing=!0;}),e.on(\"compositionend\",function(){e.isComposing=!1;});return _this38;}_createClass(ks,[{key:\"onDomEvent\",value:function onDomEvent(t){this.fire(t.type,t);}}]);return ks;}(ts);function vs(t){return\"[object Range]\"==Object.prototype.toString.apply(t);}function ys(t){var e=t.ownerDocument.defaultView.getComputedStyle(t);return{top:parseInt(e.borderTopWidth,10),right:parseInt(e.borderRightWidth,10),bottom:parseInt(e.borderBottomWidth,10),left:parseInt(e.borderLeftWidth,10)};}var xs=[\"top\",\"right\",\"bottom\",\"left\",\"width\",\"height\"];var As=/*#__PURE__*/function(){function As(t){_classCallCheck(this,As);var e=vs(t);if(Object.defineProperty(this,\"_source\",{value:t._source||t,writable:!0,enumerable:!1}),Wn(t)||e){var _n62=e?t.startContainer:t;_n62.ownerDocument&&_n62.ownerDocument.body.contains(_n62)||bs.a.warn(\"rect-source-not-in-dom: The source of this rect does not belong to any rendered DOM tree.\",{source:t}),Cs(this,e?As.getDomRangeRects(t)[0]:t.getBoundingClientRect());}else if(cr(t)){var _e65=t.innerWidth,_n63=t.innerHeight;Cs(this,{top:0,right:_e65,bottom:_n63,left:0,width:_e65,height:_n63});}else Cs(this,t);}_createClass(As,[{key:\"clone\",value:function clone(){return new As(this);}},{key:\"moveTo\",value:function moveTo(t,e){return this.top=e,this.right=t+this.width,this.bottom=e+this.height,this.left=t,this;}},{key:\"moveBy\",value:function moveBy(t,e){return this.top+=e,this.right+=t,this.left+=t,this.bottom+=e,this;}},{key:\"getIntersection\",value:function getIntersection(t){var e={top:Math.max(this.top,t.top),right:Math.min(this.right,t.right),bottom:Math.min(this.bottom,t.bottom),left:Math.max(this.left,t.left)};return e.width=e.right-e.left,e.height=e.bottom-e.top,e.width<0||e.height<0?null:new As(e);}},{key:\"getIntersectionArea\",value:function getIntersectionArea(t){var e=this.getIntersection(t);return e?e.getArea():0;}},{key:\"getArea\",value:function getArea(){return this.width*this.height;}},{key:\"getVisible\",value:function getVisible(){var t=this._source;var e=this.clone();if(!Ts(t)){var _n64=t.parentNode||t.commonAncestorContainer;for(;_n64&&!Ts(_n64);){var _t67=new As(_n64),_i46=e.getIntersection(_t67);if(!_i46)return null;_i46.getArea()e.bottom;}function Is(t,e){return t.tope.right;}function Rs(t){return vs(t)?t.startContainer.ownerDocument.defaultView:t.ownerDocument.defaultView;}function Ds(t){if(vs(t)){var _e67=t.commonAncestorContainer;return Do(_e67)&&(_e67=_e67.parentNode),_e67;}return t.parentNode;}function Ls(t,e){var n=Rs(t),i=new As(t);if(n===e)return i;{var _t69=n;for(;_t69!=e;){var _e68=_t69.frameElement,_n67=new As(_e68).excludeScrollbarsAndBorders();i.moveBy(_n67.left,_n67.top),_t69=_t69.parent;}}return i;}Object.assign({},{scrollViewportToShowTarget:Ps,scrollAncestorsToShowTarget:function scrollAncestorsToShowTarget(t){Es(Ds(t),function(){return new As(t);});}});var js=/*#__PURE__*/function(){function js(){var _this39=this;_classCallCheck(this,js);this.document=new ro(),this.domConverter=new rr(),this.domRoots=new Map(),this.set(\"isRenderingInProgress\",!1),this._renderer=new Xo(this.domConverter,this.document.selection),this._renderer.bind(\"isFocused\").to(this.document),this._initialDomRootAttributes=new WeakMap(),this._observers=new Map(),this._ongoingChange=!1,this._postFixersInProgress=!1,this._renderingDisabled=!1,this._hasChangedSinceTheLastRendering=!1,this._writer=new Co(this.document),this.addObserver(Zr),this.addObserver(ws),this.addObserver(_s),this.addObserver(es),this.addObserver(gs),this.addObserver(ks),function(t){t.document.on(\"keydown\",Wo);}(this),yo(this),this.on(\"render\",function(){_this39._render(),_this39.document.fire(\"layoutChanged\"),_this39._hasChangedSinceTheLastRendering=!1;}),this.listenTo(this.document.selection,\"change\",function(){_this39._hasChangedSinceTheLastRendering=!0;});}_createClass(js,[{key:\"attachDomRoot\",value:function attachDomRoot(t){var _this40=this;var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:\"main\";var n=this.document.getRoot(e);n._name=t.tagName.toLowerCase();var i={};for(var _i50=0,_Array$from2=Array.from(t.attributes);_i50<_Array$from2.length;_i50++){var _Array$from2$_i=_Array$from2[_i50],_e69=_Array$from2$_i.name,_o26=_Array$from2$_i.value;i[_e69]=_o26,\"class\"===_e69?this._writer.addClass(_o26.split(\" \"),n):this._writer.setAttribute(_e69,_o26,n);}this._initialDomRootAttributes.set(t,i);var o=function o(){_this40._writer.setAttribute(\"contenteditable\",!n.isReadOnly,n),n.isReadOnly?_this40._writer.addClass(\"ck-read-only\",n):_this40._writer.removeClass(\"ck-read-only\",n);};o(),this.domRoots.set(e,t),this.domConverter.bindElements(t,n),this._renderer.markToSync(\"children\",n),this._renderer.markToSync(\"attributes\",n),this._renderer.domDocuments.add(t.ownerDocument),n.on(\"change:children\",function(t,e){return _this40._renderer.markToSync(\"children\",e);}),n.on(\"change:attributes\",function(t,e){return _this40._renderer.markToSync(\"attributes\",e);}),n.on(\"change:text\",function(t,e){return _this40._renderer.markToSync(\"text\",e);}),n.on(\"change:isReadOnly\",function(){return _this40.change(o);}),n.on(\"change\",function(){_this40._hasChangedSinceTheLastRendering=!0;});var _iterator76=_createForOfIteratorHelper(this._observers.values()),_step76;try{for(_iterator76.s();!(_step76=_iterator76.n()).done;){var _n68=_step76.value;_n68.observe(t,e);}}catch(err){_iterator76.e(err);}finally{_iterator76.f();}}},{key:\"detachDomRoot\",value:function detachDomRoot(t){var e=this.domRoots.get(t);Array.from(e.attributes).forEach(function(_ref2){var t=_ref2.name;return e.removeAttribute(t);});var n=this._initialDomRootAttributes.get(e);for(var _t70 in n)e.setAttribute(_t70,n[_t70]);this.domRoots[\"delete\"](t),this.domConverter.unbindDomElement(e);}},{key:\"getDomRoot\",value:function getDomRoot(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:\"main\";return this.domRoots.get(t);}},{key:\"addObserver\",value:function addObserver(t){var e=this._observers.get(t);if(e)return e;e=new t(this),this._observers.set(t,e);var _iterator77=_createForOfIteratorHelper(this.domRoots),_step77;try{for(_iterator77.s();!(_step77=_iterator77.n()).done;){var _step77$value=_slicedToArray(_step77.value,2),_t71=_step77$value[0],_n69=_step77$value[1];e.observe(_n69,_t71);}}catch(err){_iterator77.e(err);}finally{_iterator77.f();}return e.enable(),e;}},{key:\"getObserver\",value:function getObserver(t){return this._observers.get(t);}},{key:\"disableObservers\",value:function disableObservers(){var _iterator78=_createForOfIteratorHelper(this._observers.values()),_step78;try{for(_iterator78.s();!(_step78=_iterator78.n()).done;){var _t72=_step78.value;_t72.disable();}}catch(err){_iterator78.e(err);}finally{_iterator78.f();}}},{key:\"enableObservers\",value:function enableObservers(){var _iterator79=_createForOfIteratorHelper(this._observers.values()),_step79;try{for(_iterator79.s();!(_step79=_iterator79.n()).done;){var _t73=_step79.value;_t73.enable();}}catch(err){_iterator79.e(err);}finally{_iterator79.f();}}},{key:\"scrollToTheSelection\",value:function scrollToTheSelection(){var t=this.document.selection.getFirstRange();t&&Ps({target:this.domConverter.viewRangeToDom(t),viewportOffset:20});}},{key:\"focus\",value:function focus(){if(!this.document.isFocused){var _t74=this.document.selection.editableElement;_t74?(this.domConverter.focus(_t74),this.forceRender()):bs.a.warn(\"view-focus-no-selection: There is no selection in any editable to focus.\");}}},{key:\"change\",value:function change(t){if(this.isRenderingInProgress||this._postFixersInProgress)throw new Gn.b(\"cannot-change-view-tree: Attempting to make changes to the view when it is in an incorrect state: rendering or post-fixers are in progress. This may cause some unexpected behavior and inconsistency between the DOM and the view.\");if(this._ongoingChange)return t(this._writer);this._ongoingChange=!0;var e=t(this._writer);return this._ongoingChange=!1,!this._renderingDisabled&&this._hasChangedSinceTheLastRendering&&(this._postFixersInProgress=!0,this.document._callPostFixers(this._writer),this._postFixersInProgress=!1,this.fire(\"render\")),e;}},{key:\"forceRender\",value:function forceRender(){this._hasChangedSinceTheLastRendering=!0,this.change(function(){});}},{key:\"destroy\",value:function destroy(){var _iterator80=_createForOfIteratorHelper(this._observers.values()),_step80;try{for(_iterator80.s();!(_step80=_iterator80.n()).done;){var _t75=_step80.value;_t75.destroy();}}catch(err){_iterator80.e(err);}finally{_iterator80.f();}this.document.destroy(),this.stopListening();}},{key:\"createPositionAt\",value:function createPositionAt(t,e){return Zi._createAt(t,e);}},{key:\"createPositionAfter\",value:function createPositionAfter(t){return Zi._createAfter(t);}},{key:\"createPositionBefore\",value:function createPositionBefore(t){return Zi._createBefore(t);}},{key:\"createRange\",value:function createRange(t,e){return new Xi(t,e);}},{key:\"createRangeOn\",value:function createRangeOn(t){return Xi._createOn(t);}},{key:\"createRangeIn\",value:function createRangeIn(t){return Xi._createIn(t);}},{key:\"createSelection\",value:function createSelection(t,e,n){return new no(t,e,n);}},{key:\"_disableRendering\",value:function _disableRendering(t){this._renderingDisabled=t,0==t&&this.change(function(){});}},{key:\"_render\",value:function _render(){this.isRenderingInProgress=!0,this.disableObservers(),this._renderer.render(),this.enableObservers(),this.isRenderingInProgress=!1;}}]);return js;}();function Vs(t){return C(t)?pi(t):new Map(t);}ci(js,Fi);var Bs=/*#__PURE__*/function(){function Bs(t){_classCallCheck(this,Bs);this.parent=null,this._attrs=Vs(t);}_createClass(Bs,[{key:\"index\",get:function get(){var t;if(!this.parent)return null;if(null===(t=this.parent.getChildIndex(this)))throw new Gn.b(\"model-node-not-found-in-parent: The node's parent does not contain this node.\");return t;}},{key:\"startOffset\",get:function get(){var t;if(!this.parent)return null;if(null===(t=this.parent.getChildStartOffset(this)))throw new Gn.b(\"model-node-not-found-in-parent: The node's parent does not contain this node.\");return t;}},{key:\"offsetSize\",get:function get(){return 1;}},{key:\"endOffset\",get:function get(){return this.parent?this.startOffset+this.offsetSize:null;}},{key:\"nextSibling\",get:function get(){var t=this.index;return null!==t&&this.parent.getChild(t+1)||null;}},{key:\"previousSibling\",get:function get(){var t=this.index;return null!==t&&this.parent.getChild(t-1)||null;}},{key:\"root\",get:function get(){var t=this;for(;t.parent;)t=t.parent;return t;}},{key:\"document\",get:function get(){return this.root==this?null:this.root.document||null;}},{key:\"getPath\",value:function getPath(){var t=[];var e=this;for(;e.parent;)t.unshift(e.startOffset),e=e.parent;return t;}},{key:\"getAncestors\",value:function getAncestors(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{includeSelf:!1,parentFirst:!1};var e=[];var n=t.includeSelf?this:this.parent;for(;n;)e[t.parentFirst?\"push\":\"unshift\"](n),n=n.parent;return e;}},{key:\"getCommonAncestor\",value:function getCommonAncestor(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var n=this.getAncestors(e),i=t.getAncestors(e);var o=0;for(;n[o]==i[o]&&n[o];)o++;return 0===o?null:n[o-1];}},{key:\"isBefore\",value:function isBefore(t){if(this==t)return!1;if(this.root!==t.root)return!1;var e=this.getPath(),n=t.getPath(),i=li(e,n);switch(i){case\"prefix\":return!0;case\"extension\":return!1;default:return e[i]t.offsetSize)throw new Gn.b(\"model-textproxy-wrong-offsetintext: Given offsetInText value is incorrect.\");if(n<0||e+n>t.offsetSize)throw new Gn.b(\"model-textproxy-wrong-length: Given length value is incorrect.\");this.data=t.data.substring(e,e+n),this.offsetInText=e;}_createClass(Fs,[{key:\"startOffset\",get:function get(){return null!==this.textNode.startOffset?this.textNode.startOffset+this.offsetInText:null;}},{key:\"offsetSize\",get:function get(){return this.data.length;}},{key:\"endOffset\",get:function get(){return null!==this.startOffset?this.startOffset+this.offsetSize:null;}},{key:\"isPartial\",get:function get(){return this.offsetSize!==this.textNode.offsetSize;}},{key:\"parent\",get:function get(){return this.textNode.parent;}},{key:\"root\",get:function get(){return this.textNode.root;}},{key:\"document\",get:function get(){return this.textNode.document;}},{key:\"is\",value:function is(t){return\"textProxy\"==t;}},{key:\"getPath\",value:function getPath(){var t=this.textNode.getPath();return t.length>0&&(t[t.length-1]+=this.offsetInText),t;}},{key:\"getAncestors\",value:function getAncestors(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{includeSelf:!1,parentFirst:!1};var e=[];var n=t.includeSelf?this:this.parent;for(;n;)e[t.parentFirst?\"push\":\"unshift\"](n),n=n.parent;return e;}},{key:\"hasAttribute\",value:function hasAttribute(t){return this.textNode.hasAttribute(t);}},{key:\"getAttribute\",value:function getAttribute(t){return this.textNode.getAttribute(t);}},{key:\"getAttributes\",value:function getAttributes(){return this.textNode.getAttributes();}},{key:\"getAttributeKeys\",value:function getAttributeKeys(){return this.textNode.getAttributeKeys();}}]);return Fs;}();var Us=/*#__PURE__*/function(_Symbol$iterator5){function Us(t){_classCallCheck(this,Us);this._nodes=[],t&&this._insertNodes(0,t);}_createClass(Us,[{key:_Symbol$iterator5,value:function value(){return this._nodes[Symbol.iterator]();}},{key:\"length\",get:function get(){return this._nodes.length;}},{key:\"maxOffset\",get:function get(){return this._nodes.reduce(function(t,e){return t+e.offsetSize;},0);}},{key:\"getNode\",value:function getNode(t){return this._nodes[t]||null;}},{key:\"getNodeIndex\",value:function getNodeIndex(t){var e=this._nodes.indexOf(t);return-1==e?null:e;}},{key:\"getNodeStartOffset\",value:function getNodeStartOffset(t){var e=this.getNodeIndex(t);return null===e?null:this._nodes.slice(0,e).reduce(function(t,e){return t+e.offsetSize;},0);}},{key:\"indexToOffset\",value:function indexToOffset(t){if(t==this._nodes.length)return this.maxOffset;var e=this._nodes[t];if(!e)throw new Gn.b(\"model-nodelist-index-out-of-bounds: Given index cannot be found in the node list.\");return this.getNodeStartOffset(e);}},{key:\"offsetToIndex\",value:function offsetToIndex(t){var e=0;var _iterator81=_createForOfIteratorHelper(this._nodes),_step81;try{for(_iterator81.s();!(_step81=_iterator81.n()).done;){var _n70=_step81.value;if(t>=e&&t1&&arguments[1]!==undefined?arguments[1]:1;return this._nodes.splice(t,e);}},{key:\"toJSON\",value:function toJSON(){return this._nodes.map(function(t){return t.toJSON();});}}]);return Us;}(Symbol.iterator);var Hs=/*#__PURE__*/function(_Bs2){_inherits(Hs,_Bs2);var _super18=_createSuper(Hs);function Hs(t,e,n){var _this42;_classCallCheck(this,Hs);_this42=_super18.call(this,e),_this42.name=t,_this42._children=new Us(),n&&_this42._insertChild(0,n);return _this42;}_createClass(Hs,[{key:\"childCount\",get:function get(){return this._children.length;}},{key:\"maxOffset\",get:function get(){return this._children.maxOffset;}},{key:\"isEmpty\",get:function get(){return 0===this.childCount;}},{key:\"is\",value:function is(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;return e?\"element\"==t&&e==this.name:\"element\"==t||t==this.name||_get(_getPrototypeOf(Hs.prototype),\"is\",this).call(this,t);}},{key:\"getChild\",value:function getChild(t){return this._children.getNode(t);}},{key:\"getChildren\",value:function getChildren(){return this._children[Symbol.iterator]();}},{key:\"getChildIndex\",value:function getChildIndex(t){return this._children.getNodeIndex(t);}},{key:\"getChildStartOffset\",value:function getChildStartOffset(t){return this._children.getNodeStartOffset(t);}},{key:\"offsetToIndex\",value:function offsetToIndex(t){return this._children.offsetToIndex(t);}},{key:\"getNodeByPath\",value:function getNodeByPath(t){var e=this;var _iterator83=_createForOfIteratorHelper(t),_step83;try{for(_iterator83.s();!(_step83=_iterator83.n()).done;){var _n71=_step83.value;e=e.getChild(e.offsetToIndex(_n71));}}catch(err){_iterator83.e(err);}finally{_iterator83.f();}return e;}},{key:\"toJSON\",value:function toJSON(){var t=_get(_getPrototypeOf(Hs.prototype),\"toJSON\",this).call(this);if(t.name=this.name,this._children.length>0){t.children=[];var _iterator84=_createForOfIteratorHelper(this._children),_step84;try{for(_iterator84.s();!(_step84=_iterator84.n()).done;){var _e70=_step84.value;t.children.push(_e70.toJSON());}}catch(err){_iterator84.e(err);}finally{_iterator84.f();}}return t;}},{key:\"_clone\",value:function _clone(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:!1;var e=t?Array.from(this._children).map(function(t){return t._clone(!0);}):null;return new Hs(this.name,this.getAttributes(),e);}},{key:\"_appendChild\",value:function _appendChild(t){this._insertChild(this.childCount,t);}},{key:\"_insertChild\",value:function _insertChild(t,e){var n=function(t){if(\"string\"==typeof t)return[new zs(t)];gi(t)||(t=[t]);return Array.from(t).map(function(t){return\"string\"==typeof t?new zs(t):t instanceof Fs?new zs(t.data,t.getAttributes()):t;});}(e);var _iterator85=_createForOfIteratorHelper(n),_step85;try{for(_iterator85.s();!(_step85=_iterator85.n()).done;){var _t77=_step85.value;null!==_t77.parent&&_t77._remove(),_t77.parent=this;}}catch(err){_iterator85.e(err);}finally{_iterator85.f();}this._children._insertNodes(t,n);}},{key:\"_removeChildren\",value:function _removeChildren(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;var n=this._children._removeNodes(t,e);var _iterator86=_createForOfIteratorHelper(n),_step86;try{for(_iterator86.s();!(_step86=_iterator86.n()).done;){var _t78=_step86.value;_t78.parent=null;}}catch(err){_iterator86.e(err);}finally{_iterator86.f();}return n;}}],[{key:\"fromJSON\",value:function fromJSON(t){var e=null;if(t.children){e=[];var _iterator87=_createForOfIteratorHelper(t.children),_step87;try{for(_iterator87.s();!(_step87=_iterator87.n()).done;){var _n72=_step87.value;_n72.name?e.push(Hs.fromJSON(_n72)):e.push(zs.fromJSON(_n72));}}catch(err){_iterator87.e(err);}finally{_iterator87.f();}}return new Hs(t.name,t.attributes,e);}}]);return Hs;}(Bs);var qs=/*#__PURE__*/function(_Symbol$iterator6){function qs(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,qs);if(!t.boundaries&&!t.startPosition)throw new Gn.b(\"model-tree-walker-no-start-position: Neither boundaries nor starting position have been defined.\");var e=t.direction||\"forward\";if(\"forward\"!=e&&\"backward\"!=e)throw new Gn.b(\"model-tree-walker-unknown-direction: Only `backward` and `forward` direction allowed.\",{direction:e});this.direction=e,this.boundaries=t.boundaries||null,t.startPosition?this.position=t.startPosition.clone():this.position=$s._createAt(this.boundaries[\"backward\"==this.direction?\"end\":\"start\"]),this.position.stickiness=\"toNone\",this.singleCharacters=!!t.singleCharacters,this.shallow=!!t.shallow,this.ignoreElementEnd=!!t.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null,this._visitedParent=this.position.parent;}_createClass(qs,[{key:_Symbol$iterator6,value:function value(){return this;}},{key:\"skip\",value:function skip(t){var e,n,i,o;do{var _this$next2;i=this.position,o=this._visitedParent,(_this$next2=this.next(),e=_this$next2.done,n=_this$next2.value);}while(!e&&t(n));e||(this.position=i,this._visitedParent=o);}},{key:\"next\",value:function next(){return\"forward\"==this.direction?this._next():this._previous();}},{key:\"_next\",value:function _next(){var t=this.position,e=this.position.clone(),n=this._visitedParent;if(null===n.parent&&e.offset===n.maxOffset)return{done:!0};if(n===this._boundaryEndParent&&e.offset==this.boundaries.end.offset)return{done:!0};var i=e.textNode?e.textNode:e.nodeAfter;if(i instanceof Hs)return this.shallow?e.offset++:(e.path.push(0),this._visitedParent=i),this.position=e,Ws(\"elementStart\",i,t,e,1);if(i instanceof zs){var _o27;if(this.singleCharacters)_o27=1;else{var _t79=i.endOffset;this._boundaryEndParent==n&&this.boundaries.end.offset<_t79&&(_t79=this.boundaries.end.offset),_o27=_t79-e.offset;}var _r11=e.offset-i.startOffset,_s10=new Fs(i,_r11,_o27);return e.offset+=_o27,this.position=e,Ws(\"text\",_s10,t,e,_o27);}return e.path.pop(),e.offset++,this.position=e,this._visitedParent=n.parent,this.ignoreElementEnd?this._next():Ws(\"elementEnd\",n,t,e);}},{key:\"_previous\",value:function _previous(){var t=this.position,e=this.position.clone(),n=this._visitedParent;if(null===n.parent&&0===e.offset)return{done:!0};if(n==this._boundaryStartParent&&e.offset==this.boundaries.start.offset)return{done:!0};var i=e.textNode?e.textNode:e.nodeBefore;if(i instanceof Hs)return e.offset--,this.shallow?(this.position=e,Ws(\"elementStart\",i,t,e,1)):(e.path.push(i.maxOffset),this.position=e,this._visitedParent=i,this.ignoreElementEnd?this._previous():Ws(\"elementEnd\",i,t,e));if(i instanceof zs){var _o28;if(this.singleCharacters)_o28=1;else{var _t80=i.startOffset;this._boundaryStartParent==n&&this.boundaries.start.offset>_t80&&(_t80=this.boundaries.start.offset),_o28=e.offset-_t80;}var _r12=e.offset-i.startOffset,_s11=new Fs(i,_r12-_o28,_o28);return e.offset-=_o28,this.position=e,Ws(\"text\",_s11,t,e,_o28);}return e.path.pop(),this.position=e,this._visitedParent=n.parent,Ws(\"elementStart\",n,t,e,1);}}]);return qs;}(Symbol.iterator);function Ws(t,e,n,i,o){return{done:!1,value:{type:t,item:e,previousPosition:n,nextPosition:i,length:o}};}var Ys=function Ys(t){var e=null==t?0:t.length;return e?t[e-1]:void 0;};var $s=/*#__PURE__*/function(){function $s(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:\"toNone\";_classCallCheck(this,$s);if(!t.is(\"element\")&&!t.is(\"documentFragment\"))throw new Gn.b(\"model-position-root-invalid: Position root invalid.\");if(!(e instanceof Array)||0===e.length)throw new Gn.b(\"model-position-path-incorrect: Position path must be an array with at least one item.\",{path:e});e=t.getPath().concat(e),t=t.root,this.root=t,this.path=e,this.stickiness=n;}_createClass($s,[{key:\"offset\",get:function get(){return Ys(this.path);},set:function set(t){this.path[this.path.length-1]=t;}},{key:\"parent\",get:function get(){var t=this.root;for(var _e71=0;_e711&&arguments[1]!==undefined?arguments[1]:{};e.startPosition=this;var n=new qs(e);return n.skip(t),n.position;}},{key:\"getParentPath\",value:function getParentPath(){return this.path.slice(0,-1);}},{key:\"getAncestors\",value:function getAncestors(){return this.parent.is(\"documentFragment\")?[this.parent]:this.parent.getAncestors({includeSelf:!0});}},{key:\"getCommonPath\",value:function getCommonPath(t){if(this.root!=t.root)return[];var e=li(this.path,t.path),n=\"string\"==typeof e?Math.min(this.path.length,t.path.length):e;return this.path.slice(0,n);}},{key:\"getCommonAncestor\",value:function getCommonAncestor(t){var e=this.getAncestors(),n=t.getAncestors();var i=0;for(;e[i]==n[i]&&e[i];)i++;return 0===i?null:e[i-1];}},{key:\"getShiftedBy\",value:function getShiftedBy(t){var e=this.clone(),n=e.offset+t;return e.offset=n<0?0:n,e;}},{key:\"isAfter\",value:function isAfter(t){return\"after\"==this.compareWith(t);}},{key:\"isBefore\",value:function isBefore(t){return\"before\"==this.compareWith(t);}},{key:\"isEqual\",value:function isEqual(t){return\"same\"==this.compareWith(t);}},{key:\"isTouching\",value:function isTouching(t){var e=null,n=null;switch(this.compareWith(t)){case\"same\":return!0;case\"before\":e=$s._createAt(this),n=$s._createAt(t);break;case\"after\":e=$s._createAt(t),n=$s._createAt(this);break;default:return!1;}var i=e.parent;for(;e.path.length+n.path.length;){if(e.isEqual(n))return!0;if(e.path.length>n.path.length){if(e.offset!==i.maxOffset)return!1;e.path=e.path.slice(0,-1),i=i.parent,e.offset++;}else{if(0!==n.offset)return!1;n.path=n.path.slice(0,-1);}}}},{key:\"hasSameParentAs\",value:function hasSameParentAs(t){if(this.root!==t.root)return!1;return\"same\"==li(this.getParentPath(),t.getParentPath());}},{key:\"getTransformedByOperation\",value:function getTransformedByOperation(t){var e;switch(t.type){case\"insert\":e=this._getTransformedByInsertOperation(t);break;case\"move\":case\"remove\":case\"reinsert\":e=this._getTransformedByMoveOperation(t);break;case\"split\":e=this._getTransformedBySplitOperation(t);break;case\"merge\":e=this._getTransformedByMergeOperation(t);break;default:e=$s._createAt(this);}return e;}},{key:\"_getTransformedByInsertOperation\",value:function _getTransformedByInsertOperation(t){return this._getTransformedByInsertion(t.position,t.howMany);}},{key:\"_getTransformedByMoveOperation\",value:function _getTransformedByMoveOperation(t){return this._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany);}},{key:\"_getTransformedBySplitOperation\",value:function _getTransformedBySplitOperation(t){var e=t.movedRange;return e.containsPosition(this)||e.start.isEqual(this)&&\"toNext\"==this.stickiness?this._getCombined(t.splitPosition,t.moveTargetPosition):t.graveyardPosition?this._getTransformedByMove(t.graveyardPosition,t.insertionPosition,1):this._getTransformedByInsertion(t.insertionPosition,1);}},{key:\"_getTransformedByMergeOperation\",value:function _getTransformedByMergeOperation(t){var e=t.movedRange;var n;return e.containsPosition(this)||e.start.isEqual(this)?(n=this._getCombined(t.sourcePosition,t.targetPosition),t.sourcePosition.isBefore(t.targetPosition)&&(n=n._getTransformedByDeletion(t.deletionPosition,1))):n=this.isEqual(t.deletionPosition)?$s._createAt(t.deletionPosition):this._getTransformedByMove(t.deletionPosition,t.graveyardPosition,1),n;}},{key:\"_getTransformedByDeletion\",value:function _getTransformedByDeletion(t,e){var n=$s._createAt(this);if(this.root!=t.root)return n;if(\"same\"==li(t.getParentPath(),this.getParentPath())){if(t.offsetthis.offset)return null;n.offset-=e;}}else if(\"prefix\"==li(t.getParentPath(),this.getParentPath())){var _i51=t.path.length-1;if(t.offset<=this.path[_i51]){if(t.offset+e>this.path[_i51])return null;n.path[_i51]-=e;}}return n;}},{key:\"_getTransformedByInsertion\",value:function _getTransformedByInsertion(t,e){var n=$s._createAt(this);if(this.root!=t.root)return n;if(\"same\"==li(t.getParentPath(),this.getParentPath()))(t.offset1&&arguments[1]!==undefined?arguments[1]:null;_classCallCheck(this,Gs);this.start=$s._createAt(t),this.end=e?$s._createAt(e):$s._createAt(t),this.start.stickiness=this.isCollapsed?\"toNone\":\"toNext\",this.end.stickiness=this.isCollapsed?\"toNone\":\"toPrevious\";}_createClass(Gs,[{key:_Symbol$iterator7,value:/*#__PURE__*/_regeneratorRuntime().mark(function value(){return _regeneratorRuntime().wrap(function value$(_context11){while(1)switch(_context11.prev=_context11.next){case 0:return _context11.delegateYield(new qs({boundaries:this,ignoreElementEnd:!0}),\"t0\",1);case 1:case\"end\":return _context11.stop();}},value,this);})},{key:\"isCollapsed\",get:function get(){return this.start.isEqual(this.end);}},{key:\"isFlat\",get:function get(){return\"same\"==li(this.start.getParentPath(),this.end.getParentPath());}},{key:\"root\",get:function get(){return this.start.root;}},{key:\"containsPosition\",value:function containsPosition(t){return t.isAfter(this.start)&&t.isBefore(this.end);}},{key:\"containsRange\",value:function containsRange(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;t.isCollapsed&&(e=!1);var n=this.containsPosition(t.start)||e&&this.start.isEqual(t.start),i=this.containsPosition(t.end)||e&&this.end.isEqual(t.end);return n&&i;}},{key:\"containsItem\",value:function containsItem(t){var e=$s._createBefore(t);return this.containsPosition(e)||this.start.isEqual(e);}},{key:\"isEqual\",value:function isEqual(t){return this.start.isEqual(t.start)&&this.end.isEqual(t.end);}},{key:\"isIntersecting\",value:function isIntersecting(t){return this.start.isBefore(t.end)&&this.end.isAfter(t.start);}},{key:\"getDifference\",value:function getDifference(t){var e=[];return this.isIntersecting(t)?(this.containsPosition(t.start)&&e.push(new Gs(this.start,t.start)),this.containsPosition(t.end)&&e.push(new Gs(t.end,this.end))):e.push(new Gs(this.start,this.end)),e;}},{key:\"getIntersection\",value:function getIntersection(t){if(this.isIntersecting(t)){var _e72=this.start,_n75=this.end;return this.containsPosition(t.start)&&(_e72=t.start),this.containsPosition(t.end)&&(_n75=t.end),new Gs(_e72,_n75);}return null;}},{key:\"getMinimalFlatRanges\",value:function getMinimalFlatRanges(){var t=[],e=this.start.getCommonPath(this.end).length,n=$s._createAt(this.start);var i=n.parent;for(;n.path.length>e+1;){var _e73=i.maxOffset-n.offset;0!==_e73&&t.push(new Gs(n,n.getShiftedBy(_e73))),n.path=n.path.slice(0,-1),n.offset++,i=i.parent;}for(;n.path.length<=this.end.path.length;){var _e74=this.end.path[n.path.length-1],_i54=_e74-n.offset;0!==_i54&&t.push(new Gs(n,n.getShiftedBy(_i54))),n.offset=_e74,n.path.push(0);}return t;}},{key:\"getWalker\",value:function getWalker(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return t.boundaries=this,new qs(t);}},{key:\"getItems\",value:function getItems(){var _this43=this;var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(){var e,_iterator88,_step88,_t81;return _regeneratorRuntime().wrap(function _callee5$(_context12){while(1)switch(_context12.prev=_context12.next){case 0:t.boundaries=_this43,t.ignoreElementEnd=!0;e=new qs(t);_iterator88=_createForOfIteratorHelper(e);_context12.prev=3;_iterator88.s();case 5:if((_step88=_iterator88.n()).done){_context12.next=11;break;}_t81=_step88.value;_context12.next=9;return _t81.item;case 9:_context12.next=5;break;case 11:_context12.next=16;break;case 13:_context12.prev=13;_context12.t0=_context12[\"catch\"](3);_iterator88.e(_context12.t0);case 16:_context12.prev=16;_iterator88.f();return _context12.finish(16);case 19:case\"end\":return _context12.stop();}},_callee5,null,[[3,13,16,19]]);})();}},{key:\"getPositions\",value:function getPositions(){var _this44=this;var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(){var e,_iterator89,_step89,_t82;return _regeneratorRuntime().wrap(function _callee6$(_context13){while(1)switch(_context13.prev=_context13.next){case 0:t.boundaries=_this44;e=new qs(t);_context13.next=4;return e.position;case 4:_iterator89=_createForOfIteratorHelper(e);_context13.prev=5;_iterator89.s();case 7:if((_step89=_iterator89.n()).done){_context13.next=13;break;}_t82=_step89.value;_context13.next=11;return _t82.nextPosition;case 11:_context13.next=7;break;case 13:_context13.next=18;break;case 15:_context13.prev=15;_context13.t0=_context13[\"catch\"](5);_iterator89.e(_context13.t0);case 18:_context13.prev=18;_iterator89.f();return _context13.finish(18);case 21:case\"end\":return _context13.stop();}},_callee6,null,[[5,15,18,21]]);})();}},{key:\"getTransformedByOperation\",value:function getTransformedByOperation(t){switch(t.type){case\"insert\":return this._getTransformedByInsertOperation(t);case\"move\":case\"remove\":case\"reinsert\":return this._getTransformedByMoveOperation(t);case\"split\":return[this._getTransformedBySplitOperation(t)];case\"merge\":return[this._getTransformedByMergeOperation(t)];}return[new Gs(this.start,this.end)];}},{key:\"getTransformedByOperations\",value:function getTransformedByOperations(t){var e=[new Gs(this.start,this.end)];var _iterator90=_createForOfIteratorHelper(t),_step90;try{for(_iterator90.s();!(_step90=_iterator90.n()).done;){var _n77=_step90.value;for(var _t85=0;_t851&&arguments[1]!==undefined?arguments[1]:!1;return this._getTransformedByInsertion(t.position,t.howMany,e);}},{key:\"_getTransformedByMoveOperation\",value:function _getTransformedByMoveOperation(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;var n=t.sourcePosition,i=t.howMany,o=t.targetPosition;return this._getTransformedByMove(n,o,i,e);}},{key:\"_getTransformedBySplitOperation\",value:function _getTransformedBySplitOperation(t){var e=this.start._getTransformedBySplitOperation(t);var n=this.end._getTransformedBySplitOperation(t);return this.end.isEqual(t.insertionPosition)&&(n=this.end.getShiftedBy(1)),e.root!=n.root&&(n=this.end.getShiftedBy(-1)),new Gs(e,n);}},{key:\"_getTransformedByMergeOperation\",value:function _getTransformedByMergeOperation(t){if(this.start.isEqual(t.targetPosition)&&this.end.isEqual(t.deletionPosition))return new Gs(this.start);var e=this.start._getTransformedByMergeOperation(t),n=this.end._getTransformedByMergeOperation(t);return e.root!=n.root&&(n=this.end.getShiftedBy(-1)),e.isAfter(n)?(t.sourcePosition.isBefore(t.targetPosition)?(e=$s._createAt(n)).offset=0:(t.deletionPosition.isEqual(e)||(n=t.deletionPosition),e=t.targetPosition),new Gs(e,n)):new Gs(e,n);}},{key:\"_getTransformedByInsertion\",value:function _getTransformedByInsertion(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1;if(n&&this.containsPosition(t))return[new Gs(this.start,t),new Gs(t.getShiftedBy(e),this.end._getTransformedByInsertion(t,e))];{var _n78=new Gs(this.start,this.end);return _n78.start=_n78.start._getTransformedByInsertion(t,e),_n78.end=_n78.end._getTransformedByInsertion(t,e),[_n78];}}},{key:\"_getTransformedByMove\",value:function _getTransformedByMove(t,e,n){var i=arguments.length>3&&arguments[3]!==undefined?arguments[3]:!1;if(this.isCollapsed){var _i57=this.start._getTransformedByMove(t,e,n);return[new Gs(_i57)];}var o=Gs._createFromPositionAndShift(t,n),r=e._getTransformedByDeletion(t,n);if(this.containsPosition(e)&&!i&&(o.containsPosition(this.start)||o.containsPosition(this.end))){var _i58=this.start._getTransformedByMove(t,e,n),_o29=this.end._getTransformedByMove(t,e,n);return[new Gs(_i58,_o29)];}var s;var a=this.getDifference(o);var c=null;var l=this.getIntersection(o);if(1==a.length?c=new Gs(a[0].start._getTransformedByDeletion(t,n),a[0].end._getTransformedByDeletion(t,n)):2==a.length&&(c=new Gs(this.start,this.end._getTransformedByDeletion(t,n))),s=c?c._getTransformedByInsertion(r,n,null!==l||i):[],l){var _t86=new Gs(l.start._getCombined(o.start,r),l.end._getCombined(o.start,r));2==s.length?s.splice(1,0,_t86):s.push(_t86);}return s;}},{key:\"_getTransformedByDeletion\",value:function _getTransformedByDeletion(t,e){var n=this.start._getTransformedByDeletion(t,e),i=this.end._getTransformedByDeletion(t,e);return null==n&&null==i?null:(null==n&&(n=t),null==i&&(i=t),new Gs(n,i));}}],[{key:\"_createFromPositionAndShift\",value:function _createFromPositionAndShift(t,e){var n=t,i=t.getShiftedBy(e);return e>0?new this(n,i):new this(i,n);}},{key:\"_createIn\",value:function _createIn(t){return new this($s._createAt(t,0),$s._createAt(t,t.maxOffset));}},{key:\"_createOn\",value:function _createOn(t){return this._createFromPositionAndShift($s._createBefore(t),t.offsetSize);}},{key:\"_createFromRanges\",value:function _createFromRanges(t){if(0===t.length)throw new Gn.b(\"range-create-from-ranges-empty-array: At least one range has to be passed.\");if(1==t.length)return t[0].clone();var e=t[0];t.sort(function(t,e){return t.start.isAfter(e.start)?1:-1;});var n=t.indexOf(e),i=new this(e.start,e.end);if(n>0)for(var _e75=n-1;t[_e75].end.isEqual(i.start);_e75++)i.start=$s._createAt(t[_e75].start);for(var _e76=n+1;_e761&&arguments[1]!==undefined?arguments[1]:{isPhantom:!1};var n={modelPosition:t,mapper:this,isPhantom:e.isPhantom};return this.fire(\"modelToViewPosition\",n),n.viewPosition;}},{key:\"markerNameToElements\",value:function markerNameToElements(t){var e=this._markerNameToElements.get(t);if(!e)return null;var n=new Set();var _iterator91=_createForOfIteratorHelper(e),_step91;try{for(_iterator91.s();!(_step91=_iterator91.n()).done;){var _t87=_step91.value;if(_t87.is(\"attributeElement\")){var _iterator92=_createForOfIteratorHelper(_t87.getElementsWithSameId()),_step92;try{for(_iterator92.s();!(_step92=_iterator92.n()).done;){var _e77=_step92.value;n.add(_e77);}}catch(err){_iterator92.e(err);}finally{_iterator92.f();}}else n.add(_t87);}}catch(err){_iterator91.e(err);}finally{_iterator91.f();}return n;}},{key:\"registerViewToModelLength\",value:function registerViewToModelLength(t,e){this._viewToModelLengthCallbacks.set(t,e);}},{key:\"findMappedViewAncestor\",value:function findMappedViewAncestor(t){var e=t.parent;for(;!this._viewToModelMapping.has(e);)e=e.parent;return e;}},{key:\"_toModelOffset\",value:function _toModelOffset(t,e,n){if(n!=t){return this._toModelOffset(t.parent,t.index,n)+this._toModelOffset(t,e,t);}if(t.is(\"text\"))return e;var i=0;for(var _n79=0;_n791?e[0]+\":\"+e[1]:e[0];}var Zs=/*#__PURE__*/function(){function Zs(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Zs);this.conversionApi=Li({dispatcher:this},t);}_createClass(Zs,[{key:\"convertChanges\",value:function convertChanges(t,e){var _iterator94=_createForOfIteratorHelper(t.getMarkersToRemove()),_step94;try{for(_iterator94.s();!(_step94=_iterator94.n()).done;){var _n81=_step94.value;this.convertMarkerRemove(_n81.name,_n81.range,e);}}catch(err){_iterator94.e(err);}finally{_iterator94.f();}var _iterator95=_createForOfIteratorHelper(t.getChanges()),_step95;try{for(_iterator95.s();!(_step95=_iterator95.n()).done;){var _n82=_step95.value;\"insert\"==_n82.type?this.convertInsert(Gs._createFromPositionAndShift(_n82.position,_n82.length),e):\"remove\"==_n82.type?this.convertRemove(_n82.position,_n82.length,_n82.name,e):this.convertAttribute(_n82.range,_n82.attributeKey,_n82.attributeOldValue,_n82.attributeNewValue,e);}}catch(err){_iterator95.e(err);}finally{_iterator95.f();}var _iterator96=_createForOfIteratorHelper(t.getMarkersToAdd()),_step96;try{for(_iterator96.s();!(_step96=_iterator96.n()).done;){var _n83=_step96.value;this.convertMarkerAdd(_n83.name,_n83.range,e);}}catch(err){_iterator96.e(err);}finally{_iterator96.f();}}},{key:\"convertInsert\",value:function convertInsert(t,e){this.conversionApi.writer=e,this.conversionApi.consumable=this._createInsertConsumable(t);var _iterator97=_createForOfIteratorHelper(t),_step97;try{for(_iterator97.s();!(_step97=_iterator97.n()).done;){var _e79=_step97.value;var _t88=_e79.item,_n84={item:_t88,range:Gs._createFromPositionAndShift(_e79.previousPosition,_e79.length)};this._testAndFire(\"insert\",_n84);var _iterator98=_createForOfIteratorHelper(_t88.getAttributeKeys()),_step98;try{for(_iterator98.s();!(_step98=_iterator98.n()).done;){var _e80=_step98.value;_n84.attributeKey=_e80,_n84.attributeOldValue=null,_n84.attributeNewValue=_t88.getAttribute(_e80),this._testAndFire(\"attribute:\".concat(_e80),_n84);}}catch(err){_iterator98.e(err);}finally{_iterator98.f();}}}catch(err){_iterator97.e(err);}finally{_iterator97.f();}this._clearConversionApi();}},{key:\"convertRemove\",value:function convertRemove(t,e,n,i){this.conversionApi.writer=i,this.fire(\"remove:\"+n,{position:t,length:e},this.conversionApi),this._clearConversionApi();}},{key:\"convertAttribute\",value:function convertAttribute(t,e,n,i,o){this.conversionApi.writer=o,this.conversionApi.consumable=this._createConsumableForRange(t,\"attribute:\".concat(e));var _iterator99=_createForOfIteratorHelper(t),_step99;try{for(_iterator99.s();!(_step99=_iterator99.n()).done;){var _o30=_step99.value;var _t89={item:_o30.item,range:Gs._createFromPositionAndShift(_o30.previousPosition,_o30.length),attributeKey:e,attributeOldValue:n,attributeNewValue:i};this._testAndFire(\"attribute:\".concat(e),_t89);}}catch(err){_iterator99.e(err);}finally{_iterator99.f();}this._clearConversionApi();}},{key:\"convertSelection\",value:function convertSelection(t,e,n){var i=Array.from(e.getMarkersAtPosition(t.getFirstPosition()));if(this.conversionApi.writer=n,this.conversionApi.consumable=this._createSelectionConsumable(t,i),this.fire(\"selection\",{selection:t},this.conversionApi),t.isCollapsed){var _iterator100=_createForOfIteratorHelper(i),_step100;try{for(_iterator100.s();!(_step100=_iterator100.n()).done;){var _e81=_step100.value;var _n85=_e81.getRange();if(!Xs(t.getFirstPosition(),_e81,this.conversionApi.mapper))continue;var _i60={item:t,markerName:_e81.name,markerRange:_n85};this.conversionApi.consumable.test(t,\"addMarker:\"+_e81.name)&&this.fire(\"addMarker:\"+_e81.name,_i60,this.conversionApi);}}catch(err){_iterator100.e(err);}finally{_iterator100.f();}var _iterator101=_createForOfIteratorHelper(t.getAttributeKeys()),_step101;try{for(_iterator101.s();!(_step101=_iterator101.n()).done;){var _e82=_step101.value;var _n86={item:t,range:t.getFirstRange(),attributeKey:_e82,attributeOldValue:null,attributeNewValue:t.getAttribute(_e82)};this.conversionApi.consumable.test(t,\"attribute:\"+_n86.attributeKey)&&this.fire(\"attribute:\"+_n86.attributeKey+\":$text\",_n86,this.conversionApi);}}catch(err){_iterator101.e(err);}finally{_iterator101.f();}this._clearConversionApi();}}},{key:\"convertMarkerAdd\",value:function convertMarkerAdd(t,e,n){if(!e.root.document||\"$graveyard\"==e.root.rootName)return;this.conversionApi.writer=n;var i=\"addMarker:\"+t,o=new Js();if(o.add(e,i),this.conversionApi.consumable=o,this.fire(i,{markerName:t,markerRange:e},this.conversionApi),o.test(e,i)){this.conversionApi.consumable=this._createConsumableForRange(e,i);var _iterator102=_createForOfIteratorHelper(e.getItems()),_step102;try{for(_iterator102.s();!(_step102=_iterator102.n()).done;){var _n87=_step102.value;if(!this.conversionApi.consumable.test(_n87,i))continue;var _o31={item:_n87,range:Gs._createOn(_n87),markerName:t,markerRange:e};this.fire(i,_o31,this.conversionApi);}}catch(err){_iterator102.e(err);}finally{_iterator102.f();}this._clearConversionApi();}}},{key:\"convertMarkerRemove\",value:function convertMarkerRemove(t,e,n){e.root.document&&\"$graveyard\"!=e.root.rootName&&(this.conversionApi.writer=n,this.fire(\"removeMarker:\"+t,{markerName:t,markerRange:e},this.conversionApi),this._clearConversionApi());}},{key:\"_createInsertConsumable\",value:function _createInsertConsumable(t){var e=new Js();var _iterator103=_createForOfIteratorHelper(t),_step103;try{for(_iterator103.s();!(_step103=_iterator103.n()).done;){var _n88=_step103.value;var _t90=_n88.item;e.add(_t90,\"insert\");var _iterator104=_createForOfIteratorHelper(_t90.getAttributeKeys()),_step104;try{for(_iterator104.s();!(_step104=_iterator104.n()).done;){var _n89=_step104.value;e.add(_t90,\"attribute:\"+_n89);}}catch(err){_iterator104.e(err);}finally{_iterator104.f();}}}catch(err){_iterator103.e(err);}finally{_iterator103.f();}return e;}},{key:\"_createConsumableForRange\",value:function _createConsumableForRange(t,e){var n=new Js();var _iterator105=_createForOfIteratorHelper(t.getItems()),_step105;try{for(_iterator105.s();!(_step105=_iterator105.n()).done;){var _i61=_step105.value;n.add(_i61,e);}}catch(err){_iterator105.e(err);}finally{_iterator105.f();}return n;}},{key:\"_createSelectionConsumable\",value:function _createSelectionConsumable(t,e){var n=new Js();n.add(t,\"selection\");var _iterator106=_createForOfIteratorHelper(e),_step106;try{for(_iterator106.s();!(_step106=_iterator106.n()).done;){var _i62=_step106.value;n.add(t,\"addMarker:\"+_i62.name);}}catch(err){_iterator106.e(err);}finally{_iterator106.f();}var _iterator107=_createForOfIteratorHelper(t.getAttributeKeys()),_step107;try{for(_iterator107.s();!(_step107=_iterator107.n()).done;){var _e83=_step107.value;n.add(t,\"attribute:\"+_e83);}}catch(err){_iterator107.e(err);}finally{_iterator107.f();}return n;}},{key:\"_testAndFire\",value:function _testAndFire(t,e){if(!this.conversionApi.consumable.test(e.item,t))return;var n=e.item.name||\"$text\";this.fire(t+\":\"+n,e,this.conversionApi);}},{key:\"_clearConversionApi\",value:function _clearConversionApi(){delete this.conversionApi.writer,delete this.conversionApi.consumable;}}]);return Zs;}();function Xs(t,e,n){var i=e.getRange(),o=Array.from(t.getAncestors());return o.shift(),o.reverse(),!o.some(function(t){if(i.containsItem(t)){return!!n.toViewElement(t).getCustomProperty(\"addHighlight\");}});}ci(Zs,ei);var ta=/*#__PURE__*/function(){function ta(t,e,n){_classCallCheck(this,ta);this._lastRangeBackward=!1,this._ranges=[],this._attrs=new Map(),t&&this.setTo(t,e,n);}_createClass(ta,[{key:\"anchor\",get:function get(){if(this._ranges.length>0){var _t91=this._ranges[this._ranges.length-1];return this._lastRangeBackward?_t91.end:_t91.start;}return null;}},{key:\"focus\",get:function get(){if(this._ranges.length>0){var _t92=this._ranges[this._ranges.length-1];return this._lastRangeBackward?_t92.start:_t92.end;}return null;}},{key:\"isCollapsed\",get:function get(){return 1===this._ranges.length&&this._ranges[0].isCollapsed;}},{key:\"rangeCount\",get:function get(){return this._ranges.length;}},{key:\"isBackward\",get:function get(){return!this.isCollapsed&&this._lastRangeBackward;}},{key:\"isEqual\",value:function isEqual(t){if(this.rangeCount!=t.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(t.anchor)||!this.focus.isEqual(t.focus))return!1;var _iterator108=_createForOfIteratorHelper(this._ranges),_step108;try{for(_iterator108.s();!(_step108=_iterator108.n()).done;){var _e84=_step108.value;var _n90=!1;var _iterator109=_createForOfIteratorHelper(t._ranges),_step109;try{for(_iterator109.s();!(_step109=_iterator109.n()).done;){var _i63=_step109.value;if(_e84.isEqual(_i63)){_n90=!0;break;}}}catch(err){_iterator109.e(err);}finally{_iterator109.f();}if(!_n90)return!1;}}catch(err){_iterator108.e(err);}finally{_iterator108.f();}return!0;}},{key:\"getRanges\",value:/*#__PURE__*/_regeneratorRuntime().mark(function getRanges(){var _iterator110,_step110,_t93;return _regeneratorRuntime().wrap(function getRanges$(_context14){while(1)switch(_context14.prev=_context14.next){case 0:_iterator110=_createForOfIteratorHelper(this._ranges);_context14.prev=1;_iterator110.s();case 3:if((_step110=_iterator110.n()).done){_context14.next=9;break;}_t93=_step110.value;_context14.next=7;return new Gs(_t93.start,_t93.end);case 7:_context14.next=3;break;case 9:_context14.next=14;break;case 11:_context14.prev=11;_context14.t0=_context14[\"catch\"](1);_iterator110.e(_context14.t0);case 14:_context14.prev=14;_iterator110.f();return _context14.finish(14);case 17:case\"end\":return _context14.stop();}},getRanges,this,[[1,11,14,17]]);})},{key:\"getFirstRange\",value:function getFirstRange(){var t=null;var _iterator111=_createForOfIteratorHelper(this._ranges),_step111;try{for(_iterator111.s();!(_step111=_iterator111.n()).done;){var _e85=_step111.value;t&&!_e85.start.isBefore(t.start)||(t=_e85);}}catch(err){_iterator111.e(err);}finally{_iterator111.f();}return t?new Gs(t.start,t.end):null;}},{key:\"getLastRange\",value:function getLastRange(){var t=null;var _iterator112=_createForOfIteratorHelper(this._ranges),_step112;try{for(_iterator112.s();!(_step112=_iterator112.n()).done;){var _e86=_step112.value;t&&!_e86.end.isAfter(t.end)||(t=_e86);}}catch(err){_iterator112.e(err);}finally{_iterator112.f();}return t?new Gs(t.start,t.end):null;}},{key:\"getFirstPosition\",value:function getFirstPosition(){var t=this.getFirstRange();return t?t.start.clone():null;}},{key:\"getLastPosition\",value:function getLastPosition(){var t=this.getLastRange();return t?t.end.clone():null;}},{key:\"setTo\",value:function setTo(t,e,n){if(null===t)this._setRanges([]);else if(t instanceof ta)this._setRanges(t.getRanges(),t.isBackward);else if(t&&\"function\"==typeof t.getRanges)this._setRanges(t.getRanges(),t.isBackward);else if(t instanceof Gs)this._setRanges([t],!!e&&!!e.backward);else if(t instanceof $s)this._setRanges([new Gs(t)]);else if(t instanceof Bs){var _i64=!!n&&!!n.backward;var _o32;if(\"in\"==e)_o32=Gs._createIn(t);else if(\"on\"==e)_o32=Gs._createOn(t);else{if(void 0===e)throw new Gn.b(\"model-selection-setTo-required-second-parameter: selection.setTo requires the second parameter when the first parameter is a node.\");_o32=new Gs($s._createAt(t,e));}this._setRanges([_o32],_i64);}else{if(!gi(t))throw new Gn.b(\"model-selection-setTo-not-selectable: Cannot set selection to given place.\");this._setRanges(t,e&&!!e.backward);}}},{key:\"_setRanges\",value:function _setRanges(t){var _this46=this;var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;var n=(t=Array.from(t)).some(function(t){if(!(t instanceof Gs))throw new Gn.b(\"model-selection-set-ranges-not-range: Selection range set to an object that is not an instance of model.Range.\");return _this46._ranges.every(function(e){return!e.isEqual(t);});});if(t.length!==this._ranges.length||n){this._removeAllRanges();var _iterator113=_createForOfIteratorHelper(t),_step113;try{for(_iterator113.s();!(_step113=_iterator113.n()).done;){var _e87=_step113.value;this._pushRange(_e87);}}catch(err){_iterator113.e(err);}finally{_iterator113.f();}this._lastRangeBackward=!!e,this.fire(\"change:range\",{directChange:!0});}}},{key:\"setFocus\",value:function setFocus(t,e){if(null===this.anchor)throw new Gn.b(\"model-selection-setFocus-no-ranges: Cannot set selection focus if there are no ranges in selection.\");var n=$s._createAt(t,e);if(\"same\"==n.compareWith(this.focus))return;var i=this.anchor;this._ranges.length&&this._popRange(),\"before\"==n.compareWith(i)?(this._pushRange(new Gs(n,i)),this._lastRangeBackward=!0):(this._pushRange(new Gs(i,n)),this._lastRangeBackward=!1),this.fire(\"change:range\",{directChange:!0});}},{key:\"getAttribute\",value:function getAttribute(t){return this._attrs.get(t);}},{key:\"getAttributes\",value:function getAttributes(){return this._attrs.entries();}},{key:\"getAttributeKeys\",value:function getAttributeKeys(){return this._attrs.keys();}},{key:\"hasAttribute\",value:function hasAttribute(t){return this._attrs.has(t);}},{key:\"removeAttribute\",value:function removeAttribute(t){this.hasAttribute(t)&&(this._attrs[\"delete\"](t),this.fire(\"change:attribute\",{attributeKeys:[t],directChange:!0}));}},{key:\"setAttribute\",value:function setAttribute(t,e){this.getAttribute(t)!==e&&(this._attrs.set(t,e),this.fire(\"change:attribute\",{attributeKeys:[t],directChange:!0}));}},{key:\"getSelectedElement\",value:function getSelectedElement(){if(1!==this.rangeCount)return null;var t=this.getFirstRange(),e=t.start.nodeAfter,n=t.end.nodeBefore;return e instanceof Hs&&e==n?e:null;}},{key:\"is\",value:function is(t){return\"selection\"==t;}},{key:\"getSelectedBlocks\",value:/*#__PURE__*/_regeneratorRuntime().mark(function getSelectedBlocks(){var t,_iterator114,_step114,_e88,_n91,_iterator115,_step115,_n92,_i65;return _regeneratorRuntime().wrap(function getSelectedBlocks$(_context15){while(1)switch(_context15.prev=_context15.next){case 0:t=new WeakSet();_iterator114=_createForOfIteratorHelper(this.getRanges());_context15.prev=2;_iterator114.s();case 4:if((_step114=_iterator114.n()).done){_context15.next=37;break;}_e88=_step114.value;_n91=na(_e88.start,t);_context15.t0=_n91;if(!_context15.t0){_context15.next=11;break;}_context15.next=11;return _n91;case 11:_iterator115=_createForOfIteratorHelper(_e88.getWalker());_context15.prev=12;_iterator115.s();case 14:if((_step115=_iterator115.n()).done){_context15.next=22;break;}_n92=_step115.value;_context15.t1=\"elementEnd\"==_n92.type&&ea(_n92.item,t);if(!_context15.t1){_context15.next=20;break;}_context15.next=20;return _n92.item;case 20:_context15.next=14;break;case 22:_context15.next=27;break;case 24:_context15.prev=24;_context15.t2=_context15[\"catch\"](12);_iterator115.e(_context15.t2);case 27:_context15.prev=27;_iterator115.f();return _context15.finish(27);case 30:_i65=na(_e88.end,t);_context15.t3=_i65&&!_e88.end.isTouching($s._createAt(_i65,0));if(!_context15.t3){_context15.next=35;break;}_context15.next=35;return _i65;case 35:_context15.next=4;break;case 37:_context15.next=42;break;case 39:_context15.prev=39;_context15.t4=_context15[\"catch\"](2);_iterator114.e(_context15.t4);case 42:_context15.prev=42;_iterator114.f();return _context15.finish(42);case 45:case\"end\":return _context15.stop();}},getSelectedBlocks,this,[[2,39,42,45],[12,24,27,30]]);})},{key:\"getTopMostBlocks\",value:/*#__PURE__*/_regeneratorRuntime().mark(function getTopMostBlocks(){var t,_i66,_t94,_e89,_n93;return _regeneratorRuntime().wrap(function getTopMostBlocks$(_context16){while(1)switch(_context16.prev=_context16.next){case 0:t=Array.from(this.getSelectedBlocks());_i66=0,_t94=t;case 2:if(!(_i66<_t94.length)){_context16.next=12;break;}_e89=_t94[_i66];_n93=ia(_e89);_context16.t0=_n93&&t.includes(_n93);if(_context16.t0){_context16.next=9;break;}_context16.next=9;return _e89;case 9:_i66++;_context16.next=2;break;case 12:case\"end\":return _context16.stop();}},getTopMostBlocks,this);})},{key:\"containsEntireContent\",value:function containsEntireContent(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.anchor.root;var e=$s._createAt(t,0),n=$s._createAt(t,\"end\");return e.isTouching(this.getFirstPosition())&&n.isTouching(this.getLastPosition());}},{key:\"_pushRange\",value:function _pushRange(t){this._checkRange(t),this._ranges.push(new Gs(t.start,t.end));}},{key:\"_checkRange\",value:function _checkRange(t){for(var _e90=0;_e900;)this._popRange();}},{key:\"_popRange\",value:function _popRange(){this._ranges.pop();}}]);return ta;}();function ea(t,e){return!e.has(t)&&(e.add(t),t.document.model.schema.isBlock(t)&&t.parent);}function na(t,e){var n=t.parent.document.model.schema,i=t.parent.getAncestors({parentFirst:!0,includeSelf:!0});var o=!1;var r=i.find(function(t){return!o&&!(o=n.isLimit(t))&&ea(t,e);});return i.forEach(function(t){return e.add(t);}),r;}function ia(t){var e=t.document.model.schema;var n=t.parent;for(;n;){if(e.isBlock(n))return n;n=n.parent;}}ci(ta,ei);var oa=/*#__PURE__*/function(_Gs){_inherits(oa,_Gs);var _super19=_createSuper(oa);function oa(t,e){var _this47;_classCallCheck(this,oa);_this47=_super19.call(this,t,e),function(){var _this48=this;this.listenTo(this.root.document.model,\"applyOperation\",function(t,e){var n=e[0];n.isDocumentOperation&&function(t){var e=this.getTransformedByOperation(t),n=Gs._createFromRanges(e),i=!n.isEqual(this),o=function(t,e){switch(e.type){case\"insert\":return t.containsPosition(e.position);case\"move\":case\"remove\":case\"reinsert\":case\"merge\":return t.containsPosition(e.sourcePosition)||t.start.isEqual(e.sourcePosition)||t.containsPosition(e.targetPosition);case\"split\":return t.containsPosition(e.splitPosition)||t.containsPosition(e.insertionPosition);}return!1;}(this,t);var r=null;if(i){\"$graveyard\"==n.root.rootName&&(r=\"remove\"==t.type?t.sourcePosition:t.deletionPosition);var _e91=this.toRange();this.start=n.start,this.end=n.end,this.fire(\"change:range\",_e91,{deletionPosition:r});}else o&&this.fire(\"change:content\",this.toRange(),{deletionPosition:r});}.call(_this48,n);},{priority:\"low\"});}.call(_assertThisInitialized(_this47));return _this47;}_createClass(oa,[{key:\"detach\",value:function detach(){this.stopListening();}},{key:\"toRange\",value:function toRange(){return new Gs(this.start,this.end);}}],[{key:\"fromRange\",value:function fromRange(t){return new oa(t.start,t.end);}}]);return oa;}(Gs);ci(oa,ei);var ra=\"selection:\";var sa=/*#__PURE__*/function(){function sa(t){_classCallCheck(this,sa);this._selection=new aa(t),this._selection.delegate(\"change:range\").to(this),this._selection.delegate(\"change:attribute\").to(this);}_createClass(sa,[{key:\"isCollapsed\",get:function get(){return this._selection.isCollapsed;}},{key:\"anchor\",get:function get(){return this._selection.anchor;}},{key:\"focus\",get:function get(){return this._selection.focus;}},{key:\"rangeCount\",get:function get(){return this._selection.rangeCount;}},{key:\"hasOwnRange\",get:function get(){return this._selection.hasOwnRange;}},{key:\"isBackward\",get:function get(){return this._selection.isBackward;}},{key:\"isGravityOverridden\",get:function get(){return this._selection.isGravityOverridden;}},{key:\"markers\",get:function get(){return this._selection.markers;}},{key:\"_ranges\",get:function get(){return this._selection._ranges;}},{key:\"getRanges\",value:function getRanges(){return this._selection.getRanges();}},{key:\"getFirstPosition\",value:function getFirstPosition(){return this._selection.getFirstPosition();}},{key:\"getLastPosition\",value:function getLastPosition(){return this._selection.getLastPosition();}},{key:\"getFirstRange\",value:function getFirstRange(){return this._selection.getFirstRange();}},{key:\"getLastRange\",value:function getLastRange(){return this._selection.getLastRange();}},{key:\"getSelectedBlocks\",value:function getSelectedBlocks(){return this._selection.getSelectedBlocks();}},{key:\"getTopMostBlocks\",value:function getTopMostBlocks(){return this._selection.getTopMostBlocks();}},{key:\"getSelectedElement\",value:function getSelectedElement(){return this._selection.getSelectedElement();}},{key:\"containsEntireContent\",value:function containsEntireContent(t){return this._selection.containsEntireContent(t);}},{key:\"destroy\",value:function destroy(){this._selection.destroy();}},{key:\"getAttributeKeys\",value:function getAttributeKeys(){return this._selection.getAttributeKeys();}},{key:\"getAttributes\",value:function getAttributes(){return this._selection.getAttributes();}},{key:\"getAttribute\",value:function getAttribute(t){return this._selection.getAttribute(t);}},{key:\"hasAttribute\",value:function hasAttribute(t){return this._selection.hasAttribute(t);}},{key:\"is\",value:function is(t){return\"selection\"==t||\"documentSelection\"==t;}},{key:\"_setFocus\",value:function _setFocus(t,e){this._selection.setFocus(t,e);}},{key:\"_setTo\",value:function _setTo(t,e,n){this._selection.setTo(t,e,n);}},{key:\"_setAttribute\",value:function _setAttribute(t,e){this._selection.setAttribute(t,e);}},{key:\"_removeAttribute\",value:function _removeAttribute(t){this._selection.removeAttribute(t);}},{key:\"_getStoredAttributes\",value:function _getStoredAttributes(){return this._selection._getStoredAttributes();}},{key:\"_overrideGravity\",value:function _overrideGravity(){return this._selection.overrideGravity();}},{key:\"_restoreGravity\",value:function _restoreGravity(t){this._selection.restoreGravity(t);}}],[{key:\"_getStoreAttributeKey\",value:function _getStoreAttributeKey(t){return ra+t;}},{key:\"_isStoreAttributeKey\",value:function _isStoreAttributeKey(t){return t.startsWith(ra);}}]);return sa;}();ci(sa,ei);var aa=/*#__PURE__*/function(_ta){_inherits(aa,_ta);var _super20=_createSuper(aa);function aa(t){var _this49;_classCallCheck(this,aa);_this49=_super20.call(this),_this49.markers=new oo({idProperty:\"name\"}),_this49._model=t.model,_this49._document=t,_this49._attributePriority=new Map(),_this49._fixGraveyardRangesData=[],_this49._hasChangedRange=!1,_this49._overriddenGravityRegister=new Set(),_this49.on(\"change:range\",function(){var _iterator116=_createForOfIteratorHelper(_this49.getRanges()),_step116;try{for(_iterator116.s();!(_step116=_iterator116.n()).done;){var _t95=_step116.value;if(!_this49._document._validateSelectionRange(_t95))throw new Gn.b(\"document-selection-wrong-position: Range from document selection starts or ends at incorrect position.\",{range:_t95});}}catch(err){_iterator116.e(err);}finally{_iterator116.f();}_this49._updateMarkers(),_this49._updateAttributes(!1);}),_this49.listenTo(_this49._model.markers,\"update\",function(){return _this49._updateMarkers();}),_this49.listenTo(_this49._model,\"applyOperation\",function(t,e){var n=e[0];if(n.isDocumentOperation&&\"marker\"!=n.type&&\"rename\"!=n.type&&\"noop\"!=n.type){for(;_this49._fixGraveyardRangesData.length;){var _this49$_fixGraveyard=_this49._fixGraveyardRangesData.shift(),_t96=_this49$_fixGraveyard.liveRange,_e92=_this49$_fixGraveyard.sourcePosition;_this49._fixGraveyardSelection(_t96,_e92);}_this49._hasChangedRange&&(_this49._hasChangedRange=!1,_this49.fire(\"change:range\",{directChange:!1})),_this49._updateMarkers(),_this49._updateAttributes(!1);}},{priority:\"lowest\"}),_this49.listenTo(_this49._document,\"change\",function(t,e){!function(t,e){var n=t.document.differ;var _iterator117=_createForOfIteratorHelper(n.getChanges()),_step117;try{var _loop2=function _loop2(){var i=_step117.value;if(\"insert\"!=i.type)return 1;// continue\nvar n=i.position.parent,o=i.length===n.maxOffset;o&&t.enqueueChange(e,function(t){var e=Array.from(n.getAttributeKeys()).filter(function(t){return t.startsWith(ra);});var _iterator118=_createForOfIteratorHelper(e),_step118;try{for(_iterator118.s();!(_step118=_iterator118.n()).done;){var _i67=_step118.value;t.removeAttribute(_i67,n);}}catch(err){_iterator118.e(err);}finally{_iterator118.f();}});};for(_iterator117.s();!(_step117=_iterator117.n()).done;){if(_loop2())continue;}}catch(err){_iterator117.e(err);}finally{_iterator117.f();}}(_this49._model,e);});return _this49;}_createClass(aa,[{key:\"isCollapsed\",get:function get(){return 0===this._ranges.length?this._document._getDefaultRange().isCollapsed:_get(_getPrototypeOf(aa.prototype),\"isCollapsed\",this);}},{key:\"anchor\",get:function get(){return _get(_getPrototypeOf(aa.prototype),\"anchor\",this)||this._document._getDefaultRange().start;}},{key:\"focus\",get:function get(){return _get(_getPrototypeOf(aa.prototype),\"focus\",this)||this._document._getDefaultRange().end;}},{key:\"rangeCount\",get:function get(){return this._ranges.length?this._ranges.length:1;}},{key:\"hasOwnRange\",get:function get(){return this._ranges.length>0;}},{key:\"isGravityOverridden\",get:function get(){return!!this._overriddenGravityRegister.size;}},{key:\"destroy\",value:function destroy(){for(var _t97=0;_t970&&this.fire(\"change:attribute\",{attributeKeys:i,directChange:!1});}},{key:\"_setAttribute\",value:function _setAttribute(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!0;var i=n?\"normal\":\"low\";return(\"low\"!=i||\"normal\"!=this._attributePriority.get(t))&&_get(_getPrototypeOf(aa.prototype),\"getAttribute\",this).call(this,t)!==e&&(this._attrs.set(t,e),this._attributePriority.set(t,i),!0);}},{key:\"_removeAttribute\",value:function _removeAttribute(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!0;var n=e?\"normal\":\"low\";return(\"low\"!=n||\"normal\"!=this._attributePriority.get(t))&&(this._attributePriority.set(t,n),!!_get(_getPrototypeOf(aa.prototype),\"hasAttribute\",this).call(this,t)&&(this._attrs[\"delete\"](t),!0));}},{key:\"_setAttributesTo\",value:function _setAttributesTo(t){var e=new Set();var _iterator124=_createForOfIteratorHelper(this.getAttributes()),_step124;try{for(_iterator124.s();!(_step124=_iterator124.n()).done;){var _step124$value=_slicedToArray(_step124.value,2),_e100=_step124$value[0],_n95=_step124$value[1];t.get(_e100)!==_n95&&this._removeAttribute(_e100,!1);}}catch(err){_iterator124.e(err);}finally{_iterator124.f();}var _iterator125=_createForOfIteratorHelper(t),_step125;try{for(_iterator125.s();!(_step125=_iterator125.n()).done;){var _step125$value=_slicedToArray(_step125.value,2),_n96=_step125$value[0],_i71=_step125$value[1];this._setAttribute(_n96,_i71,!1)&&e.add(_n96);}}catch(err){_iterator125.e(err);}finally{_iterator125.f();}return e;}},{key:\"_getStoredAttributes\",value:/*#__PURE__*/_regeneratorRuntime().mark(function _getStoredAttributes(){var t,_iterator126,_step126,_e101;return _regeneratorRuntime().wrap(function _getStoredAttributes$(_context18){while(1)switch(_context18.prev=_context18.next){case 0:t=this.getFirstPosition().parent;if(!(this.isCollapsed&&t.isEmpty)){_context18.next=20;break;}_iterator126=_createForOfIteratorHelper(t.getAttributeKeys());_context18.prev=3;_iterator126.s();case 5:if((_step126=_iterator126.n()).done){_context18.next=12;break;}_e101=_step126.value;if(!_e101.startsWith(ra)){_context18.next=10;break;}_context18.next=10;return[_e101.substr(ra.length),t.getAttribute(_e101)];case 10:_context18.next=5;break;case 12:_context18.next=17;break;case 14:_context18.prev=14;_context18.t0=_context18[\"catch\"](3);_iterator126.e(_context18.t0);case 17:_context18.prev=17;_iterator126.f();return _context18.finish(17);case 20:case\"end\":return _context18.stop();}},_getStoredAttributes,this,[[3,14,17,20]]);})},{key:\"_getSurroundingAttributes\",value:function _getSurroundingAttributes(){var t=this.getFirstPosition(),e=this._model.schema;var n=null;if(this.isCollapsed){var _e102=t.textNode?t.textNode:t.nodeBefore,_i72=t.textNode?t.textNode:t.nodeAfter;if(this.isGravityOverridden||(n=ca(_e102)),n||(n=ca(_i72)),!this.isGravityOverridden&&!n){var _t102=_e102;for(;_t102&&!n;)n=ca(_t102=_t102.previousSibling);}if(!n){var _t103=_i72;for(;_t103&&!n;)n=ca(_t103=_t103.nextSibling);}n||(n=this._getStoredAttributes());}else{var _t104=this.getFirstRange();var _iterator127=_createForOfIteratorHelper(_t104),_step127;try{for(_iterator127.s();!(_step127=_iterator127.n()).done;){var _i73=_step127.value;if(_i73.item.is(\"element\")&&e.isObject(_i73.item))break;if(\"text\"==_i73.type){n=_i73.item.getAttributes();break;}}}catch(err){_iterator127.e(err);}finally{_iterator127.f();}}return n;}},{key:\"_fixGraveyardSelection\",value:function _fixGraveyardSelection(t,e){var n=e.clone(),i=this._model.schema.getNearestSelectionRange(n),o=this._ranges.indexOf(t);if(this._ranges.splice(o,1),t.detach(),i){var _t105=this._prepareRange(i);this._ranges.splice(o,0,_t105);}}}]);return aa;}(ta);function ca(t){return t instanceof Fs||t instanceof zs?t.getAttributes():null;}var la=/*#__PURE__*/function(){function la(t){_classCallCheck(this,la);this._dispatchers=t;}_createClass(la,[{key:\"add\",value:function add(t){var _iterator128=_createForOfIteratorHelper(this._dispatchers),_step128;try{for(_iterator128.s();!(_step128=_iterator128.n()).done;){var _e103=_step128.value;t(_e103);}}catch(err){_iterator128.e(err);}finally{_iterator128.f();}return this;}}]);return la;}();var da=1,ua=4;var ha=function ha(t){return Fn(t,da|ua);};var fa=/*#__PURE__*/function(_la){_inherits(fa,_la);var _super21=_createSuper(fa);function fa(){_classCallCheck(this,fa);return _super21.apply(this,arguments);}_createClass(fa,[{key:\"elementToElement\",value:function elementToElement(t){return this.add(function(t){return(t=ha(t)).view=pa(t.view,\"container\"),function(e){e.on(\"insert:\"+t.model,function(t){return function(e,n,i){var o=t(n.item,i.writer);if(!o)return;if(!i.consumable.consume(n.item,\"insert\"))return;var r=i.mapper.toViewPosition(n.range.start);i.mapper.bindElements(n.item,o),i.writer.insert(r,o);};}(t.view),{priority:t.converterPriority||\"normal\"});};}(t));}},{key:\"attributeToElement\",value:function attributeToElement(t){return this.add(function(t){var e=\"attribute:\"+((t=ha(t)).model.key?t.model.key:t.model);t.model.name&&(e+=\":\"+t.model.name);if(t.model.values){var _iterator129=_createForOfIteratorHelper(t.model.values),_step129;try{for(_iterator129.s();!(_step129=_iterator129.n()).done;){var _e104=_step129.value;t.view[_e104]=pa(t.view[_e104],\"attribute\");}}catch(err){_iterator129.e(err);}finally{_iterator129.f();}}else t.view=pa(t.view,\"attribute\");var n=ga(t);return function(i){i.on(e,function(t){return function(e,n,i){var o=t(n.attributeOldValue,i.writer),r=t(n.attributeNewValue,i.writer);if(!o&&!r)return;if(!i.consumable.consume(n.item,e.name))return;var s=i.writer,a=s.document.selection;if(n.item instanceof ta||n.item instanceof sa)s.wrap(a.getFirstRange(),r);else{var _t106=i.mapper.toViewRange(n.range);null!==n.attributeOldValue&&o&&(_t106=s.unwrap(_t106,o)),null!==n.attributeNewValue&&r&&s.wrap(_t106,r);}};}(n),{priority:t.converterPriority||\"normal\"});};}(t));}},{key:\"attributeToAttribute\",value:function attributeToAttribute(t){return this.add(function(t){var e=\"attribute:\"+((t=ha(t)).model.key?t.model.key:t.model);t.model.name&&(e+=\":\"+t.model.name);if(t.model.values){var _iterator130=_createForOfIteratorHelper(t.model.values),_step130;try{for(_iterator130.s();!(_step130=_iterator130.n()).done;){var _e105=_step130.value;t.view[_e105]=ba(t.view[_e105]);}}catch(err){_iterator130.e(err);}finally{_iterator130.f();}}else t.view=ba(t.view);var n=ga(t);return function(i){i.on(e,function(t){return function(e,n,i){var o=t(n.attributeOldValue,n),r=t(n.attributeNewValue,n);if(!o&&!r)return;if(!i.consumable.consume(n.item,e.name))return;var s=i.mapper.toViewElement(n.item),a=i.writer;if(s){if(null!==n.attributeOldValue&&o)if(\"class\"==o.key){var _t107=Array.isArray(o.value)?o.value:[o.value];var _iterator131=_createForOfIteratorHelper(_t107),_step131;try{for(_iterator131.s();!(_step131=_iterator131.n()).done;){var _e106=_step131.value;a.removeClass(_e106,s);}}catch(err){_iterator131.e(err);}finally{_iterator131.f();}}else if(\"style\"==o.key){var _t108=Object.keys(o.value);for(var _i74=0,_t109=_t108;_i74<_t109.length;_i74++){var _e107=_t109[_i74];a.removeStyle(_e107,s);}}else a.removeAttribute(o.key,s);if(null!==n.attributeNewValue&&r)if(\"class\"==r.key){var _t110=Array.isArray(r.value)?r.value:[r.value];var _iterator132=_createForOfIteratorHelper(_t110),_step132;try{for(_iterator132.s();!(_step132=_iterator132.n()).done;){var _e108=_step132.value;a.addClass(_e108,s);}}catch(err){_iterator132.e(err);}finally{_iterator132.f();}}else if(\"style\"==r.key){var _t111=Object.keys(r.value);for(var _i75=0,_t112=_t111;_i75<_t112.length;_i75++){var _e109=_t112[_i75];a.setStyle(_e109,r.value[_e109],s);}}else a.setAttribute(r.key,r.value,s);}else bs.a.warn(\"conversion-attribute-to-attribute-on-text: Trying to convert text node's attribute with attribute-to-attribute converter.\");};}(n),{priority:t.converterPriority||\"normal\"});};}(t));}},{key:\"markerToElement\",value:function markerToElement(t){return this.add(function(t){return(t=ha(t)).view=pa(t.view,\"ui\"),function(e){e.on(\"addMarker:\"+t.model,function(t){return function(e,n,i){n.isOpening=!0;var o=t(n,i.writer);n.isOpening=!1;var r=t(n,i.writer);if(!o||!r)return;var s=n.markerRange;if(s.isCollapsed&&!i.consumable.consume(s,e.name))return;var _iterator133=_createForOfIteratorHelper(s),_step133;try{for(_iterator133.s();!(_step133=_iterator133.n()).done;){var _t113=_step133.value;if(!i.consumable.consume(_t113.item,e.name))return;}}catch(err){_iterator133.e(err);}finally{_iterator133.f();}var a=i.mapper,c=i.writer;c.insert(a.toViewPosition(s.start),o),i.mapper.bindElementToMarker(o,n.markerName),s.isCollapsed||(c.insert(a.toViewPosition(s.end),r),i.mapper.bindElementToMarker(r,n.markerName)),e.stop();};}(t.view),{priority:t.converterPriority||\"normal\"}),e.on(\"removeMarker:\"+t.model,(t.view,function(t,e,n){var i=n.mapper.markerNameToElements(e.markerName);if(i){n.mapper.unbindElementsFromMarkerName(e.markerName);var _iterator134=_createForOfIteratorHelper(i),_step134;try{for(_iterator134.s();!(_step134=_iterator134.n()).done;){var _t114=_step134.value;n.writer.clear(n.writer.createRangeOn(_t114),_t114);}}catch(err){_iterator134.e(err);}finally{_iterator134.f();}n.writer.clearClonedElementsGroup(e.markerName),t.stop();}}),{priority:t.converterPriority||\"normal\"});};}(t));}},{key:\"markerToHighlight\",value:function markerToHighlight(t){return this.add(function(t){return function(e){e.on(\"addMarker:\"+t.model,function(t){return function(e,n,i){if(!n.item)return;if(!(n.item instanceof ta||n.item instanceof sa||n.item.is(\"textProxy\")))return;var o=wa(t,n,i);if(!o)return;if(!i.consumable.consume(n.item,e.name))return;var r=ma(o),s=i.writer,a=s.document.selection;if(n.item instanceof ta||n.item instanceof sa)s.wrap(a.getFirstRange(),r,a);else{var _t115=i.mapper.toViewRange(n.range),_e110=s.wrap(_t115,r);var _iterator135=_createForOfIteratorHelper(_e110.getItems()),_step135;try{for(_iterator135.s();!(_step135=_iterator135.n()).done;){var _t116=_step135.value;if(_t116.is(\"attributeElement\")&&_t116.isSimilar(r)){i.mapper.bindElementToMarker(_t116,n.markerName);break;}}}catch(err){_iterator135.e(err);}finally{_iterator135.f();}}};}(t.view),{priority:t.converterPriority||\"normal\"}),e.on(\"addMarker:\"+t.model,function(t){return function(e,n,i){if(!n.item)return;if(!(n.item instanceof Hs))return;var o=wa(t,n,i);if(!o)return;if(!i.consumable.test(n.item,e.name))return;var r=i.mapper.toViewElement(n.item);if(r&&r.getCustomProperty(\"addHighlight\")){i.consumable.consume(n.item,e.name);var _iterator136=_createForOfIteratorHelper(Gs._createIn(n.item)),_step136;try{for(_iterator136.s();!(_step136=_iterator136.n()).done;){var _t117=_step136.value;i.consumable.consume(_t117.item,e.name);}}catch(err){_iterator136.e(err);}finally{_iterator136.f();}r.getCustomProperty(\"addHighlight\")(r,o,i.writer),i.mapper.bindElementToMarker(r,n.markerName);}};}(t.view),{priority:t.converterPriority||\"normal\"}),e.on(\"removeMarker:\"+t.model,function(t){return function(e,n,i){if(n.markerRange.isCollapsed)return;var o=wa(t,n,i);if(!o)return;var r=ma(o),s=i.mapper.markerNameToElements(n.markerName);if(s){i.mapper.unbindElementsFromMarkerName(n.markerName);var _iterator137=_createForOfIteratorHelper(s),_step137;try{for(_iterator137.s();!(_step137=_iterator137.n()).done;){var _t118=_step137.value;_t118.is(\"attributeElement\")?i.writer.unwrap(i.writer.createRangeOn(_t118),r):_t118.getCustomProperty(\"removeHighlight\")(_t118,o.id,i.writer);}}catch(err){_iterator137.e(err);}finally{_iterator137.f();}i.writer.clearClonedElementsGroup(n.markerName),e.stop();}};}(t.view),{priority:t.converterPriority||\"normal\"});};}(t));}}]);return fa;}(la);function ma(t){var e=new ao(\"span\",t.attributes);return t.classes&&e._addClass(t.classes),t.priority&&(e._priority=t.priority),e._id=t.id,e;}function pa(t,e){return\"function\"==typeof t?t:function(n,i){return function(t,e,n){\"string\"==typeof t&&(t={name:t});var i;var o=Object.assign({},t.attributes);if(\"container\"==n)i=e.createContainerElement(t.name,o);else if(\"attribute\"==n){var _n97={priority:t.priority||ao.DEFAULT_PRIORITY};i=e.createAttributeElement(t.name,o,_n97);}else i=e.createUIElement(t.name,o);if(t.styles){var _n98=Object.keys(t.styles);for(var _i76=0,_n99=_n98;_i76<_n99.length;_i76++){var _o33=_n99[_i76];e.setStyle(_o33,t.styles[_o33],i);}}if(t.classes){var _n100=t.classes;if(\"string\"==typeof _n100)e.addClass(_n100,i);else{var _iterator138=_createForOfIteratorHelper(_n100),_step138;try{for(_iterator138.s();!(_step138=_iterator138.n()).done;){var _t119=_step138.value;e.addClass(_t119,i);}}catch(err){_iterator138.e(err);}finally{_iterator138.f();}}}return i;}(t,i,e);};}function ga(t){return t.model.values?function(e,n){var i=t.view[e];return i?i(e,n):null;}:t.view;}function ba(t){return\"string\"==typeof t?function(e){return{key:t,value:e};}:\"object\"==_typeof(t)?t.value?function(){return t;}:function(e){return{key:t.key,value:e};}:t;}function wa(t,e,n){var i=\"function\"==typeof t?t(e,n):t;return i?(i.priority||(i.priority=10),i.id||(i.id=e.markerName),i):null;}var _a=/*#__PURE__*/function(_la2){_inherits(_a,_la2);var _super22=_createSuper(_a);function _a(){_classCallCheck(this,_a);return _super22.apply(this,arguments);}_createClass(_a,[{key:\"elementToElement\",value:function elementToElement(t){return this.add(ka(t));}},{key:\"elementToAttribute\",value:function elementToAttribute(t){return this.add(function(t){ya(t=ha(t));var e=xa(t,!1),n=va(t),i=n?\"element:\"+n:\"element\";return function(n){n.on(i,e,{priority:t.converterPriority||\"low\"});};}(t));}},{key:\"attributeToAttribute\",value:function attributeToAttribute(t){return this.add(function(t){var e=null;(\"string\"==typeof(t=ha(t)).view||t.view.key)&&(e=function(t){\"string\"==typeof t.view&&(t.view={key:t.view});var e=t.view.key;var n;if(\"class\"==e||\"style\"==e){var _i77=\"class\"==e?\"classes\":\"styles\";n=_defineProperty({},_i77,t.view.value);}else{var _i78=void 0===t.view.value?/[\\s\\S]*/:t.view.value;n={attributes:_defineProperty({},e,_i78)};}t.view.name&&(n.name=t.view.name);return t.view=n,e;}(t));ya(t,e);var n=xa(t,!0);return function(e){e.on(\"element\",n,{priority:t.converterPriority||\"low\"});};}(t));}},{key:\"elementToMarker\",value:function elementToMarker(t){return this.add(function(t){return function(t){var e=t.model;t.model=function(t,n){var i=\"string\"==typeof e?e:e(t);return n.createElement(\"$marker\",{\"data-name\":i});};}(t=ha(t)),ka(t);}(t));}}]);return _a;}(la);function ka(t){var e=function(t){var e=new bi(t.view);return function(n,i,o){var r=e.match(i.viewItem);if(!r)return;r.match.name=!0;var s=function(t,e,n){return t instanceof Function?t(e,n):n.createElement(t);}(t.model,i.viewItem,o.writer);if(!s)return;if(!o.consumable.test(i.viewItem,r.match))return;var a=o.splitToAllowedParent(s,i.modelCursor);if(!a)return;o.writer.insert(s,a.position);var c=o.convertChildren(i.viewItem,o.writer.createPositionAt(s,0));o.consumable.consume(i.viewItem,r.match),i.modelRange=new Gs(o.writer.createPositionBefore(s),o.writer.createPositionAfter(c.modelCursor.parent)),a.cursorParent?i.modelCursor=o.writer.createPositionAt(a.cursorParent,0):i.modelCursor=i.modelRange.end;};}(t=ha(t)),n=va(t),i=n?\"element:\"+n:\"element\";return function(n){n.on(i,e,{priority:t.converterPriority||\"normal\"});};}function va(t){return\"string\"==typeof t.view?t.view:\"object\"==_typeof(t.view)&&\"string\"==typeof t.view.name?t.view.name:null;}function ya(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;var n=null===e||function(t){return t.getAttribute(e);},i=\"object\"!=_typeof(t.model)?t.model:t.model.key,o=\"object\"!=_typeof(t.model)||void 0===t.model.value?n:t.model.value;t.model={key:i,value:o};}function xa(t,e){var n=new bi(t.view);return function(i,o,r){var s=n.match(o.viewItem);if(!s)return;var a=t.model.key,c=\"function\"==typeof t.model.value?t.model.value(o.viewItem):t.model.value;null!==c&&(!function(t){if(\"object\"==_typeof(t.view)&&!va(t))return!1;return!t.view.classes&&!t.view.attributes&&!t.view.styles;}(t)?delete s.match.name:s.match.name=!0,r.consumable.test(o.viewItem,s.match)&&(o.modelRange||(o=Object.assign(o,r.convertChildren(o.viewItem,o.modelCursor))),function(t,e,n,i){var o=!1;for(var _i79=0,_Array$from4=Array.from(t.getItems({shallow:n}));_i79<_Array$from4.length;_i79++){var _r13=_Array$from4[_i79];i.schema.checkAttribute(_r13,e.key)&&(i.writer.setAttribute(e.key,e.value,_r13),o=!0);}return o;}(o.modelRange,{key:a,value:c},e,r)&&r.consumable.consume(o.viewItem,s.match)));};}var Aa=/*#__PURE__*/function(){function Aa(t){var _this51=this;_classCallCheck(this,Aa);this.model=t,this.view=new js(),this.mapper=new Qs(),this.downcastDispatcher=new Zs({mapper:this.mapper});var e=this.model.document,n=e.selection,i=this.model.markers;this.listenTo(this.model,\"_beforeChanges\",function(){_this51.view._disableRendering(!0);},{priority:\"highest\"}),this.listenTo(this.model,\"_afterChanges\",function(){_this51.view._disableRendering(!1);},{priority:\"lowest\"}),this.listenTo(e,\"change\",function(){_this51.view.change(function(t){_this51.downcastDispatcher.convertChanges(e.differ,t),_this51.downcastDispatcher.convertSelection(n,i,t);});},{priority:\"low\"}),this.listenTo(this.view.document,\"selectionChange\",function(t,e){return function(n,i){var o=i.newSelection,r=new ta(),s=[];var _iterator139=_createForOfIteratorHelper(o.getRanges()),_step139;try{for(_iterator139.s();!(_step139=_iterator139.n()).done;){var _t120=_step139.value;s.push(e.toModelRange(_t120));}}catch(err){_iterator139.e(err);}finally{_iterator139.f();}r.setTo(s,{backward:o.isBackward}),r.isEqual(t.document.selection)||t.change(function(t){t.setSelection(r);});};}(this.model,this.mapper)),this.downcastDispatcher.on(\"insert:$text\",function(t,e,n){if(!n.consumable.consume(e.item,\"insert\"))return;var i=n.writer,o=n.mapper.toViewPosition(e.range.start),r=i.createText(e.item.data);i.insert(o,r);},{priority:\"lowest\"}),this.downcastDispatcher.on(\"remove\",function(t,e,n){var i=n.mapper.toViewPosition(e.position),o=e.position.getShiftedBy(e.length),r=n.mapper.toViewPosition(o,{isPhantom:!0}),s=n.writer.createRange(i,r),a=n.writer.remove(s.getTrimmed());var _iterator140=_createForOfIteratorHelper(n.writer.createRangeIn(a).getItems()),_step140;try{for(_iterator140.s();!(_step140=_iterator140.n()).done;){var _t121=_step140.value;n.mapper.unbindViewElement(_t121);}}catch(err){_iterator140.e(err);}finally{_iterator140.f();}},{priority:\"low\"}),this.downcastDispatcher.on(\"selection\",function(t,e,n){var i=n.writer,o=i.document.selection;var _iterator141=_createForOfIteratorHelper(o.getRanges()),_step141;try{for(_iterator141.s();!(_step141=_iterator141.n()).done;){var _t122=_step141.value;_t122.isCollapsed&&_t122.end.parent.document&&n.writer.mergeAttributes(_t122.start);}}catch(err){_iterator141.e(err);}finally{_iterator141.f();}i.setSelection(null);},{priority:\"low\"}),this.downcastDispatcher.on(\"selection\",function(t,e,n){var i=e.selection;if(i.isCollapsed)return;if(!n.consumable.consume(i,\"selection\"))return;var o=[];var _iterator142=_createForOfIteratorHelper(i.getRanges()),_step142;try{for(_iterator142.s();!(_step142=_iterator142.n()).done;){var _t123=_step142.value;var _e111=n.mapper.toViewRange(_t123);o.push(_e111);}}catch(err){_iterator142.e(err);}finally{_iterator142.f();}n.writer.setSelection(o,{backward:i.isBackward});},{priority:\"low\"}),this.downcastDispatcher.on(\"selection\",function(t,e,n){var i=e.selection;if(!i.isCollapsed)return;if(!n.consumable.consume(i,\"selection\"))return;var o=n.writer,r=i.getFirstPosition(),s=n.mapper.toViewPosition(r),a=o.breakAttributes(s);o.setSelection(a);},{priority:\"low\"}),this.view.document.roots.bindTo(this.model.document.roots).using(function(t){if(\"$graveyard\"==t.rootName)return null;var e=new Ji(t.name);return e.rootName=t.rootName,e._document=_this51.view.document,_this51.mapper.bindElements(t,e),e;});}_createClass(Aa,[{key:\"destroy\",value:function destroy(){this.view.destroy(),this.stopListening();}}]);return Aa;}();ci(Aa,Fi);var Ca=/*#__PURE__*/function(_Symbol$iterator8){function Ca(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];_classCallCheck(this,Ca);this._editor=t,this._availablePlugins=new Map(),this._plugins=new Map();var _iterator143=_createForOfIteratorHelper(e),_step143;try{for(_iterator143.s();!(_step143=_iterator143.n()).done;){var _t124=_step143.value;this._availablePlugins.set(_t124,_t124),_t124.pluginName&&this._availablePlugins.set(_t124.pluginName,_t124);}}catch(err){_iterator143.e(err);}finally{_iterator143.f();}}_createClass(Ca,[{key:_Symbol$iterator8,value:/*#__PURE__*/_regeneratorRuntime().mark(function value(){var _iterator144,_step144,_t125;return _regeneratorRuntime().wrap(function value$(_context19){while(1)switch(_context19.prev=_context19.next){case 0:_iterator144=_createForOfIteratorHelper(this._plugins);_context19.prev=1;_iterator144.s();case 3:if((_step144=_iterator144.n()).done){_context19.next=11;break;}_t125=_step144.value;_context19.t0=\"function\"==typeof _t125[0];if(!_context19.t0){_context19.next=9;break;}_context19.next=9;return _t125;case 9:_context19.next=3;break;case 11:_context19.next=16;break;case 13:_context19.prev=13;_context19.t1=_context19[\"catch\"](1);_iterator144.e(_context19.t1);case 16:_context19.prev=16;_iterator144.f();return _context19.finish(16);case 19:case\"end\":return _context19.stop();}},value,this,[[1,13,16,19]]);})},{key:\"get\",value:function get(t){var e=this._plugins.get(t);if(!e){var _e112=\"plugincollection-plugin-not-loaded: The requested plugin is not loaded.\";var _n102=t;throw\"function\"==typeof t&&(_n102=t.pluginName||t.name),new Gn.b(_e112,{plugin:_n102});}return e;}},{key:\"has\",value:function has(t){return this._plugins.has(t);}},{key:\"init\",value:function init(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var n=this,i=this._editor,o=new Set(),r=[],s=h(t),a=h(e),c=function(t){var e=[];var _iterator145=_createForOfIteratorHelper(t),_step145;try{for(_iterator145.s();!(_step145=_iterator145.n()).done;){var _n103=_step145.value;u(_n103)||e.push(_n103);}}catch(err){_iterator145.e(err);}finally{_iterator145.f();}return e.length?e:null;}(t);if(c){var _t126=\"plugincollection-plugin-not-found: Some plugins are not available and could not be loaded.\";return bs.a.error(_t126,{plugins:c}),Promise.reject(new Gn.b(_t126,{plugins:c}));}return Promise.all(s.map(l)).then(function(){return d(r,\"init\");}).then(function(){return d(r,\"afterInit\");}).then(function(){return r;});function l(t){if(!a.includes(t)&&!n._plugins.has(t)&&!o.has(t))return function(t){return new Promise(function(s){o.add(t),t.requires&&t.requires.forEach(function(n){var i=u(n);if(e.includes(i))throw new Gn.b(\"plugincollection-required: Cannot load a plugin because one of its dependencies is listed inthe `removePlugins` option.\",{plugin:i,requiredBy:t});l(i);});var a=new t(i);n._add(t,a),r.push(a),s();});}(t)[\"catch\"](function(e){throw bs.a.error(\"plugincollection-load: It was not possible to load the plugin.\",{plugin:t}),e;});}function d(t,e){return t.reduce(function(t,n){return n[e]?t.then(n[e].bind(n)):t;},Promise.resolve());}function u(t){return\"function\"==typeof t?t:n._availablePlugins.get(t);}function h(t){return t.map(function(t){return u(t);}).filter(function(t){return!!t;});}}},{key:\"destroy\",value:function destroy(){var t=Array.from(this).map(function(_ref3){var _ref4=_slicedToArray(_ref3,2),t=_ref4[1];return t;}).filter(function(t){return\"function\"==typeof t.destroy;}).map(function(t){return t.destroy();});return Promise.all(t);}},{key:\"_add\",value:function _add(t,e){this._plugins.set(t,e);var n=t.pluginName;n&&(this._plugins.has(n)?bs.a.warn(\"plugincollection-plugin-name-conflict: Two plugins with the same name were loaded.\",{pluginName:n,plugin1:this._plugins.get(n).constructor,plugin2:t}):this._plugins.set(n,e));}}]);return Ca;}(Symbol.iterator);ci(Ca,ei);var Ta=/*#__PURE__*/function(_Symbol$iterator9){function Ta(){_classCallCheck(this,Ta);this._commands=new Map();}_createClass(Ta,[{key:\"add\",value:function add(t,e){this._commands.set(t,e);}},{key:\"get\",value:function get(t){return this._commands.get(t);}},{key:\"execute\",value:function execute(t){var n=this.get(t);if(!n)throw new Gn.b(\"commandcollection-command-not-found: Command does not exist.\",{commandName:t});for(var _len16=arguments.length,e=new Array(_len16>1?_len16-1:0),_key16=1;_key16<_len16;_key16++){e[_key16-1]=arguments[_key16];}n.execute.apply(n,e);}},{key:\"names\",value:/*#__PURE__*/_regeneratorRuntime().mark(function names(){return _regeneratorRuntime().wrap(function names$(_context20){while(1)switch(_context20.prev=_context20.next){case 0:return _context20.delegateYield(this._commands.keys(),\"t0\",1);case 1:case\"end\":return _context20.stop();}},names,this);})},{key:\"commands\",value:/*#__PURE__*/_regeneratorRuntime().mark(function commands(){return _regeneratorRuntime().wrap(function commands$(_context21){while(1)switch(_context21.prev=_context21.next){case 0:return _context21.delegateYield(this._commands.values(),\"t0\",1);case 1:case\"end\":return _context21.stop();}},commands,this);})},{key:_Symbol$iterator9,value:function value(){return this._commands[Symbol.iterator]();}},{key:\"destroy\",value:function destroy(){var _iterator146=_createForOfIteratorHelper(this.commands()),_step146;try{for(_iterator146.s();!(_step146=_iterator146.n()).done;){var _t127=_step146.value;_t127.destroy();}}catch(err){_iterator146.e(err);}finally{_iterator146.f();}}}]);return Ta;}(Symbol.iterator);function Pa(t,e){var n=Object.keys(window.CKEDITOR_TRANSLATIONS).length;return 1===n&&(t=Object.keys(window.CKEDITOR_TRANSLATIONS)[0]),0!==n&&function(t,e){return t in window.CKEDITOR_TRANSLATIONS&&e in window.CKEDITOR_TRANSLATIONS[t];}(t,e)?window.CKEDITOR_TRANSLATIONS[t][e].replace(/ \\[context: [^\\]]+\\]$/,\"\"):e.replace(/ \\[context: [^\\]]+\\]$/,\"\");}window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={});var Ma=/*#__PURE__*/function(){function Ma(t){var _this52=this;_classCallCheck(this,Ma);this.language=t||\"en\",this.t=function(){return _this52._t.apply(_this52,arguments);};}_createClass(Ma,[{key:\"_t\",value:function _t(t,e){var n=Pa(this.language,t);return e&&(n=n.replace(/%(\\d+)/g,function(t,n){return n1&&arguments[1]!==undefined?arguments[1]:null;if(t instanceof $s){var _e121=t.nodeBefore,_n107=t.nodeAfter;if(!(_e121 instanceof Hs))throw new Gn.b(\"schema-check-merge-no-element-before: The node before the merge position must be an element.\");if(!(_n107 instanceof Hs))throw new Gn.b(\"schema-check-merge-no-element-after: The node after the merge position must be an element.\");return this.checkMerge(_e121,_n107);}var _iterator155=_createForOfIteratorHelper(e.getChildren()),_step155;try{for(_iterator155.s();!(_step155=_iterator155.n()).done;){var _n108=_step155.value;if(!this.checkChild(t,_n108))return!1;}}catch(err){_iterator155.e(err);}finally{_iterator155.f();}return!0;}},{key:\"addChildCheck\",value:function addChildCheck(t){this.on(\"checkChild\",function(e,_ref5){var _ref6=_slicedToArray(_ref5,2),n=_ref6[0],i=_ref6[1];if(!i)return;var o=t(n,i);\"boolean\"==typeof o&&(e.stop(),e[\"return\"]=o);},{priority:\"high\"});}},{key:\"addAttributeCheck\",value:function addAttributeCheck(t){this.on(\"checkAttribute\",function(e,_ref7){var _ref8=_slicedToArray(_ref7,2),n=_ref8[0],i=_ref8[1];var o=t(n,i);\"boolean\"==typeof o&&(e.stop(),e[\"return\"]=o);},{priority:\"high\"});}},{key:\"getLimitElement\",value:function getLimitElement(t){var e;if(t instanceof $s)e=t.parent;else{e=(t instanceof Gs?[t]:Array.from(t.getRanges())).reduce(function(t,e){var n=e.getCommonAncestor();return t?t.getCommonAncestor(n,{includeSelf:!0}):n;},null);}for(;!this.isLimit(e)&&e.parent;)e=e.parent;return e;}},{key:\"checkAttributeInSelection\",value:function checkAttributeInSelection(t,e){if(t.isCollapsed){var _n109=[].concat(_toConsumableArray(t.getFirstPosition().getAncestors()),[new zs(\"\",t.getAttributes())]);return this.checkAttribute(_n109,e);}{var _n110=t.getRanges();var _iterator156=_createForOfIteratorHelper(_n110),_step156;try{for(_iterator156.s();!(_step156=_iterator156.n()).done;){var _t135=_step156.value;var _iterator157=_createForOfIteratorHelper(_t135),_step157;try{for(_iterator157.s();!(_step157=_iterator157.n()).done;){var _n111=_step157.value;if(this.checkAttribute(_n111.item,e))return!0;}}catch(err){_iterator157.e(err);}finally{_iterator157.f();}}}catch(err){_iterator156.e(err);}finally{_iterator156.f();}}return!1;}},{key:\"getValidRanges\",value:/*#__PURE__*/_regeneratorRuntime().mark(function getValidRanges(t,e){var _iterator159,_step159,_n112;return _regeneratorRuntime().wrap(function getValidRanges$(_context23){while(1)switch(_context23.prev=_context23.next){case 0:t=/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(t){var _iterator158,_step158,_e122;return _regeneratorRuntime().wrap(function _callee7$(_context22){while(1)switch(_context22.prev=_context22.next){case 0:_iterator158=_createForOfIteratorHelper(t);_context22.prev=1;_iterator158.s();case 3:if((_step158=_iterator158.n()).done){_context22.next=8;break;}_e122=_step158.value;return _context22.delegateYield(_e122.getMinimalFlatRanges(),\"t0\",6);case 6:_context22.next=3;break;case 8:_context22.next=13;break;case 10:_context22.prev=10;_context22.t1=_context22[\"catch\"](1);_iterator158.e(_context22.t1);case 13:_context22.prev=13;_iterator158.f();return _context22.finish(13);case 16:case\"end\":return _context22.stop();}},_callee7,null,[[1,10,13,16]]);})(t);_iterator159=_createForOfIteratorHelper(t);_context23.prev=2;_iterator159.s();case 4:if((_step159=_iterator159.n()).done){_context23.next=9;break;}_n112=_step159.value;return _context23.delegateYield(this._getValidRangesForRange(_n112,e),\"t0\",7);case 7:_context23.next=4;break;case 9:_context23.next=14;break;case 11:_context23.prev=11;_context23.t1=_context23[\"catch\"](2);_iterator159.e(_context23.t1);case 14:_context23.prev=14;_iterator159.f();return _context23.finish(14);case 17:case\"end\":return _context23.stop();}},getValidRanges,this,[[2,11,14,17]]);})},{key:\"getNearestSelectionRange\",value:function getNearestSelectionRange(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:\"both\";if(this.checkChild(t,\"$text\"))return new Gs(t);var n,i;\"both\"!=e&&\"backward\"!=e||(n=new qs({startPosition:t,direction:\"backward\"})),\"both\"!=e&&\"forward\"!=e||(i=new qs({startPosition:t}));var _iterator160=_createForOfIteratorHelper(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(t,e){var n,_e123,_t136;return _regeneratorRuntime().wrap(function _callee8$(_context24){while(1)switch(_context24.prev=_context24.next){case 0:n=!1;case 1:if(n){_context24.next=18;break;}if(!(n=!0,t)){_context24.next=9;break;}_e123=t.next();_context24.t0=_e123.done;if(_context24.t0){_context24.next=9;break;}n=!1;_context24.next=9;return{walker:t,value:_e123.value};case 9:if(!e){_context24.next=16;break;}_t136=e.next();_context24.t1=_t136.done;if(_context24.t1){_context24.next=16;break;}n=!1;_context24.next=16;return{walker:e,value:_t136.value};case 16:_context24.next=1;break;case 18:case\"end\":return _context24.stop();}},_callee8);})(n,i)),_step160;try{for(_iterator160.s();!(_step160=_iterator160.n()).done;){var _t137=_step160.value;var _e124=_t137.walker==n?\"elementEnd\":\"elementStart\",_i80=_t137.value;if(_i80.type==_e124&&this.isObject(_i80.item))return Gs._createOn(_i80.item);if(this.checkChild(_i80.nextPosition,\"$text\"))return new Gs(_i80.nextPosition);}}catch(err){_iterator160.e(err);}finally{_iterator160.f();}return null;}},{key:\"findAllowedParent\",value:function findAllowedParent(t,e){var n=t.parent;for(;n;){if(this.checkChild(n,e))return n;if(this.isLimit(n))return null;n=n.parent;}return null;}},{key:\"removeDisallowedAttributes\",value:function removeDisallowedAttributes(t,e){var _iterator161=_createForOfIteratorHelper(t),_step161;try{for(_iterator161.s();!(_step161=_iterator161.n()).done;){var _n113=_step161.value;var _iterator162=_createForOfIteratorHelper(_n113.getAttributeKeys()),_step162;try{for(_iterator162.s();!(_step162=_iterator162.n()).done;){var _t138=_step162.value;this.checkAttribute(_n113,_t138)||e.removeAttribute(_t138,_n113);}}catch(err){_iterator162.e(err);}finally{_iterator162.f();}_n113.is(\"element\")&&this.removeDisallowedAttributes(_n113.getChildren(),e);}}catch(err){_iterator161.e(err);}finally{_iterator161.f();}}},{key:\"createContext\",value:function createContext(t){return new Na(t);}},{key:\"_clearCache\",value:function _clearCache(){this._compiledDefinitions=null;}},{key:\"_compile\",value:function _compile(){var t={},e=this._sourceDefinitions,n=Object.keys(e);for(var _i81=0,_n114=n;_i81<_n114.length;_i81++){var _i82=_n114[_i81];t[_i82]=Oa(e[_i82],_i82);}for(var _i83=0,_n115=n;_i83<_n115.length;_i83++){var _e125=_n115[_i83];Ra(t,_e125);}for(var _i84=0,_n116=n;_i84<_n116.length;_i84++){var _e126=_n116[_i84];Da(t,_e126);}for(var _i85=0,_n117=n;_i85<_n117.length;_i85++){var _e127=_n117[_i85];La(t,_e127),ja(t,_e127);}for(var _i86=0,_n118=n;_i86<_n118.length;_i86++){var _e128=_n118[_i86];Va(t,_e128),Ba(t,_e128);}this._compiledDefinitions=t;}},{key:\"_checkContextMatch\",value:function _checkContextMatch(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:e.length-1;var i=e.getItem(n);if(t.allowIn.includes(i.name)){if(0==n)return!0;{var _t139=this.getDefinition(i);return this._checkContextMatch(_t139,e,n-1);}}return!1;}},{key:\"_getValidRangesForRange\",value:/*#__PURE__*/_regeneratorRuntime().mark(function _getValidRangesForRange(t,e){var n,i,_iterator163,_step163,_o34;return _regeneratorRuntime().wrap(function _getValidRangesForRange$(_context25){while(1)switch(_context25.prev=_context25.next){case 0:n=t.start,i=t.start;_iterator163=_createForOfIteratorHelper(t.getItems({shallow:!0}));_context25.prev=2;_iterator163.s();case 4:if((_step163=_iterator163.n()).done){_context25.next=19;break;}_o34=_step163.value;_context25.t0=_o34.is(\"element\");if(!_context25.t0){_context25.next=9;break;}return _context25.delegateYield(this._getValidRangesForRange(Gs._createIn(_o34),e),\"t1\",9);case 9:_context25.t2=this.checkAttribute(_o34,e);if(_context25.t2){_context25.next=16;break;}_context25.t3=n.isEqual(i);if(_context25.t3){_context25.next=15;break;}_context25.next=15;return new Gs(n,i);case 15:n=$s._createAfter(_o34);case 16:i=$s._createAfter(_o34);case 17:_context25.next=4;break;case 19:_context25.next=24;break;case 21:_context25.prev=21;_context25.t4=_context25[\"catch\"](2);_iterator163.e(_context25.t4);case 24:_context25.prev=24;_iterator163.f();return _context25.finish(24);case 27:_context25.t5=n.isEqual(i);if(_context25.t5){_context25.next=31;break;}_context25.next=31;return new Gs(n,i);case 31:case\"end\":return _context25.stop();}},_getValidRangesForRange,this,[[2,21,24,27]]);})}]);return Ia;}();ci(Ia,Fi);var Na=/*#__PURE__*/function(_Symbol$iterator10){function Na(t){_classCallCheck(this,Na);if(t instanceof Na)return t;\"string\"==typeof t?t=[t]:Array.isArray(t)||(t=t.getAncestors({includeSelf:!0})),t[0]&&\"string\"!=typeof t[0]&&t[0].is(\"documentFragment\")&&t.shift(),this._items=t.map(Ua);}_createClass(Na,[{key:\"length\",get:function get(){return this._items.length;}},{key:\"last\",get:function get(){return this._items[this._items.length-1];}},{key:_Symbol$iterator10,value:function value(){return this._items[Symbol.iterator]();}},{key:\"push\",value:function push(t){var e=new Na([t]);return e._items=[].concat(_toConsumableArray(this._items),_toConsumableArray(e._items)),e;}},{key:\"getItem\",value:function getItem(t){return this._items[t];}},{key:\"getNames\",value:/*#__PURE__*/_regeneratorRuntime().mark(function getNames(){return _regeneratorRuntime().wrap(function getNames$(_context26){while(1)switch(_context26.prev=_context26.next){case 0:return _context26.delegateYield(this._items.map(function(t){return t.name;}),\"t0\",1);case 1:case\"end\":return _context26.stop();}},getNames,this);})},{key:\"endsWith\",value:function endsWith(t){return Array.from(this.getNames()).join(\" \").endsWith(t);}}]);return Na;}(Symbol.iterator);function Oa(t,e){var n={name:e,allowIn:[],allowContentOf:[],allowWhere:[],allowAttributes:[],allowAttributesOf:[],inheritTypesFrom:[]};return function(t,e){var _iterator164=_createForOfIteratorHelper(t),_step164;try{for(_iterator164.s();!(_step164=_iterator164.n()).done;){var _n119=_step164.value;var _t140=Object.keys(_n119).filter(function(t){return t.startsWith(\"is\");});var _iterator165=_createForOfIteratorHelper(_t140),_step165;try{for(_iterator165.s();!(_step165=_iterator165.n()).done;){var _i87=_step165.value;e[_i87]=_n119[_i87];}}catch(err){_iterator165.e(err);}finally{_iterator165.f();}}}catch(err){_iterator164.e(err);}finally{_iterator164.f();}}(t,n),za(t,n,\"allowIn\"),za(t,n,\"allowContentOf\"),za(t,n,\"allowWhere\"),za(t,n,\"allowAttributes\"),za(t,n,\"allowAttributesOf\"),za(t,n,\"inheritTypesFrom\"),function(t,e){var _iterator166=_createForOfIteratorHelper(t),_step166;try{for(_iterator166.s();!(_step166=_iterator166.n()).done;){var _n120=_step166.value;var _t141=_n120.inheritAllFrom;_t141&&(e.allowContentOf.push(_t141),e.allowWhere.push(_t141),e.allowAttributesOf.push(_t141),e.inheritTypesFrom.push(_t141));}}catch(err){_iterator166.e(err);}finally{_iterator166.f();}}(t,n),n;}function Ra(t,e){var _iterator167=_createForOfIteratorHelper(t[e].allowContentOf),_step167;try{for(_iterator167.s();!(_step167=_iterator167.n()).done;){var _n121=_step167.value;if(t[_n121]){Fa(t,_n121).forEach(function(t){t.allowIn.push(e);});}}}catch(err){_iterator167.e(err);}finally{_iterator167.f();}delete t[e].allowContentOf;}function Da(t,e){var _iterator168=_createForOfIteratorHelper(t[e].allowWhere),_step168;try{for(_iterator168.s();!(_step168=_iterator168.n()).done;){var _n122=_step168.value;var _i88=t[_n122];if(_i88){var _t$e$allowIn;var _n123=_i88.allowIn;(_t$e$allowIn=t[e].allowIn).push.apply(_t$e$allowIn,_toConsumableArray(_n123));}}}catch(err){_iterator168.e(err);}finally{_iterator168.f();}delete t[e].allowWhere;}function La(t,e){var _iterator169=_createForOfIteratorHelper(t[e].allowAttributesOf),_step169;try{for(_iterator169.s();!(_step169=_iterator169.n()).done;){var _n124=_step169.value;var _i89=t[_n124];if(_i89){var _t$e$allowAttributes;var _n125=_i89.allowAttributes;(_t$e$allowAttributes=t[e].allowAttributes).push.apply(_t$e$allowAttributes,_toConsumableArray(_n125));}}}catch(err){_iterator169.e(err);}finally{_iterator169.f();}delete t[e].allowAttributesOf;}function ja(t,e){var n=t[e];var _iterator170=_createForOfIteratorHelper(n.inheritTypesFrom),_step170;try{for(_iterator170.s();!(_step170=_iterator170.n()).done;){var _e129=_step170.value;var _i90=t[_e129];if(_i90){var _t142=Object.keys(_i90).filter(function(t){return t.startsWith(\"is\");});var _iterator171=_createForOfIteratorHelper(_t142),_step171;try{for(_iterator171.s();!(_step171=_iterator171.n()).done;){var _e130=_step171.value;_e130 in n||(n[_e130]=_i90[_e130]);}}catch(err){_iterator171.e(err);}finally{_iterator171.f();}}}}catch(err){_iterator170.e(err);}finally{_iterator170.f();}delete n.inheritTypesFrom;}function Va(t,e){var n=t[e],i=n.allowIn.filter(function(e){return t[e];});n.allowIn=Array.from(new Set(i));}function Ba(t,e){var n=t[e];n.allowAttributes=Array.from(new Set(n.allowAttributes));}function za(t,e,n){var _iterator172=_createForOfIteratorHelper(t),_step172;try{for(_iterator172.s();!(_step172=_iterator172.n()).done;){var _e$n;var _i91=_step172.value;\"string\"==typeof _i91[n]?e[n].push(_i91[n]):Array.isArray(_i91[n])&&(_e$n=e[n]).push.apply(_e$n,_toConsumableArray(_i91[n]));}}catch(err){_iterator172.e(err);}finally{_iterator172.f();}}function Fa(t,e){var n=t[e];return function(t){return Object.keys(t).map(function(e){return t[e];});}(t).filter(function(t){return t.allowIn.includes(n.name);});}function Ua(t){return\"string\"==typeof t?{name:t,getAttributeKeys:/*#__PURE__*/_regeneratorRuntime().mark(function getAttributeKeys(){return _regeneratorRuntime().wrap(function getAttributeKeys$(_context27){while(1)switch(_context27.prev=_context27.next){case 0:case\"end\":return _context27.stop();}},getAttributeKeys);}),getAttribute:function getAttribute(){}}:{name:t.is(\"element\")?t.name:\"$text\",getAttributeKeys:/*#__PURE__*/_regeneratorRuntime().mark(function getAttributeKeys(){return _regeneratorRuntime().wrap(function getAttributeKeys$(_context28){while(1)switch(_context28.prev=_context28.next){case 0:return _context28.delegateYield(t.getAttributeKeys(),\"t0\",1);case 1:case\"end\":return _context28.stop();}},getAttributeKeys);}),getAttribute:function getAttribute(e){return t.getAttribute(e);}};}var Ha=/*#__PURE__*/function(){function Ha(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Ha);this._removeIfEmpty=new Set(),this._modelCursor=null,this.conversionApi=Object.assign({},t),this.conversionApi.convertItem=this._convertItem.bind(this),this.conversionApi.convertChildren=this._convertChildren.bind(this),this.conversionApi.splitToAllowedParent=this._splitToAllowedParent.bind(this);}_createClass(Ha,[{key:\"convert\",value:function convert(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[\"$root\"];this.fire(\"viewCleanup\",t),this._modelCursor=function(t,e){var n;var _iterator173=_createForOfIteratorHelper(new Na(t)),_step173;try{for(_iterator173.s();!(_step173=_iterator173.n()).done;){var _i92=_step173.value;var _t143={};var _iterator174=_createForOfIteratorHelper(_i92.getAttributeKeys()),_step174;try{for(_iterator174.s();!(_step174=_iterator174.n()).done;){var _e131=_step174.value;_t143[_e131]=_i92.getAttribute(_e131);}}catch(err){_iterator174.e(err);}finally{_iterator174.f();}var _o35=e.createElement(_i92.name,_t143);n&&e.append(_o35,n),n=$s._createAt(_o35,0);}}catch(err){_iterator173.e(err);}finally{_iterator173.f();}return n;}(n,e),this.conversionApi.writer=e,this.conversionApi.consumable=Ea.createFrom(t),this.conversionApi.store={};var _this$_convertItem=this._convertItem(t,this._modelCursor),i=_this$_convertItem.modelRange,o=e.createDocumentFragment();if(i){this._removeEmptyElements();for(var _i93=0,_Array$from5=Array.from(this._modelCursor.parent.getChildren());_i93<_Array$from5.length;_i93++){var _t144=_Array$from5[_i93];e.append(_t144,o);}o.markers=function(t,e){var n=new Set(),i=new Map(),o=Gs._createIn(t).getItems();var _iterator175=_createForOfIteratorHelper(o),_step175;try{for(_iterator175.s();!(_step175=_iterator175.n()).done;){var _t145=_step175.value;\"$marker\"==_t145.name&&n.add(_t145);}}catch(err){_iterator175.e(err);}finally{_iterator175.f();}var _iterator176=_createForOfIteratorHelper(n),_step176;try{for(_iterator176.s();!(_step176=_iterator176.n()).done;){var _t146=_step176.value;var _n126=_t146.getAttribute(\"data-name\"),_o36=e.createPositionBefore(_t146);i.has(_n126)?i.get(_n126).end=_o36.clone():i.set(_n126,new Gs(_o36.clone())),e.remove(_t146);}}catch(err){_iterator176.e(err);}finally{_iterator176.f();}return i;}(o,e);}return this._modelCursor=null,this._removeIfEmpty.clear(),this.conversionApi.writer=null,this.conversionApi.store=null,o;}},{key:\"_convertItem\",value:function _convertItem(t,e){var n=Object.assign({viewItem:t,modelCursor:e,modelRange:null});if(t.is(\"element\")?this.fire(\"element:\"+t.name,n,this.conversionApi):t.is(\"text\")?this.fire(\"text\",n,this.conversionApi):this.fire(\"documentFragment\",n,this.conversionApi),n.modelRange&&!(n.modelRange instanceof Gs))throw new Gn.b(\"view-conversion-dispatcher-incorrect-result: Incorrect conversion result was dropped.\");return{modelRange:n.modelRange,modelCursor:n.modelCursor};}},{key:\"_convertChildren\",value:function _convertChildren(t,e){var n=new Gs(e);var i=e;for(var _i94=0,_Array$from6=Array.from(t.getChildren());_i94<_Array$from6.length;_i94++){var _e132=_Array$from6[_i94];var _t147=this._convertItem(_e132,i);_t147.modelRange instanceof Gs&&(n.end=_t147.modelRange.end,i=_t147.modelCursor);}return{modelRange:n,modelCursor:i};}},{key:\"_splitToAllowedParent\",value:function _splitToAllowedParent(t,e){var n=this.conversionApi.schema.findAllowedParent(e,t);if(!n)return null;if(n===e.parent)return{position:e};if(this._modelCursor.parent.getAncestors().includes(n))return null;var i=this.conversionApi.writer.split(e,n);var _iterator177=_createForOfIteratorHelper(i.range.getPositions()),_step177;try{for(_iterator177.s();!(_step177=_iterator177.n()).done;){var _t148=_step177.value;_t148.isEqual(i.position)||this._removeIfEmpty.add(_t148.parent);}}catch(err){_iterator177.e(err);}finally{_iterator177.f();}return{position:i.position,cursorParent:i.range.end.parent};}},{key:\"_removeEmptyElements\",value:function _removeEmptyElements(){var t=!1;var _iterator178=_createForOfIteratorHelper(this._removeIfEmpty),_step178;try{for(_iterator178.s();!(_step178=_iterator178.n()).done;){var _e133=_step178.value;_e133.isEmpty&&(this.conversionApi.writer.remove(_e133),this._removeIfEmpty[\"delete\"](_e133),t=!0);}}catch(err){_iterator178.e(err);}finally{_iterator178.f();}t&&this._removeEmptyElements();}}]);return Ha;}();ci(Ha,ei);var qa=/*#__PURE__*/function(){function qa(t,e){var _this54=this;_classCallCheck(this,qa);this.model=t,this.processor=e,this.mapper=new Qs(),this.downcastDispatcher=new Zs({mapper:this.mapper}),this.downcastDispatcher.on(\"insert:$text\",function(t,e,n){if(!n.consumable.consume(e.item,\"insert\"))return;var i=n.writer,o=n.mapper.toViewPosition(e.range.start),r=i.createText(e.item.data);i.insert(o,r);},{priority:\"lowest\"}),this.upcastDispatcher=new Ha({schema:t.schema}),this.upcastDispatcher.on(\"text\",function(t,e,n){if(n.schema.checkChild(e.modelCursor,\"$text\")&&n.consumable.consume(e.viewItem)){var _t149=n.writer.createText(e.viewItem.data);n.writer.insert(_t149,e.modelCursor),e.modelRange=Gs._createFromPositionAndShift(e.modelCursor,_t149.offsetSize),e.modelCursor=e.modelRange.end;}},{priority:\"lowest\"}),this.upcastDispatcher.on(\"element\",function(t,e,n){if(!e.modelRange&&n.consumable.consume(e.viewItem,{name:!0})){var _n$convertChildren=n.convertChildren(e.viewItem,e.modelCursor),_t150=_n$convertChildren.modelRange,_i95=_n$convertChildren.modelCursor;e.modelRange=_t150,e.modelCursor=_i95;}},{priority:\"lowest\"}),this.upcastDispatcher.on(\"documentFragment\",function(t,e,n){if(!e.modelRange&&n.consumable.consume(e.viewItem,{name:!0})){var _n$convertChildren2=n.convertChildren(e.viewItem,e.modelCursor),_t151=_n$convertChildren2.modelRange,_i96=_n$convertChildren2.modelCursor;e.modelRange=_t151,e.modelCursor=_i96;}},{priority:\"lowest\"}),this.decorate(\"init\"),this.on(\"init\",function(){_this54.fire(\"ready\");},{priority:\"lowest\"});}_createClass(qa,[{key:\"get\",value:function get(t){var _ref9=t||{},_ref9$rootName=_ref9.rootName,e=_ref9$rootName===void 0?\"main\":_ref9$rootName,_ref9$trim=_ref9.trim,n=_ref9$trim===void 0?\"empty\":_ref9$trim;if(!this._checkIfRootsExists([e]))throw new Gn.b(\"datacontroller-get-non-existent-root: Attempting to get data from a non-existing root.\");var i=this.model.document.getRoot(e);return\"empty\"!==n||this.model.hasContent(i,{ignoreWhitespaces:!0})?this.stringify(i):\"\";}},{key:\"stringify\",value:function stringify(t){var e=this.toView(t);return this.processor.toData(e);}},{key:\"toView\",value:function toView(t){this.mapper.clearBindings();var e=Gs._createIn(t),n=new Ao(),i=new Co(new ro());if(this.mapper.bindElements(t,n),this.downcastDispatcher.convertInsert(e,i),!t.is(\"documentFragment\")){var _e134=function(t){var e=[],n=t.root.document;if(!n)return[];var i=Gs._createIn(t);var _iterator179=_createForOfIteratorHelper(n.model.markers),_step179;try{for(_iterator179.s();!(_step179=_iterator179.n()).done;){var _t152=_step179.value;var _n127=i.getIntersection(_t152.getRange());_n127&&e.push([_t152.name,_n127]);}}catch(err){_iterator179.e(err);}finally{_iterator179.f();}return e;}(t);var _iterator180=_createForOfIteratorHelper(_e134),_step180;try{for(_iterator180.s();!(_step180=_iterator180.n()).done;){var _step180$value=_slicedToArray(_step180.value,2),_t153=_step180$value[0],_n128=_step180$value[1];this.downcastDispatcher.convertMarkerAdd(_t153,_n128,i);}}catch(err){_iterator180.e(err);}finally{_iterator180.f();}}return n;}},{key:\"init\",value:function init(t){var _this55=this;if(this.model.document.version)throw new Gn.b(\"datacontroller-init-document-not-empty: Trying to set initial data to not empty document.\");var e={};if(\"string\"==typeof t?e.main=t:e=t,!this._checkIfRootsExists(Object.keys(e)))throw new Gn.b(\"datacontroller-init-non-existent-root: Attempting to init data on a non-existing root.\");return this.model.enqueueChange(\"transparent\",function(t){for(var _i97=0,_Object$keys=Object.keys(e);_i97<_Object$keys.length;_i97++){var _n129=_Object$keys[_i97];var _i98=_this55.model.document.getRoot(_n129);t.insert(_this55.parse(e[_n129],_i98),_i98,0);}}),Promise.resolve();}},{key:\"set\",value:function set(t){var _this56=this;var e={};if(\"string\"==typeof t?e.main=t:e=t,!this._checkIfRootsExists(Object.keys(e)))throw new Gn.b(\"datacontroller-set-non-existent-root: Attempting to set data on a non-existing root.\");this.model.enqueueChange(\"transparent\",function(t){t.setSelection(null),t.removeSelectionAttribute(_this56.model.document.selection.getAttributeKeys());for(var _i99=0,_Object$keys2=Object.keys(e);_i99<_Object$keys2.length;_i99++){var _n130=_Object$keys2[_i99];var _i100=_this56.model.document.getRoot(_n130);t.remove(t.createRangeIn(_i100)),t.insert(_this56.parse(e[_n130],_i100),_i100,0);}});}},{key:\"parse\",value:function parse(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:\"$root\";var n=this.processor.toView(t);return this.toModel(n,e);}},{key:\"toModel\",value:function toModel(t){var _this57=this;var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:\"$root\";return this.model.change(function(n){return _this57.upcastDispatcher.convert(t,n,e);});}},{key:\"destroy\",value:function destroy(){this.stopListening();}},{key:\"_checkIfRootsExists\",value:function _checkIfRootsExists(t){var _iterator181=_createForOfIteratorHelper(t),_step181;try{for(_iterator181.s();!(_step181=_iterator181.n()).done;){var _e135=_step181.value;if(!this.model.document.getRootNames().includes(_e135))return!1;}}catch(err){_iterator181.e(err);}finally{_iterator181.f();}return!0;}}]);return qa;}();ci(qa,Fi);var Wa=/*#__PURE__*/function(){function Wa(t,e){_classCallCheck(this,Wa);this._helpers=new Map(),this._downcast=Array.isArray(t)?t:[t],this._createConversionHelpers({name:\"downcast\",dispatchers:this._downcast,isDowncast:!0}),this._upcast=Array.isArray(e)?e:[e],this._createConversionHelpers({name:\"upcast\",dispatchers:this._upcast,isDowncast:!1});}_createClass(Wa,[{key:\"addAlias\",value:function addAlias(t,e){var n=this._downcast.includes(e);if(!this._upcast.includes(e)&&!n)throw new Gn.b(\"conversion-add-alias-dispatcher-not-registered: Trying to register and alias for a dispatcher that nas not been registered.\");this._createConversionHelpers({name:t,dispatchers:[e],isDowncast:n});}},{key:\"for\",value:function _for(t){if(!this._helpers.has(t))throw new Gn.b(\"conversion-for-unknown-group: Trying to add a converter to an unknown dispatchers group.\");return this._helpers.get(t);}},{key:\"elementToElement\",value:function elementToElement(t){this[\"for\"](\"downcast\").elementToElement(t);var _iterator182=_createForOfIteratorHelper(Ya(t)),_step182;try{for(_iterator182.s();!(_step182=_iterator182.n()).done;){var _step182$value=_step182.value,_e136=_step182$value.model,_n131=_step182$value.view;this[\"for\"](\"upcast\").elementToElement({model:_e136,view:_n131,converterPriority:t.converterPriority});}}catch(err){_iterator182.e(err);}finally{_iterator182.f();}}},{key:\"attributeToElement\",value:function attributeToElement(t){this[\"for\"](\"downcast\").attributeToElement(t);var _iterator183=_createForOfIteratorHelper(Ya(t)),_step183;try{for(_iterator183.s();!(_step183=_iterator183.n()).done;){var _step183$value=_step183.value,_e137=_step183$value.model,_n132=_step183$value.view;this[\"for\"](\"upcast\").elementToAttribute({view:_n132,model:_e137,converterPriority:t.converterPriority});}}catch(err){_iterator183.e(err);}finally{_iterator183.f();}}},{key:\"attributeToAttribute\",value:function attributeToAttribute(t){this[\"for\"](\"downcast\").attributeToAttribute(t);var _iterator184=_createForOfIteratorHelper(Ya(t)),_step184;try{for(_iterator184.s();!(_step184=_iterator184.n()).done;){var _step184$value=_step184.value,_e138=_step184$value.model,_n133=_step184$value.view;this[\"for\"](\"upcast\").attributeToAttribute({view:_n133,model:_e138});}}catch(err){_iterator184.e(err);}finally{_iterator184.f();}}},{key:\"_createConversionHelpers\",value:function _createConversionHelpers(_ref10){var t=_ref10.name,e=_ref10.dispatchers,n=_ref10.isDowncast;if(this._helpers.has(t))throw new Gn.b(\"conversion-group-exists: Trying to register a group name that has already been registered.\");var i=n?new fa(e):new _a(e);this._helpers.set(t,i);}}]);return Wa;}();function Ya(t){var _iterator185,_step185,_e139;return _regeneratorRuntime().wrap(function Ya$(_context29){while(1)switch(_context29.prev=_context29.next){case 0:if(!t.model.values){_context29.next=19;break;}_iterator185=_createForOfIteratorHelper(t.model.values);_context29.prev=2;_iterator185.s();case 4:if((_step185=_iterator185.n()).done){_context29.next=9;break;}_e139=_step185.value;return _context29.delegateYield($a({key:t.model.key,value:_e139},t.view[_e139],t.upcastAlso?t.upcastAlso[_e139]:void 0),\"t0\",7);case 7:_context29.next=4;break;case 9:_context29.next=14;break;case 11:_context29.prev=11;_context29.t1=_context29[\"catch\"](2);_iterator185.e(_context29.t1);case 14:_context29.prev=14;_iterator185.f();return _context29.finish(14);case 17:_context29.next=20;break;case 19:return _context29.delegateYield($a(t.model,t.view,t.upcastAlso),\"t2\",20);case 20:case\"end\":return _context29.stop();}},_marked,null,[[2,11,14,17]]);}function $a(t,e,n){var _iterator186,_step186,_e140;return _regeneratorRuntime().wrap(function $a$(_context30){while(1)switch(_context30.prev=_context30.next){case 0:_context30.next=2;return{model:t,view:e};case 2:if(!n){_context30.next=21;break;}n=Array.isArray(n)?n:[n];_iterator186=_createForOfIteratorHelper(n);_context30.prev=5;_iterator186.s();case 7:if((_step186=_iterator186.n()).done){_context30.next=13;break;}_e140=_step186.value;_context30.next=11;return{model:t,view:_e140};case 11:_context30.next=7;break;case 13:_context30.next=18;break;case 15:_context30.prev=15;_context30.t0=_context30[\"catch\"](5);_iterator186.e(_context30.t0);case 18:_context30.prev=18;_iterator186.f();return _context30.finish(18);case 21:case\"end\":return _context30.stop();}},_marked2,null,[[5,15,18,21]]);}var Ga=/*#__PURE__*/function(){function Ga(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:\"default\";_classCallCheck(this,Ga);this.operations=[],this.type=t;}_createClass(Ga,[{key:\"baseVersion\",get:function get(){var _iterator187=_createForOfIteratorHelper(this.operations),_step187;try{for(_iterator187.s();!(_step187=_iterator187.n()).done;){var _t154=_step187.value;if(null!==_t154.baseVersion)return _t154.baseVersion;}}catch(err){_iterator187.e(err);}finally{_iterator187.f();}return null;}},{key:\"addOperation\",value:function addOperation(t){return t.batch=this,this.operations.push(t),t;}}]);return Ga;}();var Qa=/*#__PURE__*/function(){function Qa(t){_classCallCheck(this,Qa);this.baseVersion=t,this.isDocumentOperation=null!==this.baseVersion,this.batch=null;}_createClass(Qa,[{key:\"_validate\",value:function _validate(){}},{key:\"toJSON\",value:function toJSON(){var t=Object.assign({},this);return t.__className=this.constructor.className,delete t.batch,delete t.isDocumentOperation,t;}}],[{key:\"className\",get:function get(){return\"Operation\";}},{key:\"fromJSON\",value:function fromJSON(t){return new this(t.baseVersion);}}]);return Qa;}();var Ja=/*#__PURE__*/function(_Symbol$iterator11){function Ja(t){_classCallCheck(this,Ja);this.markers=new Map(),this._children=new Us(),t&&this._insertChild(0,t);}_createClass(Ja,[{key:_Symbol$iterator11,value:function value(){return this.getChildren();}},{key:\"childCount\",get:function get(){return this._children.length;}},{key:\"maxOffset\",get:function get(){return this._children.maxOffset;}},{key:\"isEmpty\",get:function get(){return 0===this.childCount;}},{key:\"root\",get:function get(){return this;}},{key:\"parent\",get:function get(){return null;}},{key:\"is\",value:function is(t){return\"documentFragment\"==t;}},{key:\"getChild\",value:function getChild(t){return this._children.getNode(t);}},{key:\"getChildren\",value:function getChildren(){return this._children[Symbol.iterator]();}},{key:\"getChildIndex\",value:function getChildIndex(t){return this._children.getNodeIndex(t);}},{key:\"getChildStartOffset\",value:function getChildStartOffset(t){return this._children.getNodeStartOffset(t);}},{key:\"getPath\",value:function getPath(){return[];}},{key:\"getNodeByPath\",value:function getNodeByPath(t){var e=this;var _iterator188=_createForOfIteratorHelper(t),_step188;try{for(_iterator188.s();!(_step188=_iterator188.n()).done;){var _n134=_step188.value;e=e.getChild(e.offsetToIndex(_n134));}}catch(err){_iterator188.e(err);}finally{_iterator188.f();}return e;}},{key:\"offsetToIndex\",value:function offsetToIndex(t){return this._children.offsetToIndex(t);}},{key:\"toJSON\",value:function toJSON(){var t=[];var _iterator189=_createForOfIteratorHelper(this._children),_step189;try{for(_iterator189.s();!(_step189=_iterator189.n()).done;){var _e141=_step189.value;t.push(_e141.toJSON());}}catch(err){_iterator189.e(err);}finally{_iterator189.f();}return t;}},{key:\"_appendChild\",value:function _appendChild(t){this._insertChild(this.childCount,t);}},{key:\"_insertChild\",value:function _insertChild(t,e){var n=function(t){if(\"string\"==typeof t)return[new zs(t)];gi(t)||(t=[t]);return Array.from(t).map(function(t){return\"string\"==typeof t?new zs(t):t instanceof Fs?new zs(t.data,t.getAttributes()):t;});}(e);var _iterator190=_createForOfIteratorHelper(n),_step190;try{for(_iterator190.s();!(_step190=_iterator190.n()).done;){var _t155=_step190.value;null!==_t155.parent&&_t155._remove(),_t155.parent=this;}}catch(err){_iterator190.e(err);}finally{_iterator190.f();}this._children._insertNodes(t,n);}},{key:\"_removeChildren\",value:function _removeChildren(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;var n=this._children._removeNodes(t,e);var _iterator191=_createForOfIteratorHelper(n),_step191;try{for(_iterator191.s();!(_step191=_iterator191.n()).done;){var _t156=_step191.value;_t156.parent=null;}}catch(err){_iterator191.e(err);}finally{_iterator191.f();}return n;}}],[{key:\"fromJSON\",value:function fromJSON(t){var e=[];var _iterator192=_createForOfIteratorHelper(t),_step192;try{for(_iterator192.s();!(_step192=_iterator192.n()).done;){var _n135=_step192.value;_n135.name?e.push(Hs.fromJSON(_n135)):e.push(zs.fromJSON(_n135));}}catch(err){_iterator192.e(err);}finally{_iterator192.f();}return new Ja(e);}}]);return Ja;}(Symbol.iterator);function Ka(t,e){var n=(e=tc(e)).reduce(function(t,e){return t+e.offsetSize;},0),i=t.parent;nc(t);var o=t.index;return i._insertChild(o,e),ec(i,o+e.length),ec(i,o),new Gs(t,t.getShiftedBy(n));}function Za(t){if(!t.isFlat)throw new Gn.b(\"operation-utils-remove-range-not-flat: Trying to remove a range which starts and ends in different element.\");var e=t.start.parent;nc(t.start),nc(t.end);var n=e._removeChildren(t.start.index,t.end.index-t.start.index);return ec(e,t.start.index),n;}function Xa(t,e){if(!t.isFlat)throw new Gn.b(\"operation-utils-move-range-not-flat: Trying to move a range which starts and ends in different element.\");var n=Za(t);return Ka(e=e._getTransformedByDeletion(t.start,t.end.offset-t.start.offset),n);}function tc(t){var e=[];t instanceof Array||(t=[t]);for(var _n136=0;_n136t.maxOffset)throw new Gn.b(\"move-operation-nodes-do-not-exist: The nodes which should be moved do not exist.\");if(t===e&&n=n&&this.targetPosition.path[_t161]2&&arguments[2]!==undefined?arguments[2]:\"main\";_classCallCheck(this,mc);_this67=_super32.call(this,e),_this67._doc=t,_this67.rootName=n;return _this67;}_createClass(mc,[{key:\"document\",get:function get(){return this._doc;}},{key:\"is\",value:function is(t,e){return e?\"rootElement\"==t&&e==this.name||_get(_getPrototypeOf(mc.prototype),\"is\",this).call(this,t,e):\"rootElement\"==t||_get(_getPrototypeOf(mc.prototype),\"is\",this).call(this,t);}},{key:\"toJSON\",value:function toJSON(){return this.rootName;}}]);return mc;}(Hs);var pc=/*#__PURE__*/function(){function pc(t,e){_classCallCheck(this,pc);this.model=t,this.batch=e;}_createClass(pc,[{key:\"createText\",value:function createText(t,e){return new zs(t,e);}},{key:\"createElement\",value:function createElement(t,e){return new Hs(t,e);}},{key:\"createDocumentFragment\",value:function createDocumentFragment(){return new Ja();}},{key:\"insert\",value:function insert(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0;if(this._assertWriterUsedCorrectly(),t instanceof zs&&\"\"==t.data)return;var i=$s._createAt(e,n);if(t.parent){if(kc(t.root,i.root))return void this.move(Gs._createOn(t),i);if(t.root.document)throw new Error(\"model-writer-insert-forbidden-move: Cannot move a node from a document to a different tree.\");this.remove(t);}var o=i.root.document?i.root.document.version:null,r=new cc(i,t,o);if(t instanceof zs&&(r.shouldReceiveAttributes=!0),this.batch.addOperation(r),this.model.applyOperation(r),t instanceof Ja){var _iterator198=_createForOfIteratorHelper(t.markers),_step198;try{for(_iterator198.s();!(_step198=_iterator198.n()).done;){var _step198$value=_slicedToArray(_step198.value,2),_e144=_step198$value[0],_n138=_step198$value[1];var _t162=$s._createAt(_n138.root,0),_o39=new Gs(_n138.start._getCombined(_t162,i),_n138.end._getCombined(_t162,i));this.addMarker(_e144,{range:_o39,usingOperation:!0,affectsData:!0});}}catch(err){_iterator198.e(err);}finally{_iterator198.f();}}}},{key:\"insertText\",value:function insertText(t,e,n,i){e instanceof Ja||e instanceof Hs||e instanceof $s?this.insert(this.createText(t),e,n):this.insert(this.createText(t,e),n,i);}},{key:\"insertElement\",value:function insertElement(t,e,n,i){e instanceof Ja||e instanceof Hs||e instanceof $s?this.insert(this.createElement(t),e,n):this.insert(this.createElement(t,e),n,i);}},{key:\"append\",value:function append(t,e){this.insert(t,e,\"end\");}},{key:\"appendText\",value:function appendText(t,e,n){e instanceof Ja||e instanceof Hs?this.insert(this.createText(t),e,\"end\"):this.insert(this.createText(t,e),n,\"end\");}},{key:\"appendElement\",value:function appendElement(t,e,n){e instanceof Ja||e instanceof Hs?this.insert(this.createElement(t),e,\"end\"):this.insert(this.createElement(t,e),n,\"end\");}},{key:\"setAttribute\",value:function setAttribute(t,e,n){if(this._assertWriterUsedCorrectly(),n instanceof Gs){var _i105=n.getMinimalFlatRanges();var _iterator199=_createForOfIteratorHelper(_i105),_step199;try{for(_iterator199.s();!(_step199=_iterator199.n()).done;){var _n139=_step199.value;gc(this,t,e,_n139);}}catch(err){_iterator199.e(err);}finally{_iterator199.f();}}else bc(this,t,e,n);}},{key:\"setAttributes\",value:function setAttributes(t,e){var _iterator200=_createForOfIteratorHelper(Vs(t)),_step200;try{for(_iterator200.s();!(_step200=_iterator200.n()).done;){var _step200$value=_slicedToArray(_step200.value,2),_n140=_step200$value[0],_i106=_step200$value[1];this.setAttribute(_n140,_i106,e);}}catch(err){_iterator200.e(err);}finally{_iterator200.f();}}},{key:\"removeAttribute\",value:function removeAttribute(t,e){if(this._assertWriterUsedCorrectly(),e instanceof Gs){var _n141=e.getMinimalFlatRanges();var _iterator201=_createForOfIteratorHelper(_n141),_step201;try{for(_iterator201.s();!(_step201=_iterator201.n()).done;){var _e145=_step201.value;gc(this,t,null,_e145);}}catch(err){_iterator201.e(err);}finally{_iterator201.f();}}else bc(this,t,null,e);}},{key:\"clearAttributes\",value:function clearAttributes(t){var _this68=this;this._assertWriterUsedCorrectly();var e=function e(t){var _iterator202=_createForOfIteratorHelper(t.getAttributeKeys()),_step202;try{for(_iterator202.s();!(_step202=_iterator202.n()).done;){var _e146=_step202.value;_this68.removeAttribute(_e146,t);}}catch(err){_iterator202.e(err);}finally{_iterator202.f();}};if(t instanceof Gs){var _iterator203=_createForOfIteratorHelper(t.getItems()),_step203;try{for(_iterator203.s();!(_step203=_iterator203.n()).done;){var _n142=_step203.value;e(_n142);}}catch(err){_iterator203.e(err);}finally{_iterator203.f();}}else e(t);}},{key:\"move\",value:function move(t,e,n){if(this._assertWriterUsedCorrectly(),!(t instanceof Gs))throw new Gn.b(\"writer-move-invalid-range: Invalid range to move.\");if(!t.isFlat)throw new Gn.b(\"writer-move-range-not-flat: Range to move is not flat.\");var i=$s._createAt(e,n);if(i.isEqual(t.start))return;if(this._addOperationForAffectedMarkers(\"move\",t),!kc(t.root,i.root))throw new Gn.b(\"writer-move-different-document: Range is going to be moved between different documents.\");var o=t.root.document?t.root.document.version:null,r=new ac(t.start,t.end.offset-t.start.offset,i,o);this.batch.addOperation(r),this.model.applyOperation(r);}},{key:\"remove\",value:function remove(t){this._assertWriterUsedCorrectly();var e=(t instanceof Gs?t:Gs._createOn(t)).getMinimalFlatRanges().reverse();var _iterator204=_createForOfIteratorHelper(e),_step204;try{for(_iterator204.s();!(_step204=_iterator204.n()).done;){var _t163=_step204.value;this._addOperationForAffectedMarkers(\"move\",_t163),_c(_t163.start,_t163.end.offset-_t163.start.offset,this.batch,this.model);}}catch(err){_iterator204.e(err);}finally{_iterator204.f();}}},{key:\"merge\",value:function merge(t){this._assertWriterUsedCorrectly();var e=t.nodeBefore,n=t.nodeAfter;if(this._addOperationForAffectedMarkers(\"merge\",t),!(e instanceof Hs))throw new Gn.b(\"writer-merge-no-element-before: Node before merge position must be an element.\");if(!(n instanceof Hs))throw new Gn.b(\"writer-merge-no-element-after: Node after merge position must be an element.\");t.root.document?this._merge(t):this._mergeDetached(t);}},{key:\"createPositionFromPath\",value:function createPositionFromPath(t,e,n){return this.model.createPositionFromPath(t,e,n);}},{key:\"createPositionAt\",value:function createPositionAt(t,e){return this.model.createPositionAt(t,e);}},{key:\"createPositionAfter\",value:function createPositionAfter(t){return this.model.createPositionAfter(t);}},{key:\"createPositionBefore\",value:function createPositionBefore(t){return this.model.createPositionBefore(t);}},{key:\"createRange\",value:function createRange(t,e){return this.model.createRange(t,e);}},{key:\"createRangeIn\",value:function createRangeIn(t){return this.model.createRangeIn(t);}},{key:\"createRangeOn\",value:function createRangeOn(t){return this.model.createRangeOn(t);}},{key:\"createSelection\",value:function createSelection(t,e,n){return this.model.createSelection(t,e,n);}},{key:\"_mergeDetached\",value:function _mergeDetached(t){var e=t.nodeBefore,n=t.nodeAfter;this.move(Gs._createIn(n),$s._createAt(e,\"end\")),this.remove(n);}},{key:\"_merge\",value:function _merge(t){var e=$s._createAt(t.nodeBefore,\"end\"),n=$s._createAt(t.nodeAfter,0),i=t.root.document.graveyard,o=new $s(i,[0]),r=t.root.document.version,s=new hc(n,t.nodeAfter.maxOffset,e,o,r);this.batch.addOperation(s),this.model.applyOperation(s);}},{key:\"rename\",value:function rename(t,e){if(this._assertWriterUsedCorrectly(),!(t instanceof Hs))throw new Gn.b(\"writer-rename-not-element-instance: Trying to rename an object which is not an instance of Element.\");var n=t.root.document?t.root.document.version:null,i=new dc($s._createBefore(t),t.name,e,n);this.batch.addOperation(i),this.model.applyOperation(i);}},{key:\"split\",value:function split(t,e){this._assertWriterUsedCorrectly();var n,i,o=t.parent;if(!o.parent)throw new Gn.b(\"writer-split-element-no-parent: Element with no parent can not be split.\");if(e||(e=o.parent),!t.parent.getAncestors({includeSelf:!0}).includes(e))throw new Gn.b(\"writer-split-invalid-limit-element: Limit element is not a position ancestor.\");do{var _e147=o.root.document?o.root.document.version:null,_r15=o.maxOffset-t.offset,_s13=new fc(t,_r15,null,_e147);this.batch.addOperation(_s13),this.model.applyOperation(_s13),n||i||(n=o,i=t.parent.nextSibling),o=(t=this.createPositionAfter(t.parent)).parent;}while(o!==e);return{position:t,range:new Gs($s._createAt(n,\"end\"),$s._createAt(i,0))};}},{key:\"wrap\",value:function wrap(t,e){if(this._assertWriterUsedCorrectly(),!t.isFlat)throw new Gn.b(\"writer-wrap-range-not-flat: Range to wrap is not flat.\");var n=e instanceof Hs?e:new Hs(e);if(n.childCount>0)throw new Gn.b(\"writer-wrap-element-not-empty: Element to wrap with is not empty.\");if(null!==n.parent)throw new Gn.b(\"writer-wrap-element-attached: Element to wrap with is already attached to tree model.\");var i=t.root.document?t.root.document.version:null,o=new cc(t.start,n,i);this.batch.addOperation(o),this.model.applyOperation(o);var r=new ac(t.start.getShiftedBy(1),t.end.offset-t.start.offset,$s._createAt(n,0),null===i?null:i+1);this.batch.addOperation(r),this.model.applyOperation(r);}},{key:\"unwrap\",value:function unwrap(t){if(this._assertWriterUsedCorrectly(),null===t.parent)throw new Gn.b(\"writer-unwrap-element-no-parent: Trying to unwrap an element which has no parent.\");this.move(Gs._createIn(t),this.createPositionAfter(t)),this.remove(t);}},{key:\"addMarker\",value:function addMarker(t,e){if(this._assertWriterUsedCorrectly(),!e||\"boolean\"!=typeof e.usingOperation)throw new Gn.b(\"writer-addMarker-no-usingOperation: The options.usingOperation parameter is required when adding a new marker.\");var n=e.usingOperation,i=e.range,o=void 0!==e.affectsData&&e.affectsData;if(this.model.markers.has(t))throw new Gn.b(\"writer-addMarker-marker-exists: Marker with provided name already exists.\");if(!i)throw new Gn.b(\"writer-addMarker-no-range: Range parameter is required when adding a new marker.\");return n?(wc(this,t,null,i,o),this.model.markers.get(t)):this.model.markers._set(t,i,n,o);}},{key:\"updateMarker\",value:function updateMarker(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this._assertWriterUsedCorrectly();var n=\"string\"==typeof t?t:t.name,i=this.model.markers.get(n);if(!i)throw new Gn.b(\"writer-updateMarker-marker-not-exists: Marker with provided name does not exists.\");var o=\"boolean\"==typeof e.usingOperation,r=\"boolean\"==typeof e.affectsData,s=r?e.affectsData:i.affectsData;if(!o&&!e.range&&!r)throw new Gn.b(\"writer-updateMarker-wrong-options: One of the options is required - provide range, usingOperations or affectsData.\");var a=i.getRange(),c=e.range?e.range:a;o&&e.usingOperation!==i.managedUsingOperations?e.usingOperation?wc(this,n,null,c,s):(wc(this,n,a,null,s),this.model.markers._set(n,c,void 0,s)):i.managedUsingOperations?wc(this,n,a,c,s):this.model.markers._set(n,c,void 0,s);}},{key:\"removeMarker\",value:function removeMarker(t){this._assertWriterUsedCorrectly();var e=\"string\"==typeof t?t:t.name;if(!this.model.markers.has(e))throw new Gn.b(\"writer-removeMarker-no-marker: Trying to remove marker which does not exist.\");var n=this.model.markers.get(e);n.managedUsingOperations?wc(this,e,n.getRange(),null,n.affectsData):this.model.markers._remove(e);}},{key:\"setSelection\",value:function setSelection(t,e,n){this._assertWriterUsedCorrectly(),this.model.document.selection._setTo(t,e,n);}},{key:\"setSelectionFocus\",value:function setSelectionFocus(t,e){this._assertWriterUsedCorrectly(),this.model.document.selection._setFocus(t,e);}},{key:\"setSelectionAttribute\",value:function setSelectionAttribute(t,e){if(this._assertWriterUsedCorrectly(),\"string\"==typeof t)this._setSelectionAttribute(t,e);else{var _iterator205=_createForOfIteratorHelper(Vs(t)),_step205;try{for(_iterator205.s();!(_step205=_iterator205.n()).done;){var _step205$value=_slicedToArray(_step205.value,2),_e148=_step205$value[0],_n143=_step205$value[1];this._setSelectionAttribute(_e148,_n143);}}catch(err){_iterator205.e(err);}finally{_iterator205.f();}}}},{key:\"removeSelectionAttribute\",value:function removeSelectionAttribute(t){if(this._assertWriterUsedCorrectly(),\"string\"==typeof t)this._removeSelectionAttribute(t);else{var _iterator206=_createForOfIteratorHelper(t),_step206;try{for(_iterator206.s();!(_step206=_iterator206.n()).done;){var _e149=_step206.value;this._removeSelectionAttribute(_e149);}}catch(err){_iterator206.e(err);}finally{_iterator206.f();}}}},{key:\"overrideSelectionGravity\",value:function overrideSelectionGravity(){return this.model.document.selection._overrideGravity();}},{key:\"restoreSelectionGravity\",value:function restoreSelectionGravity(t){this.model.document.selection._restoreGravity(t);}},{key:\"_setSelectionAttribute\",value:function _setSelectionAttribute(t,e){var n=this.model.document.selection;if(n.isCollapsed&&n.anchor.parent.isEmpty){var _i107=sa._getStoreAttributeKey(t);this.setAttribute(_i107,e,n.anchor.parent);}n._setAttribute(t,e);}},{key:\"_removeSelectionAttribute\",value:function _removeSelectionAttribute(t){var e=this.model.document.selection;if(e.isCollapsed&&e.anchor.parent.isEmpty){var _n144=sa._getStoreAttributeKey(t);this.removeAttribute(_n144,e.anchor.parent);}e._removeAttribute(t);}},{key:\"_assertWriterUsedCorrectly\",value:function _assertWriterUsedCorrectly(){if(this.model._currentWriter!==this)throw new Gn.b(\"writer-incorrect-use: Trying to use a writer outside the change() block.\");}},{key:\"_addOperationForAffectedMarkers\",value:function _addOperationForAffectedMarkers(t,e){var _iterator207=_createForOfIteratorHelper(this.model.markers),_step207;try{for(_iterator207.s();!(_step207=_iterator207.n()).done;){var _n145=_step207.value;if(!_n145.managedUsingOperations)continue;var _i108=_n145.getRange();var _o40=!1;if(\"move\"==t)_o40=e.containsPosition(_i108.start)||e.start.isEqual(_i108.start)||e.containsPosition(_i108.end)||e.end.isEqual(_i108.end);else{var _t164=e.nodeBefore,_n146=e.nodeAfter,_r16=_i108.start.parent==_t164&&_i108.start.isAtEnd,_s14=_i108.end.parent==_n146&&0==_i108.end.offset;_o40=_r16||_s14;}_o40&&this.updateMarker(_n145.name,{range:_i108});}}catch(err){_iterator207.e(err);}finally{_iterator207.f();}}}]);return pc;}();function gc(t,e,n,i){var o=t.model,r=o.document;var s,a,c,l=i.start;var _iterator208=_createForOfIteratorHelper(i.getWalker({shallow:!0})),_step208;try{for(_iterator208.s();!(_step208=_iterator208.n()).done;){var _t165=_step208.value;c=_t165.item.getAttribute(e),s&&a!=c&&(a!=n&&d(),l=s),s=_t165.nextPosition,a=c;}}catch(err){_iterator208.e(err);}finally{_iterator208.f();}function d(){var i=new Gs(l,s),c=i.root.document?r.version:null,d=new rc(i,e,a,n,c);t.batch.addOperation(d),o.applyOperation(d);}s instanceof $s&&s!=l&&a!=n&&d();}function bc(t,e,n,i){var o=t.model,r=o.document,s=i.getAttribute(e);var a,c;if(s!=n){if(i.root===i){var _t166=i.document?r.version:null;c=new uc(i,e,s,n,_t166);}else{var _o41=(a=new Gs($s._createBefore(i),t.createPositionAfter(i))).root.document?r.version:null;c=new rc(a,e,s,n,_o41);}t.batch.addOperation(c),o.applyOperation(c);}}function wc(t,e,n,i,o){var r=t.model,s=r.document,a=new lc(e,n,i,r.markers,o,s.version);t.batch.addOperation(a),r.applyOperation(a);}function _c(t,e,n,i){var o;if(t.root.document){var _n147=i.document,_r17=new $s(_n147.graveyard,[0]);o=new ac(t,e,_r17,_n147.version);}else o=new sc(t,e);n.addOperation(o),i.applyOperation(o);}function kc(t,e){return t===e||t instanceof mc&&e instanceof mc;}var vc=/*#__PURE__*/function(){function vc(t){_classCallCheck(this,vc);this._markerCollection=t,this._changesInElement=new Map(),this._elementSnapshots=new Map(),this._changedMarkers=new Map(),this._changeCount=0,this._cachedChanges=null,this._cachedChangesWithGraveyard=null;}_createClass(vc,[{key:\"isEmpty\",get:function get(){return 0==this._changesInElement.size&&0==this._changedMarkers.size;}},{key:\"bufferOperation\",value:function bufferOperation(t){switch(t.type){case\"insert\":if(this._isInInsertedElement(t.position.parent))return;this._markInsert(t.position.parent,t.position.offset,t.nodes.maxOffset);break;case\"addAttribute\":case\"removeAttribute\":case\"changeAttribute\":var _iterator209=_createForOfIteratorHelper(t.range.getItems()),_step209;try{for(_iterator209.s();!(_step209=_iterator209.n()).done;){var _e150=_step209.value;this._isInInsertedElement(_e150.parent)||this._markAttribute(_e150);}}catch(err){_iterator209.e(err);}finally{_iterator209.f();}break;case\"remove\":case\"move\":case\"reinsert\":{if(t.sourcePosition.isEqual(t.targetPosition)||t.sourcePosition.getShiftedBy(t.howMany).isEqual(t.targetPosition))return;var _e151=this._isInInsertedElement(t.sourcePosition.parent),_n148=this._isInInsertedElement(t.targetPosition.parent);_e151||this._markRemove(t.sourcePosition.parent,t.sourcePosition.offset,t.howMany),_n148||this._markInsert(t.targetPosition.parent,t.getMovedRangeStart().offset,t.howMany);break;}case\"rename\":{if(this._isInInsertedElement(t.position.parent))return;this._markRemove(t.position.parent,t.position.offset,1),this._markInsert(t.position.parent,t.position.offset,1);var _e152=Gs._createFromPositionAndShift(t.position,1);var _iterator210=_createForOfIteratorHelper(this._markerCollection.getMarkersIntersectingRange(_e152)),_step210;try{for(_iterator210.s();!(_step210=_iterator210.n()).done;){var _t167=_step210.value;var _e153=_t167.getRange();this.bufferMarkerChange(_t167.name,_e153,_e153,_t167.affectsData);}}catch(err){_iterator210.e(err);}finally{_iterator210.f();}break;}case\"split\":{var _e154=t.splitPosition.parent;this._isInInsertedElement(_e154)||this._markRemove(_e154,t.splitPosition.offset,t.howMany),this._isInInsertedElement(t.insertionPosition.parent)||this._markInsert(t.insertionPosition.parent,t.insertionPosition.offset,1),t.graveyardPosition&&this._markRemove(t.graveyardPosition.parent,t.graveyardPosition.offset,1);break;}case\"merge\":{var _e155=t.sourcePosition.parent;this._isInInsertedElement(_e155.parent)||this._markRemove(_e155.parent,_e155.startOffset,1);var _n149=t.graveyardPosition.parent;this._markInsert(_n149,t.graveyardPosition.offset,1);var _i109=t.targetPosition.parent;this._isInInsertedElement(_i109)||this._markInsert(_i109,t.targetPosition.offset,_e155.maxOffset);break;}}this._cachedChanges=null;}},{key:\"bufferMarkerChange\",value:function bufferMarkerChange(t,e,n,i){var o=this._changedMarkers.get(t);o?(o.newRange=n,o.affectsData=i,null==o.oldRange&&null==o.newRange&&this._changedMarkers[\"delete\"](t)):this._changedMarkers.set(t,{oldRange:e,newRange:n,affectsData:i});}},{key:\"getMarkersToRemove\",value:function getMarkersToRemove(){var t=[];var _iterator211=_createForOfIteratorHelper(this._changedMarkers),_step211;try{for(_iterator211.s();!(_step211=_iterator211.n()).done;){var _step211$value=_slicedToArray(_step211.value,2),_e156=_step211$value[0],_n150=_step211$value[1];null!=_n150.oldRange&&t.push({name:_e156,range:_n150.oldRange});}}catch(err){_iterator211.e(err);}finally{_iterator211.f();}return t;}},{key:\"getMarkersToAdd\",value:function getMarkersToAdd(){var t=[];var _iterator212=_createForOfIteratorHelper(this._changedMarkers),_step212;try{for(_iterator212.s();!(_step212=_iterator212.n()).done;){var _step212$value=_slicedToArray(_step212.value,2),_e157=_step212$value[0],_n151=_step212$value[1];null!=_n151.newRange&&t.push({name:_e157,range:_n151.newRange});}}catch(err){_iterator212.e(err);}finally{_iterator212.f();}return t;}},{key:\"getChangedMarkers\",value:function getChangedMarkers(){return Array.from(this._changedMarkers).map(function(t){return{name:t[0],data:{oldRange:t[1].oldRange,newRange:t[1].newRange}};});}},{key:\"hasDataChanges\",value:function hasDataChanges(){var _iterator213=_createForOfIteratorHelper(this._changedMarkers),_step213;try{for(_iterator213.s();!(_step213=_iterator213.n()).done;){var _step213$value=_slicedToArray(_step213.value,2),_t168=_step213$value[1];if(_t168.affectsData)return!0;}}catch(err){_iterator213.e(err);}finally{_iterator213.f();}return this._changesInElement.size>0;}},{key:\"getChanges\",value:function getChanges(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{includeChangesInGraveyard:!1};if(this._cachedChanges)return t.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice();var e=[];var _iterator214=_createForOfIteratorHelper(this._changesInElement.keys()),_step214;try{for(_iterator214.s();!(_step214=_iterator214.n()).done;){var _t171=_step214.value;var _n153=this._changesInElement.get(_t171).sort(function(t,e){return t.offset===e.offset?t.type!=e.type?\"remove\"==t.type?-1:1:0:t.offset_n156.offset){if(_i113>_o44){var _t173={type:\"attribute\",offset:_o44,howMany:_i113-_o44,count:this._changeCount++};this._handleChange(_t173,e),e.push(_t173);}t.nodesToHandle=_n156.offset-t.offset,t.howMany=t.nodesToHandle;}else t.offset>=_n156.offset&&t.offset<_o44&&(_i113>_o44?(t.nodesToHandle=_i113-_o44,t.offset=_o44):t.nodesToHandle=0);\"attribute\"==_n156.type&&(t.offset>=_n156.offset&&_i113<=_o44?(t.nodesToHandle=0,t.howMany=0,t.offset=0):t.offset<=_n156.offset&&_i113>=_o44&&(_n156.howMany=0));}}}catch(err){_iterator216.e(err);}finally{_iterator216.f();}t.howMany=t.nodesToHandle,delete t.nodesToHandle;}},{key:\"_getInsertDiff\",value:function _getInsertDiff(t,e,n){return{type:\"insert\",position:$s._createAt(t,e),name:n,length:1,changeCount:this._changeCount++};}},{key:\"_getRemoveDiff\",value:function _getRemoveDiff(t,e,n){return{type:\"remove\",position:$s._createAt(t,e),name:n,length:1,changeCount:this._changeCount++};}},{key:\"_getAttributesDiff\",value:function _getAttributesDiff(t,e,n){var i=[];n=new Map(n);var _iterator217=_createForOfIteratorHelper(e),_step217;try{for(_iterator217.s();!(_step217=_iterator217.n()).done;){var _step217$value=_slicedToArray(_step217.value,2),_o47=_step217$value[0],_r21=_step217$value[1];var _e163=n.has(_o47)?n.get(_o47):null;_e163!==_r21&&i.push({type:\"attribute\",position:t.start,range:t.clone(),length:1,attributeKey:_o47,attributeOldValue:_r21,attributeNewValue:_e163,changeCount:this._changeCount++}),n[\"delete\"](_o47);}}catch(err){_iterator217.e(err);}finally{_iterator217.f();}var _iterator218=_createForOfIteratorHelper(n),_step218;try{for(_iterator218.s();!(_step218=_iterator218.n()).done;){var _step218$value=_slicedToArray(_step218.value,2),_e164=_step218$value[0],_o48=_step218$value[1];i.push({type:\"attribute\",position:t.start,range:t.clone(),length:1,attributeKey:_e164,attributeOldValue:null,attributeNewValue:_o48,changeCount:this._changeCount++});}}catch(err){_iterator218.e(err);}finally{_iterator218.f();}return i;}},{key:\"_isInInsertedElement\",value:function _isInInsertedElement(t){var e=t.parent;if(!e)return!1;var n=this._changesInElement.get(e),i=t.startOffset;if(n){var _iterator219=_createForOfIteratorHelper(n),_step219;try{for(_iterator219.s();!(_step219=_iterator219.n()).done;){var _t174=_step219.value;if(\"insert\"==_t174.type&&i>=_t174.offset&&i<_t174.offset+_t174.howMany)return!0;}}catch(err){_iterator219.e(err);}finally{_iterator219.f();}}return this._isInInsertedElement(e);}},{key:\"_removeAllNestedChanges\",value:function _removeAllNestedChanges(t,e,n){var i=new Gs($s._createAt(t,e),$s._createAt(t,e+n));var _iterator220=_createForOfIteratorHelper(i.getItems({shallow:!0})),_step220;try{for(_iterator220.s();!(_step220=_iterator220.n()).done;){var _t175=_step220.value;_t175.is(\"element\")&&(this._elementSnapshots[\"delete\"](_t175),this._changesInElement[\"delete\"](_t175),this._removeAllNestedChanges(_t175,0,_t175.maxOffset));}}catch(err){_iterator220.e(err);}finally{_iterator220.f();}}}]);return vc;}();function yc(t){var e=[];var _iterator221=_createForOfIteratorHelper(t),_step221;try{for(_iterator221.s();!(_step221=_iterator221.n()).done;){var _n157=_step221.value;if(_n157.is(\"text\"))for(var _t176=0;_t176<_n157.data.length;_t176++)e.push({name:\"$text\",attributes:new Map(_n157.getAttributes())});else e.push({name:_n157.name,attributes:new Map(_n157.getAttributes())});}}catch(err){_iterator221.e(err);}finally{_iterator221.f();}return e;}function xc(t,e){var n=[];var i=0,o=0;var _iterator222=_createForOfIteratorHelper(e),_step222;try{for(_iterator222.s();!(_step222=_iterator222.n()).done;){var _t177=_step222.value;_t177.offset>i&&(n.push.apply(n,_toConsumableArray(\"e\".repeat(_t177.offset-i).split(\"\"))),o+=_t177.offset-i),\"insert\"==_t177.type?(n.push.apply(n,_toConsumableArray(\"i\".repeat(_t177.howMany).split(\"\"))),i=_t177.offset+_t177.howMany):\"remove\"==_t177.type?(n.push.apply(n,_toConsumableArray(\"r\".repeat(_t177.howMany).split(\"\"))),i=_t177.offset,o+=_t177.howMany):(n.push.apply(n,_toConsumableArray(\"a\".repeat(_t177.howMany).split(\"\"))),i=_t177.offset+_t177.howMany,o+=_t177.howMany);}}catch(err){_iterator222.e(err);}finally{_iterator222.f();}return o0&&arguments[0]!==undefined?arguments[0]:0;var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:Number.POSITIVE_INFINITY;return t<0?[]:this._operations.slice(t,e);}},{key:\"getOperation\",value:function getOperation(t){return this._operations[t];}},{key:\"setOperationAsUndone\",value:function setOperationAsUndone(t,e){this._undoPairs.set(e,t),this._undoneOperations.add(t);}},{key:\"isUndoingOperation\",value:function isUndoingOperation(t){return this._undoPairs.has(t);}},{key:\"isUndoneOperation\",value:function isUndoneOperation(t){return this._undoneOperations.has(t);}},{key:\"getUndoneOperation\",value:function getUndoneOperation(t){return this._undoPairs.get(t);}}]);return Cc;}();function Tc(t,e){return function(t){return!!t&&1==t.length&&/[\\ud800-\\udbff]/.test(t);}(t.charAt(e-1))&&function(t){return!!t&&1==t.length&&/[\\udc00-\\udfff]/.test(t);}(t.charAt(e));}function Pc(t,e){return function(t){return!!t&&1==t.length&&/[\\u0300-\\u036f\\u1ab0-\\u1aff\\u1dc0-\\u1dff\\u20d0-\\u20ff\\ufe20-\\ufe2f]/.test(t);}(t.charAt(e));}var Mc=\"$graveyard\";var Ec=/*#__PURE__*/function(){function Ec(t){var _this69=this;_classCallCheck(this,Ec);this.model=t,this.version=0,this.history=new Cc(this),this.selection=new sa(this),this.roots=new oo({idProperty:\"rootName\"}),this.differ=new vc(t.markers),this._postFixers=new Set(),this._hasSelectionChangedFromTheLastChangeBlock=!1,this.createRoot(\"$root\",Mc),this.listenTo(t,\"applyOperation\",function(t,e){var n=e[0];if(n.isDocumentOperation&&n.baseVersion!==_this69.version)throw new Gn.b(\"model-document-applyOperation-wrong-version: Only operations with matching versions can be applied.\",{operation:n});},{priority:\"highest\"}),this.listenTo(t,\"applyOperation\",function(t,e){var n=e[0];n.isDocumentOperation&&_this69.differ.bufferOperation(n);},{priority:\"high\"}),this.listenTo(t,\"applyOperation\",function(t,e){var n=e[0];n.isDocumentOperation&&(_this69.version++,_this69.history.addOperation(n));},{priority:\"low\"}),this.listenTo(this.selection,\"change\",function(){_this69._hasSelectionChangedFromTheLastChangeBlock=!0;}),this.listenTo(t.markers,\"update\",function(t,e,n,i){_this69.differ.bufferMarkerChange(e.name,n,i,e.affectsData),null===n&&e.on(\"change\",function(t,n){_this69.differ.bufferMarkerChange(e.name,n,e.getRange(),e.affectsData);});});}_createClass(Ec,[{key:\"graveyard\",get:function get(){return this.getRoot(Mc);}},{key:\"createRoot\",value:function createRoot(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:\"$root\";var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:\"main\";if(this.roots.get(e))throw new Gn.b(\"model-document-createRoot-name-exists: Root with specified name already exists.\",{name:e});var n=new mc(this,t,e);return this.roots.add(n),n;}},{key:\"destroy\",value:function destroy(){this.selection.destroy(),this.stopListening();}},{key:\"getRoot\",value:function getRoot(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:\"main\";return this.roots.get(t);}},{key:\"getRootNames\",value:function getRootNames(){return Array.from(this.roots,function(t){return t.rootName;}).filter(function(t){return t!=Mc;});}},{key:\"registerPostFixer\",value:function registerPostFixer(t){this._postFixers.add(t);}},{key:\"toJSON\",value:function toJSON(){var t=ui(this);return t.selection=\"[engine.model.DocumentSelection]\",t.model=\"[engine.model.Model]\",t;}},{key:\"_handleChangeBlock\",value:function _handleChangeBlock(t){this._hasDocumentChangedFromTheLastChangeBlock()&&(this._callPostFixers(t),this.differ.hasDataChanges()?this.fire(\"change:data\",t.batch):this.fire(\"change\",t.batch),this.differ.reset()),this._hasSelectionChangedFromTheLastChangeBlock=!1;}},{key:\"_hasDocumentChangedFromTheLastChangeBlock\",value:function _hasDocumentChangedFromTheLastChangeBlock(){return!this.differ.isEmpty||this._hasSelectionChangedFromTheLastChangeBlock;}},{key:\"_getDefaultRoot\",value:function _getDefaultRoot(){var _iterator223=_createForOfIteratorHelper(this.roots),_step223;try{for(_iterator223.s();!(_step223=_iterator223.n()).done;){var _t178=_step223.value;if(_t178!==this.graveyard)return _t178;}}catch(err){_iterator223.e(err);}finally{_iterator223.f();}return this.graveyard;}},{key:\"_getDefaultRange\",value:function _getDefaultRange(){var t=this._getDefaultRoot(),e=this.model,n=e.schema,i=e.createPositionFromPath(t,[0]);return n.getNearestSelectionRange(i)||e.createRange(i);}},{key:\"_validateSelectionRange\",value:function _validateSelectionRange(t){return Sc(t.start)&&Sc(t.end);}},{key:\"_callPostFixers\",value:function _callPostFixers(t){var e=!1;do{var _iterator224=_createForOfIteratorHelper(this._postFixers),_step224;try{for(_iterator224.s();!(_step224=_iterator224.n()).done;){var _n158=_step224.value;if(e=_n158(t))break;}}catch(err){_iterator224.e(err);}finally{_iterator224.f();}}while(e);}}]);return Ec;}();function Sc(t){var e=t.textNode;if(e){var _n159=e.data,_i115=t.offset-e.startOffset;return!Tc(_n159,_i115)&&!Pc(_n159,_i115);}return!0;}ci(Ec,ei);var Ic=/*#__PURE__*/function(_Symbol$iterator12){function Ic(){_classCallCheck(this,Ic);this._markers=new Map();}_createClass(Ic,[{key:_Symbol$iterator12,value:function value(){return this._markers.values();}},{key:\"has\",value:function has(t){return this._markers.has(t);}},{key:\"get\",value:function get(t){return this._markers.get(t)||null;}},{key:\"_set\",value:function _set(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1;var i=arguments.length>3&&arguments[3]!==undefined?arguments[3]:!1;var o=t instanceof Nc?t.name:t,r=this._markers.get(o);if(r){var _t179=r.getRange();var _s17=!1;return _t179.isEqual(e)||(r._attachLiveRange(oa.fromRange(e)),_s17=!0),n!=r.managedUsingOperations&&(r._managedUsingOperations=n,_s17=!0),\"boolean\"==typeof i&&i!=r.affectsData&&(r._affectsData=i,_s17=!0),_s17&&this.fire(\"update:\"+o,r,_t179,e),r;}var s=oa.fromRange(e),a=new Nc(o,s,n,i);return this._markers.set(o,a),this.fire(\"update:\"+o,a,null,e),a;}},{key:\"_remove\",value:function _remove(t){var e=t instanceof Nc?t.name:t,n=this._markers.get(e);return!!n&&(this._markers[\"delete\"](e),this.fire(\"update:\"+e,n,n.getRange(),null),this._destroyMarker(n),!0);}},{key:\"getMarkersAtPosition\",value:/*#__PURE__*/_regeneratorRuntime().mark(function getMarkersAtPosition(t){var _iterator225,_step225,_e165;return _regeneratorRuntime().wrap(function getMarkersAtPosition$(_context31){while(1)switch(_context31.prev=_context31.next){case 0:_iterator225=_createForOfIteratorHelper(this);_context31.prev=1;_iterator225.s();case 3:if((_step225=_iterator225.n()).done){_context31.next=11;break;}_e165=_step225.value;_context31.t0=_e165.getRange().containsPosition(t);if(!_context31.t0){_context31.next=9;break;}_context31.next=9;return _e165;case 9:_context31.next=3;break;case 11:_context31.next=16;break;case 13:_context31.prev=13;_context31.t1=_context31[\"catch\"](1);_iterator225.e(_context31.t1);case 16:_context31.prev=16;_iterator225.f();return _context31.finish(16);case 19:case\"end\":return _context31.stop();}},getMarkersAtPosition,this,[[1,13,16,19]]);})},{key:\"getMarkersIntersectingRange\",value:/*#__PURE__*/_regeneratorRuntime().mark(function getMarkersIntersectingRange(t){var _iterator226,_step226,_e166;return _regeneratorRuntime().wrap(function getMarkersIntersectingRange$(_context32){while(1)switch(_context32.prev=_context32.next){case 0:_iterator226=_createForOfIteratorHelper(this);_context32.prev=1;_iterator226.s();case 3:if((_step226=_iterator226.n()).done){_context32.next=11;break;}_e166=_step226.value;_context32.t0=null!==_e166.getRange().getIntersection(t);if(!_context32.t0){_context32.next=9;break;}_context32.next=9;return _e166;case 9:_context32.next=3;break;case 11:_context32.next=16;break;case 13:_context32.prev=13;_context32.t1=_context32[\"catch\"](1);_iterator226.e(_context32.t1);case 16:_context32.prev=16;_iterator226.f();return _context32.finish(16);case 19:case\"end\":return _context32.stop();}},getMarkersIntersectingRange,this,[[1,13,16,19]]);})},{key:\"destroy\",value:function destroy(){var _iterator227=_createForOfIteratorHelper(this._markers.values()),_step227;try{for(_iterator227.s();!(_step227=_iterator227.n()).done;){var _t180=_step227.value;this._destroyMarker(_t180);}}catch(err){_iterator227.e(err);}finally{_iterator227.f();}this._markers=null,this.stopListening();}},{key:\"getMarkersGroup\",value:/*#__PURE__*/_regeneratorRuntime().mark(function getMarkersGroup(t){var _iterator228,_step228,_e167;return _regeneratorRuntime().wrap(function getMarkersGroup$(_context33){while(1)switch(_context33.prev=_context33.next){case 0:_iterator228=_createForOfIteratorHelper(this._markers.values());_context33.prev=1;_iterator228.s();case 3:if((_step228=_iterator228.n()).done){_context33.next=11;break;}_e167=_step228.value;_context33.t0=_e167.name.startsWith(t+\":\");if(!_context33.t0){_context33.next=9;break;}_context33.next=9;return _e167;case 9:_context33.next=3;break;case 11:_context33.next=16;break;case 13:_context33.prev=13;_context33.t1=_context33[\"catch\"](1);_iterator228.e(_context33.t1);case 16:_context33.prev=16;_iterator228.f();return _context33.finish(16);case 19:case\"end\":return _context33.stop();}},getMarkersGroup,this,[[1,13,16,19]]);})},{key:\"_destroyMarker\",value:function _destroyMarker(t){t.stopListening(),t._detachLiveRange();}}]);return Ic;}(Symbol.iterator);ci(Ic,ei);var Nc=/*#__PURE__*/function(){function Nc(t,e,n,i){_classCallCheck(this,Nc);this.name=t,this._liveRange=this._attachLiveRange(e),this._managedUsingOperations=n,this._affectsData=i;}_createClass(Nc,[{key:\"managedUsingOperations\",get:function get(){if(!this._liveRange)throw new Gn.b(\"marker-destroyed: Cannot use a destroyed marker instance.\");return this._managedUsingOperations;}},{key:\"affectsData\",get:function get(){if(!this._liveRange)throw new Gn.b(\"marker-destroyed: Cannot use a destroyed marker instance.\");return this._affectsData;}},{key:\"getStart\",value:function getStart(){if(!this._liveRange)throw new Gn.b(\"marker-destroyed: Cannot use a destroyed marker instance.\");return this._liveRange.start.clone();}},{key:\"getEnd\",value:function getEnd(){if(!this._liveRange)throw new Gn.b(\"marker-destroyed: Cannot use a destroyed marker instance.\");return this._liveRange.end.clone();}},{key:\"getRange\",value:function getRange(){if(!this._liveRange)throw new Gn.b(\"marker-destroyed: Cannot use a destroyed marker instance.\");return this._liveRange.toRange();}},{key:\"_attachLiveRange\",value:function _attachLiveRange(t){return this._liveRange&&this._detachLiveRange(),t.delegate(\"change:range\").to(this),t.delegate(\"change:content\").to(this),this._liveRange=t,t;}},{key:\"_detachLiveRange\",value:function _detachLiveRange(){this._liveRange.stopDelegating(\"change:range\",this),this._liveRange.stopDelegating(\"change:content\",this),this._liveRange.detach(),this._liveRange=null;}}]);return Nc;}();ci(Nc,ei);var Oc=/*#__PURE__*/function(_$s){_inherits(Oc,_$s);var _super33=_createSuper(Oc);function Oc(t,e){var _this70;var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:\"toNone\";_classCallCheck(this,Oc);if(_this70=_super33.call(this,t,e,n),!_this70.root.is(\"rootElement\"))throw new Gn.b(\"model-liveposition-root-not-rootelement: LivePosition's root has to be an instance of RootElement.\");(function(){var _this71=this;this.listenTo(this.root.document.model,\"applyOperation\",function(t,e){var n=e[0];n.isDocumentOperation&&function(t){var e=this.getTransformedByOperation(t);if(!this.isEqual(e)){var _t181=this.toPosition();this.path=e.path,this.root=e.root,this.fire(\"change\",_t181);}}.call(_this71,n);},{priority:\"low\"});}).call(_assertThisInitialized(_this70));return _possibleConstructorReturn(_this70);}_createClass(Oc,[{key:\"detach\",value:function detach(){this.stopListening();}},{key:\"toPosition\",value:function toPosition(){return new $s(this.root,this.path.slice(),this.stickiness);}}],[{key:\"fromPosition\",value:function fromPosition(t,e){return new this(t.root,t.path.slice(),e||t.stickiness);}}]);return Oc;}($s);ci(Oc,ei);var Rc=/*#__PURE__*/function(){function Rc(t,e,n){_classCallCheck(this,Rc);this.model=t,this.writer=e,this.position=n,this.canMergeWith=new Set([this.position.parent]),this.schema=t.schema,this._filterAttributesOf=[];}_createClass(Rc,[{key:\"handleNodes\",value:function handleNodes(t,e){t=Array.from(t);for(var _n160=0;_n1602&&arguments[2]!==undefined?arguments[2]:{};if(e.isCollapsed)return;var i=t.schema;t.change(function(t){if(!n.doNotResetEntireContent&&function(t,e){var n=t.getLimitElement(e);if(!e.containsEntireContent(n))return!1;var i=e.getFirstRange();if(i.start.parent==i.end.parent)return!1;return t.checkChild(n,\"paragraph\");}(i,e))return void function(t,e){var n=t.model.schema.getLimitElement(e);t.remove(t.createRangeIn(n)),Lc(t,t.createPositionAt(n,0),e);}(t,e);var o=e.getFirstRange(),r=o.start,s=Oc.fromPosition(o.end,\"toNext\");o.start.isTouching(o.end)||t.remove(o),n.leaveUnmerged||(!function t(e,n,i){var o=n.parent;var r=i.parent;if(o==r)return;if(e.model.schema.isLimit(o)||e.model.schema.isLimit(r))return;if(!function(t,e,n){var i=new Gs(t,e);var _iterator229=_createForOfIteratorHelper(i.getWalker()),_step229;try{for(_iterator229.s();!(_step229=_iterator229.n()).done;){var _t186=_step229.value;if(n.isLimit(_t186.item))return!1;}}catch(err){_iterator229.e(err);}finally{_iterator229.f();}return!0;}(n,i,e.model.schema))return;n=e.createPositionAfter(o);i=e.createPositionBefore(r);i.isEqual(n)||e.insert(r,n);e.merge(n);for(;i.parent.isEmpty;){var _t187=i.parent;i=e.createPositionBefore(_t187),e.remove(_t187);}t(e,n,i);}(t,r,s),i.removeDisallowedAttributes(r.parent.getChildren(),t)),e instanceof sa?t.setSelection(r):e.setTo(r),function(t,e){var n=t.checkChild(e,\"$text\"),i=t.checkChild(e,\"paragraph\");return!n&&i;}(i,r)&&Lc(t,r,e),s.detach();});}function Lc(t,e,n){var i=t.createElement(\"paragraph\");t.insert(i,e),n instanceof sa?t.setSelection(i,0):n.setTo(i,0);}var jc=' ,.?!:;\"-()';function Vc(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var i=t.schema,o=\"backward\"!=n.direction,r=n.unit?n.unit:\"character\",s=e.focus,a=new qs({boundaries:function(t,e){var n=t.root,i=$s._createAt(n,e?\"end\":0);return e?new Gs(t,i):new Gs(i,t);}(s,o),singleCharacters:!0,direction:o?\"forward\":\"backward\"}),c={walker:a,schema:i,isForward:o,unit:r};var l;var _loop3=function _loop3(){if(l.done)return{v:void 0};var n=Bc(c,l.value);if(n)return{v:void(e instanceof sa?t.change(function(t){t.setSelectionFocus(n);}):e.setFocus(n))};},_ret;for(;l=a.next();){_ret=_loop3();if(_ret)return _ret.v;}}function Bc(t,e){if(\"text\"==e.type)return\"word\"===t.unit?function(t,e){var n=t.position.textNode;if(n){var _i117=t.position.offset-n.startOffset;for(;!zc(n.data,_i117,e)&&!Fc(n,_i117,e);){t.next();var _o49=e?t.position.nodeAfter:t.position.nodeBefore;if(_o49&&_o49.is(\"text\")){var _i118=_o49.data.charAt(e?0:_o49.data.length-1);jc.includes(_i118)||(t.next(),n=t.position.textNode);}_i117=t.position.offset-n.startOffset;}}return t.position;}(t.walker,t.isForward):function(t,e){var n=t.position.textNode;if(n){var _i119=n.data;var _o50=t.position.offset-n.startOffset;for(;Tc(_i119,_o50)||\"character\"==e&&Pc(_i119,_o50);)t.next(),_o50=t.position.offset-n.startOffset;}return t.position;}(t.walker,t.unit,t.isForward);if(e.type==(t.isForward?\"elementStart\":\"elementEnd\")){if(t.schema.isObject(e.item))return $s._createAt(e.item,t.isForward?\"after\":\"before\");if(t.schema.checkChild(e.nextPosition,\"$text\"))return e.nextPosition;}else{if(t.schema.isLimit(e.item))return void t.walker.skip(function(){return!0;});if(t.schema.checkChild(e.nextPosition,\"$text\"))return e.nextPosition;}}function zc(t,e,n){var i=e+(n?0:-1);return jc.includes(t.charAt(i));}function Fc(t,e,n){return e===(n?t.endOffset:0);}function Uc(t,e){var n=[];Array.from(t.getItems({direction:\"backward\"})).map(function(t){return e.createRangeOn(t);}).filter(function(e){return(e.start.isAfter(t.start)||e.start.isEqual(t.start))&&(e.end.isBefore(t.end)||e.end.isEqual(t.end));}).forEach(function(t){n.push(t.start.parent),e.remove(t);}),n.forEach(function(t){var n=t;for(;n.parent&&n.isEmpty;){var _t188=e.createRangeOn(n);n=n.parent,e.remove(_t188);}});}function Hc(t){t.document.registerPostFixer(function(e){return function(t,e){var n=e.document.selection,i=e.schema,o=[];var r=!1;var _iterator230=_createForOfIteratorHelper(n.getRanges()),_step230;try{for(_iterator230.s();!(_step230=_iterator230.n()).done;){var _t190=_step230.value;var _e169=qc(_t190,i);_e169?(o.push(_e169),r=!0):o.push(_t190);}}catch(err){_iterator230.e(err);}finally{_iterator230.f();}if(r){var _e168=o;if(o.length>1){var _t189=o[0].start,_n161=o[o.length-1].end;_e168=[new Gs(_t189,_n161)];}t.setSelection(_e168,{backward:n.isBackward});}}(e,t);});}function qc(t,e){return t.isCollapsed?function(t,e){var n=t.start,i=e.getNearestSelectionRange(n);if(!i)return null;var o=i.start;if(n.isEqual(o))return null;if(o.nodeAfter&&e.isLimit(o.nodeAfter))return new Gs(o,$s._createAfter(o.nodeAfter));return new Gs(o);}(t,e):function(t,e){var n=t.start,i=t.end,o=e.checkChild(n,\"$text\"),r=e.checkChild(i,\"$text\"),s=e.getLimitElement(n),a=e.getLimitElement(i);if(s===a){if(o&&r)return null;if(function(t,e,n){var i=t.nodeAfter&&!n.isLimit(t.nodeAfter)||n.checkChild(t,\"$text\"),o=e.nodeBefore&&!n.isLimit(e.nodeBefore)||n.checkChild(e,\"$text\");return i||o;}(n,i,e)){var _t191=n.nodeAfter&&e.isObject(n.nodeAfter),_o51=_t191?null:e.getNearestSelectionRange(n,\"forward\"),_r22=i.nodeBefore&&e.isObject(i.nodeBefore),_s18=_r22?null:e.getNearestSelectionRange(i,\"backward\"),_a9=_o51?_o51.start:n,_c4=_s18?_s18.start:i;return new Gs(_a9,_c4);}}var c=s&&!s.is(\"rootElement\"),l=a&&!a.is(\"rootElement\");if(c||l){var _t192=n.nodeAfter&&i.nodeBefore&&n.nodeAfter.parent===i.nodeBefore.parent,_o52=c&&(!_t192||!Yc(n.nodeAfter,e)),_r23=l&&(!_t192||!Yc(i.nodeBefore,e));var _d2=n,_u2=i;return _o52&&(_d2=$s._createBefore(Wc(s,e))),_r23&&(_u2=$s._createAfter(Wc(a,e))),new Gs(_d2,_u2);}return null;}(t,e);}function Wc(t,e){var n=t,i=n;for(;e.isLimit(i)&&i.parent;)n=i,i=i.parent;return n;}function Yc(t,e){return t&&e.isObject(t);}var $c=/*#__PURE__*/function(){function $c(){var _this72=this;_classCallCheck(this,$c);this.markers=new Ic(),this.document=new Ec(this),this.schema=new Ia(),this._pendingChanges=[],this._currentWriter=null,[\"insertContent\",\"deleteContent\",\"modifySelection\",\"getSelectedContent\",\"applyOperation\"].forEach(function(t){return _this72.decorate(t);}),this.on(\"applyOperation\",function(t,e){e[0]._validate();},{priority:\"highest\"}),this.schema.register(\"$root\",{isLimit:!0}),this.schema.register(\"$block\",{allowIn:\"$root\",isBlock:!0}),this.schema.register(\"$text\",{allowIn:\"$block\",isInline:!0}),this.schema.register(\"$clipboardHolder\",{allowContentOf:\"$root\",isLimit:!0}),this.schema.extend(\"$text\",{allowIn:\"$clipboardHolder\"}),this.schema.register(\"$marker\",{allowIn:[\"$root\",\"$block\"]}),Hc(this);}_createClass($c,[{key:\"change\",value:function change(t){return 0===this._pendingChanges.length?(this._pendingChanges.push({batch:new Ga(),callback:t}),this._runPendingChanges()[0]):t(this._currentWriter);}},{key:\"enqueueChange\",value:function enqueueChange(t,e){\"string\"==typeof t?t=new Ga(t):\"function\"==typeof t&&(e=t,t=new Ga()),this._pendingChanges.push({batch:t,callback:e}),1==this._pendingChanges.length&&this._runPendingChanges();}},{key:\"applyOperation\",value:function applyOperation(t){t._execute();}},{key:\"insertContent\",value:function insertContent(t,e,n){!function(t,e,n,i){t.change(function(o){var r;(r=n?n instanceof ta||n instanceof sa?n:o.createSelection(n,i):t.document.selection).isCollapsed||t.deleteContent(r);var s=new Rc(t,o,r.anchor);var a;a=e.is(\"documentFragment\")?e.getChildren():[e],s.handleNodes(a,{isFirst:!0,isLast:!0});var c=s.getSelectionRange();c?r instanceof sa?o.setSelection(c):r.setTo(c):bs.a.warn(\"insertcontent-no-range: Cannot determine a proper selection range after insertion.\");});}(this,t,e,n);}},{key:\"deleteContent\",value:function deleteContent(t,e){Dc(this,t,e);}},{key:\"modifySelection\",value:function modifySelection(t,e){Vc(this,t,e);}},{key:\"getSelectedContent\",value:function getSelectedContent(t){return function(t,e){return t.change(function(t){var n=t.createDocumentFragment(),i=e.getFirstRange();if(!i||i.isCollapsed)return n;var o=i.start.root,r=i.start.getCommonPath(i.end),s=o.getNodeByPath(r);var a;var c=(a=i.start.parent==i.end.parent?i:t.createRange(t.createPositionAt(s,i.start.path[r.length]),t.createPositionAt(s,i.end.path[r.length]+1))).end.offset-a.start.offset;var _iterator231=_createForOfIteratorHelper(a.getItems({shallow:!0})),_step231;try{for(_iterator231.s();!(_step231=_iterator231.n()).done;){var _e171=_step231.value;_e171.is(\"textProxy\")?t.appendText(_e171.data,_e171.getAttributes(),n):t.append(_e171._clone(!0),n);}}catch(err){_iterator231.e(err);}finally{_iterator231.f();}if(a!=i){var _e170=i._getTransformedByMove(a.start,t.createPositionAt(n,0),c)[0],_o53=t.createRange(t.createPositionAt(n,0),_e170.start);Uc(t.createRange(_e170.end,t.createPositionAt(n,\"end\")),t),Uc(_o53,t);}return n;});}(this,t);}},{key:\"hasContent\",value:function hasContent(t,e){var n=t instanceof Hs?Gs._createIn(t):t;if(n.isCollapsed)return!1;var _iterator232=_createForOfIteratorHelper(this.markers.getMarkersIntersectingRange(n)),_step232;try{for(_iterator232.s();!(_step232=_iterator232.n()).done;){var _t193=_step232.value;if(_t193.affectsData)return!0;}}catch(err){_iterator232.e(err);}finally{_iterator232.f();}var _ref11=e||{},_ref11$ignoreWhitespa=_ref11.ignoreWhitespaces,i=_ref11$ignoreWhitespa===void 0?!1:_ref11$ignoreWhitespa;var _iterator233=_createForOfIteratorHelper(n.getItems()),_step233;try{for(_iterator233.s();!(_step233=_iterator233.n()).done;){var _t194=_step233.value;if(_t194.is(\"textProxy\")){if(!i)return!0;if(-1!==_t194.data.search(/\\S/))return!0;}else if(this.schema.isObject(_t194))return!0;}}catch(err){_iterator233.e(err);}finally{_iterator233.f();}return!1;}},{key:\"createPositionFromPath\",value:function createPositionFromPath(t,e,n){return new $s(t,e,n);}},{key:\"createPositionAt\",value:function createPositionAt(t,e){return $s._createAt(t,e);}},{key:\"createPositionAfter\",value:function createPositionAfter(t){return $s._createAfter(t);}},{key:\"createPositionBefore\",value:function createPositionBefore(t){return $s._createBefore(t);}},{key:\"createRange\",value:function createRange(t,e){return new Gs(t,e);}},{key:\"createRangeIn\",value:function createRangeIn(t){return Gs._createIn(t);}},{key:\"createRangeOn\",value:function createRangeOn(t){return Gs._createOn(t);}},{key:\"createSelection\",value:function createSelection(t,e,n){return new ta(t,e,n);}},{key:\"createBatch\",value:function createBatch(){return new Ga();}},{key:\"destroy\",value:function destroy(){this.document.destroy(),this.stopListening();}},{key:\"_runPendingChanges\",value:function _runPendingChanges(){var t=[];for(this.fire(\"_beforeChanges\");this._pendingChanges.length;){var _e172=this._pendingChanges[0].batch;this._currentWriter=new pc(this,_e172);var _n162=this._pendingChanges[0].callback(this._currentWriter);t.push(_n162),this.fire(\"_change\",this._currentWriter),this.document._handleChangeBlock(this._currentWriter),this._pendingChanges.shift(),this._currentWriter=null;}return this.fire(\"_afterChanges\"),t;}}]);return $c;}();ci($c,Fi);var Gc=/*#__PURE__*/function(){function Gc(){_classCallCheck(this,Gc);this._listener=Object.create(lr);}_createClass(Gc,[{key:\"listenTo\",value:function listenTo(t){var _this73=this;this._listener.listenTo(t,\"keydown\",function(t,e){_this73._listener.fire(\"_keydown:\"+wo(e),e);});}},{key:\"set\",value:function set(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var i=_o(t),o=n.priority;this._listener.listenTo(this._listener,\"_keydown:\"+i,function(t,n){e(n,function(){n.preventDefault(),n.stopPropagation(),t.stop();}),t[\"return\"]=!0;},{priority:o});}},{key:\"press\",value:function press(t){return!!this._listener.fire(\"_keydown:\"+wo(t),t);}},{key:\"destroy\",value:function destroy(){this._listener.stopListening();}}]);return Gc;}();var Qc=/*#__PURE__*/function(_Gc){_inherits(Qc,_Gc);var _super34=_createSuper(Qc);function Qc(t){var _this74;_classCallCheck(this,Qc);_this74=_super34.call(this),_this74.editor=t;return _this74;}_createClass(Qc,[{key:\"set\",value:function set(t,e){var _this75=this;var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};if(\"string\"==typeof e){var _t195=e;e=function e(_e173,n){_this75.editor.execute(_t195),n();};}_get(_getPrototypeOf(Qc.prototype),\"set\",this).call(this,t,e,n);}}]);return Qc;}(Gc);n(42);var Jc=/*#__PURE__*/function(){function Jc(t){var _this76=this;_classCallCheck(this,Jc);var e=this.constructor.builtinPlugins;this.config=new Yn(t,this.constructor.defaultConfig),this.config.define(\"plugins\",e),this.plugins=new Ca(this,e),this.commands=new Ta(),this.locale=new Ma(this.config.get(\"language\")),this.t=this.locale.t,this.set(\"state\",\"initializing\"),this.once(\"ready\",function(){return _this76.state=\"ready\";},{priority:\"high\"}),this.once(\"destroy\",function(){return _this76.state=\"destroyed\";},{priority:\"high\"}),this.set(\"isReadOnly\",!1),this.model=new $c(),this.data=new qa(this.model),this.editing=new Aa(this.model),this.editing.view.document.bind(\"isReadOnly\").to(this),this.conversion=new Wa([this.editing.downcastDispatcher,this.data.downcastDispatcher],this.data.upcastDispatcher),this.conversion.addAlias(\"dataDowncast\",this.data.downcastDispatcher),this.conversion.addAlias(\"editingDowncast\",this.editing.downcastDispatcher),this.keystrokes=new Qc(this),this.keystrokes.listenTo(this.editing.view.document);}_createClass(Jc,[{key:\"initPlugins\",value:function initPlugins(){var t=this.config,e=t.get(\"plugins\")||[],n=t.get(\"removePlugins\")||[],i=t.get(\"extraPlugins\")||[];return this.plugins.init(e.concat(i),n);}},{key:\"destroy\",value:function destroy(){var _this77=this;var t=Promise.resolve();return\"initializing\"==this.state&&(t=new Promise(function(t){return _this77.once(\"ready\",t);})),t.then(function(){_this77.fire(\"destroy\"),_this77.stopListening(),_this77.commands.destroy();}).then(function(){return _this77.plugins.destroy();}).then(function(){_this77.model.destroy(),_this77.data.destroy(),_this77.editing.destroy(),_this77.keystrokes.destroy();});}},{key:\"execute\",value:function execute(){var _this$commands;(_this$commands=this.commands).execute.apply(_this$commands,arguments);}}]);return Jc;}();ci(Jc,Fi);var Kc={setData:function setData(t){this.data.set(t);},getData:function getData(t){return this.data.get(t);}};var Zc={updateSourceElement:function updateSourceElement(){if(!this.sourceElement)throw new Gn.b(\"editor-missing-sourceelement: Cannot update the source element of a detached editor.\");!function(t,e){t instanceof HTMLTextAreaElement&&(t.value=e),t.innerHTML=e;}(this.sourceElement,this.data.get());}};var Xc=/*#__PURE__*/function(){function Xc(){_classCallCheck(this,Xc);}_createClass(Xc,[{key:\"getHtml\",value:function getHtml(t){var e=document.implementation.createHTMLDocument(\"\").createElement(\"div\");return e.appendChild(t),e.innerHTML;}}]);return Xc;}();var tl=/*#__PURE__*/function(){function tl(){_classCallCheck(this,tl);this._domParser=new DOMParser(),this._domConverter=new rr({blockFiller:jo}),this._htmlWriter=new Xc();}_createClass(tl,[{key:\"toData\",value:function toData(t){var e=this._domConverter.viewToDom(t,document);return this._htmlWriter.getHtml(e);}},{key:\"toView\",value:function toView(t){var e=this._toDom(t);return this._domConverter.domToView(e);}},{key:\"_toDom\",value:function _toDom(t){var e=this._domParser.parseFromString(t,\"text/html\"),n=e.createDocumentFragment(),i=e.body.childNodes;for(;i.length>0;)n.appendChild(i[0]);return n;}}]);return tl;}();var el=/*#__PURE__*/function(){function el(t){_classCallCheck(this,el);this.editor=t,this._components=new Map();}_createClass(el,[{key:\"names\",value:/*#__PURE__*/_regeneratorRuntime().mark(function names(){var _iterator234,_step234,_t196;return _regeneratorRuntime().wrap(function names$(_context34){while(1)switch(_context34.prev=_context34.next){case 0:_iterator234=_createForOfIteratorHelper(this._components.values());_context34.prev=1;_iterator234.s();case 3:if((_step234=_iterator234.n()).done){_context34.next=9;break;}_t196=_step234.value;_context34.next=7;return _t196.originalName;case 7:_context34.next=3;break;case 9:_context34.next=14;break;case 11:_context34.prev=11;_context34.t0=_context34[\"catch\"](1);_iterator234.e(_context34.t0);case 14:_context34.prev=14;_iterator234.f();return _context34.finish(14);case 17:case\"end\":return _context34.stop();}},names,this,[[1,11,14,17]]);})},{key:\"add\",value:function add(t,e){if(this.has(t))throw new Gn.b(\"componentfactory-item-exists: The item already exists in the component factory.\",{name:t});this._components.set(nl(t),{callback:e,originalName:t});}},{key:\"create\",value:function create(t){if(!this.has(t))throw new Gn.b(\"componentfactory-item-missing: The required component is not registered in the factory.\",{name:t});return this._components.get(nl(t)).callback(this.editor.locale);}},{key:\"has\",value:function has(t){return this._components.has(nl(t));}}]);return el;}();function nl(t){return String(t).toLowerCase();}var il=/*#__PURE__*/function(){function il(){_classCallCheck(this,il);this.set(\"isFocused\",!1),this.focusedElement=null,this._elements=new Set(),this._nextEventLoopTimeout=null;}_createClass(il,[{key:\"add\",value:function add(t){var _this78=this;if(this._elements.has(t))throw new Gn.b(\"focusTracker-add-element-already-exist\");this.listenTo(t,\"focus\",function(){return _this78._focus(t);},{useCapture:!0}),this.listenTo(t,\"blur\",function(){return _this78._blur();},{useCapture:!0}),this._elements.add(t);}},{key:\"remove\",value:function remove(t){t===this.focusedElement&&this._blur(t),this._elements.has(t)&&(this.stopListening(t),this._elements[\"delete\"](t));}},{key:\"destroy\",value:function destroy(){this.stopListening();}},{key:\"_focus\",value:function _focus(t){clearTimeout(this._nextEventLoopTimeout),this.focusedElement=t,this.isFocused=!0;}},{key:\"_blur\",value:function _blur(){var _this79=this;clearTimeout(this._nextEventLoopTimeout),this._nextEventLoopTimeout=setTimeout(function(){_this79.focusedElement=null,_this79.isFocused=!1;},0);}}]);return il;}();ci(il,lr),ci(il,Fi);var ol=/*#__PURE__*/function(){function ol(t){var _this80=this;_classCallCheck(this,ol);this.editor=t,this.componentFactory=new el(t),this.focusTracker=new il(),this._editableElements=new Map(),this.listenTo(t.editing.view.document,\"layoutChanged\",function(){return _this80.update();});}_createClass(ol,[{key:\"element\",get:function get(){return null;}},{key:\"update\",value:function update(){this.fire(\"update\");}},{key:\"destroy\",value:function destroy(){this.stopListening(),this.focusTracker.destroy(),this._editableElements=new Map();}},{key:\"getEditableElement\",value:function getEditableElement(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:\"main\";return this._editableElements.get(t);}},{key:\"getEditableElementsNames\",value:function getEditableElementsNames(){return this._editableElements.keys();}}]);return ol;}();ci(ol,ei);n(43);var rl=new WeakMap();function sl(t){var e=t.view,n=t.element,i=t.text,_t$isDirectHost=t.isDirectHost,o=_t$isDirectHost===void 0?!0:_t$isDirectHost,r=e.document;rl.has(r)||(rl.set(r,new Map()),r.registerPostFixer(function(t){return cl(r,t);})),rl.get(r).set(n,{text:i,isDirectHost:o}),e.change(function(t){return cl(r,t);});}function al(t,e){return!!e.hasClass(\"ck-placeholder\")&&(t.removeClass(\"ck-placeholder\",e),!0);}function cl(t,e){var n=rl.get(t);var i=!1;var _iterator235=_createForOfIteratorHelper(n),_step235;try{for(_iterator235.s();!(_step235=_iterator235.n()).done;){var _step235$value=_slicedToArray(_step235.value,2),_t197=_step235$value[0],_o54=_step235$value[1];ll(e,_t197,_o54)&&(i=!0);}}catch(err){_iterator235.e(err);}finally{_iterator235.f();}return i;}function ll(t,e,n){var i=n.text,o=n.isDirectHost,r=o?e:function(t){if(1===t.childCount){var _e174=t.getChild(0);if(_e174.is(\"element\")&&!_e174.is(\"uiElement\"))return _e174;}return null;}(e);var s=!1;return!!r&&(n.hostElement=r,r.getAttribute(\"data-placeholder\")!==i&&(t.setAttribute(\"data-placeholder\",i,r),s=!0),!function(t){var e=t.document;if(!e)return!1;var n=!Array.from(t.getChildren()).some(function(t){return!t.is(\"uiElement\");});if(!e.isFocused&&n)return!0;var i=e.selection.anchor;return!(!n||!i||i.parent===t);}(r)?al(t,r)&&(s=!0):function(t,e){return!e.hasClass(\"ck-placeholder\")&&(t.addClass(\"ck-placeholder\",e),!0);}(t,r)&&(s=!0),s);}var dl=/*#__PURE__*/function(){function dl(){_classCallCheck(this,dl);this._replacedElements=[];}_createClass(dl,[{key:\"replace\",value:function replace(t,e){this._replacedElements.push({element:t,newElement:e}),t.style.display=\"none\",e&&t.parentNode.insertBefore(e,t.nextSibling);}},{key:\"restore\",value:function restore(){this._replacedElements.forEach(function(_ref12){var t=_ref12.element,e=_ref12.newElement;t.style.display=\"\",e&&e.remove();}),this._replacedElements=[];}}]);return dl;}();var ul=/*#__PURE__*/function(_ol){_inherits(ul,_ol);var _super35=_createSuper(ul);function ul(t,e){var _this81;_classCallCheck(this,ul);_this81=_super35.call(this,t),_this81.view=e,_this81._toolbarConfig=function(t){return Array.isArray(t)?{items:t}:t?Object.assign({items:[]},t):{items:[]};}(t.config.get(\"toolbar\")),_this81._elementReplacer=new dl();return _this81;}_createClass(ul,[{key:\"element\",get:function get(){return this.view.element;}},{key:\"init\",value:function init(t){var e=this.editor,n=this.view,i=e.editing.view,o=n.editable,r=i.document.getRoot();o.name=r.rootName,n.render();var s=o.element;this._editableElements.set(o.name,s),this.focusTracker.add(s),n.editable.bind(\"isFocused\").to(this.focusTracker),i.attachDomRoot(s),t&&this._elementReplacer.replace(t,this.element),this._initPlaceholder(),this._initToolbar(),this.fire(\"ready\");}},{key:\"destroy\",value:function destroy(){var t=this.view,e=this.editor.editing.view;this._elementReplacer.restore(),e.detachDomRoot(t.editable.name),t.destroy(),_get(_getPrototypeOf(ul.prototype),\"destroy\",this).call(this);}},{key:\"_initToolbar\",value:function _initToolbar(){var t=this.editor,e=this.view,n=t.editing.view;e.stickyPanel.bind(\"isActive\").to(this.focusTracker,\"isFocused\"),e.stickyPanel.limiterElement=e.element,this._toolbarConfig.viewportTopOffset&&(e.stickyPanel.viewportTopOffset=this._toolbarConfig.viewportTopOffset),e.toolbar.fillFromConfig(this._toolbarConfig.items,this.componentFactory),function(_ref13){var t=_ref13.origin,e=_ref13.originKeystrokeHandler,n=_ref13.originFocusTracker,i=_ref13.toolbar,o=_ref13.beforeFocus,r=_ref13.afterBlur;n.add(i.element),e.set(\"Alt+F10\",function(t,e){n.isFocused&&!i.focusTracker.isFocused&&(o&&o(),i.focus(),e());}),i.keystrokes.set(\"Esc\",function(e,n){i.focusTracker.isFocused&&(t.focus(),r&&r(),n());});}({origin:n,originFocusTracker:this.focusTracker,originKeystrokeHandler:t.keystrokes,toolbar:e.toolbar});}},{key:\"_initPlaceholder\",value:function _initPlaceholder(){var t=this.editor,e=t.editing.view,n=e.document.getRoot(),i=t.sourceElement,o=t.config.get(\"placeholder\")||i&&\"textarea\"===i.tagName.toLowerCase()&&i.getAttribute(\"placeholder\");o&&sl({view:e,element:n,text:o,isDirectHost:!1});}}]);return ul;}(ol);var hl=/*#__PURE__*/function(_oo){_inherits(hl,_oo);var _super36=_createSuper(hl);function hl(t){var _this82;_classCallCheck(this,hl);_this82=_super36.call(this,{idProperty:\"viewUid\"}),_this82.on(\"add\",function(t,e,n){e.isRendered||e.render(),e.element&&_this82._parentElement&&_this82._parentElement.insertBefore(e.element,_this82._parentElement.children[n]);}),_this82.on(\"remove\",function(t,e){e.element&&_this82._parentElement&&e.element.remove();}),_this82.locale=t,_this82._parentElement=null;return _this82;}_createClass(hl,[{key:\"destroy\",value:function destroy(){this.map(function(t){return t.destroy();});}},{key:\"setParent\",value:function setParent(t){this._parentElement=t;}},{key:\"delegate\",value:function delegate(){var _this83=this;for(var _len17=arguments.length,t=new Array(_len17),_key17=0;_key17<_len17;_key17++){t[_key17]=arguments[_key17];}if(!t.length||!function(t){return t.every(function(t){return\"string\"==typeof t;});}(t))throw new Gn.b(\"ui-viewcollection-delegate-wrong-events: All event names must be strings.\");return{to:function to(e){var _iterator236=_createForOfIteratorHelper(_this83),_step236;try{for(_iterator236.s();!(_step236=_iterator236.n()).done;){var _n165=_step236.value;for(var _i122=0,_t200=t;_i122<_t200.length;_i122++){var _i123=_t200[_i122];_n165.delegate(_i123).to(e);}}}catch(err){_iterator236.e(err);}finally{_iterator236.f();}_this83.on(\"add\",function(n,i){for(var _i120=0,_t198=t;_i120<_t198.length;_i120++){var _n163=_t198[_i120];i.delegate(_n163).to(e);}}),_this83.on(\"remove\",function(n,i){for(var _i121=0,_t199=t;_i121<_t199.length;_i121++){var _n164=_t199[_i121];i.stopDelegating(_n164,e);}});}};}}]);return hl;}(oo);ci(oo,Fi);var fl=\"http://www.w3.org/1999/xhtml\";var ml=/*#__PURE__*/function(){function ml(t){_classCallCheck(this,ml);Object.assign(this,xl(yl(t))),this._isRendered=!1,this._revertData=null;}_createClass(ml,[{key:\"render\",value:function render(){var t=this._renderNode({intoFragment:!0});return this._isRendered=!0,t;}},{key:\"apply\",value:function apply(t){return this._revertData={children:[],bindings:[],attributes:{}},this._renderNode({node:t,isApplying:!0,revertData:this._revertData}),t;}},{key:\"revert\",value:function revert(t){if(!this._revertData)throw new Gn.b(\"ui-template-revert-not-applied: Attempting to revert a template which has not been applied yet.\");this._revertTemplateFromNode(t,this._revertData);}},{key:\"getViews\",value:/*#__PURE__*/_regeneratorRuntime().mark(function getViews(){return _regeneratorRuntime().wrap(function getViews$(_context36){while(1)switch(_context36.prev=_context36.next){case 0:return _context36.delegateYield(/*#__PURE__*/_regeneratorRuntime().mark(function t(e){var _iterator237,_step237,_n166;return _regeneratorRuntime().wrap(function t$(_context35){while(1)switch(_context35.prev=_context35.next){case 0:if(!e.children){_context35.next=24;break;}_iterator237=_createForOfIteratorHelper(e.children);_context35.prev=2;_iterator237.s();case 4:if((_step237=_iterator237.n()).done){_context35.next=16;break;}_n166=_step237.value;if(!Ml(_n166)){_context35.next=11;break;}_context35.next=9;return _n166;case 9:_context35.next=14;break;case 11:_context35.t0=El(_n166);if(!_context35.t0){_context35.next=14;break;}return _context35.delegateYield(t(_n166),\"t1\",14);case 14:_context35.next=4;break;case 16:_context35.next=21;break;case 18:_context35.prev=18;_context35.t2=_context35[\"catch\"](2);_iterator237.e(_context35.t2);case 21:_context35.prev=21;_iterator237.f();return _context35.finish(21);case 24:case\"end\":return _context35.stop();}},t,null,[[2,18,21,24]]);})(this),\"t0\",1);case 1:case\"end\":return _context36.stop();}},getViews,this);})},{key:\"_renderNode\",value:function _renderNode(t){var e;if(e=t.node?this.tag&&this.text:this.tag?this.text:!this.text)throw new Gn.b('ui-template-wrong-syntax: Node definition must have either \"tag\" or \"text\" when rendering a new Node.');return this.text?this._renderText(t):this._renderElement(t);}},{key:\"_renderElement\",value:function _renderElement(t){var e=t.node;return e||(e=t.node=document.createElementNS(this.ns||fl,this.tag)),this._renderAttributes(t),this._renderElementChildren(t),this._setUpListeners(t),e;}},{key:\"_renderText\",value:function _renderText(t){var e=t.node;return e?t.revertData.text=e.textContent:e=t.node=document.createTextNode(\"\"),wl(this.text)?this._bindToObservable({schema:this.text,updater:function(t){return{set:function set(e){t.textContent=e;},remove:function remove(){t.textContent=\"\";}};}(e),data:t}):e.textContent=this.text.join(\"\"),e;}},{key:\"_renderAttributes\",value:function _renderAttributes(t){var e,n,i,o;if(!this.attributes)return;var r=t.node,s=t.revertData;for(e in this.attributes)if(i=r.getAttribute(e),n=this.attributes[e],s&&(s.attributes[e]=i),o=z(n[0])&&n[0].ns?n[0].ns:null,wl(n)){var _a10=o?n[0].value:n;s&&Il(e)&&_a10.unshift(i),this._bindToObservable({schema:_a10,updater:kl(r,e,o),data:t});}else\"style\"==e&&\"string\"!=typeof n[0]?this._renderStyleAttribute(n[0],t):(s&&i&&Il(e)&&n.unshift(i),Pl(n=n.map(function(t){return t&&t.value||t;}).reduce(function(t,e){return t.concat(e);},[]).reduce(Cl,\"\"))||r.setAttributeNS(o,e,n));}},{key:\"_renderStyleAttribute\",value:function _renderStyleAttribute(t,e){var n=e.node;for(var _i124 in t){var _o55=t[_i124];wl(_o55)?this._bindToObservable({schema:[_o55],updater:vl(n,_i124),data:e}):n.style[_i124]=_o55;}}},{key:\"_renderElementChildren\",value:function _renderElementChildren(t){var e=t.node,n=t.intoFragment?document.createDocumentFragment():e,i=t.isApplying;var o=0;var _iterator238=_createForOfIteratorHelper(this.children),_step238;try{for(_iterator238.s();!(_step238=_iterator238.n()).done;){var _r24=_step238.value;if(Sl(_r24)){if(!i){_r24.setParent(e);var _iterator239=_createForOfIteratorHelper(_r24),_step239;try{for(_iterator239.s();!(_step239=_iterator239.n()).done;){var _t201=_step239.value;n.appendChild(_t201.element);}}catch(err){_iterator239.e(err);}finally{_iterator239.f();}}}else if(Ml(_r24))i||(_r24.isRendered||_r24.render(),n.appendChild(_r24.element));else if(Zo(_r24))n.appendChild(_r24);else if(i){var _e175={children:[],bindings:[],attributes:{}};t.revertData.children.push(_e175),_r24._renderNode({node:n.childNodes[o++],isApplying:!0,revertData:_e175});}else n.appendChild(_r24.render());}}catch(err){_iterator238.e(err);}finally{_iterator238.f();}t.intoFragment&&e.appendChild(n);}},{key:\"_setUpListeners\",value:function _setUpListeners(t){var _this84=this;if(this.eventListeners){var _loop4=function _loop4(_e176){var n=_this84.eventListeners[_e176].map(function(n){var _e176$split=_e176.split(\"@\"),_e176$split2=_slicedToArray(_e176$split,2),i=_e176$split2[0],o=_e176$split2[1];return n.activateDomEventListener(i,o,t);});t.revertData&&t.revertData.bindings.push(n);};for(var _e176 in this.eventListeners){_loop4(_e176);}}}},{key:\"_bindToObservable\",value:function _bindToObservable(_ref14){var t=_ref14.schema,e=_ref14.updater,n=_ref14.data;var i=n.revertData;_l(t,e,n);var o=t.filter(function(t){return!Pl(t);}).filter(function(t){return t.observable;}).map(function(i){return i.activateAttributeListener(t,e,n);});i&&i.bindings.push(o);}},{key:\"_revertTemplateFromNode\",value:function _revertTemplateFromNode(t,e){var _iterator240=_createForOfIteratorHelper(e.bindings),_step240;try{for(_iterator240.s();!(_step240=_iterator240.n()).done;){var _t202=_step240.value;var _iterator241=_createForOfIteratorHelper(_t202),_step241;try{for(_iterator241.s();!(_step241=_iterator241.n()).done;){var _e177=_step241.value;_e177();}}catch(err){_iterator241.e(err);}finally{_iterator241.f();}}}catch(err){_iterator240.e(err);}finally{_iterator240.f();}if(e.text)t.textContent=e.text;else{for(var _n167 in e.attributes){var _i125=e.attributes[_n167];null===_i125?t.removeAttribute(_n167):t.setAttribute(_n167,_i125);}for(var _n168=0;_n168(\\s+)<\\/span>/g,function(t,e){return 1==e.length?\" \":e;});}(i.getData(\"text/html\")):i.getData(\"text/plain\")&&(o=function(t){return(t=t.replace(//g,\">\").replace(/\\n\\n/g,\"
\").replace(/\\n/g,\"
\").replace(/^\\s/,\" \").replace(/\\s$/,\" \").replace(/\\s\\s/g,\" \")).indexOf(\"
\")>-1&&(t=\"
\".concat(t,\"
\")),t;}(i.getData(\"text/plain\"))),o=_this107._htmlDataProcessor.toView(o),_this107.fire(\"inputTransformation\",{content:o,dataTransfer:i}),n.scrollToTheSelection();},{priority:\"low\"}),this.listenTo(this,\"inputTransformation\",function(t,e){if(!e.content.isEmpty){var _t204=_this107.editor.data,_n172=_this107.editor.model,_i129=_t204.toModel(e.content,\"$clipboardHolder\");if(0==_i129.childCount)return;_n172.insertContent(_i129);}},{priority:\"low\"}),this.listenTo(i,\"copy\",o,{priority:\"low\"}),this.listenTo(i,\"cut\",function(e,n){t.isReadOnly?n.preventDefault():o(e,n);},{priority:\"low\"}),this.listenTo(i,\"clipboardOutput\",function(n,i){i.content.isEmpty||(i.dataTransfer.setData(\"text/html\",_this107._htmlDataProcessor.toData(i.content)),i.dataTransfer.setData(\"text/plain\",function t(e){var n=\"\";if(e.is(\"text\")||e.is(\"textProxy\"))n=e.data;else if(e.is(\"img\")&&e.hasAttribute(\"alt\"))n=e.getAttribute(\"alt\");else{var _i130=null;var _iterator248=_createForOfIteratorHelper(e.getChildren()),_step248;try{for(_iterator248.s();!(_step248=_iterator248.n()).done;){var _o58=_step248.value;var _e185=t(_o58);_i130&&(_i130.is(\"containerElement\")||_o58.is(\"containerElement\"))&&(Jl.includes(_i130.name)||Jl.includes(_o58.name)?n+=\"\\n\":n+=\"\\n\\n\"),n+=_e185,_i130=_o58;}}catch(err){_iterator248.e(err);}finally{_iterator248.f();}}return n;}(i.content))),\"cut\"==i.method&&t.model.deleteContent(e.selection);},{priority:\"low\"});}}],[{key:\"pluginName\",get:function get(){return\"Clipboard\";}}]);return Kl;}($l);var Zl=/*#__PURE__*/function(){function Zl(t){var _this108=this;_classCallCheck(this,Zl);this.editor=t,this.set(\"value\",void 0),this.set(\"isEnabled\",!1),this.decorate(\"execute\"),this.listenTo(this.editor.model.document,\"change\",function(){_this108.refresh();}),this.on(\"execute\",function(t){_this108.isEnabled||t.stop();},{priority:\"high\"}),this.listenTo(t,\"change:isReadOnly\",function(t,e,n){n?(_this108.on(\"set:isEnabled\",Xl,{priority:\"highest\"}),_this108.isEnabled=!1):(_this108.off(\"set:isEnabled\",Xl),_this108.refresh());});}_createClass(Zl,[{key:\"refresh\",value:function refresh(){this.isEnabled=!0;}},{key:\"execute\",value:function execute(){}},{key:\"destroy\",value:function destroy(){this.stopListening();}}]);return Zl;}();function Xl(t){t[\"return\"]=!1,t.stop();}ci(Zl,Fi);var td=/*#__PURE__*/function(_Zl){_inherits(td,_Zl);var _super51=_createSuper(td);function td(){_classCallCheck(this,td);return _super51.apply(this,arguments);}_createClass(td,[{key:\"execute\",value:function execute(){var _this109=this;var t=this.editor.model,e=t.document;t.change(function(n){!function(t,e,n,i){var o=n.isCollapsed,r=n.getFirstRange(),s=r.start.parent,a=r.end.parent;if(i.isLimit(s)||i.isLimit(a))return void(o||s!=a||t.deleteContent(n));if(o)ed(e,r.start);else{var _i131=!(r.start.isAtStart&&r.end.isAtEnd),_o59=s==a;t.deleteContent(n,{leaveUnmerged:_i131}),_i131&&(_o59?ed(e,n.focus):e.setSelection(a,0));}}(_this109.editor.model,n,e.selection,t.schema),_this109.fire(\"afterExecute\",{writer:n});});}}]);return td;}(Zl);function ed(t,e){t.split(e),t.setSelection(e.parent.nextSibling,0);}var nd=/*#__PURE__*/function(_hr5){_inherits(nd,_hr5);var _super52=_createSuper(nd);function nd(t){var _this110;_classCallCheck(this,nd);_this110=_super52.call(this,t);var e=_this110.document;e.on(\"keydown\",function(t,n){if(_this110.isEnabled&&n.keyCode==bo.enter){var _i132;e.once(\"enter\",function(t){return _i132=t;},{priority:\"highest\"}),e.fire(\"enter\",new Xr(e,n.domEvent,{isSoft:n.shiftKey})),_i132&&_i132.stop.called&&t.stop();}});return _this110;}_createClass(nd,[{key:\"observe\",value:function observe(){}}]);return nd;}(hr);var id=/*#__PURE__*/function(_$l2){_inherits(id,_$l2);var _super53=_createSuper(id);function id(){_classCallCheck(this,id);return _super53.apply(this,arguments);}_createClass(id,[{key:\"init\",value:function init(){var t=this.editor,e=t.editing.view,n=e.document;e.addObserver(nd),t.commands.add(\"enter\",new td(t)),this.listenTo(n,\"enter\",function(n,i){i.preventDefault(),i.isSoft||(t.execute(\"enter\"),e.scrollToTheSelection());},{priority:\"low\"});}}],[{key:\"pluginName\",get:function get(){return\"Enter\";}}]);return id;}($l);var od=/*#__PURE__*/function(_Zl2){_inherits(od,_Zl2);var _super54=_createSuper(od);function od(){_classCallCheck(this,od);return _super54.apply(this,arguments);}_createClass(od,[{key:\"execute\",value:function execute(){var _this111=this;var t=this.editor.model,e=t.document;t.change(function(n){!function(t,e,n){var i=n.isCollapsed,o=n.getFirstRange(),r=o.start.parent,s=o.end.parent,a=r==s;if(i)rd(e,o.end);else{var _i133=!(o.start.isAtStart&&o.end.isAtEnd);t.deleteContent(n,{leaveUnmerged:_i133}),a?rd(e,n.focus):_i133&&e.setSelection(s,0);}}(t,n,e.selection),_this111.fire(\"afterExecute\",{writer:n});});}},{key:\"refresh\",value:function refresh(){var t=this.editor.model,e=t.document;this.isEnabled=function(t,e){if(e.rangeCount>1)return!1;var n=e.anchor;if(!n||!t.checkChild(n,\"softBreak\"))return!1;var i=e.getFirstRange(),o=i.start.parent,r=i.end.parent;if((sd(o,t)||sd(r,t))&&o!==r)return!1;return!0;}(t.schema,e.selection);}}]);return od;}(Zl);function rd(t,e){var n=t.createElement(\"softBreak\");t.insert(n,e),t.setSelection(n,\"after\");}function sd(t,e){return!t.is(\"rootElement\")&&(e.isLimit(t)||sd(t.parent,e));}var ad=/*#__PURE__*/function(_$l3){_inherits(ad,_$l3);var _super55=_createSuper(ad);function ad(){_classCallCheck(this,ad);return _super55.apply(this,arguments);}_createClass(ad,[{key:\"init\",value:function init(){var t=this.editor,e=t.model.schema,n=t.conversion,i=t.editing.view,o=i.document;e.register(\"softBreak\",{allowWhere:\"$text\",isInline:!0}),n[\"for\"](\"upcast\").elementToElement({model:\"softBreak\",view:\"br\"}),n[\"for\"](\"downcast\").elementToElement({model:\"softBreak\",view:function view(t,e){return e.createEmptyElement(\"br\");}}),i.addObserver(nd),t.commands.add(\"shiftEnter\",new od(t)),this.listenTo(o,\"enter\",function(e,n){n.preventDefault(),n.isSoft&&(t.execute(\"shiftEnter\"),i.scrollToTheSelection());},{priority:\"low\"});}}],[{key:\"pluginName\",get:function get(){return\"ShiftEnter\";}}]);return ad;}($l);var cd=/*#__PURE__*/function(){function cd(t){var _this112=this;var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:20;_classCallCheck(this,cd);this.model=t,this.size=0,this.limit=e,this.isLocked=!1,this._changeCallback=function(t,e){\"transparent\"!=e.type&&e!==_this112._batch&&_this112._reset(!0);},this._selectionChangeCallback=function(){_this112._reset();},this.model.document.on(\"change\",this._changeCallback),this.model.document.selection.on(\"change:range\",this._selectionChangeCallback),this.model.document.selection.on(\"change:attribute\",this._selectionChangeCallback);}_createClass(cd,[{key:\"batch\",get:function get(){return this._batch||(this._batch=this.model.createBatch()),this._batch;}},{key:\"input\",value:function input(t){this.size+=t,this.size>=this.limit&&this._reset(!0);}},{key:\"lock\",value:function lock(){this.isLocked=!0;}},{key:\"unlock\",value:function unlock(){this.isLocked=!1;}},{key:\"destroy\",value:function destroy(){this.model.document.off(\"change\",this._changeCallback),this.model.document.selection.off(\"change:range\",this._selectionChangeCallback),this.model.document.selection.off(\"change:attribute\",this._selectionChangeCallback);}},{key:\"_reset\",value:function _reset(t){this.isLocked&&!t||(this._batch=null,this.size=0);}}]);return cd;}();var ld=/*#__PURE__*/function(_Zl3){_inherits(ld,_Zl3);var _super56=_createSuper(ld);function ld(t,e){var _this113;_classCallCheck(this,ld);_this113=_super56.call(this,t),_this113._buffer=new cd(t.model,e);return _this113;}_createClass(ld,[{key:\"buffer\",get:function get(){return this._buffer;}},{key:\"destroy\",value:function destroy(){_get(_getPrototypeOf(ld.prototype),\"destroy\",this).call(this),this._buffer.destroy();}},{key:\"execute\",value:function execute(){var _this114=this;var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var e=this.editor.model,n=e.document,i=t.text||\"\",o=i.length,r=t.range||n.selection.getFirstRange(),s=t.resultRange;e.enqueueChange(this._buffer.batch,function(t){var a=r.isCollapsed;_this114._buffer.lock(),a||e.deleteContent(e.createSelection(r)),i&&t.insertText(i,n.selection.getAttributes(),r.start),s?t.setSelection(s):a&&t.setSelection(r.start.getShiftedBy(o)),_this114._buffer.unlock(),_this114._buffer.input(o);});}}]);return ld;}(Zl);function dd(t){var e=null;var n=t.model,i=t.editing.view,o=t.commands.get(\"input\");function r(){var t=o.buffer;t.lock(),n.enqueueChange(t.batch,function(){n.deleteContent(n.document.selection);}),t.unlock();}i.document.on(\"keydown\",function(t,s){return function(t){var s=n.document,a=i.document.isComposing,c=e&&e.isEqual(s.selection);if(e=null,!o.isEnabled)return;if(function(t){if(t.ctrlKey)return!0;return ud.includes(t.keyCode);}(t)||s.selection.isCollapsed)return;if(a&&229===t.keyCode)return;if(!a&&229===t.keyCode&&c)return;r();}(s);},{priority:\"lowest\"}),i.document.on(\"compositionstart\",function(){var t=n.document,e=1!==t.selection.rangeCount||t.selection.getFirstRange().isFlat;if(t.selection.isCollapsed||e)return;r();},{priority:\"lowest\"}),i.document.on(\"compositionend\",function(){e=n.createSelection(n.document.selection);},{priority:\"lowest\"});}var ud=[wo(\"arrowUp\"),wo(\"arrowRight\"),wo(\"arrowDown\"),wo(\"arrowLeft\"),9,16,17,18,19,20,27,33,34,35,36,45,91,93,144,145,173,174,175,176,177,178,179,255];for(var _t205=112;_t205<=135;_t205++)ud.push(_t205);function hd(t){if(0==t.length)return!1;var _iterator249=_createForOfIteratorHelper(t),_step249;try{for(_iterator249.s();!(_step249=_iterator249.n()).done;){var _e186=_step249.value;if(\"children\"===_e186.type&&!fd(_e186))return!0;}}catch(err){_iterator249.e(err);}finally{_iterator249.f();}return!1;}function fd(t){if(t.newChildren.length-t.oldChildren.length!=1)return;var e=function(t,e){var n=[];var i,o=0;return t.forEach(function(t){\"equal\"==t?(r(),o++):\"insert\"==t?(s(\"insert\")?i.values.push(e[o]):(r(),i={type:\"insert\",index:o,values:[e[o]]}),o++):s(\"delete\")?i.howMany++:(r(),i={type:\"delete\",index:o,howMany:1});}),r(),n;function r(){i&&(n.push(i),i=null);}function s(t){return i&&i.type==t;}}(Qo(t.oldChildren,t.newChildren,md),t.newChildren);if(e.length>1)return;var n=e[0];return n.values[0]&&n.values[0].is(\"text\")?n:void 0;}function md(t,e){return t&&t.is(\"text\")&&e&&e.is(\"text\")?t.data===e.data:t===e;}var pd=/*#__PURE__*/function(){function pd(t){_classCallCheck(this,pd);this.editor=t,this.editing=this.editor.editing;}_createClass(pd,[{key:\"handle\",value:function handle(t,e){if(hd(t))this._handleContainerChildrenMutations(t,e);else{var _iterator250=_createForOfIteratorHelper(t),_step250;try{for(_iterator250.s();!(_step250=_iterator250.n()).done;){var _n173=_step250.value;this._handleTextMutation(_n173,e),this._handleTextNodeInsertion(_n173);}}catch(err){_iterator250.e(err);}finally{_iterator250.f();}}}},{key:\"_handleContainerChildrenMutations\",value:function _handleContainerChildrenMutations(t,e){var n=function(t){var e=t.map(function(t){return t.node;}).reduce(function(t,e){return t.getCommonAncestor(e,{includeSelf:!0});});if(!e)return;return e.getAncestors({includeSelf:!0,parentFirst:!0}).find(function(t){return t.is(\"containerElement\")||t.is(\"rootElement\");});}(t);if(!n)return;var i=this.editor.editing.view.domConverter.mapViewToDom(n),o=new rr(),r=this.editor.data.toModel(o.domToView(i)).getChild(0),s=this.editor.editing.mapper.toModelElement(n);if(!s)return;var a=Array.from(r.getChildren()),c=Array.from(s.getChildren()),l=a[a.length-1],d=c[c.length-1];l&&l.is(\"softBreak\")&&d&&!d.is(\"softBreak\")&&a.pop();var u=this.editor.model.schema;if(!gd(a,u)||!gd(c,u))return;var h=a.map(function(t){return t.is(\"text\")?t.data:\"@\";}).join(\"\").replace(/\\u00A0/g,\" \"),f=c.map(function(t){return t.is(\"text\")?t.data:\"@\";}).join(\"\").replace(/\\u00A0/g,\" \");if(f===h)return;var m=Qo(f,h),_bd=bd(m),p=_bd.firstChangeAt,g=_bd.insertions,b=_bd.deletions;var w=null;e&&(w=this.editing.mapper.toModelRange(e.getFirstRange()));var _=h.substr(p,g),k=this.editor.model.createRange(this.editor.model.createPositionAt(s,p),this.editor.model.createPositionAt(s,p+b));this.editor.execute(\"input\",{text:_,range:k,resultRange:w});}},{key:\"_handleTextMutation\",value:function _handleTextMutation(t,e){if(\"text\"!=t.type)return;var n=t.newText.replace(/\\u00A0/g,\" \"),i=t.oldText.replace(/\\u00A0/g,\" \");if(i===n)return;var o=Qo(i,n),_bd2=bd(o),r=_bd2.firstChangeAt,s=_bd2.insertions,a=_bd2.deletions;var c=null;e&&(c=this.editing.mapper.toModelRange(e.getFirstRange()));var l=this.editing.view.createPositionAt(t.node,r),d=this.editing.mapper.toModelPosition(l),u=this.editor.model.createRange(d,d.getShiftedBy(a)),h=n.substr(r,s);this.editor.execute(\"input\",{text:h,range:u,resultRange:c});}},{key:\"_handleTextNodeInsertion\",value:function _handleTextNodeInsertion(t){if(\"children\"!=t.type)return;var e=fd(t),n=this.editing.view.createPositionAt(t.node,e.index),i=this.editing.mapper.toModelPosition(n),o=e.values[0].data;this.editor.execute(\"input\",{text:o.replace(/\\u00A0/g,\" \"),range:this.editor.model.createRange(i)});}}]);return pd;}();function gd(t,e){return t.every(function(t){return e.isInline(t);});}function bd(t){var e=null,n=null;for(var _i134=0;_i1340&&arguments[0]!==undefined?arguments[0]:{};var e=this.editor.model,n=e.document;e.enqueueChange(this._buffer.batch,function(i){_this116._buffer.lock();var o=i.createSelection(n.selection),r=o.isCollapsed;if(o.isCollapsed&&e.modifySelection(o,{direction:_this116.direction,unit:t.unit}),_this116._shouldEntireContentBeReplacedWithParagraph(t.sequence||1))return void _this116._replaceEntireContentWithParagraph(i);if(o.isCollapsed)return;var s=0;o.getFirstRange().getMinimalFlatRanges().forEach(function(t){s+=eo(t.getWalker({singleCharacters:!0,ignoreElementEnd:!0,shallow:!0}));}),e.deleteContent(o,{doNotResetEntireContent:r}),_this116._buffer.input(s),i.setSelection(o),_this116._buffer.unlock();});}},{key:\"_shouldEntireContentBeReplacedWithParagraph\",value:function _shouldEntireContentBeReplacedWithParagraph(t){if(t>1)return!1;var e=this.editor.model,n=e.document.selection,i=e.schema.getLimitElement(n);if(!(n.isCollapsed&&n.containsEntireContent(i)))return!1;if(!e.schema.checkChild(i,\"paragraph\"))return!1;var o=i.getChild(0);return!o||\"paragraph\"!==o.name;}},{key:\"_replaceEntireContentWithParagraph\",value:function _replaceEntireContentWithParagraph(t){var e=this.editor.model,n=e.document.selection,i=e.schema.getLimitElement(n),o=t.createElement(\"paragraph\");t.remove(t.createRangeIn(i)),t.insert(o,i),t.setSelection(o,0);}}]);return _d;}(Zl);var kd=/*#__PURE__*/function(_hr6){_inherits(kd,_hr6);var _super59=_createSuper(kd);function kd(t){var _this117;_classCallCheck(this,kd);_this117=_super59.call(this,t);var e=t.document;var n=0;e.on(\"keyup\",function(t,e){e.keyCode!=bo[\"delete\"]&&e.keyCode!=bo.backspace||(n=0);}),e.on(\"keydown\",function(t,i){var o={};if(i.keyCode==bo[\"delete\"])o.direction=\"forward\",o.unit=\"character\";else{if(i.keyCode!=bo.backspace)return;o.direction=\"backward\",o.unit=\"codePoint\";}var r=mo.isMac?i.altKey:i.ctrlKey;var s;o.unit=r?\"word\":o.unit,o.sequence=++n,e.once(\"delete\",function(t){return s=t;},{priority:\"highest\"}),e.fire(\"delete\",new Xr(e,i.domEvent,o)),s&&s.stop.called&&t.stop();});return _this117;}_createClass(kd,[{key:\"observe\",value:function observe(){}}]);return kd;}(hr);function vd(t){var e=t.model,n=t.editing.view,i=200;var o=null,r=e.createSelection(e.document.selection),s=Date.now();e.document.selection.on(\"change\",function(t){var n=e.createSelection(t.source);r.isEqual(n)||(o=r,r=n,s=Date.now());}),n.document.on(\"mutations\",function(n,a){hd(a)&&function(t){var _iterator251=_createForOfIteratorHelper(t),_step251;try{for(_iterator251.s();!(_step251=_iterator251.n()).done;){var _e187=_step251.value;if(\"children\"!==_e187.type)continue;var _t206=_e187.oldChildren,_n174=_e187.newChildren;if(!yd(_t206))continue;var _i135=Qo(_t206,_n174),_o60=_i135.some(function(t){return\"delete\"===t;}),_r26=_i135.some(function(t){return\"insert\"===t;});if(_o60&&!_r26)return!0;}}catch(err){_iterator251.e(err);}finally{_iterator251.f();}return!1;}(a)&&(!function(){Date.now()-s2&&arguments[2]!==undefined?arguments[2]:{};var i=function(t,e){var n=Td.get(t);return n&&n.has(e)?n.get(e):Md;}(t.constructor,e.constructor);try{return i(t=t.clone(),e,n);}catch(i){throw bs.a.error(\"Error during operation transformation!\",i.message),bs.a.error(\"Transformed operation\",t),bs.a.error(\"Operation transformed by\",e),bs.a.error(\"context.aIsStrong\",n.aIsStrong),bs.a.error(\"context.aWasUndone\",n.aWasUndone),bs.a.error(\"context.bWasUndone\",n.bWasUndone),bs.a.error(\"context.abRelation\",n.abRelation),bs.a.error(\"context.baRelation\",n.baRelation),i;}}function Sd(t,e,n){if(t=t.slice(),e=e.slice(),0==t.length||0==e.length)return{operationsA:t,operationsB:e};var i=new WeakMap();var _iterator252=_createForOfIteratorHelper(t),_step252;try{for(_iterator252.s();!(_step252=_iterator252.n()).done;){var _e189=_step252.value;i.set(_e189,0);}}catch(err){_iterator252.e(err);}finally{_iterator252.f();}var o={nextBaseVersionA:t[t.length-1].baseVersion+1,nextBaseVersionB:e[e.length-1].baseVersion+1,originalOperationsACount:t.length,originalOperationsBCount:e.length},r=new Id(n.document,n.useRelations,n.forceWeakRemove);r.setOriginalOperations(t),r.setOriginalOperations(e);var s=0;for(;s2&&arguments[2]!==undefined?arguments[2]:!1;_classCallCheck(this,Id);this._history=t.history,this._useRelations=e,this._forceWeakRemove=!!n,this._originalOperations=new Map(),this._relations=new Map();}_createClass(Id,[{key:\"setOriginalOperations\",value:function setOriginalOperations(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;var n=e?this._originalOperations.get(e):null;var _iterator254=_createForOfIteratorHelper(t),_step254;try{for(_iterator254.s();!(_step254=_iterator254.n()).done;){var _e190=_step254.value;this._originalOperations.set(_e190,n||_e190);}}catch(err){_iterator254.e(err);}finally{_iterator254.f();}}},{key:\"updateRelation\",value:function updateRelation(t,e){switch(t.constructor){case ac:switch(e.constructor){case hc:t.targetPosition.isEqual(e.sourcePosition)||e.movedRange.containsPosition(t.targetPosition)?this._setRelation(t,e,\"insertAtSource\"):t.targetPosition.isEqual(e.deletionPosition)?this._setRelation(t,e,\"insertBetween\"):t.targetPosition.isAfter(e.sourcePosition)&&this._setRelation(t,e,\"moveTargetAfter\");break;case ac:t.targetPosition.isEqual(e.sourcePosition)||t.targetPosition.isBefore(e.sourcePosition)?this._setRelation(t,e,\"insertBefore\"):this._setRelation(t,e,\"insertAfter\");}break;case fc:switch(e.constructor){case hc:t.splitPosition.isBefore(e.sourcePosition)&&this._setRelation(t,e,\"splitBefore\");break;case ac:(t.splitPosition.isEqual(e.sourcePosition)||t.splitPosition.isBefore(e.sourcePosition))&&this._setRelation(t,e,\"splitBefore\");}break;case hc:switch(e.constructor){case hc:t.targetPosition.isEqual(e.sourcePosition)||this._setRelation(t,e,\"mergeTargetNotMoved\"),t.sourcePosition.isEqual(e.sourcePosition)&&this._setRelation(t,e,\"mergeSameElement\");break;case fc:t.sourcePosition.isEqual(e.splitPosition)&&this._setRelation(t,e,\"splitAtSource\");}break;case lc:{var _n177=t.newRange;if(!_n177)return;switch(e.constructor){case ac:{var _i137=Gs._createFromPositionAndShift(e.sourcePosition,e.howMany),_o62=_i137.containsPosition(_n177.start)||_i137.start.isEqual(_n177.start),_r27=_i137.containsPosition(_n177.end)||_i137.end.isEqual(_n177.end);!_o62&&!_r27||_i137.containsRange(_n177)||this._setRelation(t,e,{side:_o62?\"left\":\"right\",path:_o62?_n177.start.path.slice():_n177.end.path.slice()});break;}case hc:{var _i138=_n177.start.isEqual(e.targetPosition),_o63=_n177.start.isEqual(e.deletionPosition),_r28=_n177.end.isEqual(e.deletionPosition),_s19=_n177.end.isEqual(e.sourcePosition);(_i138||_o63||_r28||_s19)&&this._setRelation(t,e,{wasInLeftElement:_i138,wasStartBeforeMergedElement:_o63,wasEndBeforeMergedElement:_r28,wasInRightElement:_s19});break;}}break;}}}},{key:\"getContext\",value:function getContext(t,e,n){return{aIsStrong:n,aWasUndone:this._wasUndone(t),bWasUndone:this._wasUndone(e),abRelation:this._useRelations?this._getRelation(t,e):null,baRelation:this._useRelations?this._getRelation(e,t):null,forceWeakRemove:this._forceWeakRemove};}},{key:\"_wasUndone\",value:function _wasUndone(t){var e=this._originalOperations.get(t);return e.wasUndone||this._history.isUndoneOperation(e);}},{key:\"_getRelation\",value:function _getRelation(t,e){var n=this._originalOperations.get(e),i=this._history.getUndoneOperation(n);if(!i)return null;var o=this._originalOperations.get(t),r=this._relations.get(o);return r&&r.get(i)||null;}},{key:\"_setRelation\",value:function _setRelation(t,e,n){var i=this._originalOperations.get(t),o=this._originalOperations.get(e);var r=this._relations.get(i);r||(r=new Map(),this._relations.set(i,r)),r.set(o,n);}}]);return Id;}();function Nd(t,e){var _iterator255=_createForOfIteratorHelper(t),_step255;try{for(_iterator255.s();!(_step255=_iterator255.n()).done;){var _n178=_step255.value;_n178.baseVersion=e++;}}catch(err){_iterator255.e(err);}finally{_iterator255.f();}}function Od(t,e){for(var _n179=0;_n1790)?(t.sourcePosition=e.moveTargetPosition.clone(),t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e),[t]):(t.sourcePosition.hasSameParentAs(e.splitPosition)&&(t.howMany=e.splitPosition.offset),t.sourcePosition=t.sourcePosition._getTransformedBySplitOperation(e),t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e),[t]);}),Pd(ac,cc,function(t,e){var n=Gs._createFromPositionAndShift(t.sourcePosition,t.howMany)._getTransformedByInsertOperation(e,!1)[0];return t.sourcePosition=n.start,t.howMany=n.end.offset-n.start.offset,t.targetPosition.isEqual(e.position)||(t.targetPosition=t.targetPosition._getTransformedByInsertOperation(e)),[t];}),Pd(ac,ac,function(t,e,n){var i=Gs._createFromPositionAndShift(t.sourcePosition,t.howMany),o=Gs._createFromPositionAndShift(e.sourcePosition,e.howMany);var r,s=n.aIsStrong,a=!n.aIsStrong;if(\"insertBefore\"==n.abRelation||\"insertAfter\"==n.baRelation?a=!0:\"insertAfter\"!=n.abRelation&&\"insertBefore\"!=n.baRelation||(a=!1),r=t.targetPosition.isEqual(e.targetPosition)&&a?t.targetPosition._getTransformedByDeletion(e.sourcePosition,e.howMany):t.targetPosition._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),Dd(t,e)&&Dd(e,t))return[e.getReversed()];if(i.containsPosition(e.targetPosition)&&i.containsRange(o,!0))return i.start=i.start._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),i.end=i.end._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),Ld([i],r);if(o.containsPosition(t.targetPosition)&&o.containsRange(i,!0))return i.start=i.start._getCombined(e.sourcePosition,e.getMovedRangeStart()),i.end=i.end._getCombined(e.sourcePosition,e.getMovedRangeStart()),Ld([i],r);var c=li(t.sourcePosition.getParentPath(),e.sourcePosition.getParentPath());if(\"prefix\"==c||\"extension\"==c)return i.start=i.start._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),i.end=i.end._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),Ld([i],r);\"remove\"!=t.type||\"remove\"==e.type||n.aWasUndone||n.forceWeakRemove?\"remove\"==t.type||\"remove\"!=e.type||n.bWasUndone||n.forceWeakRemove||(s=!1):s=!0;var l=[],d=i.getDifference(o);var _iterator257=_createForOfIteratorHelper(d),_step257;try{for(_iterator257.s();!(_step257=_iterator257.n()).done;){var _t210=_step257.value;_t210.start=_t210.start._getTransformedByDeletion(e.sourcePosition,e.howMany),_t210.end=_t210.end._getTransformedByDeletion(e.sourcePosition,e.howMany);var _n185=\"same\"==li(_t210.start.getParentPath(),e.getMovedRangeStart().getParentPath()),_i149=_t210._getTransformedByInsertion(e.getMovedRangeStart(),e.howMany,_n185);l.push.apply(l,_toConsumableArray(_i149));}}catch(err){_iterator257.e(err);}finally{_iterator257.f();}var u=i.getIntersection(o);return null!==u&&s&&(u.start=u.start._getCombined(e.sourcePosition,e.getMovedRangeStart()),u.end=u.end._getCombined(e.sourcePosition,e.getMovedRangeStart()),0===l.length?l.push(u):1==l.length?o.start.isBefore(i.start)||o.start.isEqual(i.start)?l.unshift(u):l.push(u):l.splice(1,0,u)),0===l.length?[new Cd(t.baseVersion)]:Ld(l,r);}),Pd(ac,fc,function(t,e,n){var i=t.targetPosition.clone();t.targetPosition.isEqual(e.insertionPosition)&&e.graveyardPosition&&\"moveTargetAfter\"!=n.abRelation||(i=t.targetPosition._getTransformedBySplitOperation(e));var o=Gs._createFromPositionAndShift(t.sourcePosition,t.howMany);if(o.end.isEqual(e.insertionPosition))return e.graveyardPosition||t.howMany++,t.targetPosition=i,[t];if(o.start.hasSameParentAs(e.splitPosition)&&o.containsPosition(e.splitPosition)){var _t211=new Gs(e.splitPosition,o.end);return _t211=_t211._getTransformedBySplitOperation(e),Ld([new Gs(o.start,e.splitPosition),_t211],i);}t.targetPosition.isEqual(e.splitPosition)&&\"insertAtSource\"==n.abRelation&&(i=e.moveTargetPosition),t.targetPosition.isEqual(e.insertionPosition)&&\"insertBetween\"==n.abRelation&&(i=t.targetPosition);var r=[o._getTransformedBySplitOperation(e)];if(e.graveyardPosition){var _i150=o.start.isEqual(e.graveyardPosition)||o.containsPosition(e.graveyardPosition);t.howMany>1&&_i150&&!n.aWasUndone&&r.push(Gs._createFromPositionAndShift(e.insertionPosition,1));}return Ld(r,i);}),Pd(ac,hc,function(t,e,n){var i=Gs._createFromPositionAndShift(t.sourcePosition,t.howMany);if(e.deletionPosition.hasSameParentAs(t.sourcePosition)&&i.containsPosition(e.sourcePosition))if(\"remove\"!=t.type||n.forceWeakRemove){if(1==t.howMany)return n.bWasUndone?(t.sourcePosition=e.graveyardPosition.clone(),t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e),[t]):[new Cd(0)];}else if(!n.aWasUndone){var _n186=[];var _i151=e.graveyardPosition.clone(),_o68=e.targetPosition._getTransformedByMergeOperation(e);t.howMany>1&&(_n186.push(new ac(t.sourcePosition,t.howMany-1,t.targetPosition,0)),_i151=_i151._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany-1),_o68=_o68._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany-1));var _r30=e.deletionPosition._getCombined(t.sourcePosition,t.targetPosition),_s20=new ac(_i151,1,_r30,0),_a12=_s20.getMovedRangeStart().path.slice();_a12.push(0);var _c6=new $s(_s20.targetPosition.root,_a12);_o68=_o68._getTransformedByMove(_i151,_r30,1);var _l3=new ac(_o68,e.howMany,_c6,0);return _n186.push(_s20),_n186.push(_l3),_n186;}var o=Gs._createFromPositionAndShift(t.sourcePosition,t.howMany)._getTransformedByMergeOperation(e);return t.sourcePosition=o.start,t.howMany=o.end.offset-o.start.offset,t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e),[t];}),Pd(dc,cc,function(t,e){return t.position=t.position._getTransformedByInsertOperation(e),[t];}),Pd(dc,hc,function(t,e){return t.position.isEqual(e.deletionPosition)?(t.position=e.graveyardPosition.clone(),t.position.stickiness=\"toNext\",[t]):(t.position=t.position._getTransformedByMergeOperation(e),[t]);}),Pd(dc,ac,function(t,e){return t.position=t.position._getTransformedByMoveOperation(e),[t];}),Pd(dc,dc,function(t,e,n){if(t.position.isEqual(e.position)){if(!n.aIsStrong)return[new Cd(0)];t.oldName=e.newName;}return[t];}),Pd(dc,fc,function(t,e){if(\"same\"==li(t.position.path,e.splitPosition.getParentPath())&&!e.graveyardPosition){return[t,new dc(t.position.getShiftedBy(1),t.oldName,t.newName,0)];}return t.position=t.position._getTransformedBySplitOperation(e),[t];}),Pd(uc,uc,function(t,e,n){if(t.root===e.root&&t.key===e.key){if(!n.aIsStrong||t.newValue===e.newValue)return[new Cd(0)];t.oldValue=e.newValue;}return[t];}),Pd(fc,cc,function(t,e){return t.splitPosition.hasSameParentAs(e.position)&&t.splitPosition.offset0;}},{key:\"addBatch\",value:function addBatch(t){var e=this.editor.model.document.selection,n={ranges:e.hasOwnRange?Array.from(e.getRanges()):[],isBackward:e.isBackward};this._stack.push({batch:t,selection:n}),this.refresh();}},{key:\"clearStack\",value:function clearStack(){this._stack=[],this.refresh();}},{key:\"_restoreSelection\",value:function _restoreSelection(t,e,n){var i=this.editor.model,o=i.document,r=[];var _iterator258=_createForOfIteratorHelper(t),_step258;try{for(_iterator258.s();!(_step258=_iterator258.n()).done;){var _e192=_step258.value;var _t212=Vd(_e192,n).find(function(t){return t.start.root!=o.graveyard;});_t212&&r.push(_t212);}}catch(err){_iterator258.e(err);}finally{_iterator258.f();}r.length&&i.change(function(t){t.setSelection(r,{backward:e});});}},{key:\"_undo\",value:function _undo(t,e){var n=this.editor.model,i=n.document;this._createdBatches.add(e);var o=t.operations.slice().filter(function(t){return t.isDocumentOperation;});o.reverse();var _iterator259=_createForOfIteratorHelper(o),_step259;try{for(_iterator259.s();!(_step259=_iterator259.n()).done;){var _t213=_step259.value;var _o73=_t213.baseVersion+1,_r33=Array.from(i.history.getOperations(_o73)),_s21=Sd([_t213.getReversed()],_r33,{useRelations:!0,document:this.editor.model.document,padWithNoOps:!1,forceWeakRemove:!0}).operationsA;var _iterator260=_createForOfIteratorHelper(_s21),_step260;try{for(_iterator260.s();!(_step260=_iterator260.n()).done;){var _o74=_step260.value;e.addOperation(_o74),n.applyOperation(_o74),i.history.setOperationAsUndone(_t213,_o74);}}catch(err){_iterator260.e(err);}finally{_iterator260.f();}}}catch(err){_iterator259.e(err);}finally{_iterator259.f();}}}]);return jd;}(Zl);function Vd(t,e){var n=t.getTransformedByOperations(e);n.sort(function(t,e){return t.start.isBefore(e.start)?-1:1;});for(var _t214=1;_t2140&&arguments[0]!==undefined?arguments[0]:null;var e=t?this._stack.findIndex(function(e){return e.batch==t;}):this._stack.length-1,n=this._stack.splice(e,1)[0],i=this.editor.model.createBatch();this.editor.model.enqueueChange(i,function(){_this119._undo(n.batch,i);var t=_this119.editor.model.document.history.getOperations(n.batch.baseVersion);_this119._restoreSelection(n.selection.ranges,n.selection.isBackward,t),_this119.fire(\"revert\",n.batch,i);}),this.refresh();}}]);return Bd;}(jd);var zd=/*#__PURE__*/function(_jd2){_inherits(zd,_jd2);var _super65=_createSuper(zd);function zd(){_classCallCheck(this,zd);return _super65.apply(this,arguments);}_createClass(zd,[{key:\"execute\",value:function execute(){var _this120=this;var t=this._stack.pop(),e=this.editor.model.createBatch();this.editor.model.enqueueChange(e,function(){var n=t.batch.operations[t.batch.operations.length-1].baseVersion+1,i=_this120.editor.model.document.history.getOperations(n);_this120._restoreSelection(t.selection.ranges,t.selection.isBackward,i),_this120._undo(t.batch,e);}),this.refresh();}}]);return zd;}(jd);var Fd=/*#__PURE__*/function(_$l7){_inherits(Fd,_$l7);var _super66=_createSuper(Fd);function Fd(t){var _this121;_classCallCheck(this,Fd);_this121=_super66.call(this,t),_this121._batchRegistry=new WeakSet();return _this121;}_createClass(Fd,[{key:\"init\",value:function init(){var _this122=this;var t=this.editor;this._undoCommand=new Bd(t),this._redoCommand=new zd(t),t.commands.add(\"undo\",this._undoCommand),t.commands.add(\"redo\",this._redoCommand),this.listenTo(t.model,\"applyOperation\",function(t,e){var n=e[0];if(!n.isDocumentOperation)return;var i=n.batch;_this122._batchRegistry.has(i)||\"transparent\"==i.type||(_this122._redoCommand._createdBatches.has(i)?_this122._undoCommand.addBatch(i):_this122._undoCommand._createdBatches.has(i)||(_this122._undoCommand.addBatch(i),_this122._redoCommand.clearStack()),_this122._batchRegistry.add(i));},{priority:\"highest\"}),this.listenTo(this._undoCommand,\"revert\",function(t,e,n){_this122._redoCommand.addBatch(n);}),t.keystrokes.set(\"CTRL+Z\",\"undo\"),t.keystrokes.set(\"CTRL+Y\",\"redo\"),t.keystrokes.set(\"CTRL+SHIFT+Z\",\"redo\");}}]);return Fd;}($l);n(58);var Ud=/*#__PURE__*/function(_Nl7){_inherits(Ud,_Nl7);var _super67=_createSuper(Ud);function Ud(){var _this123;_classCallCheck(this,Ud);_this123=_super67.call(this);var t=_this123.bindTemplate;_this123.set(\"content\",\"\"),_this123.set(\"viewBox\",\"0 0 20 20\"),_this123.set(\"fillColor\",\"\"),_this123.setTemplate({tag:\"svg\",ns:\"http://www.w3.org/2000/svg\",attributes:{\"class\":[\"ck\",\"ck-icon\"],viewBox:t.to(\"viewBox\")}});return _this123;}_createClass(Ud,[{key:\"render\",value:function render(){var _this124=this;_get(_getPrototypeOf(Ud.prototype),\"render\",this).call(this),this._updateXMLContent(),this._colorFillPaths(),this.on(\"change:content\",function(){_this124._updateXMLContent(),_this124._colorFillPaths();}),this.on(\"change:fillColor\",function(){_this124._colorFillPaths();});}},{key:\"_updateXMLContent\",value:function _updateXMLContent(){if(this.content){var _t215=new DOMParser().parseFromString(this.content.trim(),\"image/svg+xml\").querySelector(\"svg\"),_e194=_t215.getAttribute(\"viewBox\");for(_e194&&(this.viewBox=_e194),this.element.innerHTML=\"\";_t215.childNodes.length>0;)this.element.appendChild(_t215.childNodes[0]);}}},{key:\"_colorFillPaths\",value:function _colorFillPaths(){var _this125=this;this.fillColor&&this.element.querySelectorAll(\".ck-icon__fill\").forEach(function(t){t.style.fill=_this125.fillColor;});}}]);return Ud;}(Nl);n(60);var Hd=/*#__PURE__*/function(_Nl8){_inherits(Hd,_Nl8);var _super68=_createSuper(Hd);function Hd(t){var _this126;_classCallCheck(this,Hd);_this126=_super68.call(this,t),_this126.set(\"text\",\"\"),_this126.set(\"position\",\"s\");var e=_this126.bindTemplate;_this126.setTemplate({tag:\"span\",attributes:{\"class\":[\"ck\",\"ck-tooltip\",e.to(\"position\",function(t){return\"ck-tooltip_\"+t;}),e[\"if\"](\"text\",\"ck-hidden\",function(t){return!t.trim();})]},children:[{tag:\"span\",attributes:{\"class\":[\"ck\",\"ck-tooltip__text\"]},children:[{text:e.to(\"text\")}]}]});return _this126;}return _createClass(Hd);}(Nl);n(62);var qd=/*#__PURE__*/function(_Nl9){_inherits(qd,_Nl9);var _super69=_createSuper(qd);function qd(t){var _this127;_classCallCheck(this,qd);_this127=_super69.call(this,t);var e=_this127.bindTemplate,n=Kn();_this127.set(\"class\"),_this127.set(\"labelStyle\"),_this127.set(\"icon\"),_this127.set(\"isEnabled\",!0),_this127.set(\"isOn\",!1),_this127.set(\"isVisible\",!0),_this127.set(\"keystroke\"),_this127.set(\"label\"),_this127.set(\"tabindex\",-1),_this127.set(\"tooltip\"),_this127.set(\"tooltipPosition\",\"s\"),_this127.set(\"type\",\"button\"),_this127.set(\"withText\",!1),_this127.children=_this127.createCollection(),_this127.tooltipView=_this127._createTooltipView(),_this127.labelView=_this127._createLabelView(n),_this127.iconView=new Ud(),_this127.iconView.extendTemplate({attributes:{\"class\":\"ck-button__icon\"}}),_this127.bind(\"_tooltipString\").to(_assertThisInitialized(_this127),\"tooltip\",_assertThisInitialized(_this127),\"label\",_assertThisInitialized(_this127),\"keystroke\",_this127._getTooltipString.bind(_assertThisInitialized(_this127))),_this127.setTemplate({tag:\"button\",attributes:{\"class\":[\"ck\",\"ck-button\",e.to(\"class\"),e[\"if\"](\"isEnabled\",\"ck-disabled\",function(t){return!t;}),e[\"if\"](\"isVisible\",\"ck-hidden\",function(t){return!t;}),e.to(\"isOn\",function(t){return t?\"ck-on\":\"ck-off\";}),e[\"if\"](\"withText\",\"ck-button_with-text\")],type:e.to(\"type\",function(t){return t||\"button\";}),tabindex:e.to(\"tabindex\"),\"aria-labelledby\":\"ck-editor__aria-label_\".concat(n),\"aria-disabled\":e[\"if\"](\"isEnabled\",!0,function(t){return!t;}),\"aria-pressed\":e[\"if\"](\"isOn\",!0)},children:_this127.children,on:{mousedown:e.to(function(t){t.preventDefault();}),click:e.to(function(t){_this127.isEnabled?_this127.fire(\"execute\"):t.preventDefault();})}});return _this127;}_createClass(qd,[{key:\"render\",value:function render(){_get(_getPrototypeOf(qd.prototype),\"render\",this).call(this),this.icon&&(this.iconView.bind(\"content\").to(this,\"icon\"),this.children.add(this.iconView)),this.children.add(this.tooltipView),this.children.add(this.labelView);}},{key:\"focus\",value:function focus(){this.element.focus();}},{key:\"_createTooltipView\",value:function _createTooltipView(){var t=new Hd();return t.bind(\"text\").to(this,\"_tooltipString\"),t.bind(\"position\").to(this,\"tooltipPosition\"),t;}},{key:\"_createLabelView\",value:function _createLabelView(t){var e=new Nl(),n=this.bindTemplate;return e.setTemplate({tag:\"span\",attributes:{\"class\":[\"ck\",\"ck-button__label\"],style:n.to(\"labelStyle\"),id:\"ck-editor__aria-label_\".concat(t)},children:[{text:this.bindTemplate.to(\"label\")}]}),e;}},{key:\"_getTooltipString\",value:function _getTooltipString(t,e,n){return t?\"string\"==typeof t?t:(n&&(n=function(t){return mo.isMac?ko(t).map(function(t){return go[t.toLowerCase()]||t;}).reduce(function(t,e){return t.slice(-1)in po?t+e:t+\"+\"+e;}):t;}(n)),t instanceof Function?t(e,n):\"\".concat(e).concat(n?\" (\".concat(n,\")\"):\"\")):\"\";}}]);return qd;}(Nl);var Wd=n(20),Yd=n.n(Wd),$d=n(21),Gd=n.n($d);var Qd=/*#__PURE__*/function(_$l8){_inherits(Qd,_$l8);var _super70=_createSuper(Qd);function Qd(){_classCallCheck(this,Qd);return _super70.apply(this,arguments);}_createClass(Qd,[{key:\"init\",value:function init(){var t=this.editor.t;this._addButton(\"undo\",t(\"ba\"),\"CTRL+Z\",Yd.a),this._addButton(\"redo\",t(\"bb\"),\"CTRL+Y\",Gd.a);}},{key:\"_addButton\",value:function _addButton(t,e,n,i){var _this128=this;var o=this.editor;o.ui.componentFactory.add(t,function(r){var s=o.commands.get(t),a=new qd(r);return a.set({label:e,icon:i,keystroke:n,tooltip:!0}),a.bind(\"isEnabled\").to(s,\"isEnabled\"),_this128.listenTo(a,\"execute\",function(){return o.execute(t);}),a;});}}]);return Qd;}($l);var Jd=/*#__PURE__*/function(_$l9){_inherits(Jd,_$l9);var _super71=_createSuper(Jd);function Jd(){_classCallCheck(this,Jd);return _super71.apply(this,arguments);}_createClass(Jd,null,[{key:\"requires\",get:function get(){return[Fd,Qd];}},{key:\"pluginName\",get:function get(){return\"Undo\";}}]);return Jd;}($l);var Kd=/*#__PURE__*/function(_$l10,_Symbol$iterator13){_inherits(Kd,_$l10);var _super72=_createSuper(Kd);function Kd(){_classCallCheck(this,Kd);return _super72.apply(this,arguments);}_createClass(Kd,[{key:\"init\",value:function init(){this.set(\"hasAny\",!1),this._actions=new oo({idProperty:\"_id\"}),this._actions.delegate(\"add\",\"remove\").to(this);}},{key:\"add\",value:function add(t){if(\"string\"!=typeof t)throw new Gn.b(\"pendingactions-add-invalid-message: The message must be a string.\");var e=Object.create(Fi);return e.set(\"message\",t),this._actions.add(e),this.hasAny=!0,e;}},{key:\"remove\",value:function remove(t){this._actions.remove(t),this.hasAny=!!this._actions.length;}},{key:\"first\",get:function get(){return this._actions.get(0);}},{key:_Symbol$iterator13,value:function value(){return this._actions[Symbol.iterator]();}}],[{key:\"pluginName\",get:function get(){return\"PendingActions\";}}]);return Kd;}($l,Symbol.iterator);var Zd=/*#__PURE__*/function(){function Zd(){var _this129=this;_classCallCheck(this,Zd);var t=new window.FileReader();this._reader=t,this.set(\"loaded\",0),t.onprogress=function(t){_this129.loaded=t.loaded;};}_createClass(Zd,[{key:\"error\",get:function get(){return this._reader.error;}},{key:\"read\",value:function read(t){var _this130=this;var e=this._reader;return this.total=t.size,new Promise(function(n,i){e.onload=function(){n(e.result);},e.onerror=function(){i(\"error\");},e.onabort=function(){i(\"aborted\");},_this130._reader.readAsDataURL(t);});}},{key:\"abort\",value:function abort(){this._reader.abort();}}]);return Zd;}();ci(Zd,Fi);var Xd=/*#__PURE__*/function(_$l11){_inherits(Xd,_$l11);var _super73=_createSuper(Xd);function Xd(){_classCallCheck(this,Xd);return _super73.apply(this,arguments);}_createClass(Xd,[{key:\"init\",value:function init(){var _this131=this;this.loaders=new oo(),this.loaders.on(\"add\",function(){return _this131._updatePendingAction();}),this.loaders.on(\"remove\",function(){return _this131._updatePendingAction();}),this._loadersMap=new Map(),this._pendingAction=null,this.set(\"uploaded\",0),this.set(\"uploadTotal\",null),this.bind(\"uploadedPercent\").to(this,\"uploaded\",this,\"uploadTotal\",function(t,e){return e?t/e*100:0;});}},{key:\"getLoader\",value:function getLoader(t){return this._loadersMap.get(t)||null;}},{key:\"createLoader\",value:function createLoader(t){var _this132=this;if(!this.createUploadAdapter)return bs.a.error(\"filerepository-no-upload-adapter: Upload adapter is not defined.\"),null;var e=new tu(Promise.resolve(t),this.createUploadAdapter);return this.loaders.add(e),this._loadersMap.set(t,e),t instanceof Promise&&e.file.then(function(t){_this132._loadersMap.set(t,e);}),e.file[\"catch\"](function(){}),e.on(\"change:uploaded\",function(){var t=0;var _iterator261=_createForOfIteratorHelper(_this132.loaders),_step261;try{for(_iterator261.s();!(_step261=_iterator261.n()).done;){var _e195=_step261.value;t+=_e195.uploaded;}}catch(err){_iterator261.e(err);}finally{_iterator261.f();}_this132.uploaded=t;}),e.on(\"change:uploadTotal\",function(){var t=0;var _iterator262=_createForOfIteratorHelper(_this132.loaders),_step262;try{for(_iterator262.s();!(_step262=_iterator262.n()).done;){var _e196=_step262.value;_e196.uploadTotal&&(t+=_e196.uploadTotal);}}catch(err){_iterator262.e(err);}finally{_iterator262.f();}_this132.uploadTotal=t;}),e;}},{key:\"destroyLoader\",value:function destroyLoader(t){var _this133=this;var e=t instanceof tu?t:this.getLoader(t);e._destroy(),this.loaders.remove(e),this._loadersMap.forEach(function(t,n){t===e&&_this133._loadersMap[\"delete\"](n);});}},{key:\"_updatePendingAction\",value:function _updatePendingAction(){var t=this.editor.plugins.get(Kd);if(this.loaders.length){if(!this._pendingAction){var _e197=this.editor.t,_n192=function _n192(t){return\"\".concat(_e197(\"ap\"),\" \").concat(parseInt(t),\"%.\");};this._pendingAction=t.add(_n192(this.uploadedPercent)),this._pendingAction.bind(\"message\").to(this,\"uploadedPercent\",_n192);}}else t.remove(this._pendingAction),this._pendingAction=null;}}],[{key:\"pluginName\",get:function get(){return\"FileRepository\";}},{key:\"requires\",get:function get(){return[Kd];}}]);return Xd;}($l);ci(Xd,Fi);var tu=/*#__PURE__*/function(){function tu(t,e){_classCallCheck(this,tu);this.id=Kn(),this._filePromiseWrapper=this._createFilePromiseWrapper(t),this._adapter=e(this),this._reader=new Zd(),this.set(\"status\",\"idle\"),this.set(\"uploaded\",0),this.set(\"uploadTotal\",null),this.bind(\"uploadedPercent\").to(this,\"uploaded\",this,\"uploadTotal\",function(t,e){return e?t/e*100:0;}),this.set(\"uploadResponse\",null);}_createClass(tu,[{key:\"file\",get:function get(){var _this134=this;return this._filePromiseWrapper?this._filePromiseWrapper.promise.then(function(t){return _this134._filePromiseWrapper?t:null;}):Promise.resolve(null);}},{key:\"read\",value:function read(){var _this135=this;if(\"idle\"!=this.status)throw new Gn.b(\"filerepository-read-wrong-status: You cannot call read if the status is different than idle.\");return this.status=\"reading\",this._filePromiseWrapper.promise.then(function(t){return _this135._reader.read(t);}).then(function(t){return _this135.status=\"idle\",t;})[\"catch\"](function(t){if(\"aborted\"===t)throw _this135.status=\"aborted\",\"aborted\";throw _this135.status=\"error\",_this135._reader.error?_this135._reader.error:t;});}},{key:\"upload\",value:function upload(){var _this136=this;if(\"idle\"!=this.status)throw new Gn.b(\"filerepository-upload-wrong-status: You cannot call upload if the status is different than idle.\");return this.status=\"uploading\",this._filePromiseWrapper.promise.then(function(){return _this136._adapter.upload();}).then(function(t){return _this136.uploadResponse=t,_this136.status=\"idle\",t;})[\"catch\"](function(t){if(\"aborted\"===_this136.status)throw\"aborted\";throw _this136.status=\"error\",t;});}},{key:\"abort\",value:function abort(){var t=this.status;this.status=\"aborted\",this._filePromiseWrapper.isFulfilled?\"reading\"==t?this._reader.abort():\"uploading\"==t&&this._adapter.abort&&this._adapter.abort():this._filePromiseWrapper.rejecter(\"aborted\"),this._destroy();}},{key:\"_destroy\",value:function _destroy(){this._filePromiseWrapper=void 0,this._reader=void 0,this._adapter=void 0,this.data=void 0,this.uploadResponse=void 0;}},{key:\"_createFilePromiseWrapper\",value:function _createFilePromiseWrapper(t){var e={};return e.promise=new Promise(function(n,i){e.resolver=n,e.rejecter=i,e.isFulfilled=!1,t.then(function(t){e.isFulfilled=!0,n(t);})[\"catch\"](function(t){e.isFulfilled=!0,i(t);});}),e;}}]);return tu;}();ci(tu,Fi);var eu=\"ckCsrfToken\",nu=40,iu=\"abcdefghijklmnopqrstuvwxyz0123456789\";function ou(){var t=function(t){t=t.toLowerCase();var e=document.cookie.split(\";\");var _iterator263=_createForOfIteratorHelper(e),_step263;try{for(_iterator263.s();!(_step263=_iterator263.n()).done;){var _n193=_step263.value;var _e198=_n193.split(\"=\"),_i157=decodeURIComponent(_e198[0].trim().toLowerCase());if(_i157===t)return decodeURIComponent(_e198[1]);}}catch(err){_iterator263.e(err);}finally{_iterator263.f();}return null;}(eu);return t&&t.length==nu||(t=function(t){var e=\"\";var n=new Uint8Array(t);window.crypto.getRandomValues(n);for(var _t216=0;_t216.5?_i158.toUpperCase():_i158;}return e;}(nu),function(t,e){document.cookie=encodeURIComponent(t)+\"=\"+encodeURIComponent(e)+\";path=/\";}(eu,t)),t;}var ru=/*#__PURE__*/function(_$l12){_inherits(ru,_$l12);var _super74=_createSuper(ru);function ru(){_classCallCheck(this,ru);return _super74.apply(this,arguments);}_createClass(ru,[{key:\"init\",value:function init(){var _this137=this;var t=this.editor.config.get(\"ckfinder.uploadUrl\");t&&(this.editor.plugins.get(Xd).createUploadAdapter=function(e){return new su(e,t,_this137.editor.t);});}}],[{key:\"requires\",get:function get(){return[Xd];}},{key:\"pluginName\",get:function get(){return\"CKFinderUploadAdapter\";}}]);return ru;}($l);var su=/*#__PURE__*/function(){function su(t,e,n){_classCallCheck(this,su);this.loader=t,this.url=e,this.t=n;}_createClass(su,[{key:\"upload\",value:function upload(){var _this138=this;return this.loader.file.then(function(t){return new Promise(function(e,n){_this138._initRequest(),_this138._initListeners(e,n,t),_this138._sendRequest(t);});});}},{key:\"abort\",value:function abort(){this.xhr&&this.xhr.abort();}},{key:\"_initRequest\",value:function _initRequest(){var t=this.xhr=new XMLHttpRequest();t.open(\"POST\",this.url,!0),t.responseType=\"json\";}},{key:\"_initListeners\",value:function _initListeners(t,e,n){var i=this.xhr,o=this.loader,r=(0,this.t)(\"a\")+\" \".concat(n.name,\".\");i.addEventListener(\"error\",function(){return e(r);}),i.addEventListener(\"abort\",function(){return e();}),i.addEventListener(\"load\",function(){var n=i.response;if(!n||!n.uploaded)return e(n&&n.error&&n.error.message?n.error.message:r);t({\"default\":n.url});}),i.upload&&i.upload.addEventListener(\"progress\",function(t){t.lengthComputable&&(o.uploadTotal=t.total,o.uploaded=t.loaded);});}},{key:\"_sendRequest\",value:function _sendRequest(t){var e=new FormData();e.append(\"upload\",t),e.append(\"ckCsrfToken\",ou()),this.xhr.send(e);}}]);return su;}();var au=/*#__PURE__*/_createClass(function au(t,e,n){_classCallCheck(this,au);var i,o=null;\"function\"==typeof n?i=n:(o=t.commands.get(n),i=function i(){t.execute(n);}),t.model.document.on(\"change\",function(n,r){if(o&&!o.isEnabled)return;if(\"transparent\"==r.type)return;var s=Array.from(t.model.document.differ.getChanges()),a=s[0];if(1!=s.length||\"insert\"!==a.type||\"$text\"!=a.name||1!=a.length)return;var c=a.position.textNode||a.position.nodeAfter;if(!c.parent.is(\"paragraph\"))return;var l=e.exec(c.data);l&&t.model.enqueueChange(function(t){var e=t.createPositionAt(c.parent,0),n=t.createPositionAt(c.parent,l[0].length),o=new oa(e,n);!1!==i({match:l})&&t.remove(o),o.detach();});});});var cu=/*#__PURE__*/_createClass(function cu(t,e,n){_classCallCheck(this,cu);var i,o,r,s;e instanceof RegExp?i=e:r=e,\"string\"==typeof n?o=n:s=n,r=r||function(t){var e;var n=[],o=[];for(;null!==(e=i.exec(t))&&!(e&&e.length<4);){var _e199=e,_t217=_e199.index,_i159=_e199[1],_r34=_e199[2],_s22=_e199[3];var _a13=_i159+_r34+_s22,_c7=[_t217+=e[0].length-_a13.length,_t217+_i159.length],_l4=[_t217+_i159.length+_r34.length,_t217+_i159.length+_r34.length+_s22.length];n.push(_c7),n.push(_l4),o.push([_t217+_i159.length,_t217+_i159.length+_r34.length]);}return{remove:n,format:o};},s=s||function(e,n){var i=t.model.schema.getValidRanges(n,o);var _iterator264=_createForOfIteratorHelper(i),_step264;try{for(_iterator264.s();!(_step264=_iterator264.n()).done;){var _t218=_step264.value;e.setAttribute(o,!0,_t218);}}catch(err){_iterator264.e(err);}finally{_iterator264.f();}e.removeSelectionAttribute(o);},t.model.document.on(\"change\",function(e,n){if(\"transparent\"==n.type)return;var i=t.model.document.selection;if(!i.isCollapsed)return;var o=Array.from(t.model.document.differ.getChanges()),a=o[0];if(1!=o.length||\"insert\"!==a.type||\"$text\"!=a.name||1!=a.length)return;var c=i.focus.parent,l=function(t){return Array.from(t.getChildren()).reduce(function(t,e){return t+e.data;},\"\");}(c).slice(0,i.focus.offset),d=r(l),u=lu(c,d.format,t.model),h=lu(c,d.remove,t.model);u.length&&h.length&&t.model.enqueueChange(function(t){if(!1!==s(t,u)){var _iterator265=_createForOfIteratorHelper(h.reverse()),_step265;try{for(_iterator265.s();!(_step265=_iterator265.n()).done;){var _e200=_step265.value;t.remove(_e200);}}catch(err){_iterator265.e(err);}finally{_iterator265.f();}}});});});function lu(t,e,n){return e.filter(function(t){return void 0!==t[0]&&void 0!==t[1];}).map(function(e){return n.createRange(n.createPositionAt(t,e[0]),n.createPositionAt(t,e[1]));});}function du(t,e){return function(n,i){if(!t.commands.get(e).isEnabled)return!1;var o=t.model.schema.getValidRanges(i,e);var _iterator266=_createForOfIteratorHelper(o),_step266;try{for(_iterator266.s();!(_step266=_iterator266.n()).done;){var _t219=_step266.value;n.setAttribute(e,!0,_t219);}}catch(err){_iterator266.e(err);}finally{_iterator266.f();}n.removeSelectionAttribute(e);};}var uu=/*#__PURE__*/function(_Zl6){_inherits(uu,_Zl6);var _super75=_createSuper(uu);function uu(t,e){var _this139;_classCallCheck(this,uu);_this139=_super75.call(this,t),_this139.attributeKey=e;return _this139;}_createClass(uu,[{key:\"refresh\",value:function refresh(){var t=this.editor.model,e=t.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=t.schema.checkAttributeInSelection(e.selection,this.attributeKey);}},{key:\"execute\",value:function execute(){var _this140=this;var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var e=this.editor.model,n=e.document.selection,i=void 0===t.forceValue?!this.value:t.forceValue;e.change(function(t){if(n.isCollapsed)i?t.setSelectionAttribute(_this140.attributeKey,!0):t.removeSelectionAttribute(_this140.attributeKey);else{var _o75=e.schema.getValidRanges(n.getRanges(),_this140.attributeKey);var _iterator267=_createForOfIteratorHelper(_o75),_step267;try{for(_iterator267.s();!(_step267=_iterator267.n()).done;){var _e201=_step267.value;i?t.setAttribute(_this140.attributeKey,i,_e201):t.removeAttribute(_this140.attributeKey,_e201);}}catch(err){_iterator267.e(err);}finally{_iterator267.f();}}});}},{key:\"_getValueFromFirstAllowedNode\",value:function _getValueFromFirstAllowedNode(){var t=this.editor.model,e=t.schema,n=t.document.selection;if(n.isCollapsed)return n.hasAttribute(this.attributeKey);var _iterator268=_createForOfIteratorHelper(n.getRanges()),_step268;try{for(_iterator268.s();!(_step268=_iterator268.n()).done;){var _t220=_step268.value;var _iterator269=_createForOfIteratorHelper(_t220.getItems()),_step269;try{for(_iterator269.s();!(_step269=_iterator269.n()).done;){var _n194=_step269.value;if(e.checkAttribute(_n194,this.attributeKey))return _n194.hasAttribute(this.attributeKey);}}catch(err){_iterator269.e(err);}finally{_iterator269.f();}}}catch(err){_iterator268.e(err);}finally{_iterator268.f();}return!1;}}]);return uu;}(Zl);var hu=\"bold\";var fu=/*#__PURE__*/function(_$l13){_inherits(fu,_$l13);var _super76=_createSuper(fu);function fu(){_classCallCheck(this,fu);return _super76.apply(this,arguments);}_createClass(fu,[{key:\"init\",value:function init(){var t=this.editor;t.model.schema.extend(\"$text\",{allowAttributes:hu}),t.conversion.attributeToElement({model:hu,view:\"strong\",upcastAlso:[\"b\",{styles:{\"font-weight\":\"bold\"}}]}),t.commands.add(hu,new uu(t,hu)),t.keystrokes.set(\"CTRL+B\",hu);}}]);return fu;}($l);var mu=n(22),pu=n.n(mu);var gu=\"bold\";var bu=/*#__PURE__*/function(_$l14){_inherits(bu,_$l14);var _super77=_createSuper(bu);function bu(){_classCallCheck(this,bu);return _super77.apply(this,arguments);}_createClass(bu,[{key:\"init\",value:function init(){var _this141=this;var t=this.editor,e=t.t;t.ui.componentFactory.add(gu,function(n){var i=t.commands.get(gu),o=new qd(n);return o.set({label:e(\"b\"),icon:pu.a,keystroke:\"CTRL+B\",tooltip:!0}),o.bind(\"isOn\",\"isEnabled\").to(i,\"value\",\"isEnabled\"),_this141.listenTo(o,\"execute\",function(){return t.execute(gu);}),o;});}}]);return bu;}($l);var wu=\"italic\";var _u=/*#__PURE__*/function(_$l15){_inherits(_u,_$l15);var _super78=_createSuper(_u);function _u(){_classCallCheck(this,_u);return _super78.apply(this,arguments);}_createClass(_u,[{key:\"init\",value:function init(){var t=this.editor;t.model.schema.extend(\"$text\",{allowAttributes:wu}),t.conversion.attributeToElement({model:wu,view:\"i\",upcastAlso:[\"em\",{styles:{\"font-style\":\"italic\"}}]}),t.commands.add(wu,new uu(t,wu)),t.keystrokes.set(\"CTRL+I\",wu);}}]);return _u;}($l);var ku=n(23),vu=n.n(ku);var yu=\"italic\";var xu=/*#__PURE__*/function(_$l16){_inherits(xu,_$l16);var _super79=_createSuper(xu);function xu(){_classCallCheck(this,xu);return _super79.apply(this,arguments);}_createClass(xu,[{key:\"init\",value:function init(){var _this142=this;var t=this.editor,e=t.t;t.ui.componentFactory.add(yu,function(n){var i=t.commands.get(yu),o=new qd(n);return o.set({label:e(\"d\"),icon:vu.a,keystroke:\"CTRL+I\",tooltip:!0}),o.bind(\"isOn\",\"isEnabled\").to(i,\"value\",\"isEnabled\"),_this142.listenTo(o,\"execute\",function(){return t.execute(yu);}),o;});}}]);return xu;}($l);function Au(t){var e=t.next();return e.done?null:e.value;}var Cu=/*#__PURE__*/function(_Zl7){_inherits(Cu,_Zl7);var _super80=_createSuper(Cu);function Cu(){_classCallCheck(this,Cu);return _super80.apply(this,arguments);}_createClass(Cu,[{key:\"refresh\",value:function refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled();}},{key:\"execute\",value:function execute(){var _this143=this;var t=this.editor.model,e=t.schema,n=t.document.selection,i=Array.from(n.getTopMostBlocks());t.change(function(t){if(_this143.value)_this143._removeQuote(t,i.filter(Tu));else{var _n195=i.filter(function(t){return Tu(t)||Mu(e,t);});_this143._applyQuote(t,_n195);}});}},{key:\"_getValue\",value:function _getValue(){var t=Au(this.editor.model.document.selection.getTopMostBlocks());return!(!t||!Tu(t));}},{key:\"_checkEnabled\",value:function _checkEnabled(){if(this.value)return!0;var t=this.editor.model.document.selection,e=this.editor.model.schema,n=Au(t.getSelectedBlocks());return!!n&&Mu(e,n);}},{key:\"_removeQuote\",value:function _removeQuote(t,e){Pu(t,e).reverse().forEach(function(e){if(e.start.isAtStart&&e.end.isAtEnd)return void t.unwrap(e.start.parent);if(e.start.isAtStart){var _n196=t.createPositionBefore(e.start.parent);return void t.move(e,_n196);}e.end.isAtEnd||t.split(e.end);var n=t.createPositionAfter(e.end.parent);t.move(e,n);});}},{key:\"_applyQuote\",value:function _applyQuote(t,e){var n=[];Pu(t,e).reverse().forEach(function(e){var i=Tu(e.start);i||(i=t.createElement(\"blockQuote\"),t.wrap(e,i)),n.push(i);}),n.reverse().reduce(function(e,n){return e.nextSibling==n?(t.merge(t.createPositionAfter(e)),e):n;});}}]);return Cu;}(Zl);function Tu(t){return\"blockQuote\"==t.parent.name?t.parent:null;}function Pu(t,e){var n,i=0;var o=[];for(;i1&&arguments[1]!==undefined?arguments[1]:{};this._showNotification({message:t,type:\"success\",namespace:e.namespace,title:e.title});}},{key:\"showInfo\",value:function showInfo(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this._showNotification({message:t,type:\"info\",namespace:e.namespace,title:e.title});}},{key:\"showWarning\",value:function showWarning(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this._showNotification({message:t,type:\"warning\",namespace:e.namespace,title:e.title});}},{key:\"_showNotification\",value:function _showNotification(t){var e=\"show:\".concat(t.type)+(t.namespace?\":\".concat(t.namespace):\"\");this.fire(e,{message:t.message,type:t.type,title:t.title||\"\"});}}],[{key:\"pluginName\",get:function get(){return\"Notification\";}}]);return Lu;}($l);var ju=/*#__PURE__*/function(_Zl8){_inherits(ju,_Zl8);var _super85=_createSuper(ju);function ju(t){var _this146;_classCallCheck(this,ju);_this146=_super85.call(this,t),_this146.stopListening(_this146.editor.model.document,\"change\"),_this146.listenTo(_this146.editor.model.document,\"change\",function(){return _this146.refresh();},{priority:\"low\"});return _this146;}_createClass(ju,[{key:\"refresh\",value:function refresh(){var t=this.editor.commands.get(\"imageUpload\"),e=this.editor.commands.get(\"link\");this.isEnabled=t&&e&&(t.isEnabled||e.isEnabled);}},{key:\"execute\",value:function execute(){var t=this.editor,e=this.editor.config.get(\"ckfinder.openerMethod\")||\"modal\";if(\"popup\"!=e&&\"modal\"!=e)throw new Gn.b('ckfinder-unknown-openerMethod: The openerMethod config option must by \"popup\" or \"modal\".');var n=this.editor.config.get(\"ckfinder.options\")||{};n.chooseFiles=!0;var i=n.onInit;n.language||(n.language=t.locale.language),n.onInit=function(e){i&&i(),e.on(\"files:choose\",function(n){var i=n.data.files.toArray(),o=i.filter(function(t){return!t.isImage();}),r=i.filter(function(t){return t.isImage();});var _iterator272=_createForOfIteratorHelper(o),_step272;try{for(_iterator272.s();!(_step272=_iterator272.n()).done;){var _e203=_step272.value;t.execute(\"link\",_e203.getUrl());}}catch(err){_iterator272.e(err);}finally{_iterator272.f();}var s=[];var _iterator273=_createForOfIteratorHelper(r),_step273;try{for(_iterator273.s();!(_step273=_iterator273.n()).done;){var _t223=_step273.value;var _n197=_t223.getUrl();s.push(_n197||e.request(\"file:getProxyUrl\",{file:_t223}));}}catch(err){_iterator273.e(err);}finally{_iterator273.f();}s.length&&Vu(t,s);}),e.on(\"file:choose:resizedImage\",function(e){var n=e.data.resizedUrl;if(n)Vu(t,[n]);else{var _e204=t.plugins.get(\"Notification\"),_n198=t.locale.t;_e204.showWarning(_n198(\"be\"),{title:_n198(\"bf\"),namespace:\"ckfinder\"});}});},window.CKFinder[e](n);}}]);return ju;}(Zl);function Vu(t,e){if(t.commands.get(\"imageUpload\").isEnabled)t.execute(\"imageInsert\",{source:e});else{var _e205=t.plugins.get(\"Notification\"),_n199=t.locale.t;_e205.showWarning(_n199(\"bg\"),{title:_n199(\"bh\"),namespace:\"ckfinder\"});}}var Bu=/*#__PURE__*/function(_$l21){_inherits(Bu,_$l21);var _super86=_createSuper(Bu);function Bu(){_classCallCheck(this,Bu);return _super86.apply(this,arguments);}_createClass(Bu,[{key:\"init\",value:function init(){var t=this.editor;t.commands.add(\"ckfinder\",new ju(t));}}],[{key:\"pluginName\",get:function get(){return\"CKFinderEditing\";}},{key:\"requires\",get:function get(){return[Lu];}}]);return Bu;}($l);var zu=/^data:(\\S*?);base64,/;var Fu=/*#__PURE__*/function(){function Fu(t,e,n){_classCallCheck(this,Fu);if(!t)throw new Error(\"File must be provided\");if(!e)throw new Error(\"Token must be provided\");if(!n)throw new Error(\"Api address must be provided\");this.file=function(t){if(\"string\"!=typeof t)return!1;var e=t.match(zu);return!(!e||!e.length);}(t)?function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:512;try{var _n200=t.match(zu)[1],_i162=atob(t.replace(zu,\"\")),_o76=[];for(var _t224=0;_t224<_i162.length;_t224+=e){var _n201=_i162.slice(_t224,_t224+e),_r36=new Array(_n201.length);for(var _t225=0;_t225<_n201.length;_t225++)_r36[_t225]=_n201.charCodeAt(_t225);_o76.push(new Uint8Array(_r36));}return new Blob(_o76,{type:_n200});}catch(t){throw new Error(\"Problem with decoding Base64 image data.\");}}(t):t,this._token=e,this._apiAddress=n;}_createClass(Fu,[{key:\"onProgress\",value:function onProgress(t){return this.on(\"progress\",function(e,n){return t(n);}),this;}},{key:\"onError\",value:function onError(t){return this.once(\"error\",function(e,n){return t(n);}),this;}},{key:\"abort\",value:function abort(){this.xhr.abort();}},{key:\"send\",value:function send(){return this._prepareRequest(),this._attachXHRListeners(),this._sendRequest();}},{key:\"_prepareRequest\",value:function _prepareRequest(){var t=new XMLHttpRequest();t.open(\"POST\",this._apiAddress),t.setRequestHeader(\"Authorization\",this._token.value),t.responseType=\"json\",this.xhr=t;}},{key:\"_attachXHRListeners\",value:function _attachXHRListeners(){var _this147=this;var t=this,e=this.xhr;function n(e){return function(){return t.fire(\"error\",e);};}e.addEventListener(\"error\",n(\"Network Error\")),e.addEventListener(\"abort\",n(\"Abort\")),e.upload&&e.upload.addEventListener(\"progress\",function(t){t.lengthComputable&&_this147.fire(\"progress\",{total:t.total,uploaded:t.loaded});}),e.addEventListener(\"load\",function(){var t=e.status,n=e.response;if(t<200||t>299)return _this147.fire(\"error\",n.message||n.error);});}},{key:\"_sendRequest\",value:function _sendRequest(){var t=new FormData(),e=this.xhr;return t.append(\"file\",this.file),new Promise(function(n,i){e.addEventListener(\"load\",function(){var t=e.status,o=e.response;return t<200||t>299?o.message?i(new Error(o.message)):i(o.error):n(o);}),e.addEventListener(\"error\",function(){return i(new Error(\"Network Error\"));}),e.addEventListener(\"abort\",function(){return i(new Error(\"Abort\"));}),e.send(t);});}}]);return Fu;}();ci(Fu,ei);var Uu=Fu;var Hu={refreshInterval:36e5,autoRefresh:!0};var qu=/*#__PURE__*/function(){function qu(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:Hu;_classCallCheck(this,qu);if(!t)throw new Error(\"A `tokenUrl` must be provided as the first constructor argument.\");this.set(\"value\",e.initValue),this._refresh=\"function\"==typeof t?t:function(){return function(t){return new Promise(function(e,n){var i=new XMLHttpRequest();i.open(\"GET\",t),i.addEventListener(\"load\",function(){var t=i.status,o=i.response;return t<200||t>299?n(new Error(\"Cannot download new token!\")):e(o);}),i.addEventListener(\"error\",function(){return n(new Error(\"Network Error\"));}),i.addEventListener(\"abort\",function(){return n(new Error(\"Abort\"));}),i.send();});}(t);},this._options=Object.assign({},Hu,e);}_createClass(qu,[{key:\"init\",value:function init(){var _this148=this;return new Promise(function(t,e){_this148._options.autoRefresh&&_this148._startRefreshing(),_this148.value?t(_this148):_this148._refreshToken().then(t)[\"catch\"](e);});}},{key:\"_refreshToken\",value:function _refreshToken(){var _this149=this;return this._refresh().then(function(t){return _this149.set(\"value\",t);}).then(function(){return _this149;});}},{key:\"destroy\",value:function destroy(){this._stopRefreshing();}},{key:\"_startRefreshing\",value:function _startRefreshing(){var _this150=this;this._refreshInterval=setInterval(function(){return _this150._refreshToken();},this._options.refreshInterval);}},{key:\"_stopRefreshing\",value:function _stopRefreshing(){clearInterval(this._refreshInterval);}}],[{key:\"create\",value:function create(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:Hu;return new qu(t,e).init();}}]);return qu;}();ci(qu,Fi);var Wu=qu;var Yu=/*#__PURE__*/function(_$l22){_inherits(Yu,_$l22);var _super87=_createSuper(Yu);function Yu(){_classCallCheck(this,Yu);return _super87.apply(this,arguments);}_createClass(Yu,[{key:\"init\",value:function init(){var t=this.editor.config.get(\"cloudServices\")||{};for(var _e206 in t)this[_e206]=t[_e206];if(this.tokenUrl)return this.token=new Yu.Token(this.tokenUrl),this.token.init();this.token=null;}}],[{key:\"pluginName\",get:function get(){return\"CloudServices\";}}]);return Yu;}($l);Yu.Token=Wu;var $u=/*#__PURE__*/function(_$l23){_inherits($u,_$l23);var _super88=_createSuper($u);function $u(){_classCallCheck(this,$u);return _super88.apply(this,arguments);}_createClass($u,[{key:\"init\",value:function init(){var _this151=this;var t=this.editor,e=t.plugins.get(Yu),n=e.token,i=e.uploadUrl;n&&(this._uploadGateway=new $u._UploadGateway(n,i),t.plugins.get(Xd).createUploadAdapter=function(t){return new Gu(_this151._uploadGateway,t);});}}],[{key:\"requires\",get:function get(){return[Xd,Yu];}}]);return $u;}($l);var Gu=/*#__PURE__*/function(){function Gu(t,e){_classCallCheck(this,Gu);this.uploadGateway=t,this.loader=e;}_createClass(Gu,[{key:\"upload\",value:function upload(){var _this152=this;return this.loader.file.then(function(t){return _this152.fileUploader=_this152.uploadGateway.upload(t),_this152.fileUploader.on(\"progress\",function(t,e){_this152.loader.uploadTotal=e.total,_this152.loader.uploaded=e.uploaded;}),_this152.fileUploader.send();});}},{key:\"abort\",value:function abort(){this.fileUploader.abort();}}]);return Gu;}();$u._UploadGateway=/*#__PURE__*/function(){function _class(t,e){_classCallCheck(this,_class);if(!t)throw new Error(\"Token must be provided\");if(!e)throw new Error(\"Api address must be provided\");this._token=t,this._apiAddress=e;}_createClass(_class,[{key:\"upload\",value:function upload(t){return new Uu(t,this._token,this._apiAddress);}}]);return _class;}();var Qu=/*#__PURE__*/function(_hr7){_inherits(Qu,_hr7);var _super89=_createSuper(Qu);function Qu(t){var _this153;_classCallCheck(this,Qu);_this153=_super89.call(this,t),_this153._observedElements=new Set();return _this153;}_createClass(Qu,[{key:\"observe\",value:function observe(t,e){var _this154=this;this.document.getRoot(e).on(\"change:children\",function(e,n){_this154.view.once(\"render\",function(){return _this154._updateObservedElements(t,n);});});}},{key:\"_updateObservedElements\",value:function _updateObservedElements(t,e){var _this155=this;if(!e.is(\"element\")||e.is(\"attributeElement\"))return;var n=this.view.domConverter.mapViewToDom(e);if(n){var _iterator274=_createForOfIteratorHelper(n.querySelectorAll(\"img\")),_step274;try{for(_iterator274.s();!(_step274=_iterator274.n()).done;){var _t226=_step274.value;this._observedElements.has(_t226)||(this.listenTo(_t226,\"load\",function(t,e){return _this155._fireEvents(e);}),this._observedElements.add(_t226));}}catch(err){_iterator274.e(err);}finally{_iterator274.f();}var _iterator275=_createForOfIteratorHelper(this._observedElements),_step275;try{for(_iterator275.s();!(_step275=_iterator275.n()).done;){var _e207=_step275.value;t.contains(_e207)||(this.stopListening(_e207),this._observedElements[\"delete\"](_e207));}}catch(err){_iterator275.e(err);}finally{_iterator275.f();}}}},{key:\"_fireEvents\",value:function _fireEvents(t){this.isEnabled&&(this.document.fire(\"layoutChanged\"),this.document.fire(\"imageLoaded\",t));}},{key:\"destroy\",value:function destroy(){this._observedElements.clear(),_get(_getPrototypeOf(Qu.prototype),\"destroy\",this).call(this);}}]);return Qu;}(hr);function Ju(t){return function(n){n.on(\"attribute:\".concat(t,\":image\"),e);};function e(t,e,n){if(!n.consumable.consume(e.item,t.name))return;var i=n.writer,o=n.mapper.toViewElement(e.item).getChild(0);null!==e.attributeNewValue?i.setAttribute(e.attributeKey,e.attributeNewValue,o):i.removeAttribute(e.attributeKey,o);}}var Ku=/*#__PURE__*/function(){function Ku(){_classCallCheck(this,Ku);this._stack=[];}_createClass(Ku,[{key:\"add\",value:function add(t,e){var n=this._stack,i=n[0];this._insertDescriptor(t);var o=n[0];i===o||Zu(i,o)||this.fire(\"change:top\",{oldDescriptor:i,newDescriptor:o,writer:e});}},{key:\"remove\",value:function remove(t,e){var n=this._stack,i=n[0];this._removeDescriptor(t);var o=n[0];i===o||Zu(i,o)||this.fire(\"change:top\",{oldDescriptor:i,newDescriptor:o,writer:e});}},{key:\"_insertDescriptor\",value:function _insertDescriptor(t){var e=this._stack,n=e.findIndex(function(e){return e.id===t.id;});if(Zu(t,e[n]))return;n>-1&&e.splice(n,1);var i=0;for(;e[i]&&Xu(e[i],t);)i++;e.splice(i,0,t);}},{key:\"_removeDescriptor\",value:function _removeDescriptor(t){var e=this._stack,n=e.findIndex(function(e){return e.id===t;});n>-1&&e.splice(n,1);}}]);return Ku;}();function Zu(t,e){return t&&e&&t.priority==e.priority&&th(t.classes)==th(e.classes);}function Xu(t,e){return t.priority>e.priority||!(t.priorityth(e.classes);}function th(t){return Array.isArray(t)?t.sort().join(\",\"):t;}ci(Ku,ei);var eh=n(26),nh=n.n(eh);var ih=\"ck-widget\",oh=\"ck-widget_selected\";function rh(t){return!!t.is(\"element\")&&!!t.getCustomProperty(\"widget\");}function sh(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return mo.isEdge||e.setAttribute(\"contenteditable\",\"false\",t),e.addClass(ih,t),e.setCustomProperty(\"widget\",!0,t),t.getFillerOffset=dh,n.label&&function(t,e,n){n.setCustomProperty(\"widgetLabel\",e,t);}(t,n.label,e),n.hasSelectionHandler&&function(t,e){var n=e.createUIElement(\"div\",{\"class\":\"ck ck-widget__selection-handler\"},function(t){var e=this.toDomElement(t),n=new Ud();return n.set(\"content\",nh.a),n.render(),e.appendChild(n.element),e;});e.insert(e.createPositionAt(t,0),n),e.addClass([\"ck-widget_with-selection-handler\"],t);}(t,e),function(t,e,n,i){var o=new Ku();o.on(\"change:top\",function(e,o){o.oldDescriptor&&i(t,o.oldDescriptor,o.writer),o.newDescriptor&&n(t,o.newDescriptor,o.writer);}),e.setCustomProperty(\"addHighlight\",function(t,e,n){return o.add(e,n);},t),e.setCustomProperty(\"removeHighlight\",function(t,e,n){return o.remove(e,n);},t);}(t,e,function(t,e,n){return n.addClass(i(e.classes),t);},function(t,e,n){return n.removeClass(i(e.classes),t);}),t;function i(t){return Array.isArray(t)?t:[t];}}function ah(t){var e=t.getCustomProperty(\"widgetLabel\");return e?\"function\"==typeof e?e():e:\"\";}function ch(t,e){return e.addClass([\"ck-editor__editable\",\"ck-editor__nested-editable\"],t),mo.isEdge||(e.setAttribute(\"contenteditable\",t.isReadOnly?\"false\":\"true\",t),t.on(\"change:isReadOnly\",function(n,i,o){e.setAttribute(\"contenteditable\",o?\"false\":\"true\",t);})),t.on(\"change:isFocused\",function(n,i,o){o?e.addClass(\"ck-editor__nested-editable_focused\",t):e.removeClass(\"ck-editor__nested-editable_focused\",t);}),t;}function lh(t,e){var n=t.getSelectedElement();if(n&&e.schema.isBlock(n))return e.createPositionAfter(n);var i=t.getSelectedBlocks().next().value;if(i){if(i.isEmpty)return e.createPositionAt(i,0);var _n202=e.createPositionAfter(i);return t.focus.isTouching(_n202)?_n202:e.createPositionBefore(i);}return t.focus;}function dh(){return null;}function uh(t){var e=t.getSelectedElement();return e&&function(t){return!!t.getCustomProperty(\"image\")&&rh(t);}(e)?e:null;}function hh(t){return!!t&&t.is(\"image\");}function fh(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var i=t.createElement(\"image\",n),o=lh(e.document.selection,e);e.insertContent(i,o),i.parent&&t.setSelection(i,\"on\");}function mh(t){var e=t.schema,n=t.document.selection;return function(t,e,n){var i=function(t,e){var n=lh(t,e).parent;if(n.isEmpty&&!n.is(\"$root\"))return n.parent;return n;}(t,n);return e.checkChild(i,\"image\");}(n,e,t)&&!function(t,e){var n=t.getSelectedElement();return n&&e.isObject(n);}(n,e)&&function(t){return _toConsumableArray(t.focus.getAncestors()).every(function(t){return!t.is(\"image\");});}(n);}var ph=/*#__PURE__*/function(_Zl9){_inherits(ph,_Zl9);var _super90=_createSuper(ph);function ph(){_classCallCheck(this,ph);return _super90.apply(this,arguments);}_createClass(ph,[{key:\"refresh\",value:function refresh(){this.isEnabled=mh(this.editor.model);}},{key:\"execute\",value:function execute(t){var e=this.editor.model;e.change(function(n){var i=Array.isArray(t.source)?t.source:[t.source];var _iterator276=_createForOfIteratorHelper(i),_step276;try{for(_iterator276.s();!(_step276=_iterator276.n()).done;){var _t227=_step276.value;fh(n,e,{src:_t227});}}catch(err){_iterator276.e(err);}finally{_iterator276.f();}});}}]);return ph;}(Zl);var gh=/*#__PURE__*/function(_$l24){_inherits(gh,_$l24);var _super91=_createSuper(gh);function gh(){_classCallCheck(this,gh);return _super91.apply(this,arguments);}_createClass(gh,[{key:\"init\",value:function init(){var t=this.editor,e=t.model.schema,n=t.t,i=t.conversion;t.editing.view.addObserver(Qu),e.register(\"image\",{isObject:!0,isBlock:!0,allowWhere:\"$block\",allowAttributes:[\"alt\",\"src\",\"srcset\"]}),i[\"for\"](\"dataDowncast\").elementToElement({model:\"image\",view:function view(t,e){return bh(e);}}),i[\"for\"](\"editingDowncast\").elementToElement({model:\"image\",view:function view(t,e){return function(t,e,n){return e.setCustomProperty(\"image\",!0,t),sh(t,e,{label:function label(){var e=t.getChild(0).getAttribute(\"alt\");return e?\"\".concat(e,\" \").concat(n):n;}});}(bh(e),e,n(\"e\"));}}),i[\"for\"](\"downcast\").add(Ju(\"src\")).add(Ju(\"alt\")).add(function(){return function(e){e.on(\"attribute:srcset:image\",t);};function t(t,e,n){if(!n.consumable.consume(e.item,t.name))return;var i=n.writer,o=n.mapper.toViewElement(e.item).getChild(0);if(null===e.attributeNewValue){var _t228=e.attributeOldValue;_t228.data&&(i.removeAttribute(\"srcset\",o),i.removeAttribute(\"sizes\",o),_t228.width&&i.removeAttribute(\"width\",o));}else{var _t229=e.attributeNewValue;_t229.data&&(i.setAttribute(\"srcset\",_t229.data,o),i.setAttribute(\"sizes\",\"100vw\",o),_t229.width&&i.setAttribute(\"width\",_t229.width,o));}}}()),i[\"for\"](\"upcast\").elementToElement({view:{name:\"img\",attributes:{src:!0}},model:function model(t,e){return e.createElement(\"image\",{src:t.getAttribute(\"src\")});}}).attributeToAttribute({view:{name:\"img\",key:\"alt\"},model:\"alt\"}).attributeToAttribute({view:{name:\"img\",key:\"srcset\"},model:{key:\"srcset\",value:function value(t){var e={data:t.getAttribute(\"srcset\")};return t.hasAttribute(\"width\")&&(e.width=t.getAttribute(\"width\")),e;}}}).add(function(){return function(e){e.on(\"element:figure\",t);};function t(t,e,n){if(!n.consumable.test(e.viewItem,{name:!0,classes:\"image\"}))return;var i=Array.from(e.viewItem.getChildren()).find(function(t){return t.is(\"img\");});if(!i||!i.hasAttribute(\"src\")||!n.consumable.test(i,{name:!0}))return;var o=n.convertItem(i,e.modelCursor),r=Au(o.modelRange.getItems());r&&(n.convertChildren(e.viewItem,n.writer.createPositionAt(r,0)),e.modelRange=o.modelRange,e.modelCursor=o.modelCursor);}}()),t.commands.add(\"imageInsert\",new ph(t));}}]);return gh;}($l);function bh(t){var e=t.createEmptyElement(\"img\"),n=t.createContainerElement(\"figure\",{\"class\":\"image\"});return t.insert(t.createPositionAt(n,0),e),n;}var wh=/*#__PURE__*/function(_ts5){_inherits(wh,_ts5);var _super92=_createSuper(wh);function wh(t){var _this156;_classCallCheck(this,wh);_this156=_super92.call(this,t),_this156.domEventType=\"mousedown\";return _this156;}_createClass(wh,[{key:\"onDomEvent\",value:function onDomEvent(t){this.fire(t.type,t);}}]);return wh;}(ts);n(66);var _h=_o(\"Ctrl+A\");var kh=/*#__PURE__*/function(_$l25){_inherits(kh,_$l25);var _super93=_createSuper(kh);function kh(){_classCallCheck(this,kh);return _super93.apply(this,arguments);}_createClass(kh,[{key:\"init\",value:function init(){var _this157=this;var t=this.editor.editing.view,e=t.document;this._previouslySelected=new Set(),this.editor.editing.downcastDispatcher.on(\"selection\",function(t,e,n){_this157._clearPreviouslySelectedWidgets(n.writer);var i=n.writer,o=i.document.selection,r=o.getSelectedElement();var s=null;var _iterator277=_createForOfIteratorHelper(o.getRanges()),_step277;try{for(_iterator277.s();!(_step277=_iterator277.n()).done;){var _t230=_step277.value;var _iterator278=_createForOfIteratorHelper(_t230),_step278;try{for(_iterator278.s();!(_step278=_iterator278.n()).done;){var _e208=_step278.value;var _t231=_e208.item;rh(_t231)&&!vh(_t231,s)&&(i.addClass(oh,_t231),_this157._previouslySelected.add(_t231),s=_t231,_t231==r&&i.setSelection(o.getRanges(),{fake:!0,label:ah(r)}));}}catch(err){_iterator278.e(err);}finally{_iterator278.f();}}}catch(err){_iterator277.e(err);}finally{_iterator277.f();}},{priority:\"low\"}),t.addObserver(wh),this.listenTo(e,\"mousedown\",function(){return _this157._onMousedown.apply(_this157,arguments);}),this.listenTo(e,\"keydown\",function(){return _this157._onKeydown.apply(_this157,arguments);},{priority:\"high\"}),this.listenTo(e,\"delete\",function(t,e){_this157._handleDelete(\"forward\"==e.direction)&&(e.preventDefault(),t.stop());},{priority:\"high\"});}},{key:\"_onMousedown\",value:function _onMousedown(t,e){var n=this.editor,i=n.editing.view,o=i.document;var r=e.target;if(function(t){for(;t;){if(t.is(\"editableElement\")&&!t.is(\"rootElement\"))return!0;if(rh(t))return!1;t=t.parent;}return!1;}(r))return;if(!rh(r)&&!(r=r.findAncestor(rh)))return;e.preventDefault(),o.isFocused||i.focus();var s=n.editing.mapper.toModelElement(r);this._setSelectionOverElement(s);}},{key:\"_onKeydown\",value:function _onKeydown(t,e){var n=e.keyCode,i=n==bo.arrowdown||n==bo.arrowright;var o=!1;!function(t){return t==bo.arrowright||t==bo.arrowleft||t==bo.arrowup||t==bo.arrowdown;}(n)?!function(t){return wo(t)==_h;}(e)?n===bo.enter&&(o=this._handleEnterKey(e.shiftKey)):o=this._selectAllNestedEditableContent()||this._selectAllContent():o=this._handleArrowKeys(i),o&&(e.preventDefault(),t.stop());}},{key:\"_handleDelete\",value:function _handleDelete(t){var _this158=this;if(this.editor.isReadOnly)return;var e=this.editor.model.document.selection;if(!e.isCollapsed)return;var n=this._getObjectElementNextToSelection(t);return n?(this.editor.model.change(function(t){var i=e.anchor.parent;for(;i.isEmpty;){var _e209=i;i=_e209.parent,t.remove(_e209);}_this158._setSelectionOverElement(n);}),!0):void 0;}},{key:\"_handleArrowKeys\",value:function _handleArrowKeys(t){var e=this.editor.model,n=e.schema,i=e.document.selection,o=i.getSelectedElement();if(o&&n.isObject(o)){var _o77=t?i.getLastPosition():i.getFirstPosition(),_r37=n.getNearestSelectionRange(_o77,t?\"forward\":\"backward\");return _r37&&e.change(function(t){t.setSelection(_r37);}),!0;}if(!i.isCollapsed)return;var r=this._getObjectElementNextToSelection(t);return r&&n.isObject(r)?(this._setSelectionOverElement(r),!0):void 0;}},{key:\"_handleEnterKey\",value:function _handleEnterKey(t){var e=this.editor.model,n=e.document.selection.getSelectedElement();if(function(t,e){return t&&e.isObject(t)&&!e.isInline(t);}(n,e.schema))return e.change(function(i){var o=i.createPositionAt(n,t?\"before\":\"after\");var r=i.createElement(\"paragraph\");if(e.schema.isBlock(n.parent)){var _t232=e.schema.findAllowedParent(o,r);o=i.split(o,_t232).position;}i.insert(r,o),i.setSelection(r,\"in\");}),!0;}},{key:\"_selectAllNestedEditableContent\",value:function _selectAllNestedEditableContent(){var t=this.editor.model,e=t.document.selection,n=t.schema.getLimitElement(e);return e.getFirstRange().root!=n&&(t.change(function(t){t.setSelection(t.createRangeIn(n));}),!0);}},{key:\"_selectAllContent\",value:function _selectAllContent(){var t=this.editor.model,e=this.editor.editing,n=e.view.document.selection.getSelectedElement();if(n&&rh(n)){var _i163=e.mapper.toModelElement(n.parent);return t.change(function(t){t.setSelection(t.createRangeIn(_i163));}),!0;}return!1;}},{key:\"_setSelectionOverElement\",value:function _setSelectionOverElement(t){this.editor.model.change(function(e){e.setSelection(e.createRangeOn(t));});}},{key:\"_getObjectElementNextToSelection\",value:function _getObjectElementNextToSelection(t){var e=this.editor.model,n=e.schema,i=e.document.selection,o=e.createSelection(i);e.modifySelection(o,{direction:t?\"forward\":\"backward\"});var r=t?o.focus.nodeBefore:o.focus.nodeAfter;return r&&n.isObject(r)?r:null;}},{key:\"_clearPreviouslySelectedWidgets\",value:function _clearPreviouslySelectedWidgets(t){var _iterator279=_createForOfIteratorHelper(this._previouslySelected),_step279;try{for(_iterator279.s();!(_step279=_iterator279.n()).done;){var _e210=_step279.value;t.removeClass(oh,_e210);}}catch(err){_iterator279.e(err);}finally{_iterator279.f();}this._previouslySelected.clear();}}],[{key:\"pluginName\",get:function get(){return\"Widget\";}}]);return kh;}($l);function vh(t,e){return!!e&&Array.from(t.getAncestors()).includes(e);}var yh=/*#__PURE__*/function(_Zl10){_inherits(yh,_Zl10);var _super94=_createSuper(yh);function yh(){_classCallCheck(this,yh);return _super94.apply(this,arguments);}_createClass(yh,[{key:\"refresh\",value:function refresh(){var t=this.editor.model.document.selection.getSelectedElement();this.isEnabled=hh(t),hh(t)&&t.hasAttribute(\"alt\")?this.value=t.getAttribute(\"alt\"):this.value=!1;}},{key:\"execute\",value:function execute(t){var e=this.editor.model,n=e.document.selection.getSelectedElement();e.change(function(e){e.setAttribute(\"alt\",t.newValue,n);});}}]);return yh;}(Zl);var xh=/*#__PURE__*/function(_$l26){_inherits(xh,_$l26);var _super95=_createSuper(xh);function xh(){_classCallCheck(this,xh);return _super95.apply(this,arguments);}_createClass(xh,[{key:\"init\",value:function init(){this.editor.commands.add(\"imageTextAlternative\",new yh(this.editor));}}]);return xh;}($l);function Ah(_ref16){var t=_ref16.emitter,e=_ref16.activator,n=_ref16.callback,i=_ref16.contextElements;t.listenTo(document,\"mousedown\",function(t,_ref17){var o=_ref17.target;if(e()){var _iterator280=_createForOfIteratorHelper(i),_step280;try{for(_iterator280.s();!(_step280=_iterator280.n()).done;){var _t233=_step280.value;if(_t233.contains(o))return;}}catch(err){_iterator280.e(err);}finally{_iterator280.f();}n();}});}n(68);var Ch=/*#__PURE__*/function(_Nl10){_inherits(Ch,_Nl10);var _super96=_createSuper(Ch);function Ch(t,e){var _this159;_classCallCheck(this,Ch);_this159=_super96.call(this,t);var n=\"ck-input-\".concat(Kn()),i=\"ck-status-\".concat(Kn());_this159.set(\"label\"),_this159.set(\"value\"),_this159.set(\"isReadOnly\",!1),_this159.set(\"errorText\",null),_this159.set(\"infoText\",null),_this159.labelView=_this159._createLabelView(n),_this159.inputView=_this159._createInputView(e,n,i),_this159.statusView=_this159._createStatusView(i),_this159.bind(\"_statusText\").to(_assertThisInitialized(_this159),\"errorText\",_assertThisInitialized(_this159),\"infoText\",function(t,e){return t||e;});var o=_this159.bindTemplate;_this159.setTemplate({tag:\"div\",attributes:{\"class\":[\"ck\",\"ck-labeled-input\",o[\"if\"](\"isReadOnly\",\"ck-disabled\")]},children:[_this159.labelView,_this159.inputView,_this159.statusView]});return _this159;}_createClass(Ch,[{key:\"_createLabelView\",value:function _createLabelView(t){var e=new Rl(this.locale);return e[\"for\"]=t,e.bind(\"text\").to(this,\"label\"),e;}},{key:\"_createInputView\",value:function _createInputView(t,e,n){var _this160=this;var i=new t(this.locale,n);return i.id=e,i.ariaDesribedById=n,i.bind(\"value\").to(this),i.bind(\"isReadOnly\").to(this),i.bind(\"hasError\").to(this,\"errorText\",function(t){return!!t;}),i.on(\"input\",function(){_this160.errorText=null;}),i;}},{key:\"_createStatusView\",value:function _createStatusView(t){var e=new Nl(this.locale),n=this.bindTemplate;return e.setTemplate({tag:\"div\",attributes:{\"class\":[\"ck\",\"ck-labeled-input__status\",n[\"if\"](\"errorText\",\"ck-labeled-input__status_error\"),n[\"if\"](\"_statusText\",\"ck-hidden\",function(t){return!t;})],id:t},children:[{text:n.to(\"_statusText\")}]}),e;}},{key:\"select\",value:function select(){this.inputView.select();}},{key:\"focus\",value:function focus(){this.inputView.focus();}}]);return Ch;}(Nl);n(70);var Th=/*#__PURE__*/function(_Nl11){_inherits(Th,_Nl11);var _super97=_createSuper(Th);function Th(t){var _this161;_classCallCheck(this,Th);_this161=_super97.call(this,t),_this161.set(\"value\"),_this161.set(\"id\"),_this161.set(\"placeholder\"),_this161.set(\"isReadOnly\",!1),_this161.set(\"hasError\",!1),_this161.set(\"ariaDesribedById\");var e=_this161.bindTemplate;_this161.setTemplate({tag:\"input\",attributes:{type:\"text\",\"class\":[\"ck\",\"ck-input\",\"ck-input-text\",e[\"if\"](\"hasError\",\"ck-error\")],id:e.to(\"id\"),placeholder:e.to(\"placeholder\"),readonly:e.to(\"isReadOnly\"),\"aria-invalid\":e[\"if\"](\"hasError\",!0),\"aria-describedby\":e.to(\"ariaDesribedById\")},on:{input:e.to(\"input\")}});return _this161;}_createClass(Th,[{key:\"render\",value:function render(){var _this162=this;_get(_getPrototypeOf(Th.prototype),\"render\",this).call(this);var t=function t(_t234){_this162.element.value=_t234||0===_t234?_t234:\"\";};t(this.value),this.on(\"change:value\",function(e,n,i){t(i);});}},{key:\"select\",value:function select(){this.element.select();}},{key:\"focus\",value:function focus(){this.element.focus();}}]);return Th;}(Nl);function Ph(_ref18){var t=_ref18.view;t.listenTo(t.element,\"submit\",function(e,n){n.preventDefault(),t.fire(\"submit\");},{useCapture:!0});}var Mh=n(7),Eh=n.n(Mh),Sh=n(8),Ih=n.n(Sh);n(72);var Nh=/*#__PURE__*/function(_Nl12){_inherits(Nh,_Nl12);var _super98=_createSuper(Nh);function Nh(t){var _this163;_classCallCheck(this,Nh);_this163=_super98.call(this,t);var e=_this163.locale.t;_this163.focusTracker=new il(),_this163.keystrokes=new Gc(),_this163.labeledInput=_this163._createLabeledInputView(),_this163.saveButtonView=_this163._createButton(e(\"au\"),Eh.a,\"ck-button-save\"),_this163.saveButtonView.type=\"submit\",_this163.cancelButtonView=_this163._createButton(e(\"av\"),Ih.a,\"ck-button-cancel\",\"cancel\"),_this163._focusables=new hl(),_this163._focusCycler=new Fl({focusables:_this163._focusables,focusTracker:_this163.focusTracker,keystrokeHandler:_this163.keystrokes,actions:{focusPrevious:\"shift + tab\",focusNext:\"tab\"}}),_this163.setTemplate({tag:\"form\",attributes:{\"class\":[\"ck\",\"ck-text-alternative-form\"],tabindex:\"-1\"},children:[_this163.labeledInput,_this163.saveButtonView,_this163.cancelButtonView]});return _this163;}_createClass(Nh,[{key:\"render\",value:function render(){var _this164=this;_get(_getPrototypeOf(Nh.prototype),\"render\",this).call(this),this.keystrokes.listenTo(this.element),Ph({view:this}),[this.labeledInput,this.saveButtonView,this.cancelButtonView].forEach(function(t){_this164._focusables.add(t),_this164.focusTracker.add(t.element);});}},{key:\"_createButton\",value:function _createButton(t,e,n,i){var o=new qd(this.locale);return o.set({label:t,icon:e,tooltip:!0}),o.extendTemplate({attributes:{\"class\":n}}),i&&o.delegate(\"execute\").to(this,i),o;}},{key:\"_createLabeledInputView\",value:function _createLabeledInputView(){var t=this.locale.t,e=new Ch(this.locale,Th);return e.label=t(\"bq\"),e.inputView.placeholder=t(\"bq\"),e;}}]);return Nh;}(Nl);function Oh(_ref19){var t=_ref19.element,e=_ref19.target,n=_ref19.positions,i=_ref19.limiter,o=_ref19.fitInViewport;W(e)&&(e=e()),W(i)&&(i=i());var r=function(t){for(;t&&\"html\"!=t.tagName.toLowerCase();){if(\"static\"!=nr.window.getComputedStyle(t).position)return t;t=t.parentElement;}return null;}(t.parentElement),s=new As(t),a=new As(e);var c,l;if(i||o){var _t235=i&&new As(i).getVisible(),_e211=o&&new As(nr.window);var _ref20=function(t,e,n,i,o){var r,s,a=0,c=0;var l=n.getArea();return t.some(function(t){var _Rh=Rh(t,e,n),_Rh2=_slicedToArray(_Rh,2),d=_Rh2[0],u=_Rh2[1];var h,f;if(i)if(o){var _t236=i.getIntersection(o);h=_t236?_t236.getIntersectionArea(u):0;}else h=i.getIntersectionArea(u);function m(){c=f,a=h,r=u,s=d;}return o&&(f=o.getIntersectionArea(u)),o&&!i?f>c&&m():!o&&i?h>a&&m():f>c&&h>=a?m():f>=c&&h>a&&m(),h===l;}),r?[s,r]:null;}(n,a,s,_t235,_e211)||Rh(n[0],a,s);var _ref21=_slicedToArray(_ref20,2);l=_ref21[0];c=_ref21[1];}else{var _Rh3=Rh(n[0],a,s);var _Rh4=_slicedToArray(_Rh3,2);l=_Rh4[0];c=_Rh4[1];}var _Dh=Dh(c),d=_Dh.left,u=_Dh.top;if(r){var _t237=Dh(new As(r)),_e212=ys(r);d-=_t237.left,u-=_t237.top,d+=r.scrollLeft,u+=r.scrollTop,d-=_e212.left,u-=_e212.top;}return{left:d,top:u,name:l};}function Rh(t,e,n){var _t238=t(e,n),i=_t238.left,o=_t238.top,r=_t238.name;return[r,n.clone().moveTo(i,o)];}function Dh(_ref22){var t=_ref22.left,e=_ref22.top;var _nr$window2=nr.window,n=_nr$window2.scrollX,i=_nr$window2.scrollY;return{left:t+n,top:e+i};}n(74);var Lh=Vl(\"px\"),jh=nr.document.body;var Vh=/*#__PURE__*/function(_Nl13){_inherits(Vh,_Nl13);var _super99=_createSuper(Vh);function Vh(t){var _this165;_classCallCheck(this,Vh);_this165=_super99.call(this,t);var e=_this165.bindTemplate;_this165.set(\"top\",0),_this165.set(\"left\",0),_this165.set(\"position\",\"arrow_nw\"),_this165.set(\"isVisible\",!1),_this165.set(\"withArrow\",!0),_this165.set(\"class\"),_this165.content=_this165.createCollection(),_this165.setTemplate({tag:\"div\",attributes:{\"class\":[\"ck\",\"ck-balloon-panel\",e.to(\"position\",function(t){return\"ck-balloon-panel_\".concat(t);}),e[\"if\"](\"isVisible\",\"ck-balloon-panel_visible\"),e[\"if\"](\"withArrow\",\"ck-balloon-panel_with-arrow\"),e.to(\"class\")],style:{top:e.to(\"top\",Lh),left:e.to(\"left\",Lh)}},children:_this165.content});return _this165;}_createClass(Vh,[{key:\"show\",value:function show(){this.isVisible=!0;}},{key:\"hide\",value:function hide(){this.isVisible=!1;}},{key:\"attachTo\",value:function attachTo(t){this.show();var e=Vh.defaultPositions,n=Object.assign({},{element:this.element,positions:[e.southArrowNorth,e.southArrowNorthWest,e.southArrowNorthEast,e.northArrowSouth,e.northArrowSouthWest,e.northArrowSouthEast],limiter:jh,fitInViewport:!0},t),_Vh$_getOptimalPositi=Vh._getOptimalPosition(n),i=_Vh$_getOptimalPositi.top,o=_Vh$_getOptimalPositi.left,r=_Vh$_getOptimalPositi.name;Object.assign(this,{top:i,left:o,position:r});}},{key:\"pin\",value:function pin(t){var _this166=this;this.unpin(),this._pinWhenIsVisibleCallback=function(){_this166.isVisible?_this166._startPinning(t):_this166._stopPinning();},this._startPinning(t),this.listenTo(this,\"change:isVisible\",this._pinWhenIsVisibleCallback);}},{key:\"unpin\",value:function unpin(){this._pinWhenIsVisibleCallback&&(this._stopPinning(),this.stopListening(this,\"change:isVisible\",this._pinWhenIsVisibleCallback),this._pinWhenIsVisibleCallback=null,this.hide());}},{key:\"_startPinning\",value:function _startPinning(t){var _this167=this;this.attachTo(t);var e=Bh(t.target),n=t.limiter?Bh(t.limiter):jh;this.listenTo(nr.document,\"scroll\",function(i,o){var r=o.target,s=e&&r.contains(e),a=n&&r.contains(n);!s&&!a&&e&&n||_this167.attachTo(t);},{useCapture:!0}),this.listenTo(nr.window,\"resize\",function(){_this167.attachTo(t);});}},{key:\"_stopPinning\",value:function _stopPinning(){this.stopListening(nr.document,\"scroll\"),this.stopListening(nr.window,\"resize\");}}]);return Vh;}(Nl);function Bh(t){return Wn(t)?t:vs(t)?t.commonAncestorContainer:\"function\"==typeof t?Bh(t()):null;}function zh(t,e){return t.top-e.height-Vh.arrowVerticalOffset;}function Fh(t){return t.bottom+Vh.arrowVerticalOffset;}Vh.arrowHorizontalOffset=25,Vh.arrowVerticalOffset=10,Vh._getOptimalPosition=Oh,Vh.defaultPositions={northArrowSouth:function northArrowSouth(t,e){return{top:zh(t,e),left:t.left+t.width/2-e.width/2,name:\"arrow_s\"};},northArrowSouthEast:function northArrowSouthEast(t,e){return{top:zh(t,e),left:t.left+t.width/2-e.width+Vh.arrowHorizontalOffset,name:\"arrow_se\"};},northArrowSouthWest:function northArrowSouthWest(t,e){return{top:zh(t,e),left:t.left+t.width/2-Vh.arrowHorizontalOffset,name:\"arrow_sw\"};},northWestArrowSouth:function northWestArrowSouth(t,e){return{top:zh(t,e),left:t.left-e.width/2,name:\"arrow_s\"};},northWestArrowSouthWest:function northWestArrowSouthWest(t,e){return{top:zh(t,e),left:t.left-Vh.arrowHorizontalOffset,name:\"arrow_sw\"};},northWestArrowSouthEast:function northWestArrowSouthEast(t,e){return{top:zh(t,e),left:t.left-e.width+Vh.arrowHorizontalOffset,name:\"arrow_se\"};},northEastArrowSouth:function northEastArrowSouth(t,e){return{top:zh(t,e),left:t.right-e.width/2,name:\"arrow_s\"};},northEastArrowSouthEast:function northEastArrowSouthEast(t,e){return{top:zh(t,e),left:t.right-e.width+Vh.arrowHorizontalOffset,name:\"arrow_se\"};},northEastArrowSouthWest:function northEastArrowSouthWest(t,e){return{top:zh(t,e),left:t.right-Vh.arrowHorizontalOffset,name:\"arrow_sw\"};},southArrowNorth:function southArrowNorth(t,e){return{top:Fh(t),left:t.left+t.width/2-e.width/2,name:\"arrow_n\"};},southArrowNorthEast:function southArrowNorthEast(t,e){return{top:Fh(t),left:t.left+t.width/2-e.width+Vh.arrowHorizontalOffset,name:\"arrow_ne\"};},southArrowNorthWest:function southArrowNorthWest(t,e){return{top:Fh(t),left:t.left+t.width/2-Vh.arrowHorizontalOffset,name:\"arrow_nw\"};},southWestArrowNorth:function southWestArrowNorth(t,e){return{top:Fh(t),left:t.left-e.width/2,name:\"arrow_n\"};},southWestArrowNorthWest:function southWestArrowNorthWest(t,e){return{top:Fh(t),left:t.left-Vh.arrowHorizontalOffset,name:\"arrow_nw\"};},southWestArrowNorthEast:function southWestArrowNorthEast(t,e){return{top:Fh(t),left:t.left-e.width+Vh.arrowHorizontalOffset,name:\"arrow_ne\"};},southEastArrowNorth:function southEastArrowNorth(t,e){return{top:Fh(t),left:t.right-e.width/2,name:\"arrow_n\"};},southEastArrowNorthEast:function southEastArrowNorthEast(t,e){return{top:Fh(t),left:t.right-e.width+Vh.arrowHorizontalOffset,name:\"arrow_ne\"};},southEastArrowNorthWest:function southEastArrowNorthWest(t,e){return{top:Fh(t),left:t.right-Vh.arrowHorizontalOffset,name:\"arrow_nw\"};}};var Uh=/*#__PURE__*/function(_$l27){_inherits(Uh,_$l27);var _super100=_createSuper(Uh);function Uh(){_classCallCheck(this,Uh);return _super100.apply(this,arguments);}_createClass(Uh,[{key:\"init\",value:function init(){var _this168=this;this.view=new Vh(),this.positionLimiter=function(){var t=_this168.editor.editing.view,e=t.document.selection.editableElement;return e?t.domConverter.mapViewToDom(e.root):null;},this._stack=new Map(),this.editor.ui.view.body.add(this.view),this.editor.ui.focusTracker.add(this.view.element);}},{key:\"visibleView\",get:function get(){var t=this._stack.get(this.view.content.get(0));return t?t.view:null;}},{key:\"hasView\",value:function hasView(t){return this._stack.has(t);}},{key:\"add\",value:function add(t){if(this.hasView(t.view))throw new Gn.b(\"contextualballoon-add-view-exist: Cannot add configuration of the same view twice.\");this.visibleView&&this.view.content.remove(this.visibleView),this._stack.set(t.view,t),this._show(t);}},{key:\"remove\",value:function remove(t){if(!this.hasView(t))throw new Gn.b(\"contextualballoon-remove-view-not-exist: Cannot remove configuration of not existing view.\");if(this.visibleView===t){this.view.content.remove(t),this._stack[\"delete\"](t);var _e213=Array.from(this._stack.values()).pop();_e213?this._show(_e213):this.view.hide();}else this._stack[\"delete\"](t);}},{key:\"updatePosition\",value:function updatePosition(t){t&&(this._stack.get(this.visibleView).position=t),this.view.pin(this._getBalloonPosition());}},{key:\"_show\",value:function _show(_ref23){var t=_ref23.view,_ref23$balloonClassNa=_ref23.balloonClassName,e=_ref23$balloonClassNa===void 0?\"\":_ref23$balloonClassNa;this.view[\"class\"]=e,this.view.content.add(t),this.view.pin(this._getBalloonPosition());}},{key:\"_getBalloonPosition\",value:function _getBalloonPosition(){var t=Array.from(this._stack.values()).pop().position;return t&&!t.limiter&&(t=Object.assign({},t,{limiter:this.positionLimiter})),t;}}],[{key:\"pluginName\",get:function get(){return\"ContextualBalloon\";}}]);return Uh;}($l);var Hh=n(27),qh=n.n(Hh);function Wh(t){var e=t.editing.view,n=Vh.defaultPositions;return{target:e.domConverter.viewToDom(e.document.selection.getSelectedElement()),positions:[n.northArrowSouth,n.northArrowSouthWest,n.northArrowSouthEast,n.southArrowNorth,n.southArrowNorthWest,n.southArrowNorthEast]};}var Yh=/*#__PURE__*/function(_$l28){_inherits(Yh,_$l28);var _super101=_createSuper(Yh);function Yh(){_classCallCheck(this,Yh);return _super101.apply(this,arguments);}_createClass(Yh,[{key:\"init\",value:function init(){this._createButton(),this._createForm();}},{key:\"destroy\",value:function destroy(){_get(_getPrototypeOf(Yh.prototype),\"destroy\",this).call(this),this._form.destroy();}},{key:\"_createButton\",value:function _createButton(){var _this169=this;var t=this.editor,e=t.t;t.ui.componentFactory.add(\"imageTextAlternative\",function(n){var i=t.commands.get(\"imageTextAlternative\"),o=new qd(n);return o.set({label:e(\"bp\"),icon:qh.a,tooltip:!0}),o.bind(\"isEnabled\").to(i,\"isEnabled\"),_this169.listenTo(o,\"execute\",function(){return _this169._showForm();}),o;});}},{key:\"_createForm\",value:function _createForm(){var _this170=this;var t=this.editor,e=t.editing.view.document;this._balloon=this.editor.plugins.get(\"ContextualBalloon\"),this._form=new Nh(t.locale),this._form.render(),this.listenTo(this._form,\"submit\",function(){t.execute(\"imageTextAlternative\",{newValue:_this170._form.labeledInput.inputView.element.value}),_this170._hideForm(!0);}),this.listenTo(this._form,\"cancel\",function(){_this170._hideForm(!0);}),this._form.keystrokes.set(\"Esc\",function(t,e){_this170._hideForm(!0),e();}),this.listenTo(t.ui,\"update\",function(){uh(e.selection)?_this170._isVisible&&function(t){var e=t.plugins.get(\"ContextualBalloon\");if(uh(t.editing.view.document.selection)){var _n203=Wh(t);e.updatePosition(_n203);}}(t):_this170._hideForm(!0);}),Ah({emitter:this._form,activator:function activator(){return _this170._isVisible;},contextElements:[this._form.element],callback:function callback(){return _this170._hideForm();}});}},{key:\"_showForm\",value:function _showForm(){if(this._isVisible)return;var t=this.editor,e=t.commands.get(\"imageTextAlternative\"),n=this._form.labeledInput;this._balloon.hasView(this._form)||this._balloon.add({view:this._form,position:Wh(t)}),n.value=n.inputView.element.value=e.value||\"\",this._form.labeledInput.select();}},{key:\"_hideForm\",value:function _hideForm(t){this._isVisible&&(this._form.saveButtonView.focus(),this._balloon.remove(this._form),t&&this.editor.editing.view.focus());}},{key:\"_isVisible\",get:function get(){return this._balloon.visibleView==this._form;}}],[{key:\"requires\",get:function get(){return[Uh];}},{key:\"pluginName\",get:function get(){return\"ImageTextAlternativeUI\";}}]);return Yh;}($l);var $h=/*#__PURE__*/function(_$l29){_inherits($h,_$l29);var _super102=_createSuper($h);function $h(){_classCallCheck(this,$h);return _super102.apply(this,arguments);}_createClass($h,null,[{key:\"requires\",get:function get(){return[xh,Yh];}},{key:\"pluginName\",get:function get(){return\"ImageTextAlternative\";}}]);return $h;}($l);n(76);var Gh=/*#__PURE__*/function(_$l30){_inherits(Gh,_$l30);var _super103=_createSuper(Gh);function Gh(){_classCallCheck(this,Gh);return _super103.apply(this,arguments);}_createClass(Gh,null,[{key:\"requires\",get:function get(){return[gh,kh,$h];}},{key:\"pluginName\",get:function get(){return\"Image\";}}]);return Gh;}($l);var Qh=/*#__PURE__*/function(_Nl14){_inherits(Qh,_Nl14);var _super104=_createSuper(Qh);function Qh(t){var _this171;_classCallCheck(this,Qh);_this171=_super104.call(this,t),_this171.buttonView=new qd(t),_this171._fileInputView=new Jh(t),_this171._fileInputView.bind(\"acceptedType\").to(_assertThisInitialized(_this171)),_this171._fileInputView.bind(\"allowMultipleFiles\").to(_assertThisInitialized(_this171)),_this171._fileInputView.delegate(\"done\").to(_assertThisInitialized(_this171)),_this171.setTemplate({tag:\"span\",attributes:{\"class\":\"ck-file-dialog-button\"},children:[_this171.buttonView,_this171._fileInputView]}),_this171.buttonView.on(\"execute\",function(){_this171._fileInputView.open();});return _this171;}_createClass(Qh,[{key:\"focus\",value:function focus(){this.buttonView.focus();}}]);return Qh;}(Nl);var Jh=/*#__PURE__*/function(_Nl15){_inherits(Jh,_Nl15);var _super105=_createSuper(Jh);function Jh(t){var _this172;_classCallCheck(this,Jh);_this172=_super105.call(this,t),_this172.set(\"acceptedType\"),_this172.set(\"allowMultipleFiles\",!1);var e=_this172.bindTemplate;_this172.setTemplate({tag:\"input\",attributes:{\"class\":[\"ck-hidden\"],type:\"file\",tabindex:\"-1\",accept:e.to(\"acceptedType\"),multiple:e.to(\"allowMultipleFiles\")},on:{change:e.to(function(){_this172.element&&_this172.element.files&&_this172.element.files.length&&_this172.fire(\"done\",_this172.element.files),_this172.element.value=\"\";})}});return _this172;}_createClass(Jh,[{key:\"open\",value:function open(){this.element.click();}}]);return Jh;}(Nl);var Kh=n(28),Zh=n.n(Kh);function Xh(t){return /^image\\/(jpeg|png|gif|bmp)$/.test(t.type);}function tf(t){return new Promise(function(e,n){var i=t.getAttribute(\"src\");fetch(i).then(function(t){return t.blob();}).then(function(t){var o=function(t,e){return t.type?t.type:e.match(/data:(image\\/\\w+);base64/)?e.match(/data:(image\\/\\w+);base64/)[1].toLowerCase():\"image/jpeg\";}(t,i),r=function(t,e,n){try{return new File([t],e,{type:n});}catch(t){return null;}}(t,\"image.\".concat(o.replace(\"image/\",\"\")),o);r?e(r):n();})[\"catch\"](n);});}var ef=/*#__PURE__*/function(_$l31){_inherits(ef,_$l31);var _super106=_createSuper(ef);function ef(){_classCallCheck(this,ef);return _super106.apply(this,arguments);}_createClass(ef,[{key:\"init\",value:function init(){var t=this.editor,e=t.t;t.ui.componentFactory.add(\"imageUpload\",function(n){var i=new Qh(n),o=t.commands.get(\"imageUpload\");return i.set({acceptedType:\"image/*\",allowMultipleFiles:!0}),i.buttonView.set({label:e(\"n\"),icon:Zh.a,tooltip:!0}),i.buttonView.bind(\"isEnabled\").to(o),i.on(\"done\",function(e,n){var i=Array.from(n).filter(Xh);i.length&&t.execute(\"imageUpload\",{file:i});}),i;});}}]);return ef;}($l);var nf=n(29),of=n.n(nf);n(78),n(80),n(82);var rf=/*#__PURE__*/function(_$l32){_inherits(rf,_$l32);var _super107=_createSuper(rf);function rf(t){var _this173;_classCallCheck(this,rf);_this173=_super107.call(this,t),_this173.placeholder=\"data:image/svg+xml;utf8,\"+encodeURIComponent(of.a);return _this173;}_createClass(rf,[{key:\"init\",value:function init(){var _this174=this;this.editor.editing.downcastDispatcher.on(\"attribute:uploadStatus:image\",function(){return _this174.uploadStatusChange.apply(_this174,arguments);});}},{key:\"uploadStatusChange\",value:function uploadStatusChange(t,e,n){var i=this.editor,o=e.item,r=o.getAttribute(\"uploadId\");if(!n.consumable.consume(e.item,t.name))return;var s=i.plugins.get(Xd),a=r?e.attributeNewValue:null,c=this.placeholder,l=i.editing.mapper.toViewElement(o),d=n.writer;if(\"reading\"==a)return sf(l,d),void af(c,l,d);if(\"uploading\"==a){var _t239=s.loaders.get(r);return sf(l,d),void(_t239?(cf(l,d),function(t,e,n,i){var o=function(t){var e=t.createUIElement(\"div\",{\"class\":\"ck-progress-bar\"});return t.setCustomProperty(\"progressBar\",!0,e),e;}(e);e.insert(e.createPositionAt(t,\"end\"),o),n.on(\"change:uploadedPercent\",function(t,e,n){i.change(function(t){t.setStyle(\"width\",n+\"%\",o);});});}(l,d,_t239,i.editing.view)):af(c,l,d));}\"complete\"==a&&s.loaders.get(r)&&!mo.isEdge&&function(t,e,n){var i=e.createUIElement(\"div\",{\"class\":\"ck-image-upload-complete-icon\"});e.insert(e.createPositionAt(t,\"end\"),i),setTimeout(function(){n.change(function(t){return t.remove(t.createRangeOn(i));});},3e3);}(l,d,i.editing.view),function(t,e){df(t,e,\"progressBar\");}(l,d),cf(l,d),function(t,e){e.removeClass(\"ck-appear\",t);}(l,d);}}]);return rf;}($l);function sf(t,e){t.hasClass(\"ck-appear\")||e.addClass(\"ck-appear\",t);}function af(t,e,n){e.hasClass(\"ck-image-upload-placeholder\")||n.addClass(\"ck-image-upload-placeholder\",e);var i=e.getChild(0);i.getAttribute(\"src\")!==t&&n.setAttribute(\"src\",t,i),lf(e,\"placeholder\")||n.insert(n.createPositionAfter(i),function(t){var e=t.createUIElement(\"div\",{\"class\":\"ck-upload-placeholder-loader\"});return t.setCustomProperty(\"placeholder\",!0,e),e;}(n));}function cf(t,e){t.hasClass(\"ck-image-upload-placeholder\")&&e.removeClass(\"ck-image-upload-placeholder\",t),df(t,e,\"placeholder\");}function lf(t,e){var _iterator281=_createForOfIteratorHelper(t.getChildren()),_step281;try{for(_iterator281.s();!(_step281=_iterator281.n()).done;){var _n204=_step281.value;if(_n204.getCustomProperty(e))return _n204;}}catch(err){_iterator281.e(err);}finally{_iterator281.f();}}function df(t,e,n){var i=lf(t,n);i&&e.remove(e.createRangeOn(i));}var uf=/*#__PURE__*/function(){function uf(){_classCallCheck(this,uf);}_createClass(uf,[{key:\"createDocumentFragment\",value:function createDocumentFragment(t){return new Ao(t);}},{key:\"createElement\",value:function createElement(t,e,n){return new _i(t,e,n);}},{key:\"createText\",value:function createText(t){return new fi(t);}},{key:\"clone\",value:function clone(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;return t._clone(e);}},{key:\"appendChild\",value:function appendChild(t,e){return e._appendChild(t);}},{key:\"insertChild\",value:function insertChild(t,e,n){return n._insertChild(t,e);}},{key:\"removeChildren\",value:function removeChildren(t,e,n){return n._removeChildren(t,e);}},{key:\"remove\",value:function remove(t){var e=t.parent;return e?this.removeChildren(e.getChildIndex(t),1,e):[];}},{key:\"replace\",value:function replace(t,e){var n=t.parent;if(n){var _i164=n.getChildIndex(t);return this.removeChildren(_i164,1,n),this.insertChild(_i164,e,n),!0;}return!1;}},{key:\"rename\",value:function rename(t,e){var n=new _i(t,e.getAttributes(),e.getChildren());return this.replace(e,n)?n:null;}},{key:\"setAttribute\",value:function setAttribute(t,e,n){n._setAttribute(t,e);}},{key:\"removeAttribute\",value:function removeAttribute(t,e){e._removeAttribute(t);}},{key:\"addClass\",value:function addClass(t,e){e._addClass(t);}},{key:\"removeClass\",value:function removeClass(t,e){e._removeClass(t);}},{key:\"setStyle\",value:function setStyle(t,e,n){C(t)&&void 0===n&&(n=e),n._setStyle(t,e);}},{key:\"removeStyle\",value:function removeStyle(t,e){e._removeStyle(t);}},{key:\"setCustomProperty\",value:function setCustomProperty(t,e,n){n._setCustomProperty(t,e);}},{key:\"removeCustomProperty\",value:function removeCustomProperty(t,e){return e._removeCustomProperty(t);}},{key:\"createPositionAt\",value:function createPositionAt(t,e){return Zi._createAt(t,e);}},{key:\"createPositionAfter\",value:function createPositionAfter(t){return Zi._createAfter(t);}},{key:\"createPositionBefore\",value:function createPositionBefore(t){return Zi._createBefore(t);}},{key:\"createRange\",value:function createRange(t,e){return new Xi(t,e);}},{key:\"createRangeOn\",value:function createRangeOn(t){return Xi._createOn(t);}},{key:\"createRangeIn\",value:function createRangeIn(t){return Xi._createIn(t);}},{key:\"createSelection\",value:function createSelection(t,e,n){return new no(t,e,n);}}]);return uf;}();var hf=/*#__PURE__*/function(_Zl11){_inherits(hf,_Zl11);var _super108=_createSuper(hf);function hf(){_classCallCheck(this,hf);return _super108.apply(this,arguments);}_createClass(hf,[{key:\"refresh\",value:function refresh(){this.isEnabled=mh(this.editor.model);}},{key:\"execute\",value:function execute(t){var e=this.editor,n=e.model,i=e.plugins.get(Xd);n.change(function(e){var o=Array.isArray(t.file)?t.file:[t.file];var _iterator282=_createForOfIteratorHelper(o),_step282;try{for(_iterator282.s();!(_step282=_iterator282.n()).done;){var _t240=_step282.value;ff(e,n,i,_t240);}}catch(err){_iterator282.e(err);}finally{_iterator282.f();}});}}]);return hf;}(Zl);function ff(t,e,n,i){var o=n.createLoader(i);o&&fh(t,e,{uploadId:o.id});}var mf=/*#__PURE__*/function(_$l33){_inherits(mf,_$l33);var _super109=_createSuper(mf);function mf(){_classCallCheck(this,mf);return _super109.apply(this,arguments);}_createClass(mf,[{key:\"init\",value:function init(){var _this175=this;var t=this.editor,e=t.model.document,n=t.model.schema,i=t.conversion,o=t.plugins.get(Xd);n.extend(\"image\",{allowAttributes:[\"uploadId\",\"uploadStatus\"]}),t.commands.add(\"imageUpload\",new hf(t)),i[\"for\"](\"upcast\").attributeToAttribute({view:{name:\"img\",key:\"uploadId\"},model:\"uploadId\"}),this.listenTo(t.editing.view.document,\"clipboardInput\",function(e,n){if(function(t){return Array.from(t.types).includes(\"text/html\")&&\"\"!==t.getData(\"text/html\");}(n.dataTransfer))return;var i=Array.from(n.dataTransfer.files).filter(function(t){return!!t&&Xh(t);}),o=n.targetRanges.map(function(e){return t.editing.mapper.toModelRange(e);});t.model.change(function(n){n.setSelection(o),i.length&&(e.stop(),t.model.enqueueChange(\"default\",function(){t.execute(\"imageUpload\",{file:i});}));});}),t.plugins.has(\"Clipboard\")&&this.listenTo(t.plugins.get(\"Clipboard\"),\"inputTransformation\",function(e,n){var i=Array.from(t.editing.view.createRangeIn(n.content)).filter(function(t){return function(t){return!(!t.is(\"element\",\"img\")||!t.getAttribute(\"src\"))&&(t.getAttribute(\"src\").match(/^data:image\\/\\w+;base64,/g)||t.getAttribute(\"src\").match(/^blob:/g));}(t.item)&&!t.item.getAttribute(\"uploadProcessed\");}).map(function(t){return{promise:tf(t.item),imageElement:t.item};});if(!i.length)return;var r=new uf();var _iterator283=_createForOfIteratorHelper(i),_step283;try{for(_iterator283.s();!(_step283=_iterator283.n()).done;){var _t241=_step283.value;r.setAttribute(\"uploadProcessed\",!0,_t241.imageElement);var _e214=o.createLoader(_t241.promise);_e214&&(r.setAttribute(\"src\",\"\",_t241.imageElement),r.setAttribute(\"uploadId\",_e214.id,_t241.imageElement));}}catch(err){_iterator283.e(err);}finally{_iterator283.f();}}),t.editing.view.document.on(\"dragover\",function(t,e){e.preventDefault();}),e.on(\"change\",function(){var t=e.differ.getChanges({includeChangesInGraveyard:!0});var _iterator284=_createForOfIteratorHelper(t),_step284;try{for(_iterator284.s();!(_step284=_iterator284.n()).done;){var _e215=_step284.value;if(\"insert\"==_e215.type&&\"image\"==_e215.name){var _t242=_e215.position.nodeAfter,_n205=\"$graveyard\"==_e215.position.root.rootName,_i165=_t242.getAttribute(\"uploadId\");if(!_i165)continue;var _r38=o.loaders.get(_i165);if(!_r38)continue;_n205?_r38.abort():\"idle\"==_r38.status&&_this175._readAndUpload(_r38,_t242);}}}catch(err){_iterator284.e(err);}finally{_iterator284.f();}});}},{key:\"_readAndUpload\",value:function _readAndUpload(t,e){var _this176=this;var n=this.editor,i=n.model,o=n.locale.t,r=n.plugins.get(Xd),s=n.plugins.get(Lu);return i.enqueueChange(\"transparent\",function(t){t.setAttribute(\"uploadStatus\",\"reading\",e);}),t.read().then(function(o){var r=n.editing.mapper.toViewElement(e).getChild(0),s=t.upload();return n.editing.view.change(function(t){t.setAttribute(\"src\",o,r);}),i.enqueueChange(\"transparent\",function(t){t.setAttribute(\"uploadStatus\",\"uploading\",e);}),s;}).then(function(t){i.enqueueChange(\"transparent\",function(n){n.setAttributes({uploadStatus:\"complete\",src:t[\"default\"]},e),_this176._parseAndSetSrcsetAttributeOnImage(t,e,n);}),a();})[\"catch\"](function(n){if(\"error\"!==t.status&&\"aborted\"!==t.status)throw n;\"error\"==t.status&&n&&s.showWarning(n,{title:o(\"aj\"),namespace:\"upload\"}),a(),i.enqueueChange(\"transparent\",function(t){t.remove(e);});});function a(){i.enqueueChange(\"transparent\",function(t){t.removeAttribute(\"uploadId\",e),t.removeAttribute(\"uploadStatus\",e);}),r.destroyLoader(t);}}},{key:\"_parseAndSetSrcsetAttributeOnImage\",value:function _parseAndSetSrcsetAttributeOnImage(t,e,n){var i=0;var o=Object.keys(t).filter(function(t){var e=parseInt(t,10);if(!isNaN(e))return i=Math.max(i,e),!0;}).map(function(e){return\"\".concat(t[e],\" \").concat(e,\"w\");}).join(\", \");\"\"!=o&&n.setAttribute(\"srcset\",{data:o,width:i},e);}}],[{key:\"requires\",get:function get(){return[Xd,Lu];}}]);return mf;}($l);var pf=/*#__PURE__*/function(_$l34){_inherits(pf,_$l34);var _super110=_createSuper(pf);function pf(){_classCallCheck(this,pf);return _super110.apply(this,arguments);}_createClass(pf,null,[{key:\"pluginName\",get:function get(){return\"ImageUpload\";}},{key:\"requires\",get:function get(){return[mf,ef,rf];}}]);return pf;}($l);var gf=/*#__PURE__*/function(_Zl12){_inherits(gf,_Zl12);var _super111=_createSuper(gf);function gf(){_classCallCheck(this,gf);return _super111.apply(this,arguments);}_createClass(gf,[{key:\"refresh\",value:function refresh(){var t=this.editor.model,e=Au(t.document.selection.getSelectedBlocks());this.value=!!e&&e.is(\"paragraph\"),this.isEnabled=!!e&&bf(e,t.schema);}},{key:\"execute\",value:function execute(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var e=this.editor.model,n=e.document;e.change(function(i){var o=(t.selection||n.selection).getSelectedBlocks();var _iterator285=_createForOfIteratorHelper(o),_step285;try{for(_iterator285.s();!(_step285=_iterator285.n()).done;){var _t243=_step285.value;!_t243.is(\"paragraph\")&&bf(_t243,e.schema)&&i.rename(_t243,\"paragraph\");}}catch(err){_iterator285.e(err);}finally{_iterator285.f();}});}}]);return gf;}(Zl);function bf(t,e){return e.checkChild(t.parent,\"paragraph\")&&!e.isObject(t);}var wf=/*#__PURE__*/function(_$l35){_inherits(wf,_$l35);var _super112=_createSuper(wf);function wf(){_classCallCheck(this,wf);return _super112.apply(this,arguments);}_createClass(wf,[{key:\"init\",value:function init(){var _this177=this;var t=this.editor,e=t.model,n=t.data;t.commands.add(\"paragraph\",new gf(t)),e.schema.register(\"paragraph\",{inheritAllFrom:\"$block\"}),t.conversion.elementToElement({model:\"paragraph\",view:\"p\"}),n.upcastDispatcher.on(\"element\",function(t,e,n){var i=n.writer;if(n.consumable.test(e.viewItem,{name:e.viewItem.name}))if(wf.paragraphLikeElements.has(e.viewItem.name)){if(e.viewItem.isEmpty)return;var _t244=i.createElement(\"paragraph\"),_o78=n.splitToAllowedParent(_t244,e.modelCursor);if(!_o78)return;i.insert(_t244,_o78.position);var _n$convertChildren3=n.convertChildren(e.viewItem,i.createPositionAt(_t244,0)),_r39=_n$convertChildren3.modelRange;e.modelRange=i.createRange(i.createPositionBefore(_t244),_r39.end),e.modelCursor=e.modelRange.end;}else kf(e.viewItem,e.modelCursor,n.schema)&&(e=Object.assign(e,_f(e.viewItem,e.modelCursor,n)));},{priority:\"low\"}),n.upcastDispatcher.on(\"text\",function(t,e,n){e.modelRange||kf(e.viewItem,e.modelCursor,n.schema)&&(e=Object.assign(e,_f(e.viewItem,e.modelCursor,n)));},{priority:\"lowest\"}),e.document.registerPostFixer(function(t){return _this177._autoparagraphEmptyRoots(t);}),t.data.on(\"ready\",function(){e.enqueueChange(\"transparent\",function(t){return _this177._autoparagraphEmptyRoots(t);});},{priority:\"lowest\"});}},{key:\"_autoparagraphEmptyRoots\",value:function _autoparagraphEmptyRoots(t){var e=this.editor.model;var _iterator286=_createForOfIteratorHelper(e.document.getRootNames()),_step286;try{for(_iterator286.s();!(_step286=_iterator286.n()).done;){var _n206=_step286.value;var _i166=e.document.getRoot(_n206);if(_i166.isEmpty&&\"$graveyard\"!=_i166.rootName&&e.schema.checkChild(_i166,\"paragraph\"))return t.insertElement(\"paragraph\",_i166),!0;}}catch(err){_iterator286.e(err);}finally{_iterator286.f();}}}],[{key:\"pluginName\",get:function get(){return\"Paragraph\";}}]);return wf;}($l);function _f(t,e,n){var i=n.writer.createElement(\"paragraph\");return n.writer.insert(i,e),n.convertItem(t,n.writer.createPositionAt(i,0));}function kf(t,e,n){var i=n.createContext(e);return!!n.checkChild(i,\"paragraph\")&&!!n.checkChild(i.push(\"paragraph\"),t);}wf.paragraphLikeElements=new Set([\"blockquote\",\"dd\",\"div\",\"dt\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"li\",\"p\",\"td\"]);var vf=/*#__PURE__*/function(_Zl13){_inherits(vf,_Zl13);var _super113=_createSuper(vf);function vf(t,e){var _this178;_classCallCheck(this,vf);_this178=_super113.call(this,t),_this178.modelElements=e;return _this178;}_createClass(vf,[{key:\"refresh\",value:function refresh(){var _this179=this;var t=Au(this.editor.model.document.selection.getSelectedBlocks());this.value=!!t&&this.modelElements.includes(t.name)&&t.name,this.isEnabled=!!t&&this.modelElements.some(function(e){return yf(t,e,_this179.editor.model.schema);});}},{key:\"execute\",value:function execute(t){var e=this.editor.model,n=e.document,i=t.value;e.change(function(t){var o=Array.from(n.selection.getSelectedBlocks()).filter(function(t){return yf(t,i,e.schema);});var _iterator287=_createForOfIteratorHelper(o),_step287;try{for(_iterator287.s();!(_step287=_iterator287.n()).done;){var _e216=_step287.value;_e216.is(i)||t.rename(_e216,i);}}catch(err){_iterator287.e(err);}finally{_iterator287.f();}});}}]);return vf;}(Zl);function yf(t,e,n){return n.checkChild(t.parent,e)&&!n.isObject(t);}var xf=\"paragraph\";var Af=/*#__PURE__*/function(_$l36){_inherits(Af,_$l36);var _super114=_createSuper(Af);function Af(t){var _this180;_classCallCheck(this,Af);_this180=_super114.call(this,t),t.config.define(\"heading\",{options:[{model:\"paragraph\",title:\"Paragraph\",\"class\":\"ck-heading_paragraph\"},{model:\"heading1\",view:\"h2\",title:\"Heading 1\",\"class\":\"ck-heading_heading1\"},{model:\"heading2\",view:\"h3\",title:\"Heading 2\",\"class\":\"ck-heading_heading2\"},{model:\"heading3\",view:\"h4\",title:\"Heading 3\",\"class\":\"ck-heading_heading3\"}]});return _this180;}_createClass(Af,[{key:\"init\",value:function init(){var t=this.editor,e=t.config.get(\"heading.options\"),n=[];var _iterator288=_createForOfIteratorHelper(e),_step288;try{for(_iterator288.s();!(_step288=_iterator288.n()).done;){var _i167=_step288.value;_i167.model!==xf&&(t.model.schema.register(_i167.model,{inheritAllFrom:\"$block\"}),t.conversion.elementToElement(_i167),n.push(_i167.model));}}catch(err){_iterator288.e(err);}finally{_iterator288.f();}this._addDefaultH1Conversion(t),t.commands.add(\"heading\",new vf(t,n));}},{key:\"afterInit\",value:function afterInit(){var t=this.editor,e=t.commands.get(\"enter\"),n=t.config.get(\"heading.options\");e&&this.listenTo(e,\"afterExecute\",function(e,i){var o=t.model.document.selection.getFirstPosition().parent;n.some(function(t){return o.is(t.model);})&&!o.is(xf)&&0===o.childCount&&i.writer.rename(o,xf);});}},{key:\"_addDefaultH1Conversion\",value:function _addDefaultH1Conversion(t){t.conversion[\"for\"](\"upcast\").elementToElement({model:\"heading1\",view:\"h1\",converterPriority:Zn.get(\"low\")+1});}}],[{key:\"requires\",get:function get(){return[wf];}}]);return Af;}($l);var Cf=/*#__PURE__*/_createClass(function Cf(t,e){_classCallCheck(this,Cf);e&&Li(this,e),t&&this.set(t);});ci(Cf,Fi);var Tf=/*#__PURE__*/function(_Nl16){_inherits(Tf,_Nl16);var _super115=_createSuper(Tf);function Tf(t){var _this181;_classCallCheck(this,Tf);_this181=_super115.call(this,t);var e=_this181.bindTemplate;_this181.set(\"isVisible\",!1),_this181.set(\"position\",\"se\"),_this181.children=_this181.createCollection(),_this181.setTemplate({tag:\"div\",attributes:{\"class\":[\"ck\",\"ck-reset\",\"ck-dropdown__panel\",e.to(\"position\",function(t){return\"ck-dropdown__panel_\".concat(t);}),e[\"if\"](\"isVisible\",\"ck-dropdown__panel-visible\")]},children:_this181.children,on:{selectstart:e.to(function(t){return t.preventDefault();})}});return _this181;}_createClass(Tf,[{key:\"focus\",value:function focus(){this.children.length&&this.children.first.focus();}},{key:\"focusLast\",value:function focusLast(){if(this.children.length){var _t245=this.children.last;\"function\"==typeof _t245.focusLast?_t245.focusLast():_t245.focus();}}}]);return Tf;}(Nl);n(84);var Pf=/*#__PURE__*/function(_Nl17){_inherits(Pf,_Nl17);var _super116=_createSuper(Pf);function Pf(t,e,n){var _this182;_classCallCheck(this,Pf);_this182=_super116.call(this,t);var i=_this182.bindTemplate;_this182.buttonView=e,_this182.panelView=n,_this182.set(\"isOpen\",!1),_this182.set(\"isEnabled\",!0),_this182.set(\"class\"),_this182.set(\"panelPosition\",\"auto\"),_this182.focusTracker=new il(),_this182.keystrokes=new Gc(),_this182.setTemplate({tag:\"div\",attributes:{\"class\":[\"ck\",\"ck-dropdown\",i.to(\"class\"),i[\"if\"](\"isEnabled\",\"ck-disabled\",function(t){return!t;})]},children:[e,n]}),e.extendTemplate({attributes:{\"class\":[\"ck-dropdown__button\"]}});return _this182;}_createClass(Pf,[{key:\"render\",value:function render(){var _this183=this;_get(_getPrototypeOf(Pf.prototype),\"render\",this).call(this),this.listenTo(this.buttonView,\"open\",function(){_this183.isOpen=!_this183.isOpen;}),this.panelView.bind(\"isVisible\").to(this,\"isOpen\"),this.on(\"change:isOpen\",function(){if(_this183.isOpen)if(\"auto\"===_this183.panelPosition){var _t246=Pf.defaultPanelPositions;_this183.panelView.position=Oh({element:_this183.panelView.element,target:_this183.buttonView.element,fitInViewport:!0,positions:[_t246.southEast,_t246.southWest,_t246.northEast,_t246.northWest]}).name;}else _this183.panelView.position=_this183.panelPosition;}),this.keystrokes.listenTo(this.element),this.focusTracker.add(this.element);var t=function t(_t247,e){_this183.isOpen&&(_this183.buttonView.focus(),_this183.isOpen=!1,e());};this.keystrokes.set(\"arrowdown\",function(t,e){_this183.buttonView.isEnabled&&!_this183.isOpen&&(_this183.isOpen=!0,e());}),this.keystrokes.set(\"arrowright\",function(t,e){_this183.isOpen&&e();}),this.keystrokes.set(\"arrowleft\",t),this.keystrokes.set(\"esc\",t);}},{key:\"focus\",value:function focus(){this.buttonView.focus();}}]);return Pf;}(Nl);Pf.defaultPanelPositions={southEast:function southEast(t){return{top:t.bottom,left:t.left,name:\"se\"};},southWest:function southWest(t,e){return{top:t.bottom,left:t.left-e.width+t.width,name:\"sw\"};},northEast:function northEast(t,e){return{top:t.top-e.height,left:t.left,name:\"ne\"};},northWest:function northWest(t,e){return{top:t.bottom-e.height,left:t.left-e.width+t.width,name:\"nw\"};}};var Mf=n(30),Ef=n.n(Mf);var Sf=/*#__PURE__*/function(_qd){_inherits(Sf,_qd);var _super117=_createSuper(Sf);function Sf(t){var _this184;_classCallCheck(this,Sf);_this184=_super117.call(this,t),_this184.arrowView=_this184._createArrowView(),_this184.extendTemplate({attributes:{\"aria-haspopup\":!0}}),_this184.delegate(\"execute\").to(_assertThisInitialized(_this184),\"open\");return _this184;}_createClass(Sf,[{key:\"render\",value:function render(){_get(_getPrototypeOf(Sf.prototype),\"render\",this).call(this),this.children.add(this.arrowView);}},{key:\"_createArrowView\",value:function _createArrowView(){var t=new Ud();return t.content=Ef.a,t.extendTemplate({attributes:{\"class\":\"ck-dropdown__arrow\"}}),t;}}]);return Sf;}(qd);n(86);var If=/*#__PURE__*/function(_Nl18){_inherits(If,_Nl18);var _super118=_createSuper(If);function If(){var _this185;_classCallCheck(this,If);_this185=_super118.call(this),_this185.items=_this185.createCollection(),_this185.focusTracker=new il(),_this185.keystrokes=new Gc(),_this185._focusCycler=new Fl({focusables:_this185.items,focusTracker:_this185.focusTracker,keystrokeHandler:_this185.keystrokes,actions:{focusPrevious:\"arrowup\",focusNext:\"arrowdown\"}}),_this185.setTemplate({tag:\"ul\",attributes:{\"class\":[\"ck\",\"ck-reset\",\"ck-list\"]},children:_this185.items});return _this185;}_createClass(If,[{key:\"render\",value:function render(){var _this186=this;_get(_getPrototypeOf(If.prototype),\"render\",this).call(this);var _iterator289=_createForOfIteratorHelper(this.items),_step289;try{for(_iterator289.s();!(_step289=_iterator289.n()).done;){var _t248=_step289.value;this.focusTracker.add(_t248.element);}}catch(err){_iterator289.e(err);}finally{_iterator289.f();}this.items.on(\"add\",function(t,e){_this186.focusTracker.add(e.element);}),this.items.on(\"remove\",function(t,e){_this186.focusTracker.remove(e.element);}),this.keystrokes.listenTo(this.element);}},{key:\"focus\",value:function focus(){this._focusCycler.focusFirst();}},{key:\"focusLast\",value:function focusLast(){this._focusCycler.focusLast();}}]);return If;}(Nl);var Nf=/*#__PURE__*/function(_Nl19){_inherits(Nf,_Nl19);var _super119=_createSuper(Nf);function Nf(t){var _this187;_classCallCheck(this,Nf);_this187=_super119.call(this,t),_this187.children=_this187.createCollection(),_this187.setTemplate({tag:\"li\",attributes:{\"class\":[\"ck\",\"ck-list__item\"]},children:_this187.children});return _this187;}_createClass(Nf,[{key:\"focus\",value:function focus(){this.children.first.focus();}}]);return Nf;}(Nl);var Of=/*#__PURE__*/function(_Nl20){_inherits(Of,_Nl20);var _super120=_createSuper(Of);function Of(t){var _this188;_classCallCheck(this,Of);_this188=_super120.call(this,t),_this188.setTemplate({tag:\"li\",attributes:{\"class\":[\"ck\",\"ck-list__separator\"]}});return _this188;}return _createClass(Of);}(Nl);n(88);var Rf=/*#__PURE__*/function(_qd2){_inherits(Rf,_qd2);var _super121=_createSuper(Rf);function Rf(t){var _this189;_classCallCheck(this,Rf);_this189=_super121.call(this,t),_this189.toggleSwitchView=_this189._createToggleView(),_this189.extendTemplate({attributes:{\"class\":\"ck-switchbutton\"}});return _this189;}_createClass(Rf,[{key:\"render\",value:function render(){_get(_getPrototypeOf(Rf.prototype),\"render\",this).call(this),this.children.add(this.toggleSwitchView);}},{key:\"_createToggleView\",value:function _createToggleView(){var t=new Nl();return t.setTemplate({tag:\"span\",attributes:{\"class\":[\"ck\",\"ck-button__toggle\"]},children:[{tag:\"span\",attributes:{\"class\":[\"ck\",\"ck-button__toggle__inner\"]}}]}),t;}}]);return Rf;}(qd);n(90),n(92);function Df(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:Sf;var n=new e(t),i=new Tf(t),o=new Pf(t,n,i);return n.bind(\"isEnabled\").to(o),n instanceof Sf?n.bind(\"isOn\").to(o,\"isOpen\"):n.arrowView.bind(\"isOn\").to(o,\"isOpen\"),function(t){(function(t){t.on(\"render\",function(){Ah({emitter:t,activator:function activator(){return t.isOpen;},callback:function callback(){t.isOpen=!1;},contextElements:[t.element]});});})(t),function(t){t.on(\"execute\",function(e){e.source instanceof Rf||(t.isOpen=!1);});}(t),function(t){t.keystrokes.set(\"arrowdown\",function(e,n){t.isOpen&&(t.panelView.focus(),n());}),t.keystrokes.set(\"arrowup\",function(e,n){t.isOpen&&(t.panelView.focusLast(),n());});}(t);}(o),o;}function Lf(t,e){var n=t.locale,i=t.listView=new If(n);i.items.bindTo(e).using(function(_ref24){var t=_ref24.type,e=_ref24.model;if(\"separator\"===t)return new Of(n);if(\"button\"===t||\"switchbutton\"===t){var _o80;var _i168=new Nf(n);var _o79;return(_o80=_o79=\"button\"===t?new qd(n):new Rf(n)).bind.apply(_o80,_toConsumableArray(Object.keys(e))).to(e),_o79.delegate(\"execute\").to(_i168),_i168.children.add(_o79),_i168;}}),t.panelView.children.add(i),i.items.delegate(\"execute\").to(t);}n(17);var jf=/*#__PURE__*/function(_$l37){_inherits(jf,_$l37);var _super122=_createSuper(jf);function jf(){_classCallCheck(this,jf);return _super122.apply(this,arguments);}_createClass(jf,[{key:\"init\",value:function init(){var _this190=this;var t=this.editor,e=t.t,n=function(t){var e=t.t,n={Paragraph:e(\"bi\"),\"Heading 1\":e(\"bj\"),\"Heading 2\":e(\"bk\"),\"Heading 3\":e(\"bl\"),\"Heading 4\":e(\"bm\"),\"Heading 5\":e(\"bn\"),\"Heading 6\":e(\"bo\")};return t.config.get(\"heading.options\").map(function(t){var e=n[t.title];return e&&e!=t.title&&(t.title=e),t;});}(t),i=e(\"f\"),o=e(\"g\");t.ui.componentFactory.add(\"heading\",function(e){var r={},s=new oo(),a=t.commands.get(\"heading\"),c=t.commands.get(\"paragraph\"),l=[a];var _iterator290=_createForOfIteratorHelper(n),_step290;try{var _loop6=function _loop6(){var t=_step290.value;var e={type:\"button\",model:new Cf({label:t.title,\"class\":t[\"class\"],withText:!0})};\"paragraph\"===t.model?(e.model.bind(\"isOn\").to(c,\"value\"),e.model.set(\"commandName\",\"paragraph\"),l.push(c)):(e.model.bind(\"isOn\").to(a,\"value\",function(e){return e===t.model;}),e.model.set({commandName:\"heading\",commandValue:t.model})),s.add(e),r[t.model]=t.title;};for(_iterator290.s();!(_step290=_iterator290.n()).done;){_loop6();}}catch(err){_iterator290.e(err);}finally{_iterator290.f();}var d=Df(e);return Lf(d,s),d.buttonView.set({isOn:!1,withText:!0,tooltip:o}),d.extendTemplate({attributes:{\"class\":[\"ck-heading-dropdown\"]}}),d.bind(\"isEnabled\").toMany(l,\"isEnabled\",function(){for(var _len18=arguments.length,t=new Array(_len18),_key18=0;_key18<_len18;_key18++){t[_key18]=arguments[_key18];}return t.some(function(t){return t;});}),d.buttonView.bind(\"label\").to(a,\"value\",c,\"value\",function(t,e){var n=t||e&&\"paragraph\";return r[n]?r[n]:i;}),_this190.listenTo(d,\"execute\",function(e){t.execute(e.source.commandName,e.source.commandValue?{value:e.source.commandValue}:void 0),t.editing.view.focus();}),d;});}}]);return jf;}($l);function Vf(t){var _iterator291=_createForOfIteratorHelper(t.getChildren()),_step291;try{for(_iterator291.s();!(_step291=_iterator291.n()).done;){var _e217=_step291.value;if(_e217&&_e217.is(\"caption\"))return _e217;}}catch(err){_iterator291.e(err);}finally{_iterator291.f();}return null;}function Bf(t){var e=t.parent;return\"figcaption\"==t.name&&e&&\"figure\"==e.name&&e.hasClass(\"image\")?{name:!0}:null;}var zf=/*#__PURE__*/function(_$l38){_inherits(zf,_$l38);var _super123=_createSuper(zf);function zf(){_classCallCheck(this,zf);return _super123.apply(this,arguments);}_createClass(zf,[{key:\"init\",value:function init(){var _this191=this;var t=this.editor,e=t.editing.view,n=t.model.schema,i=t.data,o=t.editing,r=t.t;n.register(\"caption\",{allowIn:\"image\",allowContentOf:\"$block\",isLimit:!0}),t.model.document.registerPostFixer(function(t){return _this191._insertMissingModelCaptionElement(t);}),t.conversion[\"for\"](\"upcast\").elementToElement({view:Bf,model:\"caption\"});i.downcastDispatcher.on(\"insert:caption\",Ff(function(t){return t.createContainerElement(\"figcaption\");},!1));var s=function(t,e){return function(n){var i=n.createEditableElement(\"figcaption\");return n.setCustomProperty(\"imageCaption\",!0,i),sl({view:t,element:i,text:e}),ch(i,n);};}(e,r(\"ai\"));o.downcastDispatcher.on(\"insert:caption\",Ff(s)),o.downcastDispatcher.on(\"insert\",this._fixCaptionVisibility(function(t){return t.item;}),{priority:\"high\"}),o.downcastDispatcher.on(\"remove\",this._fixCaptionVisibility(function(t){return t.position.parent;}),{priority:\"high\"}),e.document.registerPostFixer(function(t){return _this191._updateCaptionVisibility(t);});}},{key:\"_updateCaptionVisibility\",value:function _updateCaptionVisibility(t){var e=this.editor.editing.mapper,n=this._lastSelectedCaption;var i;var o=this.editor.model.document.selection,r=o.getSelectedElement();if(r&&r.is(\"image\")){var _t249=Vf(r);i=e.toViewElement(_t249);}var s=Uf(o.getFirstPosition().parent);if(s&&(i=e.toViewElement(s)),i)return n?n===i?qf(i,t):(Hf(n,t),this._lastSelectedCaption=i,qf(i,t)):(this._lastSelectedCaption=i,qf(i,t));if(n){var _e218=Hf(n,t);return this._lastSelectedCaption=null,_e218;}return!1;}},{key:\"_fixCaptionVisibility\",value:function _fixCaptionVisibility(t){var _this192=this;return function(e,n,i){var o=Uf(t(n)),r=_this192.editor.editing.mapper,s=i.writer;if(o){var _t250=r.toViewElement(o);_t250&&(o.childCount?s.removeClass(\"ck-hidden\",_t250):s.addClass(\"ck-hidden\",_t250));}};}},{key:\"_insertMissingModelCaptionElement\",value:function _insertMissingModelCaptionElement(t){var e=this.editor.model,n=e.document.differ.getChanges(),i=[];var _iterator292=_createForOfIteratorHelper(n),_step292;try{for(_iterator292.s();!(_step292=_iterator292.n()).done;){var _t251=_step292.value;if(\"insert\"==_t251.type&&\"$text\"!=_t251.name){var _n207=_t251.position.nodeAfter;if(_n207.is(\"image\")&&!Vf(_n207)&&i.push(_n207),!_n207.is(\"image\")&&_n207.childCount){var _iterator293=_createForOfIteratorHelper(e.createRangeIn(_n207).getItems()),_step293;try{for(_iterator293.s();!(_step293=_iterator293.n()).done;){var _t252=_step293.value;_t252.is(\"image\")&&!Vf(_t252)&&i.push(_t252);}}catch(err){_iterator293.e(err);}finally{_iterator293.f();}}}}}catch(err){_iterator292.e(err);}finally{_iterator292.f();}for(var _i170=0,_i169=i;_i170<_i169.length;_i170++){var _e219=_i169[_i170];t.appendElement(\"caption\",_e219);}return!!i.length;}}]);return zf;}($l);function Ff(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!0;return function(n,i,o){var r=i.item;if((r.childCount||e)&&hh(r.parent)){if(!o.consumable.consume(i.item,\"insert\"))return;var _e220=o.mapper.toViewElement(i.range.start.parent),_n208=t(o.writer),_s24=o.writer;r.childCount||_s24.addClass(\"ck-hidden\",_n208),function(t,e,n,i){var o=i.writer.createPositionAt(n,\"end\");i.writer.insert(o,t),i.mapper.bindElements(e,t);}(_n208,i.item,_e220,o);}};}function Uf(t){var e=t.getAncestors({includeSelf:!0}).find(function(t){return\"caption\"==t.name;});return e&&e.parent&&\"image\"==e.parent.name?e:null;}function Hf(t,e){return!t.childCount&&!t.hasClass(\"ck-hidden\")&&(e.addClass(\"ck-hidden\",t),!0);}function qf(t,e){return!!t.hasClass(\"ck-hidden\")&&(e.removeClass(\"ck-hidden\",t),!0);}n(95);var Wf=/*#__PURE__*/function(_Zl14){_inherits(Wf,_Zl14);var _super124=_createSuper(Wf);function Wf(t,e){var _this193;_classCallCheck(this,Wf);_this193=_super124.call(this,t),_this193._defaultStyle=!1,_this193.styles=e.reduce(function(t,e){return t[e.name]=e,e.isDefault&&(_this193._defaultStyle=e.name),t;},{});return _this193;}_createClass(Wf,[{key:\"refresh\",value:function refresh(){var t=this.editor.model.document.selection.getSelectedElement();if(this.isEnabled=hh(t),t){if(t.hasAttribute(\"imageStyle\")){var _e221=t.getAttribute(\"imageStyle\");this.value=!!this.styles[_e221]&&_e221;}else this.value=this._defaultStyle;}else this.value=!1;}},{key:\"execute\",value:function execute(t){var _this194=this;var e=t.value,n=this.editor.model,i=n.document.selection.getSelectedElement();n.change(function(t){_this194.styles[e].isDefault?t.removeAttribute(\"imageStyle\",i):t.setAttribute(\"imageStyle\",e,i);});}}]);return Wf;}(Zl);function Yf(t,e){var _iterator294=_createForOfIteratorHelper(e),_step294;try{for(_iterator294.s();!(_step294=_iterator294.n()).done;){var _n209=_step294.value;if(_n209.name===t)return _n209;}}catch(err){_iterator294.e(err);}finally{_iterator294.f();}}var $f=n(13),Gf=n.n($f),Qf=n(14),Jf=n.n(Qf),Kf=n(15),Zf=n.n(Kf),Xf=n(10),tm=n.n(Xf);var em={full:{name:\"full\",title:\"Full size image\",icon:Gf.a,isDefault:!0},side:{name:\"side\",title:\"Side image\",icon:tm.a,className:\"image-style-side\"},alignLeft:{name:\"alignLeft\",title:\"Left aligned image\",icon:Jf.a,className:\"image-style-align-left\"},alignCenter:{name:\"alignCenter\",title:\"Centered image\",icon:Zf.a,className:\"image-style-align-center\"},alignRight:{name:\"alignRight\",title:\"Right aligned image\",icon:tm.a,className:\"image-style-align-right\"}},nm={full:Gf.a,left:Jf.a,right:tm.a,center:Zf.a};function im(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];return t.map(om);}function om(t){if(\"string\"==typeof t){var _e222=t;em[_e222]?t=Object.assign({},em[_e222]):(bs.a.warn(\"image-style-not-found: There is no such image style of given name.\",{name:_e222}),t={name:_e222});}else if(em[t.name]){var _e223=em[t.name],_n210=Object.assign({},t);for(var _i171 in _e223)t.hasOwnProperty(_i171)||(_n210[_i171]=_e223[_i171]);t=_n210;}return\"string\"==typeof t.icon&&nm[t.icon]&&(t.icon=nm[t.icon]),t;}var rm=/*#__PURE__*/function(_$l39){_inherits(rm,_$l39);var _super125=_createSuper(rm);function rm(){_classCallCheck(this,rm);return _super125.apply(this,arguments);}_createClass(rm,[{key:\"init\",value:function init(){var t=this.editor,e=t.model.schema,n=t.data,i=t.editing;t.config.define(\"image.styles\",[\"full\",\"side\"]);var o=im(t.config.get(\"image.styles\"));e.extend(\"image\",{allowAttributes:\"imageStyle\"});var r=function(t){return function(e,n,i){if(!i.consumable.consume(n.item,e.name))return;var o=Yf(n.attributeNewValue,t),r=Yf(n.attributeOldValue,t),s=i.mapper.toViewElement(n.item),a=i.writer;r&&a.removeClass(r.className,s),o&&a.addClass(o.className,s);};}(o);i.downcastDispatcher.on(\"attribute:imageStyle:image\",r),n.downcastDispatcher.on(\"attribute:imageStyle:image\",r),n.upcastDispatcher.on(\"element:figure\",function(t){var e=t.filter(function(t){return!t.isDefault;});return function(t,n,i){if(!n.modelRange)return;var o=n.viewItem,r=Au(n.modelRange.getItems());if(i.schema.checkAttribute(r,\"imageStyle\")){var _iterator295=_createForOfIteratorHelper(e),_step295;try{for(_iterator295.s();!(_step295=_iterator295.n()).done;){var _t253=_step295.value;i.consumable.consume(o,{classes:_t253.className})&&i.writer.setAttribute(\"imageStyle\",_t253.name,r);}}catch(err){_iterator295.e(err);}finally{_iterator295.f();}}};}(o),{priority:\"low\"}),t.commands.add(\"imageStyle\",new Wf(t,o));}}],[{key:\"pluginName\",get:function get(){return\"ImageStyleEditing\";}}]);return rm;}($l);n(97);var sm=/*#__PURE__*/function(_$l40){_inherits(sm,_$l40);var _super126=_createSuper(sm);function sm(){_classCallCheck(this,sm);return _super126.apply(this,arguments);}_createClass(sm,[{key:\"localizedDefaultStylesTitles\",get:function get(){var t=this.editor.t;return{\"Full size image\":t(\"i\"),\"Side image\":t(\"j\"),\"Left aligned image\":t(\"k\"),\"Centered image\":t(\"l\"),\"Right aligned image\":t(\"m\")};}},{key:\"init\",value:function init(){var t=function(t,e){var _iterator296=_createForOfIteratorHelper(t),_step296;try{for(_iterator296.s();!(_step296=_iterator296.n()).done;){var _n211=_step296.value;e[_n211.title]&&(_n211.title=e[_n211.title]);}}catch(err){_iterator296.e(err);}finally{_iterator296.f();}return t;}(im(this.editor.config.get(\"image.styles\")),this.localizedDefaultStylesTitles);var _iterator297=_createForOfIteratorHelper(t),_step297;try{for(_iterator297.s();!(_step297=_iterator297.n()).done;){var _e224=_step297.value;this._createButton(_e224);}}catch(err){_iterator297.e(err);}finally{_iterator297.f();}}},{key:\"_createButton\",value:function _createButton(t){var _this195=this;var e=this.editor,n=\"imageStyle:\".concat(t.name);e.ui.componentFactory.add(n,function(n){var i=e.commands.get(\"imageStyle\"),o=new qd(n);return o.set({label:t.title,icon:t.icon,tooltip:!0}),o.bind(\"isEnabled\").to(i,\"isEnabled\"),o.bind(\"isOn\").to(i,\"value\",function(e){return e===t.name;}),_this195.listenTo(o,\"execute\",function(){return e.execute(\"imageStyle\",{value:t.name});}),o;});}}],[{key:\"pluginName\",get:function get(){return\"ImageStyleUI\";}}]);return sm;}($l);var am=/*#__PURE__*/function(_$l41){_inherits(am,_$l41);var _super127=_createSuper(am);function am(){_classCallCheck(this,am);return _super127.apply(this,arguments);}_createClass(am,[{key:\"init\",value:function init(){var _this196=this;var t=this.editor;if(t.plugins.has(\"BalloonToolbar\")){var _e225=t.plugins.get(\"BalloonToolbar\");this.listenTo(_e225,\"show\",function(e){(function(t){var e=t.getSelectedElement();return!(!e||!rh(e));})(t.editing.view.document.selection)&&e.stop();},{priority:\"high\"});}this._toolbarDefinitions=new Map(),this._balloon=this.editor.plugins.get(\"ContextualBalloon\"),this.listenTo(t.ui,\"update\",function(){_this196._updateToolbarsVisibility();}),this.listenTo(t.ui.focusTracker,\"change:isFocused\",function(){_this196._updateToolbarsVisibility();},{priority:\"low\"});}},{key:\"destroy\",value:function destroy(){_get(_getPrototypeOf(am.prototype),\"destroy\",this).call(this);var _iterator298=_createForOfIteratorHelper(this._toolbarDefinitions.values()),_step298;try{for(_iterator298.s();!(_step298=_iterator298.n()).done;){var _t254=_step298.value;_t254.view.destroy();}}catch(err){_iterator298.e(err);}finally{_iterator298.f();}}},{key:\"register\",value:function register(t,_ref25){var e=_ref25.items,n=_ref25.getRelatedElement,_ref25$balloonClassNa=_ref25.balloonClassName,i=_ref25$balloonClassNa===void 0?\"ck-toolbar-container\":_ref25$balloonClassNa;var o=this.editor,r=new ql();if(this._toolbarDefinitions.has(t))throw new Gn.b(\"widget-toolbar-duplicated: Toolbar with the given id was already added.\",{toolbarId:t});r.fillFromConfig(e,o.ui.componentFactory),this._toolbarDefinitions.set(t,{view:r,getRelatedElement:n,balloonClassName:i});}},{key:\"_updateToolbarsVisibility\",value:function _updateToolbarsVisibility(){var t=0,e=null,n=null;var _iterator299=_createForOfIteratorHelper(this._toolbarDefinitions.values()),_step299;try{for(_iterator299.s();!(_step299=_iterator299.n()).done;){var _i172=_step299.value;var _o81=_i172.getRelatedElement(this.editor.editing.view.document.selection);if(this.editor.ui.focusTracker.isFocused&&_o81){var _r40=_o81.getAncestors().length;_r40>t&&(t=_r40,e=_o81,n=_i172);}else this._hideToolbar(_i172);}}catch(err){_iterator299.e(err);}finally{_iterator299.f();}n&&this._showToolbar(n,e);}},{key:\"_hideToolbar\",value:function _hideToolbar(t){this._isToolbarVisible(t)&&this._balloon.remove(t.view);}},{key:\"_showToolbar\",value:function _showToolbar(t,e){this._isToolbarVisible(t)?function(t,e){var n=t.plugins.get(\"ContextualBalloon\"),i=cm(t,e);n.updatePosition(i);}(this.editor,e):this._balloon.hasView(t.view)||this._balloon.add({view:t.view,position:cm(this.editor,e),balloonClassName:t.balloonClassName});}},{key:\"_isToolbarVisible\",value:function _isToolbarVisible(t){return this._balloon.visibleView==t.view;}}],[{key:\"requires\",get:function get(){return[Uh];}},{key:\"pluginName\",get:function get(){return\"WidgetToolbarRepository\";}}]);return am;}($l);function cm(t,e){var n=t.editing.view,i=Vh.defaultPositions;return{target:n.domConverter.viewToDom(e),positions:[i.northArrowSouth,i.northArrowSouthWest,i.northArrowSouthEast,i.southArrowNorth,i.southArrowNorthWest,i.southArrowNorthEast]};}function lm(t,e,n){return n.createRange(dm(t,e,!0,n),dm(t,e,!1,n));}function dm(t,e,n,i){var o=t.textNode||(n?t.nodeBefore:t.nodeAfter),r=null;for(;o&&o.getAttribute(\"linkHref\")==e;)r=o,o=n?o.previousSibling:o.nextSibling;return r?i.createPositionAt(r,n?\"before\":\"after\"):t;}var um=/*#__PURE__*/function(_Zl15){_inherits(um,_Zl15);var _super128=_createSuper(um);function um(){_classCallCheck(this,um);return _super128.apply(this,arguments);}_createClass(um,[{key:\"refresh\",value:function refresh(){var t=this.editor.model,e=t.document;this.value=e.selection.getAttribute(\"linkHref\"),this.isEnabled=t.schema.checkAttributeInSelection(e.selection,\"linkHref\");}},{key:\"execute\",value:function execute(t){var e=this.editor.model,n=e.document.selection;e.change(function(i){if(n.isCollapsed){var _o82=n.getFirstPosition();if(n.hasAttribute(\"linkHref\")){var _o83=lm(n.getFirstPosition(),n.getAttribute(\"linkHref\"),e);i.setAttribute(\"linkHref\",t,_o83),i.setSelection(_o83);}else if(\"\"!==t){var _e226=Vs(n.getAttributes());_e226.set(\"linkHref\",t);var _r41=i.createText(t,_e226);i.insert(_r41,_o82),i.setSelection(i.createRangeOn(_r41));}}else{var _o84=e.schema.getValidRanges(n.getRanges(),\"linkHref\");var _iterator300=_createForOfIteratorHelper(_o84),_step300;try{for(_iterator300.s();!(_step300=_iterator300.n()).done;){var _e227=_step300.value;i.setAttribute(\"linkHref\",t,_e227);}}catch(err){_iterator300.e(err);}finally{_iterator300.f();}}});}}]);return um;}(Zl);var hm=/*#__PURE__*/function(_Zl16){_inherits(hm,_Zl16);var _super129=_createSuper(hm);function hm(){_classCallCheck(this,hm);return _super129.apply(this,arguments);}_createClass(hm,[{key:\"refresh\",value:function refresh(){this.isEnabled=this.editor.model.document.selection.hasAttribute(\"linkHref\");}},{key:\"execute\",value:function execute(){var t=this.editor.model,e=t.document.selection;t.change(function(n){var i=e.isCollapsed?[lm(e.getFirstPosition(),e.getAttribute(\"linkHref\"),t)]:e.getRanges();var _iterator301=_createForOfIteratorHelper(i),_step301;try{for(_iterator301.s();!(_step301=_iterator301.n()).done;){var _t255=_step301.value;n.removeAttribute(\"linkHref\",_t255);}}catch(err){_iterator301.e(err);}finally{_iterator301.f();}});}}]);return hm;}(Zl);var fm=/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205f\\u3000]/g,mm=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i;function pm(t,e){var n=e.createAttributeElement(\"a\",{href:t},{priority:5});return e.setCustomProperty(\"link\",!0,n),n;}function gm(t){return function(t){return t.replace(fm,\"\").match(mm);}(t=String(t))?t:\"#\";}var bm=/*#__PURE__*/function(){function bm(t,e,n){var _this197=this;_classCallCheck(this,bm);this.model=t,this.attribute=n,this._modelSelection=t.document.selection,this._overrideUid=null,this._isNextGravityRestorationSkipped=!1,e.listenTo(this._modelSelection,\"change:range\",function(t,e){_this197._isNextGravityRestorationSkipped?_this197._isNextGravityRestorationSkipped=!1:_this197._isGravityOverridden&&(!e.directChange&&wm(_this197._modelSelection.getFirstPosition(),n)||_this197._restoreGravity());});}_createClass(bm,[{key:\"handleForwardMovement\",value:function handleForwardMovement(t,e){var n=this.attribute;if(!(this._isGravityOverridden||t.isAtStart&&this._hasSelectionAttribute))return vm(t,n)&&this._hasSelectionAttribute?(this._preventCaretMovement(e),this._removeSelectionAttribute(),!0):_m(t,n)?(this._preventCaretMovement(e),this._overrideGravity(),!0):km(t,n)&&this._hasSelectionAttribute?(this._preventCaretMovement(e),this._overrideGravity(),!0):void 0;}},{key:\"handleBackwardMovement\",value:function handleBackwardMovement(t,e){var n=this.attribute;return this._isGravityOverridden?vm(t,n)&&this._hasSelectionAttribute?(this._preventCaretMovement(e),this._restoreGravity(),this._removeSelectionAttribute(),!0):(this._preventCaretMovement(e),this._restoreGravity(),t.isAtStart&&this._removeSelectionAttribute(),!0):vm(t,n)&&!this._hasSelectionAttribute?(this._preventCaretMovement(e),this._setSelectionAttributeFromTheNodeBefore(t),!0):t.isAtEnd&&km(t,n)?this._hasSelectionAttribute?void(ym(t,n)&&(this._skipNextAutomaticGravityRestoration(),this._overrideGravity())):(this._preventCaretMovement(e),this._setSelectionAttributeFromTheNodeBefore(t),!0):t.isAtStart?this._hasSelectionAttribute?(this._removeSelectionAttribute(),this._preventCaretMovement(e),!0):void 0:void(ym(t,n)&&(this._skipNextAutomaticGravityRestoration(),this._overrideGravity()));}},{key:\"_isGravityOverridden\",get:function get(){return!!this._overrideUid;}},{key:\"_hasSelectionAttribute\",get:function get(){return this._modelSelection.hasAttribute(this.attribute);}},{key:\"_overrideGravity\",value:function _overrideGravity(){this._overrideUid=this.model.change(function(t){return t.overrideSelectionGravity();});}},{key:\"_restoreGravity\",value:function _restoreGravity(){var _this198=this;this.model.change(function(t){t.restoreSelectionGravity(_this198._overrideUid),_this198._overrideUid=null;});}},{key:\"_preventCaretMovement\",value:function _preventCaretMovement(t){t.preventDefault();}},{key:\"_removeSelectionAttribute\",value:function _removeSelectionAttribute(){var _this199=this;this.model.change(function(t){t.removeSelectionAttribute(_this199.attribute);});}},{key:\"_setSelectionAttributeFromTheNodeBefore\",value:function _setSelectionAttributeFromTheNodeBefore(t){var _this200=this;var e=this.attribute;this.model.change(function(n){n.setSelectionAttribute(_this200.attribute,t.nodeBefore.getAttribute(e));});}},{key:\"_skipNextAutomaticGravityRestoration\",value:function _skipNextAutomaticGravityRestoration(){this._isNextGravityRestorationSkipped=!0;}}]);return bm;}();function wm(t,e){return _m(t,e)||km(t,e);}function _m(t,e){var n=t.nodeBefore,i=t.nodeAfter,o=!!n&&n.hasAttribute(e);return!!i&&i.hasAttribute(e)&&(!o||n.getAttribute(e)!==i.getAttribute(e));}function km(t,e){var n=t.nodeBefore,i=t.nodeAfter,o=!!n&&n.hasAttribute(e),r=!!i&&i.hasAttribute(e);return o&&(!r||n.getAttribute(e)!==i.getAttribute(e));}function vm(t,e){var n=t.nodeBefore,i=t.nodeAfter,o=!!n&&n.hasAttribute(e);if(!!i&&i.hasAttribute(e)&&o)return i.getAttribute(e)!==n.getAttribute(e);}function ym(t,e){return wm(t.getShiftedBy(-1),e);}n(99);var xm=\"ck-link_selected\";var Am=/*#__PURE__*/function(_$l42){_inherits(Am,_$l42);var _super130=_createSuper(Am);function Am(){_classCallCheck(this,Am);return _super130.apply(this,arguments);}_createClass(Am,[{key:\"init\",value:function init(){var t=this.editor;t.model.schema.extend(\"$text\",{allowAttributes:\"linkHref\"}),t.conversion[\"for\"](\"dataDowncast\").attributeToElement({model:\"linkHref\",view:pm}),t.conversion[\"for\"](\"editingDowncast\").attributeToElement({model:\"linkHref\",view:function view(t,e){return pm(gm(t),e);}}),t.conversion[\"for\"](\"upcast\").elementToAttribute({view:{name:\"a\",attributes:{href:!0}},model:{key:\"linkHref\",value:function value(t){return t.getAttribute(\"href\");}}}),t.commands.add(\"link\",new um(t)),t.commands.add(\"unlink\",new hm(t)),function(t,e,n,i){var o=new bm(e,n,i),r=e.document.selection;n.listenTo(t.document,\"keydown\",function(t,e){if(!r.isCollapsed)return;if(e.shiftKey||e.altKey||e.ctrlKey)return;var n=e.keyCode==bo.arrowright,i=e.keyCode==bo.arrowleft;if(!n&&!i)return;var s=r.getFirstPosition();var a;(a=n?o.handleForwardMovement(s,e):o.handleBackwardMovement(s,e))&&t.stop();},{priority:Zn.get(\"high\")+1});}(t.editing.view,t.model,this,\"linkHref\"),this._setupLinkHighlight();}},{key:\"_setupLinkHighlight\",value:function _setupLinkHighlight(){var t=this.editor,e=t.editing.view,n=new Set();e.document.registerPostFixer(function(e){var i=t.model.document.selection;if(i.hasAttribute(\"linkHref\")){var _o85=lm(i.getFirstPosition(),i.getAttribute(\"linkHref\"),t.model),_r42=t.editing.mapper.toViewRange(_o85);var _iterator302=_createForOfIteratorHelper(_r42.getItems()),_step302;try{for(_iterator302.s();!(_step302=_iterator302.n()).done;){var _t256=_step302.value;_t256.is(\"a\")&&(e.addClass(xm,_t256),n.add(_t256));}}catch(err){_iterator302.e(err);}finally{_iterator302.f();}}}),t.conversion[\"for\"](\"editingDowncast\").add(function(t){function i(){e.change(function(t){var _iterator303=_createForOfIteratorHelper(n.values()),_step303;try{for(_iterator303.s();!(_step303=_iterator303.n()).done;){var _e228=_step303.value;t.removeClass(xm,_e228),n[\"delete\"](_e228);}}catch(err){_iterator303.e(err);}finally{_iterator303.f();}});}t.on(\"insert\",i,{priority:\"highest\"}),t.on(\"remove\",i,{priority:\"highest\"}),t.on(\"attribute\",i,{priority:\"highest\"}),t.on(\"selection\",i,{priority:\"highest\"});});}}]);return Am;}($l);var Cm=/*#__PURE__*/function(_ts6){_inherits(Cm,_ts6);var _super131=_createSuper(Cm);function Cm(t){var _this201;_classCallCheck(this,Cm);_this201=_super131.call(this,t),_this201.domEventType=\"click\";return _this201;}_createClass(Cm,[{key:\"onDomEvent\",value:function onDomEvent(t){this.fire(t.type,t);}}]);return Cm;}(ts);n(101);var Tm=/*#__PURE__*/function(_Nl21){_inherits(Tm,_Nl21);var _super132=_createSuper(Tm);function Tm(t){var _this202;_classCallCheck(this,Tm);_this202=_super132.call(this,t);var e=t.t;_this202.focusTracker=new il(),_this202.keystrokes=new Gc(),_this202.urlInputView=_this202._createUrlInput(),_this202.saveButtonView=_this202._createButton(e(\"au\"),Eh.a,\"ck-button-save\"),_this202.saveButtonView.type=\"submit\",_this202.cancelButtonView=_this202._createButton(e(\"av\"),Ih.a,\"ck-button-cancel\",\"cancel\"),_this202._focusables=new hl(),_this202._focusCycler=new Fl({focusables:_this202._focusables,focusTracker:_this202.focusTracker,keystrokeHandler:_this202.keystrokes,actions:{focusPrevious:\"shift + tab\",focusNext:\"tab\"}}),_this202.setTemplate({tag:\"form\",attributes:{\"class\":[\"ck\",\"ck-link-form\"],tabindex:\"-1\"},children:[_this202.urlInputView,_this202.saveButtonView,_this202.cancelButtonView]});return _this202;}_createClass(Tm,[{key:\"render\",value:function render(){var _this203=this;_get(_getPrototypeOf(Tm.prototype),\"render\",this).call(this),Ph({view:this}),[this.urlInputView,this.saveButtonView,this.cancelButtonView].forEach(function(t){_this203._focusables.add(t),_this203.focusTracker.add(t.element);}),this.keystrokes.listenTo(this.element);}},{key:\"focus\",value:function focus(){this._focusCycler.focusFirst();}},{key:\"_createUrlInput\",value:function _createUrlInput(){var t=this.locale.t,e=new Ch(this.locale,Th);return e.label=t(\"aw\"),e.inputView.placeholder=\"https://example.com\",e;}},{key:\"_createButton\",value:function _createButton(t,e,n,i){var o=new qd(this.locale);return o.set({label:t,icon:e,tooltip:!0}),o.extendTemplate({attributes:{\"class\":n}}),i&&o.delegate(\"execute\").to(this,i),o;}}]);return Tm;}(Nl);var Pm=n(31),Mm=n.n(Pm),Em=n(32),Sm=n.n(Em);n(103);var Im=/*#__PURE__*/function(_Nl22){_inherits(Im,_Nl22);var _super133=_createSuper(Im);function Im(t){var _this204;_classCallCheck(this,Im);_this204=_super133.call(this,t);var e=t.t;_this204.focusTracker=new il(),_this204.keystrokes=new Gc(),_this204.previewButtonView=_this204._createPreviewButton(),_this204.unlinkButtonView=_this204._createButton(e(\"aq\"),Mm.a,\"unlink\"),_this204.editButtonView=_this204._createButton(e(\"ar\"),Sm.a,\"edit\"),_this204.set(\"href\"),_this204._focusables=new hl(),_this204._focusCycler=new Fl({focusables:_this204._focusables,focusTracker:_this204.focusTracker,keystrokeHandler:_this204.keystrokes,actions:{focusPrevious:\"shift + tab\",focusNext:\"tab\"}}),_this204.setTemplate({tag:\"div\",attributes:{\"class\":[\"ck\",\"ck-link-actions\"],tabindex:\"-1\"},children:[_this204.previewButtonView,_this204.editButtonView,_this204.unlinkButtonView]});return _this204;}_createClass(Im,[{key:\"render\",value:function render(){var _this205=this;_get(_getPrototypeOf(Im.prototype),\"render\",this).call(this),[this.previewButtonView,this.editButtonView,this.unlinkButtonView].forEach(function(t){_this205._focusables.add(t),_this205.focusTracker.add(t.element);}),this.keystrokes.listenTo(this.element);}},{key:\"focus\",value:function focus(){this._focusCycler.focusFirst();}},{key:\"_createButton\",value:function _createButton(t,e,n){var i=new qd(this.locale);return i.set({label:t,icon:e,tooltip:!0}),i.delegate(\"execute\").to(this,n),i;}},{key:\"_createPreviewButton\",value:function _createPreviewButton(){var t=new qd(this.locale),e=this.bindTemplate,n=this.t;return t.set({withText:!0,tooltip:n(\"as\")}),t.extendTemplate({attributes:{\"class\":[\"ck\",\"ck-link-actions__preview\"],href:e.to(\"href\",function(t){return t&&gm(t);}),target:\"_blank\"}}),t.bind(\"label\").to(this,\"href\",function(t){return t||n(\"at\");}),t.bind(\"isEnabled\").to(this,\"href\",function(t){return!!t;}),t.template.tag=\"a\",t.template.eventListeners={},t;}}]);return Im;}(Nl);var Nm=n(33),Om=n.n(Nm);var Rm=\"Ctrl+K\";var Dm=/*#__PURE__*/function(_$l43){_inherits(Dm,_$l43);var _super134=_createSuper(Dm);function Dm(){_classCallCheck(this,Dm);return _super134.apply(this,arguments);}_createClass(Dm,[{key:\"init\",value:function init(){var t=this.editor;t.editing.view.addObserver(Cm),this.actionsView=this._createActionsView(),this.formView=this._createFormView(),this._balloon=t.plugins.get(Uh),this._createToolbarLinkButton(),this._enableUserBalloonInteractions();}},{key:\"destroy\",value:function destroy(){_get(_getPrototypeOf(Dm.prototype),\"destroy\",this).call(this),this.formView.destroy();}},{key:\"_createActionsView\",value:function _createActionsView(){var _this206=this;var t=this.editor,e=new Im(t.locale),n=t.commands.get(\"link\"),i=t.commands.get(\"unlink\");return e.bind(\"href\").to(n,\"value\"),e.editButtonView.bind(\"isEnabled\").to(n),e.unlinkButtonView.bind(\"isEnabled\").to(i),this.listenTo(e,\"edit\",function(){_this206._addFormView();}),this.listenTo(e,\"unlink\",function(){t.execute(\"unlink\"),_this206._hideUI();}),e.keystrokes.set(\"Esc\",function(t,e){_this206._hideUI(),e();}),e.keystrokes.set(Rm,function(t,e){_this206._addFormView(),e();}),e;}},{key:\"_createFormView\",value:function _createFormView(){var _this207=this;var t=this.editor,e=new Tm(t.locale),n=t.commands.get(\"link\");return e.urlInputView.bind(\"value\").to(n,\"value\"),e.urlInputView.bind(\"isReadOnly\").to(n,\"isEnabled\",function(t){return!t;}),e.saveButtonView.bind(\"isEnabled\").to(n),this.listenTo(e,\"submit\",function(){t.execute(\"link\",e.urlInputView.inputView.element.value),_this207._removeFormView();}),this.listenTo(e,\"cancel\",function(){_this207._removeFormView();}),e.keystrokes.set(\"Esc\",function(t,e){_this207._removeFormView(),e();}),e;}},{key:\"_createToolbarLinkButton\",value:function _createToolbarLinkButton(){var _this208=this;var t=this.editor,e=t.commands.get(\"link\"),n=t.t;t.keystrokes.set(Rm,function(t,n){n(),e.isEnabled&&_this208._showUI();}),t.ui.componentFactory.add(\"link\",function(t){var i=new qd(t);return i.isEnabled=!0,i.label=n(\"ao\"),i.icon=Om.a,i.keystroke=Rm,i.tooltip=!0,i.bind(\"isOn\",\"isEnabled\").to(e,\"value\",\"isEnabled\"),_this208.listenTo(i,\"execute\",function(){return _this208._showUI();}),i;});}},{key:\"_enableUserBalloonInteractions\",value:function _enableUserBalloonInteractions(){var _this209=this;var t=this.editor.editing.view.document;this.listenTo(t,\"click\",function(){_this209._getSelectedLinkElement()&&_this209._showUI();}),this.editor.keystrokes.set(\"Tab\",function(t,e){_this209._areActionsVisible&&!_this209.actionsView.focusTracker.isFocused&&(_this209.actionsView.focus(),e());},{priority:\"high\"}),this.editor.keystrokes.set(\"Esc\",function(t,e){_this209._isUIVisible&&(_this209._hideUI(),e());}),Ah({emitter:this.formView,activator:function activator(){return _this209._isUIVisible;},contextElements:[this._balloon.view.element],callback:function callback(){return _this209._hideUI();}});}},{key:\"_addActionsView\",value:function _addActionsView(){this._areActionsInPanel||this._balloon.add({view:this.actionsView,position:this._getBalloonPositionData()});}},{key:\"_addFormView\",value:function _addFormView(){if(this._isFormInPanel)return;var t=this.editor.commands.get(\"link\");this._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this.formView.urlInputView.select(),this.formView.urlInputView.inputView.element.value=t.value||\"\";}},{key:\"_removeFormView\",value:function _removeFormView(){this._isFormInPanel&&(this.formView.saveButtonView.focus(),this._balloon.remove(this.formView),this.editor.editing.view.focus());}},{key:\"_showUI\",value:function _showUI(){this.editor.commands.get(\"link\").isEnabled&&(this._getSelectedLinkElement()?this._areActionsVisible?this._addFormView():this._addActionsView():(this._addActionsView(),this._addFormView()),this._startUpdatingUI());}},{key:\"_hideUI\",value:function _hideUI(){if(!this._isUIInPanel)return;var t=this.editor;this.stopListening(t.ui,\"update\"),t.editing.view.focus(),this._removeFormView(),this._balloon.remove(this.actionsView);}},{key:\"_startUpdatingUI\",value:function _startUpdatingUI(){var _this210=this;var t=this.editor,e=t.editing.view.document;var n=this._getSelectedLinkElement(),i=o();function o(){return e.selection.focus.getAncestors().reverse().find(function(t){return t.is(\"element\");});}this.listenTo(t.ui,\"update\",function(){var t=_this210._getSelectedLinkElement(),e=o();n&&!t||!n&&e!==i?_this210._hideUI():_this210._balloon.updatePosition(_this210._getBalloonPositionData()),n=t,i=e;});}},{key:\"_isFormInPanel\",get:function get(){return this._balloon.hasView(this.formView);}},{key:\"_areActionsInPanel\",get:function get(){return this._balloon.hasView(this.actionsView);}},{key:\"_areActionsVisible\",get:function get(){return this._balloon.visibleView===this.actionsView;}},{key:\"_isUIInPanel\",get:function get(){return this._isFormInPanel||this._areActionsInPanel;}},{key:\"_isUIVisible\",get:function get(){return this._balloon.visibleView==this.formView||this._areActionsVisible;}},{key:\"_getBalloonPositionData\",value:function _getBalloonPositionData(){var t=this.editor.editing.view,e=t.document,n=this._getSelectedLinkElement();return{target:n?t.domConverter.mapViewToDom(n):t.domConverter.viewRangeToDom(e.selection.getFirstRange())};}},{key:\"_getSelectedLinkElement\",value:function _getSelectedLinkElement(){var t=this.editor.editing.view,e=t.document.selection;if(e.isCollapsed)return Lm(e.getFirstPosition());{var _n212=e.getFirstRange().getTrimmed(),_i173=Lm(_n212.start),_o86=Lm(_n212.end);return _i173&&_i173==_o86&&t.createRangeIn(_i173).getTrimmed().isEqual(_n212)?_i173:null;}}}],[{key:\"requires\",get:function get(){return[Uh];}},{key:\"pluginName\",get:function get(){return\"LinkUI\";}}]);return Dm;}($l);function Lm(t){return t.getAncestors().find(function(t){return function(t){return t.is(\"attributeElement\")&&!!t.getCustomProperty(\"link\");}(t);});}var jm=/*#__PURE__*/function(_Zl17){_inherits(jm,_Zl17);var _super135=_createSuper(jm);function jm(t,e){var _this211;_classCallCheck(this,jm);_this211=_super135.call(this,t),_this211.type=\"bulleted\"==e?\"bulleted\":\"numbered\";return _this211;}_createClass(jm,[{key:\"refresh\",value:function refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled();}},{key:\"execute\",value:function execute(){var _this212=this;var t=this.editor.model,e=t.document,n=Array.from(e.selection.getSelectedBlocks()).filter(function(e){return Bm(e,t.schema);}),i=!0===this.value;t.change(function(t){if(i){var _e229=n[n.length-1].nextSibling,_i174=Number.POSITIVE_INFINITY,_o87=[];for(;_e229&&\"listItem\"==_e229.name&&0!==_e229.getAttribute(\"listIndent\");){var _t257=_e229.getAttribute(\"listIndent\");_t257<_i174&&(_i174=_t257);var _n213=_t257-_i174;_o87.push({element:_e229,listIndent:_n213}),_e229=_e229.nextSibling;}_o87=_o87.reverse();var _iterator304=_createForOfIteratorHelper(_o87),_step304;try{for(_iterator304.s();!(_step304=_iterator304.n()).done;){var _e230=_step304.value;t.setAttribute(\"listIndent\",_e230.listIndent,_e230.element);}}catch(err){_iterator304.e(err);}finally{_iterator304.f();}}if(!i){var _t258=Number.POSITIVE_INFINITY;var _iterator305=_createForOfIteratorHelper(n),_step305;try{for(_iterator305.s();!(_step305=_iterator305.n()).done;){var _e231=_step305.value;_e231.is(\"listItem\")&&_e231.getAttribute(\"listIndent\")<_t258&&(_t258=_e231.getAttribute(\"listIndent\"));}}catch(err){_iterator305.e(err);}finally{_iterator305.f();}Vm(n,!0,_t258=0===_t258?1:_t258),Vm(n,!1,_t258);}var _iterator306=_createForOfIteratorHelper(n.reverse()),_step306;try{for(_iterator306.s();!(_step306=_iterator306.n()).done;){var _e232=_step306.value;i&&\"listItem\"==_e232.name?t.rename(_e232,\"paragraph\"):i||\"listItem\"==_e232.name?i||\"listItem\"!=_e232.name||_e232.getAttribute(\"listType\")==_this212.type||t.setAttribute(\"listType\",_this212.type,_e232):(t.setAttributes({listType:_this212.type,listIndent:0},_e232),t.rename(_e232,\"listItem\"));}}catch(err){_iterator306.e(err);}finally{_iterator306.f();}});}},{key:\"_getValue\",value:function _getValue(){var t=Au(this.editor.model.document.selection.getSelectedBlocks());return!!t&&t.is(\"listItem\")&&t.getAttribute(\"listType\")==this.type;}},{key:\"_checkEnabled\",value:function _checkEnabled(){if(this.value)return!0;var t=this.editor.model.document.selection,e=this.editor.model.schema,n=Au(t.getSelectedBlocks());return!!n&&Bm(n,e);}}]);return jm;}(Zl);function Vm(t,e,n){var i=e?t[0]:t[t.length-1];if(i.is(\"listItem\")){var _o88=i[e?\"previousSibling\":\"nextSibling\"],_r43=i.getAttribute(\"listIndent\");for(;_o88&&_o88.is(\"listItem\")&&_o88.getAttribute(\"listIndent\")>=n;)_r43>_o88.getAttribute(\"listIndent\")&&(_r43=_o88.getAttribute(\"listIndent\")),_o88.getAttribute(\"listIndent\")==_r43&&t[e?\"unshift\":\"push\"](_o88),_o88=_o88[e?\"previousSibling\":\"nextSibling\"];}}function Bm(t,e){return e.checkChild(t.parent,\"listItem\")&&!e.isObject(t);}var zm=/*#__PURE__*/function(_Zl18){_inherits(zm,_Zl18);var _super136=_createSuper(zm);function zm(t,e){var _this213;_classCallCheck(this,zm);_this213=_super136.call(this,t),_this213._indentBy=\"forward\"==e?1:-1;return _this213;}_createClass(zm,[{key:\"refresh\",value:function refresh(){this.isEnabled=this._checkEnabled();}},{key:\"execute\",value:function execute(){var _this214=this;var t=this.editor.model,e=t.document;var n=Array.from(e.selection.getSelectedBlocks());t.change(function(t){var e=n[n.length-1];var i=e.nextSibling;for(;i&&\"listItem\"==i.name&&i.getAttribute(\"listIndent\")>e.getAttribute(\"listIndent\");)n.push(i),i=i.nextSibling;_this214._indentBy<0&&(n=n.reverse());var _iterator307=_createForOfIteratorHelper(n),_step307;try{for(_iterator307.s();!(_step307=_iterator307.n()).done;){var _e233=_step307.value;var _n214=_e233.getAttribute(\"listIndent\")+_this214._indentBy;_n214<0?t.rename(_e233,\"paragraph\"):t.setAttribute(\"listIndent\",_n214,_e233);}}catch(err){_iterator307.e(err);}finally{_iterator307.f();}});}},{key:\"_checkEnabled\",value:function _checkEnabled(){var t=Au(this.editor.model.document.selection.getSelectedBlocks());if(!t||!t.is(\"listItem\"))return!1;if(this._indentBy>0){var _e234=t.getAttribute(\"listIndent\"),_n215=t.getAttribute(\"listType\");var _i175=t.previousSibling;for(;_i175&&_i175.is(\"listItem\")&&_i175.getAttribute(\"listIndent\")>=_e234;){if(_i175.getAttribute(\"listIndent\")==_e234)return _i175.getAttribute(\"listType\")==_n215;_i175=_i175.previousSibling;}return!1;}return!0;}}]);return zm;}(Zl);function Fm(){var t=!this.isEmpty&&(\"ul\"==this.getChild(0).name||\"ol\"==this.getChild(0).name);return this.isEmpty||t?0:xi.call(this);}function Um(t){return function(e,n,i){var o=i.consumable;if(!o.test(n.item,\"insert\")||!o.test(n.item,\"attribute:listType\")||!o.test(n.item,\"attribute:listIndent\"))return;o.consume(n.item,\"insert\"),o.consume(n.item,\"attribute:listType\"),o.consume(n.item,\"attribute:listIndent\");var r=n.item;np(r,function(t,e){var n=e.mapper,i=e.writer,o=\"numbered\"==t.getAttribute(\"listType\")?\"ol\":\"ul\",r=function(t){var e=t.createContainerElement(\"li\");return e.getFillerOffset=Fm,e;}(i),s=i.createContainerElement(o,null);return i.insert(i.createPositionAt(s,0),r),n.bindElements(t,r),r;}(r,i),i,t);};}function Hm(t){return function(e,n,i){var o=i.mapper.toViewPosition(n.position).getLastMatchingPosition(function(t){return!t.item.is(\"li\");}).nodeAfter,r=i.writer;r.breakContainer(r.createPositionBefore(o)),r.breakContainer(r.createPositionAfter(o));var s=o.parent,a=s.previousSibling,c=r.createRangeOn(s),l=r.remove(c);a&&a.nextSibling&&ep(r,a,a.nextSibling),ip(i.mapper.toModelElement(o).getAttribute(\"listIndent\")+1,n.position,c.start,o,i,t);var _iterator308=_createForOfIteratorHelper(r.createRangeIn(l).getItems()),_step308;try{for(_iterator308.s();!(_step308=_iterator308.n()).done;){var _t259=_step308.value;i.mapper.unbindViewElement(_t259);}}catch(err){_iterator308.e(err);}finally{_iterator308.f();}e.stop();};}function qm(t,e,n){if(!n.consumable.consume(e.item,\"attribute:listType\"))return;var i=n.mapper.toViewElement(e.item),o=n.writer;o.breakContainer(o.createPositionBefore(i)),o.breakContainer(o.createPositionAfter(i));var r=i.parent;var s=\"numbered\"==e.attributeNewValue?\"ol\":\"ul\";ep(o,r=o.rename(s,r),r.nextSibling),ep(o,r.previousSibling,r);var _iterator309=_createForOfIteratorHelper(e.item.getChildren()),_step309;try{for(_iterator309.s();!(_step309=_iterator309.n()).done;){var _t260=_step309.value;n.consumable.consume(_t260,\"insert\");}}catch(err){_iterator309.e(err);}finally{_iterator309.f();}}function Wm(t){return function(e,n,i){if(!i.consumable.consume(n.item,\"attribute:listIndent\"))return;var o=i.mapper.toViewElement(n.item),r=i.writer;r.breakContainer(r.createPositionBefore(o)),r.breakContainer(r.createPositionAfter(o));var s=o.parent,a=s.previousSibling,c=r.createRangeOn(s);r.remove(c),a&&a.nextSibling&&ep(r,a,a.nextSibling),ip(n.attributeOldValue+1,n.range.start,c.start,o,i,t),np(n.item,o,i,t);var _iterator310=_createForOfIteratorHelper(n.item.getChildren()),_step310;try{for(_iterator310.s();!(_step310=_iterator310.n()).done;){var _t261=_step310.value;i.consumable.consume(_t261,\"insert\");}}catch(err){_iterator310.e(err);}finally{_iterator310.f();}};}function Ym(t,e,n){if(\"listItem\"!=e.item.name){var _t262=n.mapper.toViewPosition(e.range.start);var _i176=n.writer,_o89=[];for(;(\"ul\"==_t262.parent.name||\"ol\"==_t262.parent.name)&&\"li\"==(_t262=_i176.breakContainer(_t262)).parent.name;){var _e235=_t262,_n216=_i176.createPositionAt(_t262.parent,\"end\");if(!_e235.isEqual(_n216)){var _t263=_i176.remove(_i176.createRange(_e235,_n216));_o89.push(_t263);}_t262=_i176.createPositionAfter(_t262.parent);}if(_o89.length>0){for(var _e236=0;_e236<_o89.length;_e236++){var _n217=_t262.nodeBefore;if(_t262=_i176.insert(_t262,_o89[_e236]).end,_e236>0){var _e237=ep(_i176,_n217,_n217.nextSibling);_e237&&_e237.parent==_n217&&_t262.offset--;}}ep(_i176,_t262.nodeBefore,_t262.nodeAfter);}}}function $m(t,e,n){var i=n.mapper.toViewPosition(e.position),o=i.nodeBefore,r=i.nodeAfter;ep(n.writer,o,r);}function Gm(t,e,n){if(n.consumable.consume(e.viewItem,{name:!0})){var _t264=n.writer,_i177=this.conversionApi.store,_o90=_t264.createElement(\"listItem\");_i177.indent=_i177.indent||0,_t264.setAttribute(\"listIndent\",_i177.indent,_o90);var _r44=e.viewItem.parent&&\"ol\"==e.viewItem.parent.name?\"numbered\":\"bulleted\";_t264.setAttribute(\"listType\",_r44,_o90),_i177.indent++;var _s25=n.splitToAllowedParent(_o90,e.modelCursor);if(!_s25)return;_t264.insert(_o90,_s25.position);var _a14=function(t,e,n){var i=n.writer,o=n.schema;var r=i.createPositionAfter(t);var _iterator311=_createForOfIteratorHelper(e),_step311;try{for(_iterator311.s();!(_step311=_iterator311.n()).done;){var _s26=_step311.value;if(\"ul\"==_s26.name||\"ol\"==_s26.name)r=n.convertItem(_s26,r).modelCursor;else{var _e238=n.convertItem(_s26,i.createPositionAt(t,\"end\")),_a15=_e238.modelRange.start.nodeAfter,_c8=_a15&&_a15.is(\"element\")&&!o.checkChild(t,_a15.name);_c8&&(t=_e238.modelCursor.parent.is(\"listItem\")?_e238.modelCursor.parent:Xm(_e238.modelCursor),r=i.createPositionAfter(t));}}}catch(err){_iterator311.e(err);}finally{_iterator311.f();}return r;}(_o90,e.viewItem.getChildren(),n);_i177.indent--,e.modelRange=_t264.createRange(e.modelCursor,_a14),_s25.cursorParent?e.modelCursor=_t264.createPositionAt(_s25.cursorParent,0):e.modelCursor=e.modelRange.end;}}function Qm(t,e,n){if(n.consumable.test(e.viewItem,{name:!0})){var _t265=Array.from(e.viewItem.getChildren());for(var _i178=0,_t266=_t265;_i178<_t266.length;_i178++){var _e239=_t266[_i178];_e239.is(\"li\")||_e239._remove();}}}function Jm(t,e,n){if(n.consumable.test(e.viewItem,{name:!0})){if(0===e.viewItem.childCount)return;var _t267=_toConsumableArray(e.viewItem.getChildren());var _n218=!1,_i179=!0;var _iterator312=_createForOfIteratorHelper(_t267),_step312;try{for(_iterator312.s();!(_step312=_iterator312.n()).done;){var _e240=_step312.value;!_n218||_e240.is(\"ul\")||_e240.is(\"ol\")||_e240._remove(),_e240.is(\"text\")?(_i179&&(_e240._data=_e240.data.replace(/^\\s+/,\"\")),(!_e240.nextSibling||_e240.nextSibling.is(\"ul\")||_e240.nextSibling.is(\"ol\"))&&(_e240._data=_e240.data.replace(/\\s+$/,\"\"))):(_e240.is(\"ul\")||_e240.is(\"ol\"))&&(_n218=!0),_i179=!1;}}catch(err){_iterator312.e(err);}finally{_iterator312.f();}}}function Km(t){return function(e,n){if(n.isPhantom)return;var i=n.modelPosition.nodeBefore;if(i&&i.is(\"listItem\")){var _e241=n.mapper.toViewElement(i),_o91=_e241.getAncestors().find(function(t){return t.is(\"ul\")||t.is(\"ol\");}),_r45=t.createPositionAt(_e241,0).getWalker();var _iterator313=_createForOfIteratorHelper(_r45),_step313;try{for(_iterator313.s();!(_step313=_iterator313.n()).done;){var _t268=_step313.value;if(\"elementStart\"==_t268.type&&_t268.item.is(\"li\")){n.viewPosition=_t268.previousPosition;break;}if(\"elementEnd\"==_t268.type&&_t268.item==_o91){n.viewPosition=_t268.nextPosition;break;}}}catch(err){_iterator313.e(err);}finally{_iterator313.f();}}};}function Zm(t,_ref26){var _ref27=_slicedToArray(_ref26,2),e=_ref27[0],n=_ref27[1];var i,o=e.is(\"documentFragment\")?e.getChild(0):e;if(i=n?this.createSelection(n):this.document.selection,o&&o.is(\"listItem\")){var _t269=i.getFirstPosition();var _e242=null;if(_t269.parent.is(\"listItem\")?_e242=_t269.parent:_t269.nodeBefore&&_t269.nodeBefore.is(\"listItem\")&&(_e242=_t269.nodeBefore),_e242){var _t270=_e242.getAttribute(\"listIndent\");if(_t270>0)for(;o&&o.is(\"listItem\");)o._setAttribute(\"listIndent\",o.getAttribute(\"listIndent\")+_t270),o=o.nextSibling;}}}function Xm(t){var e=new qs({startPosition:t});var n;do{n=e.next();}while(!n.value.item.is(\"listItem\"));return n.value.item;}function tp(t,e){var n=!!e.sameIndent,i=!!e.smallerIndent,o=e.listIndent;var r=t;for(;r&&\"listItem\"==r.name;){var _t271=r.getAttribute(\"listIndent\");if(n&&o==_t271||i&&o>_t271)return r;r=r.previousSibling;}return null;}function ep(t,e,n){return e&&n&&(\"ul\"==e.name||\"ol\"==e.name)&&e.name==n.name?t.mergeContainers(t.createPositionAfter(e)):null;}function np(t,e,n,i){var o=e.parent,r=n.mapper,s=n.writer;var a=r.toViewPosition(i.createPositionBefore(t));var c=tp(t.previousSibling,{sameIndent:!0,smallerIndent:!0,listIndent:t.getAttribute(\"listIndent\")}),l=t.previousSibling;if(c&&c.getAttribute(\"listIndent\")==t.getAttribute(\"listIndent\")){var _t272=r.toViewElement(c);a=s.breakContainer(s.createPositionAfter(_t272));}else a=l&&\"listItem\"==l.name?r.toViewPosition(i.createPositionAt(l,\"end\")):r.toViewPosition(i.createPositionBefore(t));if(a=op(a),s.insert(a,o),l&&\"listItem\"==l.name){var _t273=r.toViewElement(l),_n219=s.createRange(s.createPositionAt(_t273,0),a).getWalker({ignoreElementEnd:!0});var _iterator314=_createForOfIteratorHelper(_n219),_step314;try{for(_iterator314.s();!(_step314=_iterator314.n()).done;){var _t274=_step314.value;if(_t274.item.is(\"li\")){var _i180=s.breakContainer(s.createPositionBefore(_t274.item)),_o92=_t274.item.parent,_r46=s.createPositionAt(e,\"end\");ep(s,_r46.nodeBefore,_r46.nodeAfter),s.move(s.createRangeOn(_o92),_r46),_n219.position=_i180;}}}catch(err){_iterator314.e(err);}finally{_iterator314.f();}}else{var _n220=o.nextSibling;if(_n220&&(_n220.is(\"ul\")||_n220.is(\"ol\"))){var _i181=null;var _iterator315=_createForOfIteratorHelper(_n220.getChildren()),_step315;try{for(_iterator315.s();!(_step315=_iterator315.n()).done;){var _e243=_step315.value;var _n221=r.toModelElement(_e243);if(!(_n221&&_n221.getAttribute(\"listIndent\")>t.getAttribute(\"listIndent\")))break;_i181=_e243;}}catch(err){_iterator315.e(err);}finally{_iterator315.f();}_i181&&(s.breakContainer(s.createPositionAfter(_i181)),s.move(s.createRangeOn(_i181.parent),s.createPositionAt(e,\"end\")));}}ep(s,o,o.nextSibling),ep(s,o.previousSibling,o);}function ip(t,e,n,i,o,r){var s=tp(e.nodeBefore,{sameIndent:!0,smallerIndent:!0,listIndent:t,foo:\"b\"}),a=o.mapper,c=o.writer,l=s?s.getAttribute(\"listIndent\"):null;var d;if(s){if(l==t){var _t275=a.toViewElement(s).parent;d=c.createPositionAfter(_t275);}else{var _t276=r.createPositionAt(s,\"end\");d=a.toViewPosition(_t276);}}else d=n;d=op(d);for(var _i182=0,_arr=_toConsumableArray(i.getChildren());_i182<_arr.length;_i182++){var _t277=_arr[_i182];(_t277.is(\"ul\")||_t277.is(\"ol\"))&&(d=c.move(c.createRangeOn(_t277),d).end,ep(c,_t277,_t277.nextSibling),ep(c,_t277.previousSibling,_t277));}}function op(t){return t.getLastMatchingPosition(function(t){return t.item.is(\"uiElement\");});}var rp=/*#__PURE__*/function(_$l44){_inherits(rp,_$l44);var _super137=_createSuper(rp);function rp(){_classCallCheck(this,rp);return _super137.apply(this,arguments);}_createClass(rp,[{key:\"init\",value:function init(){var _this215=this;var t=this.editor;t.model.schema.register(\"listItem\",{inheritAllFrom:\"$block\",allowAttributes:[\"listType\",\"listIndent\"]});var e=t.data,n=t.editing;t.model.document.registerPostFixer(function(e){return function(t,e){var n=t.document.differ.getChanges(),i=new Map();var o=!1;var _iterator316=_createForOfIteratorHelper(n),_step316;try{for(_iterator316.s();!(_step316=_iterator316.n()).done;){var _t278=_step316.value;if(\"insert\"==_t278.type&&\"listItem\"==_t278.name)r(_t278.position);else if(\"insert\"==_t278.type&&\"listItem\"!=_t278.name){if(\"$text\"!=_t278.name){var _n223=_t278.position.nodeAfter;_n223.hasAttribute(\"listIndent\")&&(e.removeAttribute(\"listIndent\",_n223),o=!0),_n223.hasAttribute(\"listType\")&&(e.removeAttribute(\"listType\",_n223),o=!0);}r(_t278.position.getShiftedBy(_t278.length));}else\"remove\"==_t278.type&&\"listItem\"==_t278.name?r(_t278.position):\"attribute\"==_t278.type&&\"listIndent\"==_t278.attributeKey?r(_t278.range.start):\"attribute\"==_t278.type&&\"listType\"==_t278.attributeKey&&r(_t278.range.start);}}catch(err){_iterator316.e(err);}finally{_iterator316.f();}var _iterator317=_createForOfIteratorHelper(i.values()),_step317;try{for(_iterator317.s();!(_step317=_iterator317.n()).done;){var _t279=_step317.value;s(_t279),a(_t279);}}catch(err){_iterator317.e(err);}finally{_iterator317.f();}return o;function r(t){var e=t.nodeBefore;if(e&&e.is(\"listItem\")){var _n222=e;if(i.has(_n222))return;for(;_n222.previousSibling&&_n222.previousSibling.is(\"listItem\");)if(_n222=_n222.previousSibling,i.has(_n222))return;i.set(t.nodeBefore,_n222);}else{var _e244=t.nodeAfter;_e244&&_e244.is(\"listItem\")&&i.set(_e244,_e244);}}function s(t){var n=0,i=null;for(;t&&t.is(\"listItem\");){var _r47=t.getAttribute(\"listIndent\");if(_r47>n){var _s27=void 0;null===i?(i=_r47-n,_s27=n):(i>_r47&&(i=_r47),_s27=_r47-i),e.setAttribute(\"listIndent\",_s27,t),o=!0;}else i=null,n=t.getAttribute(\"listIndent\")+1;t=t.nextSibling;}}function a(t){var n=[],i=null;for(;t&&t.is(\"listItem\");){var _r48=t.getAttribute(\"listIndent\");if(i&&i.getAttribute(\"listIndent\")>_r48&&(n=n.slice(0,_r48+1)),0!=_r48)if(n[_r48]){var _i183=n[_r48];t.getAttribute(\"listType\")!=_i183&&(e.setAttribute(\"listType\",_i183,t),o=!0);}else n[_r48]=t.getAttribute(\"listType\");i=t,t=t.nextSibling;}}}(t.model,e);}),n.mapper.registerViewToModelLength(\"li\",sp),e.mapper.registerViewToModelLength(\"li\",sp),n.mapper.on(\"modelToViewPosition\",Km(n.view)),n.mapper.on(\"viewToModelPosition\",function(t){return function(e,n){var i=n.viewPosition,o=i.parent,r=n.mapper;if(\"ul\"==o.name||\"ol\"==o.name){if(i.isAtEnd){var _e245=r.toModelElement(i.nodeBefore),_o93=r.getModelLength(i.nodeBefore);n.modelPosition=t.createPositionBefore(_e245).getShiftedBy(_o93);}else{var _e246=r.toModelElement(i.nodeAfter);n.modelPosition=t.createPositionBefore(_e246);}e.stop();}else if(\"li\"==o.name&&i.nodeBefore&&(\"ul\"==i.nodeBefore.name||\"ol\"==i.nodeBefore.name)){var _s28=r.toModelElement(o);var _a16=1,_c9=i.nodeBefore;for(;_c9&&(_c9.is(\"ul\")||_c9.is(\"ol\"));)_a16+=r.getModelLength(_c9),_c9=_c9.previousSibling;n.modelPosition=t.createPositionBefore(_s28).getShiftedBy(_a16),e.stop();}};}(t.model)),e.mapper.on(\"modelToViewPosition\",Km(n.view)),n.downcastDispatcher.on(\"insert\",Ym,{priority:\"high\"}),n.downcastDispatcher.on(\"insert:listItem\",Um(t.model)),e.downcastDispatcher.on(\"insert\",Ym,{priority:\"high\"}),e.downcastDispatcher.on(\"insert:listItem\",Um(t.model)),n.downcastDispatcher.on(\"attribute:listType:listItem\",qm),e.downcastDispatcher.on(\"attribute:listType:listItem\",qm),n.downcastDispatcher.on(\"attribute:listIndent:listItem\",Wm(t.model)),e.downcastDispatcher.on(\"attribute:listIndent:listItem\",Wm(t.model)),n.downcastDispatcher.on(\"remove:listItem\",Hm(t.model)),n.downcastDispatcher.on(\"remove\",$m,{priority:\"low\"}),e.downcastDispatcher.on(\"remove:listItem\",Hm(t.model)),e.downcastDispatcher.on(\"remove\",$m,{priority:\"low\"}),e.upcastDispatcher.on(\"element:ul\",Qm,{priority:\"high\"}),e.upcastDispatcher.on(\"element:ol\",Qm,{priority:\"high\"}),e.upcastDispatcher.on(\"element:li\",Jm,{priority:\"high\"}),e.upcastDispatcher.on(\"element:li\",Gm),t.model.on(\"insertContent\",Zm,{priority:\"high\"}),t.commands.add(\"numberedList\",new jm(t,\"numbered\")),t.commands.add(\"bulletedList\",new jm(t,\"bulleted\")),t.commands.add(\"indentList\",new zm(t,\"forward\")),t.commands.add(\"outdentList\",new zm(t,\"backward\"));var i=this.editor.editing.view.document;this.listenTo(i,\"enter\",function(t,e){var n=_this215.editor.model.document,i=n.selection.getLastPosition().parent;n.selection.isCollapsed&&\"listItem\"==i.name&&i.isEmpty&&(_this215.editor.execute(\"outdentList\"),e.preventDefault(),t.stop());}),this.listenTo(i,\"delete\",function(t,e){if(\"backward\"!==e.direction)return;var n=_this215.editor.model.document.selection;if(!n.isCollapsed)return;var i=n.getFirstPosition();if(!i.isAtStart)return;var o=i.parent;\"listItem\"===o.name&&(o.previousSibling&&\"listItem\"===o.previousSibling.name||(_this215.editor.execute(\"outdentList\"),e.preventDefault(),t.stop()));},{priority:\"high\"});var o=function o(t){return function(e,n){_this215.editor.commands.get(t).isEnabled&&(_this215.editor.execute(t),n());};};this.editor.keystrokes.set(\"Tab\",o(\"indentList\")),this.editor.keystrokes.set(\"Shift+Tab\",o(\"outdentList\"));}}],[{key:\"requires\",get:function get(){return[wf];}}]);return rp;}($l);function sp(t){var e=1;var _iterator318=_createForOfIteratorHelper(t.getChildren()),_step318;try{for(_iterator318.s();!(_step318=_iterator318.n()).done;){var _n224=_step318.value;if(\"ul\"==_n224.name||\"ol\"==_n224.name){var _iterator319=_createForOfIteratorHelper(_n224.getChildren()),_step319;try{for(_iterator319.s();!(_step319=_iterator319.n()).done;){var _t280=_step319.value;e+=sp(_t280);}}catch(err){_iterator319.e(err);}finally{_iterator319.f();}}}}catch(err){_iterator318.e(err);}finally{_iterator318.f();}return e;}var ap=n(34),cp=n.n(ap),lp=n(35),dp=n.n(lp);var up=/*#__PURE__*/function(_$l45){_inherits(up,_$l45);var _super138=_createSuper(up);function up(){_classCallCheck(this,up);return _super138.apply(this,arguments);}_createClass(up,[{key:\"init\",value:function init(){var t=this.editor.t;this._addButton(\"numberedList\",t(\"o\"),cp.a),this._addButton(\"bulletedList\",t(\"p\"),dp.a);}},{key:\"_addButton\",value:function _addButton(t,e,n){var _this216=this;var i=this.editor;i.ui.componentFactory.add(t,function(o){var r=i.commands.get(t),s=new qd(o);return s.set({label:e,icon:n,tooltip:!0}),s.bind(\"isOn\",\"isEnabled\").to(r,\"value\",\"isEnabled\"),_this216.listenTo(s,\"execute\",function(){return i.execute(t);}),s;});}}]);return up;}($l);function hp(t,e){return function(t){t.on(\"attribute:url:media\",n);};function n(n,i,o){if(!o.consumable.consume(i.item,n.name))return;var r=i.attributeNewValue,s=o.writer,a=o.mapper.toViewElement(i.item);s.remove(s.createRangeIn(a));var c=t.getMediaViewElement(s,r,e);s.insert(s.createPositionAt(a,0),c);}}function fp(t,e,n,i){var o=t.createContainerElement(\"figure\",{\"class\":\"media\"});return o.getFillerOffset=gp,t.insert(t.createPositionAt(o,0),e.getMediaViewElement(t,n,i)),o;}function mp(t){var e=t.getSelectedElement();return e&&e.is(\"media\")?e:null;}function pp(t,e,n){t.change(function(i){var o=i.createElement(\"media\",{url:e});t.insertContent(o,n),i.setSelection(o,\"on\");});}function gp(){return null;}var bp=/*#__PURE__*/function(_Zl19){_inherits(bp,_Zl19);var _super139=_createSuper(bp);function bp(){_classCallCheck(this,bp);return _super139.apply(this,arguments);}_createClass(bp,[{key:\"refresh\",value:function refresh(){var t=this.editor.model,e=t.document.selection,n=t.schema,i=e.getFirstPosition(),o=mp(e);var r=i.parent;r!=r.root&&(r=r.parent),this.value=o?o.getAttribute(\"url\"):null,this.isEnabled=n.checkChild(r,\"media\");}},{key:\"execute\",value:function execute(t){var e=this.editor.model,n=e.document.selection,i=mp(n);if(i)e.change(function(e){e.setAttribute(\"url\",t,i);});else{var _i184=lh(n,e);pp(e,t,_i184);}}}]);return bp;}(Zl);var wp=n(36),_p=n.n(wp);var kp=\"0 0 64 42\";var vp=/*#__PURE__*/function(){function vp(t,e){_classCallCheck(this,vp);var n=e.providers,i=e.extraProviders||[],o=new Set(e.removeProviders),r=n.concat(i).filter(function(t){var e=t.name;return e?!o.has(e):(bs.a.warn(\"media-embed-no-provider-name: The configured media provider has no name and cannot be used.\",{provider:t}),!1);});this.locale=t,this.providerDefinitions=r;}_createClass(vp,[{key:\"hasMedia\",value:function hasMedia(t){return!!this._getMedia(t);}},{key:\"getMediaViewElement\",value:function getMediaViewElement(t,e,n){return this._getMedia(e).getViewElement(t,n);}},{key:\"_getMedia\",value:function _getMedia(t){if(!t)return new yp(this.locale);t=t.trim();var _iterator320=_createForOfIteratorHelper(this.providerDefinitions),_step320;try{for(_iterator320.s();!(_step320=_iterator320.n()).done;){var _e247=_step320.value;var _n225=_e247.html;var _i185=_e247.url;Array.isArray(_i185)||(_i185=[_i185]);var _iterator321=_createForOfIteratorHelper(_i185),_step321;try{for(_iterator321.s();!(_step321=_iterator321.n()).done;){var _e248=_step321.value;var _i186=this._getUrlMatches(t,_e248);if(_i186)return new yp(this.locale,t,_i186,_n225);}}catch(err){_iterator321.e(err);}finally{_iterator321.f();}}}catch(err){_iterator320.e(err);}finally{_iterator320.f();}return null;}},{key:\"_getUrlMatches\",value:function _getUrlMatches(t,e){var n=t.match(e);if(n)return n;var i=t.replace(/^https?:\\/\\//,\"\");return(n=i.match(e))?n:(n=(i=i.replace(/^www\\./,\"\")).match(e))||null;}}]);return vp;}();var yp=/*#__PURE__*/function(){function yp(t,e,n,i){_classCallCheck(this,yp);this.url=this._getValidUrl(e),this._t=t.t,this._match=n,this._previewRenderer=i;}_createClass(yp,[{key:\"getViewElement\",value:function getViewElement(t,e){var n={};if(e.renderForEditingView||e.renderMediaPreview&&this.url&&this._previewRenderer){this.url&&(n[\"data-oembed-url\"]=this.url),e.renderForEditingView&&(n[\"class\"]=\"ck-media__wrapper\");var _i187=this._getPreviewHtml(e);return t.createUIElement(\"div\",n,function(t){var e=this.toDomElement(t);return e.innerHTML=_i187,e;});}return this.url&&(n.url=this.url),t.createEmptyElement(\"oembed\",n);}},{key:\"_getPreviewHtml\",value:function _getPreviewHtml(t){return this._previewRenderer?this._previewRenderer(this._match):this.url&&t.renderForEditingView?this._getPlaceholderHtml():\"\";}},{key:\"_getPlaceholderHtml\",value:function _getPlaceholderHtml(){var t=new Hd(),e=new Ud();return t.text=this._t(\"Open media in new tab\"),e.content=_p.a,e.viewBox=kp,new ml({tag:\"div\",attributes:{\"class\":\"ck ck-reset_all ck-media__placeholder\"},children:[{tag:\"div\",attributes:{\"class\":\"ck-media__placeholder__icon\"},children:[e]},{tag:\"a\",attributes:{\"class\":\"ck-media__placeholder__url\",target:\"new\",href:this.url},children:[{tag:\"span\",attributes:{\"class\":\"ck-media__placeholder__url__text\"},children:[this.url]},t]}]}).render().outerHTML;}},{key:\"_getValidUrl\",value:function _getValidUrl(t){return t?t.match(/^https?/)?t:\"https://\"+t:null;}}]);return yp;}();n(105);var xp=/*#__PURE__*/function(_$l46){_inherits(xp,_$l46);var _super140=_createSuper(xp);function xp(t){var _this217;_classCallCheck(this,xp);_this217=_super140.call(this,t),t.config.define(\"mediaEmbed\",{providers:[{name:\"dailymotion\",url:/^dailymotion\\.com\\/video\\/(\\w+)/,html:function html(t){return''+\"
';}},{name:\"spotify\",url:[/^open\\.spotify\\.com\\/(artist\\/\\w+)/,/^open\\.spotify\\.com\\/(album\\/\\w+)/,/^open\\.spotify\\.com\\/(track\\/\\w+)/],html:function html(t){return''+\"
';}},{name:\"youtube\",url:[/^youtube\\.com\\/watch\\?v=([\\w-]+)/,/^youtube\\.com\\/v\\/([\\w-]+)/,/^youtube\\.com\\/embed\\/([\\w-]+)/,/^youtu\\.be\\/([\\w-]+)/],html:function html(t){return''+\"
';}},{name:\"vimeo\",url:[/^vimeo\\.com\\/(\\d+)/,/^vimeo\\.com\\/[^/]+\\/[^/]+\\/video\\/(\\d+)/,/^vimeo\\.com\\/album\\/[^/]+\\/video\\/(\\d+)/,/^vimeo\\.com\\/channels\\/[^/]+\\/(\\d+)/,/^vimeo\\.com\\/groups\\/[^/]+\\/videos\\/(\\d+)/,/^vimeo\\.com\\/ondemand\\/[^/]+\\/(\\d+)/,/^player\\.vimeo\\.com\\/video\\/(\\d+)/],html:function html(t){return''+\"
';}},{name:\"instagram\",url:/^instagram\\.com\\/p\\/(\\w+)/},{name:\"twitter\",url:/^twitter\\.com/},{name:\"googleMaps\",url:/^google\\.com\\/maps/},{name:\"flickr\",url:/^flickr\\.com/},{name:\"facebook\",url:/^facebook\\.com/}]}),_this217.registry=new vp(t.locale,t.config.get(\"mediaEmbed\"));return _this217;}_createClass(xp,[{key:\"init\",value:function init(){var t=this.editor,e=t.model.schema,n=t.t,i=t.conversion,o=t.config.get(\"mediaEmbed.previewsInData\"),r=this.registry;t.commands.add(\"mediaEmbed\",new bp(t)),e.register(\"media\",{isObject:!0,isBlock:!0,allowWhere:\"$block\",allowAttributes:[\"url\"]}),i[\"for\"](\"dataDowncast\").elementToElement({model:\"media\",view:function view(t,e){var n=t.getAttribute(\"url\");return fp(e,r,n,{renderMediaPreview:n&&o});}}),i[\"for\"](\"dataDowncast\").add(hp(r,{renderMediaPreview:o})),i[\"for\"](\"editingDowncast\").elementToElement({model:\"media\",view:function view(t,e){var i=t.getAttribute(\"url\");return function(t,e,n){return e.setCustomProperty(\"media\",!0,t),sh(t,e,{label:n});}(fp(e,r,i,{renderForEditingView:!0}),e,n(\"ak\"));}}),i[\"for\"](\"editingDowncast\").add(hp(r,{renderForEditingView:!0})),i[\"for\"](\"upcast\").elementToElement({view:{name:\"oembed\",attributes:{url:!0}},model:function model(t,e){var n=t.getAttribute(\"url\");if(r.hasMedia(n))return e.createElement(\"media\",{url:n});}}).elementToElement({view:{name:\"div\",attributes:{\"data-oembed-url\":!0}},model:function model(t,e){var n=t.getAttribute(\"data-oembed-url\");if(r.hasMedia(n))return e.createElement(\"media\",{url:n});}});}}],[{key:\"pluginName\",get:function get(){return\"MediaEmbedEditing\";}}]);return xp;}($l);var Ap=/^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w.-]+)+[\\w\\-._~:/?#[\\]@!$&'()*+,;=]+$/;var Cp=/*#__PURE__*/function(_$l47){_inherits(Cp,_$l47);var _super141=_createSuper(Cp);function Cp(t){var _this218;_classCallCheck(this,Cp);_this218=_super141.call(this,t),_this218._timeoutId=null,_this218._positionToInsert=null;return _this218;}_createClass(Cp,[{key:\"init\",value:function init(){var _this219=this;var t=this.editor,e=t.model.document;this.listenTo(t.plugins.get(Kl),\"inputTransformation\",function(){var t=e.selection.getFirstRange(),n=Oc.fromPosition(t.start);n.stickiness=\"toPrevious\";var i=Oc.fromPosition(t.end);i.stickiness=\"toNext\",e.once(\"change:data\",function(){_this219._embedMediaBetweenPositions(n,i),n.detach(),i.detach();},{priority:\"high\"});}),t.commands.get(\"undo\").on(\"execute\",function(){_this219._timeoutId&&(nr.window.clearTimeout(_this219._timeoutId),_this219._positionToInsert.detach(),_this219._timeoutId=null,_this219._positionToInsert=null);},{priority:\"high\"});}},{key:\"_embedMediaBetweenPositions\",value:function _embedMediaBetweenPositions(t,e){var _this220=this;var n=this.editor,i=n.plugins.get(xp).registry,o=new oa(t,e),r=o.getWalker({ignoreElementEnd:!0});var s=\"\";var _iterator322=_createForOfIteratorHelper(r),_step322;try{for(_iterator322.s();!(_step322=_iterator322.n()).done;){var _t281=_step322.value;_t281.item.is(\"textProxy\")&&(s+=_t281.item.data);}}catch(err){_iterator322.e(err);}finally{_iterator322.f();}if(!(s=s.trim()).match(Ap))return;if(!i.hasMedia(s))return;n.commands.get(\"mediaEmbed\").isEnabled&&(this._positionToInsert=Oc.fromPosition(t),this._timeoutId=nr.window.setTimeout(function(){n.model.change(function(t){var e;_this220._timeoutId=null,t.remove(o),\"$graveyard\"!==_this220._positionToInsert.root.rootName&&(e=_this220._positionToInsert),pp(n.model,s,e),_this220._positionToInsert.detach(),_this220._positionToInsert=null;});},100));}}],[{key:\"requires\",get:function get(){return[Kl,Jd];}},{key:\"pluginName\",get:function get(){return\"AutoMediaEmbed\";}}]);return Cp;}($l);n(107);var Tp=/*#__PURE__*/function(_Nl23){_inherits(Tp,_Nl23);var _super142=_createSuper(Tp);function Tp(t,e){var _this221;_classCallCheck(this,Tp);_this221=_super142.call(this,e);var n=e.t;_this221.focusTracker=new il(),_this221.keystrokes=new Gc(),_this221.urlInputView=_this221._createUrlInput(),_this221.saveButtonView=_this221._createButton(n(\"au\"),Eh.a,\"ck-button-save\"),_this221.saveButtonView.type=\"submit\",_this221.cancelButtonView=_this221._createButton(n(\"av\"),Ih.a,\"ck-button-cancel\",\"cancel\"),_this221._focusables=new hl(),_this221._focusCycler=new Fl({focusables:_this221._focusables,focusTracker:_this221.focusTracker,keystrokeHandler:_this221.keystrokes,actions:{focusPrevious:\"shift + tab\",focusNext:\"tab\"}}),_this221._validators=t,_this221.setTemplate({tag:\"form\",attributes:{\"class\":[\"ck\",\"ck-media-form\"],tabindex:\"-1\"},children:[_this221.urlInputView,_this221.saveButtonView,_this221.cancelButtonView]});return _this221;}_createClass(Tp,[{key:\"render\",value:function render(){var _this222=this;_get(_getPrototypeOf(Tp.prototype),\"render\",this).call(this),Ph({view:this}),[this.urlInputView,this.saveButtonView,this.cancelButtonView].forEach(function(t){_this222._focusables.add(t),_this222.focusTracker.add(t.element);}),this.keystrokes.listenTo(this.element);var t=function t(_t282){return _t282.stopPropagation();};this.keystrokes.set(\"arrowright\",t),this.keystrokes.set(\"arrowleft\",t),this.keystrokes.set(\"arrowup\",t),this.keystrokes.set(\"arrowdown\",t),this.listenTo(this.urlInputView.element,\"selectstart\",function(t,e){e.stopPropagation();},{priority:\"high\"});}},{key:\"focus\",value:function focus(){this._focusCycler.focusFirst();}},{key:\"url\",get:function get(){return this.urlInputView.inputView.element.value.trim();},set:function set(t){this.urlInputView.inputView.element.value=t.trim();}},{key:\"isValid\",value:function isValid(){this.resetFormStatus();var _iterator323=_createForOfIteratorHelper(this._validators),_step323;try{for(_iterator323.s();!(_step323=_iterator323.n()).done;){var _t283=_step323.value;var _e249=_t283(this);if(_e249)return this.urlInputView.errorText=_e249,!1;}}catch(err){_iterator323.e(err);}finally{_iterator323.f();}return!0;}},{key:\"resetFormStatus\",value:function resetFormStatus(){this.urlInputView.errorText=null,this.urlInputView.infoText=this._urlInputViewInfoDefault;}},{key:\"_createUrlInput\",value:function _createUrlInput(){var _this223=this;var t=this.locale.t,e=new Ch(this.locale,Th),n=e.inputView;return this._urlInputViewInfoDefault=t(\"ax\"),this._urlInputViewInfoTip=t(\"ay\"),e.label=t(\"az\"),e.infoText=this._urlInputViewInfoDefault,n.placeholder=\"https://example.com\",n.on(\"input\",function(){e.infoText=n.element.value?_this223._urlInputViewInfoTip:_this223._urlInputViewInfoDefault;}),e;}},{key:\"_createButton\",value:function _createButton(t,e,n,i){var o=new qd(this.locale);return o.set({label:t,icon:e,tooltip:!0}),o.extendTemplate({attributes:{\"class\":n}}),i&&o.delegate(\"execute\").to(this,i),o;}}]);return Tp;}(Nl);var Pp=n(37),Mp=n.n(Pp);var Ep=/*#__PURE__*/function(_$l48){_inherits(Ep,_$l48);var _super143=_createSuper(Ep);function Ep(){_classCallCheck(this,Ep);return _super143.apply(this,arguments);}_createClass(Ep,[{key:\"init\",value:function init(){var _this224=this;var t=this.editor,e=t.commands.get(\"mediaEmbed\"),n=t.plugins.get(xp).registry;this.form=new Tp(function(t,e){return[function(e){if(!e.url.length)return t(\"am\");},function(n){if(!e.hasMedia(n.url))return t(\"an\");}];}(t.t,n),t.locale),t.ui.componentFactory.add(\"mediaEmbed\",function(n){var i=Df(n);return _this224._setUpDropdown(i,_this224.form,e,t),_this224._setUpForm(_this224.form,i,e),i;});}},{key:\"_setUpDropdown\",value:function _setUpDropdown(t,e,n){var i=this.editor,o=i.t,r=t.buttonView;function s(){i.editing.view.focus(),t.isOpen=!1;}t.bind(\"isEnabled\").to(n),t.panelView.children.add(e),r.set({label:o(\"al\"),icon:Mp.a,tooltip:!0}),r.on(\"open\",function(){e.url=n.value||\"\",e.urlInputView.select(),e.focus();},{priority:\"low\"}),t.on(\"submit\",function(){e.isValid()&&(i.execute(\"mediaEmbed\",e.url),s());}),t.on(\"change:isOpen\",function(){return e.resetFormStatus();}),t.on(\"cancel\",function(){return s();});}},{key:\"_setUpForm\",value:function _setUpForm(t,e,n){t.delegate(\"submit\",\"cancel\").to(e),t.urlInputView.bind(\"value\").to(n,\"value\"),t.urlInputView.bind(\"isReadOnly\").to(n,\"isEnabled\",function(t){return!t;}),t.saveButtonView.bind(\"isEnabled\").to(n);}}],[{key:\"requires\",get:function get(){return[xp];}},{key:\"pluginName\",get:function get(){return\"MediaEmbedUI\";}}]);return Ep;}($l);n(109);function Sp(t){return t.replace(/(\\s+)<\\/span>/g,function(t,e){return 1===e.length?\" \":Array(e.length+1).join(\" \").substr(0,e.length);});}function Ip(t){var e=new DOMParser(),n=function(t){return Sp(Sp(t)).replace(/([\\s]*?)[\\r\\n]+(\\s*<\\/span>)/g,\"$1$2\").replace(/<\\/span>/g,\"\").replace(/ <\\//g,\" \").replace(/ <\\/o:p>/g,\" \").replace(/>(\\s*[\\r\\n]\\s*)<\");}(function(t){var e=t.match(/<\\/body>(.*?)(<\\/html>|$)/);e&&e[1]&&(t=t.slice(0,e.index)+t.slice(e.index).replace(e[1],\"\"));return t;}(t=t.replace(/